diff --git "a/file_copies_from_project_root/dataset_val_augmented.csv" "b/file_copies_from_project_root/dataset_val_augmented.csv" new file mode 100644--- /dev/null +++ "b/file_copies_from_project_root/dataset_val_augmented.csv" @@ -0,0 +1,5207 @@ +,db_id,query,question,query_toks,query_toks_no_value,question_toks,db_context +0,concert_singer,SELECT count(*) FROM singer,How many singers do we have?,['SELECT' 'count' '(' '*' ')' 'FROM' 'singer'],['select' 'count' '(' '*' ')' 'from' 'singer'],['How' 'many' 'singers' 'do' 'we' 'have' '?'],"['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +1,concert_singer,SELECT count(*) FROM singer,What is the total number of singers?,['SELECT' 'count' '(' '*' ')' 'FROM' 'singer'],['select' 'count' '(' '*' ')' 'from' 'singer'],['What' 'is' 'the' 'total' 'number' 'of' 'singers' '?'],"['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +2,concert_singer,"SELECT name , country , age FROM singer ORDER BY age DESC","Show name, country, age for all singers ordered by age from the oldest to the youngest.","['SELECT' 'name' ',' 'country' ',' 'age' 'FROM' 'singer' 'ORDER' 'BY' + 'age' 'DESC']","['select' 'name' ',' 'country' ',' 'age' 'from' 'singer' 'order' 'by' + 'age' 'desc']","['Show' 'name' ',' 'country' ',' 'age' 'for' 'all' 'singers' 'ordered' + 'by' 'age' 'from' 'the' 'oldest' 'to' 'the' 'youngest' '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +3,concert_singer,"SELECT name , country , age FROM singer ORDER BY age DESC","What are the names, countries, and ages for every singer in descending order of age?","['SELECT' 'name' ',' 'country' ',' 'age' 'FROM' 'singer' 'ORDER' 'BY' + 'age' 'DESC']","['select' 'name' ',' 'country' ',' 'age' 'from' 'singer' 'order' 'by' + 'age' 'desc']","['What' 'are' 'the' 'names' ',' 'countries' ',' 'and' 'ages' 'for' 'every' + 'singer' 'in' 'descending' 'order' 'of' 'age' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +4,concert_singer,"SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'","What is the average, minimum, and maximum age of all singers from France?","['SELECT' 'avg' '(' 'age' ')' ',' 'min' '(' 'age' ')' ',' 'max' '(' 'age' + ')' 'FROM' 'singer' 'WHERE' 'country' '=' ""'France"" ""'""]","['select' 'avg' '(' 'age' ')' ',' 'min' '(' 'age' ')' ',' 'max' '(' 'age' + ')' 'from' 'singer' 'where' 'country' '=' 'value']","['What' 'is' 'the' 'average' ',' 'minimum' ',' 'and' 'maximum' 'age' 'of' + 'all' 'singers' 'from' 'France' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +5,concert_singer,"SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'","What is the average, minimum, and maximum age for all French singers?","['SELECT' 'avg' '(' 'age' ')' ',' 'min' '(' 'age' ')' ',' 'max' '(' 'age' + ')' 'FROM' 'singer' 'WHERE' 'country' '=' ""'France"" ""'""]","['select' 'avg' '(' 'age' ')' ',' 'min' '(' 'age' ')' ',' 'max' '(' 'age' + ')' 'from' 'singer' 'where' 'country' '=' 'value']","['What' 'is' 'the' 'average' ',' 'minimum' ',' 'and' 'maximum' 'age' 'for' + 'all' 'French' 'singers' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +6,concert_singer,"SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1",Show the name and the release year of the song by the youngest singer.,"['SELECT' 'song_name' ',' 'song_release_year' 'FROM' 'singer' 'ORDER' 'BY' + 'age' 'LIMIT' '1']","['select' 'song_name' ',' 'song_release_year' 'from' 'singer' 'order' 'by' + 'age' 'limit' 'value']","['Show' 'the' 'name' 'and' 'the' 'release' 'year' 'of' 'the' 'song' 'by' + 'the' 'youngest' 'singer' '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +7,concert_singer,"SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1",What are the names and release years for all the songs of the youngest singer?,"['SELECT' 'song_name' ',' 'song_release_year' 'FROM' 'singer' 'ORDER' 'BY' + 'age' 'LIMIT' '1']","['select' 'song_name' ',' 'song_release_year' 'from' 'singer' 'order' 'by' + 'age' 'limit' 'value']","['What' 'are' 'the' 'names' 'and' 'release' 'years' 'for' 'all' 'the' + 'songs' 'of' 'the' 'youngest' 'singer' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +8,concert_singer,SELECT DISTINCT country FROM singer WHERE age > 20,What are all distinct countries where singers above age 20 are from?,['SELECT' 'DISTINCT' 'country' 'FROM' 'singer' 'WHERE' 'age' '>' '20'],['select' 'distinct' 'country' 'from' 'singer' 'where' 'age' '>' 'value'],"['What' 'are' 'all' 'distinct' 'countries' 'where' 'singers' 'above' 'age' + '20' 'are' 'from' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +9,concert_singer,SELECT DISTINCT country FROM singer WHERE age > 20,What are the different countries with singers above age 20?,['SELECT' 'DISTINCT' 'country' 'FROM' 'singer' 'WHERE' 'age' '>' '20'],['select' 'distinct' 'country' 'from' 'singer' 'where' 'age' '>' 'value'],"['What' 'are' 'the' 'different' 'countries' 'with' 'singers' 'above' 'age' + '20' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +10,concert_singer,"SELECT country , count(*) FROM singer GROUP BY country",Show all countries and the number of singers in each country.,"['SELECT' 'country' ',' 'count' '(' '*' ')' 'FROM' 'singer' 'GROUP' 'BY' + 'country']","['select' 'country' ',' 'count' '(' '*' ')' 'from' 'singer' 'group' 'by' + 'country']","['Show' 'all' 'countries' 'and' 'the' 'number' 'of' 'singers' 'in' 'each' + 'country' '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +11,concert_singer,"SELECT country , count(*) FROM singer GROUP BY country",How many singers are from each country?,"['SELECT' 'country' ',' 'count' '(' '*' ')' 'FROM' 'singer' 'GROUP' 'BY' + 'country']","['select' 'country' ',' 'count' '(' '*' ')' 'from' 'singer' 'group' 'by' + 'country']",['How' 'many' 'singers' 'are' 'from' 'each' 'country' '?'],"['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +12,concert_singer,SELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer),List all song names by singers above the average age.,"['SELECT' 'song_name' 'FROM' 'singer' 'WHERE' 'age' '>' '(' 'SELECT' 'avg' + '(' 'age' ')' 'FROM' 'singer' ')']","['select' 'song_name' 'from' 'singer' 'where' 'age' '>' '(' 'select' 'avg' + '(' 'age' ')' 'from' 'singer' ')']","['List' 'all' 'song' 'names' 'by' 'singers' 'above' 'the' 'average' 'age' + '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +13,concert_singer,SELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer),What are all the song names by singers who are older than average?,"['SELECT' 'song_name' 'FROM' 'singer' 'WHERE' 'age' '>' '(' 'SELECT' 'avg' + '(' 'age' ')' 'FROM' 'singer' ')']","['select' 'song_name' 'from' 'singer' 'where' 'age' '>' '(' 'select' 'avg' + '(' 'age' ')' 'from' 'singer' ')']","['What' 'are' 'all' 'the' 'song' 'names' 'by' 'singers' 'who' 'are' + 'older' 'than' 'average' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +14,concert_singer,"SELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000",Show location and name for all stadiums with a capacity between 5000 and 10000.,"['SELECT' 'LOCATION' ',' 'name' 'FROM' 'stadium' 'WHERE' 'capacity' + 'BETWEEN' '5000' 'AND' '10000']","['select' 'location' ',' 'name' 'from' 'stadium' 'where' 'capacity' + 'between' 'value' 'and' 'value']","['Show' 'location' 'and' 'name' 'for' 'all' 'stadiums' 'with' 'a' + 'capacity' 'between' '5000' 'and' '10000' '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +15,concert_singer,"SELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000",What are the locations and names of all stations with capacity between 5000 and 10000?,"['SELECT' 'LOCATION' ',' 'name' 'FROM' 'stadium' 'WHERE' 'capacity' + 'BETWEEN' '5000' 'AND' '10000']","['select' 'location' ',' 'name' 'from' 'stadium' 'where' 'capacity' + 'between' 'value' 'and' 'value']","['What' 'are' 'the' 'locations' 'and' 'names' 'of' 'all' 'stations' 'with' + 'capacity' 'between' '5000' 'and' '10000' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +16,concert_singer,"select max(capacity), average from stadium",What is the maximum capacity and the average of all stadiums ?,"['select' 'max' '(' 'capacity' ')' ',' 'average' 'from' 'stadium']","['select' 'max' '(' 'capacity' ')' ',' 'average' 'from' 'stadium']","['What' 'is' 'the' 'maximum' 'capacity' 'and' 'the' 'average' 'of' 'all' + 'stadiums' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +17,concert_singer,"select avg(capacity) , max(capacity) from stadium",What is the average and maximum capacities for all stadiums ?,"['select' 'avg' '(' 'capacity' ')' ',' 'max' '(' 'capacity' ')' 'from' + 'stadium']","['select' 'avg' '(' 'capacity' ')' ',' 'max' '(' 'capacity' ')' 'from' + 'stadium']","['What' 'is' 'the' 'average' 'and' 'maximum' 'capacities' 'for' 'all' + 'stadiums' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +18,concert_singer,"SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1",What is the name and capacity for the stadium with highest average attendance?,"['SELECT' 'name' ',' 'capacity' 'FROM' 'stadium' 'ORDER' 'BY' 'average' + 'DESC' 'LIMIT' '1']","['select' 'name' ',' 'capacity' 'from' 'stadium' 'order' 'by' 'average' + 'desc' 'limit' 'value']","['What' 'is' 'the' 'name' 'and' 'capacity' 'for' 'the' 'stadium' 'with' + 'highest' 'average' 'attendance' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +19,concert_singer,"SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1",What is the name and capacity for the stadium with the highest average attendance?,"['SELECT' 'name' ',' 'capacity' 'FROM' 'stadium' 'ORDER' 'BY' 'average' + 'DESC' 'LIMIT' '1']","['select' 'name' ',' 'capacity' 'from' 'stadium' 'order' 'by' 'average' + 'desc' 'limit' 'value']","['What' 'is' 'the' 'name' 'and' 'capacity' 'for' 'the' 'stadium' 'with' + 'the' 'highest' 'average' 'attendance' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +20,concert_singer,SELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015,How many concerts are there in year 2014 or 2015?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'concert' 'WHERE' 'YEAR' '=' '2014' + 'OR' 'YEAR' '=' '2015']","['select' 'count' '(' '*' ')' 'from' 'concert' 'where' 'year' '=' 'value' + 'or' 'year' '=' 'value']",['How' 'many' 'concerts' 'are' 'there' 'in' 'year' '2014' 'or' '2015' '?'],"['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +21,concert_singer,SELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015,How many concerts occurred in 2014 or 2015?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'concert' 'WHERE' 'YEAR' '=' '2014' + 'OR' 'YEAR' '=' '2015']","['select' 'count' '(' '*' ')' 'from' 'concert' 'where' 'year' '=' 'value' + 'or' 'year' '=' 'value']",['How' 'many' 'concerts' 'occurred' 'in' '2014' 'or' '2015' '?'],"['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +22,concert_singer,"SELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id",Show the stadium name and the number of concerts in each stadium.,"['SELECT' 'T2.name' ',' 'count' '(' '*' ')' 'FROM' 'concert' 'AS' 'T1' + 'JOIN' 'stadium' 'AS' 'T2' 'ON' 'T1.stadium_id' '=' 'T2.stadium_id' + 'GROUP' 'BY' 'T1.stadium_id']","['select' 't2' '.' 'name' ',' 'count' '(' '*' ')' 'from' 'concert' 'as' + 't1' 'join' 'stadium' 'as' 't2' 'on' 't1' '.' 'stadium_id' '=' 't2' '.' + 'stadium_id' 'group' 'by' 't1' '.' 'stadium_id']","['Show' 'the' 'stadium' 'name' 'and' 'the' 'number' 'of' 'concerts' 'in' + 'each' 'stadium' '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +23,concert_singer,"SELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id","For each stadium, how many concerts play there?","['SELECT' 'T2.name' ',' 'count' '(' '*' ')' 'FROM' 'concert' 'AS' 'T1' + 'JOIN' 'stadium' 'AS' 'T2' 'ON' 'T1.stadium_id' '=' 'T2.stadium_id' + 'GROUP' 'BY' 'T1.stadium_id']","['select' 't2' '.' 'name' ',' 'count' '(' '*' ')' 'from' 'concert' 'as' + 't1' 'join' 'stadium' 'as' 't2' 'on' 't1' '.' 'stadium_id' '=' 't2' '.' + 'stadium_id' 'group' 'by' 't1' '.' 'stadium_id']","['For' 'each' 'stadium' ',' 'how' 'many' 'concerts' 'play' 'there' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +24,concert_singer,"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",Show the stadium name and capacity with most number of concerts in year 2014 or after.,"['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']","['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']","['Show' 'the' 'stadium' 'name' 'and' 'capacity' 'with' 'most' 'number' + 'of' 'concerts' 'in' 'year' '2014' 'or' 'after' '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +25,concert_singer,"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",What is the name and capacity of the stadium with the most concerts after 2013 ?,"['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']","['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']","['What' 'is' 'the' 'name' 'and' 'capacity' 'of' 'the' 'stadium' 'with' + 'the' 'most' 'concerts' 'after' '2013' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +26,concert_singer,SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1,Which year has most number of concerts?,"['SELECT' 'YEAR' 'FROM' 'concert' 'GROUP' 'BY' 'YEAR' 'ORDER' 'BY' 'count' + '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'year' 'from' 'concert' 'group' 'by' 'year' 'order' 'by' 'count' + '(' '*' ')' 'desc' 'limit' 'value']",['Which' 'year' 'has' 'most' 'number' 'of' 'concerts' '?'],"['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +27,concert_singer,SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1,What is the year that had the most concerts?,"['SELECT' 'YEAR' 'FROM' 'concert' 'GROUP' 'BY' 'YEAR' 'ORDER' 'BY' 'count' + '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'year' 'from' 'concert' 'group' 'by' 'year' 'order' 'by' 'count' + '(' '*' ')' 'desc' 'limit' 'value']",['What' 'is' 'the' 'year' 'that' 'had' 'the' 'most' 'concerts' '?'],"['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +28,concert_singer,SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert),Show the stadium names without any concert.,"['SELECT' 'name' 'FROM' 'stadium' 'WHERE' 'stadium_id' 'NOT' 'IN' '(' + 'SELECT' 'stadium_id' 'FROM' 'concert' ')']","['select' 'name' 'from' 'stadium' 'where' 'stadium_id' 'not' 'in' '(' + 'select' 'stadium_id' 'from' 'concert' ')']",['Show' 'the' 'stadium' 'names' 'without' 'any' 'concert' '.'],"['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +29,concert_singer,SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert),What are the names of the stadiums without any concerts?,"['SELECT' 'name' 'FROM' 'stadium' 'WHERE' 'stadium_id' 'NOT' 'IN' '(' + 'SELECT' 'stadium_id' 'FROM' 'concert' ')']","['select' 'name' 'from' 'stadium' 'where' 'stadium_id' 'not' 'in' '(' + 'select' 'stadium_id' 'from' 'concert' ')']","['What' 'are' 'the' 'names' 'of' 'the' 'stadiums' 'without' 'any' + 'concerts' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +30,concert_singer,SELECT country FROM singer WHERE age > 40 INTERSECT SELECT country FROM singer WHERE age < 30,Show countries where a singer above age 40 and a singer below 30 are from.,"['SELECT' 'country' 'FROM' 'singer' 'WHERE' 'age' '>' '40' 'INTERSECT' + 'SELECT' 'country' 'FROM' 'singer' 'WHERE' 'age' '<' '30']","['select' 'country' 'from' 'singer' 'where' 'age' '>' 'value' 'intersect' + 'select' 'country' 'from' 'singer' 'where' 'age' '<' 'value']","['Show' 'countries' 'where' 'a' 'singer' 'above' 'age' '40' 'and' 'a' + 'singer' 'below' '30' 'are' 'from' '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +31,concert_singer,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,Show names for all stadiums except for stadiums having a concert in year 2014.,"['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']","['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']","['Show' 'names' 'for' 'all' 'stadiums' 'except' 'for' 'stadiums' 'having' + 'a' 'concert' 'in' 'year' '2014' '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +32,concert_singer,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,What are the names of all stadiums that did not have a concert in 2014?,"['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']","['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']","['What' 'are' 'the' 'names' 'of' 'all' 'stadiums' 'that' 'did' 'not' + 'have' 'a' 'concert' 'in' '2014' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +33,concert_singer,"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",Show the name and theme for all concerts and the number of singers in each concert.,"['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']","['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']","['Show' 'the' 'name' 'and' 'theme' 'for' 'all' 'concerts' 'and' 'the' + 'number' 'of' 'singers' 'in' 'each' 'concert' '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +34,concert_singer,"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","What are the names , themes , and number of singers for every concert ?","['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']","['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']","['What' 'are' 'the' 'names' ',' 'themes' ',' 'and' 'number' 'of' 'singers' + 'for' 'every' 'concert' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +35,concert_singer,"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",List singer names and number of concerts for each singer.,"['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']","['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']","['List' 'singer' 'names' 'and' 'number' 'of' 'concerts' 'for' 'each' + 'singer' '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +36,concert_singer,"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",What are the names of the singers and number of concerts for each person?,"['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']","['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']","['What' 'are' 'the' 'names' 'of' 'the' 'singers' 'and' 'number' 'of' + 'concerts' 'for' 'each' 'person' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +37,concert_singer,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,List all singer names in concerts in year 2014.,"['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']","['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']",['List' 'all' 'singer' 'names' 'in' 'concerts' 'in' 'year' '2014' '.'],"['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +38,concert_singer,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,What are the names of the singers who performed in a concert in 2014?,"['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']","['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']","['What' 'are' 'the' 'names' 'of' 'the' 'singers' 'who' 'performed' 'in' + 'a' 'concert' 'in' '2014' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +39,concert_singer,"SELECT name , country FROM singer WHERE song_name LIKE '%Hey%'",what is the name and nation of the singer who have a song having 'Hey' in its name?,"['SELECT' 'name' ',' 'country' 'FROM' 'singer' 'WHERE' 'song_name' 'LIKE' + ""'"" '%' 'Hey' '%' ""'""]","['select' 'name' ',' 'country' 'from' 'singer' 'where' 'song_name' 'like' + 'value']","['what' 'is' 'the' 'name' 'and' 'nation' 'of' 'the' 'singer' 'who' 'have' + 'a' 'song' 'having' ""'Hey"" ""'"" 'in' 'its' 'name' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +40,concert_singer,"SELECT name , country FROM singer WHERE song_name LIKE '%Hey%'",What is the name and country of origin of every singer who has a song with the word 'Hey' in its title?,"['SELECT' 'name' ',' 'country' 'FROM' 'singer' 'WHERE' 'song_name' 'LIKE' + ""'"" '%' 'Hey' '%' ""'""]","['select' 'name' ',' 'country' 'from' 'singer' 'where' 'song_name' 'like' + 'value']","['What' 'is' 'the' 'name' 'and' 'country' 'of' 'origin' 'of' 'every' + 'singer' 'who' 'has' 'a' 'song' 'with' 'the' 'word' ""'Hey"" ""'"" 'in' 'its' + 'title' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +41,concert_singer,"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",Find the name and location of the stadiums which some concerts happened in the years of both 2014 and 2015.,"['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']","['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']","['Find' 'the' 'name' 'and' 'location' 'of' 'the' 'stadiums' 'which' 'some' + 'concerts' 'happened' 'in' 'the' 'years' 'of' 'both' '2014' 'and' '2015' + '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +42,concert_singer,"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",What are the names and locations of the stadiums that had concerts that occurred in both 2014 and 2015?,"['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']","['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']","['What' 'are' 'the' 'names' 'and' 'locations' 'of' 'the' 'stadiums' 'that' + 'had' 'concerts' 'that' 'occurred' 'in' 'both' '2014' 'and' '2015' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +43,concert_singer,select count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1),Find the number of concerts happened in the stadium with the highest capacity .,"['select' 'count' '(' '*' ')' 'from' 'concert' 'where' 'stadium_id' '=' + '(' 'select' 'stadium_id' 'from' 'stadium' 'order' 'by' 'capacity' 'desc' + 'limit' '1' ')']","['select' 'count' '(' '*' ')' 'from' 'concert' 'where' 'stadium_id' '=' + '(' 'select' 'stadium_id' 'from' 'stadium' 'order' 'by' 'capacity' 'desc' + 'limit' 'value' ')']","['Find' 'the' 'number' 'of' 'concerts' 'happened' 'in' 'the' 'stadium' + 'with' 'the' 'highest' 'capacity' '.']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +44,concert_singer,select count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1),What are the number of concerts that occurred in the stadium with the largest capacity ?,"['select' 'count' '(' '*' ')' 'from' 'concert' 'where' 'stadium_id' '=' + '(' 'select' 'stadium_id' 'from' 'stadium' 'order' 'by' 'capacity' 'desc' + 'limit' '1' ')']","['select' 'count' '(' '*' ')' 'from' 'concert' 'where' 'stadium_id' '=' + '(' 'select' 'stadium_id' 'from' 'stadium' 'order' 'by' 'capacity' 'desc' + 'limit' 'value' ')']","['What' 'are' 'the' 'number' 'of' 'concerts' 'that' 'occurred' 'in' 'the' + 'stadium' 'with' 'the' 'largest' 'capacity' '?']","['stadium id', 'location', 'name', 'capacity', 'highest', 'lowest', 'average', 'singer id', 'name', 'country', 'song name', 'song release year', 'age', 'is male', 'concert id', 'concert name', 'theme', 'stadium id', 'year', 'concert id', 'singer id']" +45,pets_1,SELECT count(*) FROM pets WHERE weight > 10,Find the number of pets whose weight is heavier than 10.,['SELECT' 'count' '(' '*' ')' 'FROM' 'pets' 'WHERE' 'weight' '>' '10'],['select' 'count' '(' '*' ')' 'from' 'pets' 'where' 'weight' '>' 'value'],"['Find' 'the' 'number' 'of' 'pets' 'whose' 'weight' 'is' 'heavier' 'than' + '10' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +46,pets_1,SELECT count(*) FROM pets WHERE weight > 10,How many pets have a greater weight than 10?,['SELECT' 'count' '(' '*' ')' 'FROM' 'pets' 'WHERE' 'weight' '>' '10'],['select' 'count' '(' '*' ')' 'from' 'pets' 'where' 'weight' '>' 'value'],['How' 'many' 'pets' 'have' 'a' 'greater' 'weight' 'than' '10' '?'],"['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +47,pets_1,SELECT weight FROM pets ORDER BY pet_age LIMIT 1,Find the weight of the youngest dog.,['SELECT' 'weight' 'FROM' 'pets' 'ORDER' 'BY' 'pet_age' 'LIMIT' '1'],['select' 'weight' 'from' 'pets' 'order' 'by' 'pet_age' 'limit' 'value'],['Find' 'the' 'weight' 'of' 'the' 'youngest' 'dog' '.'],"['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +48,pets_1,SELECT weight FROM pets ORDER BY pet_age LIMIT 1,How much does the youngest dog weigh?,['SELECT' 'weight' 'FROM' 'pets' 'ORDER' 'BY' 'pet_age' 'LIMIT' '1'],['select' 'weight' 'from' 'pets' 'order' 'by' 'pet_age' 'limit' 'value'],['How' 'much' 'does' 'the' 'youngest' 'dog' 'weigh' '?'],"['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +49,pets_1,"SELECT max(weight) , petType FROM pets GROUP BY petType",Find the maximum weight for each type of pet. List the maximum weight and pet type.,"['SELECT' 'max' '(' 'weight' ')' ',' 'petType' 'FROM' 'pets' 'GROUP' 'BY' + 'petType']","['select' 'max' '(' 'weight' ')' ',' 'pettype' 'from' 'pets' 'group' 'by' + 'pettype']","['Find' 'the' 'maximum' 'weight' 'for' 'each' 'type' 'of' 'pet' '.' 'List' + 'the' 'maximum' 'weight' 'and' 'pet' 'type' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +50,pets_1,"SELECT max(weight) , petType FROM pets GROUP BY petType",List the maximum weight and type for each type of pet.,"['SELECT' 'max' '(' 'weight' ')' ',' 'petType' 'FROM' 'pets' 'GROUP' 'BY' + 'petType']","['select' 'max' '(' 'weight' ')' ',' 'pettype' 'from' 'pets' 'group' 'by' + 'pettype']","['List' 'the' 'maximum' 'weight' 'and' 'type' 'for' 'each' 'type' 'of' + 'pet' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +51,pets_1,SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.age > 20,Find number of pets owned by students who are older than 20.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'student' 'AS' 'T1' 'JOIN' 'has_pet' + 'AS' 'T2' 'ON' 'T1.stuid' '=' 'T2.stuid' 'WHERE' 'T1.age' '>' '20']","['select' 'count' '(' '*' ')' 'from' 'student' 'as' 't1' 'join' 'has_pet' + 'as' 't2' 'on' 't1' '.' 'stuid' '=' 't2' '.' 'stuid' 'where' 't1' '.' + 'age' '>' 'value']","['Find' 'number' 'of' 'pets' 'owned' 'by' 'students' 'who' 'are' 'older' + 'than' '20' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +52,pets_1,SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.age > 20,How many pets are owned by students that have an age greater than 20?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'student' 'AS' 'T1' 'JOIN' 'has_pet' + 'AS' 'T2' 'ON' 'T1.stuid' '=' 'T2.stuid' 'WHERE' 'T1.age' '>' '20']","['select' 'count' '(' '*' ')' 'from' 'student' 'as' 't1' 'join' 'has_pet' + 'as' 't2' 'on' 't1' '.' 'stuid' '=' 't2' '.' 'stuid' 'where' 't1' '.' + 'age' '>' 'value']","['How' 'many' 'pets' 'are' 'owned' 'by' 'students' 'that' 'have' 'an' + 'age' 'greater' 'than' '20' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +53,pets_1,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',Find the number of dog pets that are raised by female students (with sex F).,"['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"" ""'""]","['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']","['Find' 'the' 'number' 'of' 'dog' 'pets' 'that' 'are' 'raised' 'by' + 'female' 'students' '(' 'with' 'sex' 'F' ')' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +54,pets_1,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',How many dog pets are raised by female students?,"['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"" ""'""]","['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']",['How' 'many' 'dog' 'pets' 'are' 'raised' 'by' 'female' 'students' '?'],"['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +55,pets_1,SELECT count(DISTINCT pettype) FROM pets,Find the number of distinct type of pets.,['SELECT' 'count' '(' 'DISTINCT' 'pettype' ')' 'FROM' 'pets'],['select' 'count' '(' 'distinct' 'pettype' ')' 'from' 'pets'],['Find' 'the' 'number' 'of' 'distinct' 'type' 'of' 'pets' '.'],"['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +56,pets_1,SELECT count(DISTINCT pettype) FROM pets,How many different types of pet are there?,['SELECT' 'count' '(' 'DISTINCT' 'pettype' ')' 'FROM' 'pets'],['select' 'count' '(' 'distinct' 'pettype' ')' 'from' 'pets'],['How' 'many' 'different' 'types' 'of' 'pet' 'are' 'there' '?'],"['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +57,pets_1,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',Find the first name of students who have cat or dog pet.,"['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"" ""'""]","['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']","['Find' 'the' 'first' 'name' 'of' 'students' 'who' 'have' 'cat' 'or' 'dog' + 'pet' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +58,pets_1,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',What are the first names of every student who has a cat or dog as a pet?,"['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"" ""'""]","['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']","['What' 'are' 'the' 'first' 'names' 'of' 'every' 'student' 'who' 'has' 'a' + 'cat' 'or' 'dog' 'as' 'a' 'pet' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +59,pets_1,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',Find the first name of students who have both cat and dog pets .,"['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""']","['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']","['Find' 'the' 'first' 'name' 'of' 'students' 'who' 'have' 'both' 'cat' + 'and' 'dog' 'pets' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +60,pets_1,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',What are the students' first names who have both cats and dogs as pets?,"['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"" ""'""]","['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']","['What' 'are' 'the' 'students' ""'"" 'first' 'names' 'who' 'have' 'both' + 'cats' 'and' 'dogs' 'as' 'pets' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +61,pets_1,"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')",Find the major and age of students who do not have a cat pet.,"['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"" ""'"" ')']","['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' ')']","['Find' 'the' 'major' 'and' 'age' 'of' 'students' 'who' 'do' 'not' 'have' + 'a' 'cat' 'pet' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +62,pets_1,"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')","What major is every student who does not own a cat as a pet, and also how old are they?","['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"" ""'"" ')']","['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' ')']","['What' 'major' 'is' 'every' 'student' 'who' 'does' 'not' 'own' 'a' 'cat' + 'as' 'a' 'pet' ',' 'and' 'also' 'how' 'old' 'are' 'they' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +63,pets_1,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',Find the id of students who do not have a cat pet.,"['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"" ""'""]","['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']","['Find' 'the' 'id' 'of' 'students' 'who' 'do' 'not' 'have' 'a' 'cat' 'pet' + '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +64,pets_1,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',What are the ids of the students who do not own cats as pets?,"['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"" ""'""]","['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']","['What' 'are' 'the' 'ids' 'of' 'the' 'students' 'who' 'do' 'not' 'own' + 'cats' 'as' 'pets' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +65,pets_1,"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')",Find the first name and age of students who have a dog but do not have a cat as a pet.,"['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"" ""'"" ')']","['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' ')']","['Find' 'the' 'first' 'name' 'and' 'age' 'of' 'students' 'who' 'have' 'a' + 'dog' 'but' 'do' 'not' 'have' 'a' 'cat' 'as' 'a' 'pet' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +66,pets_1,"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')",What is the first name of every student who has a dog but does not have a cat?,"['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"" ""'"" ')']","['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' ')']","['What' 'is' 'the' 'first' 'name' 'of' 'every' 'student' 'who' 'has' 'a' + 'dog' 'but' 'does' 'not' 'have' 'a' 'cat' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +67,pets_1,"SELECT pettype , weight FROM pets ORDER BY pet_age LIMIT 1",Find the type and weight of the youngest pet.,"['SELECT' 'pettype' ',' 'weight' 'FROM' 'pets' 'ORDER' 'BY' 'pet_age' + 'LIMIT' '1']","['select' 'pettype' ',' 'weight' 'from' 'pets' 'order' 'by' 'pet_age' + 'limit' 'value']",['Find' 'the' 'type' 'and' 'weight' 'of' 'the' 'youngest' 'pet' '.'],"['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +68,pets_1,"SELECT pettype , weight FROM pets ORDER BY pet_age LIMIT 1","What type of pet is the youngest animal, and how much does it weigh?","['SELECT' 'pettype' ',' 'weight' 'FROM' 'pets' 'ORDER' 'BY' 'pet_age' + 'LIMIT' '1']","['select' 'pettype' ',' 'weight' 'from' 'pets' 'order' 'by' 'pet_age' + 'limit' 'value']","['What' 'type' 'of' 'pet' 'is' 'the' 'youngest' 'animal' ',' 'and' 'how' + 'much' 'does' 'it' 'weigh' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +69,pets_1,"SELECT petid , weight FROM pets WHERE pet_age > 1",Find the id and weight of all pets whose age is older than 1.,"['SELECT' 'petid' ',' 'weight' 'FROM' 'pets' 'WHERE' 'pet_age' '>' '1']","['select' 'petid' ',' 'weight' 'from' 'pets' 'where' 'pet_age' '>' 'value']","['Find' 'the' 'id' 'and' 'weight' 'of' 'all' 'pets' 'whose' 'age' 'is' + 'older' 'than' '1' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +70,pets_1,"SELECT petid , weight FROM pets WHERE pet_age > 1",What is the id and weight of every pet who is older than 1?,"['SELECT' 'petid' ',' 'weight' 'FROM' 'pets' 'WHERE' 'pet_age' '>' '1']","['select' 'petid' ',' 'weight' 'from' 'pets' 'where' 'pet_age' '>' 'value']","['What' 'is' 'the' 'id' 'and' 'weight' 'of' 'every' 'pet' 'who' 'is' + 'older' 'than' '1' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +71,pets_1,"SELECT avg(pet_age) , max(pet_age) , pettype FROM pets GROUP BY pettype",Find the average and maximum age for each type of pet.,"['SELECT' 'avg' '(' 'pet_age' ')' ',' 'max' '(' 'pet_age' ')' ',' + 'pettype' 'FROM' 'pets' 'GROUP' 'BY' 'pettype']","['select' 'avg' '(' 'pet_age' ')' ',' 'max' '(' 'pet_age' ')' ',' + 'pettype' 'from' 'pets' 'group' 'by' 'pettype']","['Find' 'the' 'average' 'and' 'maximum' 'age' 'for' 'each' 'type' 'of' + 'pet' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +72,pets_1,"SELECT avg(pet_age) , max(pet_age) , pettype FROM pets GROUP BY pettype",What is the average and maximum age for each pet type?,"['SELECT' 'avg' '(' 'pet_age' ')' ',' 'max' '(' 'pet_age' ')' ',' + 'pettype' 'FROM' 'pets' 'GROUP' 'BY' 'pettype']","['select' 'avg' '(' 'pet_age' ')' ',' 'max' '(' 'pet_age' ')' ',' + 'pettype' 'from' 'pets' 'group' 'by' 'pettype']","['What' 'is' 'the' 'average' 'and' 'maximum' 'age' 'for' 'each' 'pet' + 'type' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +73,pets_1,"SELECT avg(weight) , pettype FROM pets GROUP BY pettype",Find the average weight for each pet type.,"['SELECT' 'avg' '(' 'weight' ')' ',' 'pettype' 'FROM' 'pets' 'GROUP' 'BY' + 'pettype']","['select' 'avg' '(' 'weight' ')' ',' 'pettype' 'from' 'pets' 'group' 'by' + 'pettype']",['Find' 'the' 'average' 'weight' 'for' 'each' 'pet' 'type' '.'],"['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +74,pets_1,"SELECT avg(weight) , pettype FROM pets GROUP BY pettype",What is the average weight for each type of pet?,"['SELECT' 'avg' '(' 'weight' ')' ',' 'pettype' 'FROM' 'pets' 'GROUP' 'BY' + 'pettype']","['select' 'avg' '(' 'weight' ')' ',' 'pettype' 'from' 'pets' 'group' 'by' + 'pettype']",['What' 'is' 'the' 'average' 'weight' 'for' 'each' 'type' 'of' 'pet' '?'],"['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +75,pets_1,"SELECT DISTINCT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid",Find the first name and age of students who have a pet.,"['SELECT' 'DISTINCT' 'T1.fname' ',' 'T1.age' 'FROM' 'student' 'AS' 'T1' + 'JOIN' 'has_pet' 'AS' 'T2' 'ON' 'T1.stuid' '=' 'T2.stuid']","['select' 'distinct' 't1' '.' 'fname' ',' 't1' '.' 'age' 'from' 'student' + 'as' 't1' 'join' 'has_pet' 'as' 't2' 'on' 't1' '.' 'stuid' '=' 't2' '.' + 'stuid']","['Find' 'the' 'first' 'name' 'and' 'age' 'of' 'students' 'who' 'have' 'a' + 'pet' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +76,pets_1,"SELECT DISTINCT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid",What are the different first names and ages of the students who do have pets?,"['SELECT' 'DISTINCT' 'T1.fname' ',' 'T1.age' 'FROM' 'student' 'AS' 'T1' + 'JOIN' 'has_pet' 'AS' 'T2' 'ON' 'T1.stuid' '=' 'T2.stuid']","['select' 'distinct' 't1' '.' 'fname' ',' 't1' '.' 'age' 'from' 'student' + 'as' 't1' 'join' 'has_pet' 'as' 't2' 'on' 't1' '.' 'stuid' '=' 't2' '.' + 'stuid']","['What' 'are' 'the' 'different' 'first' 'names' 'and' 'ages' 'of' 'the' + 'students' 'who' 'do' 'have' 'pets' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +77,pets_1,SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith',Find the id of the pet owned by student whose last name is ‘Smith’.,"['SELECT' 'T2.petid' 'FROM' 'student' 'AS' 'T1' 'JOIN' 'has_pet' 'AS' 'T2' + 'ON' 'T1.stuid' '=' 'T2.stuid' 'WHERE' 'T1.Lname' '=' ""'Smith"" ""'""]","['select' 't2' '.' 'petid' 'from' 'student' 'as' 't1' 'join' 'has_pet' + 'as' 't2' 'on' 't1' '.' 'stuid' '=' 't2' '.' 'stuid' 'where' 't1' '.' + 'lname' '=' 'value']","['Find' 'the' 'id' 'of' 'the' 'pet' 'owned' 'by' 'student' 'whose' 'last' + 'name' 'is' '‘Smith’' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +78,pets_1,SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith',What is the id of the pet owned by the student whose last name is 'Smith'?,"['SELECT' 'T2.petid' 'FROM' 'student' 'AS' 'T1' 'JOIN' 'has_pet' 'AS' 'T2' + 'ON' 'T1.stuid' '=' 'T2.stuid' 'WHERE' 'T1.Lname' '=' ""'Smith"" ""'""]","['select' 't2' '.' 'petid' 'from' 'student' 'as' 't1' 'join' 'has_pet' + 'as' 't2' 'on' 't1' '.' 'stuid' '=' 't2' '.' 'stuid' 'where' 't1' '.' + 'lname' '=' 'value']","['What' 'is' 'the' 'id' 'of' 'the' 'pet' 'owned' 'by' 'the' 'student' + 'whose' 'last' 'name' 'is' ""'Smith"" ""'"" '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +79,pets_1,"SELECT count(*) , T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid",Find the number of pets for each student who has any pet and student id.,"['SELECT' 'count' '(' '*' ')' ',' 'T1.stuid' 'FROM' 'student' 'AS' 'T1' + 'JOIN' 'has_pet' 'AS' 'T2' 'ON' 'T1.stuid' '=' 'T2.stuid' 'GROUP' 'BY' + 'T1.stuid']","['select' 'count' '(' '*' ')' ',' 't1' '.' 'stuid' 'from' 'student' 'as' + 't1' 'join' 'has_pet' 'as' 't2' 'on' 't1' '.' 'stuid' '=' 't2' '.' + 'stuid' 'group' 'by' 't1' '.' 'stuid']","['Find' 'the' 'number' 'of' 'pets' 'for' 'each' 'student' 'who' 'has' + 'any' 'pet' 'and' 'student' 'id' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +80,pets_1,"select count(*) , t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid","For students who have pets , how many pets does each student have ? list their ids instead of names .","['select' 'count' '(' '*' ')' ',' 't1.stuid' 'from' 'student' 'as' 't1' + 'join' 'has_pet' 'as' 't2' 'on' 't1.stuid' '=' 't2.stuid' 'group' 'by' + 't1.stuid']","['select' 'count' '(' '*' ')' ',' 't1' '.' 'stuid' 'from' 'student' 'as' + 't1' 'join' 'has_pet' 'as' 't2' 'on' 't1' '.' 'stuid' '=' 't2' '.' + 'stuid' 'group' 'by' 't1' '.' 'stuid']","['For' 'students' 'who' 'have' 'pets' ',' 'how' 'many' 'pets' 'does' + 'each' 'student' 'have' '?' 'list' 'their' 'ids' 'instead' 'of' 'names' + '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +81,pets_1,"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",Find the first name and gender of student who have more than one pet.,"['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']","['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' '(' '*' ')' '>' 'value']","['Find' 'the' 'first' 'name' 'and' 'gender' 'of' 'student' 'who' 'have' + 'more' 'than' 'one' 'pet' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +82,pets_1,"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",What is the first name and gender of the all the students who have more than one pet?,"['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']","['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' '(' '*' ')' '>' 'value']","['What' 'is' 'the' 'first' 'name' 'and' 'gender' 'of' 'the' 'all' 'the' + 'students' 'who' 'have' 'more' 'than' 'one' 'pet' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +83,pets_1,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',Find the last name of the student who has a cat that is age 3.,"['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"" + ""'""]","['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']","['Find' 'the' 'last' 'name' 'of' 'the' 'student' 'who' 'has' 'a' 'cat' + 'that' 'is' 'age' '3' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +84,pets_1,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',What is the last name of the student who has a cat that is 3 years old?,"['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"" + ""'""]","['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']","['What' 'is' 'the' 'last' 'name' 'of' 'the' 'student' 'who' 'has' 'a' + 'cat' 'that' 'is' '3' 'years' 'old' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +85,pets_1,select avg(age) from student where stuid not in (select stuid from has_pet),Find the average age of students who do not have any pet .,"['select' 'avg' '(' 'age' ')' 'from' 'student' 'where' 'stuid' 'not' 'in' + '(' 'select' 'stuid' 'from' 'has_pet' ')']","['select' 'avg' '(' 'age' ')' 'from' 'student' 'where' 'stuid' 'not' 'in' + '(' 'select' 'stuid' 'from' 'has_pet' ')']","['Find' 'the' 'average' 'age' 'of' 'students' 'who' 'do' 'not' 'have' + 'any' 'pet' '.']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +86,pets_1,select avg(age) from student where stuid not in (select stuid from has_pet),What is the average age for all students who do not own any pets ?,"['select' 'avg' '(' 'age' ')' 'from' 'student' 'where' 'stuid' 'not' 'in' + '(' 'select' 'stuid' 'from' 'has_pet' ')']","['select' 'avg' '(' 'age' ')' 'from' 'student' 'where' 'stuid' 'not' 'in' + '(' 'select' 'stuid' 'from' 'has_pet' ')']","['What' 'is' 'the' 'average' 'age' 'for' 'all' 'students' 'who' 'do' 'not' + 'own' 'any' 'pets' '?']","['student id', 'last name', 'first name', 'age', 'sex', 'major', 'advisor', 'city code', 'student id', 'pet id', 'pet id', 'pet type', 'pet age', 'weight']" +87,car_1,SELECT count(*) FROM CONTINENTS;,How many continents are there?,['SELECT' 'count' '(' '*' ')' 'FROM' 'CONTINENTS' ';'],['select' 'count' '(' '*' ')' 'from' 'continents'],['How' 'many' 'continents' 'are' 'there' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +88,car_1,SELECT count(*) FROM CONTINENTS;,What is the number of continents?,['SELECT' 'count' '(' '*' ')' 'FROM' 'CONTINENTS' ';'],['select' 'count' '(' '*' ')' 'from' 'continents'],['What' 'is' 'the' 'number' 'of' 'continents' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +89,car_1,"SELECT T1.ContId , T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.Continent GROUP BY T1.ContId;","How many countries does each continent have? List the continent id, continent name and the number of countries.","['SELECT' 'T1.ContId' ',' 'T1.Continent' ',' 'count' '(' '*' ')' 'FROM' + 'CONTINENTS' 'AS' 'T1' 'JOIN' 'COUNTRIES' 'AS' 'T2' 'ON' 'T1.ContId' '=' + 'T2.Continent' 'GROUP' 'BY' 'T1.ContId' ';']","['select' 't1' '.' 'contid' ',' 't1' '.' 'continent' ',' 'count' '(' '*' + ')' 'from' 'continents' 'as' 't1' 'join' 'countries' 'as' 't2' 'on' 't1' + '.' 'contid' '=' 't2' '.' 'continent' 'group' 'by' 't1' '.' 'contid']","['How' 'many' 'countries' 'does' 'each' 'continent' 'have' '?' 'List' + 'the' 'continent' 'id' ',' 'continent' 'name' 'and' 'the' 'number' 'of' + 'countries' '.']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +90,car_1,"SELECT T1.ContId , T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.Continent GROUP BY T1.ContId;","For each continent, list its id, name, and how many countries it has?","['SELECT' 'T1.ContId' ',' 'T1.Continent' ',' 'count' '(' '*' ')' 'FROM' + 'CONTINENTS' 'AS' 'T1' 'JOIN' 'COUNTRIES' 'AS' 'T2' 'ON' 'T1.ContId' '=' + 'T2.Continent' 'GROUP' 'BY' 'T1.ContId' ';']","['select' 't1' '.' 'contid' ',' 't1' '.' 'continent' ',' 'count' '(' '*' + ')' 'from' 'continents' 'as' 't1' 'join' 'countries' 'as' 't2' 'on' 't1' + '.' 'contid' '=' 't2' '.' 'continent' 'group' 'by' 't1' '.' 'contid']","['For' 'each' 'continent' ',' 'list' 'its' 'id' ',' 'name' ',' 'and' 'how' + 'many' 'countries' 'it' 'has' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +91,car_1,SELECT count(*) FROM COUNTRIES;,How many countries are listed?,['SELECT' 'count' '(' '*' ')' 'FROM' 'COUNTRIES' ';'],['select' 'count' '(' '*' ')' 'from' 'countries'],['How' 'many' 'countries' 'are' 'listed' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +92,car_1,SELECT count(*) FROM COUNTRIES;,How many countries exist?,['SELECT' 'count' '(' '*' ')' 'FROM' 'COUNTRIES' ';'],['select' 'count' '(' '*' ')' 'from' 'countries'],['How' 'many' 'countries' 'exist' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +93,car_1,"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;","How many models does each car maker produce? List maker full name, id and the number.","['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' ';']","['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']","['How' 'many' 'models' 'does' 'each' 'car' 'maker' 'produce' '?' 'List' + 'maker' 'full' 'name' ',' 'id' 'and' 'the' 'number' '.']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +94,car_1,"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;","What is the full name of each car maker, along with its id and how many models it produces?","['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' ';']","['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']","['What' 'is' 'the' 'full' 'name' 'of' 'each' 'car' 'maker' ',' 'along' + 'with' 'its' 'id' 'and' 'how' 'many' 'models' 'it' 'produces' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +95,car_1,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;,Which model of the car has the minimum horsepower?,"['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' ';']","['select' 't1' '.' 'model' 'from' 'car_names' 'as' 't1' 'join' 'cars_data' + 'as' 't2' 'on' 't1' '.' 'makeid' '=' 't2' '.' 'id' 'order' 'by' 't2' '.' + 'horsepower' 'asc' 'limit' 'value']",['Which' 'model' 'of' 'the' 'car' 'has' 'the' 'minimum' 'horsepower' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +96,car_1,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;,What is the model of the car with the smallest amount of horsepower?,"['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' ';']","['select' 't1' '.' 'model' 'from' 'car_names' 'as' 't1' 'join' 'cars_data' + 'as' 't2' 'on' 't1' '.' 'makeid' '=' 't2' '.' 'id' 'order' 'by' 't2' '.' + 'horsepower' 'asc' 'limit' 'value']","['What' 'is' 'the' 'model' 'of' 'the' 'car' 'with' 'the' 'smallest' + 'amount' 'of' 'horsepower' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +97,car_1,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),Find the model of the car whose weight is below the average weight.,"['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' ')']","['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' ')']","['Find' 'the' 'model' 'of' 'the' 'car' 'whose' 'weight' 'is' 'below' 'the' + 'average' 'weight' '.']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +98,car_1,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),What is the model for the car with a weight smaller than the average?,"['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' ')']","['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' ')']","['What' 'is' 'the' 'model' 'for' 'the' 'car' 'with' 'a' 'weight' 'smaller' + 'than' 'the' 'average' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +99,car_1,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';,Find the name of the makers that produced some cars in the year of 1970?,"['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"" ""'"" ';']","['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']","['Find' 'the' 'name' 'of' 'the' 'makers' 'that' 'produced' 'some' 'cars' + 'in' 'the' 'year' 'of' '1970' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +100,car_1,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';,What is the name of the different car makers who produced a car in 1970?,"['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"" ""'"" ';']","['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']","['What' 'is' 'the' 'name' 'of' 'the' 'different' 'car' 'makers' 'who' + 'produced' 'a' 'car' 'in' '1970' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +101,car_1,"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);",Find the make and production time of the cars that were produced in the earliest year?,"['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' ')' ';']","['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' ')']","['Find' 'the' 'make' 'and' 'production' 'time' 'of' 'the' 'cars' 'that' + 'were' 'produced' 'in' 'the' 'earliest' 'year' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +102,car_1,"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);",What is the maker of the carr produced in the earliest year and what year was it?,"['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' ')' ';']","['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' ')']","['What' 'is' 'the' 'maker' 'of' 'the' 'carr' 'produced' 'in' 'the' + 'earliest' 'year' 'and' 'what' 'year' 'was' 'it' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +103,car_1,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;,Which distinct car models are the produced after 1980?,"['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' ';']","['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']","['Which' 'distinct' 'car' 'models' 'are' 'the' 'produced' 'after' '1980' + '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +104,car_1,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;,What are the different models for the cards produced after 1980?,"['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' ';']","['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']","['What' 'are' 'the' 'different' 'models' 'for' 'the' 'cards' 'produced' + 'after' '1980' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +105,car_1,"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;",How many car makers are there in each continents? List the continent name and the count.,"['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' ';']","['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']","['How' 'many' 'car' 'makers' 'are' 'there' 'in' 'each' 'continents' '?' + 'List' 'the' 'continent' 'name' 'and' 'the' 'count' '.']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +106,car_1,"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;",What is the name of each continent and how many car makers are there in each one?,"['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' ';']","['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']","['What' 'is' 'the' 'name' 'of' 'each' 'continent' 'and' 'how' 'many' 'car' + 'makers' 'are' 'there' 'in' 'each' 'one' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +107,car_1,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;,Which of the countries has the most car makers? List the country name.,"['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' ';']","['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']","['Which' 'of' 'the' 'countries' 'has' 'the' 'most' 'car' 'makers' '?' + 'List' 'the' 'country' 'name' '.']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +108,car_1,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;,What is the name of the country with the most car makers?,"['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' ';']","['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']","['What' 'is' 'the' 'name' 'of' 'the' 'country' 'with' 'the' 'most' 'car' + 'makers' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +109,car_1,"select count(*) , t2.fullname from model_list as t1 join car_makers as t2 on t1.maker = t2.id group by t2.id;",How many car models are produced by each maker ? Only list the count and the maker full name .,"['select' 'count' '(' '*' ')' ',' 't2.fullname' 'from' 'model_list' 'as' + 't1' 'join' 'car_makers' 'as' 't2' 'on' 't1.maker' '=' 't2.id' 'group' + 'by' 't2.id' ';']","['select' 'count' '(' '*' ')' ',' 't2' '.' 'fullname' 'from' 'model_list' + 'as' 't1' 'join' 'car_makers' 'as' 't2' 'on' 't1' '.' 'maker' '=' 't2' + '.' 'id' 'group' 'by' 't2' '.' 'id']","['How' 'many' 'car' 'models' 'are' 'produced' 'by' 'each' 'maker' '?' + 'Only' 'list' 'the' 'count' 'and' 'the' 'maker' 'full' 'name' '.']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +110,car_1,"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;",What is the number of car models that are produced by each maker and what is the id and full name of each maker?,"['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' ';']","['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']","['What' 'is' 'the' 'number' 'of' 'car' 'models' 'that' 'are' 'produced' + 'by' 'each' 'maker' 'and' 'what' 'is' 'the' 'id' 'and' 'full' 'name' 'of' + 'each' 'maker' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +111,car_1,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)';,What is the accelerate of the car make amc hornet sportabout (sw)?,"['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' ')' ""'"" ';']","['select' 't1' '.' 'accelerate' 'from' 'cars_data' 'as' 't1' 'join' + 'car_names' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'makeid' 'where' + 't2' '.' 'make' '=' 'value']","['What' 'is' 'the' 'accelerate' 'of' 'the' 'car' 'make' 'amc' 'hornet' + 'sportabout' '(' 'sw' ')' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +112,car_1,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)';,How much does the car accelerate that makes amc hornet sportabout (sw)?,"['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' ')' ""'"" ';']","['select' 't1' '.' 'accelerate' 'from' 'cars_data' 'as' 't1' 'join' + 'car_names' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'makeid' 'where' + 't2' '.' 'make' '=' 'value']","['How' 'much' 'does' 'the' 'car' 'accelerate' 'that' 'makes' 'amc' + 'hornet' 'sportabout' '(' 'sw' ')' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +113,car_1,SELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId WHERE T2.CountryName = 'france';,How many car makers are there in france?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'CAR_MAKERS' 'AS' 'T1' 'JOIN' + 'COUNTRIES' 'AS' 'T2' 'ON' 'T1.Country' '=' 'T2.CountryId' 'WHERE' + 'T2.CountryName' '=' ""'france"" ""'"" ';']","['select' 'count' '(' '*' ')' 'from' 'car_makers' 'as' 't1' 'join' + 'countries' 'as' 't2' 'on' 't1' '.' 'country' '=' 't2' '.' 'countryid' + 'where' 't2' '.' 'countryname' '=' 'value']",['How' 'many' 'car' 'makers' 'are' 'there' 'in' 'france' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +114,car_1,SELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId WHERE T2.CountryName = 'france';,What is the number of makers of care in France?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'CAR_MAKERS' 'AS' 'T1' 'JOIN' + 'COUNTRIES' 'AS' 'T2' 'ON' 'T1.Country' '=' 'T2.CountryId' 'WHERE' + 'T2.CountryName' '=' ""'france"" ""'"" ';']","['select' 'count' '(' '*' ')' 'from' 'car_makers' 'as' 't1' 'join' + 'countries' 'as' 't2' 'on' 't1' '.' 'country' '=' 't2' '.' 'countryid' + 'where' 't2' '.' 'countryname' '=' 'value']",['What' 'is' 'the' 'number' 'of' 'makers' 'of' 'care' 'in' 'France' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +115,car_1,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';,How many car models are produced in the usa?,"['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"" ""'"" ';']","['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']",['How' 'many' 'car' 'models' 'are' 'produced' 'in' 'the' 'usa' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +116,car_1,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';,What is the count of the car models produced in the United States?,"['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"" ""'"" ';']","['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']","['What' 'is' 'the' 'count' 'of' 'the' 'car' 'models' 'produced' 'in' 'the' + 'United' 'States' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +117,car_1,SELECT avg(mpg) FROM CARS_DATA WHERE Cylinders = 4;,What is the average miles per gallon(mpg) of the cars with 4 cylinders?,"['SELECT' 'avg' '(' 'mpg' ')' 'FROM' 'CARS_DATA' 'WHERE' 'Cylinders' '=' + '4' ';']","['select' 'avg' '(' 'mpg' ')' 'from' 'cars_data' 'where' 'cylinders' '=' + 'value']","['What' 'is' 'the' 'average' 'miles' 'per' 'gallon' '(' 'mpg' ')' 'of' + 'the' 'cars' 'with' '4' 'cylinders' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +118,car_1,SELECT avg(mpg) FROM CARS_DATA WHERE Cylinders = 4;,What is the average miles per gallon of all the cards with 4 cylinders?,"['SELECT' 'avg' '(' 'mpg' ')' 'FROM' 'CARS_DATA' 'WHERE' 'Cylinders' '=' + '4' ';']","['select' 'avg' '(' 'mpg' ')' 'from' 'cars_data' 'where' 'cylinders' '=' + 'value']","['What' 'is' 'the' 'average' 'miles' 'per' 'gallon' 'of' 'all' 'the' + 'cards' 'with' '4' 'cylinders' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +119,car_1,select min(weight) from cars_data where cylinders = 8 and year = 1974,What is the smallest weight of the car produced with 8 cylinders on 1974 ?,"['select' 'min' '(' 'weight' ')' 'from' 'cars_data' 'where' 'cylinders' + '=' '8' 'and' 'year' '=' '1974']","['select' 'min' '(' 'weight' ')' 'from' 'cars_data' 'where' 'cylinders' + '=' 'value' 'and' 'year' '=' 'value']","['What' 'is' 'the' 'smallest' 'weight' 'of' 'the' 'car' 'produced' 'with' + '8' 'cylinders' 'on' '1974' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +120,car_1,select min(weight) from cars_data where cylinders = 8 and year = 1974,What is the minimum weight of the car with 8 cylinders produced in 1974 ?,"['select' 'min' '(' 'weight' ')' 'from' 'cars_data' 'where' 'cylinders' + '=' '8' 'and' 'year' '=' '1974']","['select' 'min' '(' 'weight' ')' 'from' 'cars_data' 'where' 'cylinders' + '=' 'value' 'and' 'year' '=' 'value']","['What' 'is' 'the' 'minimum' 'weight' 'of' 'the' 'car' 'with' '8' + 'cylinders' 'produced' 'in' '1974' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +121,car_1,"SELECT Maker , Model FROM MODEL_LIST;",What are all the makers and models?,"['SELECT' 'Maker' ',' 'Model' 'FROM' 'MODEL_LIST' ';']","['select' 'maker' ',' 'model' 'from' 'model_list']",['What' 'are' 'all' 'the' 'makers' 'and' 'models' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +122,car_1,"SELECT Maker , Model FROM MODEL_LIST;",What are the makers and models?,"['SELECT' 'Maker' ',' 'Model' 'FROM' 'MODEL_LIST' ';']","['select' 'maker' ',' 'model' 'from' 'model_list']",['What' 'are' 'the' 'makers' 'and' 'models' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +123,car_1,"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;",What are the countries having at least one car maker? List name and id.,"['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' ';']","['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']","['What' 'are' 'the' 'countries' 'having' 'at' 'least' 'one' 'car' 'maker' + '?' 'List' 'name' 'and' 'id' '.']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +124,car_1,"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;",What are the names and ids of all countries with at least one car maker?,"['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' ';']","['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']","['What' 'are' 'the' 'names' 'and' 'ids' 'of' 'all' 'countries' 'with' 'at' + 'least' 'one' 'car' 'maker' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +125,car_1,SELECT count(*) FROM CARS_DATA WHERE horsepower > 150;,What is the number of the cars with horsepower more than 150?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'CARS_DATA' 'WHERE' 'horsepower' '>' + '150' ';']","['select' 'count' '(' '*' ')' 'from' 'cars_data' 'where' 'horsepower' '>' + 'value']","['What' 'is' 'the' 'number' 'of' 'the' 'cars' 'with' 'horsepower' 'more' + 'than' '150' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +126,car_1,SELECT count(*) FROM CARS_DATA WHERE horsepower > 150;,What is the number of cars with a horsepower greater than 150?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'CARS_DATA' 'WHERE' 'horsepower' '>' + '150' ';']","['select' 'count' '(' '*' ')' 'from' 'cars_data' 'where' 'horsepower' '>' + 'value']","['What' 'is' 'the' 'number' 'of' 'cars' 'with' 'a' 'horsepower' 'greater' + 'than' '150' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +127,car_1,"SELECT avg(Weight) , YEAR FROM CARS_DATA GROUP BY YEAR;",What is the average weight of cars each year?,"['SELECT' 'avg' '(' 'Weight' ')' ',' 'YEAR' 'FROM' 'CARS_DATA' 'GROUP' + 'BY' 'YEAR' ';']","['select' 'avg' '(' 'weight' ')' ',' 'year' 'from' 'cars_data' 'group' + 'by' 'year']",['What' 'is' 'the' 'average' 'weight' 'of' 'cars' 'each' 'year' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +128,car_1,"SELECT avg(Weight) , YEAR FROM CARS_DATA GROUP BY YEAR;",What is the average weight and year for each year?,"['SELECT' 'avg' '(' 'Weight' ')' ',' 'YEAR' 'FROM' 'CARS_DATA' 'GROUP' + 'BY' 'YEAR' ';']","['select' 'avg' '(' 'weight' ')' ',' 'year' 'from' 'cars_data' 'group' + 'by' 'year']",['What' 'is' 'the' 'average' 'weight' 'and' 'year' 'for' 'each' 'year' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +129,car_1,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;,Which countries in europe have at least 3 car manufacturers?,"['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' ';']","['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']","['Which' 'countries' 'in' 'europe' 'have' 'at' 'least' '3' 'car' + 'manufacturers' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +130,car_1,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;,What are the names of all European countries with at least 3 manufacturers?,"['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' ';']","['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']","['What' 'are' 'the' 'names' 'of' 'all' 'European' 'countries' 'with' 'at' + 'least' '3' 'manufacturers' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +131,car_1,"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;",What is the maximum horsepower and the make of the car models with 3 cylinders?,"['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' + ';']","['select' 't2' '.' 'horsepower' ',' 't1' '.' 'make' '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']","['What' 'is' 'the' 'maximum' 'horsepower' 'and' 'the' 'make' 'of' 'the' + 'car' 'models' 'with' '3' 'cylinders' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +132,car_1,"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;",What is the largest amount of horsepower for the models with 3 cylinders and what make is it?,"['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' + ';']","['select' 't2' '.' 'horsepower' ',' 't1' '.' 'make' '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']","['What' 'is' 'the' 'largest' 'amount' 'of' 'horsepower' 'for' 'the' + 'models' 'with' '3' 'cylinders' 'and' 'what' 'make' 'is' 'it' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +133,car_1,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;,"Which model saves the most gasoline? That is to say, have the maximum miles per gallon.","['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' ';']","['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']","['Which' 'model' 'saves' 'the' 'most' 'gasoline' '?' 'That' 'is' 'to' + 'say' ',' 'have' 'the' 'maximum' 'miles' 'per' 'gallon' '.']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +134,car_1,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;,What is the car model with the highest mpg ?,"['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' ';']","['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']",['What' 'is' 'the' 'car' 'model' 'with' 'the' 'highest' 'mpg' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +135,car_1,SELECT avg(horsepower) FROM CARS_DATA WHERE YEAR < 1980;,What is the average horsepower of the cars before 1980?,"['SELECT' 'avg' '(' 'horsepower' ')' 'FROM' 'CARS_DATA' 'WHERE' 'YEAR' '<' + '1980' ';']","['select' 'avg' '(' 'horsepower' ')' 'from' 'cars_data' 'where' 'year' '<' + 'value']","['What' 'is' 'the' 'average' 'horsepower' 'of' 'the' 'cars' 'before' + '1980' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +136,car_1,select avg(horsepower) from cars_data where year < 1980;,What is the average horsepower for all cars produced before 1980 ?,"['select' 'avg' '(' 'horsepower' ')' 'from' 'cars_data' 'where' 'year' '<' + '1980' ';']","['select' 'avg' '(' 'horsepower' ')' 'from' 'cars_data' 'where' 'year' '<' + 'value']","['What' 'is' 'the' 'average' 'horsepower' 'for' 'all' 'cars' 'produced' + 'before' '1980' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +137,car_1,SELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T1.Model = 'volvo';,What is the average edispl of the cars of model volvo?,"['SELECT' 'avg' '(' 'T2.edispl' ')' 'FROM' 'CAR_NAMES' 'AS' 'T1' 'JOIN' + 'CARS_DATA' 'AS' 'T2' 'ON' 'T1.MakeId' '=' 'T2.Id' 'WHERE' 'T1.Model' '=' + ""'volvo"" ""'"" ';']","['select' 'avg' '(' 't2' '.' 'edispl' ')' 'from' 'car_names' 'as' 't1' + 'join' 'cars_data' 'as' 't2' 'on' 't1' '.' 'makeid' '=' 't2' '.' 'id' + 'where' 't1' '.' 'model' '=' 'value']","['What' 'is' 'the' 'average' 'edispl' 'of' 'the' 'cars' 'of' 'model' + 'volvo' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +138,car_1,SELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T1.Model = 'volvo';,What is the average edispl for all volvos?,"['SELECT' 'avg' '(' 'T2.edispl' ')' 'FROM' 'CAR_NAMES' 'AS' 'T1' 'JOIN' + 'CARS_DATA' 'AS' 'T2' 'ON' 'T1.MakeId' '=' 'T2.Id' 'WHERE' 'T1.Model' '=' + ""'volvo"" ""'"" ';']","['select' 'avg' '(' 't2' '.' 'edispl' ')' 'from' 'car_names' 'as' 't1' + 'join' 'cars_data' 'as' 't2' 'on' 't1' '.' 'makeid' '=' 't2' '.' 'id' + 'where' 't1' '.' 'model' '=' 'value']",['What' 'is' 'the' 'average' 'edispl' 'for' 'all' 'volvos' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +139,car_1,"SELECT max(Accelerate) , Cylinders FROM CARS_DATA GROUP BY Cylinders;",What is the maximum accelerate for different number of cylinders?,"['SELECT' 'max' '(' 'Accelerate' ')' ',' 'Cylinders' 'FROM' 'CARS_DATA' + 'GROUP' 'BY' 'Cylinders' ';']","['select' 'max' '(' 'accelerate' ')' ',' 'cylinders' 'from' 'cars_data' + 'group' 'by' 'cylinders']","['What' 'is' 'the' 'maximum' 'accelerate' 'for' 'different' 'number' 'of' + 'cylinders' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +140,car_1,"SELECT max(Accelerate) , Cylinders FROM CARS_DATA GROUP BY Cylinders;",What is the maximum accelerate for all the different cylinders?,"['SELECT' 'max' '(' 'Accelerate' ')' ',' 'Cylinders' 'FROM' 'CARS_DATA' + 'GROUP' 'BY' 'Cylinders' ';']","['select' 'max' '(' 'accelerate' ')' ',' 'cylinders' 'from' 'cars_data' + 'group' 'by' 'cylinders']","['What' 'is' 'the' 'maximum' 'accelerate' 'for' 'all' 'the' 'different' + 'cylinders' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +141,car_1,SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;,Which model has the most version(make) of cars?,"['SELECT' 'Model' 'FROM' 'CAR_NAMES' 'GROUP' 'BY' 'Model' 'ORDER' 'BY' + 'count' '(' '*' ')' 'DESC' 'LIMIT' '1' ';']","['select' 'model' 'from' 'car_names' 'group' 'by' 'model' 'order' 'by' + 'count' '(' '*' ')' 'desc' 'limit' 'value']","['Which' 'model' 'has' 'the' 'most' 'version' '(' 'make' ')' 'of' 'cars' + '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +142,car_1,SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;,What model has the most different versions?,"['SELECT' 'Model' 'FROM' 'CAR_NAMES' 'GROUP' 'BY' 'Model' 'ORDER' 'BY' + 'count' '(' '*' ')' 'DESC' 'LIMIT' '1' ';']","['select' 'model' 'from' 'car_names' 'group' 'by' 'model' 'order' 'by' + 'count' '(' '*' ')' 'desc' 'limit' 'value']",['What' 'model' 'has' 'the' 'most' 'different' 'versions' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +143,car_1,SELECT count(*) FROM CARS_DATA WHERE Cylinders > 4;,How many cars have more than 4 cylinders?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'CARS_DATA' 'WHERE' 'Cylinders' '>' + '4' ';']","['select' 'count' '(' '*' ')' 'from' 'cars_data' 'where' 'cylinders' '>' + 'value']",['How' 'many' 'cars' 'have' 'more' 'than' '4' 'cylinders' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +144,car_1,SELECT count(*) FROM CARS_DATA WHERE Cylinders > 4;,What is the number of cars with more than 4 cylinders?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'CARS_DATA' 'WHERE' 'Cylinders' '>' + '4' ';']","['select' 'count' '(' '*' ')' 'from' 'cars_data' 'where' 'cylinders' '>' + 'value']","['What' 'is' 'the' 'number' 'of' 'cars' 'with' 'more' 'than' '4' + 'cylinders' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +145,car_1,SELECT count(*) FROM CARS_DATA WHERE YEAR = 1980;,how many cars were produced in 1980?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'CARS_DATA' 'WHERE' 'YEAR' '=' '1980' + ';']","['select' 'count' '(' '*' ')' 'from' 'cars_data' 'where' 'year' '=' + 'value']",['how' 'many' 'cars' 'were' 'produced' 'in' '1980' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +146,car_1,SELECT count(*) FROM CARS_DATA WHERE YEAR = 1980;,"In 1980, how many cars were made?","['SELECT' 'count' '(' '*' ')' 'FROM' 'CARS_DATA' 'WHERE' 'YEAR' '=' '1980' + ';']","['select' 'count' '(' '*' ')' 'from' 'cars_data' 'where' 'year' '=' + 'value']","['In' '1980' ',' 'how' 'many' 'cars' 'were' 'made' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +147,car_1,SELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker WHERE T1.FullName = 'American Motor Company';,How many car models were produced by the maker with full name American Motor Company?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'CAR_MAKERS' 'AS' 'T1' 'JOIN' + 'MODEL_LIST' 'AS' 'T2' 'ON' 'T1.Id' '=' 'T2.Maker' 'WHERE' 'T1.FullName' + '=' ""'American"" 'Motor' 'Company' ""'"" ';']","['select' 'count' '(' '*' ')' 'from' 'car_makers' 'as' 't1' 'join' + 'model_list' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'maker' 'where' + 't1' '.' 'fullname' '=' 'value']","['How' 'many' 'car' 'models' 'were' 'produced' 'by' 'the' 'maker' 'with' + 'full' 'name' 'American' 'Motor' 'Company' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +148,car_1,SELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker WHERE T1.FullName = 'American Motor Company';,What is the number of car models created by the car maker American Motor Company?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'CAR_MAKERS' 'AS' 'T1' 'JOIN' + 'MODEL_LIST' 'AS' 'T2' 'ON' 'T1.Id' '=' 'T2.Maker' 'WHERE' 'T1.FullName' + '=' ""'American"" 'Motor' 'Company' ""'"" ';']","['select' 'count' '(' '*' ')' 'from' 'car_makers' 'as' 't1' 'join' + 'model_list' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'maker' 'where' + 't1' '.' 'fullname' '=' 'value']","['What' 'is' 'the' 'number' 'of' 'car' 'models' 'created' 'by' 'the' 'car' + 'maker' 'American' 'Motor' 'Company' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +149,car_1,"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;",Which makers designed more than 3 car models? List full name and the id.,"['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' ';']","['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']","['Which' 'makers' 'designed' 'more' 'than' '3' 'car' 'models' '?' 'List' + 'full' 'name' 'and' 'the' 'id' '.']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +150,car_1,"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;",What are the names and ids of all makers with more than 3 models?,"['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' ';']","['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']","['What' 'are' 'the' 'names' 'and' 'ids' 'of' 'all' 'makers' 'with' 'more' + 'than' '3' 'models' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +151,car_1,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;,Which distinctive models are produced by maker with the full name General Motors or weighing more than 3500?,"['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' ';']","['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']","['Which' 'distinctive' 'models' 'are' 'produced' 'by' 'maker' 'with' 'the' + 'full' 'name' 'General' 'Motors' 'or' 'weighing' 'more' 'than' '3500' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +152,car_1,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;,What are the different models created by either the car maker General Motors or weighed more than 3500?,"['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' ';']","['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']","['What' 'are' 'the' 'different' 'models' 'created' 'by' 'either' 'the' + 'car' 'maker' 'General' 'Motors' 'or' 'weighed' 'more' 'than' '3500' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +153,car_1,select distinct year from cars_data where weight between 3000 and 4000;,In which years cars were produced weighing no less than 3000 and no more than 4000 ?,"['select' 'distinct' 'year' 'from' 'cars_data' 'where' 'weight' 'between' + '3000' 'and' '4000' ';']","['select' 'distinct' 'year' 'from' 'cars_data' 'where' 'weight' 'between' + 'value' 'and' 'value']","['In' 'which' 'years' 'cars' 'were' 'produced' 'weighing' 'no' 'less' + 'than' '3000' 'and' 'no' 'more' 'than' '4000' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +154,car_1,select distinct year from cars_data where weight between 3000 and 4000;,What are the different years in which there were cars produced that weighed less than 4000 and also cars that weighted more than 3000 ?,"['select' 'distinct' 'year' 'from' 'cars_data' 'where' 'weight' 'between' + '3000' 'and' '4000' ';']","['select' 'distinct' 'year' 'from' 'cars_data' 'where' 'weight' 'between' + 'value' 'and' 'value']","['What' 'are' 'the' 'different' 'years' 'in' 'which' 'there' 'were' 'cars' + 'produced' 'that' 'weighed' 'less' 'than' '4000' 'and' 'also' 'cars' + 'that' 'weighted' 'more' 'than' '3000' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +155,car_1,SELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1;,What is the horsepower of the car with the largest accelerate?,"['SELECT' 'T1.horsepower' 'FROM' 'CARS_DATA' 'AS' 'T1' 'ORDER' 'BY' + 'T1.accelerate' 'DESC' 'LIMIT' '1' ';']","['select' 't1' '.' 'horsepower' 'from' 'cars_data' 'as' 't1' 'order' 'by' + 't1' '.' 'accelerate' 'desc' 'limit' 'value']","['What' 'is' 'the' 'horsepower' 'of' 'the' 'car' 'with' 'the' 'largest' + 'accelerate' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +156,car_1,SELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1;,What is the horsepower of the car with the greatest accelerate?,"['SELECT' 'T1.horsepower' 'FROM' 'CARS_DATA' 'AS' 'T1' 'ORDER' 'BY' + 'T1.accelerate' 'DESC' 'LIMIT' '1' ';']","['select' 't1' '.' 'horsepower' 'from' 'cars_data' 'as' 't1' 'order' 'by' + 't1' '.' 'accelerate' 'desc' 'limit' 'value']","['What' 'is' 'the' 'horsepower' 'of' 'the' 'car' 'with' 'the' 'greatest' + 'accelerate' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +157,car_1,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;,"For model volvo, how many cylinders does the car with the least accelerate have?","['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' ';']","['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']","['For' 'model' 'volvo' ',' 'how' 'many' 'cylinders' 'does' 'the' 'car' + 'with' 'the' 'least' 'accelerate' 'have' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +158,car_1,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;,"For a volvo model, how many cylinders does the version with least accelerate have?","['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' ';']","['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']","['For' 'a' 'volvo' 'model' ',' 'how' 'many' 'cylinders' 'does' 'the' + 'version' 'with' 'least' 'accelerate' 'have' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +159,car_1,SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > ( SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1 );,How many cars have a larger accelerate than the car with the largest horsepower?,"['SELECT' 'COUNT' '(' '*' ')' 'FROM' 'CARS_DATA' 'WHERE' 'Accelerate' '>' + '(' 'SELECT' 'Accelerate' 'FROM' 'CARS_DATA' 'ORDER' 'BY' 'Horsepower' + 'DESC' 'LIMIT' '1' ')' ';']","['select' 'count' '(' '*' ')' 'from' 'cars_data' 'where' 'accelerate' '>' + '(' 'select' 'accelerate' 'from' 'cars_data' 'order' 'by' 'horsepower' + 'desc' 'limit' 'value' ')']","['How' 'many' 'cars' 'have' 'a' 'larger' 'accelerate' 'than' 'the' 'car' + 'with' 'the' 'largest' 'horsepower' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +160,car_1,SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > ( SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1 );,What is the number of cars with a greater accelerate than the one with the most horsepower?,"['SELECT' 'COUNT' '(' '*' ')' 'FROM' 'CARS_DATA' 'WHERE' 'Accelerate' '>' + '(' 'SELECT' 'Accelerate' 'FROM' 'CARS_DATA' 'ORDER' 'BY' 'Horsepower' + 'DESC' 'LIMIT' '1' ')' ';']","['select' 'count' '(' '*' ')' 'from' 'cars_data' 'where' 'accelerate' '>' + '(' 'select' 'accelerate' 'from' 'cars_data' 'order' 'by' 'horsepower' + 'desc' 'limit' 'value' ')']","['What' 'is' 'the' 'number' 'of' 'cars' 'with' 'a' 'greater' 'accelerate' + 'than' 'the' 'one' 'with' 'the' 'most' 'horsepower' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +161,car_1,select count(*) from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 2,How many countries has more than 2 car makers ?,"['select' 'count' '(' '*' ')' 'from' 'countries' 'as' 't1' 'join' + 'car_makers' 'as' 't2' 'on' 't1.countryid' '=' 't2.country' 'group' 'by' + 't1.countryid' 'having' 'count' '(' '*' ')' '>' '2']","['select' 'count' '(' '*' ')' 'from' 'countries' 'as' 't1' 'join' + 'car_makers' 'as' 't2' 'on' 't1' '.' 'countryid' '=' 't2' '.' 'country' + 'group' 'by' 't1' '.' 'countryid' 'having' 'count' '(' '*' ')' '>' + 'value']",['How' 'many' 'countries' 'has' 'more' 'than' '2' 'car' 'makers' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +162,car_1,select count(*) from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 2,What is the number of countries with more than 2 car makers ?,"['select' 'count' '(' '*' ')' 'from' 'countries' 'as' 't1' 'join' + 'car_makers' 'as' 't2' 'on' 't1.countryid' '=' 't2.country' 'group' 'by' + 't1.countryid' 'having' 'count' '(' '*' ')' '>' '2']","['select' 'count' '(' '*' ')' 'from' 'countries' 'as' 't1' 'join' + 'car_makers' 'as' 't2' 'on' 't1' '.' 'countryid' '=' 't2' '.' 'country' + 'group' 'by' 't1' '.' 'countryid' 'having' 'count' '(' '*' ')' '>' + 'value']","['What' 'is' 'the' 'number' 'of' 'countries' 'with' 'more' 'than' '2' + 'car' 'makers' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +163,car_1,SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 6;,How many cars has over 6 cylinders?,"['SELECT' 'COUNT' '(' '*' ')' 'FROM' 'CARS_DATA' 'WHERE' 'Cylinders' '>' + '6' ';']","['select' 'count' '(' '*' ')' 'from' 'cars_data' 'where' 'cylinders' '>' + 'value']",['How' 'many' 'cars' 'has' 'over' '6' 'cylinders' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +164,car_1,SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 6;,What is the number of carsw ith over 6 cylinders?,"['SELECT' 'COUNT' '(' '*' ')' 'FROM' 'CARS_DATA' 'WHERE' 'Cylinders' '>' + '6' ';']","['select' 'count' '(' '*' ')' 'from' 'cars_data' 'where' 'cylinders' '>' + 'value']",['What' 'is' 'the' 'number' 'of' 'carsw' 'ith' 'over' '6' 'cylinders' '?'],"['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +165,car_1,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;,"For the cars with 4 cylinders, which model has the largest horsepower?","['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' ';']","['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']","['For' 'the' 'cars' 'with' '4' 'cylinders' ',' 'which' 'model' 'has' 'the' + 'largest' 'horsepower' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +166,car_1,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;,"For all of the 4 cylinder cars, which model has the most horsepower?","['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' ';']","['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']","['For' 'all' 'of' 'the' '4' 'cylinder' 'cars' ',' 'which' 'model' 'has' + 'the' 'most' 'horsepower' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +167,car_1,"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;","Among the cars with more than lowest horsepower, which ones do not have more than 3 cylinders? List the car makeid and make name.","['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' ';']","['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' '<' + '=' 'value']","['Among' 'the' 'cars' 'with' 'more' 'than' 'lowest' 'horsepower' ',' + 'which' 'ones' 'do' 'not' 'have' 'more' 'than' '3' 'cylinders' '?' 'List' + 'the' 'car' 'makeid' 'and' 'make' 'name' '.']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +168,car_1,"select t2.makeid , t2.make from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t1.horsepower > (select min(horsepower) from cars_data) and t1.cylinders < 4;","Among the cars that do not have the minimum horsepower , what are the make ids and names of all those with less than 4 cylinders ?","['select' 't2.makeid' ',' 't2.make' 'from' 'cars_data' 'as' 't1' 'join' + 'car_names' 'as' 't2' 'on' 't1.id' '=' 't2.makeid' 'where' + 't1.horsepower' '>' '(' 'select' 'min' '(' 'horsepower' ')' 'from' + 'cars_data' ')' 'and' 't1.cylinders' '<' '4' ';']","['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' '<' + 'value']","['Among' 'the' 'cars' 'that' 'do' 'not' 'have' 'the' 'minimum' + 'horsepower' ',' 'what' 'are' 'the' 'make' 'ids' 'and' 'names' 'of' 'all' + 'those' 'with' 'less' 'than' '4' 'cylinders' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +169,car_1,select max(mpg) from cars_data where cylinders = 8 or year < 1980,What is the maximum miles per gallon of the car with 8 cylinders or produced before 1980 ?,"['select' 'max' '(' 'mpg' ')' 'from' 'cars_data' 'where' 'cylinders' '=' + '8' 'or' 'year' '<' '1980']","['select' 'max' '(' 'mpg' ')' 'from' 'cars_data' 'where' 'cylinders' '=' + 'value' 'or' 'year' '<' 'value']","['What' 'is' 'the' 'maximum' 'miles' 'per' 'gallon' 'of' 'the' 'car' + 'with' '8' 'cylinders' 'or' 'produced' 'before' '1980' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +170,car_1,select max(mpg) from cars_data where cylinders = 8 or year < 1980,What is the maximum mpg of the cars that had 8 cylinders or that were produced before 1980 ?,"['select' 'max' '(' 'mpg' ')' 'from' 'cars_data' 'where' 'cylinders' '=' + '8' 'or' 'year' '<' '1980']","['select' 'max' '(' 'mpg' ')' 'from' 'cars_data' 'where' 'cylinders' '=' + 'value' 'or' 'year' '<' 'value']","['What' 'is' 'the' 'maximum' 'mpg' 'of' 'the' 'cars' 'that' 'had' '8' + 'cylinders' 'or' 'that' 'were' 'produced' 'before' '1980' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +171,car_1,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';,Which models are lighter than 3500 but not built by the 'Ford Motor Company'?,"['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' ""'"" ';']","['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']","['Which' 'models' 'are' 'lighter' 'than' '3500' 'but' 'not' 'built' 'by' + 'the' ""'Ford"" 'Motor' 'Company' ""'"" '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +172,car_1,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';,What are the different models wthat are lighter than 3500 but were not built by the Ford Motor Company?,"['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' ""'"" ';']","['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']","['What' 'are' 'the' 'different' 'models' 'wthat' 'are' 'lighter' 'than' + '3500' 'but' 'were' 'not' 'built' 'by' 'the' 'Ford' 'Motor' 'Company' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +173,car_1,SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country;,What are the name of the countries where there is not a single car maker?,"['SELECT' 'CountryName' 'FROM' 'countries' 'EXCEPT' 'SELECT' + 'T1.CountryName' 'FROM' 'countries' 'AS' 'T1' 'JOIN' 'CAR_MAKERS' 'AS' + 'T2' 'ON' 'T1.countryId' '=' 'T2.Country' ';']","['select' 'countryname' 'from' 'countries' 'except' 'select' 't1' '.' + 'countryname' 'from' 'countries' 'as' 't1' 'join' 'car_makers' 'as' 't2' + 'on' 't1' '.' 'countryid' '=' 't2' '.' 'country']","['What' 'are' 'the' 'name' 'of' 'the' 'countries' 'where' 'there' 'is' + 'not' 'a' 'single' 'car' 'maker' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +174,car_1,SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country;,What are the names of the countries with no car makers?,"['SELECT' 'CountryName' 'FROM' 'countries' 'EXCEPT' 'SELECT' + 'T1.CountryName' 'FROM' 'countries' 'AS' 'T1' 'JOIN' 'CAR_MAKERS' 'AS' + 'T2' 'ON' 'T1.countryId' '=' 'T2.Country' ';']","['select' 'countryname' 'from' 'countries' 'except' 'select' 't1' '.' + 'countryname' 'from' 'countries' 'as' 't1' 'join' 'car_makers' 'as' 't2' + 'on' 't1' '.' 'countryid' '=' 't2' '.' 'country']","['What' 'are' 'the' 'names' 'of' 'the' 'countries' 'with' 'no' 'car' + 'makers' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +175,car_1,"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;",Which are the car makers which produce at least 2 models and more than 3 car makers ? List the id and the maker .,"['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' + ';']","['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' '(' '*' ')' '>' '=' 'value' + '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' '(' '*' + ')' '>' 'value']","['Which' 'are' 'the' 'car' 'makers' 'which' 'produce' 'at' 'least' '2' + 'models' 'and' 'more' 'than' '3' 'car' 'makers' '?' 'List' 'the' 'id' + 'and' 'the' 'maker' '.']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +176,car_1,"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;",What are the ids and makers of all car makers that produce at least 2 models and make more than 3 cars?,"['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' + ';']","['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' '(' '*' ')' '>' '=' 'value' + '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' '(' '*' + ')' '>' 'value']","['What' 'are' 'the' 'ids' 'and' 'makers' 'of' 'all' 'car' 'makers' 'that' + 'produce' 'at' 'least' '2' 'models' 'and' 'make' 'more' 'than' '3' 'cars' + '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +177,car_1,"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';",What are the id and names of the countries which have more than 3 car makers or produce the 'fiat' model?,"['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"" ""'"" ';']","['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']","['What' 'are' 'the' 'id' 'and' 'names' 'of' 'the' 'countries' 'which' + 'have' 'more' 'than' '3' 'car' 'makers' 'or' 'produce' 'the' ""'fiat"" ""'"" + 'model' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +178,car_1,"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';",What are the ids and names of all countries that either have more than 3 car makers or produce fiat model ?,"['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""' ';']","['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']","['What' 'are' 'the' 'ids' 'and' 'names' 'of' 'all' 'countries' 'that' + 'either' 'have' 'more' 'than' '3' 'car' 'makers' 'or' 'produce' 'fiat' + 'model' '?']","['cont id', 'continent', 'country id', 'country name', 'continent', 'id', 'maker', 'full name', 'country', 'model id', 'maker', 'model', 'make id', 'model', 'make', 'id', 'mpg', 'cylinders', 'edispl', 'horsepower', 'weight', 'accelerate', 'year']" +179,flight_2,"SELECT Country FROM AIRLINES WHERE Airline = ""JetBlue Airways""","Which country does Airline ""JetBlue Airways"" belong to?","['SELECT' 'Country' 'FROM' 'AIRLINES' 'WHERE' 'Airline' '=' '``' 'JetBlue' + 'Airways' ""''""]",['select' 'country' 'from' 'airlines' 'where' 'airline' '=' 'value'],"['Which' 'country' 'does' 'Airline' '``' 'JetBlue' 'Airways' ""''"" 'belong' + 'to' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +180,flight_2,"SELECT Country FROM AIRLINES WHERE Airline = ""JetBlue Airways""",What country is Jetblue Airways affiliated with?,"['SELECT' 'Country' 'FROM' 'AIRLINES' 'WHERE' 'Airline' '=' '``' 'JetBlue' + 'Airways' ""''""]",['select' 'country' 'from' 'airlines' 'where' 'airline' '=' 'value'],['What' 'country' 'is' 'Jetblue' 'Airways' 'affiliated' 'with' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +181,flight_2,"SELECT Abbreviation FROM AIRLINES WHERE Airline = ""JetBlue Airways""","What is the abbreviation of Airline ""JetBlue Airways""?","['SELECT' 'Abbreviation' 'FROM' 'AIRLINES' 'WHERE' 'Airline' '=' '``' + 'JetBlue' 'Airways' ""''""]",['select' 'abbreviation' 'from' 'airlines' 'where' 'airline' '=' 'value'],"['What' 'is' 'the' 'abbreviation' 'of' 'Airline' '``' 'JetBlue' 'Airways' + ""''"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +182,flight_2,"SELECT Abbreviation FROM AIRLINES WHERE Airline = ""JetBlue Airways""",Which abbreviation corresponds to Jetblue Airways?,"['SELECT' 'Abbreviation' 'FROM' 'AIRLINES' 'WHERE' 'Airline' '=' '``' + 'JetBlue' 'Airways' ""''""]",['select' 'abbreviation' 'from' 'airlines' 'where' 'airline' '=' 'value'],['Which' 'abbreviation' 'corresponds' 'to' 'Jetblue' 'Airways' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +183,flight_2,"SELECT Airline , Abbreviation FROM AIRLINES WHERE Country = ""USA""","List all airline names and their abbreviations in ""USA"".","['SELECT' 'Airline' ',' 'Abbreviation' 'FROM' 'AIRLINES' 'WHERE' 'Country' + '=' '``' 'USA' ""''""]","['select' 'airline' ',' 'abbreviation' 'from' 'airlines' 'where' 'country' + '=' 'value']","['List' 'all' 'airline' 'names' 'and' 'their' 'abbreviations' 'in' '``' + 'USA' ""''"" '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +184,flight_2,"SELECT Airline , Abbreviation FROM AIRLINES WHERE Country = ""USA""",What are the airline names and abbreviations for airlines in the USA?,"['SELECT' 'Airline' ',' 'Abbreviation' 'FROM' 'AIRLINES' 'WHERE' 'Country' + '=' '``' 'USA' ""''""]","['select' 'airline' ',' 'abbreviation' 'from' 'airlines' 'where' 'country' + '=' 'value']","['What' 'are' 'the' 'airline' 'names' 'and' 'abbreviations' 'for' + 'airlines' 'in' 'the' 'USA' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +185,flight_2,"SELECT AirportCode , AirportName FROM AIRPORTS WHERE city = ""Anthony""",List the airport code and name in the city of Anthony.,"['SELECT' 'AirportCode' ',' 'AirportName' 'FROM' 'AIRPORTS' 'WHERE' 'city' + '=' '``' 'Anthony' ""''""]","['select' 'airportcode' ',' 'airportname' 'from' 'airports' 'where' 'city' + '=' 'value']","['List' 'the' 'airport' 'code' 'and' 'name' 'in' 'the' 'city' 'of' + 'Anthony' '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +186,flight_2,"SELECT AirportCode , AirportName FROM AIRPORTS WHERE city = ""Anthony""",Give the airport code and airport name corresonding to the city Anthony.,"['SELECT' 'AirportCode' ',' 'AirportName' 'FROM' 'AIRPORTS' 'WHERE' 'city' + '=' '``' 'Anthony' ""''""]","['select' 'airportcode' ',' 'airportname' 'from' 'airports' 'where' 'city' + '=' 'value']","['Give' 'the' 'airport' 'code' 'and' 'airport' 'name' 'corresonding' 'to' + 'the' 'city' 'Anthony' '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +187,flight_2,SELECT count(*) FROM AIRLINES,How many airlines do we have?,['SELECT' 'count' '(' '*' ')' 'FROM' 'AIRLINES'],['select' 'count' '(' '*' ')' 'from' 'airlines'],['How' 'many' 'airlines' 'do' 'we' 'have' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +188,flight_2,SELECT count(*) FROM AIRLINES,What is the total number of airlines?,['SELECT' 'count' '(' '*' ')' 'FROM' 'AIRLINES'],['select' 'count' '(' '*' ')' 'from' 'airlines'],['What' 'is' 'the' 'total' 'number' 'of' 'airlines' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +189,flight_2,SELECT count(*) FROM AIRPORTS,How many airports do we have?,['SELECT' 'count' '(' '*' ')' 'FROM' 'AIRPORTS'],['select' 'count' '(' '*' ')' 'from' 'airports'],['How' 'many' 'airports' 'do' 'we' 'have' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +190,flight_2,SELECT count(*) FROM AIRPORTS,Return the number of airports.,['SELECT' 'count' '(' '*' ')' 'FROM' 'AIRPORTS'],['select' 'count' '(' '*' ')' 'from' 'airports'],['Return' 'the' 'number' 'of' 'airports' '.'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +191,flight_2,SELECT count(*) FROM FLIGHTS,How many flights do we have?,['SELECT' 'count' '(' '*' ')' 'FROM' 'FLIGHTS'],['select' 'count' '(' '*' ')' 'from' 'flights'],['How' 'many' 'flights' 'do' 'we' 'have' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +192,flight_2,SELECT count(*) FROM FLIGHTS,Return the number of flights.,['SELECT' 'count' '(' '*' ')' 'FROM' 'FLIGHTS'],['select' 'count' '(' '*' ')' 'from' 'flights'],['Return' 'the' 'number' 'of' 'flights' '.'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +193,flight_2,"SELECT Airline FROM AIRLINES WHERE Abbreviation = ""UAL""",Which airline has abbreviation 'UAL'?,"['SELECT' 'Airline' 'FROM' 'AIRLINES' 'WHERE' 'Abbreviation' '=' '``' + 'UAL' ""''""]",['select' 'airline' 'from' 'airlines' 'where' 'abbreviation' '=' 'value'],"['Which' 'airline' 'has' 'abbreviation' ""'UAL"" ""'"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +194,flight_2,"SELECT Airline FROM AIRLINES WHERE Abbreviation = ""UAL""",Give the airline with abbreviation 'UAL'.,"['SELECT' 'Airline' 'FROM' 'AIRLINES' 'WHERE' 'Abbreviation' '=' '``' + 'UAL' ""''""]",['select' 'airline' 'from' 'airlines' 'where' 'abbreviation' '=' 'value'],"['Give' 'the' 'airline' 'with' 'abbreviation' ""'UAL"" ""'"" '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +195,flight_2,"SELECT count(*) FROM AIRLINES WHERE Country = ""USA""",How many airlines are from USA?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'AIRLINES' 'WHERE' 'Country' '=' '``' + 'USA' ""''""]","['select' 'count' '(' '*' ')' 'from' 'airlines' 'where' 'country' '=' + 'value']",['How' 'many' 'airlines' 'are' 'from' 'USA' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +196,flight_2,"SELECT count(*) FROM AIRLINES WHERE Country = ""USA""",Return the number of airlines in the USA.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'AIRLINES' 'WHERE' 'Country' '=' '``' + 'USA' ""''""]","['select' 'count' '(' '*' ')' 'from' 'airlines' 'where' 'country' '=' + 'value']",['Return' 'the' 'number' 'of' 'airlines' 'in' 'the' 'USA' '.'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +197,flight_2,"SELECT City , Country FROM AIRPORTS WHERE AirportName = ""Alton""",Which city and country is the Alton airport at?,"['SELECT' 'City' ',' 'Country' 'FROM' 'AIRPORTS' 'WHERE' 'AirportName' '=' + '``' 'Alton' ""''""]","['select' 'city' ',' 'country' 'from' 'airports' 'where' 'airportname' '=' + 'value']",['Which' 'city' 'and' 'country' 'is' 'the' 'Alton' 'airport' 'at' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +198,flight_2,"SELECT City , Country FROM AIRPORTS WHERE AirportName = ""Alton""",Give the city and country for the Alton airport.,"['SELECT' 'City' ',' 'Country' 'FROM' 'AIRPORTS' 'WHERE' 'AirportName' '=' + '``' 'Alton' ""''""]","['select' 'city' ',' 'country' 'from' 'airports' 'where' 'airportname' '=' + 'value']",['Give' 'the' 'city' 'and' 'country' 'for' 'the' 'Alton' 'airport' '.'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +199,flight_2,"SELECT AirportName FROM AIRPORTS WHERE AirportCode = ""AKO""",What is the airport name for airport 'AKO'?,"['SELECT' 'AirportName' 'FROM' 'AIRPORTS' 'WHERE' 'AirportCode' '=' '``' + 'AKO' ""''""]","['select' 'airportname' 'from' 'airports' 'where' 'airportcode' '=' + 'value']","['What' 'is' 'the' 'airport' 'name' 'for' 'airport' ""'AKO"" ""'"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +200,flight_2,"SELECT AirportName FROM AIRPORTS WHERE AirportCode = ""AKO""",Return the name of the airport with code 'AKO'.,"['SELECT' 'AirportName' 'FROM' 'AIRPORTS' 'WHERE' 'AirportCode' '=' '``' + 'AKO' ""''""]","['select' 'airportname' 'from' 'airports' 'where' 'airportcode' '=' + 'value']","['Return' 'the' 'name' 'of' 'the' 'airport' 'with' 'code' ""'AKO"" ""'"" '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +201,flight_2,"SELECT AirportName FROM AIRPORTS WHERE City = ""Aberdeen""",What are airport names at City 'Aberdeen'?,"['SELECT' 'AirportName' 'FROM' 'AIRPORTS' 'WHERE' 'City' '=' '``' + 'Aberdeen' ""''""]",['select' 'airportname' 'from' 'airports' 'where' 'city' '=' 'value'],"['What' 'are' 'airport' 'names' 'at' 'City' ""'Aberdeen"" ""'"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +202,flight_2,"SELECT AirportName FROM AIRPORTS WHERE City = ""Aberdeen""",What are the names of airports in Aberdeen?,"['SELECT' 'AirportName' 'FROM' 'AIRPORTS' 'WHERE' 'City' '=' '``' + 'Aberdeen' ""''""]",['select' 'airportname' 'from' 'airports' 'where' 'city' '=' 'value'],['What' 'are' 'the' 'names' 'of' 'airports' 'in' 'Aberdeen' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +203,flight_2,"SELECT count(*) FROM FLIGHTS WHERE SourceAirport = ""APG""",How many flights depart from 'APG'?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'FLIGHTS' 'WHERE' 'SourceAirport' '=' + '``' 'APG' ""''""]","['select' 'count' '(' '*' ')' 'from' 'flights' 'where' 'sourceairport' '=' + 'value']","['How' 'many' 'flights' 'depart' 'from' ""'APG"" ""'"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +204,flight_2,"SELECT count(*) FROM FLIGHTS WHERE SourceAirport = ""APG""",Count the number of flights departing from 'APG'.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'FLIGHTS' 'WHERE' 'SourceAirport' '=' + '``' 'APG' ""''""]","['select' 'count' '(' '*' ')' 'from' 'flights' 'where' 'sourceairport' '=' + 'value']","['Count' 'the' 'number' 'of' 'flights' 'departing' 'from' ""'APG"" ""'"" '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +205,flight_2,"SELECT count(*) FROM FLIGHTS WHERE DestAirport = ""ATO""",How many flights have destination ATO?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'FLIGHTS' 'WHERE' 'DestAirport' '=' + '``' 'ATO' ""''""]","['select' 'count' '(' '*' ')' 'from' 'flights' 'where' 'destairport' '=' + 'value']",['How' 'many' 'flights' 'have' 'destination' 'ATO' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +206,flight_2,"SELECT count(*) FROM FLIGHTS WHERE DestAirport = ""ATO""",Count the number of flights into ATO.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'FLIGHTS' 'WHERE' 'DestAirport' '=' + '``' 'ATO' ""''""]","['select' 'count' '(' '*' ')' 'from' 'flights' 'where' 'destairport' '=' + 'value']",['Count' 'the' 'number' 'of' 'flights' 'into' 'ATO' '.'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +207,flight_2,"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = ""Aberdeen""",How many flights depart from City Aberdeen?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'FLIGHTS' 'AS' 'T1' 'JOIN' 'AIRPORTS' + 'AS' 'T2' 'ON' 'T1.SourceAirport' '=' 'T2.AirportCode' 'WHERE' 'T2.City' + '=' '``' 'Aberdeen' ""''""]","['select' 'count' '(' '*' ')' 'from' 'flights' 'as' 't1' 'join' 'airports' + 'as' 't2' 'on' 't1' '.' 'sourceairport' '=' 't2' '.' 'airportcode' + 'where' 't2' '.' 'city' '=' 'value']",['How' 'many' 'flights' 'depart' 'from' 'City' 'Aberdeen' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +208,flight_2,"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = ""Aberdeen""",Return the number of flights departing from Aberdeen.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'FLIGHTS' 'AS' 'T1' 'JOIN' 'AIRPORTS' + 'AS' 'T2' 'ON' 'T1.SourceAirport' '=' 'T2.AirportCode' 'WHERE' 'T2.City' + '=' '``' 'Aberdeen' ""''""]","['select' 'count' '(' '*' ')' 'from' 'flights' 'as' 't1' 'join' 'airports' + 'as' 't2' 'on' 't1' '.' 'sourceairport' '=' 't2' '.' 'airportcode' + 'where' 't2' '.' 'city' '=' 'value']",['Return' 'the' 'number' 'of' 'flights' 'departing' 'from' 'Aberdeen' '.'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +209,flight_2,"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = ""Aberdeen""",How many flights arriving in Aberdeen city?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'FLIGHTS' 'AS' 'T1' 'JOIN' 'AIRPORTS' + 'AS' 'T2' 'ON' 'T1.DestAirport' '=' 'T2.AirportCode' 'WHERE' 'T2.City' + '=' '``' 'Aberdeen' ""''""]","['select' 'count' '(' '*' ')' 'from' 'flights' 'as' 't1' 'join' 'airports' + 'as' 't2' 'on' 't1' '.' 'destairport' '=' 't2' '.' 'airportcode' 'where' + 't2' '.' 'city' '=' 'value']",['How' 'many' 'flights' 'arriving' 'in' 'Aberdeen' 'city' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +210,flight_2,"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = ""Aberdeen""",Return the number of flights arriving in Aberdeen.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'FLIGHTS' 'AS' 'T1' 'JOIN' 'AIRPORTS' + 'AS' 'T2' 'ON' 'T1.DestAirport' '=' 'T2.AirportCode' 'WHERE' 'T2.City' + '=' '``' 'Aberdeen' ""''""]","['select' 'count' '(' '*' ')' 'from' 'flights' 'as' 't1' 'join' 'airports' + 'as' 't2' 'on' 't1' '.' 'destairport' '=' 't2' '.' 'airportcode' 'where' + 't2' '.' 'city' '=' 'value']",['Return' 'the' 'number' 'of' 'flights' 'arriving' 'in' 'Aberdeen' '.'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +211,flight_2,"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""",How many flights depart from City 'Aberdeen' and have destination City 'Ashley'?,"['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' ""''""]","['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']","['How' 'many' 'flights' 'depart' 'from' 'City' ""'Aberdeen"" ""'"" 'and' + 'have' 'destination' 'City' ""'Ashley"" ""'"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +212,flight_2,"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""",How many flights fly from Aberdeen to Ashley?,"['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' ""''""]","['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']",['How' 'many' 'flights' 'fly' 'from' 'Aberdeen' 'to' 'Ashley' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +213,flight_2,"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline = T2.uid WHERE T2.Airline = ""JetBlue Airways""",How many flights does airline 'JetBlue Airways' have?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'FLIGHTS' 'AS' 'T1' 'JOIN' 'AIRLINES' + 'AS' 'T2' 'ON' 'T1.Airline' '=' 'T2.uid' 'WHERE' 'T2.Airline' '=' '``' + 'JetBlue' 'Airways' ""''""]","['select' 'count' '(' '*' ')' 'from' 'flights' 'as' 't1' 'join' 'airlines' + 'as' 't2' 'on' 't1' '.' 'airline' '=' 't2' '.' 'uid' 'where' 't2' '.' + 'airline' '=' 'value']","['How' 'many' 'flights' 'does' 'airline' ""'JetBlue"" 'Airways' ""'"" 'have' + '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +214,flight_2,"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline = T2.uid WHERE T2.Airline = ""JetBlue Airways""",Give the number of Jetblue Airways flights.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'FLIGHTS' 'AS' 'T1' 'JOIN' 'AIRLINES' + 'AS' 'T2' 'ON' 'T1.Airline' '=' 'T2.uid' 'WHERE' 'T2.Airline' '=' '``' + 'JetBlue' 'Airways' ""''""]","['select' 'count' '(' '*' ')' 'from' 'flights' 'as' 't1' 'join' 'airlines' + 'as' 't2' 'on' 't1' '.' 'airline' '=' 't2' '.' 'uid' 'where' 't2' '.' + 'airline' '=' 'value']",['Give' 'the' 'number' 'of' 'Jetblue' 'Airways' 'flights' '.'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +215,flight_2,"SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = ""United Airlines"" AND T2.DestAirport = ""ASY""",How many 'United Airlines' flights go to Airport 'ASY'?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'AIRLINES' 'AS' 'T1' 'JOIN' 'FLIGHTS' + 'AS' 'T2' 'ON' 'T2.Airline' '=' 'T1.uid' 'WHERE' 'T1.Airline' '=' '``' + 'United' 'Airlines' ""''"" 'AND' 'T2.DestAirport' '=' '``' 'ASY' ""''""]","['select' 'count' '(' '*' ')' 'from' 'airlines' 'as' 't1' 'join' 'flights' + 'as' 't2' 'on' 't2' '.' 'airline' '=' 't1' '.' 'uid' 'where' 't1' '.' + 'airline' '=' 'value' 'and' 't2' '.' 'destairport' '=' 'value']","['How' 'many' ""'United"" 'Airlines' ""'"" 'flights' 'go' 'to' 'Airport' + ""'ASY"" ""'"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +216,flight_2,"SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = ""United Airlines"" AND T2.DestAirport = ""ASY""",Count the number of United Airlines flights arriving in ASY Airport.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'AIRLINES' 'AS' 'T1' 'JOIN' 'FLIGHTS' + 'AS' 'T2' 'ON' 'T2.Airline' '=' 'T1.uid' 'WHERE' 'T1.Airline' '=' '``' + 'United' 'Airlines' ""''"" 'AND' 'T2.DestAirport' '=' '``' 'ASY' ""''""]","['select' 'count' '(' '*' ')' 'from' 'airlines' 'as' 't1' 'join' 'flights' + 'as' 't2' 'on' 't2' '.' 'airline' '=' 't1' '.' 'uid' 'where' 't1' '.' + 'airline' '=' 'value' 'and' 't2' '.' 'destairport' '=' 'value']","['Count' 'the' 'number' 'of' 'United' 'Airlines' 'flights' 'arriving' 'in' + 'ASY' 'Airport' '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +217,flight_2,"SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = ""United Airlines"" AND T2.SourceAirport = ""AHD""",How many 'United Airlines' flights depart from Airport 'AHD'?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'AIRLINES' 'AS' 'T1' 'JOIN' 'FLIGHTS' + 'AS' 'T2' 'ON' 'T2.Airline' '=' 'T1.uid' 'WHERE' 'T1.Airline' '=' '``' + 'United' 'Airlines' ""''"" 'AND' 'T2.SourceAirport' '=' '``' 'AHD' ""''""]","['select' 'count' '(' '*' ')' 'from' 'airlines' 'as' 't1' 'join' 'flights' + 'as' 't2' 'on' 't2' '.' 'airline' '=' 't1' '.' 'uid' 'where' 't1' '.' + 'airline' '=' 'value' 'and' 't2' '.' 'sourceairport' '=' 'value']","['How' 'many' ""'United"" 'Airlines' ""'"" 'flights' 'depart' 'from' 'Airport' + ""'AHD"" ""'"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +218,flight_2,"SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = ""United Airlines"" AND T2.SourceAirport = ""AHD""",Return the number of United Airlines flights leaving from AHD Airport.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'AIRLINES' 'AS' 'T1' 'JOIN' 'FLIGHTS' + 'AS' 'T2' 'ON' 'T2.Airline' '=' 'T1.uid' 'WHERE' 'T1.Airline' '=' '``' + 'United' 'Airlines' ""''"" 'AND' 'T2.SourceAirport' '=' '``' 'AHD' ""''""]","['select' 'count' '(' '*' ')' 'from' 'airlines' 'as' 't1' 'join' 'flights' + 'as' 't2' 'on' 't2' '.' 'airline' '=' 't1' '.' 'uid' 'where' 't1' '.' + 'airline' '=' 'value' 'and' 't2' '.' 'sourceairport' '=' 'value']","['Return' 'the' 'number' 'of' 'United' 'Airlines' 'flights' 'leaving' + 'from' 'AHD' 'Airport' '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +219,flight_2,"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""",How many United Airlines flights go to City 'Aberdeen'?,"['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' ""''""]","['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']","['How' 'many' 'United' 'Airlines' 'flights' 'go' 'to' 'City' ""'Aberdeen"" + ""'"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +220,flight_2,"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""",Count the number of United Airlines flights that arrive in Aberdeen.,"['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' ""''""]","['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']","['Count' 'the' 'number' 'of' 'United' 'Airlines' 'flights' 'that' 'arrive' + 'in' 'Aberdeen' '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +221,flight_2,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,Which city has most number of arriving flights?,"['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']","['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' + 'value']",['Which' 'city' 'has' 'most' 'number' 'of' 'arriving' 'flights' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +222,flight_2,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,Which city has the most frequent destination airport?,"['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']","['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' + 'value']",['Which' 'city' 'has' 'the' 'most' 'frequent' 'destination' 'airport' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +223,flight_2,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,Which city has most number of departing flights?,"['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']","['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' 'value']",['Which' 'city' 'has' 'most' 'number' 'of' 'departing' 'flights' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +224,flight_2,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,Which city is the most frequent source airport?,"['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']","['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' 'value']",['Which' 'city' 'is' 'the' 'most' 'frequent' 'source' 'airport' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +225,flight_2,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,What is the code of airport that has the highest number of flights?,"['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']","['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' 'value']","['What' 'is' 'the' 'code' 'of' 'airport' 'that' 'has' 'the' 'highest' + 'number' 'of' 'flights' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +226,flight_2,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,What is the airport code of the airport with the most flights?,"['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']","['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' 'value']","['What' 'is' 'the' 'airport' 'code' 'of' 'the' 'airport' 'with' 'the' + 'most' 'flights' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +227,flight_2,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,What is the code of airport that has fewest number of flights?,"['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']","['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' 'value']","['What' 'is' 'the' 'code' 'of' 'airport' 'that' 'has' 'fewest' 'number' + 'of' 'flights' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +228,flight_2,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,Give the code of the airport with the least flights.,"['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']","['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' 'value']","['Give' 'the' 'code' 'of' 'the' 'airport' 'with' 'the' 'least' 'flights' + '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +229,flight_2,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,Which airline has most number of flights?,"['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']","['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' 'value']",['Which' 'airline' 'has' 'most' 'number' 'of' 'flights' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +230,flight_2,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,What airline serves the most flights?,"['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']","['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' 'value']",['What' 'airline' 'serves' 'the' 'most' 'flights' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +231,flight_2,"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",Find the abbreviation and country of the airline that has fewest number of flights?,"['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']","['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' 'value']","['Find' 'the' 'abbreviation' 'and' 'country' 'of' 'the' 'airline' 'that' + 'has' 'fewest' 'number' 'of' 'flights' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +232,flight_2,"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",What is the abbreviation of the airilne has the fewest flights and what country is it in?,"['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']","['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' 'value']","['What' 'is' 'the' 'abbreviation' 'of' 'the' 'airilne' 'has' 'the' + 'fewest' 'flights' 'and' 'what' 'country' 'is' 'it' 'in' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +233,flight_2,"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = ""AHD""",What are airlines that have some flight departing from airport 'AHD'?,"['SELECT' 'T1.Airline' 'FROM' 'AIRLINES' 'AS' 'T1' 'JOIN' 'FLIGHTS' 'AS' + 'T2' 'ON' 'T1.uid' '=' 'T2.Airline' 'WHERE' 'T2.SourceAirport' '=' '``' + 'AHD' ""''""]","['select' 't1' '.' 'airline' 'from' 'airlines' 'as' 't1' 'join' 'flights' + 'as' 't2' 'on' 't1' '.' 'uid' '=' 't2' '.' 'airline' 'where' 't2' '.' + 'sourceairport' '=' 'value']","['What' 'are' 'airlines' 'that' 'have' 'some' 'flight' 'departing' 'from' + 'airport' ""'AHD"" ""'"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +234,flight_2,"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = ""AHD""",Which airlines have a flight with source airport AHD?,"['SELECT' 'T1.Airline' 'FROM' 'AIRLINES' 'AS' 'T1' 'JOIN' 'FLIGHTS' 'AS' + 'T2' 'ON' 'T1.uid' '=' 'T2.Airline' 'WHERE' 'T2.SourceAirport' '=' '``' + 'AHD' ""''""]","['select' 't1' '.' 'airline' 'from' 'airlines' 'as' 't1' 'join' 'flights' + 'as' 't2' 'on' 't1' '.' 'uid' '=' 't2' '.' 'airline' 'where' 't2' '.' + 'sourceairport' '=' 'value']","['Which' 'airlines' 'have' 'a' 'flight' 'with' 'source' 'airport' 'AHD' + '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +235,flight_2,"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.DestAirport = ""AHD""",What are airlines that have flights arriving at airport 'AHD'?,"['SELECT' 'T1.Airline' 'FROM' 'AIRLINES' 'AS' 'T1' 'JOIN' 'FLIGHTS' 'AS' + 'T2' 'ON' 'T1.uid' '=' 'T2.Airline' 'WHERE' 'T2.DestAirport' '=' '``' + 'AHD' ""''""]","['select' 't1' '.' 'airline' 'from' 'airlines' 'as' 't1' 'join' 'flights' + 'as' 't2' 'on' 't1' '.' 'uid' '=' 't2' '.' 'airline' 'where' 't2' '.' + 'destairport' '=' 'value']","['What' 'are' 'airlines' 'that' 'have' 'flights' 'arriving' 'at' 'airport' + ""'AHD"" ""'"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +236,flight_2,"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.DestAirport = ""AHD""",Which airlines have a flight with destination airport AHD?,"['SELECT' 'T1.Airline' 'FROM' 'AIRLINES' 'AS' 'T1' 'JOIN' 'FLIGHTS' 'AS' + 'T2' 'ON' 'T1.uid' '=' 'T2.Airline' 'WHERE' 'T2.DestAirport' '=' '``' + 'AHD' ""''""]","['select' 't1' '.' 'airline' 'from' 'airlines' 'as' 't1' 'join' 'flights' + 'as' 't2' 'on' 't1' '.' 'uid' '=' 't2' '.' 'airline' 'where' 't2' '.' + 'destairport' '=' 'value']","['Which' 'airlines' 'have' 'a' 'flight' 'with' 'destination' 'airport' + 'AHD' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +237,flight_2,"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""",Find all airlines that have flights from both airports 'APG' and 'CVO'.,"['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' ""''""]","['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']","['Find' 'all' 'airlines' 'that' 'have' 'flights' 'from' 'both' 'airports' + ""'APG"" ""'"" 'and' ""'CVO"" ""'"" '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +238,flight_2,"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""",Which airlines have departing flights from both APG and CVO airports?,"['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' ""''""]","['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']","['Which' 'airlines' 'have' 'departing' 'flights' 'from' 'both' 'APG' 'and' + 'CVO' 'airports' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +239,flight_2,"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""",Find all airlines that have flights from airport 'CVO' but not from 'APG'.,"['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' ""''""]","['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']","['Find' 'all' 'airlines' 'that' 'have' 'flights' 'from' 'airport' ""'CVO"" + ""'"" 'but' 'not' 'from' ""'APG"" ""'"" '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +240,flight_2,"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""",Which airlines have departures from CVO but not from APG airports?,"['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' ""''""]","['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']","['Which' 'airlines' 'have' 'departures' 'from' 'CVO' 'but' 'not' 'from' + 'APG' 'airports' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +241,flight_2,SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) > 10,Find all airlines that have at least 10 flights.,"['SELECT' 'T1.Airline' 'FROM' 'AIRLINES' 'AS' 'T1' 'JOIN' 'FLIGHTS' 'AS' + 'T2' 'ON' 'T1.uid' '=' 'T2.Airline' 'GROUP' 'BY' 'T1.Airline' 'HAVING' + 'count' '(' '*' ')' '>' '10']","['select' 't1' '.' 'airline' 'from' 'airlines' 'as' 't1' 'join' 'flights' + 'as' 't2' 'on' 't1' '.' 'uid' '=' 't2' '.' 'airline' 'group' 'by' 't1' + '.' 'airline' 'having' 'count' '(' '*' ')' '>' 'value']",['Find' 'all' 'airlines' 'that' 'have' 'at' 'least' '10' 'flights' '.'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +242,flight_2,SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) > 10,Which airlines have at least 10 flights?,"['SELECT' 'T1.Airline' 'FROM' 'AIRLINES' 'AS' 'T1' 'JOIN' 'FLIGHTS' 'AS' + 'T2' 'ON' 'T1.uid' '=' 'T2.Airline' 'GROUP' 'BY' 'T1.Airline' 'HAVING' + 'count' '(' '*' ')' '>' '10']","['select' 't1' '.' 'airline' 'from' 'airlines' 'as' 't1' 'join' 'flights' + 'as' 't2' 'on' 't1' '.' 'uid' '=' 't2' '.' 'airline' 'group' 'by' 't1' + '.' 'airline' 'having' 'count' '(' '*' ')' '>' 'value']",['Which' 'airlines' 'have' 'at' 'least' '10' 'flights' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +243,flight_2,SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) < 200,Find all airlines that have fewer than 200 flights.,"['SELECT' 'T1.Airline' 'FROM' 'AIRLINES' 'AS' 'T1' 'JOIN' 'FLIGHTS' 'AS' + 'T2' 'ON' 'T1.uid' '=' 'T2.Airline' 'GROUP' 'BY' 'T1.Airline' 'HAVING' + 'count' '(' '*' ')' '<' '200']","['select' 't1' '.' 'airline' 'from' 'airlines' 'as' 't1' 'join' 'flights' + 'as' 't2' 'on' 't1' '.' 'uid' '=' 't2' '.' 'airline' 'group' 'by' 't1' + '.' 'airline' 'having' 'count' '(' '*' ')' '<' 'value']",['Find' 'all' 'airlines' 'that' 'have' 'fewer' 'than' '200' 'flights' '.'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +244,flight_2,SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) < 200,Which airlines have less than 200 flights?,"['SELECT' 'T1.Airline' 'FROM' 'AIRLINES' 'AS' 'T1' 'JOIN' 'FLIGHTS' 'AS' + 'T2' 'ON' 'T1.uid' '=' 'T2.Airline' 'GROUP' 'BY' 'T1.Airline' 'HAVING' + 'count' '(' '*' ')' '<' '200']","['select' 't1' '.' 'airline' 'from' 'airlines' 'as' 't1' 'join' 'flights' + 'as' 't2' 'on' 't1' '.' 'uid' '=' 't2' '.' 'airline' 'group' 'by' 't1' + '.' 'airline' 'having' 'count' '(' '*' ')' '<' 'value']",['Which' 'airlines' 'have' 'less' 'than' '200' 'flights' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +245,flight_2,"SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid = T1.Airline WHERE T2.Airline = ""United Airlines""","What are flight numbers of Airline ""United Airlines""?","['SELECT' 'T1.FlightNo' 'FROM' 'FLIGHTS' 'AS' 'T1' 'JOIN' 'AIRLINES' 'AS' + 'T2' 'ON' 'T2.uid' '=' 'T1.Airline' 'WHERE' 'T2.Airline' '=' '``' + 'United' 'Airlines' ""''""]","['select' 't1' '.' 'flightno' 'from' 'flights' 'as' 't1' 'join' 'airlines' + 'as' 't2' 'on' 't2' '.' 'uid' '=' 't1' '.' 'airline' 'where' 't2' '.' + 'airline' '=' 'value']","['What' 'are' 'flight' 'numbers' 'of' 'Airline' '``' 'United' 'Airlines' + ""''"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +246,flight_2,"SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid = T1.Airline WHERE T2.Airline = ""United Airlines""",Which flight numbers correspond to United Airlines flights?,"['SELECT' 'T1.FlightNo' 'FROM' 'FLIGHTS' 'AS' 'T1' 'JOIN' 'AIRLINES' 'AS' + 'T2' 'ON' 'T2.uid' '=' 'T1.Airline' 'WHERE' 'T2.Airline' '=' '``' + 'United' 'Airlines' ""''""]","['select' 't1' '.' 'flightno' 'from' 'flights' 'as' 't1' 'join' 'airlines' + 'as' 't2' 'on' 't2' '.' 'uid' '=' 't1' '.' 'airline' 'where' 't2' '.' + 'airline' '=' 'value']","['Which' 'flight' 'numbers' 'correspond' 'to' 'United' 'Airlines' + 'flights' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +247,flight_2,"SELECT FlightNo FROM FLIGHTS WHERE SourceAirport = ""APG""","What are flight numbers of flights departing from Airport ""APG""?","['SELECT' 'FlightNo' 'FROM' 'FLIGHTS' 'WHERE' 'SourceAirport' '=' '``' + 'APG' ""''""]",['select' 'flightno' 'from' 'flights' 'where' 'sourceairport' '=' 'value'],"['What' 'are' 'flight' 'numbers' 'of' 'flights' 'departing' 'from' + 'Airport' '``' 'APG' ""''"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +248,flight_2,"SELECT FlightNo FROM FLIGHTS WHERE SourceAirport = ""APG""",Give the flight numbers of flights leaving from APG.,"['SELECT' 'FlightNo' 'FROM' 'FLIGHTS' 'WHERE' 'SourceAirport' '=' '``' + 'APG' ""''""]",['select' 'flightno' 'from' 'flights' 'where' 'sourceairport' '=' 'value'],['Give' 'the' 'flight' 'numbers' 'of' 'flights' 'leaving' 'from' 'APG' '.'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +249,flight_2,"SELECT FlightNo FROM FLIGHTS WHERE DestAirport = ""APG""","What are flight numbers of flights arriving at Airport ""APG""?","['SELECT' 'FlightNo' 'FROM' 'FLIGHTS' 'WHERE' 'DestAirport' '=' '``' 'APG' + ""''""]",['select' 'flightno' 'from' 'flights' 'where' 'destairport' '=' 'value'],"['What' 'are' 'flight' 'numbers' 'of' 'flights' 'arriving' 'at' 'Airport' + '``' 'APG' ""''"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +250,flight_2,"SELECT FlightNo FROM FLIGHTS WHERE DestAirport = ""APG""",Give the flight numbers of flights landing at APG.,"['SELECT' 'FlightNo' 'FROM' 'FLIGHTS' 'WHERE' 'DestAirport' '=' '``' 'APG' + ""''""]",['select' 'flightno' 'from' 'flights' 'where' 'destairport' '=' 'value'],['Give' 'the' 'flight' 'numbers' 'of' 'flights' 'landing' 'at' 'APG' '.'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +251,flight_2,"SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = ""Aberdeen""","What are flight numbers of flights departing from City ""Aberdeen ""?","['SELECT' 'T1.FlightNo' 'FROM' 'FLIGHTS' 'AS' 'T1' 'JOIN' 'AIRPORTS' 'AS' + 'T2' 'ON' 'T1.SourceAirport' '=' 'T2.AirportCode' 'WHERE' 'T2.City' '=' + '``' 'Aberdeen' ""''""]","['select' 't1' '.' 'flightno' 'from' 'flights' 'as' 't1' 'join' 'airports' + 'as' 't2' 'on' 't1' '.' 'sourceairport' '=' 't2' '.' 'airportcode' + 'where' 't2' '.' 'city' '=' 'value']","['What' 'are' 'flight' 'numbers' 'of' 'flights' 'departing' 'from' 'City' + '``' 'Aberdeen' '``' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +252,flight_2,"SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = ""Aberdeen""",Give the flight numbers of flights leaving from Aberdeen.,"['SELECT' 'T1.FlightNo' 'FROM' 'FLIGHTS' 'AS' 'T1' 'JOIN' 'AIRPORTS' 'AS' + 'T2' 'ON' 'T1.SourceAirport' '=' 'T2.AirportCode' 'WHERE' 'T2.City' '=' + '``' 'Aberdeen' ""''""]","['select' 't1' '.' 'flightno' 'from' 'flights' 'as' 't1' 'join' 'airports' + 'as' 't2' 'on' 't1' '.' 'sourceairport' '=' 't2' '.' 'airportcode' + 'where' 't2' '.' 'city' '=' 'value']","['Give' 'the' 'flight' 'numbers' 'of' 'flights' 'leaving' 'from' + 'Aberdeen' '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +253,flight_2,"SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = ""Aberdeen""","What are flight numbers of flights arriving at City ""Aberdeen""?","['SELECT' 'T1.FlightNo' 'FROM' 'FLIGHTS' 'AS' 'T1' 'JOIN' 'AIRPORTS' 'AS' + 'T2' 'ON' 'T1.DestAirport' '=' 'T2.AirportCode' 'WHERE' 'T2.City' '=' + '``' 'Aberdeen' ""''""]","['select' 't1' '.' 'flightno' 'from' 'flights' 'as' 't1' 'join' 'airports' + 'as' 't2' 'on' 't1' '.' 'destairport' '=' 't2' '.' 'airportcode' 'where' + 't2' '.' 'city' '=' 'value']","['What' 'are' 'flight' 'numbers' 'of' 'flights' 'arriving' 'at' 'City' + '``' 'Aberdeen' ""''"" '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +254,flight_2,"SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = ""Aberdeen""",Give the flight numbers of flights arriving in Aberdeen.,"['SELECT' 'T1.FlightNo' 'FROM' 'FLIGHTS' 'AS' 'T1' 'JOIN' 'AIRPORTS' 'AS' + 'T2' 'ON' 'T1.DestAirport' '=' 'T2.AirportCode' 'WHERE' 'T2.City' '=' + '``' 'Aberdeen' ""''""]","['select' 't1' '.' 'flightno' 'from' 'flights' 'as' 't1' 'join' 'airports' + 'as' 't2' 'on' 't1' '.' 'destairport' '=' 't2' '.' 'airportcode' 'where' + 't2' '.' 'city' '=' 'value']","['Give' 'the' 'flight' 'numbers' 'of' 'flights' 'arriving' 'in' 'Aberdeen' + '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +255,flight_2,"SELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.city = ""Aberdeen"" OR T2.city = ""Abilene""",Find the number of flights landing in the city of Aberdeen or Abilene.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Flights' 'AS' 'T1' 'JOIN' 'Airports' + 'AS' 'T2' 'ON' 'T1.DestAirport' '=' 'T2.AirportCode' 'WHERE' 'T2.city' + '=' '``' 'Aberdeen' ""''"" 'OR' 'T2.city' '=' '``' 'Abilene' ""''""]","['select' 'count' '(' '*' ')' 'from' 'flights' 'as' 't1' 'join' 'airports' + 'as' 't2' 'on' 't1' '.' 'destairport' '=' 't2' '.' 'airportcode' 'where' + 't2' '.' 'city' '=' 'value' 'or' 't2' '.' 'city' '=' 'value']","['Find' 'the' 'number' 'of' 'flights' 'landing' 'in' 'the' 'city' 'of' + 'Aberdeen' 'or' 'Abilene' '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +256,flight_2,"SELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.city = ""Aberdeen"" OR T2.city = ""Abilene""",How many flights land in Aberdeen or Abilene?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Flights' 'AS' 'T1' 'JOIN' 'Airports' + 'AS' 'T2' 'ON' 'T1.DestAirport' '=' 'T2.AirportCode' 'WHERE' 'T2.city' + '=' '``' 'Aberdeen' ""''"" 'OR' 'T2.city' '=' '``' 'Abilene' ""''""]","['select' 'count' '(' '*' ')' 'from' 'flights' 'as' 't1' 'join' 'airports' + 'as' 't2' 'on' 't1' '.' 'destairport' '=' 't2' '.' 'airportcode' 'where' + 't2' '.' 'city' '=' 'value' 'or' 't2' '.' 'city' '=' 'value']",['How' 'many' 'flights' 'land' 'in' 'Aberdeen' 'or' 'Abilene' '?'],"['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +257,flight_2,SELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights),Find the name of airports which do not have any flight in and out.,"['SELECT' 'AirportName' 'FROM' 'Airports' 'WHERE' 'AirportCode' 'NOT' 'IN' + '(' 'SELECT' 'SourceAirport' 'FROM' 'Flights' 'UNION' 'SELECT' + 'DestAirport' 'FROM' 'Flights' ')']","['select' 'airportname' 'from' 'airports' 'where' 'airportcode' 'not' 'in' + '(' 'select' 'sourceairport' 'from' 'flights' 'union' 'select' + 'destairport' 'from' 'flights' ')']","['Find' 'the' 'name' 'of' 'airports' 'which' 'do' 'not' 'have' 'any' + 'flight' 'in' 'and' 'out' '.']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +258,flight_2,SELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights),Which airports do not have departing or arriving flights?,"['SELECT' 'AirportName' 'FROM' 'Airports' 'WHERE' 'AirportCode' 'NOT' 'IN' + '(' 'SELECT' 'SourceAirport' 'FROM' 'Flights' 'UNION' 'SELECT' + 'DestAirport' 'FROM' 'Flights' ')']","['select' 'airportname' 'from' 'airports' 'where' 'airportcode' 'not' 'in' + '(' 'select' 'sourceairport' 'from' 'flights' 'union' 'select' + 'destairport' 'from' 'flights' ')']","['Which' 'airports' 'do' 'not' 'have' 'departing' 'or' 'arriving' + 'flights' '?']","['airline id', 'airline name', 'abbreviation', 'country', 'city', 'airport code', 'airport name', 'country', 'country abbrev', 'airline', 'flight number', 'source airport', 'destination airport']" +259,employee_hire_evaluation,SELECT count(*) FROM employee,How many employees are there?,['SELECT' 'count' '(' '*' ')' 'FROM' 'employee'],['select' 'count' '(' '*' ')' 'from' 'employee'],['How' 'many' 'employees' 'are' 'there' '?'],"['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +260,employee_hire_evaluation,SELECT count(*) FROM employee,Count the number of employees,['SELECT' 'count' '(' '*' ')' 'FROM' 'employee'],['select' 'count' '(' '*' ')' 'from' 'employee'],['Count' 'the' 'number' 'of' 'employees'],"['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +261,employee_hire_evaluation,SELECT name FROM employee ORDER BY age,Sort employee names by their age in ascending order.,['SELECT' 'name' 'FROM' 'employee' 'ORDER' 'BY' 'age'],['select' 'name' 'from' 'employee' 'order' 'by' 'age'],['Sort' 'employee' 'names' 'by' 'their' 'age' 'in' 'ascending' 'order' '.'],"['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +262,employee_hire_evaluation,SELECT name FROM employee ORDER BY age,List the names of employees and sort in ascending order of age.,['SELECT' 'name' 'FROM' 'employee' 'ORDER' 'BY' 'age'],['select' 'name' 'from' 'employee' 'order' 'by' 'age'],"['List' 'the' 'names' 'of' 'employees' 'and' 'sort' 'in' 'ascending' + 'order' 'of' 'age' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +263,employee_hire_evaluation,"SELECT count(*) , city FROM employee GROUP BY city",What is the number of employees from each city?,"['SELECT' 'count' '(' '*' ')' ',' 'city' 'FROM' 'employee' 'GROUP' 'BY' + 'city']","['select' 'count' '(' '*' ')' ',' 'city' 'from' 'employee' 'group' 'by' + 'city']",['What' 'is' 'the' 'number' 'of' 'employees' 'from' 'each' 'city' '?'],"['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +264,employee_hire_evaluation,"SELECT count(*) , city FROM employee GROUP BY city",Count the number of employees for each city.,"['SELECT' 'count' '(' '*' ')' ',' 'city' 'FROM' 'employee' 'GROUP' 'BY' + 'city']","['select' 'count' '(' '*' ')' ',' 'city' 'from' 'employee' 'group' 'by' + 'city']",['Count' 'the' 'number' 'of' 'employees' 'for' 'each' 'city' '.'],"['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +265,employee_hire_evaluation,SELECT city FROM employee WHERE age < 30 GROUP BY city HAVING count(*) > 1,Which cities do more than one employee under age 30 come from?,"['SELECT' 'city' 'FROM' 'employee' 'WHERE' 'age' '<' '30' 'GROUP' 'BY' + 'city' 'HAVING' 'count' '(' '*' ')' '>' '1']","['select' 'city' 'from' 'employee' 'where' 'age' '<' 'value' 'group' 'by' + 'city' 'having' 'count' '(' '*' ')' '>' 'value']","['Which' 'cities' 'do' 'more' 'than' 'one' 'employee' 'under' 'age' '30' + 'come' 'from' '?']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +266,employee_hire_evaluation,SELECT city FROM employee WHERE age < 30 GROUP BY city HAVING count(*) > 1,Find the cities that have more than one employee under age 30.,"['SELECT' 'city' 'FROM' 'employee' 'WHERE' 'age' '<' '30' 'GROUP' 'BY' + 'city' 'HAVING' 'count' '(' '*' ')' '>' '1']","['select' 'city' 'from' 'employee' 'where' 'age' '<' 'value' 'group' 'by' + 'city' 'having' 'count' '(' '*' ')' '>' 'value']","['Find' 'the' 'cities' 'that' 'have' 'more' 'than' 'one' 'employee' + 'under' 'age' '30' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +267,employee_hire_evaluation,"SELECT count(*) , LOCATION FROM shop GROUP BY LOCATION",Find the number of shops in each location.,"['SELECT' 'count' '(' '*' ')' ',' 'LOCATION' 'FROM' 'shop' 'GROUP' 'BY' + 'LOCATION']","['select' 'count' '(' '*' ')' ',' 'location' 'from' 'shop' 'group' 'by' + 'location']",['Find' 'the' 'number' 'of' 'shops' 'in' 'each' 'location' '.'],"['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +268,employee_hire_evaluation,"SELECT count(*) , LOCATION FROM shop GROUP BY LOCATION",How many shops are there in each location?,"['SELECT' 'count' '(' '*' ')' ',' 'LOCATION' 'FROM' 'shop' 'GROUP' 'BY' + 'LOCATION']","['select' 'count' '(' '*' ')' ',' 'location' 'from' 'shop' 'group' 'by' + 'location']",['How' 'many' 'shops' 'are' 'there' 'in' 'each' 'location' '?'],"['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +269,employee_hire_evaluation,"SELECT manager_name , district FROM shop ORDER BY number_products DESC LIMIT 1",Find the manager name and district of the shop whose number of products is the largest.,"['SELECT' 'manager_name' ',' 'district' 'FROM' 'shop' 'ORDER' 'BY' + 'number_products' 'DESC' 'LIMIT' '1']","['select' 'manager_name' ',' 'district' 'from' 'shop' 'order' 'by' + 'number_products' 'desc' 'limit' 'value']","['Find' 'the' 'manager' 'name' 'and' 'district' 'of' 'the' 'shop' 'whose' + 'number' 'of' 'products' 'is' 'the' 'largest' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +270,employee_hire_evaluation,"SELECT manager_name , district FROM shop ORDER BY number_products DESC LIMIT 1",What are the manager name and district of the shop that sells the largest number of products?,"['SELECT' 'manager_name' ',' 'district' 'FROM' 'shop' 'ORDER' 'BY' + 'number_products' 'DESC' 'LIMIT' '1']","['select' 'manager_name' ',' 'district' 'from' 'shop' 'order' 'by' + 'number_products' 'desc' 'limit' 'value']","['What' 'are' 'the' 'manager' 'name' 'and' 'district' 'of' 'the' 'shop' + 'that' 'sells' 'the' 'largest' 'number' 'of' 'products' '?']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +271,employee_hire_evaluation,"SELECT min(Number_products) , max(Number_products) FROM shop",find the minimum and maximum number of products of all stores.,"['SELECT' 'min' '(' 'Number_products' ')' ',' 'max' '(' 'Number_products' + ')' 'FROM' 'shop']","['select' 'min' '(' 'number_products' ')' ',' 'max' '(' 'number_products' + ')' 'from' 'shop']","['find' 'the' 'minimum' 'and' 'maximum' 'number' 'of' 'products' 'of' + 'all' 'stores' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +272,employee_hire_evaluation,"SELECT min(Number_products) , max(Number_products) FROM shop",What are the minimum and maximum number of products across all the shops?,"['SELECT' 'min' '(' 'Number_products' ')' ',' 'max' '(' 'Number_products' + ')' 'FROM' 'shop']","['select' 'min' '(' 'number_products' ')' ',' 'max' '(' 'number_products' + ')' 'from' 'shop']","['What' 'are' 'the' 'minimum' 'and' 'maximum' 'number' 'of' 'products' + 'across' 'all' 'the' 'shops' '?']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +273,employee_hire_evaluation,"SELECT name , LOCATION , district FROM shop ORDER BY number_products DESC","Return the name, location and district of all shops in descending order of number of products.","['SELECT' 'name' ',' 'LOCATION' ',' 'district' 'FROM' 'shop' 'ORDER' 'BY' + 'number_products' 'DESC']","['select' 'name' ',' 'location' ',' 'district' 'from' 'shop' 'order' 'by' + 'number_products' 'desc']","['Return' 'the' 'name' ',' 'location' 'and' 'district' 'of' 'all' 'shops' + 'in' 'descending' 'order' 'of' 'number' 'of' 'products' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +274,employee_hire_evaluation,"SELECT name , LOCATION , district FROM shop ORDER BY number_products DESC","Sort all the shops by number products in descending order, and return the name, location and district of each shop.","['SELECT' 'name' ',' 'LOCATION' ',' 'district' 'FROM' 'shop' 'ORDER' 'BY' + 'number_products' 'DESC']","['select' 'name' ',' 'location' ',' 'district' 'from' 'shop' 'order' 'by' + 'number_products' 'desc']","['Sort' 'all' 'the' 'shops' 'by' 'number' 'products' 'in' 'descending' + 'order' ',' 'and' 'return' 'the' 'name' ',' 'location' 'and' 'district' + 'of' 'each' 'shop' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +275,employee_hire_evaluation,SELECT name FROM shop WHERE number_products > (SELECT avg(number_products) FROM shop),Find the names of stores whose number products is more than the average number of products.,"['SELECT' 'name' 'FROM' 'shop' 'WHERE' 'number_products' '>' '(' 'SELECT' + 'avg' '(' 'number_products' ')' 'FROM' 'shop' ')']","['select' 'name' 'from' 'shop' 'where' 'number_products' '>' '(' 'select' + 'avg' '(' 'number_products' ')' 'from' 'shop' ')']","['Find' 'the' 'names' 'of' 'stores' 'whose' 'number' 'products' 'is' + 'more' 'than' 'the' 'average' 'number' 'of' 'products' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +276,employee_hire_evaluation,SELECT name FROM shop WHERE number_products > (SELECT avg(number_products) FROM shop),Which shops' number products is above the average? Give me the shop names.,"['SELECT' 'name' 'FROM' 'shop' 'WHERE' 'number_products' '>' '(' 'SELECT' + 'avg' '(' 'number_products' ')' 'FROM' 'shop' ')']","['select' 'name' 'from' 'shop' 'where' 'number_products' '>' '(' 'select' + 'avg' '(' 'number_products' ')' 'from' 'shop' ')']","['Which' 'shops' ""'"" 'number' 'products' 'is' 'above' 'the' 'average' '?' + 'Give' 'me' 'the' 'shop' 'names' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +277,employee_hire_evaluation,SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY count(*) DESC LIMIT 1,find the name of employee who was awarded the most times in the evaluation.,"['SELECT' 't1.name' 'FROM' 'employee' 'AS' 't1' 'JOIN' 'evaluation' 'AS' + 't2' 'ON' 't1.Employee_ID' '=' 't2.Employee_ID' 'GROUP' 'BY' + 't2.Employee_ID' 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'name' 'from' 'employee' 'as' 't1' 'join' 'evaluation' + 'as' 't2' 'on' 't1' '.' 'employee_id' '=' 't2' '.' 'employee_id' 'group' + 'by' 't2' '.' 'employee_id' 'order' 'by' 'count' '(' '*' ')' 'desc' + 'limit' 'value']","['find' 'the' 'name' 'of' 'employee' 'who' 'was' 'awarded' 'the' 'most' + 'times' 'in' 'the' 'evaluation' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +278,employee_hire_evaluation,SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY count(*) DESC LIMIT 1,Which employee received the most awards in evaluations? Give me the employee name.,"['SELECT' 't1.name' 'FROM' 'employee' 'AS' 't1' 'JOIN' 'evaluation' 'AS' + 't2' 'ON' 't1.Employee_ID' '=' 't2.Employee_ID' 'GROUP' 'BY' + 't2.Employee_ID' 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'name' 'from' 'employee' 'as' 't1' 'join' 'evaluation' + 'as' 't2' 'on' 't1' '.' 'employee_id' '=' 't2' '.' 'employee_id' 'group' + 'by' 't2' '.' 'employee_id' 'order' 'by' 'count' '(' '*' ')' 'desc' + 'limit' 'value']","['Which' 'employee' 'received' 'the' 'most' 'awards' 'in' 'evaluations' + '?' 'Give' 'me' 'the' 'employee' 'name' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +279,employee_hire_evaluation,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,Find the name of the employee who got the highest one time bonus.,"['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']","['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']","['Find' 'the' 'name' 'of' 'the' 'employee' 'who' 'got' 'the' 'highest' + 'one' 'time' 'bonus' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +280,employee_hire_evaluation,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,Which employee received the biggest bonus? Give me the employee name.,"['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']","['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']","['Which' 'employee' 'received' 'the' 'biggest' 'bonus' '?' 'Give' 'me' + 'the' 'employee' 'name' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +281,employee_hire_evaluation,SELECT name FROM employee WHERE Employee_ID NOT IN (SELECT Employee_ID FROM evaluation),Find the names of employees who never won any award in the evaluation.,"['SELECT' 'name' 'FROM' 'employee' 'WHERE' 'Employee_ID' 'NOT' 'IN' '(' + 'SELECT' 'Employee_ID' 'FROM' 'evaluation' ')']","['select' 'name' 'from' 'employee' 'where' 'employee_id' 'not' 'in' '(' + 'select' 'employee_id' 'from' 'evaluation' ')']","['Find' 'the' 'names' 'of' 'employees' 'who' 'never' 'won' 'any' 'award' + 'in' 'the' 'evaluation' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +282,employee_hire_evaluation,SELECT name FROM employee WHERE Employee_ID NOT IN (SELECT Employee_ID FROM evaluation),What are the names of the employees who never received any evaluation?,"['SELECT' 'name' 'FROM' 'employee' 'WHERE' 'Employee_ID' 'NOT' 'IN' '(' + 'SELECT' 'Employee_ID' 'FROM' 'evaluation' ')']","['select' 'name' 'from' 'employee' 'where' 'employee_id' 'not' 'in' '(' + 'select' 'employee_id' 'from' 'evaluation' ')']","['What' 'are' 'the' 'names' 'of' 'the' 'employees' 'who' 'never' + 'received' 'any' 'evaluation' '?']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +283,employee_hire_evaluation,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,What is the name of the shop that is hiring the largest number of employees?,"['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']","['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']","['What' 'is' 'the' 'name' 'of' 'the' 'shop' 'that' 'is' 'hiring' 'the' + 'largest' 'number' 'of' 'employees' '?']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +284,employee_hire_evaluation,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,Which shop has the most employees? Give me the shop name.,"['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']","['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']","['Which' 'shop' 'has' 'the' 'most' 'employees' '?' 'Give' 'me' 'the' + 'shop' 'name' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +285,employee_hire_evaluation,SELECT name FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM hiring),Find the name of the shops that do not hire any employee.,"['SELECT' 'name' 'FROM' 'shop' 'WHERE' 'shop_id' 'NOT' 'IN' '(' 'SELECT' + 'shop_id' 'FROM' 'hiring' ')']","['select' 'name' 'from' 'shop' 'where' 'shop_id' 'not' 'in' '(' 'select' + 'shop_id' 'from' 'hiring' ')']","['Find' 'the' 'name' 'of' 'the' 'shops' 'that' 'do' 'not' 'hire' 'any' + 'employee' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +286,employee_hire_evaluation,SELECT name FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM hiring),Which shops run with no employees? Find the shop names,"['SELECT' 'name' 'FROM' 'shop' 'WHERE' 'shop_id' 'NOT' 'IN' '(' 'SELECT' + 'shop_id' 'FROM' 'hiring' ')']","['select' 'name' 'from' 'shop' 'where' 'shop_id' 'not' 'in' '(' 'select' + 'shop_id' 'from' 'hiring' ')']","['Which' 'shops' 'run' 'with' 'no' 'employees' '?' 'Find' 'the' 'shop' + 'names']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +287,employee_hire_evaluation,"SELECT count(*) , t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name",Find the number of employees hired in each shop; show the shop name as well.,"['SELECT' 'count' '(' '*' ')' ',' 't2.name' 'FROM' 'hiring' 'AS' 't1' + 'JOIN' 'shop' 'AS' 't2' 'ON' 't1.shop_id' '=' 't2.shop_id' 'GROUP' 'BY' + 't2.name']","['select' 'count' '(' '*' ')' ',' 't2' '.' 'name' 'from' 'hiring' 'as' + 't1' 'join' 'shop' 'as' 't2' 'on' 't1' '.' 'shop_id' '=' 't2' '.' + 'shop_id' 'group' 'by' 't2' '.' 'name']","['Find' 'the' 'number' 'of' 'employees' 'hired' 'in' 'each' 'shop' ';' + 'show' 'the' 'shop' 'name' 'as' 'well' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +288,employee_hire_evaluation,"SELECT count(*) , t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name","For each shop, return the number of employees working there and the name of the shop.","['SELECT' 'count' '(' '*' ')' ',' 't2.name' 'FROM' 'hiring' 'AS' 't1' + 'JOIN' 'shop' 'AS' 't2' 'ON' 't1.shop_id' '=' 't2.shop_id' 'GROUP' 'BY' + 't2.name']","['select' 'count' '(' '*' ')' ',' 't2' '.' 'name' 'from' 'hiring' 'as' + 't1' 'join' 'shop' 'as' 't2' 'on' 't1' '.' 'shop_id' '=' 't2' '.' + 'shop_id' 'group' 'by' 't2' '.' 'name']","['For' 'each' 'shop' ',' 'return' 'the' 'number' 'of' 'employees' + 'working' 'there' 'and' 'the' 'name' 'of' 'the' 'shop' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +289,employee_hire_evaluation,SELECT sum(bonus) FROM evaluation,What is total bonus given in all evaluations?,['SELECT' 'sum' '(' 'bonus' ')' 'FROM' 'evaluation'],['select' 'sum' '(' 'bonus' ')' 'from' 'evaluation'],['What' 'is' 'total' 'bonus' 'given' 'in' 'all' 'evaluations' '?'],"['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +290,employee_hire_evaluation,SELECT sum(bonus) FROM evaluation,Find the total amount of bonus given in all the evaluations.,['SELECT' 'sum' '(' 'bonus' ')' 'FROM' 'evaluation'],['select' 'sum' '(' 'bonus' ')' 'from' 'evaluation'],"['Find' 'the' 'total' 'amount' 'of' 'bonus' 'given' 'in' 'all' 'the' + 'evaluations' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +291,employee_hire_evaluation,SELECT * FROM hiring,Give me all the information about hiring.,['SELECT' '*' 'FROM' 'hiring'],['select' '*' 'from' 'hiring'],['Give' 'me' 'all' 'the' 'information' 'about' 'hiring' '.'],"['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +292,employee_hire_evaluation,SELECT * FROM hiring,What is all the information about hiring?,['SELECT' '*' 'FROM' 'hiring'],['select' '*' 'from' 'hiring'],['What' 'is' 'all' 'the' 'information' 'about' 'hiring' '?'],"['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +293,employee_hire_evaluation,SELECT district FROM shop WHERE Number_products < 3000 INTERSECT SELECT district FROM shop WHERE Number_products > 10000,Which district has both stores with less than 3000 products and stores with more than 10000 products?,"['SELECT' 'district' 'FROM' 'shop' 'WHERE' 'Number_products' '<' '3000' + 'INTERSECT' 'SELECT' 'district' 'FROM' 'shop' 'WHERE' 'Number_products' + '>' '10000']","['select' 'district' 'from' 'shop' 'where' 'number_products' '<' 'value' + 'intersect' 'select' 'district' 'from' 'shop' 'where' 'number_products' + '>' 'value']","['Which' 'district' 'has' 'both' 'stores' 'with' 'less' 'than' '3000' + 'products' 'and' 'stores' 'with' 'more' 'than' '10000' 'products' '?']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +294,employee_hire_evaluation,SELECT district FROM shop WHERE Number_products < 3000 INTERSECT SELECT district FROM shop WHERE Number_products > 10000,Find the districts in which there are both shops selling less than 3000 products and shops selling more than 10000 products.,"['SELECT' 'district' 'FROM' 'shop' 'WHERE' 'Number_products' '<' '3000' + 'INTERSECT' 'SELECT' 'district' 'FROM' 'shop' 'WHERE' 'Number_products' + '>' '10000']","['select' 'district' 'from' 'shop' 'where' 'number_products' '<' 'value' + 'intersect' 'select' 'district' 'from' 'shop' 'where' 'number_products' + '>' 'value']","['Find' 'the' 'districts' 'in' 'which' 'there' 'are' 'both' 'shops' + 'selling' 'less' 'than' '3000' 'products' 'and' 'shops' 'selling' 'more' + 'than' '10000' 'products' '.']","['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +295,employee_hire_evaluation,SELECT count(DISTINCT LOCATION) FROM shop,How many different store locations are there?,['SELECT' 'count' '(' 'DISTINCT' 'LOCATION' ')' 'FROM' 'shop'],['select' 'count' '(' 'distinct' 'location' ')' 'from' 'shop'],['How' 'many' 'different' 'store' 'locations' 'are' 'there' '?'],"['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +296,employee_hire_evaluation,SELECT count(DISTINCT LOCATION) FROM shop,Count the number of distinct store locations.,['SELECT' 'count' '(' 'DISTINCT' 'LOCATION' ')' 'FROM' 'shop'],['select' 'count' '(' 'distinct' 'location' ')' 'from' 'shop'],['Count' 'the' 'number' 'of' 'distinct' 'store' 'locations' '.'],"['employee id', 'name', 'age', 'city', 'shop id', 'name', 'location', 'district', 'number products', 'manager name', 'shop id', 'employee id', 'start from', 'is full time', 'employee id', 'year awarded', 'bonus']" +297,cre_Doc_Template_Mgt,SELECT count(*) FROM Documents,How many documents do we have?,['SELECT' 'count' '(' '*' ')' 'FROM' 'Documents'],['select' 'count' '(' '*' ')' 'from' 'documents'],['How' 'many' 'documents' 'do' 'we' 'have' '?'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +298,cre_Doc_Template_Mgt,SELECT count(*) FROM Documents,Count the number of documents.,['SELECT' 'count' '(' '*' ')' 'FROM' 'Documents'],['select' 'count' '(' '*' ')' 'from' 'documents'],['Count' 'the' 'number' 'of' 'documents' '.'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +299,cre_Doc_Template_Mgt,"SELECT document_id , document_name , document_description FROM Documents","List document IDs, document names, and document descriptions for all documents.","['SELECT' 'document_id' ',' 'document_name' ',' 'document_description' + 'FROM' 'Documents']","['select' 'document_id' ',' 'document_name' ',' 'document_description' + 'from' 'documents']","['List' 'document' 'IDs' ',' 'document' 'names' ',' 'and' 'document' + 'descriptions' 'for' 'all' 'documents' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +300,cre_Doc_Template_Mgt,"SELECT document_id , document_name , document_description FROM Documents","What are the ids, names, and descriptions for all documents?","['SELECT' 'document_id' ',' 'document_name' ',' 'document_description' + 'FROM' 'Documents']","['select' 'document_id' ',' 'document_name' ',' 'document_description' + 'from' 'documents']","['What' 'are' 'the' 'ids' ',' 'names' ',' 'and' 'descriptions' 'for' 'all' + 'documents' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +301,cre_Doc_Template_Mgt,"SELECT document_name , template_id FROM Documents WHERE Document_Description LIKE ""%w%""",What is the document name and template id for document with description with the letter 'w' in it?,"['SELECT' 'document_name' ',' 'template_id' 'FROM' 'Documents' 'WHERE' + 'Document_Description' 'LIKE' '``' '%' 'w' '%' ""''""]","['select' 'document_name' ',' 'template_id' 'from' 'documents' 'where' + 'document_description' 'like' 'value']","['What' 'is' 'the' 'document' 'name' 'and' 'template' 'id' 'for' + 'document' 'with' 'description' 'with' 'the' 'letter' ""'w"" ""'"" 'in' 'it' + '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +302,cre_Doc_Template_Mgt,"SELECT document_name , template_id FROM Documents WHERE Document_Description LIKE ""%w%""",Return the names and template ids for documents that contain the letter w in their description.,"['SELECT' 'document_name' ',' 'template_id' 'FROM' 'Documents' 'WHERE' + 'Document_Description' 'LIKE' '``' '%' 'w' '%' ""''""]","['select' 'document_name' ',' 'template_id' 'from' 'documents' 'where' + 'document_description' 'like' 'value']","['Return' 'the' 'names' 'and' 'template' 'ids' 'for' 'documents' 'that' + 'contain' 'the' 'letter' 'w' 'in' 'their' 'description' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +303,cre_Doc_Template_Mgt,"SELECT document_id , template_id , Document_Description FROM Documents WHERE document_name = ""Robbin CV""","What is the document id, template id and description for document named ""Robbin CV""?","['SELECT' 'document_id' ',' 'template_id' ',' 'Document_Description' + 'FROM' 'Documents' 'WHERE' 'document_name' '=' '``' 'Robbin' 'CV' ""''""]","['select' 'document_id' ',' 'template_id' ',' 'document_description' + 'from' 'documents' 'where' 'document_name' '=' 'value']","['What' 'is' 'the' 'document' 'id' ',' 'template' 'id' 'and' 'description' + 'for' 'document' 'named' '``' 'Robbin' 'CV' ""''"" '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +304,cre_Doc_Template_Mgt,"SELECT document_id , template_id , Document_Description FROM Documents WHERE document_name = ""Robbin CV""","Return the document id, template id, and description for the document with the name Robbin CV.","['SELECT' 'document_id' ',' 'template_id' ',' 'Document_Description' + 'FROM' 'Documents' 'WHERE' 'document_name' '=' '``' 'Robbin' 'CV' ""''""]","['select' 'document_id' ',' 'template_id' ',' 'document_description' + 'from' 'documents' 'where' 'document_name' '=' 'value']","['Return' 'the' 'document' 'id' ',' 'template' 'id' ',' 'and' + 'description' 'for' 'the' 'document' 'with' 'the' 'name' 'Robbin' 'CV' + '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +305,cre_Doc_Template_Mgt,SELECT count(DISTINCT template_id) FROM Documents,How many different templates do all document use?,['SELECT' 'count' '(' 'DISTINCT' 'template_id' ')' 'FROM' 'Documents'],['select' 'count' '(' 'distinct' 'template_id' ')' 'from' 'documents'],['How' 'many' 'different' 'templates' 'do' 'all' 'document' 'use' '?'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +306,cre_Doc_Template_Mgt,SELECT count(DISTINCT template_id) FROM Documents,Count the number of different templates used for documents.,['SELECT' 'count' '(' 'DISTINCT' 'template_id' ')' 'FROM' 'Documents'],['select' 'count' '(' 'distinct' 'template_id' ')' 'from' 'documents'],"['Count' 'the' 'number' 'of' 'different' 'templates' 'used' 'for' + 'documents' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +307,cre_Doc_Template_Mgt,SELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID = T2.Template_ID WHERE T2.Template_Type_Code = 'PPT',How many documents are using the template with type code 'PPT'?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Documents' 'AS' 'T1' 'JOIN' + 'Templates' 'AS' 'T2' 'ON' 'T1.Template_ID' '=' 'T2.Template_ID' 'WHERE' + 'T2.Template_Type_Code' '=' ""'PPT"" ""'""]","['select' 'count' '(' '*' ')' 'from' 'documents' 'as' 't1' 'join' + 'templates' 'as' 't2' 'on' 't1' '.' 'template_id' '=' 't2' '.' + 'template_id' 'where' 't2' '.' 'template_type_code' '=' 'value']","['How' 'many' 'documents' 'are' 'using' 'the' 'template' 'with' 'type' + 'code' ""'PPT"" ""'"" '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +308,cre_Doc_Template_Mgt,SELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID = T2.Template_ID WHERE T2.Template_Type_Code = 'PPT',Count the number of documents that use the PPT template type.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Documents' 'AS' 'T1' 'JOIN' + 'Templates' 'AS' 'T2' 'ON' 'T1.Template_ID' '=' 'T2.Template_ID' 'WHERE' + 'T2.Template_Type_Code' '=' ""'PPT"" ""'""]","['select' 'count' '(' '*' ')' 'from' 'documents' 'as' 't1' 'join' + 'templates' 'as' 't2' 'on' 't1' '.' 'template_id' '=' 't2' '.' + 'template_id' 'where' 't2' '.' 'template_type_code' '=' 'value']","['Count' 'the' 'number' 'of' 'documents' 'that' 'use' 'the' 'PPT' + 'template' 'type' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +309,cre_Doc_Template_Mgt,"SELECT template_id , count(*) FROM Documents GROUP BY template_id",Show all template ids and number of documents using each template.,"['SELECT' 'template_id' ',' 'count' '(' '*' ')' 'FROM' 'Documents' 'GROUP' + 'BY' 'template_id']","['select' 'template_id' ',' 'count' '(' '*' ')' 'from' 'documents' 'group' + 'by' 'template_id']","['Show' 'all' 'template' 'ids' 'and' 'number' 'of' 'documents' 'using' + 'each' 'template' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +310,cre_Doc_Template_Mgt,"SELECT template_id , count(*) FROM Documents GROUP BY template_id","What are all different template ids used for documents, and how many times were each of them used?","['SELECT' 'template_id' ',' 'count' '(' '*' ')' 'FROM' 'Documents' 'GROUP' + 'BY' 'template_id']","['select' 'template_id' ',' 'count' '(' '*' ')' 'from' 'documents' 'group' + 'by' 'template_id']","['What' 'are' 'all' 'different' 'template' 'ids' 'used' 'for' 'documents' + ',' 'and' 'how' 'many' 'times' 'were' 'each' 'of' 'them' 'used' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +311,cre_Doc_Template_Mgt,"SELECT T1.template_id , T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY count(*) DESC LIMIT 1",What is the id and type code for the template used by the most documents?,"['SELECT' 'T1.template_id' ',' 'T2.Template_Type_Code' 'FROM' 'Documents' + 'AS' 'T1' 'JOIN' 'Templates' 'AS' 'T2' 'ON' 'T1.template_id' '=' + 'T2.template_id' 'GROUP' 'BY' 'T1.template_id' 'ORDER' 'BY' 'count' '(' + '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'template_id' ',' 't2' '.' 'template_type_code' 'from' + 'documents' 'as' 't1' 'join' 'templates' 'as' 't2' 'on' 't1' '.' + 'template_id' '=' 't2' '.' 'template_id' 'group' 'by' 't1' '.' + 'template_id' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['What' 'is' 'the' 'id' 'and' 'type' 'code' 'for' 'the' 'template' 'used' + 'by' 'the' 'most' 'documents' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +312,cre_Doc_Template_Mgt,"SELECT T1.template_id , T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY count(*) DESC LIMIT 1",Return the id and type code of the template that is used for the greatest number of documents.,"['SELECT' 'T1.template_id' ',' 'T2.Template_Type_Code' 'FROM' 'Documents' + 'AS' 'T1' 'JOIN' 'Templates' 'AS' 'T2' 'ON' 'T1.template_id' '=' + 'T2.template_id' 'GROUP' 'BY' 'T1.template_id' 'ORDER' 'BY' 'count' '(' + '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'template_id' ',' 't2' '.' 'template_type_code' 'from' + 'documents' 'as' 't1' 'join' 'templates' 'as' 't2' 'on' 't1' '.' + 'template_id' '=' 't2' '.' 'template_id' 'group' 'by' 't1' '.' + 'template_id' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['Return' 'the' 'id' 'and' 'type' 'code' 'of' 'the' 'template' 'that' 'is' + 'used' 'for' 'the' 'greatest' 'number' 'of' 'documents' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +313,cre_Doc_Template_Mgt,SELECT template_id FROM Documents GROUP BY template_id HAVING count(*) > 1,Show ids for all templates that are used by more than one document.,"['SELECT' 'template_id' 'FROM' 'Documents' 'GROUP' 'BY' 'template_id' + 'HAVING' 'count' '(' '*' ')' '>' '1']","['select' 'template_id' 'from' 'documents' 'group' 'by' 'template_id' + 'having' 'count' '(' '*' ')' '>' 'value']","['Show' 'ids' 'for' 'all' 'templates' 'that' 'are' 'used' 'by' 'more' + 'than' 'one' 'document' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +314,cre_Doc_Template_Mgt,SELECT template_id FROM Documents GROUP BY template_id HAVING count(*) > 1,What are the template ids of any templates used in more than a single document?,"['SELECT' 'template_id' 'FROM' 'Documents' 'GROUP' 'BY' 'template_id' + 'HAVING' 'count' '(' '*' ')' '>' '1']","['select' 'template_id' 'from' 'documents' 'group' 'by' 'template_id' + 'having' 'count' '(' '*' ')' '>' 'value']","['What' 'are' 'the' 'template' 'ids' 'of' 'any' 'templates' 'used' 'in' + 'more' 'than' 'a' 'single' 'document' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +315,cre_Doc_Template_Mgt,SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents,Show ids for all templates not used by any document.,"['SELECT' 'template_id' 'FROM' 'Templates' 'EXCEPT' 'SELECT' 'template_id' + 'FROM' 'Documents']","['select' 'template_id' 'from' 'templates' 'except' 'select' 'template_id' + 'from' 'documents']","['Show' 'ids' 'for' 'all' 'templates' 'not' 'used' 'by' 'any' 'document' + '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +316,cre_Doc_Template_Mgt,SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents,What are the ids for templates that are not used in any documents?,"['SELECT' 'template_id' 'FROM' 'Templates' 'EXCEPT' 'SELECT' 'template_id' + 'FROM' 'Documents']","['select' 'template_id' 'from' 'templates' 'except' 'select' 'template_id' + 'from' 'documents']","['What' 'are' 'the' 'ids' 'for' 'templates' 'that' 'are' 'not' 'used' 'in' + 'any' 'documents' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +317,cre_Doc_Template_Mgt,SELECT count(*) FROM Templates,How many templates do we have?,['SELECT' 'count' '(' '*' ')' 'FROM' 'Templates'],['select' 'count' '(' '*' ')' 'from' 'templates'],['How' 'many' 'templates' 'do' 'we' 'have' '?'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +318,cre_Doc_Template_Mgt,SELECT count(*) FROM Templates,Count the number of templates.,['SELECT' 'count' '(' '*' ')' 'FROM' 'Templates'],['select' 'count' '(' '*' ')' 'from' 'templates'],['Count' 'the' 'number' 'of' 'templates' '.'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +319,cre_Doc_Template_Mgt,"SELECT template_id , version_number , template_type_code FROM Templates","Show template ids, version numbers, and template type codes for all templates.","['SELECT' 'template_id' ',' 'version_number' ',' 'template_type_code' + 'FROM' 'Templates']","['select' 'template_id' ',' 'version_number' ',' 'template_type_code' + 'from' 'templates']","['Show' 'template' 'ids' ',' 'version' 'numbers' ',' 'and' 'template' + 'type' 'codes' 'for' 'all' 'templates' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +320,cre_Doc_Template_Mgt,"SELECT template_id , version_number , template_type_code FROM Templates","What are the ids, version numbers, and type codes for each template?","['SELECT' 'template_id' ',' 'version_number' ',' 'template_type_code' + 'FROM' 'Templates']","['select' 'template_id' ',' 'version_number' ',' 'template_type_code' + 'from' 'templates']","['What' 'are' 'the' 'ids' ',' 'version' 'numbers' ',' 'and' 'type' 'codes' + 'for' 'each' 'template' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +321,cre_Doc_Template_Mgt,SELECT DISTINCT template_type_code FROM Templates,Show all distinct template type codes for all templates.,['SELECT' 'DISTINCT' 'template_type_code' 'FROM' 'Templates'],['select' 'distinct' 'template_type_code' 'from' 'templates'],"['Show' 'all' 'distinct' 'template' 'type' 'codes' 'for' 'all' 'templates' + '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +322,cre_Doc_Template_Mgt,SELECT DISTINCT template_type_code FROM Templates,What are the different template type codes?,['SELECT' 'DISTINCT' 'template_type_code' 'FROM' 'Templates'],['select' 'distinct' 'template_type_code' 'from' 'templates'],['What' 'are' 'the' 'different' 'template' 'type' 'codes' '?'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +323,cre_Doc_Template_Mgt,"SELECT template_id FROM Templates WHERE template_type_code = ""PP"" OR template_type_code = ""PPT""",What are the ids of templates with template type code PP or PPT?,"['SELECT' 'template_id' 'FROM' 'Templates' 'WHERE' 'template_type_code' + '=' '``' 'PP' ""''"" 'OR' 'template_type_code' '=' '``' 'PPT' ""''""]","['select' 'template_id' 'from' 'templates' 'where' 'template_type_code' + '=' 'value' 'or' 'template_type_code' '=' 'value']","['What' 'are' 'the' 'ids' 'of' 'templates' 'with' 'template' 'type' 'code' + 'PP' 'or' 'PPT' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +324,cre_Doc_Template_Mgt,"SELECT template_id FROM Templates WHERE template_type_code = ""PP"" OR template_type_code = ""PPT""",Return the ids of templates that have the code PP or PPT.,"['SELECT' 'template_id' 'FROM' 'Templates' 'WHERE' 'template_type_code' + '=' '``' 'PP' ""''"" 'OR' 'template_type_code' '=' '``' 'PPT' ""''""]","['select' 'template_id' 'from' 'templates' 'where' 'template_type_code' + '=' 'value' 'or' 'template_type_code' '=' 'value']","['Return' 'the' 'ids' 'of' 'templates' 'that' 'have' 'the' 'code' 'PP' + 'or' 'PPT' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +325,cre_Doc_Template_Mgt,"SELECT count(*) FROM Templates WHERE template_type_code = ""CV""",How many templates have template type code CV?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Templates' 'WHERE' + 'template_type_code' '=' '``' 'CV' ""''""]","['select' 'count' '(' '*' ')' 'from' 'templates' 'where' + 'template_type_code' '=' 'value']",['How' 'many' 'templates' 'have' 'template' 'type' 'code' 'CV' '?'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +326,cre_Doc_Template_Mgt,"SELECT count(*) FROM Templates WHERE template_type_code = ""CV""",Count the number of templates of the type CV.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Templates' 'WHERE' + 'template_type_code' '=' '``' 'CV' ""''""]","['select' 'count' '(' '*' ')' 'from' 'templates' 'where' + 'template_type_code' '=' 'value']",['Count' 'the' 'number' 'of' 'templates' 'of' 'the' 'type' 'CV' '.'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +327,cre_Doc_Template_Mgt,"SELECT version_number , template_type_code FROM Templates WHERE version_number > 5",What is the version number and template type code for the template with version number later than 5?,"['SELECT' 'version_number' ',' 'template_type_code' 'FROM' 'Templates' + 'WHERE' 'version_number' '>' '5']","['select' 'version_number' ',' 'template_type_code' 'from' 'templates' + 'where' 'version_number' '>' 'value']","['What' 'is' 'the' 'version' 'number' 'and' 'template' 'type' 'code' 'for' + 'the' 'template' 'with' 'version' 'number' 'later' 'than' '5' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +328,cre_Doc_Template_Mgt,"SELECT version_number , template_type_code FROM Templates WHERE version_number > 5",Return the version numbers and template type codes of templates with a version number greater than 5.,"['SELECT' 'version_number' ',' 'template_type_code' 'FROM' 'Templates' + 'WHERE' 'version_number' '>' '5']","['select' 'version_number' ',' 'template_type_code' 'from' 'templates' + 'where' 'version_number' '>' 'value']","['Return' 'the' 'version' 'numbers' 'and' 'template' 'type' 'codes' 'of' + 'templates' 'with' 'a' 'version' 'number' 'greater' 'than' '5' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +329,cre_Doc_Template_Mgt,"SELECT template_type_code , count(*) FROM Templates GROUP BY template_type_code",Show all template type codes and number of templates for each.,"['SELECT' 'template_type_code' ',' 'count' '(' '*' ')' 'FROM' 'Templates' + 'GROUP' 'BY' 'template_type_code']","['select' 'template_type_code' ',' 'count' '(' '*' ')' 'from' 'templates' + 'group' 'by' 'template_type_code']","['Show' 'all' 'template' 'type' 'codes' 'and' 'number' 'of' 'templates' + 'for' 'each' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +330,cre_Doc_Template_Mgt,"SELECT template_type_code , count(*) FROM Templates GROUP BY template_type_code","What are the different template type codes, and how many templates correspond to each?","['SELECT' 'template_type_code' ',' 'count' '(' '*' ')' 'FROM' 'Templates' + 'GROUP' 'BY' 'template_type_code']","['select' 'template_type_code' ',' 'count' '(' '*' ')' 'from' 'templates' + 'group' 'by' 'template_type_code']","['What' 'are' 'the' 'different' 'template' 'type' 'codes' ',' 'and' 'how' + 'many' 'templates' 'correspond' 'to' 'each' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +331,cre_Doc_Template_Mgt,SELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY count(*) DESC LIMIT 1,Which template type code has most number of templates?,"['SELECT' 'template_type_code' 'FROM' 'Templates' 'GROUP' 'BY' + 'template_type_code' 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'template_type_code' 'from' 'templates' 'group' 'by' + 'template_type_code' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' + 'value']","['Which' 'template' 'type' 'code' 'has' 'most' 'number' 'of' 'templates' + '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +332,cre_Doc_Template_Mgt,SELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY count(*) DESC LIMIT 1,Return the type code of the template type that the most templates belong to.,"['SELECT' 'template_type_code' 'FROM' 'Templates' 'GROUP' 'BY' + 'template_type_code' 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'template_type_code' 'from' 'templates' 'group' 'by' + 'template_type_code' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' + 'value']","['Return' 'the' 'type' 'code' 'of' 'the' 'template' 'type' 'that' 'the' + 'most' 'templates' 'belong' 'to' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +333,cre_Doc_Template_Mgt,SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING count(*) < 3,Show all template type codes with less than three templates.,"['SELECT' 'template_type_code' 'FROM' 'Templates' 'GROUP' 'BY' + 'template_type_code' 'HAVING' 'count' '(' '*' ')' '<' '3']","['select' 'template_type_code' 'from' 'templates' 'group' 'by' + 'template_type_code' 'having' 'count' '(' '*' ')' '<' 'value']","['Show' 'all' 'template' 'type' 'codes' 'with' 'less' 'than' 'three' + 'templates' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +334,cre_Doc_Template_Mgt,SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING count(*) < 3,What are the codes of template types that have fewer than 3 templates?,"['SELECT' 'template_type_code' 'FROM' 'Templates' 'GROUP' 'BY' + 'template_type_code' 'HAVING' 'count' '(' '*' ')' '<' '3']","['select' 'template_type_code' 'from' 'templates' 'group' 'by' + 'template_type_code' 'having' 'count' '(' '*' ')' '<' 'value']","['What' 'are' 'the' 'codes' 'of' 'template' 'types' 'that' 'have' 'fewer' + 'than' '3' 'templates' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +335,cre_Doc_Template_Mgt,"SELECT min(Version_Number) , template_type_code FROM Templates",What the smallest version number and its template type code?,"['SELECT' 'min' '(' 'Version_Number' ')' ',' 'template_type_code' 'FROM' + 'Templates']","['select' 'min' '(' 'version_number' ')' ',' 'template_type_code' 'from' + 'templates']","['What' 'the' 'smallest' 'version' 'number' 'and' 'its' 'template' 'type' + 'code' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +336,cre_Doc_Template_Mgt,"SELECT min(Version_Number) , template_type_code FROM Templates","Return the lowest version number, along with its corresponding template type code.","['SELECT' 'min' '(' 'Version_Number' ')' ',' 'template_type_code' 'FROM' + 'Templates']","['select' 'min' '(' 'version_number' ')' ',' 'template_type_code' 'from' + 'templates']","['Return' 'the' 'lowest' 'version' 'number' ',' 'along' 'with' 'its' + 'corresponding' 'template' 'type' 'code' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +337,cre_Doc_Template_Mgt,"SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = ""Data base""","What is the template type code of the template used by document with the name ""Data base""?","['SELECT' 'T1.template_type_code' 'FROM' 'Templates' 'AS' 'T1' 'JOIN' + 'Documents' 'AS' 'T2' 'ON' 'T1.template_id' '=' 'T2.template_id' 'WHERE' + 'T2.document_name' '=' '``' 'Data' 'base' ""''""]","['select' 't1' '.' 'template_type_code' 'from' 'templates' 'as' 't1' + 'join' 'documents' 'as' 't2' 'on' 't1' '.' 'template_id' '=' 't2' '.' + 'template_id' 'where' 't2' '.' 'document_name' '=' 'value']","['What' 'is' 'the' 'template' 'type' 'code' 'of' 'the' 'template' 'used' + 'by' 'document' 'with' 'the' 'name' '``' 'Data' 'base' ""''"" '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +338,cre_Doc_Template_Mgt,"SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = ""Data base""",Return the template type code of the template that is used by a document named Data base.,"['SELECT' 'T1.template_type_code' 'FROM' 'Templates' 'AS' 'T1' 'JOIN' + 'Documents' 'AS' 'T2' 'ON' 'T1.template_id' '=' 'T2.template_id' 'WHERE' + 'T2.document_name' '=' '``' 'Data' 'base' ""''""]","['select' 't1' '.' 'template_type_code' 'from' 'templates' 'as' 't1' + 'join' 'documents' 'as' 't2' 'on' 't1' '.' 'template_id' '=' 't2' '.' + 'template_id' 'where' 't2' '.' 'document_name' '=' 'value']","['Return' 'the' 'template' 'type' 'code' 'of' 'the' 'template' 'that' 'is' + 'used' 'by' 'a' 'document' 'named' 'Data' 'base' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +339,cre_Doc_Template_Mgt,"SELECT T2.document_name FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T1.template_type_code = ""BK""",Show all document names using templates with template type code BK.,"['SELECT' 'T2.document_name' 'FROM' 'Templates' 'AS' 'T1' 'JOIN' + 'Documents' 'AS' 'T2' 'ON' 'T1.template_id' '=' 'T2.template_id' 'WHERE' + 'T1.template_type_code' '=' '``' 'BK' ""''""]","['select' 't2' '.' 'document_name' 'from' 'templates' 'as' 't1' 'join' + 'documents' 'as' 't2' 'on' 't1' '.' 'template_id' '=' 't2' '.' + 'template_id' 'where' 't1' '.' 'template_type_code' '=' 'value']","['Show' 'all' 'document' 'names' 'using' 'templates' 'with' 'template' + 'type' 'code' 'BK' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +340,cre_Doc_Template_Mgt,"SELECT T2.document_name FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T1.template_type_code = ""BK""",What are the names of documents that use templates with the code BK?,"['SELECT' 'T2.document_name' 'FROM' 'Templates' 'AS' 'T1' 'JOIN' + 'Documents' 'AS' 'T2' 'ON' 'T1.template_id' '=' 'T2.template_id' 'WHERE' + 'T1.template_type_code' '=' '``' 'BK' ""''""]","['select' 't2' '.' 'document_name' 'from' 'templates' 'as' 't1' 'join' + 'documents' 'as' 't2' 'on' 't1' '.' 'template_id' '=' 't2' '.' + 'template_id' 'where' 't1' '.' 'template_type_code' '=' 'value']","['What' 'are' 'the' 'names' 'of' 'documents' 'that' 'use' 'templates' + 'with' 'the' 'code' 'BK' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +341,cre_Doc_Template_Mgt,"SELECT T1.template_type_code , count(*) FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code",Show all template type codes and the number of documents using each type.,"['SELECT' 'T1.template_type_code' ',' 'count' '(' '*' ')' 'FROM' + 'Templates' 'AS' 'T1' 'JOIN' 'Documents' 'AS' 'T2' 'ON' 'T1.template_id' + '=' 'T2.template_id' 'GROUP' 'BY' 'T1.template_type_code']","['select' 't1' '.' 'template_type_code' ',' 'count' '(' '*' ')' 'from' + 'templates' 'as' 't1' 'join' 'documents' 'as' 't2' 'on' 't1' '.' + 'template_id' '=' 't2' '.' 'template_id' 'group' 'by' 't1' '.' + 'template_type_code']","['Show' 'all' 'template' 'type' 'codes' 'and' 'the' 'number' 'of' + 'documents' 'using' 'each' 'type' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +342,cre_Doc_Template_Mgt,"SELECT T1.template_type_code , count(*) FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code","What are the different template type codes, and how many documents use each type?","['SELECT' 'T1.template_type_code' ',' 'count' '(' '*' ')' 'FROM' + 'Templates' 'AS' 'T1' 'JOIN' 'Documents' 'AS' 'T2' 'ON' 'T1.template_id' + '=' 'T2.template_id' 'GROUP' 'BY' 'T1.template_type_code']","['select' 't1' '.' 'template_type_code' ',' 'count' '(' '*' ')' 'from' + 'templates' 'as' 't1' 'join' 'documents' 'as' 't2' 'on' 't1' '.' + 'template_id' '=' 't2' '.' 'template_id' 'group' 'by' 't1' '.' + 'template_type_code']","['What' 'are' 'the' 'different' 'template' 'type' 'codes' ',' 'and' 'how' + 'many' 'documents' 'use' 'each' 'type' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +343,cre_Doc_Template_Mgt,SELECT T1.template_type_code 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,Which template type code is used by most number of documents?,"['SELECT' 'T1.template_type_code' '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']","['select' 't1' '.' 'template_type_code' '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' 'value']","['Which' 'template' 'type' 'code' 'is' 'used' 'by' 'most' 'number' 'of' + 'documents' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +344,cre_Doc_Template_Mgt,SELECT T1.template_type_code 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,Return the code of the template type that is most commonly used in documents.,"['SELECT' 'T1.template_type_code' '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']","['select' 't1' '.' 'template_type_code' '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' 'value']","['Return' 'the' 'code' 'of' 'the' 'template' 'type' 'that' 'is' 'most' + 'commonly' 'used' 'in' 'documents' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +345,cre_Doc_Template_Mgt,SELECT template_type_code FROM Templates EXCEPT SELECT template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id,Show all template type codes that are not used by any document.,"['SELECT' 'template_type_code' 'FROM' 'Templates' 'EXCEPT' 'SELECT' + 'template_type_code' 'FROM' 'Templates' 'AS' 'T1' 'JOIN' 'Documents' 'AS' + 'T2' 'ON' 'T1.template_id' '=' 'T2.template_id']","['select' 'template_type_code' 'from' 'templates' 'except' 'select' + 'template_type_code' 'from' 'templates' 'as' 't1' 'join' 'documents' 'as' + 't2' 'on' 't1' '.' 'template_id' '=' 't2' '.' 'template_id']","['Show' 'all' 'template' 'type' 'codes' 'that' 'are' 'not' 'used' 'by' + 'any' 'document' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +346,cre_Doc_Template_Mgt,SELECT template_type_code FROM Templates EXCEPT SELECT template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id,What are the codes of template types that are not used for any document?,"['SELECT' 'template_type_code' 'FROM' 'Templates' 'EXCEPT' 'SELECT' + 'template_type_code' 'FROM' 'Templates' 'AS' 'T1' 'JOIN' 'Documents' 'AS' + 'T2' 'ON' 'T1.template_id' '=' 'T2.template_id']","['select' 'template_type_code' 'from' 'templates' 'except' 'select' + 'template_type_code' 'from' 'templates' 'as' 't1' 'join' 'documents' 'as' + 't2' 'on' 't1' '.' 'template_id' '=' 't2' '.' 'template_id']","['What' 'are' 'the' 'codes' 'of' 'template' 'types' 'that' 'are' 'not' + 'used' 'for' 'any' 'document' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +347,cre_Doc_Template_Mgt,"SELECT template_type_code , template_type_description FROM Ref_template_types",Show all template type codes and descriptions.,"['SELECT' 'template_type_code' ',' 'template_type_description' 'FROM' + 'Ref_template_types']","['select' 'template_type_code' ',' 'template_type_description' 'from' + 'ref_template_types']",['Show' 'all' 'template' 'type' 'codes' 'and' 'descriptions' '.'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +348,cre_Doc_Template_Mgt,"SELECT template_type_code , template_type_description FROM Ref_template_types",What are the type codes and descriptions for all template types?,"['SELECT' 'template_type_code' ',' 'template_type_description' 'FROM' + 'Ref_template_types']","['select' 'template_type_code' ',' 'template_type_description' 'from' + 'ref_template_types']","['What' 'are' 'the' 'type' 'codes' 'and' 'descriptions' 'for' 'all' + 'template' 'types' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +349,cre_Doc_Template_Mgt,"SELECT template_type_description FROM Ref_template_types WHERE template_type_code = ""AD""","What is the template type descriptions for template type code ""AD"".","['SELECT' 'template_type_description' 'FROM' 'Ref_template_types' 'WHERE' + 'template_type_code' '=' '``' 'AD' ""''""]","['select' 'template_type_description' 'from' 'ref_template_types' 'where' + 'template_type_code' '=' 'value']","['What' 'is' 'the' 'template' 'type' 'descriptions' 'for' 'template' + 'type' 'code' '``' 'AD' ""''"" '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +350,cre_Doc_Template_Mgt,"SELECT template_type_description FROM Ref_template_types WHERE template_type_code = ""AD""",Return the template type description of the template type with the code AD.,"['SELECT' 'template_type_description' 'FROM' 'Ref_template_types' 'WHERE' + 'template_type_code' '=' '``' 'AD' ""''""]","['select' 'template_type_description' 'from' 'ref_template_types' 'where' + 'template_type_code' '=' 'value']","['Return' 'the' 'template' 'type' 'description' 'of' 'the' 'template' + 'type' 'with' 'the' 'code' 'AD' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +351,cre_Doc_Template_Mgt,"SELECT template_type_code FROM Ref_template_types WHERE template_type_description = ""Book""","What is the template type code for template type description ""Book"".","['SELECT' 'template_type_code' 'FROM' 'Ref_template_types' 'WHERE' + 'template_type_description' '=' '``' 'Book' ""''""]","['select' 'template_type_code' 'from' 'ref_template_types' 'where' + 'template_type_description' '=' 'value']","['What' 'is' 'the' 'template' 'type' 'code' 'for' 'template' 'type' + 'description' '``' 'Book' ""''"" '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +352,cre_Doc_Template_Mgt,"SELECT template_type_code FROM Ref_template_types WHERE template_type_description = ""Book""","Return the type code of the template type with the description ""Book"".","['SELECT' 'template_type_code' 'FROM' 'Ref_template_types' 'WHERE' + 'template_type_description' '=' '``' 'Book' ""''""]","['select' 'template_type_code' 'from' 'ref_template_types' 'where' + 'template_type_description' '=' 'value']","['Return' 'the' 'type' 'code' 'of' 'the' 'template' 'type' 'with' 'the' + 'description' '``' 'Book' ""''"" '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +353,cre_Doc_Template_Mgt,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,What are the distinct template type descriptions for the templates ever used by any document?,"['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']","['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']","['What' 'are' 'the' 'distinct' 'template' 'type' 'descriptions' 'for' + 'the' 'templates' 'ever' 'used' 'by' 'any' 'document' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +354,cre_Doc_Template_Mgt,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,Return the different descriptions for templates that have been used in a document.,"['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']","['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']","['Return' 'the' 'different' 'descriptions' 'for' 'templates' 'that' 'have' + 'been' 'used' 'in' 'a' 'document' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +355,cre_Doc_Template_Mgt,"SELECT T2.template_id 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""","What are the template ids with template type description ""Presentation"".","['SELECT' 'T2.template_id' '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' ""''""]","['select' 't2' '.' 'template_id' 'from' 'ref_template_types' 'as' 't1' + 'join' 'templates' 'as' 't2' 'on' 't1' '.' 'template_type_code' '=' 't2' + '.' 'template_type_code' 'where' 't1' '.' 'template_type_description' '=' + 'value']","['What' 'are' 'the' 'template' 'ids' 'with' 'template' 'type' + 'description' '``' 'Presentation' ""''"" '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +356,cre_Doc_Template_Mgt,"SELECT T2.template_id 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""",Return the ids corresponding to templates with the description 'Presentation'.,"['SELECT' 'T2.template_id' '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' ""''""]","['select' 't2' '.' 'template_id' 'from' 'ref_template_types' 'as' 't1' + 'join' 'templates' 'as' 't2' 'on' 't1' '.' 'template_type_code' '=' 't2' + '.' 'template_type_code' 'where' 't1' '.' 'template_type_description' '=' + 'value']","['Return' 'the' 'ids' 'corresponding' 'to' 'templates' 'with' 'the' + 'description' ""'Presentation"" ""'"" '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +357,cre_Doc_Template_Mgt,SELECT count(*) FROM Paragraphs,How many paragraphs in total?,['SELECT' 'count' '(' '*' ')' 'FROM' 'Paragraphs'],['select' 'count' '(' '*' ')' 'from' 'paragraphs'],['How' 'many' 'paragraphs' 'in' 'total' '?'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +358,cre_Doc_Template_Mgt,SELECT count(*) FROM Paragraphs,Count the number of paragraphs.,['SELECT' 'count' '(' '*' ')' 'FROM' 'Paragraphs'],['select' 'count' '(' '*' ')' 'from' 'paragraphs'],['Count' 'the' 'number' 'of' 'paragraphs' '.'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +359,cre_Doc_Template_Mgt,SELECT count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_ID = T2.document_ID WHERE T2.document_name = 'Summer Show',How many paragraphs for the document with name 'Summer Show'?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Paragraphs' 'AS' 'T1' 'JOIN' + 'Documents' 'AS' 'T2' 'ON' 'T1.document_ID' '=' 'T2.document_ID' 'WHERE' + 'T2.document_name' '=' ""'Summer"" 'Show' ""'""]","['select' 'count' '(' '*' ')' 'from' 'paragraphs' 'as' 't1' 'join' + 'documents' 'as' 't2' 'on' 't1' '.' 'document_id' '=' 't2' '.' + 'document_id' 'where' 't2' '.' 'document_name' '=' 'value']","['How' 'many' 'paragraphs' 'for' 'the' 'document' 'with' 'name' ""'Summer"" + 'Show' ""'"" '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +360,cre_Doc_Template_Mgt,SELECT count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_ID = T2.document_ID WHERE T2.document_name = 'Summer Show',Count the number of paragraphs in the document named 'Summer Show'.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Paragraphs' 'AS' 'T1' 'JOIN' + 'Documents' 'AS' 'T2' 'ON' 'T1.document_ID' '=' 'T2.document_ID' 'WHERE' + 'T2.document_name' '=' ""'Summer"" 'Show' ""'""]","['select' 'count' '(' '*' ')' 'from' 'paragraphs' 'as' 't1' 'join' + 'documents' 'as' 't2' 'on' 't1' '.' 'document_id' '=' 't2' '.' + 'document_id' 'where' 't2' '.' 'document_name' '=' 'value']","['Count' 'the' 'number' 'of' 'paragraphs' 'in' 'the' 'document' 'named' + ""'Summer"" 'Show' ""'"" '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +361,cre_Doc_Template_Mgt,select other_details from paragraphs where paragraph_text like 'korea',Show paragraph details for paragraph with text 'Korea ' .,"['select' 'other_details' 'from' 'paragraphs' 'where' 'paragraph_text' + 'like' '""korea""']","['select' 'other_details' 'from' 'paragraphs' 'where' 'paragraph_text' + 'like' 'value']","['Show' 'paragraph' 'details' 'for' 'paragraph' 'with' 'text' ""'Korea"" ""'"" + '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +362,cre_Doc_Template_Mgt,select other_details from paragraphs where paragraph_text like 'korea',What are the details for the paragraph that includes the text 'Korea ' ?,"['select' 'other_details' 'from' 'paragraphs' 'where' 'paragraph_text' + 'like' '""korea""']","['select' 'other_details' 'from' 'paragraphs' 'where' 'paragraph_text' + 'like' 'value']","['What' 'are' 'the' 'details' 'for' 'the' 'paragraph' 'that' 'includes' + 'the' 'text' ""'Korea"" ""'"" '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +363,cre_Doc_Template_Mgt,"SELECT T1.paragraph_id , T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.Document_Name = 'Welcome to NY'",Show all paragraph ids and texts for the document with name 'Welcome to NY'.,"['SELECT' 'T1.paragraph_id' ',' 'T1.paragraph_text' 'FROM' 'Paragraphs' + 'AS' 'T1' 'JOIN' 'Documents' 'AS' 'T2' 'ON' 'T1.document_id' '=' + 'T2.document_id' 'WHERE' 'T2.Document_Name' '=' ""'Welcome"" 'to' 'NY' ""'""]","['select' 't1' '.' 'paragraph_id' ',' 't1' '.' 'paragraph_text' 'from' + 'paragraphs' 'as' 't1' 'join' 'documents' 'as' 't2' 'on' 't1' '.' + 'document_id' '=' 't2' '.' 'document_id' 'where' 't2' '.' 'document_name' + '=' 'value']","['Show' 'all' 'paragraph' 'ids' 'and' 'texts' 'for' 'the' 'document' + 'with' 'name' ""'Welcome"" 'to' 'NY' ""'"" '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +364,cre_Doc_Template_Mgt,"SELECT T1.paragraph_id , T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.Document_Name = 'Welcome to NY'",What are the ids and texts of paragraphs in the document titled 'Welcome to NY'?,"['SELECT' 'T1.paragraph_id' ',' 'T1.paragraph_text' 'FROM' 'Paragraphs' + 'AS' 'T1' 'JOIN' 'Documents' 'AS' 'T2' 'ON' 'T1.document_id' '=' + 'T2.document_id' 'WHERE' 'T2.Document_Name' '=' ""'Welcome"" 'to' 'NY' ""'""]","['select' 't1' '.' 'paragraph_id' ',' 't1' '.' 'paragraph_text' 'from' + 'paragraphs' 'as' 't1' 'join' 'documents' 'as' 't2' 'on' 't1' '.' + 'document_id' '=' 't2' '.' 'document_id' 'where' 't2' '.' 'document_name' + '=' 'value']","['What' 'are' 'the' 'ids' 'and' 'texts' 'of' 'paragraphs' 'in' 'the' + 'document' 'titled' ""'Welcome"" 'to' 'NY' ""'"" '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +365,cre_Doc_Template_Mgt,"SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = ""Customer reviews""","Show all paragraph texts for the document ""Customer reviews"".","['SELECT' 'T1.paragraph_text' 'FROM' 'Paragraphs' 'AS' 'T1' 'JOIN' + 'Documents' 'AS' 'T2' 'ON' 'T1.document_id' '=' 'T2.document_id' 'WHERE' + 'T2.document_name' '=' '``' 'Customer' 'reviews' ""''""]","['select' 't1' '.' 'paragraph_text' 'from' 'paragraphs' 'as' 't1' 'join' + 'documents' 'as' 't2' 'on' 't1' '.' 'document_id' '=' 't2' '.' + 'document_id' 'where' 't2' '.' 'document_name' '=' 'value']","['Show' 'all' 'paragraph' 'texts' 'for' 'the' 'document' '``' 'Customer' + 'reviews' ""''"" '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +366,cre_Doc_Template_Mgt,"SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = ""Customer reviews""",What are the paragraph texts for the document with the name 'Customer reviews'?,"['SELECT' 'T1.paragraph_text' 'FROM' 'Paragraphs' 'AS' 'T1' 'JOIN' + 'Documents' 'AS' 'T2' 'ON' 'T1.document_id' '=' 'T2.document_id' 'WHERE' + 'T2.document_name' '=' '``' 'Customer' 'reviews' ""''""]","['select' 't1' '.' 'paragraph_text' 'from' 'paragraphs' 'as' 't1' 'join' + 'documents' 'as' 't2' 'on' 't1' '.' 'document_id' '=' 't2' '.' + 'document_id' 'where' 't2' '.' 'document_name' '=' 'value']","['What' 'are' 'the' 'paragraph' 'texts' 'for' 'the' 'document' 'with' + 'the' 'name' ""'Customer"" 'reviews' ""'"" '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +367,cre_Doc_Template_Mgt,"SELECT document_id , count(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id",Show all document ids and the number of paragraphs in each document. Order by document id.,"['SELECT' 'document_id' ',' 'count' '(' '*' ')' 'FROM' 'Paragraphs' + 'GROUP' 'BY' 'document_id' 'ORDER' 'BY' 'document_id']","['select' 'document_id' ',' 'count' '(' '*' ')' 'from' 'paragraphs' + 'group' 'by' 'document_id' 'order' 'by' 'document_id']","['Show' 'all' 'document' 'ids' 'and' 'the' 'number' 'of' 'paragraphs' 'in' + 'each' 'document' '.' 'Order' 'by' 'document' 'id' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +368,cre_Doc_Template_Mgt,"SELECT document_id , count(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id","Return the different document ids along with the number of paragraphs corresponding to each, ordered by id.","['SELECT' 'document_id' ',' 'count' '(' '*' ')' 'FROM' 'Paragraphs' + 'GROUP' 'BY' 'document_id' 'ORDER' 'BY' 'document_id']","['select' 'document_id' ',' 'count' '(' '*' ')' 'from' 'paragraphs' + 'group' 'by' 'document_id' 'order' 'by' 'document_id']","['Return' 'the' 'different' 'document' 'ids' 'along' 'with' 'the' 'number' + 'of' 'paragraphs' 'corresponding' 'to' 'each' ',' 'ordered' 'by' 'id' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +369,cre_Doc_Template_Mgt,"SELECT T1.document_id , T2.document_name , count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id","Show all document ids, names and the number of paragraphs in each document.","['SELECT' 'T1.document_id' ',' 'T2.document_name' ',' 'count' '(' '*' ')' + 'FROM' 'Paragraphs' 'AS' 'T1' 'JOIN' 'Documents' 'AS' 'T2' 'ON' + 'T1.document_id' '=' 'T2.document_id' 'GROUP' 'BY' 'T1.document_id']","['select' 't1' '.' 'document_id' ',' 't2' '.' 'document_name' ',' 'count' + '(' '*' ')' 'from' 'paragraphs' 'as' 't1' 'join' 'documents' 'as' 't2' + 'on' 't1' '.' 'document_id' '=' 't2' '.' 'document_id' 'group' 'by' 't1' + '.' 'document_id']","['Show' 'all' 'document' 'ids' ',' 'names' 'and' 'the' 'number' 'of' + 'paragraphs' 'in' 'each' 'document' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +370,cre_Doc_Template_Mgt,"SELECT T1.document_id , T2.document_name , count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id","What are the ids and names of each document, as well as the number of paragraphs in each?","['SELECT' 'T1.document_id' ',' 'T2.document_name' ',' 'count' '(' '*' ')' + 'FROM' 'Paragraphs' 'AS' 'T1' 'JOIN' 'Documents' 'AS' 'T2' 'ON' + 'T1.document_id' '=' 'T2.document_id' 'GROUP' 'BY' 'T1.document_id']","['select' 't1' '.' 'document_id' ',' 't2' '.' 'document_name' ',' 'count' + '(' '*' ')' 'from' 'paragraphs' 'as' 't1' 'join' 'documents' 'as' 't2' + 'on' 't1' '.' 'document_id' '=' 't2' '.' 'document_id' 'group' 'by' 't1' + '.' 'document_id']","['What' 'are' 'the' 'ids' 'and' 'names' 'of' 'each' 'document' ',' 'as' + 'well' 'as' 'the' 'number' 'of' 'paragraphs' 'in' 'each' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +371,cre_Doc_Template_Mgt,SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) >= 2,List all document ids with at least two paragraphs.,"['SELECT' 'document_id' 'FROM' 'Paragraphs' 'GROUP' 'BY' 'document_id' + 'HAVING' 'count' '(' '*' ')' '>' '=' '2']","['select' 'document_id' 'from' 'paragraphs' 'group' 'by' 'document_id' + 'having' 'count' '(' '*' ')' '>' '=' 'value']",['List' 'all' 'document' 'ids' 'with' 'at' 'least' 'two' 'paragraphs' '.'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +372,cre_Doc_Template_Mgt,SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) >= 2,What are the ids of documents that have 2 or more paragraphs?,"['SELECT' 'document_id' 'FROM' 'Paragraphs' 'GROUP' 'BY' 'document_id' + 'HAVING' 'count' '(' '*' ')' '>' '=' '2']","['select' 'document_id' 'from' 'paragraphs' 'group' 'by' 'document_id' + 'having' 'count' '(' '*' ')' '>' '=' 'value']","['What' 'are' 'the' 'ids' 'of' 'documents' 'that' 'have' '2' 'or' 'more' + 'paragraphs' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +373,cre_Doc_Template_Mgt,"SELECT T1.document_id , T2.document_name FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id ORDER BY count(*) DESC LIMIT 1",What is the document id and name with greatest number of paragraphs?,"['SELECT' 'T1.document_id' ',' 'T2.document_name' 'FROM' 'Paragraphs' 'AS' + 'T1' 'JOIN' 'Documents' 'AS' 'T2' 'ON' 'T1.document_id' '=' + 'T2.document_id' 'GROUP' 'BY' 'T1.document_id' 'ORDER' 'BY' 'count' '(' + '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'document_id' ',' 't2' '.' 'document_name' 'from' + 'paragraphs' 'as' 't1' 'join' 'documents' 'as' 't2' 'on' 't1' '.' + 'document_id' '=' 't2' '.' 'document_id' 'group' 'by' 't1' '.' + 'document_id' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['What' 'is' 'the' 'document' 'id' 'and' 'name' 'with' 'greatest' 'number' + 'of' 'paragraphs' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +374,cre_Doc_Template_Mgt,"SELECT T1.document_id , T2.document_name FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id ORDER BY count(*) DESC LIMIT 1",Return the id and name of the document with the most paragraphs.,"['SELECT' 'T1.document_id' ',' 'T2.document_name' 'FROM' 'Paragraphs' 'AS' + 'T1' 'JOIN' 'Documents' 'AS' 'T2' 'ON' 'T1.document_id' '=' + 'T2.document_id' 'GROUP' 'BY' 'T1.document_id' 'ORDER' 'BY' 'count' '(' + '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'document_id' ',' 't2' '.' 'document_name' 'from' + 'paragraphs' 'as' 't1' 'join' 'documents' 'as' 't2' 'on' 't1' '.' + 'document_id' '=' 't2' '.' 'document_id' 'group' 'by' 't1' '.' + 'document_id' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['Return' 'the' 'id' 'and' 'name' 'of' 'the' 'document' 'with' 'the' + 'most' 'paragraphs' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +375,cre_Doc_Template_Mgt,SELECT document_id FROM Paragraphs GROUP BY document_id ORDER BY count(*) ASC LIMIT 1,What is the document id with least number of paragraphs?,"['SELECT' 'document_id' 'FROM' 'Paragraphs' 'GROUP' 'BY' 'document_id' + 'ORDER' 'BY' 'count' '(' '*' ')' 'ASC' 'LIMIT' '1']","['select' 'document_id' 'from' 'paragraphs' 'group' 'by' 'document_id' + 'order' 'by' 'count' '(' '*' ')' 'asc' 'limit' 'value']","['What' 'is' 'the' 'document' 'id' 'with' 'least' 'number' 'of' + 'paragraphs' '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +376,cre_Doc_Template_Mgt,SELECT document_id FROM Paragraphs GROUP BY document_id ORDER BY count(*) ASC LIMIT 1,Return the id of the document with the fewest paragraphs.,"['SELECT' 'document_id' 'FROM' 'Paragraphs' 'GROUP' 'BY' 'document_id' + 'ORDER' 'BY' 'count' '(' '*' ')' 'ASC' 'LIMIT' '1']","['select' 'document_id' 'from' 'paragraphs' 'group' 'by' 'document_id' + 'order' 'by' 'count' '(' '*' ')' 'asc' 'limit' 'value']","['Return' 'the' 'id' 'of' 'the' 'document' 'with' 'the' 'fewest' + 'paragraphs' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +377,cre_Doc_Template_Mgt,SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) BETWEEN 1 AND 2,What is the document id with 1 to 2 paragraphs?,"['SELECT' 'document_id' 'FROM' 'Paragraphs' 'GROUP' 'BY' 'document_id' + 'HAVING' 'count' '(' '*' ')' 'BETWEEN' '1' 'AND' '2']","['select' 'document_id' 'from' 'paragraphs' 'group' 'by' 'document_id' + 'having' 'count' '(' '*' ')' 'between' 'value' 'and' 'value']",['What' 'is' 'the' 'document' 'id' 'with' '1' 'to' '2' 'paragraphs' '?'],"['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +378,cre_Doc_Template_Mgt,SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) BETWEEN 1 AND 2,Give the ids of documents that have between one and two paragraphs.,"['SELECT' 'document_id' 'FROM' 'Paragraphs' 'GROUP' 'BY' 'document_id' + 'HAVING' 'count' '(' '*' ')' 'BETWEEN' '1' 'AND' '2']","['select' 'document_id' 'from' 'paragraphs' 'group' 'by' 'document_id' + 'having' 'count' '(' '*' ')' 'between' 'value' 'and' 'value']","['Give' 'the' 'ids' 'of' 'documents' 'that' 'have' 'between' 'one' 'and' + 'two' 'paragraphs' '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +379,cre_Doc_Template_Mgt,SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Brazil' INTERSECT SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Ireland',Show the document id with paragraph text 'Brazil' and 'Ireland'.,"['SELECT' 'document_id' 'FROM' 'Paragraphs' 'WHERE' 'paragraph_text' '=' + ""'Brazil"" ""'"" 'INTERSECT' 'SELECT' 'document_id' 'FROM' 'Paragraphs' + 'WHERE' 'paragraph_text' '=' ""'Ireland"" ""'""]","['select' 'document_id' 'from' 'paragraphs' 'where' 'paragraph_text' '=' + 'value' 'intersect' 'select' 'document_id' 'from' 'paragraphs' 'where' + 'paragraph_text' '=' 'value']","['Show' 'the' 'document' 'id' 'with' 'paragraph' 'text' ""'Brazil"" ""'"" + 'and' ""'Ireland"" ""'"" '.']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +380,cre_Doc_Template_Mgt,SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Brazil' INTERSECT SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Ireland',What are the ids of documents that contain the paragraph text 'Brazil' and 'Ireland'?,"['SELECT' 'document_id' 'FROM' 'Paragraphs' 'WHERE' 'paragraph_text' '=' + ""'Brazil"" ""'"" 'INTERSECT' 'SELECT' 'document_id' 'FROM' 'Paragraphs' + 'WHERE' 'paragraph_text' '=' ""'Ireland"" ""'""]","['select' 'document_id' 'from' 'paragraphs' 'where' 'paragraph_text' '=' + 'value' 'intersect' 'select' 'document_id' 'from' 'paragraphs' 'where' + 'paragraph_text' '=' 'value']","['What' 'are' 'the' 'ids' 'of' 'documents' 'that' 'contain' 'the' + 'paragraph' 'text' ""'Brazil"" ""'"" 'and' ""'Ireland"" ""'"" '?']","['template type code', 'template type description', 'template id', 'version number', 'template type code', 'date effective from', 'date effective to', 'template details', 'document id', 'template id', 'document name', 'document description', 'other details', 'paragraph id', 'document id', 'paragraph text', 'other details']" +381,course_teach,SELECT count(*) FROM teacher,How many teachers are there?,['SELECT' 'count' '(' '*' ')' 'FROM' 'teacher'],['select' 'count' '(' '*' ')' 'from' 'teacher'],['How' 'many' 'teachers' 'are' 'there' '?'],"['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +382,course_teach,SELECT count(*) FROM teacher,What is the total count of teachers?,['SELECT' 'count' '(' '*' ')' 'FROM' 'teacher'],['select' 'count' '(' '*' ')' 'from' 'teacher'],['What' 'is' 'the' 'total' 'count' 'of' 'teachers' '?'],"['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +383,course_teach,SELECT Name FROM teacher ORDER BY Age ASC,List the names of teachers in ascending order of age.,['SELECT' 'Name' 'FROM' 'teacher' 'ORDER' 'BY' 'Age' 'ASC'],['select' 'name' 'from' 'teacher' 'order' 'by' 'age' 'asc'],"['List' 'the' 'names' 'of' 'teachers' 'in' 'ascending' 'order' 'of' 'age' + '.']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +384,course_teach,SELECT Name FROM teacher ORDER BY Age ASC,What are the names of the teachers ordered by ascending age?,['SELECT' 'Name' 'FROM' 'teacher' 'ORDER' 'BY' 'Age' 'ASC'],['select' 'name' 'from' 'teacher' 'order' 'by' 'age' 'asc'],"['What' 'are' 'the' 'names' 'of' 'the' 'teachers' 'ordered' 'by' + 'ascending' 'age' '?']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +385,course_teach,"SELECT Age , Hometown FROM teacher",What are the age and hometown of teachers?,"['SELECT' 'Age' ',' 'Hometown' 'FROM' 'teacher']","['select' 'age' ',' 'hometown' 'from' 'teacher']",['What' 'are' 'the' 'age' 'and' 'hometown' 'of' 'teachers' '?'],"['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +386,course_teach,"SELECT Age , Hometown FROM teacher",What is the age and hometown of every teacher?,"['SELECT' 'Age' ',' 'Hometown' 'FROM' 'teacher']","['select' 'age' ',' 'hometown' 'from' 'teacher']",['What' 'is' 'the' 'age' 'and' 'hometown' 'of' 'every' 'teacher' '?'],"['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +387,course_teach,"select name from teacher where hometown != ""little lever urban district""",List the name of teachers whose hometown is not `` Little Lever Urban District '' .,"['select' 'name' 'from' 'teacher' 'where' 'hometown' '!=' + '""little lever urban district""']",['select' 'name' 'from' 'teacher' 'where' 'hometown' '!' '=' 'value'],"['List' 'the' 'name' 'of' 'teachers' 'whose' 'hometown' 'is' 'not' '``' + 'Little' 'Lever' 'Urban' 'District' ""''"" '.']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +388,course_teach,"select name from teacher where hometown != ""little lever urban district""",What are the names of the teachers whose hometown is not `` Little Lever Urban District '' ?,"['select' 'name' 'from' 'teacher' 'where' 'hometown' '!=' + '""little lever urban district""']",['select' 'name' 'from' 'teacher' 'where' 'hometown' '!' '=' 'value'],"['What' 'are' 'the' 'names' 'of' 'the' 'teachers' 'whose' 'hometown' 'is' + 'not' '``' 'Little' 'Lever' 'Urban' 'District' ""''"" '?']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +389,course_teach,SELECT Name FROM teacher WHERE Age = 32 OR Age = 33,Show the name of teachers aged either 32 or 33?,"['SELECT' 'Name' 'FROM' 'teacher' 'WHERE' 'Age' '=' '32' 'OR' 'Age' '=' + '33']","['select' 'name' 'from' 'teacher' 'where' 'age' '=' 'value' 'or' 'age' '=' + 'value']",['Show' 'the' 'name' 'of' 'teachers' 'aged' 'either' '32' 'or' '33' '?'],"['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +390,course_teach,SELECT Name FROM teacher WHERE Age = 32 OR Age = 33,What are the names of the teachers who are aged either 32 or 33?,"['SELECT' 'Name' 'FROM' 'teacher' 'WHERE' 'Age' '=' '32' 'OR' 'Age' '=' + '33']","['select' 'name' 'from' 'teacher' 'where' 'age' '=' 'value' 'or' 'age' '=' + 'value']","['What' 'are' 'the' 'names' 'of' 'the' 'teachers' 'who' 'are' 'aged' + 'either' '32' 'or' '33' '?']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +391,course_teach,SELECT Hometown FROM teacher ORDER BY Age ASC LIMIT 1,What is the hometown of the youngest teacher?,['SELECT' 'Hometown' 'FROM' 'teacher' 'ORDER' 'BY' 'Age' 'ASC' 'LIMIT' '1'],"['select' 'hometown' 'from' 'teacher' 'order' 'by' 'age' 'asc' 'limit' + 'value']",['What' 'is' 'the' 'hometown' 'of' 'the' 'youngest' 'teacher' '?'],"['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +392,course_teach,SELECT Hometown FROM teacher ORDER BY Age ASC LIMIT 1,Where is the youngest teacher from?,['SELECT' 'Hometown' 'FROM' 'teacher' 'ORDER' 'BY' 'Age' 'ASC' 'LIMIT' '1'],"['select' 'hometown' 'from' 'teacher' 'order' 'by' 'age' 'asc' 'limit' + 'value']",['Where' 'is' 'the' 'youngest' 'teacher' 'from' '?'],"['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +393,course_teach,"SELECT Hometown , COUNT(*) FROM teacher GROUP BY Hometown",Show different hometown of teachers and the number of teachers from each hometown.,"['SELECT' 'Hometown' ',' 'COUNT' '(' '*' ')' 'FROM' 'teacher' 'GROUP' 'BY' + 'Hometown']","['select' 'hometown' ',' 'count' '(' '*' ')' 'from' 'teacher' 'group' 'by' + 'hometown']","['Show' 'different' 'hometown' 'of' 'teachers' 'and' 'the' 'number' 'of' + 'teachers' 'from' 'each' 'hometown' '.']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +394,course_teach,"SELECT Hometown , COUNT(*) FROM teacher GROUP BY Hometown","For each hometown, how many teachers are there?","['SELECT' 'Hometown' ',' 'COUNT' '(' '*' ')' 'FROM' 'teacher' 'GROUP' 'BY' + 'Hometown']","['select' 'hometown' ',' 'count' '(' '*' ')' 'from' 'teacher' 'group' 'by' + 'hometown']","['For' 'each' 'hometown' ',' 'how' 'many' 'teachers' 'are' 'there' '?']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +395,course_teach,SELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1,List the most common hometown of teachers.,"['SELECT' 'Hometown' 'FROM' 'teacher' 'GROUP' 'BY' 'Hometown' 'ORDER' 'BY' + 'COUNT' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'hometown' 'from' 'teacher' 'group' 'by' 'hometown' 'order' 'by' + 'count' '(' '*' ')' 'desc' 'limit' 'value']",['List' 'the' 'most' 'common' 'hometown' 'of' 'teachers' '.'],"['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +396,course_teach,SELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1,What is the most commmon hometowns for teachers?,"['SELECT' 'Hometown' 'FROM' 'teacher' 'GROUP' 'BY' 'Hometown' 'ORDER' 'BY' + 'COUNT' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'hometown' 'from' 'teacher' 'group' 'by' 'hometown' 'order' 'by' + 'count' '(' '*' ')' 'desc' 'limit' 'value']",['What' 'is' 'the' 'most' 'commmon' 'hometowns' 'for' 'teachers' '?'],"['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +397,course_teach,SELECT Hometown FROM teacher GROUP BY Hometown HAVING COUNT(*) >= 2,Show the hometowns shared by at least two teachers.,"['SELECT' 'Hometown' 'FROM' 'teacher' 'GROUP' 'BY' 'Hometown' 'HAVING' + 'COUNT' '(' '*' ')' '>' '=' '2']","['select' 'hometown' 'from' 'teacher' 'group' 'by' 'hometown' 'having' + 'count' '(' '*' ')' '>' '=' 'value']",['Show' 'the' 'hometowns' 'shared' 'by' 'at' 'least' 'two' 'teachers' '.'],"['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +398,course_teach,SELECT Hometown FROM teacher GROUP BY Hometown HAVING COUNT(*) >= 2,What are the towns from which at least two teachers come from?,"['SELECT' 'Hometown' 'FROM' 'teacher' 'GROUP' 'BY' 'Hometown' 'HAVING' + 'COUNT' '(' '*' ')' '>' '=' '2']","['select' 'hometown' 'from' 'teacher' 'group' 'by' 'hometown' 'having' + 'count' '(' '*' ')' '>' '=' 'value']","['What' 'are' 'the' 'towns' 'from' 'which' 'at' 'least' 'two' 'teachers' + 'come' 'from' '?']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +399,course_teach,"SELECT T3.Name , T2.Course 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",Show names of teachers and the courses they are arranged to teach.,"['SELECT' 'T3.Name' ',' 'T2.Course' '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']","['select' 't3' '.' 'name' ',' 't2' '.' 'course' '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']","['Show' 'names' 'of' 'teachers' 'and' 'the' 'courses' 'they' 'are' + 'arranged' 'to' 'teach' '.']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +400,course_teach,"SELECT T3.Name , T2.Course 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",What is the name of each teacher and what course they teach?,"['SELECT' 'T3.Name' ',' 'T2.Course' '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']","['select' 't3' '.' 'name' ',' 't2' '.' 'course' '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']","['What' 'is' 'the' 'name' 'of' 'each' 'teacher' 'and' 'what' 'course' + 'they' 'teach' '?']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +401,course_teach,"SELECT T3.Name , T2.Course 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 ORDER BY T3.Name",Show names of teachers and the courses they are arranged to teach in ascending alphabetical order of the teacher's name.,"['SELECT' 'T3.Name' ',' 'T2.Course' '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' 'ORDER' 'BY' + 'T3.Name']","['select' 't3' '.' 'name' ',' 't2' '.' 'course' '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' 'order' 'by' 't3' '.' 'name']","['Show' 'names' 'of' 'teachers' 'and' 'the' 'courses' 'they' 'are' + 'arranged' 'to' 'teach' 'in' 'ascending' 'alphabetical' 'order' 'of' + 'the' 'teacher' ""'s"" 'name' '.']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +402,course_teach,"SELECT T3.Name , T2.Course 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 ORDER BY T3.Name",What are the names of the teachers and the courses they teach in ascending alphabetical order by the name of the teacher?,"['SELECT' 'T3.Name' ',' 'T2.Course' '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' 'ORDER' 'BY' + 'T3.Name']","['select' 't3' '.' 'name' ',' 't2' '.' 'course' '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' 'order' 'by' 't3' '.' 'name']","['What' 'are' 'the' 'names' 'of' 'the' 'teachers' 'and' 'the' 'courses' + 'they' 'teach' 'in' 'ascending' 'alphabetical' 'order' 'by' 'the' 'name' + 'of' 'the' 'teacher' '?']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +403,course_teach,"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""",Show the name of the teacher for the math course.,"['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' ""''""]","['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']",['Show' 'the' 'name' 'of' 'the' 'teacher' 'for' 'the' 'math' 'course' '.'],"['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +404,course_teach,"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""",What are the names of the people who teach math courses?,"['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' ""''""]","['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']","['What' 'are' 'the' 'names' 'of' 'the' 'people' 'who' 'teach' 'math' + 'courses' '?']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +405,course_teach,"SELECT T2.Name , COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name",Show names of teachers and the number of courses they teach.,"['SELECT' 'T2.Name' ',' 'COUNT' '(' '*' ')' 'FROM' 'course_arrange' 'AS' + 'T1' 'JOIN' 'teacher' 'AS' 'T2' 'ON' 'T1.Teacher_ID' '=' 'T2.Teacher_ID' + 'GROUP' 'BY' 'T2.Name']","['select' 't2' '.' 'name' ',' 'count' '(' '*' ')' 'from' 'course_arrange' + 'as' 't1' 'join' 'teacher' 'as' 't2' 'on' 't1' '.' 'teacher_id' '=' 't2' + '.' 'teacher_id' 'group' 'by' 't2' '.' 'name']","['Show' 'names' 'of' 'teachers' 'and' 'the' 'number' 'of' 'courses' 'they' + 'teach' '.']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +406,course_teach,"SELECT T2.Name , COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name",What are the names of the teachers and how many courses do they teach?,"['SELECT' 'T2.Name' ',' 'COUNT' '(' '*' ')' 'FROM' 'course_arrange' 'AS' + 'T1' 'JOIN' 'teacher' 'AS' 'T2' 'ON' 'T1.Teacher_ID' '=' 'T2.Teacher_ID' + 'GROUP' 'BY' 'T2.Name']","['select' 't2' '.' 'name' ',' 'count' '(' '*' ')' 'from' 'course_arrange' + 'as' 't1' 'join' 'teacher' 'as' 't2' 'on' 't1' '.' 'teacher_id' '=' 't2' + '.' 'teacher_id' 'group' 'by' 't2' '.' 'name']","['What' 'are' 'the' 'names' 'of' 'the' 'teachers' 'and' 'how' 'many' + 'courses' 'do' 'they' 'teach' '?']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +407,course_teach,SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2,Show names of teachers that teach at least two courses.,"['SELECT' 'T2.Name' 'FROM' 'course_arrange' 'AS' 'T1' 'JOIN' 'teacher' + 'AS' 'T2' 'ON' 'T1.Teacher_ID' '=' 'T2.Teacher_ID' 'GROUP' 'BY' 'T2.Name' + 'HAVING' 'COUNT' '(' '*' ')' '>' '=' '2']","['select' 't2' '.' 'name' 'from' 'course_arrange' 'as' 't1' 'join' + 'teacher' 'as' 't2' 'on' 't1' '.' 'teacher_id' '=' 't2' '.' 'teacher_id' + 'group' 'by' 't2' '.' 'name' 'having' 'count' '(' '*' ')' '>' '=' 'value']","['Show' 'names' 'of' 'teachers' 'that' 'teach' 'at' 'least' 'two' + 'courses' '.']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +408,course_teach,SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2,What are the names of the teachers who teach at least two courses?,"['SELECT' 'T2.Name' 'FROM' 'course_arrange' 'AS' 'T1' 'JOIN' 'teacher' + 'AS' 'T2' 'ON' 'T1.Teacher_ID' '=' 'T2.Teacher_ID' 'GROUP' 'BY' 'T2.Name' + 'HAVING' 'COUNT' '(' '*' ')' '>' '=' '2']","['select' 't2' '.' 'name' 'from' 'course_arrange' 'as' 't1' 'join' + 'teacher' 'as' 't2' 'on' 't1' '.' 'teacher_id' '=' 't2' '.' 'teacher_id' + 'group' 'by' 't2' '.' 'name' 'having' 'count' '(' '*' ')' '>' '=' 'value']","['What' 'are' 'the' 'names' 'of' 'the' 'teachers' 'who' 'teach' 'at' + 'least' 'two' 'courses' '?']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +409,course_teach,SELECT Name FROM teacher WHERE Teacher_id NOT IN (SELECT Teacher_id FROM course_arrange),List the names of teachers who have not been arranged to teach courses.,"['SELECT' 'Name' 'FROM' 'teacher' 'WHERE' 'Teacher_id' 'NOT' 'IN' '(' + 'SELECT' 'Teacher_id' 'FROM' 'course_arrange' ')']","['select' 'name' 'from' 'teacher' 'where' 'teacher_id' 'not' 'in' '(' + 'select' 'teacher_id' 'from' 'course_arrange' ')']","['List' 'the' 'names' 'of' 'teachers' 'who' 'have' 'not' 'been' 'arranged' + 'to' 'teach' 'courses' '.']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +410,course_teach,SELECT Name FROM teacher WHERE Teacher_id NOT IN (SELECT Teacher_id FROM course_arrange),What are the names of the teachers whose courses have not been arranged?,"['SELECT' 'Name' 'FROM' 'teacher' 'WHERE' 'Teacher_id' 'NOT' 'IN' '(' + 'SELECT' 'Teacher_id' 'FROM' 'course_arrange' ')']","['select' 'name' 'from' 'teacher' 'where' 'teacher_id' 'not' 'in' '(' + 'select' 'teacher_id' 'from' 'course_arrange' ')']","['What' 'are' 'the' 'names' 'of' 'the' 'teachers' 'whose' 'courses' 'have' + 'not' 'been' 'arranged' '?']","['course id', 'staring date', 'course', 'teacher id', 'name', 'age', 'hometown', 'course id', 'teacher id', 'grade']" +411,museum_visit,SELECT count(*) FROM visitor WHERE age < 30,How many visitors below age 30 are there?,['SELECT' 'count' '(' '*' ')' 'FROM' 'visitor' 'WHERE' 'age' '<' '30'],['select' 'count' '(' '*' ')' 'from' 'visitor' 'where' 'age' '<' 'value'],['How' 'many' 'visitors' 'below' 'age' '30' 'are' 'there' '?'],"['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +412,museum_visit,SELECT name FROM visitor WHERE Level_of_membership > 4 ORDER BY Level_of_membership DESC,"Find the names of the visitors whose membership level is higher than 4, and order the results by the level from high to low.","['SELECT' 'name' 'FROM' 'visitor' 'WHERE' 'Level_of_membership' '>' '4' + 'ORDER' 'BY' 'Level_of_membership' 'DESC']","['select' 'name' 'from' 'visitor' 'where' 'level_of_membership' '>' + 'value' 'order' 'by' 'level_of_membership' 'desc']","['Find' 'the' 'names' 'of' 'the' 'visitors' 'whose' 'membership' 'level' + 'is' 'higher' 'than' '4' ',' 'and' 'order' 'the' 'results' 'by' 'the' + 'level' 'from' 'high' 'to' 'low' '.']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +413,museum_visit,SELECT avg(age) FROM visitor WHERE Level_of_membership <= 4,What is the average age of the visitors whose membership level is not higher than 4?,"['SELECT' 'avg' '(' 'age' ')' 'FROM' 'visitor' 'WHERE' + 'Level_of_membership' '<' '=' '4']","['select' 'avg' '(' 'age' ')' 'from' 'visitor' 'where' + 'level_of_membership' '<' '=' 'value']","['What' 'is' 'the' 'average' 'age' 'of' 'the' 'visitors' 'whose' + 'membership' 'level' 'is' 'not' 'higher' 'than' '4' '?']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +414,museum_visit,"SELECT name , Level_of_membership FROM visitor WHERE Level_of_membership > 4 ORDER BY age DESC","Find the name and membership level of the visitors whose membership level is higher than 4, and sort by their age from old to young.","['SELECT' 'name' ',' 'Level_of_membership' 'FROM' 'visitor' 'WHERE' + 'Level_of_membership' '>' '4' 'ORDER' 'BY' 'age' 'DESC']","['select' 'name' ',' 'level_of_membership' 'from' 'visitor' 'where' + 'level_of_membership' '>' 'value' 'order' 'by' 'age' 'desc']","['Find' 'the' 'name' 'and' 'membership' 'level' 'of' 'the' 'visitors' + 'whose' 'membership' 'level' 'is' 'higher' 'than' '4' ',' 'and' 'sort' + 'by' 'their' 'age' 'from' 'old' 'to' 'young' '.']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +415,museum_visit,"SELECT museum_id , name FROM museum ORDER BY num_of_staff DESC LIMIT 1",Find the id and name of the museum that has the most staff members?,"['SELECT' 'museum_id' ',' 'name' 'FROM' 'museum' 'ORDER' 'BY' + 'num_of_staff' 'DESC' 'LIMIT' '1']","['select' 'museum_id' ',' 'name' 'from' 'museum' 'order' 'by' + 'num_of_staff' 'desc' 'limit' 'value']","['Find' 'the' 'id' 'and' 'name' 'of' 'the' 'museum' 'that' 'has' 'the' + 'most' 'staff' 'members' '?']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +416,museum_visit,SELECT avg(num_of_staff) FROM museum WHERE open_year < 2009,Find the average number of staff working for the museums that were open before 2009.,"['SELECT' 'avg' '(' 'num_of_staff' ')' 'FROM' 'museum' 'WHERE' 'open_year' + '<' '2009']","['select' 'avg' '(' 'num_of_staff' ')' 'from' 'museum' 'where' 'open_year' + '<' 'value']","['Find' 'the' 'average' 'number' 'of' 'staff' 'working' 'for' 'the' + 'museums' 'that' 'were' 'open' 'before' '2009' '.']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +417,museum_visit,"SELECT Num_of_Staff , Open_Year FROM museum WHERE name = 'Plaza Museum'",What are the opening year and staff number of the museum named Plaza Museum?,"['SELECT' 'Num_of_Staff' ',' 'Open_Year' 'FROM' 'museum' 'WHERE' 'name' + '=' ""'Plaza"" 'Museum' ""'""]","['select' 'num_of_staff' ',' 'open_year' 'from' 'museum' 'where' 'name' + '=' 'value']","['What' 'are' 'the' 'opening' 'year' 'and' 'staff' 'number' 'of' 'the' + 'museum' 'named' 'Plaza' 'Museum' '?']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +418,museum_visit,SELECT name FROM museum WHERE num_of_staff > (SELECT min(num_of_staff) FROM museum WHERE open_year > 2010),find the names of museums which have more staff than the minimum staff number of all museums opened after 2010.,"['SELECT' 'name' 'FROM' 'museum' 'WHERE' 'num_of_staff' '>' '(' 'SELECT' + 'min' '(' 'num_of_staff' ')' 'FROM' 'museum' 'WHERE' 'open_year' '>' + '2010' ')']","['select' 'name' 'from' 'museum' 'where' 'num_of_staff' '>' '(' 'select' + 'min' '(' 'num_of_staff' ')' 'from' 'museum' 'where' 'open_year' '>' + 'value' ')']","['find' 'the' 'names' 'of' 'museums' 'which' 'have' 'more' 'staff' 'than' + 'the' 'minimum' 'staff' 'number' 'of' 'all' 'museums' 'opened' 'after' + '2010' '.']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +419,museum_visit,"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","find the id, name and age for visitors who visited some museums more than once.","['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']","['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']","['find' 'the' 'id' ',' 'name' 'and' 'age' 'for' 'visitors' 'who' 'visited' + 'some' 'museums' 'more' 'than' 'once' '.']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +420,museum_visit,"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","What are the id, name and membership level of visitors who have spent the largest amount of money in total in all museum tickets?","['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']","['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']","['What' 'are' 'the' 'id' ',' 'name' 'and' 'membership' 'level' 'of' + 'visitors' 'who' 'have' 'spent' 'the' 'largest' 'amount' 'of' 'money' + 'in' 'total' 'in' 'all' 'museum' 'tickets' '?']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +421,museum_visit,"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",What are the id and name of the museum visited most times?,"['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']","['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']","['What' 'are' 'the' 'id' 'and' 'name' 'of' 'the' 'museum' 'visited' 'most' + 'times' '?']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +422,museum_visit,SELECT name FROM museum WHERE Museum_ID NOT IN (SELECT museum_id FROM visit),What is the name of the museum that had no visitor yet?,"['SELECT' 'name' 'FROM' 'museum' 'WHERE' 'Museum_ID' 'NOT' 'IN' '(' + 'SELECT' 'museum_id' 'FROM' 'visit' ')']","['select' 'name' 'from' 'museum' 'where' 'museum_id' 'not' 'in' '(' + 'select' 'museum_id' 'from' 'visit' ')']","['What' 'is' 'the' 'name' 'of' 'the' 'museum' 'that' 'had' 'no' 'visitor' + 'yet' '?']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +423,museum_visit,"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",Find the name and age of the visitor who bought the most tickets at once.,"['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']","['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']","['Find' 'the' 'name' 'and' 'age' 'of' 'the' 'visitor' 'who' 'bought' 'the' + 'most' 'tickets' 'at' 'once' '.']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +424,museum_visit,"SELECT avg(num_of_ticket) , max(num_of_ticket) FROM visit",What are the average and maximum number of tickets bought in all visits?,"['SELECT' 'avg' '(' 'num_of_ticket' ')' ',' 'max' '(' 'num_of_ticket' ')' + 'FROM' 'visit']","['select' 'avg' '(' 'num_of_ticket' ')' ',' 'max' '(' 'num_of_ticket' ')' + 'from' 'visit']","['What' 'are' 'the' 'average' 'and' 'maximum' 'number' 'of' 'tickets' + 'bought' 'in' 'all' 'visits' '?']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +425,museum_visit,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,What is the total ticket expense of the visitors whose membership level is 1?,"['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']","['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']","['What' 'is' 'the' 'total' 'ticket' 'expense' 'of' 'the' 'visitors' + 'whose' 'membership' 'level' 'is' '1' '?']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +426,museum_visit,SELECT t1.name FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id JOIN museum AS t3 ON t3.Museum_ID = t2.Museum_ID WHERE t3.open_year < 2009 INTERSECT SELECT t1.name FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id JOIN museum AS t3 ON t3.Museum_ID = t2.Museum_ID WHERE t3.open_year > 2011,What is the name of the visitor who visited both a museum opened before 2009 and a museum opened after 2011?,"['SELECT' 't1.name' 'FROM' 'visitor' 'AS' 't1' 'JOIN' 'visit' 'AS' 't2' + 'ON' 't1.id' '=' 't2.visitor_id' 'JOIN' 'museum' 'AS' 't3' 'ON' + 't3.Museum_ID' '=' 't2.Museum_ID' 'WHERE' 't3.open_year' '<' '2009' + 'INTERSECT' 'SELECT' 't1.name' 'FROM' 'visitor' 'AS' 't1' 'JOIN' 'visit' + 'AS' 't2' 'ON' 't1.id' '=' 't2.visitor_id' 'JOIN' 'museum' 'AS' 't3' 'ON' + 't3.Museum_ID' '=' 't2.Museum_ID' 'WHERE' 't3.open_year' '>' '2011']","['select' 't1' '.' 'name' 'from' 'visitor' 'as' 't1' 'join' 'visit' 'as' + 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'visitor_id' 'join' 'museum' 'as' + 't3' 'on' 't3' '.' 'museum_id' '=' 't2' '.' 'museum_id' 'where' 't3' '.' + 'open_year' '<' 'value' 'intersect' 'select' 't1' '.' 'name' 'from' + 'visitor' 'as' 't1' 'join' 'visit' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' + '.' 'visitor_id' 'join' 'museum' 'as' 't3' 'on' 't3' '.' 'museum_id' '=' + 't2' '.' 'museum_id' 'where' 't3' '.' 'open_year' '>' 'value']","['What' 'is' 'the' 'name' 'of' 'the' 'visitor' 'who' 'visited' 'both' 'a' + 'museum' 'opened' 'before' '2009' 'and' 'a' 'museum' 'opened' 'after' + '2011' '?']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +427,museum_visit,SELECT count(*) FROM visitor WHERE id NOT IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010),Find the number of visitors who did not visit any museum opened after 2010.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'visitor' 'WHERE' 'id' 'NOT' 'IN' '(' + 'SELECT' 't2.visitor_id' 'FROM' 'museum' 'AS' 't1' 'JOIN' 'visit' 'AS' + 't2' 'ON' 't1.Museum_ID' '=' 't2.Museum_ID' 'WHERE' 't1.open_year' '>' + '2010' ')']","['select' 'count' '(' '*' ')' 'from' 'visitor' 'where' 'id' 'not' 'in' '(' + 'select' 't2' '.' 'visitor_id' 'from' 'museum' 'as' 't1' 'join' 'visit' + 'as' 't2' 'on' 't1' '.' 'museum_id' '=' 't2' '.' 'museum_id' 'where' 't1' + '.' 'open_year' '>' 'value' ')']","['Find' 'the' 'number' 'of' 'visitors' 'who' 'did' 'not' 'visit' 'any' + 'museum' 'opened' 'after' '2010' '.']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +428,museum_visit,SELECT count(*) FROM museum WHERE open_year > 2013 OR open_year < 2008,How many museums were opened after 2013 or before 2008?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'museum' 'WHERE' 'open_year' '>' + '2013' 'OR' 'open_year' '<' '2008']","['select' 'count' '(' '*' ')' 'from' 'museum' 'where' 'open_year' '>' + 'value' 'or' 'open_year' '<' 'value']","['How' 'many' 'museums' 'were' 'opened' 'after' '2013' 'or' 'before' + '2008' '?']","['museum id', 'name', 'num of staff', 'open year', 'customer id', 'name', 'level of membership', 'age', 'museum id', 'customer id', 'num of ticket', 'total spent']" +429,wta_1,SELECT count(*) FROM players,Find the total number of players.,['SELECT' 'count' '(' '*' ')' 'FROM' 'players'],['select' 'count' '(' '*' ')' 'from' 'players'],['Find' 'the' 'total' 'number' 'of' 'players' '.'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +430,wta_1,SELECT count(*) FROM players,How many players are there?,['SELECT' 'count' '(' '*' ')' 'FROM' 'players'],['select' 'count' '(' '*' ')' 'from' 'players'],['How' 'many' 'players' 'are' 'there' '?'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +431,wta_1,SELECT count(*) FROM matches,Find the total number of matches.,['SELECT' 'count' '(' '*' ')' 'FROM' 'matches'],['select' 'count' '(' '*' ')' 'from' 'matches'],['Find' 'the' 'total' 'number' 'of' 'matches' '.'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +432,wta_1,SELECT count(*) FROM matches,Count the number of matches.,['SELECT' 'count' '(' '*' ')' 'FROM' 'matches'],['select' 'count' '(' '*' ')' 'from' 'matches'],['Count' 'the' 'number' 'of' 'matches' '.'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +433,wta_1,"SELECT first_name , birth_date FROM players WHERE country_code = 'USA'",List the first name and birth date of all players from the country with code USA.,"['SELECT' 'first_name' ',' 'birth_date' 'FROM' 'players' 'WHERE' + 'country_code' '=' ""'USA"" ""'""]","['select' 'first_name' ',' 'birth_date' 'from' 'players' 'where' + 'country_code' '=' 'value']","['List' 'the' 'first' 'name' 'and' 'birth' 'date' 'of' 'all' 'players' + 'from' 'the' 'country' 'with' 'code' 'USA' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +434,wta_1,"SELECT first_name , birth_date FROM players WHERE country_code = 'USA'",What are the first names and birth dates of players from the USA?,"['SELECT' 'first_name' ',' 'birth_date' 'FROM' 'players' 'WHERE' + 'country_code' '=' ""'USA"" ""'""]","['select' 'first_name' ',' 'birth_date' 'from' 'players' 'where' + 'country_code' '=' 'value']","['What' 'are' 'the' 'first' 'names' 'and' 'birth' 'dates' 'of' 'players' + 'from' 'the' 'USA' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +435,wta_1,"SELECT avg(loser_age) , avg(winner_age) FROM matches",Find the average age of losers and winners of all matches.,"['SELECT' 'avg' '(' 'loser_age' ')' ',' 'avg' '(' 'winner_age' ')' 'FROM' + 'matches']","['select' 'avg' '(' 'loser_age' ')' ',' 'avg' '(' 'winner_age' ')' 'from' + 'matches']","['Find' 'the' 'average' 'age' 'of' 'losers' 'and' 'winners' 'of' 'all' + 'matches' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +436,wta_1,"SELECT avg(loser_age) , avg(winner_age) FROM matches",What are the average ages of losers and winners across matches?,"['SELECT' 'avg' '(' 'loser_age' ')' ',' 'avg' '(' 'winner_age' ')' 'FROM' + 'matches']","['select' 'avg' '(' 'loser_age' ')' ',' 'avg' '(' 'winner_age' ')' 'from' + 'matches']","['What' 'are' 'the' 'average' 'ages' 'of' 'losers' 'and' 'winners' + 'across' 'matches' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +437,wta_1,SELECT avg(winner_rank) FROM matches,Find the average rank of winners in all matches.,['SELECT' 'avg' '(' 'winner_rank' ')' 'FROM' 'matches'],['select' 'avg' '(' 'winner_rank' ')' 'from' 'matches'],['Find' 'the' 'average' 'rank' 'of' 'winners' 'in' 'all' 'matches' '.'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +438,wta_1,SELECT avg(winner_rank) FROM matches,What is the average rank for winners in all matches?,['SELECT' 'avg' '(' 'winner_rank' ')' 'FROM' 'matches'],['select' 'avg' '(' 'winner_rank' ')' 'from' 'matches'],"['What' 'is' 'the' 'average' 'rank' 'for' 'winners' 'in' 'all' 'matches' + '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +439,wta_1,SELECT min(loser_rank) FROM matches,Find the highest rank of losers in all matches.,['SELECT' 'min' '(' 'loser_rank' ')' 'FROM' 'matches'],['select' 'min' '(' 'loser_rank' ')' 'from' 'matches'],['Find' 'the' 'highest' 'rank' 'of' 'losers' 'in' 'all' 'matches' '.'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +440,wta_1,SELECT min(loser_rank) FROM matches,What is the best rank of losers across all matches?,['SELECT' 'min' '(' 'loser_rank' ')' 'FROM' 'matches'],['select' 'min' '(' 'loser_rank' ')' 'from' 'matches'],"['What' 'is' 'the' 'best' 'rank' 'of' 'losers' 'across' 'all' 'matches' + '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +441,wta_1,SELECT count(DISTINCT country_code) FROM players,find the number of distinct country codes of all players.,['SELECT' 'count' '(' 'DISTINCT' 'country_code' ')' 'FROM' 'players'],['select' 'count' '(' 'distinct' 'country_code' ')' 'from' 'players'],"['find' 'the' 'number' 'of' 'distinct' 'country' 'codes' 'of' 'all' + 'players' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +442,wta_1,SELECT count(DISTINCT country_code) FROM players,How many distinct countries do players come from?,['SELECT' 'count' '(' 'DISTINCT' 'country_code' ')' 'FROM' 'players'],['select' 'count' '(' 'distinct' 'country_code' ')' 'from' 'players'],['How' 'many' 'distinct' 'countries' 'do' 'players' 'come' 'from' '?'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +443,wta_1,SELECT count(DISTINCT loser_name) FROM matches,Find the number of distinct name of losers.,['SELECT' 'count' '(' 'DISTINCT' 'loser_name' ')' 'FROM' 'matches'],['select' 'count' '(' 'distinct' 'loser_name' ')' 'from' 'matches'],['Find' 'the' 'number' 'of' 'distinct' 'name' 'of' 'losers' '.'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +444,wta_1,SELECT count(DISTINCT loser_name) FROM matches,How many different loser names are there?,['SELECT' 'count' '(' 'DISTINCT' 'loser_name' ')' 'FROM' 'matches'],['select' 'count' '(' 'distinct' 'loser_name' ')' 'from' 'matches'],['How' 'many' 'different' 'loser' 'names' 'are' 'there' '?'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +445,wta_1,SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*) > 10,Find the name of tourney that has more than 10 matches.,"['SELECT' 'tourney_name' 'FROM' 'matches' 'GROUP' 'BY' 'tourney_name' + 'HAVING' 'count' '(' '*' ')' '>' '10']","['select' 'tourney_name' 'from' 'matches' 'group' 'by' 'tourney_name' + 'having' 'count' '(' '*' ')' '>' 'value']","['Find' 'the' 'name' 'of' 'tourney' 'that' 'has' 'more' 'than' '10' + 'matches' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +446,wta_1,SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*) > 10,What are the names of tournaments that have more than 10 matches?,"['SELECT' 'tourney_name' 'FROM' 'matches' 'GROUP' 'BY' 'tourney_name' + 'HAVING' 'count' '(' '*' ')' '>' '10']","['select' 'tourney_name' 'from' 'matches' 'group' 'by' 'tourney_name' + 'having' 'count' '(' '*' ')' '>' 'value']","['What' 'are' 'the' 'names' 'of' 'tournaments' 'that' 'have' 'more' 'than' + '10' 'matches' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +447,wta_1,SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016,List the names of all winners who played in both 2013 and 2016.,"['SELECT' 'winner_name' 'FROM' 'matches' 'WHERE' 'YEAR' '=' '2013' + 'INTERSECT' 'SELECT' 'winner_name' 'FROM' 'matches' 'WHERE' 'YEAR' '=' + '2016']","['select' 'winner_name' 'from' 'matches' 'where' 'year' '=' 'value' + 'intersect' 'select' 'winner_name' 'from' 'matches' 'where' 'year' '=' + 'value']","['List' 'the' 'names' 'of' 'all' 'winners' 'who' 'played' 'in' 'both' + '2013' 'and' '2016' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +448,wta_1,SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016,What are the names of players who won in both 2013 and 2016?,"['SELECT' 'winner_name' 'FROM' 'matches' 'WHERE' 'YEAR' '=' '2013' + 'INTERSECT' 'SELECT' 'winner_name' 'FROM' 'matches' 'WHERE' 'YEAR' '=' + '2016']","['select' 'winner_name' 'from' 'matches' 'where' 'year' '=' 'value' + 'intersect' 'select' 'winner_name' 'from' 'matches' 'where' 'year' '=' + 'value']","['What' 'are' 'the' 'names' 'of' 'players' 'who' 'won' 'in' 'both' '2013' + 'and' '2016' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +449,wta_1,SELECT count(*) FROM matches WHERE YEAR = 2013 OR YEAR = 2016,List the number of all matches who played in years of 2013 or 2016.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'matches' 'WHERE' 'YEAR' '=' '2013' + 'OR' 'YEAR' '=' '2016']","['select' 'count' '(' '*' ')' 'from' 'matches' 'where' 'year' '=' 'value' + 'or' 'year' '=' 'value']","['List' 'the' 'number' 'of' 'all' 'matches' 'who' 'played' 'in' 'years' + 'of' '2013' 'or' '2016' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +450,wta_1,SELECT count(*) FROM matches WHERE YEAR = 2013 OR YEAR = 2016,How many matches were played in 2013 or 2016?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'matches' 'WHERE' 'YEAR' '=' '2013' + 'OR' 'YEAR' '=' '2016']","['select' 'count' '(' '*' ')' 'from' 'matches' 'where' 'year' '=' 'value' + 'or' 'year' '=' 'value']",['How' 'many' 'matches' 'were' 'played' 'in' '2013' 'or' '2016' '?'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +451,wta_1,"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'",What are the country code and first name of the players who won in both tourney WTA Championships and Australian Open?,"['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' ""'""]","['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']","['What' 'are' 'the' 'country' 'code' 'and' 'first' 'name' 'of' 'the' + 'players' 'who' 'won' 'in' 'both' 'tourney' 'WTA' 'Championships' 'and' + 'Australian' 'Open' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +452,wta_1,"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'",What are the first names and country codes for players who won both the WTA Championships and the Australian Open?,"['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' ""'""]","['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']","['What' 'are' 'the' 'first' 'names' 'and' 'country' 'codes' 'for' + 'players' 'who' 'won' 'both' 'the' 'WTA' 'Championships' 'and' 'the' + 'Australian' 'Open' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +453,wta_1,"SELECT first_name , country_code FROM players ORDER BY birth_date LIMIT 1",Find the first name and country code of the oldest player.,"['SELECT' 'first_name' ',' 'country_code' 'FROM' 'players' 'ORDER' 'BY' + 'birth_date' 'LIMIT' '1']","['select' 'first_name' ',' 'country_code' 'from' 'players' 'order' 'by' + 'birth_date' 'limit' 'value']","['Find' 'the' 'first' 'name' 'and' 'country' 'code' 'of' 'the' 'oldest' + 'player' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +454,wta_1,"SELECT first_name , country_code FROM players ORDER BY birth_date LIMIT 1",What is the first name and country code of the oldest player?,"['SELECT' 'first_name' ',' 'country_code' 'FROM' 'players' 'ORDER' 'BY' + 'birth_date' 'LIMIT' '1']","['select' 'first_name' ',' 'country_code' 'from' 'players' 'order' 'by' + 'birth_date' 'limit' 'value']","['What' 'is' 'the' 'first' 'name' 'and' 'country' 'code' 'of' 'the' + 'oldest' 'player' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +455,wta_1,"SELECT first_name , last_name FROM players ORDER BY birth_date",List the first and last name of all players in the order of birth date.,"['SELECT' 'first_name' ',' 'last_name' 'FROM' 'players' 'ORDER' 'BY' + 'birth_date']","['select' 'first_name' ',' 'last_name' 'from' 'players' 'order' 'by' + 'birth_date']","['List' 'the' 'first' 'and' 'last' 'name' 'of' 'all' 'players' 'in' 'the' + 'order' 'of' 'birth' 'date' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +456,wta_1,"SELECT first_name , last_name FROM players ORDER BY birth_date","What are the full names of all players, sorted by birth date?","['SELECT' 'first_name' ',' 'last_name' 'FROM' 'players' 'ORDER' 'BY' + 'birth_date']","['select' 'first_name' ',' 'last_name' 'from' 'players' 'order' 'by' + 'birth_date']","['What' 'are' 'the' 'full' 'names' 'of' 'all' 'players' ',' 'sorted' 'by' + 'birth' 'date' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +457,wta_1,"SELECT first_name , last_name FROM players WHERE hand = 'L' ORDER BY birth_date",List the first and last name of all players who are left / L hand in the order of birth date.,"['SELECT' 'first_name' ',' 'last_name' 'FROM' 'players' 'WHERE' 'hand' '=' + ""'L"" ""'"" 'ORDER' 'BY' 'birth_date']","['select' 'first_name' ',' 'last_name' 'from' 'players' 'where' 'hand' '=' + 'value' 'order' 'by' 'birth_date']","['List' 'the' 'first' 'and' 'last' 'name' 'of' 'all' 'players' 'who' 'are' + 'left' '/' 'L' 'hand' 'in' 'the' 'order' 'of' 'birth' 'date' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +458,wta_1,"SELECT first_name , last_name FROM players WHERE hand = 'L' ORDER BY birth_date","What are the full names of all left handed players, in order of birth date?","['SELECT' 'first_name' ',' 'last_name' 'FROM' 'players' 'WHERE' 'hand' '=' + ""'L"" ""'"" 'ORDER' 'BY' 'birth_date']","['select' 'first_name' ',' 'last_name' 'from' 'players' 'where' 'hand' '=' + 'value' 'order' 'by' 'birth_date']","['What' 'are' 'the' 'full' 'names' 'of' 'all' 'left' 'handed' 'players' + ',' 'in' 'order' 'of' 'birth' 'date' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +459,wta_1,"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",Find the first name and country code of the player who did the most number of tours.,"['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']","['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' + 'value']","['Find' 'the' 'first' 'name' 'and' 'country' 'code' 'of' 'the' 'player' + 'who' 'did' 'the' 'most' 'number' 'of' 'tours' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +460,wta_1,"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",What is the first name and country code of the player with the most tours?,"['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']","['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' + 'value']","['What' 'is' 'the' 'first' 'name' 'and' 'country' 'code' 'of' 'the' + 'player' 'with' 'the' 'most' 'tours' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +461,wta_1,SELECT YEAR FROM matches GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1,Find the year that has the most number of matches.,"['SELECT' 'YEAR' 'FROM' 'matches' 'GROUP' 'BY' 'YEAR' 'ORDER' 'BY' 'count' + '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'year' 'from' 'matches' 'group' 'by' 'year' 'order' 'by' 'count' + '(' '*' ')' 'desc' 'limit' 'value']",['Find' 'the' 'year' 'that' 'has' 'the' 'most' 'number' 'of' 'matches' '.'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +462,wta_1,SELECT YEAR FROM matches GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1,Which year had the most matches?,"['SELECT' 'YEAR' 'FROM' 'matches' 'GROUP' 'BY' 'YEAR' 'ORDER' 'BY' 'count' + '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'year' 'from' 'matches' 'group' 'by' 'year' 'order' 'by' 'count' + '(' '*' ')' 'desc' 'limit' 'value']",['Which' 'year' 'had' 'the' 'most' 'matches' '?'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +463,wta_1,"SELECT winner_name , winner_rank_points FROM matches GROUP BY winner_name ORDER BY count(*) DESC LIMIT 1",Find the name and rank points of the winner who won the most times.,"['SELECT' 'winner_name' ',' 'winner_rank_points' 'FROM' 'matches' 'GROUP' + 'BY' 'winner_name' 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'winner_name' ',' 'winner_rank_points' 'from' 'matches' 'group' + 'by' 'winner_name' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' + 'value']","['Find' 'the' 'name' 'and' 'rank' 'points' 'of' 'the' 'winner' 'who' 'won' + 'the' 'most' 'times' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +464,wta_1,"SELECT winner_name , winner_rank_points FROM matches GROUP BY winner_name ORDER BY count(*) DESC LIMIT 1","What is the name of the winner who has won the most matches, and how many rank points does this player have?","['SELECT' 'winner_name' ',' 'winner_rank_points' 'FROM' 'matches' 'GROUP' + 'BY' 'winner_name' 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'winner_name' ',' 'winner_rank_points' 'from' 'matches' 'group' + 'by' 'winner_name' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' + 'value']","['What' 'is' 'the' 'name' 'of' 'the' 'winner' 'who' 'has' 'won' 'the' + 'most' 'matches' ',' 'and' 'how' 'many' 'rank' 'points' 'does' 'this' + 'player' 'have' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +465,wta_1,SELECT winner_name FROM matches WHERE tourney_name = 'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1,Find the name of the winner who has the highest rank points and participated in the Australian Open tourney.,"['SELECT' 'winner_name' 'FROM' 'matches' 'WHERE' 'tourney_name' '=' + ""'Australian"" 'Open' ""'"" 'ORDER' 'BY' 'winner_rank_points' 'DESC' 'LIMIT' + '1']","['select' 'winner_name' 'from' 'matches' 'where' 'tourney_name' '=' + 'value' 'order' 'by' 'winner_rank_points' 'desc' 'limit' 'value']","['Find' 'the' 'name' 'of' 'the' 'winner' 'who' 'has' 'the' 'highest' + 'rank' 'points' 'and' 'participated' 'in' 'the' 'Australian' 'Open' + 'tourney' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +466,wta_1,SELECT winner_name FROM matches WHERE tourney_name = 'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1,What is the name of the winner with the most rank points who participated in the Australian Open tournament?,"['SELECT' 'winner_name' 'FROM' 'matches' 'WHERE' 'tourney_name' '=' + ""'Australian"" 'Open' ""'"" 'ORDER' 'BY' 'winner_rank_points' 'DESC' 'LIMIT' + '1']","['select' 'winner_name' 'from' 'matches' 'where' 'tourney_name' '=' + 'value' 'order' 'by' 'winner_rank_points' 'desc' 'limit' 'value']","['What' 'is' 'the' 'name' 'of' 'the' 'winner' 'with' 'the' 'most' 'rank' + 'points' 'who' 'participated' 'in' 'the' 'Australian' 'Open' 'tournament' + '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +467,wta_1,"SELECT winner_name , loser_name FROM matches ORDER BY minutes DESC LIMIT 1",find the names of loser and winner who played in the match with greatest number of minutes.,"['SELECT' 'winner_name' ',' 'loser_name' 'FROM' 'matches' 'ORDER' 'BY' + 'minutes' 'DESC' 'LIMIT' '1']","['select' 'winner_name' ',' 'loser_name' 'from' 'matches' 'order' 'by' + 'minutes' 'desc' 'limit' 'value']","['find' 'the' 'names' 'of' 'loser' 'and' 'winner' 'who' 'played' 'in' + 'the' 'match' 'with' 'greatest' 'number' 'of' 'minutes' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +468,wta_1,"SELECT winner_name , loser_name FROM matches ORDER BY minutes DESC LIMIT 1",What are the names of the winner and loser who played in the longest match?,"['SELECT' 'winner_name' ',' 'loser_name' 'FROM' 'matches' 'ORDER' 'BY' + 'minutes' 'DESC' 'LIMIT' '1']","['select' 'winner_name' ',' 'loser_name' 'from' 'matches' 'order' 'by' + 'minutes' 'desc' 'limit' 'value']","['What' 'are' 'the' 'names' 'of' 'the' 'winner' 'and' 'loser' 'who' + 'played' 'in' 'the' 'longest' 'match' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +469,wta_1,"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",Find the average ranking for each player and their first name.,"['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']","['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']","['Find' 'the' 'average' 'ranking' 'for' 'each' 'player' 'and' 'their' + 'first' 'name' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +470,wta_1,"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","What are the first names of all players, and their average rankings?","['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']","['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']","['What' 'are' 'the' 'first' 'names' 'of' 'all' 'players' ',' 'and' 'their' + 'average' 'rankings' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +471,wta_1,"SELECT sum(ranking_points) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name",Find the total ranking points for each player and their first name.,"['SELECT' 'sum' '(' 'ranking_points' ')' ',' 'T1.first_name' 'FROM' + 'players' 'AS' 'T1' 'JOIN' 'rankings' 'AS' 'T2' 'ON' 'T1.player_id' '=' + 'T2.player_id' 'GROUP' 'BY' 'T1.first_name']","['select' 'sum' '(' 'ranking_points' ')' ',' 't1' '.' 'first_name' 'from' + 'players' 'as' 't1' 'join' 'rankings' 'as' 't2' 'on' 't1' '.' 'player_id' + '=' 't2' '.' 'player_id' 'group' 'by' 't1' '.' 'first_name']","['Find' 'the' 'total' 'ranking' 'points' 'for' 'each' 'player' 'and' + 'their' 'first' 'name' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +472,wta_1,"SELECT sum(ranking_points) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name","What are the first names of all players, and their total ranking points?","['SELECT' 'sum' '(' 'ranking_points' ')' ',' 'T1.first_name' 'FROM' + 'players' 'AS' 'T1' 'JOIN' 'rankings' 'AS' 'T2' 'ON' 'T1.player_id' '=' + 'T2.player_id' 'GROUP' 'BY' 'T1.first_name']","['select' 'sum' '(' 'ranking_points' ')' ',' 't1' '.' 'first_name' 'from' + 'players' 'as' 't1' 'join' 'rankings' 'as' 't2' 'on' 't1' '.' 'player_id' + '=' 't2' '.' 'player_id' 'group' 'by' 't1' '.' 'first_name']","['What' 'are' 'the' 'first' 'names' 'of' 'all' 'players' ',' 'and' 'their' + 'total' 'ranking' 'points' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +473,wta_1,"SELECT count(*) , country_code FROM players GROUP BY country_code",find the number of players for each country.,"['SELECT' 'count' '(' '*' ')' ',' 'country_code' 'FROM' 'players' 'GROUP' + 'BY' 'country_code']","['select' 'count' '(' '*' ')' ',' 'country_code' 'from' 'players' 'group' + 'by' 'country_code']",['find' 'the' 'number' 'of' 'players' 'for' 'each' 'country' '.'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +474,wta_1,"SELECT count(*) , country_code FROM players GROUP BY country_code",How many players are from each country?,"['SELECT' 'count' '(' '*' ')' ',' 'country_code' 'FROM' 'players' 'GROUP' + 'BY' 'country_code']","['select' 'count' '(' '*' ')' ',' 'country_code' 'from' 'players' 'group' + 'by' 'country_code']",['How' 'many' 'players' 'are' 'from' 'each' 'country' '?'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +475,wta_1,SELECT country_code FROM players GROUP BY country_code ORDER BY count(*) DESC LIMIT 1,find the code of the country where has the greatest number of players.,"['SELECT' 'country_code' 'FROM' 'players' 'GROUP' 'BY' 'country_code' + 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'country_code' 'from' 'players' 'group' 'by' 'country_code' + 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['find' 'the' 'code' 'of' 'the' 'country' 'where' 'has' 'the' 'greatest' + 'number' 'of' 'players' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +476,wta_1,SELECT country_code FROM players GROUP BY country_code ORDER BY count(*) DESC LIMIT 1,What is the code of the country with the most players?,"['SELECT' 'country_code' 'FROM' 'players' 'GROUP' 'BY' 'country_code' + 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'country_code' 'from' 'players' 'group' 'by' 'country_code' + 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['What' 'is' 'the' 'code' 'of' 'the' 'country' 'with' 'the' 'most' + 'players' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +477,wta_1,SELECT country_code FROM players GROUP BY country_code HAVING count(*) > 50,Find the codes of countries that have more than 50 players.,"['SELECT' 'country_code' 'FROM' 'players' 'GROUP' 'BY' 'country_code' + 'HAVING' 'count' '(' '*' ')' '>' '50']","['select' 'country_code' 'from' 'players' 'group' 'by' 'country_code' + 'having' 'count' '(' '*' ')' '>' 'value']","['Find' 'the' 'codes' 'of' 'countries' 'that' 'have' 'more' 'than' '50' + 'players' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +478,wta_1,SELECT country_code FROM players GROUP BY country_code HAVING count(*) > 50,What are the codes of countries with more than 50 players?,"['SELECT' 'country_code' 'FROM' 'players' 'GROUP' 'BY' 'country_code' + 'HAVING' 'count' '(' '*' ')' '>' '50']","['select' 'country_code' 'from' 'players' 'group' 'by' 'country_code' + 'having' 'count' '(' '*' ')' '>' 'value']","['What' 'are' 'the' 'codes' 'of' 'countries' 'with' 'more' 'than' '50' + 'players' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +479,wta_1,"SELECT sum(tours) , ranking_date FROM rankings GROUP BY ranking_date",Find the total number of tours for each ranking date.,"['SELECT' 'sum' '(' 'tours' ')' ',' 'ranking_date' 'FROM' 'rankings' + 'GROUP' 'BY' 'ranking_date']","['select' 'sum' '(' 'tours' ')' ',' 'ranking_date' 'from' 'rankings' + 'group' 'by' 'ranking_date']","['Find' 'the' 'total' 'number' 'of' 'tours' 'for' 'each' 'ranking' 'date' + '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +480,wta_1,"SELECT sum(tours) , ranking_date FROM rankings GROUP BY ranking_date",How many total tours were there for each ranking date?,"['SELECT' 'sum' '(' 'tours' ')' ',' 'ranking_date' 'FROM' 'rankings' + 'GROUP' 'BY' 'ranking_date']","['select' 'sum' '(' 'tours' ')' ',' 'ranking_date' 'from' 'rankings' + 'group' 'by' 'ranking_date']","['How' 'many' 'total' 'tours' 'were' 'there' 'for' 'each' 'ranking' 'date' + '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +481,wta_1,"SELECT count(*) , YEAR FROM matches GROUP BY YEAR",Find the number of matches happened in each year.,"['SELECT' 'count' '(' '*' ')' ',' 'YEAR' 'FROM' 'matches' 'GROUP' 'BY' + 'YEAR']","['select' 'count' '(' '*' ')' ',' 'year' 'from' 'matches' 'group' 'by' + 'year']",['Find' 'the' 'number' 'of' 'matches' 'happened' 'in' 'each' 'year' '.'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +482,wta_1,"SELECT count(*) , YEAR FROM matches GROUP BY YEAR",How many matches were played in each year?,"['SELECT' 'count' '(' '*' ')' ',' 'YEAR' 'FROM' 'matches' 'GROUP' 'BY' + 'YEAR']","['select' 'count' '(' '*' ')' ',' 'year' 'from' 'matches' 'group' 'by' + 'year']",['How' 'many' 'matches' 'were' 'played' 'in' 'each' 'year' '?'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +483,wta_1,"SELECT DISTINCT winner_name , winner_rank FROM matches ORDER BY winner_age LIMIT 3",Find the name and rank of the 3 youngest winners across all matches.,"['SELECT' 'DISTINCT' 'winner_name' ',' 'winner_rank' 'FROM' 'matches' + 'ORDER' 'BY' 'winner_age' 'LIMIT' '3']","['select' 'distinct' 'winner_name' ',' 'winner_rank' 'from' 'matches' + 'order' 'by' 'winner_age' 'limit' 'value']","['Find' 'the' 'name' 'and' 'rank' 'of' 'the' '3' 'youngest' 'winners' + 'across' 'all' 'matches' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +484,wta_1,"SELECT DISTINCT winner_name , winner_rank FROM matches ORDER BY winner_age LIMIT 3",What are the names and ranks of the three youngest winners across all matches?,"['SELECT' 'DISTINCT' 'winner_name' ',' 'winner_rank' 'FROM' 'matches' + 'ORDER' 'BY' 'winner_age' 'LIMIT' '3']","['select' 'distinct' 'winner_name' ',' 'winner_rank' 'from' 'matches' + 'order' 'by' 'winner_age' 'limit' 'value']","['What' 'are' 'the' 'names' 'and' 'ranks' 'of' 'the' 'three' 'youngest' + 'winners' 'across' 'all' 'matches' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +485,wta_1,SELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name = 'WTA Championships' AND winner_hand = 'L',How many different winners both participated in the WTA Championships and were left handed?,"['SELECT' 'count' '(' 'DISTINCT' 'winner_name' ')' 'FROM' 'matches' + 'WHERE' 'tourney_name' '=' ""'WTA"" 'Championships' ""'"" 'AND' 'winner_hand' + '=' ""'L"" ""'""]","['select' 'count' '(' 'distinct' 'winner_name' ')' 'from' 'matches' + 'where' 'tourney_name' '=' 'value' 'and' 'winner_hand' '=' 'value']","['How' 'many' 'different' 'winners' 'both' 'participated' 'in' 'the' 'WTA' + 'Championships' 'and' 'were' 'left' 'handed' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +486,wta_1,SELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name = 'WTA Championships' AND winner_hand = 'L',Find the number of left handed winners who participated in the WTA Championships.,"['SELECT' 'count' '(' 'DISTINCT' 'winner_name' ')' 'FROM' 'matches' + 'WHERE' 'tourney_name' '=' ""'WTA"" 'Championships' ""'"" 'AND' 'winner_hand' + '=' ""'L"" ""'""]","['select' 'count' '(' 'distinct' 'winner_name' ')' 'from' 'matches' + 'where' 'tourney_name' '=' 'value' 'and' 'winner_hand' '=' 'value']","['Find' 'the' 'number' 'of' 'left' 'handed' 'winners' 'who' 'participated' + 'in' 'the' 'WTA' 'Championships' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +487,wta_1,"SELECT T1.first_name , T1.country_code , 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","Find the first name, country code and birth date of the winner who has the highest rank points in all matches.","['SELECT' 'T1.first_name' ',' 'T1.country_code' ',' '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']","['select' 't1' '.' 'first_name' ',' 't1' '.' 'country_code' ',' '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' 'value']","['Find' 'the' 'first' 'name' ',' 'country' 'code' 'and' 'birth' 'date' + 'of' 'the' 'winner' 'who' 'has' 'the' 'highest' 'rank' 'points' 'in' + 'all' 'matches' '.']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +488,wta_1,"SELECT T1.first_name , T1.country_code , 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","What is the first name, country code, and birth date of the player with the most winner rank points across all matches?","['SELECT' 'T1.first_name' ',' 'T1.country_code' ',' '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']","['select' 't1' '.' 'first_name' ',' 't1' '.' 'country_code' ',' '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' 'value']","['What' 'is' 'the' 'first' 'name' ',' 'country' 'code' ',' 'and' 'birth' + 'date' 'of' 'the' 'player' 'with' 'the' 'most' 'winner' 'rank' 'points' + 'across' 'all' 'matches' '?']","['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +489,wta_1,"SELECT count(*) , hand FROM players GROUP BY hand",Find the number of players for each hand type.,"['SELECT' 'count' '(' '*' ')' ',' 'hand' 'FROM' 'players' 'GROUP' 'BY' + 'hand']","['select' 'count' '(' '*' ')' ',' 'hand' 'from' 'players' 'group' 'by' + 'hand']",['Find' 'the' 'number' 'of' 'players' 'for' 'each' 'hand' 'type' '.'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +490,wta_1,"SELECT count(*) , hand FROM players GROUP BY hand",How many players are there for each hand type?,"['SELECT' 'count' '(' '*' ')' ',' 'hand' 'FROM' 'players' 'GROUP' 'BY' + 'hand']","['select' 'count' '(' '*' ')' ',' 'hand' 'from' 'players' 'group' 'by' + 'hand']",['How' 'many' 'players' 'are' 'there' 'for' 'each' 'hand' 'type' '?'],"['player id', 'first name', 'last name', 'hand', 'birth date', 'country code', 'best of', 'draw size', 'loser age', 'loser entry', 'loser hand', 'loser ht', 'loser id', 'loser ioc', 'loser name', 'loser rank', 'loser rank points', 'loser seed', 'match num', 'minutes', 'round', 'score', 'surface', 'tourney date', 'tourney id', 'tourney level', 'tourney name', 'winner age', 'winner entry', 'winner hand', 'winner ht', 'winner id', 'winner ioc', 'winner name', 'winner rank', 'winner rank points', 'winner seed', 'year', 'ranking date', 'ranking', 'player id', 'ranking points', 'tours']" +491,battle_death,SELECT count(*) FROM ship WHERE disposition_of_ship = 'Captured',How many ships ended up being 'Captured'?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'ship' 'WHERE' 'disposition_of_ship' + '=' ""'Captured"" ""'""]","['select' 'count' '(' '*' ')' 'from' 'ship' 'where' 'disposition_of_ship' + '=' 'value']","['How' 'many' 'ships' 'ended' 'up' 'being' ""'Captured"" ""'"" '?']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +492,battle_death,"SELECT name , tonnage FROM ship ORDER BY name DESC",List the name and tonnage ordered by in descending alphaetical order for the names.,"['SELECT' 'name' ',' 'tonnage' 'FROM' 'ship' 'ORDER' 'BY' 'name' 'DESC']","['select' 'name' ',' 'tonnage' 'from' 'ship' 'order' 'by' 'name' 'desc']","['List' 'the' 'name' 'and' 'tonnage' 'ordered' 'by' 'in' 'descending' + 'alphaetical' 'order' 'for' 'the' 'names' '.']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +493,battle_death,"SELECT name , date FROM battle","List the name, date and result of each battle.","['SELECT' 'name' ',' 'date' 'FROM' 'battle']","['select' 'name' ',' 'date' 'from' 'battle']","['List' 'the' 'name' ',' 'date' 'and' 'result' 'of' 'each' 'battle' '.']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +494,battle_death,"SELECT max(killed) , min(killed) FROM death",What is maximum and minimum death toll caused each time?,"['SELECT' 'max' '(' 'killed' ')' ',' 'min' '(' 'killed' ')' 'FROM' 'death']","['select' 'max' '(' 'killed' ')' ',' 'min' '(' 'killed' ')' 'from' 'death']","['What' 'is' 'maximum' 'and' 'minimum' 'death' 'toll' 'caused' 'each' + 'time' '?']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +495,battle_death,SELECT avg(injured) FROM death,What is the average number of injuries caused each time?,['SELECT' 'avg' '(' 'injured' ')' 'FROM' 'death'],['select' 'avg' '(' 'injured' ')' 'from' 'death'],"['What' 'is' 'the' 'average' 'number' 'of' 'injuries' 'caused' 'each' + 'time' '?']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +496,battle_death,"SELECT T1.killed , T1.injured FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id WHERE T2.tonnage = 't'",What are the death and injury situations caused by the ship with tonnage 't'?,"['SELECT' 'T1.killed' ',' 'T1.injured' 'FROM' 'death' 'AS' 'T1' 'JOIN' + 'ship' 'AS' 't2' 'ON' 'T1.caused_by_ship_id' '=' 'T2.id' 'WHERE' + 'T2.tonnage' '=' ""'t"" ""'""]","['select' 't1' '.' 'killed' ',' 't1' '.' 'injured' 'from' 'death' 'as' + 't1' 'join' 'ship' 'as' 't2' 'on' 't1' '.' 'caused_by_ship_id' '=' 't2' + '.' 'id' 'where' 't2' '.' 'tonnage' '=' 'value']","['What' 'are' 'the' 'death' 'and' 'injury' 'situations' 'caused' 'by' + 'the' 'ship' 'with' 'tonnage' ""'t"" ""'"" '?']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +497,battle_death,"SELECT name , RESULT FROM battle WHERE bulgarian_commander != 'Boril'",What are the name and results of the battles when the bulgarian commander is not 'Boril',"['SELECT' 'name' ',' 'RESULT' 'FROM' 'battle' 'WHERE' + 'bulgarian_commander' '!' '=' ""'Boril"" ""'""]","['select' 'name' ',' 'result' 'from' 'battle' 'where' + 'bulgarian_commander' '!' '=' 'value']","['What' 'are' 'the' 'name' 'and' 'results' 'of' 'the' 'battles' 'when' + 'the' 'bulgarian' 'commander' 'is' 'not' ""'Boril"" ""'""]","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +498,battle_death,"SELECT DISTINCT T1.id , T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.ship_type = 'Brig'",What are the different ids and names of the battles that lost any 'Brig' type shipes?,"['SELECT' 'DISTINCT' 'T1.id' ',' 'T1.name' 'FROM' 'battle' 'AS' 'T1' + 'JOIN' 'ship' 'AS' 'T2' 'ON' 'T1.id' '=' 'T2.lost_in_battle' 'WHERE' + 'T2.ship_type' '=' ""'Brig"" ""'""]","['select' 'distinct' 't1' '.' 'id' ',' 't1' '.' 'name' 'from' 'battle' + 'as' 't1' 'join' 'ship' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' + 'lost_in_battle' 'where' 't2' '.' 'ship_type' '=' 'value']","['What' 'are' 'the' 'different' 'ids' 'and' 'names' 'of' 'the' 'battles' + 'that' 'lost' 'any' ""'Brig"" ""'"" 'type' 'shipes' '?']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +499,battle_death,"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",What are the ids and names of the battles that led to more than 10 people killed in total.,"['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']","['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']","['What' 'are' 'the' 'ids' 'and' 'names' 'of' 'the' 'battles' 'that' 'led' + 'to' 'more' 'than' '10' 'people' 'killed' 'in' 'total' '.']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +500,battle_death,"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",What is the ship id and name that caused most total injuries?,"['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']","['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']","['What' 'is' 'the' 'ship' 'id' 'and' 'name' 'that' 'caused' 'most' 'total' + 'injuries' '?']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +501,battle_death,SELECT name FROM battle WHERE bulgarian_commander = 'Kaloyan' AND latin_commander = 'Baldwin I',What are the distinct battle names which are between bulgarian commander 'Kaloyan' and latin commander 'Baldwin I'?,"['SELECT' 'name' 'FROM' 'battle' 'WHERE' 'bulgarian_commander' '=' + ""'Kaloyan"" ""'"" 'AND' 'latin_commander' '=' ""'Baldwin"" 'I' ""'""]","['select' 'name' 'from' 'battle' 'where' 'bulgarian_commander' '=' 'value' + 'and' 'latin_commander' '=' 'value']","['What' 'are' 'the' 'distinct' 'battle' 'names' 'which' 'are' 'between' + 'bulgarian' 'commander' ""'Kaloyan"" ""'"" 'and' 'latin' 'commander' + ""'Baldwin"" 'I' ""'"" '?']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +502,battle_death,SELECT count(DISTINCT RESULT) FROM battle,How many different results are there for the battles?,['SELECT' 'count' '(' 'DISTINCT' 'RESULT' ')' 'FROM' 'battle'],['select' 'count' '(' 'distinct' 'result' ')' 'from' 'battle'],"['How' 'many' 'different' 'results' 'are' 'there' 'for' 'the' 'battles' + '?']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +503,battle_death,SELECT count(*) FROM battle WHERE id NOT IN ( SELECT lost_in_battle FROM ship WHERE tonnage = '225' );,How many battles did not lose any ship with tonnage '225'?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'battle' 'WHERE' 'id' 'NOT' 'IN' '(' + 'SELECT' 'lost_in_battle' 'FROM' 'ship' 'WHERE' 'tonnage' '=' ""'225"" ""'"" + ')' ';']","['select' 'count' '(' '*' ')' 'from' 'battle' 'where' 'id' 'not' 'in' '(' + 'select' 'lost_in_battle' 'from' 'ship' 'where' 'tonnage' '=' 'value' ')']","['How' 'many' 'battles' 'did' 'not' 'lose' 'any' 'ship' 'with' 'tonnage' + ""'225"" ""'"" '?']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +504,battle_death,"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'",List the name and date the battle that has lost the ship named 'Lettice' and the ship named 'HMS Atalanta',"['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' ""'""]","['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']","['List' 'the' 'name' 'and' 'date' 'the' 'battle' 'that' 'has' 'lost' 'the' + 'ship' 'named' ""'Lettice"" ""'"" 'and' 'the' 'ship' 'named' ""'HMS"" + 'Atalanta' ""'""]","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +505,battle_death,"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'","Show names, results and bulgarian commanders of the battles with no ships lost in the 'English Channel'.","['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' ""'""]","['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']","['Show' 'names' ',' 'results' 'and' 'bulgarian' 'commanders' 'of' 'the' + 'battles' 'with' 'no' 'ships' 'lost' 'in' 'the' ""'English"" 'Channel' ""'"" + '.']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +506,battle_death,SELECT note FROM death WHERE note LIKE '%East%',What are the notes of the death events which has substring 'East'?,"['SELECT' 'note' 'FROM' 'death' 'WHERE' 'note' 'LIKE' ""'"" '%' 'East' '%' + ""'""]",['select' 'note' 'from' 'death' 'where' 'note' 'like' 'value'],"['What' 'are' 'the' 'notes' 'of' 'the' 'death' 'events' 'which' 'has' + 'substring' ""'East"" ""'"" '?']","['id', 'name', 'date', 'bulgarian commander', 'latin commander', 'result', 'lost in battle', 'id', 'name', 'tonnage', 'ship type', 'location', 'disposition of ship', 'caused by ship id', 'id', 'note', 'killed', 'injured']" +507,student_transcripts_tracking,"SELECT line_1 , line_2 FROM addresses",what are all the addresses including line 1 and line 2?,"['SELECT' 'line_1' ',' 'line_2' 'FROM' 'addresses']","['select' 'line_1' ',' 'line_2' 'from' 'addresses']","['what' 'are' 'all' 'the' 'addresses' 'including' 'line' '1' 'and' 'line' + '2' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +508,student_transcripts_tracking,"SELECT line_1 , line_2 FROM addresses",What is the first and second line for all addresses?,"['SELECT' 'line_1' ',' 'line_2' 'FROM' 'addresses']","['select' 'line_1' ',' 'line_2' 'from' 'addresses']","['What' 'is' 'the' 'first' 'and' 'second' 'line' 'for' 'all' 'addresses' + '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +509,student_transcripts_tracking,SELECT count(*) FROM Courses,How many courses in total are listed?,['SELECT' 'count' '(' '*' ')' 'FROM' 'Courses'],['select' 'count' '(' '*' ')' 'from' 'courses'],['How' 'many' 'courses' 'in' 'total' 'are' 'listed' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +510,student_transcripts_tracking,SELECT count(*) FROM Courses,How many courses are there?,['SELECT' 'count' '(' '*' ')' 'FROM' 'Courses'],['select' 'count' '(' '*' ')' 'from' 'courses'],['How' 'many' 'courses' 'are' 'there' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +511,student_transcripts_tracking,SELECT course_description FROM Courses WHERE course_name = 'math',How is the math course described?,"['SELECT' 'course_description' 'FROM' 'Courses' 'WHERE' 'course_name' '=' + ""'math"" ""'""]","['select' 'course_description' 'from' 'courses' 'where' 'course_name' '=' + 'value']",['How' 'is' 'the' 'math' 'course' 'described' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +512,student_transcripts_tracking,SELECT course_description FROM Courses WHERE course_name = 'math',What are the descriptions for all the math courses?,"['SELECT' 'course_description' 'FROM' 'Courses' 'WHERE' 'course_name' '=' + ""'math"" ""'""]","['select' 'course_description' 'from' 'courses' 'where' 'course_name' '=' + 'value']",['What' 'are' 'the' 'descriptions' 'for' 'all' 'the' 'math' 'courses' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +513,student_transcripts_tracking,SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea',What is the zip code of the address in the city Port Chelsea?,"['SELECT' 'zip_postcode' 'FROM' 'Addresses' 'WHERE' 'city' '=' ""'Port"" + 'Chelsea' ""'""]",['select' 'zip_postcode' 'from' 'addresses' 'where' 'city' '=' 'value'],"['What' 'is' 'the' 'zip' 'code' 'of' 'the' 'address' 'in' 'the' 'city' + 'Port' 'Chelsea' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +514,student_transcripts_tracking,SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea',What is the zip code for Port Chelsea?,"['SELECT' 'zip_postcode' 'FROM' 'Addresses' 'WHERE' 'city' '=' ""'Port"" + 'Chelsea' ""'""]",['select' 'zip_postcode' 'from' 'addresses' 'where' 'city' '=' 'value'],['What' 'is' 'the' 'zip' 'code' 'for' 'Port' 'Chelsea' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +515,student_transcripts_tracking,"SELECT T2.department_name , T1.department_id FROM Degree_Programs AS T1 JOIN Departments AS T2 ON T1.department_id = T2.department_id GROUP BY T1.department_id ORDER BY count(*) DESC LIMIT 1",Which department offers the most number of degrees? List department name and id.,"['SELECT' 'T2.department_name' ',' 'T1.department_id' 'FROM' + 'Degree_Programs' 'AS' 'T1' 'JOIN' 'Departments' 'AS' 'T2' 'ON' + 'T1.department_id' '=' 'T2.department_id' 'GROUP' 'BY' 'T1.department_id' + 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't2' '.' 'department_name' ',' 't1' '.' 'department_id' 'from' + 'degree_programs' 'as' 't1' 'join' 'departments' 'as' 't2' 'on' 't1' '.' + 'department_id' '=' 't2' '.' 'department_id' 'group' 'by' 't1' '.' + 'department_id' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['Which' 'department' 'offers' 'the' 'most' 'number' 'of' 'degrees' '?' + 'List' 'department' 'name' 'and' 'id' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +516,student_transcripts_tracking,"select t2.department_name , t1.department_id from degree_programs as t1 join departments as t2 on t1.department_id = t2.department_id group by t1.department_id order by count(*) desc limit 1",What is the name and id of the department with the most number of degrees ?,"['select' 't2.department_name' ',' 't1.department_id' 'from' + 'degree_programs' 'as' 't1' 'join' 'departments' 'as' 't2' 'on' + 't1.department_id' '=' 't2.department_id' 'group' 'by' 't1.department_id' + 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' '1']","['select' 't2' '.' 'department_name' ',' 't1' '.' 'department_id' 'from' + 'degree_programs' 'as' 't1' 'join' 'departments' 'as' 't2' 'on' 't1' '.' + 'department_id' '=' 't2' '.' 'department_id' 'group' 'by' 't1' '.' + 'department_id' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['What' 'is' 'the' 'name' 'and' 'id' 'of' 'the' 'department' 'with' 'the' + 'most' 'number' 'of' 'degrees' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +517,student_transcripts_tracking,SELECT count(DISTINCT department_id) FROM Degree_Programs,How many departments offer any degree?,"['SELECT' 'count' '(' 'DISTINCT' 'department_id' ')' 'FROM' + 'Degree_Programs']","['select' 'count' '(' 'distinct' 'department_id' ')' 'from' + 'degree_programs']",['How' 'many' 'departments' 'offer' 'any' 'degree' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +518,student_transcripts_tracking,SELECT count(DISTINCT department_id) FROM Degree_Programs,How many different departments offer degrees?,"['SELECT' 'count' '(' 'DISTINCT' 'department_id' ')' 'FROM' + 'Degree_Programs']","['select' 'count' '(' 'distinct' 'department_id' ')' 'from' + 'degree_programs']",['How' 'many' 'different' 'departments' 'offer' 'degrees' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +519,student_transcripts_tracking,SELECT count(DISTINCT degree_summary_name) FROM Degree_Programs,How many different degree names are offered?,"['SELECT' 'count' '(' 'DISTINCT' 'degree_summary_name' ')' 'FROM' + 'Degree_Programs']","['select' 'count' '(' 'distinct' 'degree_summary_name' ')' 'from' + 'degree_programs']",['How' 'many' 'different' 'degree' 'names' 'are' 'offered' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +520,student_transcripts_tracking,SELECT count(DISTINCT degree_summary_name) FROM Degree_Programs,How many different degrees are offered?,"['SELECT' 'count' '(' 'DISTINCT' 'degree_summary_name' ')' 'FROM' + 'Degree_Programs']","['select' 'count' '(' 'distinct' 'degree_summary_name' ')' 'from' + 'degree_programs']",['How' 'many' 'different' 'degrees' 'are' 'offered' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +521,student_transcripts_tracking,SELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer',How many degrees does the engineering department offer?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Departments' 'AS' 'T1' 'JOIN' + 'Degree_Programs' 'AS' 'T2' 'ON' 'T1.department_id' '=' + 'T2.department_id' 'WHERE' 'T1.department_name' '=' ""'engineer"" ""'""]","['select' 'count' '(' '*' ')' 'from' 'departments' 'as' 't1' 'join' + 'degree_programs' 'as' 't2' 'on' 't1' '.' 'department_id' '=' 't2' '.' + 'department_id' 'where' 't1' '.' 'department_name' '=' 'value']","['How' 'many' 'degrees' 'does' 'the' 'engineering' 'department' 'offer' + '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +522,student_transcripts_tracking,SELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer',How many degrees does the engineering department have?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Departments' 'AS' 'T1' 'JOIN' + 'Degree_Programs' 'AS' 'T2' 'ON' 'T1.department_id' '=' + 'T2.department_id' 'WHERE' 'T1.department_name' '=' ""'engineer"" ""'""]","['select' 'count' '(' '*' ')' 'from' 'departments' 'as' 't1' 'join' + 'degree_programs' 'as' 't2' 'on' 't1' '.' 'department_id' '=' 't2' '.' + 'department_id' 'where' 't1' '.' 'department_name' '=' 'value']",['How' 'many' 'degrees' 'does' 'the' 'engineering' 'department' 'have' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +523,student_transcripts_tracking,"SELECT section_name , section_description FROM Sections",What are the names and descriptions of all the sections?,"['SELECT' 'section_name' ',' 'section_description' 'FROM' 'Sections']","['select' 'section_name' ',' 'section_description' 'from' 'sections']","['What' 'are' 'the' 'names' 'and' 'descriptions' 'of' 'all' 'the' + 'sections' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +524,student_transcripts_tracking,"SELECT section_name , section_description FROM Sections",What are the names and descriptions for all the sections?,"['SELECT' 'section_name' ',' 'section_description' 'FROM' 'Sections']","['select' 'section_name' ',' 'section_description' 'from' 'sections']","['What' 'are' 'the' 'names' 'and' 'descriptions' 'for' 'all' 'the' + 'sections' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +525,student_transcripts_tracking,"SELECT T1.course_name , T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING count(*) <= 2",What are the names and id of courses having at most 2 sections?,"['SELECT' 'T1.course_name' ',' 'T1.course_id' 'FROM' 'Courses' 'AS' 'T1' + 'JOIN' 'Sections' 'AS' 'T2' 'ON' 'T1.course_id' '=' 'T2.course_id' + 'GROUP' 'BY' 'T1.course_id' 'HAVING' 'count' '(' '*' ')' '<' '=' '2']","['select' 't1' '.' 'course_name' ',' 't1' '.' 'course_id' 'from' 'courses' + 'as' 't1' 'join' 'sections' 'as' 't2' 'on' 't1' '.' 'course_id' '=' 't2' + '.' 'course_id' 'group' 'by' 't1' '.' 'course_id' 'having' 'count' '(' + '*' ')' '<' '=' 'value']","['What' 'are' 'the' 'names' 'and' 'id' 'of' 'courses' 'having' 'at' 'most' + '2' 'sections' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +526,student_transcripts_tracking,"SELECT T1.course_name , T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING count(*) <= 2",What are the names and ids of every course with less than 2 sections?,"['SELECT' 'T1.course_name' ',' 'T1.course_id' 'FROM' 'Courses' 'AS' 'T1' + 'JOIN' 'Sections' 'AS' 'T2' 'ON' 'T1.course_id' '=' 'T2.course_id' + 'GROUP' 'BY' 'T1.course_id' 'HAVING' 'count' '(' '*' ')' '<' '=' '2']","['select' 't1' '.' 'course_name' ',' 't1' '.' 'course_id' 'from' 'courses' + 'as' 't1' 'join' 'sections' 'as' 't2' 'on' 't1' '.' 'course_id' '=' 't2' + '.' 'course_id' 'group' 'by' 't1' '.' 'course_id' 'having' 'count' '(' + '*' ')' '<' '=' 'value']","['What' 'are' 'the' 'names' 'and' 'ids' 'of' 'every' 'course' 'with' + 'less' 'than' '2' 'sections' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +527,student_transcripts_tracking,SELECT section_name FROM Sections ORDER BY section_name DESC,List the section_name in reversed lexicographical order.,"['SELECT' 'section_name' 'FROM' 'Sections' 'ORDER' 'BY' 'section_name' + 'DESC']","['select' 'section_name' 'from' 'sections' 'order' 'by' 'section_name' + 'desc']",['List' 'the' 'section_name' 'in' 'reversed' 'lexicographical' 'order' '.'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +528,student_transcripts_tracking,SELECT section_name FROM Sections ORDER BY section_name DESC,What are the names of the sections in reverse alphabetical order?,"['SELECT' 'section_name' 'FROM' 'Sections' 'ORDER' 'BY' 'section_name' + 'DESC']","['select' 'section_name' 'from' 'sections' 'order' 'by' 'section_name' + 'desc']","['What' 'are' 'the' 'names' 'of' 'the' 'sections' 'in' 'reverse' + 'alphabetical' 'order' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +529,student_transcripts_tracking,"SELECT T1.semester_name , T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY count(*) DESC LIMIT 1",What is the semester which most student registered in? Show both the name and the id.,"['SELECT' 'T1.semester_name' ',' 'T1.semester_id' 'FROM' 'Semesters' 'AS' + 'T1' 'JOIN' 'Student_Enrolment' 'AS' 'T2' 'ON' 'T1.semester_id' '=' + 'T2.semester_id' 'GROUP' 'BY' 'T1.semester_id' 'ORDER' 'BY' 'count' '(' + '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'semester_name' ',' 't1' '.' 'semester_id' 'from' + 'semesters' 'as' 't1' 'join' 'student_enrolment' 'as' 't2' 'on' 't1' '.' + 'semester_id' '=' 't2' '.' 'semester_id' 'group' 'by' 't1' '.' + 'semester_id' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['What' 'is' 'the' 'semester' 'which' 'most' 'student' 'registered' 'in' + '?' 'Show' 'both' 'the' 'name' 'and' 'the' 'id' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +530,student_transcripts_tracking,"SELECT T1.semester_name , T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY count(*) DESC LIMIT 1","For each semester, what is the name and id of the one with the most students registered?","['SELECT' 'T1.semester_name' ',' 'T1.semester_id' 'FROM' 'Semesters' 'AS' + 'T1' 'JOIN' 'Student_Enrolment' 'AS' 'T2' 'ON' 'T1.semester_id' '=' + 'T2.semester_id' 'GROUP' 'BY' 'T1.semester_id' 'ORDER' 'BY' 'count' '(' + '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'semester_name' ',' 't1' '.' 'semester_id' 'from' + 'semesters' 'as' 't1' 'join' 'student_enrolment' 'as' 't2' 'on' 't1' '.' + 'semester_id' '=' 't2' '.' 'semester_id' 'group' 'by' 't1' '.' + 'semester_id' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['For' 'each' 'semester' ',' 'what' 'is' 'the' 'name' 'and' 'id' 'of' + 'the' 'one' 'with' 'the' 'most' 'students' 'registered' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +531,student_transcripts_tracking,SELECT department_description FROM Departments WHERE department_name LIKE '%computer%',What is the description of the department whose name has the substring the computer?,"['SELECT' 'department_description' 'FROM' 'Departments' 'WHERE' + 'department_name' 'LIKE' ""'"" '%' 'computer' '%' ""'""]","['select' 'department_description' 'from' 'departments' 'where' + 'department_name' 'like' 'value']","['What' 'is' 'the' 'description' 'of' 'the' 'department' 'whose' 'name' + 'has' 'the' 'substring' 'the' 'computer' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +532,student_transcripts_tracking,SELECT department_description FROM Departments WHERE department_name LIKE '%computer%',What is the department description for the one whose name has the word computer?,"['SELECT' 'department_description' 'FROM' 'Departments' 'WHERE' + 'department_name' 'LIKE' ""'"" '%' 'computer' '%' ""'""]","['select' 'department_description' 'from' 'departments' 'where' + 'department_name' 'like' 'value']","['What' 'is' 'the' 'department' 'description' 'for' 'the' 'one' 'whose' + 'name' 'has' 'the' 'word' 'computer' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +533,student_transcripts_tracking,"SELECT T1.first_name , T1.middle_name , T1.last_name , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING count(*) = 2","Who are enrolled in 2 degree programs in one semester? List the first name, middle name and last name and the id.","['SELECT' 'T1.first_name' ',' 'T1.middle_name' ',' 'T1.last_name' ',' + 'T1.student_id' 'FROM' 'Students' 'AS' 'T1' 'JOIN' 'Student_Enrolment' + 'AS' 'T2' 'ON' 'T1.student_id' '=' 'T2.student_id' 'GROUP' 'BY' + 'T1.student_id' 'HAVING' 'count' '(' '*' ')' '=' '2']","['select' 't1' '.' 'first_name' ',' 't1' '.' 'middle_name' ',' 't1' '.' + 'last_name' ',' 't1' '.' 'student_id' 'from' 'students' 'as' 't1' 'join' + 'student_enrolment' 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' + 'student_id' 'group' 'by' 't1' '.' 'student_id' 'having' 'count' '(' '*' + ')' '=' 'value']","['Who' 'are' 'enrolled' 'in' '2' 'degree' 'programs' 'in' 'one' 'semester' + '?' 'List' 'the' 'first' 'name' ',' 'middle' 'name' 'and' 'last' 'name' + 'and' 'the' 'id' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +534,student_transcripts_tracking,"SELECT T1.first_name , T1.middle_name , T1.last_name , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING count(*) = 2","What are the first, middle, and last names, along with the ids, of all students who enrolled in 2 degree programs in one semester?","['SELECT' 'T1.first_name' ',' 'T1.middle_name' ',' 'T1.last_name' ',' + 'T1.student_id' 'FROM' 'Students' 'AS' 'T1' 'JOIN' 'Student_Enrolment' + 'AS' 'T2' 'ON' 'T1.student_id' '=' 'T2.student_id' 'GROUP' 'BY' + 'T1.student_id' 'HAVING' 'count' '(' '*' ')' '=' '2']","['select' 't1' '.' 'first_name' ',' 't1' '.' 'middle_name' ',' 't1' '.' + 'last_name' ',' 't1' '.' 'student_id' 'from' 'students' 'as' 't1' 'join' + 'student_enrolment' 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' + 'student_id' 'group' 'by' 't1' '.' 'student_id' 'having' 'count' '(' '*' + ')' '=' 'value']","['What' 'are' 'the' 'first' ',' 'middle' ',' 'and' 'last' 'names' ',' + 'along' 'with' 'the' 'ids' ',' 'of' 'all' 'students' 'who' 'enrolled' + 'in' '2' 'degree' 'programs' 'in' 'one' 'semester' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +535,student_transcripts_tracking,"SELECT DISTINCT T1.first_name , T1.middle_name , T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor'","Who is enrolled in a Bachelor degree program? List the first name, middle name, last name.","['SELECT' 'DISTINCT' 'T1.first_name' ',' 'T1.middle_name' ',' + 'T1.last_name' 'FROM' 'Students' 'AS' 'T1' 'JOIN' 'Student_Enrolment' + 'AS' 'T2' 'ON' 'T1.student_id' '=' 'T2.student_id' 'JOIN' + 'Degree_Programs' 'AS' 'T3' 'ON' 'T2.degree_program_id' '=' + 'T3.degree_program_id' 'WHERE' 'T3.degree_summary_name' '=' ""'Bachelor"" + ""'""]","['select' 'distinct' 't1' '.' 'first_name' ',' 't1' '.' 'middle_name' ',' + 't1' '.' 'last_name' 'from' 'students' 'as' 't1' 'join' + 'student_enrolment' 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' + 'student_id' 'join' 'degree_programs' 'as' 't3' 'on' 't2' '.' + 'degree_program_id' '=' 't3' '.' 'degree_program_id' 'where' 't3' '.' + 'degree_summary_name' '=' 'value']","['Who' 'is' 'enrolled' 'in' 'a' 'Bachelor' 'degree' 'program' '?' 'List' + 'the' 'first' 'name' ',' 'middle' 'name' ',' 'last' 'name' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +536,student_transcripts_tracking,"SELECT DISTINCT T1.first_name , T1.middle_name , T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor'","What are the first, middle, and last names for everybody enrolled in a Bachelors program?","['SELECT' 'DISTINCT' 'T1.first_name' ',' 'T1.middle_name' ',' + 'T1.last_name' 'FROM' 'Students' 'AS' 'T1' 'JOIN' 'Student_Enrolment' + 'AS' 'T2' 'ON' 'T1.student_id' '=' 'T2.student_id' 'JOIN' + 'Degree_Programs' 'AS' 'T3' 'ON' 'T2.degree_program_id' '=' + 'T3.degree_program_id' 'WHERE' 'T3.degree_summary_name' '=' ""'Bachelor"" + ""'""]","['select' 'distinct' 't1' '.' 'first_name' ',' 't1' '.' 'middle_name' ',' + 't1' '.' 'last_name' 'from' 'students' 'as' 't1' 'join' + 'student_enrolment' 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' + 'student_id' 'join' 'degree_programs' 'as' 't3' 'on' 't2' '.' + 'degree_program_id' '=' 't3' '.' 'degree_program_id' 'where' 't3' '.' + 'degree_summary_name' '=' 'value']","['What' 'are' 'the' 'first' ',' 'middle' ',' 'and' 'last' 'names' 'for' + 'everybody' 'enrolled' 'in' 'a' 'Bachelors' 'program' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +537,student_transcripts_tracking,SELECT T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_summary_name ORDER BY count(*) DESC LIMIT 1,Find the kind of program which most number of students are enrolled in?,"['SELECT' 'T1.degree_summary_name' 'FROM' 'Degree_Programs' 'AS' 'T1' + 'JOIN' 'Student_Enrolment' 'AS' 'T2' 'ON' 'T1.degree_program_id' '=' + 'T2.degree_program_id' 'GROUP' 'BY' 'T1.degree_summary_name' 'ORDER' 'BY' + 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'degree_summary_name' 'from' 'degree_programs' 'as' + 't1' 'join' 'student_enrolment' 'as' 't2' 'on' 't1' '.' + 'degree_program_id' '=' 't2' '.' 'degree_program_id' 'group' 'by' 't1' + '.' 'degree_summary_name' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' + 'value']","['Find' 'the' 'kind' 'of' 'program' 'which' 'most' 'number' 'of' + 'students' 'are' 'enrolled' 'in' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +538,student_transcripts_tracking,SELECT T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_summary_name ORDER BY count(*) DESC LIMIT 1,What is the degree summary name that has the most number of students enrolled?,"['SELECT' 'T1.degree_summary_name' 'FROM' 'Degree_Programs' 'AS' 'T1' + 'JOIN' 'Student_Enrolment' 'AS' 'T2' 'ON' 'T1.degree_program_id' '=' + 'T2.degree_program_id' 'GROUP' 'BY' 'T1.degree_summary_name' 'ORDER' 'BY' + 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'degree_summary_name' 'from' 'degree_programs' 'as' + 't1' 'join' 'student_enrolment' 'as' 't2' 'on' 't1' '.' + 'degree_program_id' '=' 't2' '.' 'degree_program_id' 'group' 'by' 't1' + '.' 'degree_summary_name' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' + 'value']","['What' 'is' 'the' 'degree' 'summary' 'name' 'that' 'has' 'the' 'most' + 'number' 'of' 'students' 'enrolled' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +539,student_transcripts_tracking,"SELECT T1.degree_program_id , T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY count(*) DESC LIMIT 1",Find the program which most number of students are enrolled in. List both the id and the summary.,"['SELECT' 'T1.degree_program_id' ',' 'T1.degree_summary_name' 'FROM' + 'Degree_Programs' 'AS' 'T1' 'JOIN' 'Student_Enrolment' 'AS' 'T2' 'ON' + 'T1.degree_program_id' '=' 'T2.degree_program_id' 'GROUP' 'BY' + 'T1.degree_program_id' 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' + '1']","['select' 't1' '.' 'degree_program_id' ',' 't1' '.' 'degree_summary_name' + 'from' 'degree_programs' 'as' 't1' 'join' 'student_enrolment' 'as' 't2' + 'on' 't1' '.' 'degree_program_id' '=' 't2' '.' 'degree_program_id' + 'group' 'by' 't1' '.' 'degree_program_id' 'order' 'by' 'count' '(' '*' + ')' 'desc' 'limit' 'value']","['Find' 'the' 'program' 'which' 'most' 'number' 'of' 'students' 'are' + 'enrolled' 'in' '.' 'List' 'both' 'the' 'id' 'and' 'the' 'summary' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +540,student_transcripts_tracking,"SELECT T1.degree_program_id , T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY count(*) DESC LIMIT 1",What is the program id and the summary of the degree that has the most students enrolled?,"['SELECT' 'T1.degree_program_id' ',' 'T1.degree_summary_name' 'FROM' + 'Degree_Programs' 'AS' 'T1' 'JOIN' 'Student_Enrolment' 'AS' 'T2' 'ON' + 'T1.degree_program_id' '=' 'T2.degree_program_id' 'GROUP' 'BY' + 'T1.degree_program_id' 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' + '1']","['select' 't1' '.' 'degree_program_id' ',' 't1' '.' 'degree_summary_name' + 'from' 'degree_programs' 'as' 't1' 'join' 'student_enrolment' 'as' 't2' + 'on' 't1' '.' 'degree_program_id' '=' 't2' '.' 'degree_program_id' + 'group' 'by' 't1' '.' 'degree_program_id' 'order' 'by' 'count' '(' '*' + ')' 'desc' 'limit' 'value']","['What' 'is' 'the' 'program' 'id' 'and' 'the' 'summary' 'of' 'the' + 'degree' 'that' 'has' 'the' 'most' 'students' 'enrolled' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +541,student_transcripts_tracking,"SELECT T1.student_id , T1.first_name , T1.middle_name , T1.last_name , count(*) , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1","Which student has enrolled for the most times in any program? List the id, first name, middle name, last name, the number of enrollments and student id.","['SELECT' 'T1.student_id' ',' 'T1.first_name' ',' 'T1.middle_name' ',' + 'T1.last_name' ',' 'count' '(' '*' ')' ',' 'T1.student_id' 'FROM' + 'Students' 'AS' 'T1' 'JOIN' 'Student_Enrolment' 'AS' 'T2' 'ON' + 'T1.student_id' '=' 'T2.student_id' 'GROUP' 'BY' 'T1.student_id' 'ORDER' + 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'student_id' ',' 't1' '.' 'first_name' ',' 't1' '.' + 'middle_name' ',' 't1' '.' 'last_name' ',' 'count' '(' '*' ')' ',' 't1' + '.' 'student_id' 'from' 'students' 'as' 't1' 'join' 'student_enrolment' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'student_id' 'group' + 'by' 't1' '.' 'student_id' 'order' 'by' 'count' '(' '*' ')' 'desc' + 'limit' 'value']","['Which' 'student' 'has' 'enrolled' 'for' 'the' 'most' 'times' 'in' 'any' + 'program' '?' 'List' 'the' 'id' ',' 'first' 'name' ',' 'middle' 'name' + ',' 'last' 'name' ',' 'the' 'number' 'of' 'enrollments' 'and' 'student' + 'id' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +542,student_transcripts_tracking,"SELECT T1.student_id , T1.first_name , T1.middle_name , T1.last_name , count(*) , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1","What is the first, middle, and last name, along with the id and number of enrollments, for the student who enrolled the most in any program?","['SELECT' 'T1.student_id' ',' 'T1.first_name' ',' 'T1.middle_name' ',' + 'T1.last_name' ',' 'count' '(' '*' ')' ',' 'T1.student_id' 'FROM' + 'Students' 'AS' 'T1' 'JOIN' 'Student_Enrolment' 'AS' 'T2' 'ON' + 'T1.student_id' '=' 'T2.student_id' 'GROUP' 'BY' 'T1.student_id' 'ORDER' + 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'student_id' ',' 't1' '.' 'first_name' ',' 't1' '.' + 'middle_name' ',' 't1' '.' 'last_name' ',' 'count' '(' '*' ')' ',' 't1' + '.' 'student_id' 'from' 'students' 'as' 't1' 'join' 'student_enrolment' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'student_id' 'group' + 'by' 't1' '.' 'student_id' 'order' 'by' 'count' '(' '*' ')' 'desc' + 'limit' 'value']","['What' 'is' 'the' 'first' ',' 'middle' ',' 'and' 'last' 'name' ',' + 'along' 'with' 'the' 'id' 'and' 'number' 'of' 'enrollments' ',' 'for' + 'the' 'student' 'who' 'enrolled' 'the' 'most' 'in' 'any' 'program' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +543,student_transcripts_tracking,SELECT semester_name FROM Semesters WHERE semester_id NOT IN( SELECT semester_id FROM Student_Enrolment ),Which semesters do not have any student enrolled? List the semester name.,"['SELECT' 'semester_name' 'FROM' 'Semesters' 'WHERE' 'semester_id' 'NOT' + 'IN' '(' 'SELECT' 'semester_id' 'FROM' 'Student_Enrolment' ')']","['select' 'semester_name' 'from' 'semesters' 'where' 'semester_id' 'not' + 'in' '(' 'select' 'semester_id' 'from' 'student_enrolment' ')']","['Which' 'semesters' 'do' 'not' 'have' 'any' 'student' 'enrolled' '?' + 'List' 'the' 'semester' 'name' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +544,student_transcripts_tracking,SELECT semester_name FROM Semesters WHERE semester_id NOT IN( SELECT semester_id FROM Student_Enrolment ),What is the name of the semester with no students enrolled?,"['SELECT' 'semester_name' 'FROM' 'Semesters' 'WHERE' 'semester_id' 'NOT' + 'IN' '(' 'SELECT' 'semester_id' 'FROM' 'Student_Enrolment' ')']","['select' 'semester_name' 'from' 'semesters' 'where' 'semester_id' 'not' + 'in' '(' 'select' 'semester_id' 'from' 'student_enrolment' ')']","['What' 'is' 'the' 'name' 'of' 'the' 'semester' 'with' 'no' 'students' + 'enrolled' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +545,student_transcripts_tracking,SELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id,What are all the course names of the courses which ever have students enrolled in?,"['SELECT' 'DISTINCT' 'T1.course_name' 'FROM' 'Courses' 'AS' 'T1' 'JOIN' + 'Student_Enrolment_Courses' 'AS' 'T2' 'ON' 'T1.course_id' '=' + 'T2.course_id']","['select' 'distinct' 't1' '.' 'course_name' 'from' 'courses' 'as' 't1' + 'join' 'student_enrolment_courses' 'as' 't2' 'on' 't1' '.' 'course_id' + '=' 't2' '.' 'course_id']","['What' 'are' 'all' 'the' 'course' 'names' 'of' 'the' 'courses' 'which' + 'ever' 'have' 'students' 'enrolled' 'in' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +546,student_transcripts_tracking,SELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id,What are the names of all courses that have some students enrolled?,"['SELECT' 'DISTINCT' 'T1.course_name' 'FROM' 'Courses' 'AS' 'T1' 'JOIN' + 'Student_Enrolment_Courses' 'AS' 'T2' 'ON' 'T1.course_id' '=' + 'T2.course_id']","['select' 'distinct' 't1' '.' 'course_name' 'from' 'courses' 'as' 't1' + 'join' 'student_enrolment_courses' 'as' 't2' 'on' 't1' '.' 'course_id' + '=' 't2' '.' 'course_id']","['What' 'are' 'the' 'names' 'of' 'all' 'courses' 'that' 'have' 'some' + 'students' 'enrolled' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +547,student_transcripts_tracking,SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY count(*) DESC LIMIT 1,What's the name of the course with most number of enrollments?,"['SELECT' 'T1.course_name' 'FROM' 'Courses' 'AS' 'T1' 'JOIN' + 'Student_Enrolment_Courses' 'AS' 'T2' 'ON' 'T1.course_id' '=' + 'T2.course_id' 'GROUP' 'BY' 'T1.course_name' 'ORDER' 'BY' 'count' '(' '*' + ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'course_name' 'from' 'courses' 'as' 't1' 'join' + 'student_enrolment_courses' 'as' 't2' 'on' 't1' '.' 'course_id' '=' 't2' + '.' 'course_id' 'group' 'by' 't1' '.' 'course_name' 'order' 'by' 'count' + '(' '*' ')' 'desc' 'limit' 'value']","['What' ""'s"" 'the' 'name' 'of' 'the' 'course' 'with' 'most' 'number' 'of' + 'enrollments' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +548,student_transcripts_tracking,SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY count(*) DESC LIMIT 1,What is the name of the course with the most students enrolled?,"['SELECT' 'T1.course_name' 'FROM' 'Courses' 'AS' 'T1' 'JOIN' + 'Student_Enrolment_Courses' 'AS' 'T2' 'ON' 'T1.course_id' '=' + 'T2.course_id' 'GROUP' 'BY' 'T1.course_name' 'ORDER' 'BY' 'count' '(' '*' + ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'course_name' 'from' 'courses' 'as' 't1' 'join' + 'student_enrolment_courses' 'as' 't2' 'on' 't1' '.' 'course_id' '=' 't2' + '.' 'course_id' 'group' 'by' 't1' '.' 'course_name' 'order' 'by' 'count' + '(' '*' ')' 'desc' 'limit' 'value']","['What' 'is' 'the' 'name' 'of' 'the' 'course' 'with' 'the' 'most' + 'students' 'enrolled' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +549,student_transcripts_tracking,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,Find the last name of the students who currently live in the state of North Carolina but have not registered in any degree program.,"['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']","['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']","['Find' 'the' 'last' 'name' 'of' 'the' 'students' 'who' 'currently' 'live' + 'in' 'the' 'state' 'of' 'North' 'Carolina' 'but' 'have' 'not' + 'registered' 'in' 'any' 'degree' 'program' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +550,student_transcripts_tracking,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,What are the last name of the students who live in North Carolina but have not registered in any degree programs?,"['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']","['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']","['What' 'are' 'the' 'last' 'name' 'of' 'the' 'students' 'who' 'live' 'in' + 'North' 'Carolina' 'but' 'have' 'not' 'registered' 'in' 'any' 'degree' + 'programs' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +551,student_transcripts_tracking,"SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id HAVING count(*) >= 2",Show the date and id of the transcript with at least 2 course results.,"['SELECT' 'T2.transcript_date' ',' 'T1.transcript_id' 'FROM' + 'Transcript_Contents' 'AS' 'T1' 'JOIN' 'Transcripts' 'AS' 'T2' 'ON' + 'T1.transcript_id' '=' 'T2.transcript_id' 'GROUP' 'BY' 'T1.transcript_id' + 'HAVING' 'count' '(' '*' ')' '>' '=' '2']","['select' 't2' '.' 'transcript_date' ',' 't1' '.' 'transcript_id' 'from' + 'transcript_contents' 'as' 't1' 'join' 'transcripts' 'as' 't2' 'on' 't1' + '.' 'transcript_id' '=' 't2' '.' 'transcript_id' 'group' 'by' 't1' '.' + 'transcript_id' 'having' 'count' '(' '*' ')' '>' '=' 'value']","['Show' 'the' 'date' 'and' 'id' 'of' 'the' 'transcript' 'with' 'at' + 'least' '2' 'course' 'results' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +552,student_transcripts_tracking,"SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id HAVING count(*) >= 2",What is the date and id of the transcript with at least 2 courses listed?,"['SELECT' 'T2.transcript_date' ',' 'T1.transcript_id' 'FROM' + 'Transcript_Contents' 'AS' 'T1' 'JOIN' 'Transcripts' 'AS' 'T2' 'ON' + 'T1.transcript_id' '=' 'T2.transcript_id' 'GROUP' 'BY' 'T1.transcript_id' + 'HAVING' 'count' '(' '*' ')' '>' '=' '2']","['select' 't2' '.' 'transcript_date' ',' 't1' '.' 'transcript_id' 'from' + 'transcript_contents' 'as' 't1' 'join' 'transcripts' 'as' 't2' 'on' 't1' + '.' 'transcript_id' '=' 't2' '.' 'transcript_id' 'group' 'by' 't1' '.' + 'transcript_id' 'having' 'count' '(' '*' ')' '>' '=' 'value']","['What' 'is' 'the' 'date' 'and' 'id' 'of' 'the' 'transcript' 'with' 'at' + 'least' '2' 'courses' 'listed' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +553,student_transcripts_tracking,SELECT cell_mobile_number FROM Students WHERE first_name = 'Timmothy' AND last_name = 'Ward',What is the phone number of the man with the first name Timmothy and the last name Ward?,"['SELECT' 'cell_mobile_number' 'FROM' 'Students' 'WHERE' 'first_name' '=' + ""'Timmothy"" ""'"" 'AND' 'last_name' '=' ""'Ward"" ""'""]","['select' 'cell_mobile_number' 'from' 'students' 'where' 'first_name' '=' + 'value' 'and' 'last_name' '=' 'value']","['What' 'is' 'the' 'phone' 'number' 'of' 'the' 'man' 'with' 'the' 'first' + 'name' 'Timmothy' 'and' 'the' 'last' 'name' 'Ward' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +554,student_transcripts_tracking,select cell_mobile_number from students where first_name = 'timmothy' and last_name = 'ward',What is the mobile phone number of the student named Timmothy Ward ?,"['select' 'cell_mobile_number' 'from' 'students' 'where' 'first_name' '=' + '""timmothy""' 'and' 'last_name' '=' '""ward""']","['select' 'cell_mobile_number' 'from' 'students' 'where' 'first_name' '=' + 'value' 'and' 'last_name' '=' 'value']","['What' 'is' 'the' 'mobile' 'phone' 'number' 'of' 'the' 'student' 'named' + 'Timmothy' 'Ward' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +555,student_transcripts_tracking,"SELECT first_name , middle_name , last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1","Who is the first student to register? List the first name, middle name and last name.","['SELECT' 'first_name' ',' 'middle_name' ',' 'last_name' 'FROM' 'Students' + 'ORDER' 'BY' 'date_first_registered' 'ASC' 'LIMIT' '1']","['select' 'first_name' ',' 'middle_name' ',' 'last_name' 'from' 'students' + 'order' 'by' 'date_first_registered' 'asc' 'limit' 'value']","['Who' 'is' 'the' 'first' 'student' 'to' 'register' '?' 'List' 'the' + 'first' 'name' ',' 'middle' 'name' 'and' 'last' 'name' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +556,student_transcripts_tracking,"SELECT first_name , middle_name , last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1","What is the first, middle, and last name of the first student to register?","['SELECT' 'first_name' ',' 'middle_name' ',' 'last_name' 'FROM' 'Students' + 'ORDER' 'BY' 'date_first_registered' 'ASC' 'LIMIT' '1']","['select' 'first_name' ',' 'middle_name' ',' 'last_name' 'from' 'students' + 'order' 'by' 'date_first_registered' 'asc' 'limit' 'value']","['What' 'is' 'the' 'first' ',' 'middle' ',' 'and' 'last' 'name' 'of' 'the' + 'first' 'student' 'to' 'register' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +557,student_transcripts_tracking,"SELECT first_name , middle_name , last_name FROM Students ORDER BY date_left ASC LIMIT 1","Who is the earliest graduate of the school? List the first name, middle name and last name.","['SELECT' 'first_name' ',' 'middle_name' ',' 'last_name' 'FROM' 'Students' + 'ORDER' 'BY' 'date_left' 'ASC' 'LIMIT' '1']","['select' 'first_name' ',' 'middle_name' ',' 'last_name' 'from' 'students' + 'order' 'by' 'date_left' 'asc' 'limit' 'value']","['Who' 'is' 'the' 'earliest' 'graduate' 'of' 'the' 'school' '?' 'List' + 'the' 'first' 'name' ',' 'middle' 'name' 'and' 'last' 'name' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +558,student_transcripts_tracking,"SELECT first_name , middle_name , last_name FROM Students ORDER BY date_left ASC LIMIT 1","What is the first, middle, and last name of the earliest school graduate?","['SELECT' 'first_name' ',' 'middle_name' ',' 'last_name' 'FROM' 'Students' + 'ORDER' 'BY' 'date_left' 'ASC' 'LIMIT' '1']","['select' 'first_name' ',' 'middle_name' ',' 'last_name' 'from' 'students' + 'order' 'by' 'date_left' 'asc' 'limit' 'value']","['What' 'is' 'the' 'first' ',' 'middle' ',' 'and' 'last' 'name' 'of' 'the' + 'earliest' 'school' 'graduate' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +559,student_transcripts_tracking,SELECT first_name FROM Students WHERE current_address_id != permanent_address_id,Whose permanent address is different from his or her current address? List his or her first name.,"['SELECT' 'first_name' 'FROM' 'Students' 'WHERE' 'current_address_id' '!' + '=' 'permanent_address_id']","['select' 'first_name' 'from' 'students' 'where' 'current_address_id' '!' + '=' 'permanent_address_id']","['Whose' 'permanent' 'address' 'is' 'different' 'from' 'his' 'or' 'her' + 'current' 'address' '?' 'List' 'his' 'or' 'her' 'first' 'name' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +560,student_transcripts_tracking,SELECT first_name FROM Students WHERE current_address_id != permanent_address_id,What is the first name of the student whose permanent address is different from his or her current one?,"['SELECT' 'first_name' 'FROM' 'Students' 'WHERE' 'current_address_id' '!' + '=' 'permanent_address_id']","['select' 'first_name' 'from' 'students' 'where' 'current_address_id' '!' + '=' 'permanent_address_id']","['What' 'is' 'the' 'first' 'name' 'of' 'the' 'student' 'whose' 'permanent' + 'address' 'is' 'different' 'from' 'his' 'or' 'her' 'current' 'one' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +561,student_transcripts_tracking,"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",Which address holds the most number of students currently? List the address id and all lines.,"['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']","['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']","['Which' 'address' 'holds' 'the' 'most' 'number' 'of' 'students' + 'currently' '?' 'List' 'the' 'address' 'id' 'and' 'all' 'lines' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +562,student_transcripts_tracking,"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","What is the id, line 1, and line 2 of the address with the most students?","['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']","['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']","['What' 'is' 'the' 'id' ',' 'line' '1' ',' 'and' 'line' '2' 'of' 'the' + 'address' 'with' 'the' 'most' 'students' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +563,student_transcripts_tracking,SELECT avg(transcript_date) FROM Transcripts,"On average, when were the transcripts printed?",['SELECT' 'avg' '(' 'transcript_date' ')' 'FROM' 'Transcripts'],['select' 'avg' '(' 'transcript_date' ')' 'from' 'transcripts'],"['On' 'average' ',' 'when' 'were' 'the' 'transcripts' 'printed' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +564,student_transcripts_tracking,SELECT avg(transcript_date) FROM Transcripts,What is the average transcript date?,['SELECT' 'avg' '(' 'transcript_date' ')' 'FROM' 'Transcripts'],['select' 'avg' '(' 'transcript_date' ')' 'from' 'transcripts'],['What' 'is' 'the' 'average' 'transcript' 'date' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +565,student_transcripts_tracking,"SELECT transcript_date , other_details FROM Transcripts ORDER BY transcript_date ASC LIMIT 1",When is the first transcript released? List the date and details.,"['SELECT' 'transcript_date' ',' 'other_details' 'FROM' 'Transcripts' + 'ORDER' 'BY' 'transcript_date' 'ASC' 'LIMIT' '1']","['select' 'transcript_date' ',' 'other_details' 'from' 'transcripts' + 'order' 'by' 'transcript_date' 'asc' 'limit' 'value']","['When' 'is' 'the' 'first' 'transcript' 'released' '?' 'List' 'the' 'date' + 'and' 'details' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +566,student_transcripts_tracking,"SELECT transcript_date , other_details FROM Transcripts ORDER BY transcript_date ASC LIMIT 1","What is the earliest date of a transcript release, and what details can you tell me?","['SELECT' 'transcript_date' ',' 'other_details' 'FROM' 'Transcripts' + 'ORDER' 'BY' 'transcript_date' 'ASC' 'LIMIT' '1']","['select' 'transcript_date' ',' 'other_details' 'from' 'transcripts' + 'order' 'by' 'transcript_date' 'asc' 'limit' 'value']","['What' 'is' 'the' 'earliest' 'date' 'of' 'a' 'transcript' 'release' ',' + 'and' 'what' 'details' 'can' 'you' 'tell' 'me' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +567,student_transcripts_tracking,SELECT count(*) FROM Transcripts,How many transcripts are released?,['SELECT' 'count' '(' '*' ')' 'FROM' 'Transcripts'],['select' 'count' '(' '*' ')' 'from' 'transcripts'],['How' 'many' 'transcripts' 'are' 'released' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +568,student_transcripts_tracking,SELECT count(*) FROM Transcripts,How many transcripts are listed?,['SELECT' 'count' '(' '*' ')' 'FROM' 'Transcripts'],['select' 'count' '(' '*' ')' 'from' 'transcripts'],['How' 'many' 'transcripts' 'are' 'listed' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +569,student_transcripts_tracking,SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1,What is the last transcript release date?,"['SELECT' 'transcript_date' 'FROM' 'Transcripts' 'ORDER' 'BY' + 'transcript_date' 'DESC' 'LIMIT' '1']","['select' 'transcript_date' 'from' 'transcripts' 'order' 'by' + 'transcript_date' 'desc' 'limit' 'value']",['What' 'is' 'the' 'last' 'transcript' 'release' 'date' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +570,student_transcripts_tracking,SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1,When was the last transcript released?,"['SELECT' 'transcript_date' 'FROM' 'Transcripts' 'ORDER' 'BY' + 'transcript_date' 'DESC' 'LIMIT' '1']","['select' 'transcript_date' 'from' 'transcripts' 'order' 'by' + 'transcript_date' 'desc' 'limit' 'value']",['When' 'was' 'the' 'last' 'transcript' 'released' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +571,student_transcripts_tracking,"SELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1",How many times at most can a course enrollment result show in different transcripts? Also show the course enrollment id.,"['SELECT' 'count' '(' '*' ')' ',' 'student_course_id' 'FROM' + 'Transcript_Contents' 'GROUP' 'BY' 'student_course_id' 'ORDER' 'BY' + 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'count' '(' '*' ')' ',' 'student_course_id' 'from' + 'transcript_contents' 'group' 'by' 'student_course_id' 'order' 'by' + 'count' '(' '*' ')' 'desc' 'limit' 'value']","['How' 'many' 'times' 'at' 'most' 'can' 'a' 'course' 'enrollment' 'result' + 'show' 'in' 'different' 'transcripts' '?' 'Also' 'show' 'the' 'course' + 'enrollment' 'id' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +572,student_transcripts_tracking,"SELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1",What is the maximum number of times that a course shows up in different transcripts and what is that course's enrollment id?,"['SELECT' 'count' '(' '*' ')' ',' 'student_course_id' 'FROM' + 'Transcript_Contents' 'GROUP' 'BY' 'student_course_id' 'ORDER' 'BY' + 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'count' '(' '*' ')' ',' 'student_course_id' 'from' + 'transcript_contents' 'group' 'by' 'student_course_id' 'order' 'by' + 'count' '(' '*' ')' 'desc' 'limit' 'value']","['What' 'is' 'the' 'maximum' 'number' 'of' 'times' 'that' 'a' 'course' + 'shows' 'up' 'in' 'different' 'transcripts' 'and' 'what' 'is' 'that' + 'course' ""'s"" 'enrollment' 'id' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +573,student_transcripts_tracking,"SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY count(*) ASC LIMIT 1","Show the date of the transcript which shows the least number of results, also list the id.","['SELECT' 'T2.transcript_date' ',' 'T1.transcript_id' 'FROM' + 'Transcript_Contents' 'AS' 'T1' 'JOIN' 'Transcripts' 'AS' 'T2' 'ON' + 'T1.transcript_id' '=' 'T2.transcript_id' 'GROUP' 'BY' 'T1.transcript_id' + 'ORDER' 'BY' 'count' '(' '*' ')' 'ASC' 'LIMIT' '1']","['select' 't2' '.' 'transcript_date' ',' 't1' '.' 'transcript_id' 'from' + 'transcript_contents' 'as' 't1' 'join' 'transcripts' 'as' 't2' 'on' 't1' + '.' 'transcript_id' '=' 't2' '.' 'transcript_id' 'group' 'by' 't1' '.' + 'transcript_id' 'order' 'by' 'count' '(' '*' ')' 'asc' 'limit' 'value']","['Show' 'the' 'date' 'of' 'the' 'transcript' 'which' 'shows' 'the' 'least' + 'number' 'of' 'results' ',' 'also' 'list' 'the' 'id' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +574,student_transcripts_tracking,"SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY count(*) ASC LIMIT 1",What is the date and id of the transcript with the least number of results?,"['SELECT' 'T2.transcript_date' ',' 'T1.transcript_id' 'FROM' + 'Transcript_Contents' 'AS' 'T1' 'JOIN' 'Transcripts' 'AS' 'T2' 'ON' + 'T1.transcript_id' '=' 'T2.transcript_id' 'GROUP' 'BY' 'T1.transcript_id' + 'ORDER' 'BY' 'count' '(' '*' ')' 'ASC' 'LIMIT' '1']","['select' 't2' '.' 'transcript_date' ',' 't1' '.' 'transcript_id' 'from' + 'transcript_contents' 'as' 't1' 'join' 'transcripts' 'as' 't2' 'on' 't1' + '.' 'transcript_id' '=' 't2' '.' 'transcript_id' 'group' 'by' 't1' '.' + 'transcript_id' 'order' 'by' 'count' '(' '*' ')' 'asc' 'limit' 'value']","['What' 'is' 'the' 'date' 'and' 'id' 'of' 'the' 'transcript' 'with' 'the' + 'least' 'number' 'of' 'results' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +575,student_transcripts_tracking,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',Find the semester when both Master students and Bachelor students got enrolled in.,"['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"" ""'""]","['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']","['Find' 'the' 'semester' 'when' 'both' 'Master' 'students' 'and' + 'Bachelor' 'students' 'got' 'enrolled' 'in' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +576,student_transcripts_tracking,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',What is the id of the semester that had both Masters and Bachelors students enrolled?,"['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"" ""'""]","['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']","['What' 'is' 'the' 'id' 'of' 'the' 'semester' 'that' 'had' 'both' + 'Masters' 'and' 'Bachelors' 'students' 'enrolled' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +577,student_transcripts_tracking,SELECT count(DISTINCT current_address_id) FROM Students,How many different addresses do the students currently live?,"['SELECT' 'count' '(' 'DISTINCT' 'current_address_id' ')' 'FROM' + 'Students']","['select' 'count' '(' 'distinct' 'current_address_id' ')' 'from' + 'students']","['How' 'many' 'different' 'addresses' 'do' 'the' 'students' 'currently' + 'live' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +578,student_transcripts_tracking,SELECT count(DISTINCT current_address_id) FROM Students,What are the different addresses that have students living there?,"['SELECT' 'count' '(' 'DISTINCT' 'current_address_id' ')' 'FROM' + 'Students']","['select' 'count' '(' 'distinct' 'current_address_id' ')' 'from' + 'students']","['What' 'are' 'the' 'different' 'addresses' 'that' 'have' 'students' + 'living' 'there' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +579,student_transcripts_tracking,SELECT other_student_details FROM Students ORDER BY other_student_details DESC,List all the student details in reversed lexicographical order.,"['SELECT' 'other_student_details' 'FROM' 'Students' 'ORDER' 'BY' + 'other_student_details' 'DESC']","['select' 'other_student_details' 'from' 'students' 'order' 'by' + 'other_student_details' 'desc']","['List' 'all' 'the' 'student' 'details' 'in' 'reversed' 'lexicographical' + 'order' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +580,student_transcripts_tracking,SELECT other_student_details FROM Students ORDER BY other_student_details DESC,What other details can you tell me about students in reverse alphabetical order?,"['SELECT' 'other_student_details' 'FROM' 'Students' 'ORDER' 'BY' + 'other_student_details' 'DESC']","['select' 'other_student_details' 'from' 'students' 'order' 'by' + 'other_student_details' 'desc']","['What' 'other' 'details' 'can' 'you' 'tell' 'me' 'about' 'students' 'in' + 'reverse' 'alphabetical' 'order' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +581,student_transcripts_tracking,SELECT section_description FROM Sections WHERE section_name = 'h',Describe the section h.,"['SELECT' 'section_description' 'FROM' 'Sections' 'WHERE' 'section_name' + '=' ""'h"" ""'""]","['select' 'section_description' 'from' 'sections' 'where' 'section_name' + '=' 'value']",['Describe' 'the' 'section' 'h' '.'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +582,student_transcripts_tracking,SELECT section_description FROM Sections WHERE section_name = 'h',What is the description for the section named h?,"['SELECT' 'section_description' 'FROM' 'Sections' 'WHERE' 'section_name' + '=' ""'h"" ""'""]","['select' 'section_description' 'from' 'sections' 'where' 'section_name' + '=' 'value']",['What' 'is' 'the' 'description' 'for' 'the' 'section' 'named' 'h' '?'],"['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +583,student_transcripts_tracking,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',Find the first name of the students who permanently live in the country Haiti or have the cell phone number 09700166582 .,"['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""']","['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']","['Find' 'the' 'first' 'name' 'of' 'the' 'students' 'who' 'permanently' + 'live' 'in' 'the' 'country' 'Haiti' 'or' 'have' 'the' 'cell' 'phone' + 'number' '09700166582' '.']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +584,student_transcripts_tracking,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',What are the first names of the students who live in Haiti permanently or have the cell phone number 09700166582 ?,"['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""']","['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']","['What' 'are' 'the' 'first' 'names' 'of' 'the' 'students' 'who' 'live' + 'in' 'Haiti' 'permanently' 'or' 'have' 'the' 'cell' 'phone' 'number' + '09700166582' '?']","['address id', 'line 1', 'line 2', 'line 3', 'city', 'zip postcode', 'state province county', 'country', 'other address details', 'course id', 'course name', 'course description', 'other details', 'department id', 'department name', 'department description', 'other details', 'degree program id', 'department id', 'degree summary name', 'degree summary description', 'other details', 'section id', 'course id', 'section name', 'section description', 'other details', 'semester id', 'semester name', 'semester description', 'other details', 'student id', 'current address id', 'permanent address id', 'first name', 'middle name', 'last name', 'cell mobile number', 'email address', 'ssn', 'date first registered', 'date left', 'other student details', 'student enrolment id', 'degree program id', 'semester id', 'student id', 'other details', 'student course id', 'course id', 'student enrolment id', 'transcript id', 'transcript date', 'other details', 'student course id', 'transcript id']" +585,tvshow,SELECT Title FROM Cartoon ORDER BY title,List the title of all cartoons in alphabetical order.,['SELECT' 'Title' 'FROM' 'Cartoon' 'ORDER' 'BY' 'title'],['select' 'title' 'from' 'cartoon' 'order' 'by' 'title'],"['List' 'the' 'title' 'of' 'all' 'cartoons' 'in' 'alphabetical' 'order' + '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +586,tvshow,SELECT Title FROM Cartoon ORDER BY title,What are the titles of the cartoons sorted alphabetically?,['SELECT' 'Title' 'FROM' 'Cartoon' 'ORDER' 'BY' 'title'],['select' 'title' 'from' 'cartoon' 'order' 'by' 'title'],"['What' 'are' 'the' 'titles' 'of' 'the' 'cartoons' 'sorted' + 'alphabetically' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +587,tvshow,"SELECT Title FROM Cartoon WHERE Directed_by = ""Ben Jones"";","List all cartoon directed by ""Ben Jones"".","['SELECT' 'Title' 'FROM' 'Cartoon' 'WHERE' 'Directed_by' '=' '``' 'Ben' + 'Jones' ""''"" ';']",['select' 'title' 'from' 'cartoon' 'where' 'directed_by' '=' 'value'],"['List' 'all' 'cartoon' 'directed' 'by' '``' 'Ben' 'Jones' ""''"" '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +588,tvshow,"SELECT Title FROM Cartoon WHERE Directed_by = ""Ben Jones"";",What are the names of all cartoons directed by Ben Jones?,"['SELECT' 'Title' 'FROM' 'Cartoon' 'WHERE' 'Directed_by' '=' '``' 'Ben' + 'Jones' ""''"" ';']",['select' 'title' 'from' 'cartoon' 'where' 'directed_by' '=' 'value'],"['What' 'are' 'the' 'names' 'of' 'all' 'cartoons' 'directed' 'by' 'Ben' + 'Jones' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +589,tvshow,"SELECT count(*) FROM Cartoon WHERE Written_by = ""Joseph Kuhr"";","How many cartoons were written by ""Joseph Kuhr""?","['SELECT' 'count' '(' '*' ')' 'FROM' 'Cartoon' 'WHERE' 'Written_by' '=' + '``' 'Joseph' 'Kuhr' ""''"" ';']","['select' 'count' '(' '*' ')' 'from' 'cartoon' 'where' 'written_by' '=' + 'value']","['How' 'many' 'cartoons' 'were' 'written' 'by' '``' 'Joseph' 'Kuhr' ""''"" + '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +590,tvshow,"SELECT count(*) FROM Cartoon WHERE Written_by = ""Joseph Kuhr"";",What is the number of cartoones written by Joseph Kuhr?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Cartoon' 'WHERE' 'Written_by' '=' + '``' 'Joseph' 'Kuhr' ""''"" ';']","['select' 'count' '(' '*' ')' 'from' 'cartoon' 'where' 'written_by' '=' + 'value']","['What' 'is' 'the' 'number' 'of' 'cartoones' 'written' 'by' 'Joseph' + 'Kuhr' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +591,tvshow,"SELECT title , Directed_by FROM Cartoon ORDER BY Original_air_date",list all cartoon titles and their directors ordered by their air date,"['SELECT' 'title' ',' 'Directed_by' 'FROM' 'Cartoon' 'ORDER' 'BY' + 'Original_air_date']","['select' 'title' ',' 'directed_by' 'from' 'cartoon' 'order' 'by' + 'original_air_date']","['list' 'all' 'cartoon' 'titles' 'and' 'their' 'directors' 'ordered' 'by' + 'their' 'air' 'date']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +592,tvshow,"SELECT title , Directed_by FROM Cartoon ORDER BY Original_air_date",What is the name and directors of all the cartoons that are ordered by air date?,"['SELECT' 'title' ',' 'Directed_by' 'FROM' 'Cartoon' 'ORDER' 'BY' + 'Original_air_date']","['select' 'title' ',' 'directed_by' 'from' 'cartoon' 'order' 'by' + 'original_air_date']","['What' 'is' 'the' 'name' 'and' 'directors' 'of' 'all' 'the' 'cartoons' + 'that' 'are' 'ordered' 'by' 'air' 'date' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +593,tvshow,"SELECT Title FROM Cartoon WHERE Directed_by = ""Ben Jones"" OR Directed_by = ""Brandon Vietti"";","List the title of all cartoon directed by ""Ben Jones"" or ""Brandon Vietti"".","['SELECT' 'Title' 'FROM' 'Cartoon' 'WHERE' 'Directed_by' '=' '``' 'Ben' + 'Jones' ""''"" 'OR' 'Directed_by' '=' '``' 'Brandon' 'Vietti' ""''"" ';']","['select' 'title' 'from' 'cartoon' 'where' 'directed_by' '=' 'value' 'or' + 'directed_by' '=' 'value']","['List' 'the' 'title' 'of' 'all' 'cartoon' 'directed' 'by' '``' 'Ben' + 'Jones' ""''"" 'or' '``' 'Brandon' 'Vietti' ""''"" '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +594,tvshow,"SELECT Title FROM Cartoon WHERE Directed_by = ""Ben Jones"" OR Directed_by = ""Brandon Vietti"";",What are the titles of all cartoons directed by Ben Jones or Brandon Vietti?,"['SELECT' 'Title' 'FROM' 'Cartoon' 'WHERE' 'Directed_by' '=' '``' 'Ben' + 'Jones' ""''"" 'OR' 'Directed_by' '=' '``' 'Brandon' 'Vietti' ""''"" ';']","['select' 'title' 'from' 'cartoon' 'where' 'directed_by' '=' 'value' 'or' + 'directed_by' '=' 'value']","['What' 'are' 'the' 'titles' 'of' 'all' 'cartoons' 'directed' 'by' 'Ben' + 'Jones' 'or' 'Brandon' 'Vietti' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +595,tvshow,"SELECT Country , count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1;",Which country has the most of TV Channels? List the country and number of TV Channels it has.,"['SELECT' 'Country' ',' 'count' '(' '*' ')' 'FROM' 'TV_Channel' 'GROUP' + 'BY' 'Country' 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1' ';']","['select' 'country' ',' 'count' '(' '*' ')' 'from' 'tv_channel' 'group' + 'by' 'country' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['Which' 'country' 'has' 'the' 'most' 'of' 'TV' 'Channels' '?' 'List' + 'the' 'country' 'and' 'number' 'of' 'TV' 'Channels' 'it' 'has' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +596,tvshow,"SELECT Country , count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1;",What is the country with the most number of TV Channels and how many does it have?,"['SELECT' 'Country' ',' 'count' '(' '*' ')' 'FROM' 'TV_Channel' 'GROUP' + 'BY' 'Country' 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1' ';']","['select' 'country' ',' 'count' '(' '*' ')' 'from' 'tv_channel' 'group' + 'by' 'country' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['What' 'is' 'the' 'country' 'with' 'the' 'most' 'number' 'of' 'TV' + 'Channels' 'and' 'how' 'many' 'does' 'it' 'have' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +597,tvshow,"SELECT count(DISTINCT series_name) , count(DISTINCT content) FROM TV_Channel;",List the number of different series names and contents in the TV Channel table.,"['SELECT' 'count' '(' 'DISTINCT' 'series_name' ')' ',' 'count' '(' + 'DISTINCT' 'content' ')' 'FROM' 'TV_Channel' ';']","['select' 'count' '(' 'distinct' 'series_name' ')' ',' 'count' '(' + 'distinct' 'content' ')' 'from' 'tv_channel']","['List' 'the' 'number' 'of' 'different' 'series' 'names' 'and' 'contents' + 'in' 'the' 'TV' 'Channel' 'table' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +598,tvshow,"SELECT count(DISTINCT series_name) , count(DISTINCT content) FROM TV_Channel;",How many different series and contents are listed in the TV Channel table?,"['SELECT' 'count' '(' 'DISTINCT' 'series_name' ')' ',' 'count' '(' + 'DISTINCT' 'content' ')' 'FROM' 'TV_Channel' ';']","['select' 'count' '(' 'distinct' 'series_name' ')' ',' 'count' '(' + 'distinct' 'content' ')' 'from' 'tv_channel']","['How' 'many' 'different' 'series' 'and' 'contents' 'are' 'listed' 'in' + 'the' 'TV' 'Channel' 'table' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +599,tvshow,"SELECT Content FROM TV_Channel WHERE series_name = ""Sky Radio"";","What is the content of TV Channel with serial name ""Sky Radio""?","['SELECT' 'Content' 'FROM' 'TV_Channel' 'WHERE' 'series_name' '=' '``' + 'Sky' 'Radio' ""''"" ';']",['select' 'content' 'from' 'tv_channel' 'where' 'series_name' '=' 'value'],"['What' 'is' 'the' 'content' 'of' 'TV' 'Channel' 'with' 'serial' 'name' + '``' 'Sky' 'Radio' ""''"" '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +600,tvshow,"SELECT Content FROM TV_Channel WHERE series_name = ""Sky Radio"";",What is the content of the series Sky Radio?,"['SELECT' 'Content' 'FROM' 'TV_Channel' 'WHERE' 'series_name' '=' '``' + 'Sky' 'Radio' ""''"" ';']",['select' 'content' 'from' 'tv_channel' 'where' 'series_name' '=' 'value'],['What' 'is' 'the' 'content' 'of' 'the' 'series' 'Sky' 'Radio' '?'],"['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +601,tvshow,"SELECT Package_Option FROM TV_Channel WHERE series_name = ""Sky Radio"";","What is the Package Option of TV Channel with serial name ""Sky Radio""?","['SELECT' 'Package_Option' 'FROM' 'TV_Channel' 'WHERE' 'series_name' '=' + '``' 'Sky' 'Radio' ""''"" ';']","['select' 'package_option' 'from' 'tv_channel' 'where' 'series_name' '=' + 'value']","['What' 'is' 'the' 'Package' 'Option' 'of' 'TV' 'Channel' 'with' 'serial' + 'name' '``' 'Sky' 'Radio' ""''"" '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +602,tvshow,"SELECT Package_Option FROM TV_Channel WHERE series_name = ""Sky Radio"";",What are the Package Options of the TV Channels whose series names are Sky Radio?,"['SELECT' 'Package_Option' 'FROM' 'TV_Channel' 'WHERE' 'series_name' '=' + '``' 'Sky' 'Radio' ""''"" ';']","['select' 'package_option' 'from' 'tv_channel' 'where' 'series_name' '=' + 'value']","['What' 'are' 'the' 'Package' 'Options' 'of' 'the' 'TV' 'Channels' 'whose' + 'series' 'names' 'are' 'Sky' 'Radio' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +603,tvshow,"SELECT count(*) FROM TV_Channel WHERE LANGUAGE = ""English"";",How many TV Channel using language English?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'TV_Channel' 'WHERE' 'LANGUAGE' '=' + '``' 'English' ""''"" ';']","['select' 'count' '(' '*' ')' 'from' 'tv_channel' 'where' 'language' '=' + 'value']",['How' 'many' 'TV' 'Channel' 'using' 'language' 'English' '?'],"['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +604,tvshow,"SELECT count(*) FROM TV_Channel WHERE LANGUAGE = ""English"";",How many TV Channels use the English language?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'TV_Channel' 'WHERE' 'LANGUAGE' '=' + '``' 'English' ""''"" ';']","['select' 'count' '(' '*' ')' 'from' 'tv_channel' 'where' 'language' '=' + 'value']",['How' 'many' 'TV' 'Channels' 'use' 'the' 'English' 'language' '?'],"['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +605,tvshow,"SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;",List the language used least number of TV Channel. List language and number of TV Channel.,"['SELECT' 'LANGUAGE' ',' 'count' '(' '*' ')' 'FROM' 'TV_Channel' 'GROUP' + 'BY' 'LANGUAGE' 'ORDER' 'BY' 'count' '(' '*' ')' 'ASC' 'LIMIT' '1' ';']","['select' 'language' ',' 'count' '(' '*' ')' 'from' 'tv_channel' 'group' + 'by' 'language' 'order' 'by' 'count' '(' '*' ')' 'asc' 'limit' 'value']","['List' 'the' 'language' 'used' 'least' 'number' 'of' 'TV' 'Channel' '.' + 'List' 'language' 'and' 'number' 'of' 'TV' 'Channel' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +606,tvshow,"SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;",What are the languages used by the least number of TV Channels and how many channels use it?,"['SELECT' 'LANGUAGE' ',' 'count' '(' '*' ')' 'FROM' 'TV_Channel' 'GROUP' + 'BY' 'LANGUAGE' 'ORDER' 'BY' 'count' '(' '*' ')' 'ASC' 'LIMIT' '1' ';']","['select' 'language' ',' 'count' '(' '*' ')' 'from' 'tv_channel' 'group' + 'by' 'language' 'order' 'by' 'count' '(' '*' ')' 'asc' 'limit' 'value']","['What' 'are' 'the' 'languages' 'used' 'by' 'the' 'least' 'number' 'of' + 'TV' 'Channels' 'and' 'how' 'many' 'channels' 'use' 'it' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +607,tvshow,"SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE",List each language and the number of TV Channels using it.,"['SELECT' 'LANGUAGE' ',' 'count' '(' '*' ')' 'FROM' 'TV_Channel' 'GROUP' + 'BY' 'LANGUAGE']","['select' 'language' ',' 'count' '(' '*' ')' 'from' 'tv_channel' 'group' + 'by' 'language']","['List' 'each' 'language' 'and' 'the' 'number' 'of' 'TV' 'Channels' + 'using' 'it' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +608,tvshow,"SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE","For each language, list the number of TV Channels that use it.","['SELECT' 'LANGUAGE' ',' 'count' '(' '*' ')' 'FROM' 'TV_Channel' 'GROUP' + 'BY' 'LANGUAGE']","['select' 'language' ',' 'count' '(' '*' ')' 'from' 'tv_channel' 'group' + 'by' 'language']","['For' 'each' 'language' ',' 'list' 'the' 'number' 'of' 'TV' 'Channels' + 'that' 'use' 'it' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +609,tvshow,"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!"";","What is the TV Channel that shows the cartoon ""The Rise of the Blue Beetle!""? List the TV Channel's series name.","['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' '!' '``' ';']","['select' 't1' '.' 'series_name' 'from' 'tv_channel' 'as' 't1' 'join' + 'cartoon' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'channel' 'where' + 't2' '.' 'title' '=' 'value']","['What' 'is' 'the' 'TV' 'Channel' 'that' 'shows' 'the' 'cartoon' '``' + 'The' 'Rise' 'of' 'the' 'Blue' 'Beetle' '!' ""''"" '?' 'List' 'the' 'TV' + 'Channel' ""'s"" 'series' 'name' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +610,tvshow,"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!"";","What is the series name of the TV Channel that shows the cartoon ""The Rise of the Blue Beetle""?","['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' '!' '``' ';']","['select' 't1' '.' 'series_name' 'from' 'tv_channel' 'as' 't1' 'join' + 'cartoon' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'channel' 'where' + 't2' '.' 'title' '=' 'value']","['What' 'is' 'the' 'series' 'name' 'of' 'the' 'TV' 'Channel' 'that' + 'shows' 'the' 'cartoon' '``' 'The' 'Rise' 'of' 'the' 'Blue' 'Beetle' ""''"" + '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +611,tvshow,"SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = ""Sky Radio"";","List the title of all Cartoons showed on TV Channel with series name ""Sky Radio"".","['SELECT' 'T2.Title' 'FROM' 'TV_Channel' 'AS' 'T1' 'JOIN' 'Cartoon' 'AS' + 'T2' 'ON' 'T1.id' '=' 'T2.Channel' 'WHERE' 'T1.series_name' '=' '``' + 'Sky' 'Radio' ""''"" ';']","['select' 't2' '.' 'title' 'from' 'tv_channel' 'as' 't1' 'join' 'cartoon' + 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'channel' 'where' 't1' '.' + 'series_name' '=' 'value']","['List' 'the' 'title' 'of' 'all' 'Cartoons' 'showed' 'on' 'TV' 'Channel' + 'with' 'series' 'name' '``' 'Sky' 'Radio' ""''"" '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +612,tvshow,"SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = ""Sky Radio"";","What is the title of all the cartools that are on the TV Channel with the series name ""Sky Radio""?","['SELECT' 'T2.Title' 'FROM' 'TV_Channel' 'AS' 'T1' 'JOIN' 'Cartoon' 'AS' + 'T2' 'ON' 'T1.id' '=' 'T2.Channel' 'WHERE' 'T1.series_name' '=' '``' + 'Sky' 'Radio' ""''"" ';']","['select' 't2' '.' 'title' 'from' 'tv_channel' 'as' 't1' 'join' 'cartoon' + 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'channel' 'where' 't1' '.' + 'series_name' '=' 'value']","['What' 'is' 'the' 'title' 'of' 'all' 'the' 'cartools' 'that' 'are' 'on' + 'the' 'TV' 'Channel' 'with' 'the' 'series' 'name' '``' 'Sky' 'Radio' ""''"" + '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +613,tvshow,SELECT Episode FROM TV_series ORDER BY rating,List the Episode of all TV series sorted by rating.,['SELECT' 'Episode' 'FROM' 'TV_series' 'ORDER' 'BY' 'rating'],['select' 'episode' 'from' 'tv_series' 'order' 'by' 'rating'],"['List' 'the' 'Episode' 'of' 'all' 'TV' 'series' 'sorted' 'by' 'rating' + '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +614,tvshow,SELECT Episode FROM TV_series ORDER BY rating,What are all of the episodes ordered by ratings?,['SELECT' 'Episode' 'FROM' 'TV_series' 'ORDER' 'BY' 'rating'],['select' 'episode' 'from' 'tv_series' 'order' 'by' 'rating'],['What' 'are' 'all' 'of' 'the' 'episodes' 'ordered' 'by' 'ratings' '?'],"['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +615,tvshow,"SELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;",List top 3 highest Rating TV series. List the TV series's Episode and Rating.,"['SELECT' 'Episode' ',' 'Rating' 'FROM' 'TV_series' 'ORDER' 'BY' 'Rating' + 'DESC' 'LIMIT' '3' ';']","['select' 'episode' ',' 'rating' 'from' 'tv_series' 'order' 'by' 'rating' + 'desc' 'limit' 'value']","['List' 'top' '3' 'highest' 'Rating' 'TV' 'series' '.' 'List' 'the' 'TV' + 'series' ""'s"" 'Episode' 'and' 'Rating' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +616,tvshow,"SELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;",What are 3 most highly rated episodes in the TV series table and what were those ratings?,"['SELECT' 'Episode' ',' 'Rating' 'FROM' 'TV_series' 'ORDER' 'BY' 'Rating' + 'DESC' 'LIMIT' '3' ';']","['select' 'episode' ',' 'rating' 'from' 'tv_series' 'order' 'by' 'rating' + 'desc' 'limit' 'value']","['What' 'are' '3' 'most' 'highly' 'rated' 'episodes' 'in' 'the' 'TV' + 'series' 'table' 'and' 'what' 'were' 'those' 'ratings' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +617,tvshow,"SELECT max(SHARE) , min(SHARE) FROM TV_series;",What is minimum and maximum share of TV series?,"['SELECT' 'max' '(' 'SHARE' ')' ',' 'min' '(' 'SHARE' ')' 'FROM' + 'TV_series' ';']","['select' 'max' '(' 'share' ')' ',' 'min' '(' 'share' ')' 'from' + 'tv_series']",['What' 'is' 'minimum' 'and' 'maximum' 'share' 'of' 'TV' 'series' '?'],"['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +618,tvshow,"SELECT max(SHARE) , min(SHARE) FROM TV_series;",What is the maximum and minimum share for the TV series?,"['SELECT' 'max' '(' 'SHARE' ')' ',' 'min' '(' 'SHARE' ')' 'FROM' + 'TV_series' ';']","['select' 'max' '(' 'share' ')' ',' 'min' '(' 'share' ')' 'from' + 'tv_series']","['What' 'is' 'the' 'maximum' 'and' 'minimum' 'share' 'for' 'the' 'TV' + 'series' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +619,tvshow,"SELECT Air_Date FROM TV_series WHERE Episode = ""A Love of a Lifetime"";","What is the air date of TV series with Episode ""A Love of a Lifetime""?","['SELECT' 'Air_Date' 'FROM' 'TV_series' 'WHERE' 'Episode' '=' '``' 'A' + 'Love' 'of' 'a' 'Lifetime' ""''"" ';']",['select' 'air_date' 'from' 'tv_series' 'where' 'episode' '=' 'value'],"['What' 'is' 'the' 'air' 'date' 'of' 'TV' 'series' 'with' 'Episode' '``' + 'A' 'Love' 'of' 'a' 'Lifetime' ""''"" '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +620,tvshow,"SELECT Air_Date FROM TV_series WHERE Episode = ""A Love of a Lifetime"";","When did the episode ""A Love of a Lifetime"" air?","['SELECT' 'Air_Date' 'FROM' 'TV_series' 'WHERE' 'Episode' '=' '``' 'A' + 'Love' 'of' 'a' 'Lifetime' ""''"" ';']",['select' 'air_date' 'from' 'tv_series' 'where' 'episode' '=' 'value'],"['When' 'did' 'the' 'episode' '``' 'A' 'Love' 'of' 'a' 'Lifetime' ""''"" + 'air' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +621,tvshow,"SELECT Weekly_Rank FROM TV_series WHERE Episode = ""A Love of a Lifetime"";","What is Weekly Rank of TV series with Episode ""A Love of a Lifetime""?","['SELECT' 'Weekly_Rank' 'FROM' 'TV_series' 'WHERE' 'Episode' '=' '``' 'A' + 'Love' 'of' 'a' 'Lifetime' ""''"" ';']",['select' 'weekly_rank' 'from' 'tv_series' 'where' 'episode' '=' 'value'],"['What' 'is' 'Weekly' 'Rank' 'of' 'TV' 'series' 'with' 'Episode' '``' 'A' + 'Love' 'of' 'a' 'Lifetime' ""''"" '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +622,tvshow,"SELECT Weekly_Rank FROM TV_series WHERE Episode = ""A Love of a Lifetime"";","What is the weekly rank for the episode ""A Love of a Lifetime""?","['SELECT' 'Weekly_Rank' 'FROM' 'TV_series' 'WHERE' 'Episode' '=' '``' 'A' + 'Love' 'of' 'a' 'Lifetime' ""''"" ';']",['select' 'weekly_rank' 'from' 'tv_series' 'where' 'episode' '=' 'value'],"['What' 'is' 'the' 'weekly' 'rank' 'for' 'the' 'episode' '``' 'A' 'Love' + 'of' 'a' 'Lifetime' ""''"" '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +623,tvshow,"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"";","What is the TV Channel of TV series with Episode ""A Love of a Lifetime""? List the TV Channel's series name.","['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' ""''"" ';']","['select' 't1' '.' 'series_name' 'from' 'tv_channel' 'as' 't1' 'join' + 'tv_series' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'channel' 'where' + 't2' '.' 'episode' '=' 'value']","['What' 'is' 'the' 'TV' 'Channel' 'of' 'TV' 'series' 'with' 'Episode' '``' + 'A' 'Love' 'of' 'a' 'Lifetime' ""''"" '?' 'List' 'the' 'TV' 'Channel' ""'s"" + 'series' 'name' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +624,tvshow,"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"";","What is the name of the series that has the episode ""A Love of a Lifetime""?","['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' ""''"" ';']","['select' 't1' '.' 'series_name' 'from' 'tv_channel' 'as' 't1' 'join' + 'tv_series' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'channel' 'where' + 't2' '.' 'episode' '=' 'value']","['What' 'is' 'the' 'name' 'of' 'the' 'series' 'that' 'has' 'the' 'episode' + '``' 'A' 'Love' 'of' 'a' 'Lifetime' ""''"" '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +625,tvshow,"SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = ""Sky Radio"";","List the Episode of all TV series showed on TV Channel with series name ""Sky Radio"".","['SELECT' 'T2.Episode' 'FROM' 'TV_Channel' 'AS' 'T1' 'JOIN' 'TV_series' + 'AS' 'T2' 'ON' 'T1.id' '=' 'T2.Channel' 'WHERE' 'T1.series_name' '=' '``' + 'Sky' 'Radio' ""''"" ';']","['select' 't2' '.' 'episode' 'from' 'tv_channel' 'as' 't1' 'join' + 'tv_series' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'channel' 'where' + 't1' '.' 'series_name' '=' 'value']","['List' 'the' 'Episode' 'of' 'all' 'TV' 'series' 'showed' 'on' 'TV' + 'Channel' 'with' 'series' 'name' '``' 'Sky' 'Radio' ""''"" '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +626,tvshow,"SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = ""Sky Radio"";","What is the episode for the TV series named ""Sky Radio""?","['SELECT' 'T2.Episode' 'FROM' 'TV_Channel' 'AS' 'T1' 'JOIN' 'TV_series' + 'AS' 'T2' 'ON' 'T1.id' '=' 'T2.Channel' 'WHERE' 'T1.series_name' '=' '``' + 'Sky' 'Radio' ""''"" ';']","['select' 't2' '.' 'episode' 'from' 'tv_channel' 'as' 't1' 'join' + 'tv_series' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'channel' 'where' + 't1' '.' 'series_name' '=' 'value']","['What' 'is' 'the' 'episode' 'for' 'the' 'TV' 'series' 'named' '``' 'Sky' + 'Radio' ""''"" '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +627,tvshow,"SELECT count(*) , Directed_by FROM cartoon GROUP BY Directed_by",Find the number of cartoons directed by each of the listed directors.,"['SELECT' 'count' '(' '*' ')' ',' 'Directed_by' 'FROM' 'cartoon' 'GROUP' + 'BY' 'Directed_by']","['select' 'count' '(' '*' ')' ',' 'directed_by' 'from' 'cartoon' 'group' + 'by' 'directed_by']","['Find' 'the' 'number' 'of' 'cartoons' 'directed' 'by' 'each' 'of' 'the' + 'listed' 'directors' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +628,tvshow,"SELECT count(*) , Directed_by FROM cartoon GROUP BY Directed_by",How many cartoons did each director create?,"['SELECT' 'count' '(' '*' ')' ',' 'Directed_by' 'FROM' 'cartoon' 'GROUP' + 'BY' 'Directed_by']","['select' 'count' '(' '*' ')' ',' 'directed_by' 'from' 'cartoon' 'group' + 'by' 'directed_by']",['How' 'many' 'cartoons' 'did' 'each' 'director' 'create' '?'],"['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +629,tvshow,"select production_code , channel from cartoon order by original_air_date desc limit 1",Find the production code and channel of the most recently aired cartoon .,"['select' 'production_code' ',' 'channel' 'from' 'cartoon' 'order' 'by' + 'original_air_date' 'desc' 'limit' '1']","['select' 'production_code' ',' 'channel' 'from' 'cartoon' 'order' 'by' + 'original_air_date' 'desc' 'limit' 'value']","['Find' 'the' 'production' 'code' 'and' 'channel' 'of' 'the' 'most' + 'recently' 'aired' 'cartoon' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +630,tvshow,"select production_code , channel from cartoon order by original_air_date desc limit 1",What is the produdction code and channel of the most recent cartoon ?,"['select' 'production_code' ',' 'channel' 'from' 'cartoon' 'order' 'by' + 'original_air_date' 'desc' 'limit' '1']","['select' 'production_code' ',' 'channel' 'from' 'cartoon' 'order' 'by' + 'original_air_date' 'desc' 'limit' 'value']","['What' 'is' 'the' 'produdction' 'code' 'and' 'channel' 'of' 'the' 'most' + 'recent' 'cartoon' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +631,tvshow,"SELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = ""yes""",Find the package choice and series name of the TV channel that has high definition TV.,"['SELECT' 'package_option' ',' 'series_name' 'FROM' 'TV_Channel' 'WHERE' + 'hight_definition_TV' '=' '``' 'yes' ""''""]","['select' 'package_option' ',' 'series_name' 'from' 'tv_channel' 'where' + 'hight_definition_tv' '=' 'value']","['Find' 'the' 'package' 'choice' 'and' 'series' 'name' 'of' 'the' 'TV' + 'channel' 'that' 'has' 'high' 'definition' 'TV' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +632,tvshow,"SELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = ""yes""",What are the package options and the name of the series for the TV Channel that supports high definition TV?,"['SELECT' 'package_option' ',' 'series_name' 'FROM' 'TV_Channel' 'WHERE' + 'hight_definition_TV' '=' '``' 'yes' ""''""]","['select' 'package_option' ',' 'series_name' 'from' 'tv_channel' 'where' + 'hight_definition_tv' '=' 'value']","['What' 'are' 'the' 'package' 'options' 'and' 'the' 'name' 'of' 'the' + 'series' 'for' 'the' 'TV' 'Channel' 'that' 'supports' 'high' 'definition' + 'TV' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +633,tvshow,SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey',which countries' tv channels are playing some cartoon written by Todd Casey?,"['SELECT' 'T1.country' 'FROM' 'TV_Channel' 'AS' 'T1' 'JOIN' 'cartoon' 'AS' + 'T2' 'ON' 'T1.id' '=' 'T2.Channel' 'WHERE' 'T2.written_by' '=' ""'Todd"" + 'Casey' ""'""]","['select' 't1' '.' 'country' 'from' 'tv_channel' 'as' 't1' 'join' + 'cartoon' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'channel' 'where' + 't2' '.' 'written_by' '=' 'value']","['which' 'countries' ""'"" 'tv' 'channels' 'are' 'playing' 'some' 'cartoon' + 'written' 'by' 'Todd' 'Casey' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +634,tvshow,SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey',What are the countries that have cartoons on TV that were written by Todd Casey?,"['SELECT' 'T1.country' 'FROM' 'TV_Channel' 'AS' 'T1' 'JOIN' 'cartoon' 'AS' + 'T2' 'ON' 'T1.id' '=' 'T2.Channel' 'WHERE' 'T2.written_by' '=' ""'Todd"" + 'Casey' ""'""]","['select' 't1' '.' 'country' 'from' 'tv_channel' 'as' 't1' 'join' + 'cartoon' 'as' 't2' 'on' 't1' '.' 'id' '=' 't2' '.' 'channel' 'where' + 't2' '.' 'written_by' '=' 'value']","['What' 'are' 'the' 'countries' 'that' 'have' 'cartoons' 'on' 'TV' 'that' + 'were' 'written' 'by' 'Todd' 'Casey' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +635,tvshow,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',which countries' tv channels are not playing any cartoon written by Todd Casey?,"['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' ""'""]","['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']","['which' 'countries' ""'"" 'tv' 'channels' 'are' 'not' 'playing' 'any' + 'cartoon' 'written' 'by' 'Todd' 'Casey' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +636,tvshow,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',What are the countries that are not playing cartoons written by Todd Casey?,"['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' ""'""]","['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']","['What' 'are' 'the' 'countries' 'that' 'are' 'not' 'playing' 'cartoons' + 'written' 'by' 'Todd' 'Casey' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +637,tvshow,"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'",Find the series name and country of the tv channel that is playing some cartoons directed by Ben Jones and Michael Chang?,"['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' ""'""]","['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']","['Find' 'the' 'series' 'name' 'and' 'country' 'of' 'the' 'tv' 'channel' + 'that' 'is' 'playing' 'some' 'cartoons' 'directed' 'by' 'Ben' 'Jones' + 'and' 'Michael' 'Chang' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +638,tvshow,"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'",What is the series name and country of all TV channels that are playing cartoons directed by Ben Jones and cartoons directed by Michael Chang?,"['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' ""'""]","['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']","['What' 'is' 'the' 'series' 'name' 'and' 'country' 'of' 'all' 'TV' + 'channels' 'that' 'are' 'playing' 'cartoons' 'directed' 'by' 'Ben' + 'Jones' 'and' 'cartoons' 'directed' 'by' 'Michael' 'Chang' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +639,tvshow,"SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'",find the pixel aspect ratio and nation of the tv channels that do not use English.,"['SELECT' 'Pixel_aspect_ratio_PAR' ',' 'country' 'FROM' 'tv_channel' + 'WHERE' 'LANGUAGE' '!' '=' ""'English"" ""'""]","['select' 'pixel_aspect_ratio_par' ',' 'country' 'from' 'tv_channel' + 'where' 'language' '!' '=' 'value']","['find' 'the' 'pixel' 'aspect' 'ratio' 'and' 'nation' 'of' 'the' 'tv' + 'channels' 'that' 'do' 'not' 'use' 'English' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +640,tvshow,"SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'",What is the pixel aspect ratio and country of origin for all TV channels that do not use English?,"['SELECT' 'Pixel_aspect_ratio_PAR' ',' 'country' 'FROM' 'tv_channel' + 'WHERE' 'LANGUAGE' '!' '=' ""'English"" ""'""]","['select' 'pixel_aspect_ratio_par' ',' 'country' 'from' 'tv_channel' + 'where' 'language' '!' '=' 'value']","['What' 'is' 'the' 'pixel' 'aspect' 'ratio' 'and' 'country' 'of' 'origin' + 'for' 'all' 'TV' 'channels' 'that' 'do' 'not' 'use' 'English' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +641,tvshow,SELECT id FROM tv_channel GROUP BY country HAVING count(*) > 2,find id of the tv channels that from the countries where have more than two tv channels.,"['SELECT' 'id' 'FROM' 'tv_channel' 'GROUP' 'BY' 'country' 'HAVING' 'count' + '(' '*' ')' '>' '2']","['select' 'id' 'from' 'tv_channel' 'group' 'by' 'country' 'having' 'count' + '(' '*' ')' '>' 'value']","['find' 'id' 'of' 'the' 'tv' 'channels' 'that' 'from' 'the' 'countries' + 'where' 'have' 'more' 'than' 'two' 'tv' 'channels' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +642,tvshow,SELECT id FROM tv_channel GROUP BY country HAVING count(*) > 2,What are the ids of all tv channels that have more than 2 TV channels?,"['SELECT' 'id' 'FROM' 'tv_channel' 'GROUP' 'BY' 'country' 'HAVING' 'count' + '(' '*' ')' '>' '2']","['select' 'id' 'from' 'tv_channel' 'group' 'by' 'country' 'having' 'count' + '(' '*' ')' '>' 'value']","['What' 'are' 'the' 'ids' 'of' 'all' 'tv' 'channels' 'that' 'have' 'more' + 'than' '2' 'TV' 'channels' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +643,tvshow,SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones',find the id of tv channels that do not play any cartoon directed by Ben Jones.,"['SELECT' 'id' 'FROM' 'TV_Channel' 'EXCEPT' 'SELECT' 'channel' 'FROM' + 'cartoon' 'WHERE' 'directed_by' '=' ""'Ben"" 'Jones' ""'""]","['select' 'id' 'from' 'tv_channel' 'except' 'select' 'channel' 'from' + 'cartoon' 'where' 'directed_by' '=' 'value']","['find' 'the' 'id' 'of' 'tv' 'channels' 'that' 'do' 'not' 'play' 'any' + 'cartoon' 'directed' 'by' 'Ben' 'Jones' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +644,tvshow,SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones',What are the ids of the TV channels that do not have any cartoons directed by Ben Jones?,"['SELECT' 'id' 'FROM' 'TV_Channel' 'EXCEPT' 'SELECT' 'channel' 'FROM' + 'cartoon' 'WHERE' 'directed_by' '=' ""'Ben"" 'Jones' ""'""]","['select' 'id' 'from' 'tv_channel' 'except' 'select' 'channel' 'from' + 'cartoon' 'where' 'directed_by' '=' 'value']","['What' 'are' 'the' 'ids' 'of' 'the' 'TV' 'channels' 'that' 'do' 'not' + 'have' 'any' 'cartoons' 'directed' 'by' 'Ben' 'Jones' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +645,tvshow,SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'),find the package option of the tv channel that do not have any cartoon directed by Ben Jones.,"['SELECT' 'package_option' 'FROM' 'TV_Channel' 'WHERE' 'id' 'NOT' 'IN' '(' + 'SELECT' 'channel' 'FROM' 'cartoon' 'WHERE' 'directed_by' '=' ""'Ben"" + 'Jones' ""'"" ')']","['select' 'package_option' 'from' 'tv_channel' 'where' 'id' 'not' 'in' '(' + 'select' 'channel' 'from' 'cartoon' 'where' 'directed_by' '=' 'value' ')']","['find' 'the' 'package' 'option' 'of' 'the' 'tv' 'channel' 'that' 'do' + 'not' 'have' 'any' 'cartoon' 'directed' 'by' 'Ben' 'Jones' '.']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +646,tvshow,SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'),What are the package options of all tv channels that are not playing any cartoons directed by Ben Jones?,"['SELECT' 'package_option' 'FROM' 'TV_Channel' 'WHERE' 'id' 'NOT' 'IN' '(' + 'SELECT' 'channel' 'FROM' 'cartoon' 'WHERE' 'directed_by' '=' ""'Ben"" + 'Jones' ""'"" ')']","['select' 'package_option' 'from' 'tv_channel' 'where' 'id' 'not' 'in' '(' + 'select' 'channel' 'from' 'cartoon' 'where' 'directed_by' '=' 'value' ')']","['What' 'are' 'the' 'package' 'options' 'of' 'all' 'tv' 'channels' 'that' + 'are' 'not' 'playing' 'any' 'cartoons' 'directed' 'by' 'Ben' 'Jones' '?']","['id', 'series name', 'country', 'language', 'content', 'pixel aspect ratio par', 'hight definition tv', 'pay per view ppv', 'package option', 'id', 'episode', 'air date', 'rating', 'share', '18 49 rating share', 'viewers m', 'weekly rank', 'channel', 'id', 'title', 'directed by', 'written by', 'original air date', 'production code', 'channel']" +647,poker_player,SELECT count(*) FROM poker_player,How many poker players are there?,['SELECT' 'count' '(' '*' ')' 'FROM' 'poker_player'],['select' 'count' '(' '*' ')' 'from' 'poker_player'],['How' 'many' 'poker' 'players' 'are' 'there' '?'],"['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +648,poker_player,SELECT count(*) FROM poker_player,Count the number of poker players.,['SELECT' 'count' '(' '*' ')' 'FROM' 'poker_player'],['select' 'count' '(' '*' ')' 'from' 'poker_player'],['Count' 'the' 'number' 'of' 'poker' 'players' '.'],"['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +649,poker_player,SELECT Earnings FROM poker_player ORDER BY Earnings DESC,List the earnings of poker players in descending order.,['SELECT' 'Earnings' 'FROM' 'poker_player' 'ORDER' 'BY' 'Earnings' 'DESC'],['select' 'earnings' 'from' 'poker_player' 'order' 'by' 'earnings' 'desc'],"['List' 'the' 'earnings' 'of' 'poker' 'players' 'in' 'descending' 'order' + '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +650,poker_player,SELECT Earnings FROM poker_player ORDER BY Earnings DESC,"What are the earnings of poker players, ordered descending by value?",['SELECT' 'Earnings' 'FROM' 'poker_player' 'ORDER' 'BY' 'Earnings' 'DESC'],['select' 'earnings' 'from' 'poker_player' 'order' 'by' 'earnings' 'desc'],"['What' 'are' 'the' 'earnings' 'of' 'poker' 'players' ',' 'ordered' + 'descending' 'by' 'value' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +651,poker_player,"SELECT Final_Table_Made , Best_Finish FROM poker_player",List the final tables made and the best finishes of poker players.,"['SELECT' 'Final_Table_Made' ',' 'Best_Finish' 'FROM' 'poker_player']","['select' 'final_table_made' ',' 'best_finish' 'from' 'poker_player']","['List' 'the' 'final' 'tables' 'made' 'and' 'the' 'best' 'finishes' 'of' + 'poker' 'players' '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +652,poker_player,"SELECT Final_Table_Made , Best_Finish FROM poker_player",What are the final tables made and best finishes for all poker players?,"['SELECT' 'Final_Table_Made' ',' 'Best_Finish' 'FROM' 'poker_player']","['select' 'final_table_made' ',' 'best_finish' 'from' 'poker_player']","['What' 'are' 'the' 'final' 'tables' 'made' 'and' 'best' 'finishes' 'for' + 'all' 'poker' 'players' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +653,poker_player,SELECT avg(Earnings) FROM poker_player,What is the average earnings of poker players?,['SELECT' 'avg' '(' 'Earnings' ')' 'FROM' 'poker_player'],['select' 'avg' '(' 'earnings' ')' 'from' 'poker_player'],['What' 'is' 'the' 'average' 'earnings' 'of' 'poker' 'players' '?'],"['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +654,poker_player,SELECT avg(Earnings) FROM poker_player,Return the average earnings across all poker players.,['SELECT' 'avg' '(' 'Earnings' ')' 'FROM' 'poker_player'],['select' 'avg' '(' 'earnings' ')' 'from' 'poker_player'],['Return' 'the' 'average' 'earnings' 'across' 'all' 'poker' 'players' '.'],"['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +655,poker_player,SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1,What is the money rank of the poker player with the highest earnings?,"['SELECT' 'Money_Rank' 'FROM' 'poker_player' 'ORDER' 'BY' 'Earnings' + 'DESC' 'LIMIT' '1']","['select' 'money_rank' 'from' 'poker_player' 'order' 'by' 'earnings' + 'desc' 'limit' 'value']","['What' 'is' 'the' 'money' 'rank' 'of' 'the' 'poker' 'player' 'with' 'the' + 'highest' 'earnings' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +656,poker_player,SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1,Return the money rank of the player with the greatest earnings.,"['SELECT' 'Money_Rank' 'FROM' 'poker_player' 'ORDER' 'BY' 'Earnings' + 'DESC' 'LIMIT' '1']","['select' 'money_rank' 'from' 'poker_player' 'order' 'by' 'earnings' + 'desc' 'limit' 'value']","['Return' 'the' 'money' 'rank' 'of' 'the' 'player' 'with' 'the' 'greatest' + 'earnings' '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +657,poker_player,SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000,What is the maximum number of final tables made among poker players with earnings less than 200000?,"['SELECT' 'max' '(' 'Final_Table_Made' ')' 'FROM' 'poker_player' 'WHERE' + 'Earnings' '<' '200000']","['select' 'max' '(' 'final_table_made' ')' 'from' 'poker_player' 'where' + 'earnings' '<' 'value']","['What' 'is' 'the' 'maximum' 'number' 'of' 'final' 'tables' 'made' 'among' + 'poker' 'players' 'with' 'earnings' 'less' 'than' '200000' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +658,poker_player,SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000,Return the maximum final tables made across all poker players who have earnings below 200000.,"['SELECT' 'max' '(' 'Final_Table_Made' ')' 'FROM' 'poker_player' 'WHERE' + 'Earnings' '<' '200000']","['select' 'max' '(' 'final_table_made' ')' 'from' 'poker_player' 'where' + 'earnings' '<' 'value']","['Return' 'the' 'maximum' 'final' 'tables' 'made' 'across' 'all' 'poker' + 'players' 'who' 'have' 'earnings' 'below' '200000' '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +659,poker_player,SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID,What are the names of poker players?,"['SELECT' 'T1.Name' 'FROM' 'people' 'AS' 'T1' 'JOIN' 'poker_player' 'AS' + 'T2' 'ON' 'T1.People_ID' '=' 'T2.People_ID']","['select' 't1' '.' 'name' 'from' 'people' 'as' 't1' 'join' 'poker_player' + 'as' 't2' 'on' 't1' '.' 'people_id' '=' 't2' '.' 'people_id']",['What' 'are' 'the' 'names' 'of' 'poker' 'players' '?'],"['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +660,poker_player,SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID,Return the names of all the poker players.,"['SELECT' 'T1.Name' 'FROM' 'people' 'AS' 'T1' 'JOIN' 'poker_player' 'AS' + 'T2' 'ON' 'T1.People_ID' '=' 'T2.People_ID']","['select' 't1' '.' 'name' 'from' 'people' 'as' 't1' 'join' 'poker_player' + 'as' 't2' 'on' 't1' '.' 'people_id' '=' 't2' '.' 'people_id']",['Return' 'the' 'names' 'of' 'all' 'the' 'poker' 'players' '.'],"['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +661,poker_player,SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000,What are the names of poker players whose earnings is higher than 300000?,"['SELECT' 'T1.Name' 'FROM' 'people' 'AS' 'T1' 'JOIN' 'poker_player' 'AS' + 'T2' 'ON' 'T1.People_ID' '=' 'T2.People_ID' 'WHERE' 'T2.Earnings' '>' + '300000']","['select' 't1' '.' 'name' 'from' 'people' 'as' 't1' 'join' 'poker_player' + 'as' 't2' 'on' 't1' '.' 'people_id' '=' 't2' '.' 'people_id' 'where' 't2' + '.' 'earnings' '>' 'value']","['What' 'are' 'the' 'names' 'of' 'poker' 'players' 'whose' 'earnings' 'is' + 'higher' 'than' '300000' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +662,poker_player,SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000,Give the names of poker players who have earnings above 300000.,"['SELECT' 'T1.Name' 'FROM' 'people' 'AS' 'T1' 'JOIN' 'poker_player' 'AS' + 'T2' 'ON' 'T1.People_ID' '=' 'T2.People_ID' 'WHERE' 'T2.Earnings' '>' + '300000']","['select' 't1' '.' 'name' 'from' 'people' 'as' 't1' 'join' 'poker_player' + 'as' 't2' 'on' 't1' '.' 'people_id' '=' 't2' '.' 'people_id' 'where' 't2' + '.' 'earnings' '>' 'value']","['Give' 'the' 'names' 'of' 'poker' 'players' 'who' 'have' 'earnings' + 'above' '300000' '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +663,poker_player,SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made,List the names of poker players ordered by the final tables made in ascending order.,"['SELECT' 'T1.Name' 'FROM' 'people' 'AS' 'T1' 'JOIN' 'poker_player' 'AS' + 'T2' 'ON' 'T1.People_ID' '=' 'T2.People_ID' 'ORDER' 'BY' + 'T2.Final_Table_Made']","['select' 't1' '.' 'name' 'from' 'people' 'as' 't1' 'join' 'poker_player' + 'as' 't2' 'on' 't1' '.' 'people_id' '=' 't2' '.' 'people_id' 'order' 'by' + 't2' '.' 'final_table_made']","['List' 'the' 'names' 'of' 'poker' 'players' 'ordered' 'by' 'the' 'final' + 'tables' 'made' 'in' 'ascending' 'order' '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +664,poker_player,SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made,"What are the names of poker players, ordered ascending by the number of final tables they have made?","['SELECT' 'T1.Name' 'FROM' 'people' 'AS' 'T1' 'JOIN' 'poker_player' 'AS' + 'T2' 'ON' 'T1.People_ID' '=' 'T2.People_ID' 'ORDER' 'BY' + 'T2.Final_Table_Made']","['select' 't1' '.' 'name' 'from' 'people' 'as' 't1' 'join' 'poker_player' + 'as' 't2' 'on' 't1' '.' 'people_id' '=' 't2' '.' 'people_id' 'order' 'by' + 't2' '.' 'final_table_made']","['What' 'are' 'the' 'names' 'of' 'poker' 'players' ',' 'ordered' + 'ascending' 'by' 'the' 'number' 'of' 'final' 'tables' 'they' 'have' + 'made' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +665,poker_player,SELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings ASC LIMIT 1,What is the birth date of the poker player with the lowest earnings?,"['SELECT' 'T1.Birth_Date' 'FROM' 'people' 'AS' 'T1' 'JOIN' 'poker_player' + 'AS' 'T2' 'ON' 'T1.People_ID' '=' 'T2.People_ID' 'ORDER' 'BY' + 'T2.Earnings' 'ASC' 'LIMIT' '1']","['select' 't1' '.' 'birth_date' 'from' 'people' 'as' 't1' 'join' + 'poker_player' 'as' 't2' 'on' 't1' '.' 'people_id' '=' 't2' '.' + 'people_id' 'order' 'by' 't2' '.' 'earnings' 'asc' 'limit' 'value']","['What' 'is' 'the' 'birth' 'date' 'of' 'the' 'poker' 'player' 'with' 'the' + 'lowest' 'earnings' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +666,poker_player,SELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings ASC LIMIT 1,Return the birth date of the poker player with the lowest earnings.,"['SELECT' 'T1.Birth_Date' 'FROM' 'people' 'AS' 'T1' 'JOIN' 'poker_player' + 'AS' 'T2' 'ON' 'T1.People_ID' '=' 'T2.People_ID' 'ORDER' 'BY' + 'T2.Earnings' 'ASC' 'LIMIT' '1']","['select' 't1' '.' 'birth_date' 'from' 'people' 'as' 't1' 'join' + 'poker_player' 'as' 't2' 'on' 't1' '.' 'people_id' '=' 't2' '.' + 'people_id' 'order' 'by' 't2' '.' 'earnings' 'asc' 'limit' 'value']","['Return' 'the' 'birth' 'date' 'of' 'the' 'poker' 'player' 'with' 'the' + 'lowest' 'earnings' '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +667,poker_player,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,What is the money rank of the tallest poker player?,"['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']","['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']","['What' 'is' 'the' 'money' 'rank' 'of' 'the' 'tallest' 'poker' 'player' + '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +668,poker_player,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,Return the money rank of the poker player with the greatest height.,"['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']","['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']","['Return' 'the' 'money' 'rank' 'of' 'the' 'poker' 'player' 'with' 'the' + 'greatest' 'height' '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +669,poker_player,SELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 200,What is the average earnings of poker players with height higher than 200?,"['SELECT' 'avg' '(' 'T2.Earnings' ')' 'FROM' 'people' 'AS' 'T1' 'JOIN' + 'poker_player' 'AS' 'T2' 'ON' 'T1.People_ID' '=' 'T2.People_ID' 'WHERE' + 'T1.Height' '>' '200']","['select' 'avg' '(' 't2' '.' 'earnings' ')' 'from' 'people' 'as' 't1' + 'join' 'poker_player' 'as' 't2' 'on' 't1' '.' 'people_id' '=' 't2' '.' + 'people_id' 'where' 't1' '.' 'height' '>' 'value']","['What' 'is' 'the' 'average' 'earnings' 'of' 'poker' 'players' 'with' + 'height' 'higher' 'than' '200' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +670,poker_player,SELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 200,Give average earnings of poker players who are taller than 200.,"['SELECT' 'avg' '(' 'T2.Earnings' ')' 'FROM' 'people' 'AS' 'T1' 'JOIN' + 'poker_player' 'AS' 'T2' 'ON' 'T1.People_ID' '=' 'T2.People_ID' 'WHERE' + 'T1.Height' '>' '200']","['select' 'avg' '(' 't2' '.' 'earnings' ')' 'from' 'people' 'as' 't1' + 'join' 'poker_player' 'as' 't2' 'on' 't1' '.' 'people_id' '=' 't2' '.' + 'people_id' 'where' 't1' '.' 'height' '>' 'value']","['Give' 'average' 'earnings' 'of' 'poker' 'players' 'who' 'are' 'taller' + 'than' '200' '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +671,poker_player,SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC,What are the names of poker players in descending order of earnings?,"['SELECT' 'T1.Name' 'FROM' 'people' 'AS' 'T1' 'JOIN' 'poker_player' 'AS' + 'T2' 'ON' 'T1.People_ID' '=' 'T2.People_ID' 'ORDER' 'BY' 'T2.Earnings' + 'DESC']","['select' 't1' '.' 'name' 'from' 'people' 'as' 't1' 'join' 'poker_player' + 'as' 't2' 'on' 't1' '.' 'people_id' '=' 't2' '.' 'people_id' 'order' 'by' + 't2' '.' 'earnings' 'desc']","['What' 'are' 'the' 'names' 'of' 'poker' 'players' 'in' 'descending' + 'order' 'of' 'earnings' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +672,poker_player,SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC,Return the names of poker players sorted by their earnings descending.,"['SELECT' 'T1.Name' 'FROM' 'people' 'AS' 'T1' 'JOIN' 'poker_player' 'AS' + 'T2' 'ON' 'T1.People_ID' '=' 'T2.People_ID' 'ORDER' 'BY' 'T2.Earnings' + 'DESC']","['select' 't1' '.' 'name' 'from' 'people' 'as' 't1' 'join' 'poker_player' + 'as' 't2' 'on' 't1' '.' 'people_id' '=' 't2' '.' 'people_id' 'order' 'by' + 't2' '.' 'earnings' 'desc']","['Return' 'the' 'names' 'of' 'poker' 'players' 'sorted' 'by' 'their' + 'earnings' 'descending' '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +673,poker_player,"SELECT Nationality , COUNT(*) FROM people GROUP BY Nationality",What are different nationalities of people and the corresponding number of people from each nation?,"['SELECT' 'Nationality' ',' 'COUNT' '(' '*' ')' 'FROM' 'people' 'GROUP' + 'BY' 'Nationality']","['select' 'nationality' ',' 'count' '(' '*' ')' 'from' 'people' 'group' + 'by' 'nationality']","['What' 'are' 'different' 'nationalities' 'of' 'people' 'and' 'the' + 'corresponding' 'number' 'of' 'people' 'from' 'each' 'nation' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +674,poker_player,"SELECT Nationality , COUNT(*) FROM people GROUP BY Nationality",How many people are there of each nationality?,"['SELECT' 'Nationality' ',' 'COUNT' '(' '*' ')' 'FROM' 'people' 'GROUP' + 'BY' 'Nationality']","['select' 'nationality' ',' 'count' '(' '*' ')' 'from' 'people' 'group' + 'by' 'nationality']",['How' 'many' 'people' 'are' 'there' 'of' 'each' 'nationality' '?'],"['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +675,poker_player,SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1,What is the most common nationality of people?,"['SELECT' 'Nationality' 'FROM' 'people' 'GROUP' 'BY' 'Nationality' 'ORDER' + 'BY' 'COUNT' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'nationality' 'from' 'people' 'group' 'by' 'nationality' 'order' + 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']",['What' 'is' 'the' 'most' 'common' 'nationality' 'of' 'people' '?'],"['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +676,poker_player,SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1,Give the nationality that is most common across all people.,"['SELECT' 'Nationality' 'FROM' 'people' 'GROUP' 'BY' 'Nationality' 'ORDER' + 'BY' 'COUNT' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'nationality' 'from' 'people' 'group' 'by' 'nationality' 'order' + 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['Give' 'the' 'nationality' 'that' 'is' 'most' 'common' 'across' 'all' + 'people' '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +677,poker_player,SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2,What are the nationalities that are shared by at least two people?,"['SELECT' 'Nationality' 'FROM' 'people' 'GROUP' 'BY' 'Nationality' + 'HAVING' 'COUNT' '(' '*' ')' '>' '=' '2']","['select' 'nationality' 'from' 'people' 'group' 'by' 'nationality' + 'having' 'count' '(' '*' ')' '>' '=' 'value']","['What' 'are' 'the' 'nationalities' 'that' 'are' 'shared' 'by' 'at' + 'least' 'two' 'people' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +678,poker_player,SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2,Return the nationalities for which there are two or more people.,"['SELECT' 'Nationality' 'FROM' 'people' 'GROUP' 'BY' 'Nationality' + 'HAVING' 'COUNT' '(' '*' ')' '>' '=' '2']","['select' 'nationality' 'from' 'people' 'group' 'by' 'nationality' + 'having' 'count' '(' '*' ')' '>' '=' 'value']","['Return' 'the' 'nationalities' 'for' 'which' 'there' 'are' 'two' 'or' + 'more' 'people' '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +679,poker_player,"SELECT Name , Birth_Date FROM people ORDER BY Name ASC",List the names and birth dates of people in ascending alphabetical order of name.,"['SELECT' 'Name' ',' 'Birth_Date' 'FROM' 'people' 'ORDER' 'BY' 'Name' + 'ASC']","['select' 'name' ',' 'birth_date' 'from' 'people' 'order' 'by' 'name' + 'asc']","['List' 'the' 'names' 'and' 'birth' 'dates' 'of' 'people' 'in' 'ascending' + 'alphabetical' 'order' 'of' 'name' '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +680,poker_player,"SELECT Name , Birth_Date FROM people ORDER BY Name ASC","What are the names and birth dates of people, ordered by their names in alphabetical order?","['SELECT' 'Name' ',' 'Birth_Date' 'FROM' 'people' 'ORDER' 'BY' 'Name' + 'ASC']","['select' 'name' ',' 'birth_date' 'from' 'people' 'order' 'by' 'name' + 'asc']","['What' 'are' 'the' 'names' 'and' 'birth' 'dates' 'of' 'people' ',' + 'ordered' 'by' 'their' 'names' 'in' 'alphabetical' 'order' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +681,poker_player,"SELECT Name FROM people WHERE Nationality != ""Russia""","Show names of people whose nationality is not ""Russia"".","['SELECT' 'Name' 'FROM' 'people' 'WHERE' 'Nationality' '!' '=' '``' + 'Russia' ""''""]",['select' 'name' 'from' 'people' 'where' 'nationality' '!' '=' 'value'],"['Show' 'names' 'of' 'people' 'whose' 'nationality' 'is' 'not' '``' + 'Russia' ""''"" '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +682,poker_player,"SELECT Name FROM people WHERE Nationality != ""Russia""",What are the names of people who are not from Russia?,"['SELECT' 'Name' 'FROM' 'people' 'WHERE' 'Nationality' '!' '=' '``' + 'Russia' ""''""]",['select' 'name' 'from' 'people' 'where' 'nationality' '!' '=' 'value'],"['What' 'are' 'the' 'names' 'of' 'people' 'who' 'are' 'not' 'from' + 'Russia' '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +683,poker_player,SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player),List the names of people that are not poker players.,"['SELECT' 'Name' 'FROM' 'people' 'WHERE' 'People_ID' 'NOT' 'IN' '(' + 'SELECT' 'People_ID' 'FROM' 'poker_player' ')']","['select' 'name' 'from' 'people' 'where' 'people_id' 'not' 'in' '(' + 'select' 'people_id' 'from' 'poker_player' ')']","['List' 'the' 'names' 'of' 'people' 'that' 'are' 'not' 'poker' 'players' + '.']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +684,poker_player,SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player),What are the names of people who do not play poker?,"['SELECT' 'Name' 'FROM' 'people' 'WHERE' 'People_ID' 'NOT' 'IN' '(' + 'SELECT' 'People_ID' 'FROM' 'poker_player' ')']","['select' 'name' 'from' 'people' 'where' 'people_id' 'not' 'in' '(' + 'select' 'people_id' 'from' 'poker_player' ')']","['What' 'are' 'the' 'names' 'of' 'people' 'who' 'do' 'not' 'play' 'poker' + '?']","['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +685,poker_player,SELECT count(DISTINCT Nationality) FROM people,How many distinct nationalities are there?,['SELECT' 'count' '(' 'DISTINCT' 'Nationality' ')' 'FROM' 'people'],['select' 'count' '(' 'distinct' 'nationality' ')' 'from' 'people'],['How' 'many' 'distinct' 'nationalities' 'are' 'there' '?'],"['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +686,poker_player,SELECT count(DISTINCT Nationality) FROM people,Count the number of different nationalities.,['SELECT' 'count' '(' 'DISTINCT' 'Nationality' ')' 'FROM' 'people'],['select' 'count' '(' 'distinct' 'nationality' ')' 'from' 'people'],['Count' 'the' 'number' 'of' 'different' 'nationalities' '.'],"['poker player id', 'people id', 'final table made', 'best finish', 'money rank', 'earnings', 'people id', 'nationality', 'name', 'birth date', 'height']" +687,voter_1,SELECT count(*) FROM area_code_state,How many states are there?,['SELECT' 'count' '(' '*' ')' 'FROM' 'area_code_state'],['select' 'count' '(' '*' ')' 'from' 'area_code_state'],['How' 'many' 'states' 'are' 'there' '?'],"['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +688,voter_1,"SELECT contestant_number , contestant_name FROM contestants ORDER BY contestant_name DESC","List the contestant numbers and names, ordered by contestant name descending.","['SELECT' 'contestant_number' ',' 'contestant_name' 'FROM' 'contestants' + 'ORDER' 'BY' 'contestant_name' 'DESC']","['select' 'contestant_number' ',' 'contestant_name' 'from' 'contestants' + 'order' 'by' 'contestant_name' 'desc']","['List' 'the' 'contestant' 'numbers' 'and' 'names' ',' 'ordered' 'by' + 'contestant' 'name' 'descending' '.']","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +689,voter_1,"SELECT vote_id , phone_number , state FROM votes","List the vote ids, phone numbers and states of all votes.","['SELECT' 'vote_id' ',' 'phone_number' ',' 'state' 'FROM' 'votes']","['select' 'vote_id' ',' 'phone_number' ',' 'state' 'from' 'votes']","['List' 'the' 'vote' 'ids' ',' 'phone' 'numbers' 'and' 'states' 'of' 'all' + 'votes' '.']","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +690,voter_1,"SELECT max(area_code) , min(area_code) FROM area_code_state",What are the maximum and minimum values of area codes?,"['SELECT' 'max' '(' 'area_code' ')' ',' 'min' '(' 'area_code' ')' 'FROM' + 'area_code_state']","['select' 'max' '(' 'area_code' ')' ',' 'min' '(' 'area_code' ')' 'from' + 'area_code_state']","['What' 'are' 'the' 'maximum' 'and' 'minimum' 'values' 'of' 'area' 'codes' + '?']","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +691,voter_1,SELECT max(created) FROM votes WHERE state = 'CA',What is last date created of votes from the state 'CA'?,"['SELECT' 'max' '(' 'created' ')' 'FROM' 'votes' 'WHERE' 'state' '=' ""'CA"" + ""'""]","['select' 'max' '(' 'created' ')' 'from' 'votes' 'where' 'state' '=' + 'value']","['What' 'is' 'last' 'date' 'created' 'of' 'votes' 'from' 'the' 'state' + ""'CA"" ""'"" '?']","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +692,voter_1,SELECT contestant_name FROM contestants WHERE contestant_name != 'Jessie Alloway',What are the names of the contestants whose names are not 'Jessie Alloway',"['SELECT' 'contestant_name' 'FROM' 'contestants' 'WHERE' 'contestant_name' + '!' '=' ""'Jessie"" 'Alloway' ""'""]","['select' 'contestant_name' 'from' 'contestants' 'where' 'contestant_name' + '!' '=' 'value']","['What' 'are' 'the' 'names' 'of' 'the' 'contestants' 'whose' 'names' 'are' + 'not' ""'Jessie"" 'Alloway' ""'""]","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +693,voter_1,"SELECT DISTINCT state , created FROM votes",What are the distinct states and create time of all votes?,"['SELECT' 'DISTINCT' 'state' ',' 'created' 'FROM' 'votes']","['select' 'distinct' 'state' ',' 'created' 'from' 'votes']","['What' 'are' 'the' 'distinct' 'states' 'and' 'create' 'time' 'of' 'all' + 'votes' '?']","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +694,voter_1,"SELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number HAVING count(*) >= 2",What are the contestant numbers and names of the contestants who had at least two votes?,"['SELECT' 'T1.contestant_number' ',' 'T1.contestant_name' 'FROM' + 'contestants' 'AS' 'T1' 'JOIN' 'votes' 'AS' 'T2' 'ON' + 'T1.contestant_number' '=' 'T2.contestant_number' 'GROUP' 'BY' + 'T1.contestant_number' 'HAVING' 'count' '(' '*' ')' '>' '=' '2']","['select' 't1' '.' 'contestant_number' ',' 't1' '.' 'contestant_name' + 'from' 'contestants' 'as' 't1' 'join' 'votes' 'as' 't2' 'on' 't1' '.' + 'contestant_number' '=' 't2' '.' 'contestant_number' 'group' 'by' 't1' + '.' 'contestant_number' 'having' 'count' '(' '*' ')' '>' '=' 'value']","['What' 'are' 'the' 'contestant' 'numbers' 'and' 'names' 'of' 'the' + 'contestants' 'who' 'had' 'at' 'least' 'two' 'votes' '?']","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +695,voter_1,"SELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number ORDER BY count(*) ASC LIMIT 1","Of all the contestants who got voted, what is the contestant number and name of the contestant who got least votes?","['SELECT' 'T1.contestant_number' ',' 'T1.contestant_name' 'FROM' + 'contestants' 'AS' 'T1' 'JOIN' 'votes' 'AS' 'T2' 'ON' + 'T1.contestant_number' '=' 'T2.contestant_number' 'GROUP' 'BY' + 'T1.contestant_number' 'ORDER' 'BY' 'count' '(' '*' ')' 'ASC' 'LIMIT' '1']","['select' 't1' '.' 'contestant_number' ',' 't1' '.' 'contestant_name' + 'from' 'contestants' 'as' 't1' 'join' 'votes' 'as' 't2' 'on' 't1' '.' + 'contestant_number' '=' 't2' '.' 'contestant_number' 'group' 'by' 't1' + '.' 'contestant_number' 'order' 'by' 'count' '(' '*' ')' 'asc' 'limit' + 'value']","['Of' 'all' 'the' 'contestants' 'who' 'got' 'voted' ',' 'what' 'is' 'the' + 'contestant' 'number' 'and' 'name' 'of' 'the' 'contestant' 'who' 'got' + 'least' 'votes' '?']","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +696,voter_1,SELECT count(*) FROM votes WHERE state = 'NY' OR state = 'CA',What are the number of votes from state 'NY' or 'CA'?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'votes' 'WHERE' 'state' '=' ""'NY"" ""'"" + 'OR' 'state' '=' ""'CA"" ""'""]","['select' 'count' '(' '*' ')' 'from' 'votes' 'where' 'state' '=' 'value' + 'or' 'state' '=' 'value']","['What' 'are' 'the' 'number' 'of' 'votes' 'from' 'state' ""'NY"" ""'"" 'or' + ""'CA"" ""'"" '?']","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +697,voter_1,SELECT count(*) FROM contestants WHERE contestant_number NOT IN ( SELECT contestant_number FROM votes ),How many contestants did not get voted?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'contestants' 'WHERE' + 'contestant_number' 'NOT' 'IN' '(' 'SELECT' 'contestant_number' 'FROM' + 'votes' ')']","['select' 'count' '(' '*' ')' 'from' 'contestants' 'where' + 'contestant_number' 'not' 'in' '(' 'select' 'contestant_number' 'from' + 'votes' ')']",['How' 'many' 'contestants' 'did' 'not' 'get' 'voted' '?'],"['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +698,voter_1,SELECT T1.area_code FROM area_code_state AS T1 JOIN votes AS T2 ON T1.state = T2.state GROUP BY T1.area_code ORDER BY count(*) DESC LIMIT 1,What is the area code in which the most voters voted?,"['SELECT' 'T1.area_code' 'FROM' 'area_code_state' 'AS' 'T1' 'JOIN' 'votes' + 'AS' 'T2' 'ON' 'T1.state' '=' 'T2.state' 'GROUP' 'BY' 'T1.area_code' + 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'area_code' 'from' 'area_code_state' 'as' 't1' 'join' + 'votes' 'as' 't2' 'on' 't1' '.' 'state' '=' 't2' '.' 'state' 'group' 'by' + 't1' '.' 'area_code' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' + 'value']","['What' 'is' 'the' 'area' 'code' 'in' 'which' 'the' 'most' 'voters' + 'voted' '?']","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +699,voter_1,"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'","What are the create dates, states, and phone numbers of the votes that were for the contestant named 'Tabatha Gehling'?","['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' ""'""]","['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']","['What' 'are' 'the' 'create' 'dates' ',' 'states' ',' 'and' 'phone' + 'numbers' 'of' 'the' 'votes' 'that' 'were' 'for' 'the' 'contestant' + 'named' ""'Tabatha"" 'Gehling' ""'"" '?']","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +700,voter_1,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',List the area codes in which voters voted both for the contestant 'Tabatha Gehling' and the contestant 'Kelly Clauss'.,"['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' ""'""]","['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']","['List' 'the' 'area' 'codes' 'in' 'which' 'voters' 'voted' 'both' 'for' + 'the' 'contestant' ""'Tabatha"" 'Gehling' ""'"" 'and' 'the' 'contestant' + ""'Kelly"" 'Clauss' ""'"" '.']","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +701,voter_1,"select contestant_name from contestants where contestant_name like ""%al%""",Return the names of the contestants whose names contain the substring 'Al' .,"['select' 'contestant_name' 'from' 'contestants' 'where' 'contestant_name' + 'like' '""%al%""']","['select' 'contestant_name' 'from' 'contestants' 'where' 'contestant_name' + 'like' 'value']","['Return' 'the' 'names' 'of' 'the' 'contestants' 'whose' 'names' 'contain' + 'the' 'substring' ""'Al'"" '.']","['area code', 'state', 'contestant number', 'contestant name', 'vote id', 'phone number', 'state', 'contestant number', 'created']" +702,world_1,SELECT Name FROM country WHERE IndepYear > 1950,What are the names of all the countries that became independent after 1950?,['SELECT' 'Name' 'FROM' 'country' 'WHERE' 'IndepYear' '>' '1950'],['select' 'name' 'from' 'country' 'where' 'indepyear' '>' 'value'],"['What' 'are' 'the' 'names' 'of' 'all' 'the' 'countries' 'that' 'became' + 'independent' 'after' '1950' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +703,world_1,SELECT Name FROM country WHERE IndepYear > 1950,Give the names of the nations that were founded after 1950.,['SELECT' 'Name' 'FROM' 'country' 'WHERE' 'IndepYear' '>' '1950'],['select' 'name' 'from' 'country' 'where' 'indepyear' '>' 'value'],"['Give' 'the' 'names' 'of' 'the' 'nations' 'that' 'were' 'founded' 'after' + '1950' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +704,world_1,"SELECT count(*) FROM country WHERE GovernmentForm = ""Republic""",How many countries have a republic as their form of government?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'country' 'WHERE' 'GovernmentForm' + '=' '``' 'Republic' ""''""]","['select' 'count' '(' '*' ')' 'from' 'country' 'where' 'governmentform' + '=' 'value']","['How' 'many' 'countries' 'have' 'a' 'republic' 'as' 'their' 'form' 'of' + 'government' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +705,world_1,"SELECT count(*) FROM country WHERE GovernmentForm = ""Republic""",How many countries have governments that are republics?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'country' 'WHERE' 'GovernmentForm' + '=' '``' 'Republic' ""''""]","['select' 'count' '(' '*' ')' 'from' 'country' 'where' 'governmentform' + '=' 'value']","['How' 'many' 'countries' 'have' 'governments' 'that' 'are' 'republics' + '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +706,world_1,"SELECT sum(SurfaceArea) FROM country WHERE Region = ""Caribbean""",What is the total surface area of the countries in the Caribbean region?,"['SELECT' 'sum' '(' 'SurfaceArea' ')' 'FROM' 'country' 'WHERE' 'Region' + '=' '``' 'Caribbean' ""''""]","['select' 'sum' '(' 'surfacearea' ')' 'from' 'country' 'where' 'region' + '=' 'value']","['What' 'is' 'the' 'total' 'surface' 'area' 'of' 'the' 'countries' 'in' + 'the' 'Caribbean' 'region' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +707,world_1,"SELECT sum(SurfaceArea) FROM country WHERE Region = ""Caribbean""",How much surface area do the countires in the Carribean cover together?,"['SELECT' 'sum' '(' 'SurfaceArea' ')' 'FROM' 'country' 'WHERE' 'Region' + '=' '``' 'Caribbean' ""''""]","['select' 'sum' '(' 'surfacearea' ')' 'from' 'country' 'where' 'region' + '=' 'value']","['How' 'much' 'surface' 'area' 'do' 'the' 'countires' 'in' 'the' + 'Carribean' 'cover' 'together' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +708,world_1,"SELECT Continent FROM country WHERE Name = ""Anguilla""",Which continent is Anguilla in?,"['SELECT' 'Continent' 'FROM' 'country' 'WHERE' 'Name' '=' '``' 'Anguilla' + ""''""]",['select' 'continent' 'from' 'country' 'where' 'name' '=' 'value'],['Which' 'continent' 'is' 'Anguilla' 'in' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +709,world_1,"SELECT Continent FROM country WHERE Name = ""Anguilla""",What is the continent name which Anguilla belongs to?,"['SELECT' 'Continent' 'FROM' 'country' 'WHERE' 'Name' '=' '``' 'Anguilla' + ""''""]",['select' 'continent' 'from' 'country' 'where' 'name' '=' 'value'],"['What' 'is' 'the' 'continent' 'name' 'which' 'Anguilla' 'belongs' 'to' + '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +710,world_1,"SELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code = T2.CountryCode WHERE T2.Name = ""Kabul""",Which region is the city Kabul located in?,"['SELECT' 'Region' 'FROM' 'country' 'AS' 'T1' 'JOIN' 'city' 'AS' 'T2' 'ON' + 'T1.Code' '=' 'T2.CountryCode' 'WHERE' 'T2.Name' '=' '``' 'Kabul' ""''""]","['select' 'region' 'from' 'country' 'as' 't1' 'join' 'city' 'as' 't2' 'on' + 't1' '.' 'code' '=' 't2' '.' 'countrycode' 'where' 't2' '.' 'name' '=' + 'value']",['Which' 'region' 'is' 'the' 'city' 'Kabul' 'located' 'in' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +711,world_1,"SELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code = T2.CountryCode WHERE T2.Name = ""Kabul""",What region is Kabul in?,"['SELECT' 'Region' 'FROM' 'country' 'AS' 'T1' 'JOIN' 'city' 'AS' 'T2' 'ON' + 'T1.Code' '=' 'T2.CountryCode' 'WHERE' 'T2.Name' '=' '``' 'Kabul' ""''""]","['select' 'region' 'from' 'country' 'as' 't1' 'join' 'city' 'as' 't2' 'on' + 't1' '.' 'code' '=' 't2' '.' 'countrycode' 'where' 't2' '.' 'name' '=' + 'value']",['What' 'region' 'is' 'Kabul' 'in' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +712,world_1,"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",Which language is the most popular in Aruba?,"['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']","['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']",['Which' 'language' 'is' 'the' 'most' 'popular' 'in' 'Aruba' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +713,world_1,"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",What language is predominantly spoken in Aruba?,"['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']","['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']",['What' 'language' 'is' 'predominantly' 'spoken' 'in' 'Aruba' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +714,world_1,"SELECT Population , LifeExpectancy FROM country WHERE Name = ""Brazil""",What are the population and life expectancies in Brazil?,"['SELECT' 'Population' ',' 'LifeExpectancy' 'FROM' 'country' 'WHERE' + 'Name' '=' '``' 'Brazil' ""''""]","['select' 'population' ',' 'lifeexpectancy' 'from' 'country' 'where' + 'name' '=' 'value']","['What' 'are' 'the' 'population' 'and' 'life' 'expectancies' 'in' 'Brazil' + '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +715,world_1,"SELECT Population , LifeExpectancy FROM country WHERE Name = ""Brazil""",Give me Brazil’s population and life expectancies.,"['SELECT' 'Population' ',' 'LifeExpectancy' 'FROM' 'country' 'WHERE' + 'Name' '=' '``' 'Brazil' ""''""]","['select' 'population' ',' 'lifeexpectancy' 'from' 'country' 'where' + 'name' '=' 'value']",['Give' 'me' 'Brazil’s' 'population' 'and' 'life' 'expectancies' '.'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +716,world_1,"SELECT Population , Region FROM country WHERE Name = ""Angola""",What are the region and population of Angola?,"['SELECT' 'Population' ',' 'Region' 'FROM' 'country' 'WHERE' 'Name' '=' + '``' 'Angola' ""''""]","['select' 'population' ',' 'region' 'from' 'country' 'where' 'name' '=' + 'value']",['What' 'are' 'the' 'region' 'and' 'population' 'of' 'Angola' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +717,world_1,"SELECT Population , Region FROM country WHERE Name = ""Angola""",What region does Angola belong to and what is its population?,"['SELECT' 'Population' ',' 'Region' 'FROM' 'country' 'WHERE' 'Name' '=' + '``' 'Angola' ""''""]","['select' 'population' ',' 'region' 'from' 'country' 'where' 'name' '=' + 'value']","['What' 'region' 'does' 'Angola' 'belong' 'to' 'and' 'what' 'is' 'its' + 'population' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +718,world_1,"SELECT avg(LifeExpectancy) FROM country WHERE Region = ""Central Africa""",What is the average expected life expectancy for countries in the region of Central Africa?,"['SELECT' 'avg' '(' 'LifeExpectancy' ')' 'FROM' 'country' 'WHERE' 'Region' + '=' '``' 'Central' 'Africa' ""''""]","['select' 'avg' '(' 'lifeexpectancy' ')' 'from' 'country' 'where' 'region' + '=' 'value']","['What' 'is' 'the' 'average' 'expected' 'life' 'expectancy' 'for' + 'countries' 'in' 'the' 'region' 'of' 'Central' 'Africa' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +719,world_1,"SELECT avg(LifeExpectancy) FROM country WHERE Region = ""Central Africa""",How long is the people’s average life expectancy in Central Africa?,"['SELECT' 'avg' '(' 'LifeExpectancy' ')' 'FROM' 'country' 'WHERE' 'Region' + '=' '``' 'Central' 'Africa' ""''""]","['select' 'avg' '(' 'lifeexpectancy' ')' 'from' 'country' 'where' 'region' + '=' 'value']","['How' 'long' 'is' 'the' 'people’s' 'average' 'life' 'expectancy' 'in' + 'Central' 'Africa' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +720,world_1,"SELECT Name FROM country WHERE Continent = ""Asia"" ORDER BY LifeExpectancy LIMIT 1",What is the name of country that has the shortest life expectancy in Asia?,"['SELECT' 'Name' 'FROM' 'country' 'WHERE' 'Continent' '=' '``' 'Asia' ""''"" + 'ORDER' 'BY' 'LifeExpectancy' 'LIMIT' '1']","['select' 'name' 'from' 'country' 'where' 'continent' '=' 'value' 'order' + 'by' 'lifeexpectancy' 'limit' 'value']","['What' 'is' 'the' 'name' 'of' 'country' 'that' 'has' 'the' 'shortest' + 'life' 'expectancy' 'in' 'Asia' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +721,world_1,"SELECT Name FROM country WHERE Continent = ""Asia"" ORDER BY LifeExpectancy LIMIT 1",Give the name of the country in Asia with the lowest life expectancy.,"['SELECT' 'Name' 'FROM' 'country' 'WHERE' 'Continent' '=' '``' 'Asia' ""''"" + 'ORDER' 'BY' 'LifeExpectancy' 'LIMIT' '1']","['select' 'name' 'from' 'country' 'where' 'continent' '=' 'value' 'order' + 'by' 'lifeexpectancy' 'limit' 'value']","['Give' 'the' 'name' 'of' 'the' 'country' 'in' 'Asia' 'with' 'the' + 'lowest' 'life' 'expectancy' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +722,world_1,"SELECT sum(Population) , max(GNP) FROM country WHERE Continent = ""Asia""",What is the total population and maximum GNP in Asia?,"['SELECT' 'sum' '(' 'Population' ')' ',' 'max' '(' 'GNP' ')' 'FROM' + 'country' 'WHERE' 'Continent' '=' '``' 'Asia' ""''""]","['select' 'sum' '(' 'population' ')' ',' 'max' '(' 'gnp' ')' 'from' + 'country' 'where' 'continent' '=' 'value']","['What' 'is' 'the' 'total' 'population' 'and' 'maximum' 'GNP' 'in' 'Asia' + '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +723,world_1,"SELECT sum(Population) , max(GNP) FROM country WHERE Continent = ""Asia""","How many people live in Asia, and what is the largest GNP among them?","['SELECT' 'sum' '(' 'Population' ')' ',' 'max' '(' 'GNP' ')' 'FROM' + 'country' 'WHERE' 'Continent' '=' '``' 'Asia' ""''""]","['select' 'sum' '(' 'population' ')' ',' 'max' '(' 'gnp' ')' 'from' + 'country' 'where' 'continent' '=' 'value']","['How' 'many' 'people' 'live' 'in' 'Asia' ',' 'and' 'what' 'is' 'the' + 'largest' 'GNP' 'among' 'them' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +724,world_1,"SELECT avg(LifeExpectancy) FROM country WHERE Continent = ""Africa"" AND GovernmentForm = ""Republic""",What is the average life expectancy in African countries that are republics?,"['SELECT' 'avg' '(' 'LifeExpectancy' ')' 'FROM' 'country' 'WHERE' + 'Continent' '=' '``' 'Africa' ""''"" 'AND' 'GovernmentForm' '=' '``' + 'Republic' ""''""]","['select' 'avg' '(' 'lifeexpectancy' ')' 'from' 'country' 'where' + 'continent' '=' 'value' 'and' 'governmentform' '=' 'value']","['What' 'is' 'the' 'average' 'life' 'expectancy' 'in' 'African' + 'countries' 'that' 'are' 'republics' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +725,world_1,"SELECT avg(LifeExpectancy) FROM country WHERE Continent = ""Africa"" AND GovernmentForm = ""Republic""",Give the average life expectancy for countries in Africa which are republics?,"['SELECT' 'avg' '(' 'LifeExpectancy' ')' 'FROM' 'country' 'WHERE' + 'Continent' '=' '``' 'Africa' ""''"" 'AND' 'GovernmentForm' '=' '``' + 'Republic' ""''""]","['select' 'avg' '(' 'lifeexpectancy' ')' 'from' 'country' 'where' + 'continent' '=' 'value' 'and' 'governmentform' '=' 'value']","['Give' 'the' 'average' 'life' 'expectancy' 'for' 'countries' 'in' + 'Africa' 'which' 'are' 'republics' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +726,world_1,"SELECT sum(SurfaceArea) FROM country WHERE Continent = ""Asia"" OR Continent = ""Europe""",What is the total surface area of the continents Asia and Europe?,"['SELECT' 'sum' '(' 'SurfaceArea' ')' 'FROM' 'country' 'WHERE' 'Continent' + '=' '``' 'Asia' ""''"" 'OR' 'Continent' '=' '``' 'Europe' ""''""]","['select' 'sum' '(' 'surfacearea' ')' 'from' 'country' 'where' 'continent' + '=' 'value' 'or' 'continent' '=' 'value']","['What' 'is' 'the' 'total' 'surface' 'area' 'of' 'the' 'continents' 'Asia' + 'and' 'Europe' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +727,world_1,"SELECT sum(SurfaceArea) FROM country WHERE Continent = ""Asia"" OR Continent = ""Europe""",Give the total surface area covered by countries in Asia or Europe.,"['SELECT' 'sum' '(' 'SurfaceArea' ')' 'FROM' 'country' 'WHERE' 'Continent' + '=' '``' 'Asia' ""''"" 'OR' 'Continent' '=' '``' 'Europe' ""''""]","['select' 'sum' '(' 'surfacearea' ')' 'from' 'country' 'where' 'continent' + '=' 'value' 'or' 'continent' '=' 'value']","['Give' 'the' 'total' 'surface' 'area' 'covered' 'by' 'countries' 'in' + 'Asia' 'or' 'Europe' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +728,world_1,"SELECT sum(Population) FROM city WHERE District = ""Gelderland""",How many people live in Gelderland district?,"['SELECT' 'sum' '(' 'Population' ')' 'FROM' 'city' 'WHERE' 'District' '=' + '``' 'Gelderland' ""''""]","['select' 'sum' '(' 'population' ')' 'from' 'city' 'where' 'district' '=' + 'value']",['How' 'many' 'people' 'live' 'in' 'Gelderland' 'district' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +729,world_1,"SELECT sum(Population) FROM city WHERE District = ""Gelderland""",What is the total population of Gelderland district?,"['SELECT' 'sum' '(' 'Population' ')' 'FROM' 'city' 'WHERE' 'District' '=' + '``' 'Gelderland' ""''""]","['select' 'sum' '(' 'population' ')' 'from' 'city' 'where' 'district' '=' + 'value']",['What' 'is' 'the' 'total' 'population' 'of' 'Gelderland' 'district' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +730,world_1,"SELECT avg(GNP) , sum(population) FROM country WHERE GovernmentForm = ""US Territory""",What is the average GNP and total population in all nations whose government is US territory?,"['SELECT' 'avg' '(' 'GNP' ')' ',' 'sum' '(' 'population' ')' 'FROM' + 'country' 'WHERE' 'GovernmentForm' '=' '``' 'US' 'Territory' ""''""]","['select' 'avg' '(' 'gnp' ')' ',' 'sum' '(' 'population' ')' 'from' + 'country' 'where' 'governmentform' '=' 'value']","['What' 'is' 'the' 'average' 'GNP' 'and' 'total' 'population' 'in' 'all' + 'nations' 'whose' 'government' 'is' 'US' 'territory' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +731,world_1,"SELECT avg(GNP) , sum(population) FROM country WHERE GovernmentForm = ""US Territory""",Give the mean GNP and total population of nations which are considered US territory.,"['SELECT' 'avg' '(' 'GNP' ')' ',' 'sum' '(' 'population' ')' 'FROM' + 'country' 'WHERE' 'GovernmentForm' '=' '``' 'US' 'Territory' ""''""]","['select' 'avg' '(' 'gnp' ')' ',' 'sum' '(' 'population' ')' 'from' + 'country' 'where' 'governmentform' '=' 'value']","['Give' 'the' 'mean' 'GNP' 'and' 'total' 'population' 'of' 'nations' + 'which' 'are' 'considered' 'US' 'territory' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +732,world_1,SELECT count(DISTINCT LANGUAGE) FROM countrylanguage,How many unique languages are spoken in the world?,['SELECT' 'count' '(' 'DISTINCT' 'LANGUAGE' ')' 'FROM' 'countrylanguage'],['select' 'count' '(' 'distinct' 'language' ')' 'from' 'countrylanguage'],['How' 'many' 'unique' 'languages' 'are' 'spoken' 'in' 'the' 'world' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +733,world_1,SELECT count(DISTINCT LANGUAGE) FROM countrylanguage,What is the number of distinct languages used around the world?,['SELECT' 'count' '(' 'DISTINCT' 'LANGUAGE' ')' 'FROM' 'countrylanguage'],['select' 'count' '(' 'distinct' 'language' ')' 'from' 'countrylanguage'],"['What' 'is' 'the' 'number' 'of' 'distinct' 'languages' 'used' 'around' + 'the' 'world' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +734,world_1,"SELECT count(DISTINCT GovernmentForm) FROM country WHERE Continent = ""Africa""",How many type of governments are in Africa?,"['SELECT' 'count' '(' 'DISTINCT' 'GovernmentForm' ')' 'FROM' 'country' + 'WHERE' 'Continent' '=' '``' 'Africa' ""''""]","['select' 'count' '(' 'distinct' 'governmentform' ')' 'from' 'country' + 'where' 'continent' '=' 'value']",['How' 'many' 'type' 'of' 'governments' 'are' 'in' 'Africa' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +735,world_1,"SELECT count(DISTINCT GovernmentForm) FROM country WHERE Continent = ""Africa""",How many different forms of governments are there in Africa?,"['SELECT' 'count' '(' 'DISTINCT' 'GovernmentForm' ')' 'FROM' 'country' + 'WHERE' 'Continent' '=' '``' 'Africa' ""''""]","['select' 'count' '(' 'distinct' 'governmentform' ')' 'from' 'country' + 'where' 'continent' '=' 'value']","['How' 'many' 'different' 'forms' 'of' 'governments' 'are' 'there' 'in' + 'Africa' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +736,world_1,"SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = ""Aruba""",What is the total number of languages used in Aruba?,"['SELECT' 'COUNT' '(' 'T2.Language' ')' 'FROM' 'country' 'AS' 'T1' 'JOIN' + 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' 'T2.CountryCode' 'WHERE' + 'T1.Name' '=' '``' 'Aruba' ""''""]","['select' 'count' '(' 't2' '.' 'language' ')' 'from' 'country' 'as' 't1' + 'join' 'countrylanguage' 'as' 't2' 'on' 't1' '.' 'code' '=' 't2' '.' + 'countrycode' 'where' 't1' '.' 'name' '=' 'value']","['What' 'is' 'the' 'total' 'number' 'of' 'languages' 'used' 'in' 'Aruba' + '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +737,world_1,"SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = ""Aruba""",How many languages are spoken in Aruba?,"['SELECT' 'COUNT' '(' 'T2.Language' ')' 'FROM' 'country' 'AS' 'T1' 'JOIN' + 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' 'T2.CountryCode' 'WHERE' + 'T1.Name' '=' '``' 'Aruba' ""''""]","['select' 'count' '(' 't2' '.' 'language' ')' 'from' 'country' 'as' 't1' + 'join' 'countrylanguage' 'as' 't2' 'on' 't1' '.' 'code' '=' 't2' '.' + 'countrycode' 'where' 't1' '.' 'name' '=' 'value']",['How' 'many' 'languages' 'are' 'spoken' 'in' 'Aruba' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +738,world_1,"SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = ""Afghanistan"" AND IsOfficial = ""T""",How many official languages does Afghanistan have?,"['SELECT' 'COUNT' '(' '*' ')' 'FROM' 'country' 'AS' 'T1' 'JOIN' + 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' 'T2.CountryCode' 'WHERE' + 'T1.Name' '=' '``' 'Afghanistan' ""''"" 'AND' 'IsOfficial' '=' '``' 'T' + ""''""]","['select' 'count' '(' '*' ')' 'from' 'country' 'as' 't1' 'join' + 'countrylanguage' 'as' 't2' 'on' 't1' '.' 'code' '=' 't2' '.' + 'countrycode' 'where' 't1' '.' 'name' '=' 'value' 'and' 'isofficial' '=' + 'value']",['How' 'many' 'official' 'languages' 'does' 'Afghanistan' 'have' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +739,world_1,"SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = ""Afghanistan"" AND IsOfficial = ""T""",How many official languages are spoken in Afghanistan?,"['SELECT' 'COUNT' '(' '*' ')' 'FROM' 'country' 'AS' 'T1' 'JOIN' + 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' 'T2.CountryCode' 'WHERE' + 'T1.Name' '=' '``' 'Afghanistan' ""''"" 'AND' 'IsOfficial' '=' '``' 'T' + ""''""]","['select' 'count' '(' '*' ')' 'from' 'country' 'as' 't1' 'join' + 'countrylanguage' 'as' 't2' 'on' 't1' '.' 'code' '=' 't2' '.' + 'countrycode' 'where' 't1' '.' 'name' '=' 'value' 'and' 'isofficial' '=' + 'value']",['How' 'many' 'official' 'languages' 'are' 'spoken' 'in' 'Afghanistan' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +740,world_1,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,What is name of the country that speaks the largest number of languages?,"['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']","['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']","['What' 'is' 'name' 'of' 'the' 'country' 'that' 'speaks' 'the' 'largest' + 'number' 'of' 'languages' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +741,world_1,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,Give the name of the nation that uses the greatest amount of languages.,"['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']","['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']","['Give' 'the' 'name' 'of' 'the' 'nation' 'that' 'uses' 'the' 'greatest' + 'amount' 'of' 'languages' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +742,world_1,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,Which continent has the most diverse languages?,"['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']","['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']",['Which' 'continent' 'has' 'the' 'most' 'diverse' 'languages' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +743,world_1,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,Which continent speaks the most languages?,"['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']","['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']",['Which' 'continent' 'speaks' 'the' 'most' 'languages' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +744,world_1,"SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = ""English"" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = ""Dutch"")",How many countries speak both English and Dutch?,"['SELECT' 'COUNT' '(' '*' ')' 'FROM' '(' 'SELECT' 'T1.Name' 'FROM' + 'country' 'AS' 'T1' 'JOIN' 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' + 'T2.CountryCode' 'WHERE' 'T2.Language' '=' '``' 'English' ""''"" + 'INTERSECT' 'SELECT' 'T1.Name' 'FROM' 'country' 'AS' 'T1' 'JOIN' + 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' 'T2.CountryCode' 'WHERE' + 'T2.Language' '=' '``' 'Dutch' ""''"" ')']","['select' 'count' '(' '*' ')' 'from' '(' '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' ')']",['How' 'many' 'countries' 'speak' 'both' 'English' 'and' 'Dutch' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +745,world_1,"SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = ""English"" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = ""Dutch"")",What is the number of nations that use English and Dutch?,"['SELECT' 'COUNT' '(' '*' ')' 'FROM' '(' 'SELECT' 'T1.Name' 'FROM' + 'country' 'AS' 'T1' 'JOIN' 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' + 'T2.CountryCode' 'WHERE' 'T2.Language' '=' '``' 'English' ""''"" + 'INTERSECT' 'SELECT' 'T1.Name' 'FROM' 'country' 'AS' 'T1' 'JOIN' + 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' 'T2.CountryCode' 'WHERE' + 'T2.Language' '=' '``' 'Dutch' ""''"" ')']","['select' 'count' '(' '*' ')' 'from' '(' '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' ')']","['What' 'is' 'the' 'number' 'of' 'nations' 'that' 'use' 'English' 'and' + 'Dutch' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +746,world_1,"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""",What are the names of nations speak both English and French?,"['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' ""''""]","['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']","['What' 'are' 'the' 'names' 'of' 'nations' 'speak' 'both' 'English' 'and' + 'French' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +747,world_1,"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""",Give the names of nations that speak both English and French.,"['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' ""''""]","['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']","['Give' 'the' 'names' 'of' 'nations' 'that' 'speak' 'both' 'English' 'and' + 'French' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +748,world_1,"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""",What are the names of nations where both English and French are official languages?,"['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' ""''""]","['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']","['What' 'are' 'the' 'names' 'of' 'nations' 'where' 'both' 'English' 'and' + 'French' 'are' 'official' 'languages' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +749,world_1,"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""",Give the names of countries with English and French as official languages.,"['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' ""''""]","['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']","['Give' 'the' 'names' 'of' 'countries' 'with' 'English' 'and' 'French' + 'as' 'official' 'languages' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +750,world_1,"SELECT COUNT( DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = ""Chinese""",What is the number of distinct continents where Chinese is spoken?,"['SELECT' 'COUNT' '(' 'DISTINCT' 'Continent' ')' 'FROM' 'country' 'AS' + 'T1' 'JOIN' 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' + 'T2.CountryCode' 'WHERE' 'T2.Language' '=' '``' 'Chinese' ""''""]","['select' 'count' '(' 'distinct' 'continent' ')' 'from' 'country' 'as' + 't1' 'join' 'countrylanguage' 'as' 't2' 'on' 't1' '.' 'code' '=' 't2' '.' + 'countrycode' 'where' 't2' '.' 'language' '=' 'value']","['What' 'is' 'the' 'number' 'of' 'distinct' 'continents' 'where' 'Chinese' + 'is' 'spoken' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +751,world_1,"SELECT COUNT( DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = ""Chinese""",How many continents speak Chinese?,"['SELECT' 'COUNT' '(' 'DISTINCT' 'Continent' ')' 'FROM' 'country' 'AS' + 'T1' 'JOIN' 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' + 'T2.CountryCode' 'WHERE' 'T2.Language' '=' '``' 'Chinese' ""''""]","['select' 'count' '(' 'distinct' 'continent' ')' 'from' 'country' 'as' + 't1' 'join' 'countrylanguage' 'as' 't2' 'on' 't1' '.' 'code' '=' 't2' '.' + 'countrycode' 'where' 't2' '.' 'language' '=' 'value']",['How' 'many' 'continents' 'speak' 'Chinese' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +752,world_1,"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""",What are the regions that use English or Dutch?,"['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' + ""''""]","['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']",['What' 'are' 'the' 'regions' 'that' 'use' 'English' 'or' 'Dutch' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +753,world_1,"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""",Which regions speak Dutch or English?,"['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' + ""''""]","['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']",['Which' 'regions' 'speak' 'Dutch' 'or' 'English' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +754,world_1,"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""",What are the countries where either English or Dutch is the official language ?,"['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""']","['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']","['What' 'are' 'the' 'countries' 'where' 'either' 'English' 'or' 'Dutch' + 'is' 'the' 'official' 'language' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +755,world_1,"SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = ""English"" AND IsOfficial = ""T"" UNION SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = ""Dutch"" AND IsOfficial = ""T""",Which countries have either English or Dutch as an official language?,"['SELECT' '*' 'FROM' 'country' 'AS' 'T1' 'JOIN' 'countrylanguage' 'AS' + 'T2' 'ON' 'T1.Code' '=' 'T2.CountryCode' 'WHERE' 'T2.Language' '=' '``' + 'English' ""''"" 'AND' 'IsOfficial' '=' '``' 'T' ""''"" 'UNION' 'SELECT' '*' + 'FROM' 'country' 'AS' 'T1' 'JOIN' 'countrylanguage' 'AS' 'T2' 'ON' + 'T1.Code' '=' 'T2.CountryCode' 'WHERE' 'T2.Language' '=' '``' 'Dutch' + ""''"" 'AND' 'IsOfficial' '=' '``' 'T' ""''""]","['select' '*' 'from' 'country' 'as' 't1' 'join' 'countrylanguage' 'as' + 't2' 'on' 't1' '.' 'code' '=' 't2' '.' 'countrycode' 'where' 't2' '.' + 'language' '=' 'value' 'and' 'isofficial' '=' 'value' 'union' 'select' + '*' 'from' 'country' 'as' 't1' 'join' 'countrylanguage' 'as' 't2' 'on' + 't1' '.' 'code' '=' 't2' '.' 'countrycode' 'where' 't2' '.' 'language' + '=' 'value' 'and' 'isofficial' '=' 'value']","['Which' 'countries' 'have' 'either' 'English' 'or' 'Dutch' 'as' 'an' + 'official' 'language' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +756,world_1,"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",Which language is the most popular on the Asian continent?,"['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']","['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']","['Which' 'language' 'is' 'the' 'most' 'popular' 'on' 'the' 'Asian' + 'continent' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +757,world_1,"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",What is the language that is used by the largest number of Asian nations?,"['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']","['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']","['What' 'is' 'the' 'language' 'that' 'is' 'used' 'by' 'the' 'largest' + 'number' 'of' 'Asian' 'nations' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +758,world_1,"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",Which languages are spoken by only one country in republic governments?,"['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']","['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']","['Which' 'languages' 'are' 'spoken' 'by' 'only' 'one' 'country' 'in' + 'republic' 'governments' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +759,world_1,"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",What languages are only used by a single country with a republic government?,"['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']","['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']","['What' 'languages' 'are' 'only' 'used' 'by' 'a' 'single' 'country' 'with' + 'a' 'republic' 'government' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +760,world_1,"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",Find the city with the largest population that uses English.,"['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']","['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']","['Find' 'the' 'city' 'with' 'the' 'largest' 'population' 'that' 'uses' + 'English' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +761,world_1,"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",What is the most populace city that speaks English?,"['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']","['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']",['What' 'is' 'the' 'most' 'populace' 'city' 'that' 'speaks' 'English' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +762,world_1,"SELECT Name , Population , LifeExpectancy FROM country WHERE Continent = ""Asia"" ORDER BY SurfaceArea DESC LIMIT 1","Find the name, population and expected life length of asian country with the largest area?","['SELECT' 'Name' ',' 'Population' ',' 'LifeExpectancy' 'FROM' 'country' + 'WHERE' 'Continent' '=' '``' 'Asia' ""''"" 'ORDER' 'BY' 'SurfaceArea' + 'DESC' 'LIMIT' '1']","['select' 'name' ',' 'population' ',' 'lifeexpectancy' 'from' 'country' + 'where' 'continent' '=' 'value' 'order' 'by' 'surfacearea' 'desc' 'limit' + 'value']","['Find' 'the' 'name' ',' 'population' 'and' 'expected' 'life' 'length' + 'of' 'asian' 'country' 'with' 'the' 'largest' 'area' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +763,world_1,"SELECT Name , Population , LifeExpectancy FROM country WHERE Continent = ""Asia"" ORDER BY SurfaceArea DESC LIMIT 1","What are the name, population, and life expectancy of the largest Asian country by land?","['SELECT' 'Name' ',' 'Population' ',' 'LifeExpectancy' 'FROM' 'country' + 'WHERE' 'Continent' '=' '``' 'Asia' ""''"" 'ORDER' 'BY' 'SurfaceArea' + 'DESC' 'LIMIT' '1']","['select' 'name' ',' 'population' ',' 'lifeexpectancy' 'from' 'country' + 'where' 'continent' '=' 'value' 'order' 'by' 'surfacearea' 'desc' 'limit' + 'value']","['What' 'are' 'the' 'name' ',' 'population' ',' 'and' 'life' 'expectancy' + 'of' 'the' 'largest' 'Asian' 'country' 'by' 'land' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +764,world_1,"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"")",What is average life expectancy in the countries where English is not the official language?,"['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' + ""''"" ')']","['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' ')']","['What' 'is' 'average' 'life' 'expectancy' 'in' 'the' 'countries' 'where' + 'English' 'is' 'not' 'the' 'official' 'language' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +765,world_1,"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"")",Give the mean life expectancy of countries in which English is not the official language.,"['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' + ""''"" ')']","['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' ')']","['Give' 'the' 'mean' 'life' 'expectancy' 'of' 'countries' 'in' 'which' + 'English' 'is' 'not' 'the' 'official' 'language' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +766,world_1,"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"")",What is the total number of people living in the nations that do not use English?,"['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' ""''"" ')']","['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' ')']","['What' 'is' 'the' 'total' 'number' 'of' 'people' 'living' 'in' 'the' + 'nations' 'that' 'do' 'not' 'use' 'English' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +767,world_1,"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"")",How many people live in countries that do not speak English?,"['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' ""''"" ')']","['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' ')']","['How' 'many' 'people' 'live' 'in' 'countries' 'that' 'do' 'not' 'speak' + 'English' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +768,world_1,"SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.HeadOfState = ""Beatrix"" AND T2.IsOfficial = ""T""",What is the official language spoken in the country whose head of state is Beatrix?,"['SELECT' 'T2.Language' 'FROM' 'country' 'AS' 'T1' 'JOIN' + 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' 'T2.CountryCode' 'WHERE' + 'T1.HeadOfState' '=' '``' 'Beatrix' ""''"" 'AND' 'T2.IsOfficial' '=' '``' + 'T' ""''""]","['select' 't2' '.' 'language' 'from' 'country' 'as' 't1' 'join' + 'countrylanguage' 'as' 't2' 'on' 't1' '.' 'code' '=' 't2' '.' + 'countrycode' 'where' 't1' '.' 'headofstate' '=' 'value' 'and' 't2' '.' + 'isofficial' '=' 'value']","['What' 'is' 'the' 'official' 'language' 'spoken' 'in' 'the' 'country' + 'whose' 'head' 'of' 'state' 'is' 'Beatrix' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +769,world_1,"SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.HeadOfState = ""Beatrix"" AND T2.IsOfficial = ""T""",What is the official language used in the country the name of whose head of state is Beatrix.,"['SELECT' 'T2.Language' 'FROM' 'country' 'AS' 'T1' 'JOIN' + 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' 'T2.CountryCode' 'WHERE' + 'T1.HeadOfState' '=' '``' 'Beatrix' ""''"" 'AND' 'T2.IsOfficial' '=' '``' + 'T' ""''""]","['select' 't2' '.' 'language' 'from' 'country' 'as' 't1' 'join' + 'countrylanguage' 'as' 't2' 'on' 't1' '.' 'code' '=' 't2' '.' + 'countrycode' 'where' 't1' '.' 'headofstate' '=' 'value' 'and' 't2' '.' + 'isofficial' '=' 'value']","['What' 'is' 'the' 'official' 'language' 'used' 'in' 'the' 'country' 'the' + 'name' 'of' 'whose' 'head' 'of' 'state' 'is' 'Beatrix' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +770,world_1,"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""",What is the total number of unique official languages spoken in the countries that are founded before 1930?,"['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' ""''""]","['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']","['What' 'is' 'the' 'total' 'number' 'of' 'unique' 'official' 'languages' + 'spoken' 'in' 'the' 'countries' 'that' 'are' 'founded' 'before' '1930' + '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +771,world_1,"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""","For the countries founded before 1930, what is the total number of distinct official languages?","['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' ""''""]","['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']","['For' 'the' 'countries' 'founded' 'before' '1930' ',' 'what' 'is' 'the' + 'total' 'number' 'of' 'distinct' 'official' 'languages' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +772,world_1,"SELECT Name FROM country WHERE SurfaceArea > (SELECT min(SurfaceArea) FROM country WHERE Continent = ""Europe"")",What are the countries that have greater surface area than any country in Europe?,"['SELECT' 'Name' 'FROM' 'country' 'WHERE' 'SurfaceArea' '>' '(' 'SELECT' + 'min' '(' 'SurfaceArea' ')' 'FROM' 'country' 'WHERE' 'Continent' '=' '``' + 'Europe' ""''"" ')']","['select' 'name' 'from' 'country' 'where' 'surfacearea' '>' '(' 'select' + 'min' '(' 'surfacearea' ')' 'from' 'country' 'where' 'continent' '=' + 'value' ')']","['What' 'are' 'the' 'countries' 'that' 'have' 'greater' 'surface' 'area' + 'than' 'any' 'country' 'in' 'Europe' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +773,world_1,"SELECT Name FROM country WHERE SurfaceArea > (SELECT min(SurfaceArea) FROM country WHERE Continent = ""Europe"")",Which countries have greater area than that of any country in Europe?,"['SELECT' 'Name' 'FROM' 'country' 'WHERE' 'SurfaceArea' '>' '(' 'SELECT' + 'min' '(' 'SurfaceArea' ')' 'FROM' 'country' 'WHERE' 'Continent' '=' '``' + 'Europe' ""''"" ')']","['select' 'name' 'from' 'country' 'where' 'surfacearea' '>' '(' 'select' + 'min' '(' 'surfacearea' ')' 'from' 'country' 'where' 'continent' '=' + 'value' ')']","['Which' 'countries' 'have' 'greater' 'area' 'than' 'that' 'of' 'any' + 'country' 'in' 'Europe' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +774,world_1,"SELECT Name FROM country WHERE Continent = ""Africa"" AND population < (SELECT max(population) FROM country WHERE Continent = ""Asia"")",What are the African countries that have a population less than any country in Asia?,"['SELECT' 'Name' 'FROM' 'country' 'WHERE' 'Continent' '=' '``' 'Africa' + ""''"" 'AND' 'population' '<' '(' 'SELECT' 'max' '(' 'population' ')' + 'FROM' 'country' 'WHERE' 'Continent' '=' '``' 'Asia' ""''"" ')']","['select' 'name' 'from' 'country' 'where' 'continent' '=' 'value' 'and' + 'population' '<' '(' 'select' 'max' '(' 'population' ')' 'from' 'country' + 'where' 'continent' '=' 'value' ')']","['What' 'are' 'the' 'African' 'countries' 'that' 'have' 'a' 'population' + 'less' 'than' 'any' 'country' 'in' 'Asia' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +775,world_1,"SELECT Name FROM country WHERE Continent = ""Africa"" AND population < (SELECT min(population) FROM country WHERE Continent = ""Asia"")",Which African countries have a smaller population than that of any country in Asia?,"['SELECT' 'Name' 'FROM' 'country' 'WHERE' 'Continent' '=' '``' 'Africa' + ""''"" 'AND' 'population' '<' '(' 'SELECT' 'min' '(' 'population' ')' + 'FROM' 'country' 'WHERE' 'Continent' '=' '``' 'Asia' ""''"" ')']","['select' 'name' 'from' 'country' 'where' 'continent' '=' 'value' 'and' + 'population' '<' '(' 'select' 'min' '(' 'population' ')' 'from' 'country' + 'where' 'continent' '=' 'value' ')']","['Which' 'African' 'countries' 'have' 'a' 'smaller' 'population' 'than' + 'that' 'of' 'any' 'country' 'in' 'Asia' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +776,world_1,"SELECT Name FROM country WHERE Continent = ""Asia"" AND population > (SELECT max(population) FROM country WHERE Continent = ""Africa"")",Which Asian countries have a population that is larger than any country in Africa?,"['SELECT' 'Name' 'FROM' 'country' 'WHERE' 'Continent' '=' '``' 'Asia' ""''"" + 'AND' 'population' '>' '(' 'SELECT' 'max' '(' 'population' ')' 'FROM' + 'country' 'WHERE' 'Continent' '=' '``' 'Africa' ""''"" ')']","['select' 'name' 'from' 'country' 'where' 'continent' '=' 'value' 'and' + 'population' '>' '(' 'select' 'max' '(' 'population' ')' 'from' 'country' + 'where' 'continent' '=' 'value' ')']","['Which' 'Asian' 'countries' 'have' 'a' 'population' 'that' 'is' 'larger' + 'than' 'any' 'country' 'in' 'Africa' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +777,world_1,"SELECT Name FROM country WHERE Continent = ""Asia"" AND population > (SELECT min(population) FROM country WHERE Continent = ""Africa"")",What are the Asian countries which have a population larger than that of any country in Africa?,"['SELECT' 'Name' 'FROM' 'country' 'WHERE' 'Continent' '=' '``' 'Asia' ""''"" + 'AND' 'population' '>' '(' 'SELECT' 'min' '(' 'population' ')' 'FROM' + 'country' 'WHERE' 'Continent' '=' '``' 'Africa' ""''"" ')']","['select' 'name' 'from' 'country' 'where' 'continent' '=' 'value' 'and' + 'population' '>' '(' 'select' 'min' '(' 'population' ')' 'from' 'country' + 'where' 'continent' '=' 'value' ')']","['What' 'are' 'the' 'Asian' 'countries' 'which' 'have' 'a' 'population' + 'larger' 'than' 'that' 'of' 'any' 'country' 'in' 'Africa' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +778,world_1,"SELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = ""English""",What are the country codes for countries that do not speak English?,"['SELECT' 'CountryCode' 'FROM' 'countrylanguage' 'EXCEPT' 'SELECT' + 'CountryCode' 'FROM' 'countrylanguage' 'WHERE' 'LANGUAGE' '=' '``' + 'English' ""''""]","['select' 'countrycode' 'from' 'countrylanguage' 'except' 'select' + 'countrycode' 'from' 'countrylanguage' 'where' 'language' '=' 'value']","['What' 'are' 'the' 'country' 'codes' 'for' 'countries' 'that' 'do' 'not' + 'speak' 'English' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +779,world_1,"SELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = ""English""",Return the country codes for countries that do not speak English.,"['SELECT' 'CountryCode' 'FROM' 'countrylanguage' 'EXCEPT' 'SELECT' + 'CountryCode' 'FROM' 'countrylanguage' 'WHERE' 'LANGUAGE' '=' '``' + 'English' ""''""]","['select' 'countrycode' 'from' 'countrylanguage' 'except' 'select' + 'countrycode' 'from' 'countrylanguage' 'where' 'language' '=' 'value']","['Return' 'the' 'country' 'codes' 'for' 'countries' 'that' 'do' 'not' + 'speak' 'English' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +780,world_1,"SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != ""English""",What are the country codes of countries where people use languages other than English?,"['SELECT' 'DISTINCT' 'CountryCode' 'FROM' 'countrylanguage' 'WHERE' + 'LANGUAGE' '!' '=' '``' 'English' ""''""]","['select' 'distinct' 'countrycode' 'from' 'countrylanguage' 'where' + 'language' '!' '=' 'value']","['What' 'are' 'the' 'country' 'codes' 'of' 'countries' 'where' 'people' + 'use' 'languages' 'other' 'than' 'English' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +781,world_1,"SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != ""English""",Give the country codes for countries in which people speak langauges that are not English.,"['SELECT' 'DISTINCT' 'CountryCode' 'FROM' 'countrylanguage' 'WHERE' + 'LANGUAGE' '!' '=' '``' 'English' ""''""]","['select' 'distinct' 'countrycode' 'from' 'countrylanguage' 'where' + 'language' '!' '=' 'value']","['Give' 'the' 'country' 'codes' 'for' 'countries' 'in' 'which' 'people' + 'speak' 'langauges' 'that' 'are' 'not' 'English' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +782,world_1,"SELECT Code FROM country WHERE GovernmentForm != ""Republic"" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = ""English""",What are the codes of the countries that do not speak English and whose government forms are not Republic?,"['SELECT' 'Code' 'FROM' 'country' 'WHERE' 'GovernmentForm' '!' '=' '``' + 'Republic' ""''"" 'EXCEPT' 'SELECT' 'CountryCode' 'FROM' 'countrylanguage' + 'WHERE' 'LANGUAGE' '=' '``' 'English' ""''""]","['select' 'code' 'from' 'country' 'where' 'governmentform' '!' '=' 'value' + 'except' 'select' 'countrycode' 'from' 'countrylanguage' 'where' + 'language' '=' 'value']","['What' 'are' 'the' 'codes' 'of' 'the' 'countries' 'that' 'do' 'not' + 'speak' 'English' 'and' 'whose' 'government' 'forms' 'are' 'not' + 'Republic' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +783,world_1,"SELECT Code FROM country WHERE GovernmentForm != ""Republic"" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = ""English""",Return the codes of countries that do not speak English and do not have Republics for governments.,"['SELECT' 'Code' 'FROM' 'country' 'WHERE' 'GovernmentForm' '!' '=' '``' + 'Republic' ""''"" 'EXCEPT' 'SELECT' 'CountryCode' 'FROM' 'countrylanguage' + 'WHERE' 'LANGUAGE' '=' '``' 'English' ""''""]","['select' 'code' 'from' 'country' 'where' 'governmentform' '!' '=' 'value' + 'except' 'select' 'countrycode' 'from' 'countrylanguage' 'where' + 'language' '=' 'value']","['Return' 'the' 'codes' 'of' 'countries' 'that' 'do' 'not' 'speak' + 'English' 'and' 'do' 'not' 'have' 'Republics' 'for' 'governments' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +784,world_1,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'),Which cities are in European countries where English is not the official language?,"['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"" ""'"" ')']","['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' ')']","['Which' 'cities' 'are' 'in' 'European' 'countries' 'where' 'English' 'is' + 'not' 'the' 'official' 'language' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +785,world_1,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'),What are the names of cities in Europe for which English is not the official language?,"['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"" ""'"" ')']","['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' ')']","['What' 'are' 'the' 'names' 'of' 'cities' 'in' 'Europe' 'for' 'which' + 'English' 'is' 'not' 'the' 'official' 'language' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +786,world_1,"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""",Which unique cities are in Asian countries where Chinese is the official language ?,"['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""']","['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']","['Which' 'unique' 'cities' 'are' 'in' 'Asian' 'countries' 'where' + 'Chinese' 'is' 'the' 'official' 'language' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +787,world_1,"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""",Return the different names of cities that are in Asia and for which Chinese is the official language.,"['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' ""''""]","['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']","['Return' 'the' 'different' 'names' 'of' 'cities' 'that' 'are' 'in' 'Asia' + 'and' 'for' 'which' 'Chinese' 'is' 'the' 'official' 'language' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +788,world_1,"SELECT Name , SurfaceArea , IndepYear FROM country ORDER BY Population LIMIT 1","What are the name, independence year, and surface area of the country with the smallest population?","['SELECT' 'Name' ',' 'SurfaceArea' ',' 'IndepYear' 'FROM' 'country' + 'ORDER' 'BY' 'Population' 'LIMIT' '1']","['select' 'name' ',' 'surfacearea' ',' 'indepyear' 'from' 'country' + 'order' 'by' 'population' 'limit' 'value']","['What' 'are' 'the' 'name' ',' 'independence' 'year' ',' 'and' 'surface' + 'area' 'of' 'the' 'country' 'with' 'the' 'smallest' 'population' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +789,world_1,"SELECT Name , SurfaceArea , IndepYear FROM country ORDER BY Population LIMIT 1","Give the name, year of independence, and surface area of the country that has the lowest population.","['SELECT' 'Name' ',' 'SurfaceArea' ',' 'IndepYear' 'FROM' 'country' + 'ORDER' 'BY' 'Population' 'LIMIT' '1']","['select' 'name' ',' 'surfacearea' ',' 'indepyear' 'from' 'country' + 'order' 'by' 'population' 'limit' 'value']","['Give' 'the' 'name' ',' 'year' 'of' 'independence' ',' 'and' 'surface' + 'area' 'of' 'the' 'country' 'that' 'has' 'the' 'lowest' 'population' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +790,world_1,"SELECT Name , population , HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1","What are the population, name and leader of the country with the largest area?","['SELECT' 'Name' ',' 'population' ',' 'HeadOfState' 'FROM' 'country' + 'ORDER' 'BY' 'SurfaceArea' 'DESC' 'LIMIT' '1']","['select' 'name' ',' 'population' ',' 'headofstate' 'from' 'country' + 'order' 'by' 'surfacearea' 'desc' 'limit' 'value']","['What' 'are' 'the' 'population' ',' 'name' 'and' 'leader' 'of' 'the' + 'country' 'with' 'the' 'largest' 'area' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +791,world_1,"SELECT Name , population , HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1","Give the name, population, and head of state for the country that has the largest area.","['SELECT' 'Name' ',' 'population' ',' 'HeadOfState' 'FROM' 'country' + 'ORDER' 'BY' 'SurfaceArea' 'DESC' 'LIMIT' '1']","['select' 'name' ',' 'population' ',' 'headofstate' 'from' 'country' + 'order' 'by' 'surfacearea' 'desc' 'limit' 'value']","['Give' 'the' 'name' ',' 'population' ',' 'and' 'head' 'of' 'state' 'for' + 'the' 'country' 'that' 'has' 'the' 'largest' 'area' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +792,world_1,"SELECT COUNT(T2.Language) , T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2",Return the country name and the numbers of languages spoken for each country that speaks at least 3 languages.,"['SELECT' 'COUNT' '(' 'T2.Language' ')' ',' 'T1.Name' 'FROM' 'country' + 'AS' 'T1' 'JOIN' 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' + 'T2.CountryCode' 'GROUP' 'BY' 'T1.Name' 'HAVING' 'COUNT' '(' '*' ')' '>' + '2']","['select' 'count' '(' 't2' '.' 'language' ')' ',' 't1' '.' 'name' 'from' + 'country' 'as' 't1' 'join' 'countrylanguage' 'as' 't2' 'on' 't1' '.' + 'code' '=' 't2' '.' 'countrycode' 'group' 'by' 't1' '.' 'name' 'having' + 'count' '(' '*' ')' '>' 'value']","['Return' 'the' 'country' 'name' 'and' 'the' 'numbers' 'of' 'languages' + 'spoken' 'for' 'each' 'country' 'that' 'speaks' 'at' 'least' '3' + 'languages' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +793,world_1,"SELECT COUNT(T2.Language) , T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2","What are the names of countries that speak more than 2 languages, as well as how many languages they speak?","['SELECT' 'COUNT' '(' 'T2.Language' ')' ',' 'T1.Name' 'FROM' 'country' + 'AS' 'T1' 'JOIN' 'countrylanguage' 'AS' 'T2' 'ON' 'T1.Code' '=' + 'T2.CountryCode' 'GROUP' 'BY' 'T1.Name' 'HAVING' 'COUNT' '(' '*' ')' '>' + '2']","['select' 'count' '(' 't2' '.' 'language' ')' ',' 't1' '.' 'name' 'from' + 'country' 'as' 't1' 'join' 'countrylanguage' 'as' 't2' 'on' 't1' '.' + 'code' '=' 't2' '.' 'countrycode' 'group' 'by' 't1' '.' 'name' 'having' + 'count' '(' '*' ')' '>' 'value']","['What' 'are' 'the' 'names' 'of' 'countries' 'that' 'speak' 'more' 'than' + '2' 'languages' ',' 'as' 'well' 'as' 'how' 'many' 'languages' 'they' + 'speak' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +794,world_1,"SELECT count(*) , District FROM city WHERE Population > (SELECT avg(Population) FROM city) GROUP BY District",Find the number of cities in each district whose population is greater than the average population of cities?,"['SELECT' 'count' '(' '*' ')' ',' 'District' 'FROM' 'city' 'WHERE' + 'Population' '>' '(' 'SELECT' 'avg' '(' 'Population' ')' 'FROM' 'city' + ')' 'GROUP' 'BY' 'District']","['select' 'count' '(' '*' ')' ',' 'district' 'from' 'city' 'where' + 'population' '>' '(' 'select' 'avg' '(' 'population' ')' 'from' 'city' + ')' 'group' 'by' 'district']","['Find' 'the' 'number' 'of' 'cities' 'in' 'each' 'district' 'whose' + 'population' 'is' 'greater' 'than' 'the' 'average' 'population' 'of' + 'cities' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +795,world_1,"SELECT count(*) , District FROM city WHERE Population > (SELECT avg(Population) FROM city) GROUP BY District",How many cities in each district have a population that is above the average population across all cities?,"['SELECT' 'count' '(' '*' ')' ',' 'District' 'FROM' 'city' 'WHERE' + 'Population' '>' '(' 'SELECT' 'avg' '(' 'Population' ')' 'FROM' 'city' + ')' 'GROUP' 'BY' 'District']","['select' 'count' '(' '*' ')' ',' 'district' 'from' 'city' 'where' + 'population' '>' '(' 'select' 'avg' '(' 'population' ')' 'from' 'city' + ')' 'group' 'by' 'district']","['How' 'many' 'cities' 'in' 'each' 'district' 'have' 'a' 'population' + 'that' 'is' 'above' 'the' 'average' 'population' 'across' 'all' 'cities' + '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +796,world_1,"SELECT sum(Population) , GovernmentForm FROM country GROUP BY GovernmentForm HAVING avg(LifeExpectancy) > 72",Find the government form name and total population for each government form whose average life expectancy is longer than 72.,"['SELECT' 'sum' '(' 'Population' ')' ',' 'GovernmentForm' 'FROM' 'country' + 'GROUP' 'BY' 'GovernmentForm' 'HAVING' 'avg' '(' 'LifeExpectancy' ')' '>' + '72']","['select' 'sum' '(' 'population' ')' ',' 'governmentform' 'from' 'country' + 'group' 'by' 'governmentform' 'having' 'avg' '(' 'lifeexpectancy' ')' '>' + 'value']","['Find' 'the' 'government' 'form' 'name' 'and' 'total' 'population' 'for' + 'each' 'government' 'form' 'whose' 'average' 'life' 'expectancy' 'is' + 'longer' 'than' '72' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +797,world_1,"SELECT sum(Population) , GovernmentForm FROM country GROUP BY GovernmentForm HAVING avg(LifeExpectancy) > 72",What are the different government forms and what is the total population of each for government forms that have an average life expectancy greater than 72?,"['SELECT' 'sum' '(' 'Population' ')' ',' 'GovernmentForm' 'FROM' 'country' + 'GROUP' 'BY' 'GovernmentForm' 'HAVING' 'avg' '(' 'LifeExpectancy' ')' '>' + '72']","['select' 'sum' '(' 'population' ')' ',' 'governmentform' 'from' 'country' + 'group' 'by' 'governmentform' 'having' 'avg' '(' 'lifeexpectancy' ')' '>' + 'value']","['What' 'are' 'the' 'different' 'government' 'forms' 'and' 'what' 'is' + 'the' 'total' 'population' 'of' 'each' 'for' 'government' 'forms' 'that' + 'have' 'an' 'average' 'life' 'expectancy' 'greater' 'than' '72' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +798,world_1,"SELECT sum(Population) , avg(LifeExpectancy) , Continent FROM country GROUP BY Continent HAVING avg(LifeExpectancy) < 72",Find the average life expectancy and total population for each continent where the average life expectancy is shorter than 72?,"['SELECT' 'sum' '(' 'Population' ')' ',' 'avg' '(' 'LifeExpectancy' ')' + ',' 'Continent' 'FROM' 'country' 'GROUP' 'BY' 'Continent' 'HAVING' 'avg' + '(' 'LifeExpectancy' ')' '<' '72']","['select' 'sum' '(' 'population' ')' ',' 'avg' '(' 'lifeexpectancy' ')' + ',' 'continent' 'from' 'country' 'group' 'by' 'continent' 'having' 'avg' + '(' 'lifeexpectancy' ')' '<' 'value']","['Find' 'the' 'average' 'life' 'expectancy' 'and' 'total' 'population' + 'for' 'each' 'continent' 'where' 'the' 'average' 'life' 'expectancy' 'is' + 'shorter' 'than' '72' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +799,world_1,"SELECT sum(Population) , avg(LifeExpectancy) , Continent FROM country GROUP BY Continent HAVING avg(LifeExpectancy) < 72","What are the different continents and the total popuation and average life expectancy corresponding to each, for continents that have an average life expectancy less than 72?","['SELECT' 'sum' '(' 'Population' ')' ',' 'avg' '(' 'LifeExpectancy' ')' + ',' 'Continent' 'FROM' 'country' 'GROUP' 'BY' 'Continent' 'HAVING' 'avg' + '(' 'LifeExpectancy' ')' '<' '72']","['select' 'sum' '(' 'population' ')' ',' 'avg' '(' 'lifeexpectancy' ')' + ',' 'continent' 'from' 'country' 'group' 'by' 'continent' 'having' 'avg' + '(' 'lifeexpectancy' ')' '<' 'value']","['What' 'are' 'the' 'different' 'continents' 'and' 'the' 'total' + 'popuation' 'and' 'average' 'life' 'expectancy' 'corresponding' 'to' + 'each' ',' 'for' 'continents' 'that' 'have' 'an' 'average' 'life' + 'expectancy' 'less' 'than' '72' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +800,world_1,"SELECT Name , SurfaceArea FROM country ORDER BY SurfaceArea DESC LIMIT 5",What are the names and areas of countries with the top 5 largest area?,"['SELECT' 'Name' ',' 'SurfaceArea' 'FROM' 'country' 'ORDER' 'BY' + 'SurfaceArea' 'DESC' 'LIMIT' '5']","['select' 'name' ',' 'surfacearea' 'from' 'country' 'order' 'by' + 'surfacearea' 'desc' 'limit' 'value']","['What' 'are' 'the' 'names' 'and' 'areas' 'of' 'countries' 'with' 'the' + 'top' '5' 'largest' 'area' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +801,world_1,"SELECT Name , SurfaceArea FROM country ORDER BY SurfaceArea DESC LIMIT 5",Return the names and surface areas of the 5 largest countries.,"['SELECT' 'Name' ',' 'SurfaceArea' 'FROM' 'country' 'ORDER' 'BY' + 'SurfaceArea' 'DESC' 'LIMIT' '5']","['select' 'name' ',' 'surfacearea' 'from' 'country' 'order' 'by' + 'surfacearea' 'desc' 'limit' 'value']","['Return' 'the' 'names' 'and' 'surface' 'areas' 'of' 'the' '5' 'largest' + 'countries' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +802,world_1,SELECT Name FROM country ORDER BY Population DESC LIMIT 3,What are names of countries with the top 3 largest population?,"['SELECT' 'Name' 'FROM' 'country' 'ORDER' 'BY' 'Population' 'DESC' 'LIMIT' + '3']","['select' 'name' 'from' 'country' 'order' 'by' 'population' 'desc' 'limit' + 'value']","['What' 'are' 'names' 'of' 'countries' 'with' 'the' 'top' '3' 'largest' + 'population' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +803,world_1,SELECT Name FROM country ORDER BY Population DESC LIMIT 3,Return the names of the 3 most populated countries.,"['SELECT' 'Name' 'FROM' 'country' 'ORDER' 'BY' 'Population' 'DESC' 'LIMIT' + '3']","['select' 'name' 'from' 'country' 'order' 'by' 'population' 'desc' 'limit' + 'value']",['Return' 'the' 'names' 'of' 'the' '3' 'most' 'populated' 'countries' '.'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +804,world_1,SELECT Name FROM country ORDER BY Population ASC LIMIT 3,What are the names of the nations with the 3 lowest populations?,"['SELECT' 'Name' 'FROM' 'country' 'ORDER' 'BY' 'Population' 'ASC' 'LIMIT' + '3']","['select' 'name' 'from' 'country' 'order' 'by' 'population' 'asc' 'limit' + 'value']","['What' 'are' 'the' 'names' 'of' 'the' 'nations' 'with' 'the' '3' 'lowest' + 'populations' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +805,world_1,SELECT Name FROM country ORDER BY Population ASC LIMIT 3,Return the names of the 3 countries with the fewest people.,"['SELECT' 'Name' 'FROM' 'country' 'ORDER' 'BY' 'Population' 'ASC' 'LIMIT' + '3']","['select' 'name' 'from' 'country' 'order' 'by' 'population' 'asc' 'limit' + 'value']","['Return' 'the' 'names' 'of' 'the' '3' 'countries' 'with' 'the' 'fewest' + 'people' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +806,world_1,"SELECT count(*) FROM country WHERE continent = ""Asia""",how many countries are in Asia?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'country' 'WHERE' 'continent' '=' + '``' 'Asia' ""''""]","['select' 'count' '(' '*' ')' 'from' 'country' 'where' 'continent' '=' + 'value']",['how' 'many' 'countries' 'are' 'in' 'Asia' '?'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +807,world_1,"SELECT count(*) FROM country WHERE continent = ""Asia""",Count the number of countries in Asia.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'country' 'WHERE' 'continent' '=' + '``' 'Asia' ""''""]","['select' 'count' '(' '*' ')' 'from' 'country' 'where' 'continent' '=' + 'value']",['Count' 'the' 'number' 'of' 'countries' 'in' 'Asia' '.'],"['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +808,world_1,"SELECT Name FROM country WHERE continent = ""Europe"" AND Population = ""80000""",What are the names of the countries that are in the continent of Europe and have a population of 80000?,"['SELECT' 'Name' 'FROM' 'country' 'WHERE' 'continent' '=' '``' 'Europe' + ""''"" 'AND' 'Population' '=' '``' '80000' ""''""]","['select' 'name' 'from' 'country' 'where' 'continent' '=' 'value' 'and' + 'population' '=' 'value']","['What' 'are' 'the' 'names' 'of' 'the' 'countries' 'that' 'are' 'in' 'the' + 'continent' 'of' 'Europe' 'and' 'have' 'a' 'population' 'of' '80000' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +809,world_1,"SELECT Name FROM country WHERE continent = ""Europe"" AND Population = ""80000""",Give the names of countries that are in Europe and have a population equal to 80000.,"['SELECT' 'Name' 'FROM' 'country' 'WHERE' 'continent' '=' '``' 'Europe' + ""''"" 'AND' 'Population' '=' '``' '80000' ""''""]","['select' 'name' 'from' 'country' 'where' 'continent' '=' 'value' 'and' + 'population' '=' 'value']","['Give' 'the' 'names' 'of' 'countries' 'that' 'are' 'in' 'Europe' 'and' + 'have' 'a' 'population' 'equal' 'to' '80000' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +810,world_1,"select sum(population) , avg(surfacearea) from country where continent = ""north america"" and surfacearea > 3000",What is the total population and average area of countries in the continent of North America whose area is bigger than 3000 ?,"['select' 'sum' '(' 'population' ')' ',' 'avg' '(' 'surfacearea' ')' + 'from' 'country' 'where' 'continent' '=' '""north america""' 'and' + 'surfacearea' '>' '3000']","['select' 'sum' '(' 'population' ')' ',' 'avg' '(' 'surfacearea' ')' + 'from' 'country' 'where' 'continent' '=' 'value' 'and' 'surfacearea' '>' + 'value']","['What' 'is' 'the' 'total' 'population' 'and' 'average' 'area' 'of' + 'countries' 'in' 'the' 'continent' 'of' 'North' 'America' 'whose' 'area' + 'is' 'bigger' 'than' '3000' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +811,world_1,"select sum(population) , avg(surfacearea) from country where continent = ""north america"" and surfacearea > 3000",Give the total population and average surface area corresponding to countries in North America that have a surface area greater than 3000 .,"['select' 'sum' '(' 'population' ')' ',' 'avg' '(' 'surfacearea' ')' + 'from' 'country' 'where' 'continent' '=' '""north america""' 'and' + 'surfacearea' '>' '3000']","['select' 'sum' '(' 'population' ')' ',' 'avg' '(' 'surfacearea' ')' + 'from' 'country' 'where' 'continent' '=' 'value' 'and' 'surfacearea' '>' + 'value']","['Give' 'the' 'total' 'population' 'and' 'average' 'surface' 'area' + 'corresponding' 'to' 'countries' 'in' 'North' 'America' 'that' 'have' 'a' + 'surface' 'area' 'greater' 'than' '3000' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +812,world_1,SELECT name FROM city WHERE Population BETWEEN 160000 AND 900000,What are the cities whose population is between 160000 and 900000?,"['SELECT' 'name' 'FROM' 'city' 'WHERE' 'Population' 'BETWEEN' '160000' + 'AND' '900000']","['select' 'name' 'from' 'city' 'where' 'population' 'between' 'value' + 'and' 'value']","['What' 'are' 'the' 'cities' 'whose' 'population' 'is' 'between' '160000' + 'and' '900000' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +813,world_1,select name from city where population between 160000 and 900000,Return the names of cities that have a population between 160000 and 900000 .,"['select' 'name' 'from' 'city' 'where' 'population' 'between' '160000' + 'and' '900000']","['select' 'name' 'from' 'city' 'where' 'population' 'between' 'value' + 'and' 'value']","['Return' 'the' 'names' 'of' 'cities' 'that' 'have' 'a' 'population' + 'between' '160000' 'and' '900000' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +814,world_1,SELECT LANGUAGE FROM countrylanguage GROUP BY LANGUAGE ORDER BY count(*) DESC LIMIT 1,Which language is spoken by the largest number of countries?,"['SELECT' 'LANGUAGE' 'FROM' 'countrylanguage' 'GROUP' 'BY' 'LANGUAGE' + 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'language' 'from' 'countrylanguage' 'group' 'by' 'language' + 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['Which' 'language' 'is' 'spoken' 'by' 'the' 'largest' 'number' 'of' + 'countries' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +815,world_1,SELECT LANGUAGE FROM countrylanguage GROUP BY LANGUAGE ORDER BY count(*) DESC LIMIT 1,Give the language that is spoken in the most countries.,"['SELECT' 'LANGUAGE' 'FROM' 'countrylanguage' 'GROUP' 'BY' 'LANGUAGE' + 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'language' 'from' 'countrylanguage' 'group' 'by' 'language' + 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['Give' 'the' 'language' 'that' 'is' 'spoken' 'in' 'the' 'most' + 'countries' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +816,world_1,"SELECT LANGUAGE , CountryCode , max(Percentage) FROM countrylanguage GROUP BY CountryCode",What is the language spoken by the largest percentage of people in each country?,"['SELECT' 'LANGUAGE' ',' 'CountryCode' ',' 'max' '(' 'Percentage' ')' + 'FROM' 'countrylanguage' 'GROUP' 'BY' 'CountryCode']","['select' 'language' ',' 'countrycode' ',' 'max' '(' 'percentage' ')' + 'from' 'countrylanguage' 'group' 'by' 'countrycode']","['What' 'is' 'the' 'language' 'spoken' 'by' 'the' 'largest' 'percentage' + 'of' 'people' 'in' 'each' 'country' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +817,world_1,"SELECT LANGUAGE , CountryCode , max(Percentage) FROM countrylanguage GROUP BY CountryCode","What are the country codes of the different countries, and what are the languages spoken by the greatest percentage of people for each?","['SELECT' 'LANGUAGE' ',' 'CountryCode' ',' 'max' '(' 'Percentage' ')' + 'FROM' 'countrylanguage' 'GROUP' 'BY' 'CountryCode']","['select' 'language' ',' 'countrycode' ',' 'max' '(' 'percentage' ')' + 'from' 'countrylanguage' 'group' 'by' 'countrycode']","['What' 'are' 'the' 'country' 'codes' 'of' 'the' 'different' 'countries' + ',' 'and' 'what' 'are' 'the' 'languages' 'spoken' 'by' 'the' 'greatest' + 'percentage' 'of' 'people' 'for' 'each' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +818,world_1,"SELECT count(*) , max(Percentage) FROM countrylanguage WHERE LANGUAGE = ""Spanish"" GROUP BY CountryCode",What is the total number of countries where Spanish is spoken by the largest percentage of people?,"['SELECT' 'count' '(' '*' ')' ',' 'max' '(' 'Percentage' ')' 'FROM' + 'countrylanguage' 'WHERE' 'LANGUAGE' '=' '``' 'Spanish' ""''"" 'GROUP' 'BY' + 'CountryCode']","['select' 'count' '(' '*' ')' ',' 'max' '(' 'percentage' ')' 'from' + 'countrylanguage' 'where' 'language' '=' 'value' 'group' 'by' + 'countrycode']","['What' 'is' 'the' 'total' 'number' 'of' 'countries' 'where' 'Spanish' + 'is' 'spoken' 'by' 'the' 'largest' 'percentage' 'of' 'people' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +819,world_1,"SELECT count(*) , max(Percentage) FROM countrylanguage WHERE LANGUAGE = ""Spanish"" GROUP BY CountryCode",Count the number of countries for which Spanish is the predominantly spoken language.,"['SELECT' 'count' '(' '*' ')' ',' 'max' '(' 'Percentage' ')' 'FROM' + 'countrylanguage' 'WHERE' 'LANGUAGE' '=' '``' 'Spanish' ""''"" 'GROUP' 'BY' + 'CountryCode']","['select' 'count' '(' '*' ')' ',' 'max' '(' 'percentage' ')' 'from' + 'countrylanguage' 'where' 'language' '=' 'value' 'group' 'by' + 'countrycode']","['Count' 'the' 'number' 'of' 'countries' 'for' 'which' 'Spanish' 'is' + 'the' 'predominantly' 'spoken' 'language' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +820,world_1,"SELECT CountryCode , max(Percentage) FROM countrylanguage WHERE LANGUAGE = ""Spanish"" GROUP BY CountryCode",What are the codes of countries where Spanish is spoken by the largest percentage of people?,"['SELECT' 'CountryCode' ',' 'max' '(' 'Percentage' ')' 'FROM' + 'countrylanguage' 'WHERE' 'LANGUAGE' '=' '``' 'Spanish' ""''"" 'GROUP' 'BY' + 'CountryCode']","['select' 'countrycode' ',' 'max' '(' 'percentage' ')' 'from' + 'countrylanguage' 'where' 'language' '=' 'value' 'group' 'by' + 'countrycode']","['What' 'are' 'the' 'codes' 'of' 'countries' 'where' 'Spanish' 'is' + 'spoken' 'by' 'the' 'largest' 'percentage' 'of' 'people' '?']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +821,world_1,"SELECT CountryCode , max(Percentage) FROM countrylanguage WHERE LANGUAGE = ""Spanish"" GROUP BY CountryCode",Return the codes of countries for which Spanish is the predominantly spoken language.,"['SELECT' 'CountryCode' ',' 'max' '(' 'Percentage' ')' 'FROM' + 'countrylanguage' 'WHERE' 'LANGUAGE' '=' '``' 'Spanish' ""''"" 'GROUP' 'BY' + 'CountryCode']","['select' 'countrycode' ',' 'max' '(' 'percentage' ')' 'from' + 'countrylanguage' 'where' 'language' '=' 'value' 'group' 'by' + 'countrycode']","['Return' 'the' 'codes' 'of' 'countries' 'for' 'which' 'Spanish' 'is' + 'the' 'predominantly' 'spoken' 'language' '.']","['id', 'name', 'country code', 'district', 'population', 'name', 'seq', 'code', 'name', 'continent', 'region', 'surface area', 'indepdent year', 'population', 'life expectancy', 'gnp', 'gnp old', 'local name', 'government form', 'head of state', 'capital', 'code2', 'countrycode', 'language', 'is official', 'percentage']" +822,orchestra,SELECT count(*) FROM conductor,How many conductors are there?,['SELECT' 'count' '(' '*' ')' 'FROM' 'conductor'],['select' 'count' '(' '*' ')' 'from' 'conductor'],['How' 'many' 'conductors' 'are' 'there' '?'],"['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +823,orchestra,SELECT count(*) FROM conductor,Count the number of conductors.,['SELECT' 'count' '(' '*' ')' 'FROM' 'conductor'],['select' 'count' '(' '*' ')' 'from' 'conductor'],['Count' 'the' 'number' 'of' 'conductors' '.'],"['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +824,orchestra,SELECT Name FROM conductor ORDER BY Age ASC,List the names of conductors in ascending order of age.,['SELECT' 'Name' 'FROM' 'conductor' 'ORDER' 'BY' 'Age' 'ASC'],['select' 'name' 'from' 'conductor' 'order' 'by' 'age' 'asc'],"['List' 'the' 'names' 'of' 'conductors' 'in' 'ascending' 'order' 'of' + 'age' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +825,orchestra,SELECT Name FROM conductor ORDER BY Age ASC,"What are the names of conductors, ordered by age?",['SELECT' 'Name' 'FROM' 'conductor' 'ORDER' 'BY' 'Age' 'ASC'],['select' 'name' 'from' 'conductor' 'order' 'by' 'age' 'asc'],"['What' 'are' 'the' 'names' 'of' 'conductors' ',' 'ordered' 'by' 'age' '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +826,orchestra,SELECT Name FROM conductor WHERE Nationality != 'USA',"What are the names of conductors whose nationalities are not ""USA""?","['SELECT' 'Name' 'FROM' 'conductor' 'WHERE' 'Nationality' '!' '=' ""'USA"" + ""'""]",['select' 'name' 'from' 'conductor' 'where' 'nationality' '!' '=' 'value'],"['What' 'are' 'the' 'names' 'of' 'conductors' 'whose' 'nationalities' + 'are' 'not' '``' 'USA' ""''"" '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +827,orchestra,SELECT Name FROM conductor WHERE Nationality != 'USA',"Return the names of conductors that do not have the nationality ""USA"".","['SELECT' 'Name' 'FROM' 'conductor' 'WHERE' 'Nationality' '!' '=' ""'USA"" + ""'""]",['select' 'name' 'from' 'conductor' 'where' 'nationality' '!' '=' 'value'],"['Return' 'the' 'names' 'of' 'conductors' 'that' 'do' 'not' 'have' 'the' + 'nationality' '``' 'USA' ""''"" '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +828,orchestra,SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC,What are the record companies of orchestras in descending order of years in which they were founded?,"['SELECT' 'Record_Company' 'FROM' 'orchestra' 'ORDER' 'BY' + 'Year_of_Founded' 'DESC']","['select' 'record_company' 'from' 'orchestra' 'order' 'by' + 'year_of_founded' 'desc']","['What' 'are' 'the' 'record' 'companies' 'of' 'orchestras' 'in' + 'descending' 'order' 'of' 'years' 'in' 'which' 'they' 'were' 'founded' + '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +829,orchestra,SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC,"Return the record companies of orchestras, sorted descending by the years in which they were founded.","['SELECT' 'Record_Company' 'FROM' 'orchestra' 'ORDER' 'BY' + 'Year_of_Founded' 'DESC']","['select' 'record_company' 'from' 'orchestra' 'order' 'by' + 'year_of_founded' 'desc']","['Return' 'the' 'record' 'companies' 'of' 'orchestras' ',' 'sorted' + 'descending' 'by' 'the' 'years' 'in' 'which' 'they' 'were' 'founded' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +830,orchestra,SELECT avg(Attendance) FROM SHOW,What is the average attendance of shows?,['SELECT' 'avg' '(' 'Attendance' ')' 'FROM' 'SHOW'],['select' 'avg' '(' 'attendance' ')' 'from' 'show'],['What' 'is' 'the' 'average' 'attendance' 'of' 'shows' '?'],"['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +831,orchestra,SELECT avg(Attendance) FROM SHOW,Return the average attendance across all shows.,['SELECT' 'avg' '(' 'Attendance' ')' 'FROM' 'SHOW'],['select' 'avg' '(' 'attendance' ')' 'from' 'show'],['Return' 'the' 'average' 'attendance' 'across' 'all' 'shows' '.'],"['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +832,orchestra,"SELECT max(SHARE) , min(SHARE) FROM performance WHERE TYPE != ""Live final""","What are the maximum and minimum share of performances whose type is not ""Live final"".","['SELECT' 'max' '(' 'SHARE' ')' ',' 'min' '(' 'SHARE' ')' 'FROM' + 'performance' 'WHERE' 'TYPE' '!' '=' '``' 'Live' 'final' ""''""]","['select' 'max' '(' 'share' ')' ',' 'min' '(' 'share' ')' 'from' + 'performance' 'where' 'type' '!' '=' 'value']","['What' 'are' 'the' 'maximum' 'and' 'minimum' 'share' 'of' 'performances' + 'whose' 'type' 'is' 'not' '``' 'Live' 'final' ""''"" '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +833,orchestra,"SELECT max(SHARE) , min(SHARE) FROM performance WHERE TYPE != ""Live final""","Return the maximum and minimum shares for performances that do not have the type ""Live final"".","['SELECT' 'max' '(' 'SHARE' ')' ',' 'min' '(' 'SHARE' ')' 'FROM' + 'performance' 'WHERE' 'TYPE' '!' '=' '``' 'Live' 'final' ""''""]","['select' 'max' '(' 'share' ')' ',' 'min' '(' 'share' ')' 'from' + 'performance' 'where' 'type' '!' '=' 'value']","['Return' 'the' 'maximum' 'and' 'minimum' 'shares' 'for' 'performances' + 'that' 'do' 'not' 'have' 'the' 'type' '``' 'Live' 'final' ""''"" '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +834,orchestra,SELECT count(DISTINCT Nationality) FROM conductor,How many different nationalities do conductors have?,['SELECT' 'count' '(' 'DISTINCT' 'Nationality' ')' 'FROM' 'conductor'],['select' 'count' '(' 'distinct' 'nationality' ')' 'from' 'conductor'],['How' 'many' 'different' 'nationalities' 'do' 'conductors' 'have' '?'],"['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +835,orchestra,SELECT count(DISTINCT Nationality) FROM conductor,Count the number of different nationalities of conductors.,['SELECT' 'count' '(' 'DISTINCT' 'Nationality' ')' 'FROM' 'conductor'],['select' 'count' '(' 'distinct' 'nationality' ')' 'from' 'conductor'],"['Count' 'the' 'number' 'of' 'different' 'nationalities' 'of' 'conductors' + '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +836,orchestra,SELECT Name FROM conductor ORDER BY Year_of_Work DESC,List names of conductors in descending order of years of work.,['SELECT' 'Name' 'FROM' 'conductor' 'ORDER' 'BY' 'Year_of_Work' 'DESC'],['select' 'name' 'from' 'conductor' 'order' 'by' 'year_of_work' 'desc'],"['List' 'names' 'of' 'conductors' 'in' 'descending' 'order' 'of' 'years' + 'of' 'work' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +837,orchestra,SELECT Name FROM conductor ORDER BY Year_of_Work DESC,"What are the names of conductors, sorted descending by the number of years they have worked?",['SELECT' 'Name' 'FROM' 'conductor' 'ORDER' 'BY' 'Year_of_Work' 'DESC'],['select' 'name' 'from' 'conductor' 'order' 'by' 'year_of_work' 'desc'],"['What' 'are' 'the' 'names' 'of' 'conductors' ',' 'sorted' 'descending' + 'by' 'the' 'number' 'of' 'years' 'they' 'have' 'worked' '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +838,orchestra,SELECT Name FROM conductor ORDER BY Year_of_Work DESC LIMIT 1,List the name of the conductor with the most years of work.,"['SELECT' 'Name' 'FROM' 'conductor' 'ORDER' 'BY' 'Year_of_Work' 'DESC' + 'LIMIT' '1']","['select' 'name' 'from' 'conductor' 'order' 'by' 'year_of_work' 'desc' + 'limit' 'value']","['List' 'the' 'name' 'of' 'the' 'conductor' 'with' 'the' 'most' 'years' + 'of' 'work' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +839,orchestra,SELECT Name FROM conductor ORDER BY Year_of_Work DESC LIMIT 1,What is the name of the conductor who has worked the greatest number of years?,"['SELECT' 'Name' 'FROM' 'conductor' 'ORDER' 'BY' 'Year_of_Work' 'DESC' + 'LIMIT' '1']","['select' 'name' 'from' 'conductor' 'order' 'by' 'year_of_work' 'desc' + 'limit' 'value']","['What' 'is' 'the' 'name' 'of' 'the' 'conductor' 'who' 'has' 'worked' + 'the' 'greatest' 'number' 'of' 'years' '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +840,orchestra,"SELECT T1.Name , T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID",Show the names of conductors and the orchestras they have conducted.,"['SELECT' 'T1.Name' ',' 'T2.Orchestra' 'FROM' 'conductor' 'AS' 'T1' 'JOIN' + 'orchestra' 'AS' 'T2' 'ON' 'T1.Conductor_ID' '=' 'T2.Conductor_ID']","['select' 't1' '.' 'name' ',' 't2' '.' 'orchestra' 'from' 'conductor' 'as' + 't1' 'join' 'orchestra' 'as' 't2' 'on' 't1' '.' 'conductor_id' '=' 't2' + '.' 'conductor_id']","['Show' 'the' 'names' 'of' 'conductors' 'and' 'the' 'orchestras' 'they' + 'have' 'conducted' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +841,orchestra,"SELECT T1.Name , T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID",What are the names of conductors as well as the corresonding orchestras that they have conducted?,"['SELECT' 'T1.Name' ',' 'T2.Orchestra' 'FROM' 'conductor' 'AS' 'T1' 'JOIN' + 'orchestra' 'AS' 'T2' 'ON' 'T1.Conductor_ID' '=' 'T2.Conductor_ID']","['select' 't1' '.' 'name' ',' 't2' '.' 'orchestra' 'from' 'conductor' 'as' + 't1' 'join' 'orchestra' 'as' 't2' 'on' 't1' '.' 'conductor_id' '=' 't2' + '.' 'conductor_id']","['What' 'are' 'the' 'names' 'of' 'conductors' 'as' 'well' 'as' 'the' + 'corresonding' 'orchestras' 'that' 'they' 'have' 'conducted' '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +842,orchestra,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,Show the names of conductors that have conducted more than one orchestras.,"['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']","['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' '(' '*' ')' '>' + 'value']","['Show' 'the' 'names' 'of' 'conductors' 'that' 'have' 'conducted' 'more' + 'than' 'one' 'orchestras' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +843,orchestra,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,What are the names of conductors who have conducted at more than one orchestra?,"['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']","['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' '(' '*' ')' '>' + 'value']","['What' 'are' 'the' 'names' 'of' 'conductors' 'who' 'have' 'conducted' + 'at' 'more' 'than' 'one' 'orchestra' '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +844,orchestra,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,Show the name of the conductor that has conducted the most number of orchestras.,"['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']","['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' 'value']","['Show' 'the' 'name' 'of' 'the' 'conductor' 'that' 'has' 'conducted' 'the' + 'most' 'number' 'of' 'orchestras' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +845,orchestra,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,What is the name of the conductor who has conducted the most orchestras?,"['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']","['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' 'value']","['What' 'is' 'the' 'name' 'of' 'the' 'conductor' 'who' 'has' 'conducted' + 'the' 'most' 'orchestras' '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +846,orchestra,SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID WHERE Year_of_Founded > 2008,Please show the name of the conductor that has conducted orchestras founded after 2008.,"['SELECT' 'T1.Name' 'FROM' 'conductor' 'AS' 'T1' 'JOIN' 'orchestra' 'AS' + 'T2' 'ON' 'T1.Conductor_ID' '=' 'T2.Conductor_ID' 'WHERE' + 'Year_of_Founded' '>' '2008']","['select' 't1' '.' 'name' 'from' 'conductor' 'as' 't1' 'join' 'orchestra' + 'as' 't2' 'on' 't1' '.' 'conductor_id' '=' 't2' '.' 'conductor_id' + 'where' 'year_of_founded' '>' 'value']","['Please' 'show' 'the' 'name' 'of' 'the' 'conductor' 'that' 'has' + 'conducted' 'orchestras' 'founded' 'after' '2008' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +847,orchestra,SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID WHERE Year_of_Founded > 2008,What are the names of conductors who have conducted orchestras founded after the year 2008?,"['SELECT' 'T1.Name' 'FROM' 'conductor' 'AS' 'T1' 'JOIN' 'orchestra' 'AS' + 'T2' 'ON' 'T1.Conductor_ID' '=' 'T2.Conductor_ID' 'WHERE' + 'Year_of_Founded' '>' '2008']","['select' 't1' '.' 'name' 'from' 'conductor' 'as' 't1' 'join' 'orchestra' + 'as' 't2' 'on' 't1' '.' 'conductor_id' '=' 't2' '.' 'conductor_id' + 'where' 'year_of_founded' '>' 'value']","['What' 'are' 'the' 'names' 'of' 'conductors' 'who' 'have' 'conducted' + 'orchestras' 'founded' 'after' 'the' 'year' '2008' '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +848,orchestra,"SELECT Record_Company , COUNT(*) FROM orchestra GROUP BY Record_Company",Please show the different record companies and the corresponding number of orchestras.,"['SELECT' 'Record_Company' ',' 'COUNT' '(' '*' ')' 'FROM' 'orchestra' + 'GROUP' 'BY' 'Record_Company']","['select' 'record_company' ',' 'count' '(' '*' ')' 'from' 'orchestra' + 'group' 'by' 'record_company']","['Please' 'show' 'the' 'different' 'record' 'companies' 'and' 'the' + 'corresponding' 'number' 'of' 'orchestras' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +849,orchestra,"SELECT Record_Company , COUNT(*) FROM orchestra GROUP BY Record_Company",How many orchestras does each record company manage?,"['SELECT' 'Record_Company' ',' 'COUNT' '(' '*' ')' 'FROM' 'orchestra' + 'GROUP' 'BY' 'Record_Company']","['select' 'record_company' ',' 'count' '(' '*' ')' 'from' 'orchestra' + 'group' 'by' 'record_company']",['How' 'many' 'orchestras' 'does' 'each' 'record' 'company' 'manage' '?'],"['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +850,orchestra,SELECT Major_Record_Format FROM orchestra GROUP BY Major_Record_Format ORDER BY COUNT(*) ASC,Please show the record formats of orchestras in ascending order of count.,"['SELECT' 'Major_Record_Format' 'FROM' 'orchestra' 'GROUP' 'BY' + 'Major_Record_Format' 'ORDER' 'BY' 'COUNT' '(' '*' ')' 'ASC']","['select' 'major_record_format' 'from' 'orchestra' 'group' 'by' + 'major_record_format' 'order' 'by' 'count' '(' '*' ')' 'asc']","['Please' 'show' 'the' 'record' 'formats' 'of' 'orchestras' 'in' + 'ascending' 'order' 'of' 'count' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +851,orchestra,SELECT Major_Record_Format FROM orchestra GROUP BY Major_Record_Format ORDER BY COUNT(*) ASC,"What are the major record formats of orchestras, sorted by their frequency?","['SELECT' 'Major_Record_Format' 'FROM' 'orchestra' 'GROUP' 'BY' + 'Major_Record_Format' 'ORDER' 'BY' 'COUNT' '(' '*' ')' 'ASC']","['select' 'major_record_format' 'from' 'orchestra' 'group' 'by' + 'major_record_format' 'order' 'by' 'count' '(' '*' ')' 'asc']","['What' 'are' 'the' 'major' 'record' 'formats' 'of' 'orchestras' ',' + 'sorted' 'by' 'their' 'frequency' '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +852,orchestra,SELECT Record_Company FROM orchestra GROUP BY Record_Company ORDER BY COUNT(*) DESC LIMIT 1,List the record company shared by the most number of orchestras.,"['SELECT' 'Record_Company' 'FROM' 'orchestra' 'GROUP' 'BY' + 'Record_Company' 'ORDER' 'BY' 'COUNT' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'record_company' 'from' 'orchestra' 'group' 'by' + 'record_company' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['List' 'the' 'record' 'company' 'shared' 'by' 'the' 'most' 'number' 'of' + 'orchestras' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +853,orchestra,SELECT Record_Company FROM orchestra GROUP BY Record_Company ORDER BY COUNT(*) DESC LIMIT 1,What is the record company used by the greatest number of orchestras?,"['SELECT' 'Record_Company' 'FROM' 'orchestra' 'GROUP' 'BY' + 'Record_Company' 'ORDER' 'BY' 'COUNT' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'record_company' 'from' 'orchestra' 'group' 'by' + 'record_company' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['What' 'is' 'the' 'record' 'company' 'used' 'by' 'the' 'greatest' + 'number' 'of' 'orchestras' '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +854,orchestra,SELECT Orchestra FROM orchestra WHERE Orchestra_ID NOT IN (SELECT Orchestra_ID FROM performance),List the names of orchestras that have no performance.,"['SELECT' 'Orchestra' 'FROM' 'orchestra' 'WHERE' 'Orchestra_ID' 'NOT' 'IN' + '(' 'SELECT' 'Orchestra_ID' 'FROM' 'performance' ')']","['select' 'orchestra' 'from' 'orchestra' 'where' 'orchestra_id' 'not' 'in' + '(' 'select' 'orchestra_id' 'from' 'performance' ')']","['List' 'the' 'names' 'of' 'orchestras' 'that' 'have' 'no' 'performance' + '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +855,orchestra,SELECT Orchestra FROM orchestra WHERE Orchestra_ID NOT IN (SELECT Orchestra_ID FROM performance),What are the orchestras that do not have any performances?,"['SELECT' 'Orchestra' 'FROM' 'orchestra' 'WHERE' 'Orchestra_ID' 'NOT' 'IN' + '(' 'SELECT' 'Orchestra_ID' 'FROM' 'performance' ')']","['select' 'orchestra' 'from' 'orchestra' 'where' 'orchestra_id' 'not' 'in' + '(' 'select' 'orchestra_id' 'from' 'performance' ')']","['What' 'are' 'the' 'orchestras' 'that' 'do' 'not' 'have' 'any' + 'performances' '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +856,orchestra,SELECT Record_Company FROM orchestra WHERE Year_of_Founded < 2003 INTERSECT SELECT Record_Company FROM orchestra WHERE Year_of_Founded > 2003,Show the record companies shared by orchestras founded before 2003 and after 2003.,"['SELECT' 'Record_Company' 'FROM' 'orchestra' 'WHERE' 'Year_of_Founded' + '<' '2003' 'INTERSECT' 'SELECT' 'Record_Company' 'FROM' 'orchestra' + 'WHERE' 'Year_of_Founded' '>' '2003']","['select' 'record_company' 'from' 'orchestra' 'where' 'year_of_founded' + '<' 'value' 'intersect' 'select' 'record_company' 'from' 'orchestra' + 'where' 'year_of_founded' '>' 'value']","['Show' 'the' 'record' 'companies' 'shared' 'by' 'orchestras' 'founded' + 'before' '2003' 'and' 'after' '2003' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +857,orchestra,SELECT Record_Company FROM orchestra WHERE Year_of_Founded < 2003 INTERSECT SELECT Record_Company FROM orchestra WHERE Year_of_Founded > 2003,What are the record companies that are used by both orchestras founded before 2003 and those founded after 2003?,"['SELECT' 'Record_Company' 'FROM' 'orchestra' 'WHERE' 'Year_of_Founded' + '<' '2003' 'INTERSECT' 'SELECT' 'Record_Company' 'FROM' 'orchestra' + 'WHERE' 'Year_of_Founded' '>' '2003']","['select' 'record_company' 'from' 'orchestra' 'where' 'year_of_founded' + '<' 'value' 'intersect' 'select' 'record_company' 'from' 'orchestra' + 'where' 'year_of_founded' '>' 'value']","['What' 'are' 'the' 'record' 'companies' 'that' 'are' 'used' 'by' 'both' + 'orchestras' 'founded' 'before' '2003' 'and' 'those' 'founded' 'after' + '2003' '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +858,orchestra,"SELECT COUNT(*) FROM orchestra WHERE Major_Record_Format = ""CD"" OR Major_Record_Format = ""DVD""","Find the number of orchestras whose record format is ""CD"" or ""DVD"".","['SELECT' 'COUNT' '(' '*' ')' 'FROM' 'orchestra' 'WHERE' + 'Major_Record_Format' '=' '``' 'CD' ""''"" 'OR' 'Major_Record_Format' '=' + '``' 'DVD' ""''""]","['select' 'count' '(' '*' ')' 'from' 'orchestra' 'where' + 'major_record_format' '=' 'value' 'or' 'major_record_format' '=' 'value']","['Find' 'the' 'number' 'of' 'orchestras' 'whose' 'record' 'format' 'is' + '``' 'CD' ""''"" 'or' '``' 'DVD' ""''"" '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +859,orchestra,"SELECT COUNT(*) FROM orchestra WHERE Major_Record_Format = ""CD"" OR Major_Record_Format = ""DVD""",Count the number of orchestras that have CD or DVD as their record format.,"['SELECT' 'COUNT' '(' '*' ')' 'FROM' 'orchestra' 'WHERE' + 'Major_Record_Format' '=' '``' 'CD' ""''"" 'OR' 'Major_Record_Format' '=' + '``' 'DVD' ""''""]","['select' 'count' '(' '*' ')' 'from' 'orchestra' 'where' + 'major_record_format' '=' 'value' 'or' 'major_record_format' '=' 'value']","['Count' 'the' 'number' 'of' 'orchestras' 'that' 'have' 'CD' 'or' 'DVD' + 'as' 'their' 'record' 'format' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +860,orchestra,SELECT Year_of_Founded FROM orchestra AS T1 JOIN performance AS T2 ON T1.Orchestra_ID = T2.Orchestra_ID GROUP BY T2.Orchestra_ID HAVING COUNT(*) > 1,Show the years in which orchestras that have given more than one performance are founded.,"['SELECT' 'Year_of_Founded' 'FROM' 'orchestra' 'AS' 'T1' 'JOIN' + 'performance' 'AS' 'T2' 'ON' 'T1.Orchestra_ID' '=' 'T2.Orchestra_ID' + 'GROUP' 'BY' 'T2.Orchestra_ID' 'HAVING' 'COUNT' '(' '*' ')' '>' '1']","['select' 'year_of_founded' 'from' 'orchestra' 'as' 't1' 'join' + 'performance' 'as' 't2' 'on' 't1' '.' 'orchestra_id' '=' 't2' '.' + 'orchestra_id' 'group' 'by' 't2' '.' 'orchestra_id' 'having' 'count' '(' + '*' ')' '>' 'value']","['Show' 'the' 'years' 'in' 'which' 'orchestras' 'that' 'have' 'given' + 'more' 'than' 'one' 'performance' 'are' 'founded' '.']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +861,orchestra,SELECT Year_of_Founded FROM orchestra AS T1 JOIN performance AS T2 ON T1.Orchestra_ID = T2.Orchestra_ID GROUP BY T2.Orchestra_ID HAVING COUNT(*) > 1,What are years of founding for orchestras that have had more than a single performance?,"['SELECT' 'Year_of_Founded' 'FROM' 'orchestra' 'AS' 'T1' 'JOIN' + 'performance' 'AS' 'T2' 'ON' 'T1.Orchestra_ID' '=' 'T2.Orchestra_ID' + 'GROUP' 'BY' 'T2.Orchestra_ID' 'HAVING' 'COUNT' '(' '*' ')' '>' '1']","['select' 'year_of_founded' 'from' 'orchestra' 'as' 't1' 'join' + 'performance' 'as' 't2' 'on' 't1' '.' 'orchestra_id' '=' 't2' '.' + 'orchestra_id' 'group' 'by' 't2' '.' 'orchestra_id' 'having' 'count' '(' + '*' ')' '>' 'value']","['What' 'are' 'years' 'of' 'founding' 'for' 'orchestras' 'that' 'have' + 'had' 'more' 'than' 'a' 'single' 'performance' '?']","['conductor id', 'name', 'age', 'nationality', 'year of work', 'orchestra id', 'orchestra', 'conductor id', 'record company', 'year of founded', 'major record format', 'performance id', 'orchestra id', 'type', 'date', 'official ratings (millions)', 'weekly rank', 'share', 'show id', 'performance id', 'if first show', 'result', 'attendance']" +862,network_1,SELECT count(*) FROM Highschooler,How many high schoolers are there?,['SELECT' 'count' '(' '*' ')' 'FROM' 'Highschooler'],['select' 'count' '(' '*' ')' 'from' 'highschooler'],['How' 'many' 'high' 'schoolers' 'are' 'there' '?'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +863,network_1,SELECT count(*) FROM Highschooler,Count the number of high schoolers.,['SELECT' 'count' '(' '*' ')' 'FROM' 'Highschooler'],['select' 'count' '(' '*' ')' 'from' 'highschooler'],['Count' 'the' 'number' 'of' 'high' 'schoolers' '.'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +864,network_1,"SELECT name , grade FROM Highschooler",Show the names and grades of each high schooler.,"['SELECT' 'name' ',' 'grade' 'FROM' 'Highschooler']","['select' 'name' ',' 'grade' 'from' 'highschooler']",['Show' 'the' 'names' 'and' 'grades' 'of' 'each' 'high' 'schooler' '.'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +865,network_1,"SELECT name , grade FROM Highschooler",What are the names and grades for each high schooler?,"['SELECT' 'name' ',' 'grade' 'FROM' 'Highschooler']","['select' 'name' ',' 'grade' 'from' 'highschooler']","['What' 'are' 'the' 'names' 'and' 'grades' 'for' 'each' 'high' 'schooler' + '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +866,network_1,SELECT grade FROM Highschooler,Show all the grades of the high schoolers.,['SELECT' 'grade' 'FROM' 'Highschooler'],['select' 'grade' 'from' 'highschooler'],['Show' 'all' 'the' 'grades' 'of' 'the' 'high' 'schoolers' '.'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +867,network_1,SELECT grade FROM Highschooler,What is the grade of each high schooler?,['SELECT' 'grade' 'FROM' 'Highschooler'],['select' 'grade' 'from' 'highschooler'],['What' 'is' 'the' 'grade' 'of' 'each' 'high' 'schooler' '?'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +868,network_1,"SELECT grade FROM Highschooler WHERE name = ""Kyle""",What grade is Kyle in?,"['SELECT' 'grade' 'FROM' 'Highschooler' 'WHERE' 'name' '=' '``' 'Kyle' + ""''""]",['select' 'grade' 'from' 'highschooler' 'where' 'name' '=' 'value'],['What' 'grade' 'is' 'Kyle' 'in' '?'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +869,network_1,"SELECT grade FROM Highschooler WHERE name = ""Kyle""",Return the grade for the high schooler named Kyle.,"['SELECT' 'grade' 'FROM' 'Highschooler' 'WHERE' 'name' '=' '``' 'Kyle' + ""''""]",['select' 'grade' 'from' 'highschooler' 'where' 'name' '=' 'value'],['Return' 'the' 'grade' 'for' 'the' 'high' 'schooler' 'named' 'Kyle' '.'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +870,network_1,SELECT name FROM Highschooler WHERE grade = 10,Show the names of all high schoolers in grade 10.,['SELECT' 'name' 'FROM' 'Highschooler' 'WHERE' 'grade' '=' '10'],['select' 'name' 'from' 'highschooler' 'where' 'grade' '=' 'value'],['Show' 'the' 'names' 'of' 'all' 'high' 'schoolers' 'in' 'grade' '10' '.'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +871,network_1,SELECT name FROM Highschooler WHERE grade = 10,What are the names of all high schoolers in grade 10?,['SELECT' 'name' 'FROM' 'Highschooler' 'WHERE' 'grade' '=' '10'],['select' 'name' 'from' 'highschooler' 'where' 'grade' '=' 'value'],"['What' 'are' 'the' 'names' 'of' 'all' 'high' 'schoolers' 'in' 'grade' + '10' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +872,network_1,"SELECT ID FROM Highschooler WHERE name = ""Kyle""",Show the ID of the high schooler named Kyle.,"['SELECT' 'ID' 'FROM' 'Highschooler' 'WHERE' 'name' '=' '``' 'Kyle' ""''""]",['select' 'id' 'from' 'highschooler' 'where' 'name' '=' 'value'],['Show' 'the' 'ID' 'of' 'the' 'high' 'schooler' 'named' 'Kyle' '.'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +873,network_1,"SELECT ID FROM Highschooler WHERE name = ""Kyle""",What is Kyle's id?,"['SELECT' 'ID' 'FROM' 'Highschooler' 'WHERE' 'name' '=' '``' 'Kyle' ""''""]",['select' 'id' 'from' 'highschooler' 'where' 'name' '=' 'value'],"['What' 'is' 'Kyle' ""'s"" 'id' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +874,network_1,SELECT count(*) FROM Highschooler WHERE grade = 9 OR grade = 10,How many high schoolers are there in grade 9 or 10?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Highschooler' 'WHERE' 'grade' '=' + '9' 'OR' 'grade' '=' '10']","['select' 'count' '(' '*' ')' 'from' 'highschooler' 'where' 'grade' '=' + 'value' 'or' 'grade' '=' 'value']","['How' 'many' 'high' 'schoolers' 'are' 'there' 'in' 'grade' '9' 'or' '10' + '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +875,network_1,SELECT count(*) FROM Highschooler WHERE grade = 9 OR grade = 10,Count the number of high schoolers in grades 9 or 10.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Highschooler' 'WHERE' 'grade' '=' + '9' 'OR' 'grade' '=' '10']","['select' 'count' '(' '*' ')' 'from' 'highschooler' 'where' 'grade' '=' + 'value' 'or' 'grade' '=' 'value']","['Count' 'the' 'number' 'of' 'high' 'schoolers' 'in' 'grades' '9' 'or' + '10' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +876,network_1,"SELECT grade , count(*) FROM Highschooler GROUP BY grade",Show the number of high schoolers for each grade.,"['SELECT' 'grade' ',' 'count' '(' '*' ')' 'FROM' 'Highschooler' 'GROUP' + 'BY' 'grade']","['select' 'grade' ',' 'count' '(' '*' ')' 'from' 'highschooler' 'group' + 'by' 'grade']",['Show' 'the' 'number' 'of' 'high' 'schoolers' 'for' 'each' 'grade' '.'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +877,network_1,"SELECT grade , count(*) FROM Highschooler GROUP BY grade",How many high schoolers are in each grade?,"['SELECT' 'grade' ',' 'count' '(' '*' ')' 'FROM' 'Highschooler' 'GROUP' + 'BY' 'grade']","['select' 'grade' ',' 'count' '(' '*' ')' 'from' 'highschooler' 'group' + 'by' 'grade']",['How' 'many' 'high' 'schoolers' 'are' 'in' 'each' 'grade' '?'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +878,network_1,SELECT grade FROM Highschooler GROUP BY grade ORDER BY count(*) DESC LIMIT 1,Which grade has the most high schoolers?,"['SELECT' 'grade' 'FROM' 'Highschooler' 'GROUP' 'BY' 'grade' 'ORDER' 'BY' + 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'grade' 'from' 'highschooler' 'group' 'by' 'grade' 'order' 'by' + 'count' '(' '*' ')' 'desc' 'limit' 'value']",['Which' 'grade' 'has' 'the' 'most' 'high' 'schoolers' '?'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +879,network_1,SELECT grade FROM Highschooler GROUP BY grade ORDER BY count(*) DESC LIMIT 1,Return the grade that has the greatest number of high schoolers.,"['SELECT' 'grade' 'FROM' 'Highschooler' 'GROUP' 'BY' 'grade' 'ORDER' 'BY' + 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'grade' 'from' 'highschooler' 'group' 'by' 'grade' 'order' 'by' + 'count' '(' '*' ')' 'desc' 'limit' 'value']","['Return' 'the' 'grade' 'that' 'has' 'the' 'greatest' 'number' 'of' 'high' + 'schoolers' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +880,network_1,SELECT grade FROM Highschooler GROUP BY grade HAVING count(*) >= 4,Show me all grades that have at least 4 students.,"['SELECT' 'grade' 'FROM' 'Highschooler' 'GROUP' 'BY' 'grade' 'HAVING' + 'count' '(' '*' ')' '>' '=' '4']","['select' 'grade' 'from' 'highschooler' 'group' 'by' 'grade' 'having' + 'count' '(' '*' ')' '>' '=' 'value']",['Show' 'me' 'all' 'grades' 'that' 'have' 'at' 'least' '4' 'students' '.'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +881,network_1,SELECT grade FROM Highschooler GROUP BY grade HAVING count(*) >= 4,Which grades have 4 or more high schoolers?,"['SELECT' 'grade' 'FROM' 'Highschooler' 'GROUP' 'BY' 'grade' 'HAVING' + 'count' '(' '*' ')' '>' '=' '4']","['select' 'grade' 'from' 'highschooler' 'group' 'by' 'grade' 'having' + 'count' '(' '*' ')' '>' '=' 'value']",['Which' 'grades' 'have' '4' 'or' 'more' 'high' 'schoolers' '?'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +882,network_1,"SELECT student_id , count(*) FROM Friend GROUP BY student_id",Show the student IDs and numbers of friends corresponding to each.,"['SELECT' 'student_id' ',' 'count' '(' '*' ')' 'FROM' 'Friend' 'GROUP' + 'BY' 'student_id']","['select' 'student_id' ',' 'count' '(' '*' ')' 'from' 'friend' 'group' + 'by' 'student_id']","['Show' 'the' 'student' 'IDs' 'and' 'numbers' 'of' 'friends' + 'corresponding' 'to' 'each' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +883,network_1,"SELECT student_id , count(*) FROM Friend GROUP BY student_id",How many friends does each student have?,"['SELECT' 'student_id' ',' 'count' '(' '*' ')' 'FROM' 'Friend' 'GROUP' + 'BY' 'student_id']","['select' 'student_id' ',' 'count' '(' '*' ')' 'from' 'friend' 'group' + 'by' 'student_id']",['How' 'many' 'friends' 'does' 'each' 'student' 'have' '?'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +884,network_1,"SELECT T2.name , count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id",Show the names of high school students and their corresponding number of friends.,"['SELECT' 'T2.name' ',' 'count' '(' '*' ')' 'FROM' 'Friend' 'AS' 'T1' + 'JOIN' 'Highschooler' 'AS' 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'GROUP' + 'BY' 'T1.student_id']","['select' 't2' '.' 'name' ',' 'count' '(' '*' ')' 'from' 'friend' 'as' + 't1' 'join' 'highschooler' 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' + '.' 'id' 'group' 'by' 't1' '.' 'student_id']","['Show' 'the' 'names' 'of' 'high' 'school' 'students' 'and' 'their' + 'corresponding' 'number' 'of' 'friends' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +885,network_1,"SELECT T2.name , count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id",What are the names of the high schoolers and how many friends does each have?,"['SELECT' 'T2.name' ',' 'count' '(' '*' ')' 'FROM' 'Friend' 'AS' 'T1' + 'JOIN' 'Highschooler' 'AS' 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'GROUP' + 'BY' 'T1.student_id']","['select' 't2' '.' 'name' ',' 'count' '(' '*' ')' 'from' 'friend' 'as' + 't1' 'join' 'highschooler' 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' + '.' 'id' 'group' 'by' 't1' '.' 'student_id']","['What' 'are' 'the' 'names' 'of' 'the' 'high' 'schoolers' 'and' 'how' + 'many' 'friends' 'does' 'each' 'have' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +886,network_1,SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1,What is the name of the high schooler who has the greatest number of friends?,"['SELECT' 'T2.name' 'FROM' 'Friend' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' + 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'GROUP' 'BY' 'T1.student_id' + 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't2' '.' 'name' 'from' 'friend' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' 'group' 'by' 't1' + '.' 'student_id' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['What' 'is' 'the' 'name' 'of' 'the' 'high' 'schooler' 'who' 'has' 'the' + 'greatest' 'number' 'of' 'friends' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +887,network_1,SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1,Return the name of the high school student with the most friends.,"['SELECT' 'T2.name' 'FROM' 'Friend' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' + 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'GROUP' 'BY' 'T1.student_id' + 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't2' '.' 'name' 'from' 'friend' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' 'group' 'by' 't1' + '.' 'student_id' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['Return' 'the' 'name' 'of' 'the' 'high' 'school' 'student' 'with' 'the' + 'most' 'friends' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +888,network_1,SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 3,Show the names of high schoolers who have at least 3 friends.,"['SELECT' 'T2.name' 'FROM' 'Friend' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' + 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'GROUP' 'BY' 'T1.student_id' + 'HAVING' 'count' '(' '*' ')' '>' '=' '3']","['select' 't2' '.' 'name' 'from' 'friend' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' 'group' 'by' 't1' + '.' 'student_id' 'having' 'count' '(' '*' ')' '>' '=' 'value']","['Show' 'the' 'names' 'of' 'high' 'schoolers' 'who' 'have' 'at' 'least' + '3' 'friends' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +889,network_1,SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 3,What are the names of high schoolers who have 3 or more friends?,"['SELECT' 'T2.name' 'FROM' 'Friend' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' + 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'GROUP' 'BY' 'T1.student_id' + 'HAVING' 'count' '(' '*' ')' '>' '=' '3']","['select' 't2' '.' 'name' 'from' 'friend' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' 'group' 'by' 't1' + '.' 'student_id' 'having' 'count' '(' '*' ')' '>' '=' 'value']","['What' 'are' 'the' 'names' 'of' 'high' 'schoolers' 'who' 'have' '3' 'or' + 'more' 'friends' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +890,network_1,"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""",Show the names of all of the high schooler Kyle's friends.,"['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' ""''""]","['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']","['Show' 'the' 'names' 'of' 'all' 'of' 'the' 'high' 'schooler' 'Kyle' ""'s"" + 'friends' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +891,network_1,"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""",Return the names of friends of the high school student Kyle.,"['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' ""''""]","['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']","['Return' 'the' 'names' 'of' 'friends' 'of' 'the' 'high' 'school' + 'student' 'Kyle' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +892,network_1,"SELECT count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = ""Kyle""",How many friends does the high school student Kyle have?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Friend' 'AS' 'T1' 'JOIN' + 'Highschooler' 'AS' 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'WHERE' + 'T2.name' '=' '``' 'Kyle' ""''""]","['select' 'count' '(' '*' ')' 'from' 'friend' 'as' 't1' 'join' + 'highschooler' 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' + 'where' 't2' '.' 'name' '=' 'value']","['How' 'many' 'friends' 'does' 'the' 'high' 'school' 'student' 'Kyle' + 'have' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +893,network_1,"SELECT count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = ""Kyle""",Count the number of friends Kyle has.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Friend' 'AS' 'T1' 'JOIN' + 'Highschooler' 'AS' 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'WHERE' + 'T2.name' '=' '``' 'Kyle' ""''""]","['select' 'count' '(' '*' ')' 'from' 'friend' 'as' 't1' 'join' + 'highschooler' 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' + 'where' 't2' '.' 'name' '=' 'value']",['Count' 'the' 'number' 'of' 'friends' 'Kyle' 'has' '.'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +894,network_1,SELECT id FROM Highschooler EXCEPT SELECT student_id FROM Friend,Show ids of all students who do not have any friends.,"['SELECT' 'id' 'FROM' 'Highschooler' 'EXCEPT' 'SELECT' 'student_id' 'FROM' + 'Friend']","['select' 'id' 'from' 'highschooler' 'except' 'select' 'student_id' 'from' + 'friend']","['Show' 'ids' 'of' 'all' 'students' 'who' 'do' 'not' 'have' 'any' + 'friends' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +895,network_1,SELECT id FROM Highschooler EXCEPT SELECT student_id FROM Friend,What are the ids of high school students who do not have friends?,"['SELECT' 'id' 'FROM' 'Highschooler' 'EXCEPT' 'SELECT' 'student_id' 'FROM' + 'Friend']","['select' 'id' 'from' 'highschooler' 'except' 'select' 'student_id' 'from' + 'friend']","['What' 'are' 'the' 'ids' 'of' 'high' 'school' 'students' 'who' 'do' 'not' + 'have' 'friends' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +896,network_1,SELECT name FROM Highschooler EXCEPT SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id,Show names of all high school students who do not have any friends.,"['SELECT' 'name' 'FROM' 'Highschooler' 'EXCEPT' 'SELECT' 'T2.name' 'FROM' + 'Friend' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' 'T2' 'ON' 'T1.student_id' + '=' 'T2.id']","['select' 'name' 'from' 'highschooler' 'except' 'select' 't2' '.' 'name' + 'from' 'friend' 'as' 't1' 'join' 'highschooler' 'as' 't2' 'on' 't1' '.' + 'student_id' '=' 't2' '.' 'id']","['Show' 'names' 'of' 'all' 'high' 'school' 'students' 'who' 'do' 'not' + 'have' 'any' 'friends' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +897,network_1,SELECT name FROM Highschooler EXCEPT SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id,What are the names of students who have no friends?,"['SELECT' 'name' 'FROM' 'Highschooler' 'EXCEPT' 'SELECT' 'T2.name' 'FROM' + 'Friend' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' 'T2' 'ON' 'T1.student_id' + '=' 'T2.id']","['select' 'name' 'from' 'highschooler' 'except' 'select' 't2' '.' 'name' + 'from' 'friend' 'as' 't1' 'join' 'highschooler' 'as' 't2' 'on' 't1' '.' + 'student_id' '=' 't2' '.' 'id']","['What' 'are' 'the' 'names' 'of' 'students' 'who' 'have' 'no' 'friends' + '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +898,network_1,SELECT student_id FROM Friend INTERSECT SELECT liked_id FROM Likes,Show the ids of high schoolers who have friends and are also liked by someone else.,"['SELECT' 'student_id' 'FROM' 'Friend' 'INTERSECT' 'SELECT' 'liked_id' + 'FROM' 'Likes']","['select' 'student_id' 'from' 'friend' 'intersect' 'select' 'liked_id' + 'from' 'likes']","['Show' 'the' 'ids' 'of' 'high' 'schoolers' 'who' 'have' 'friends' 'and' + 'are' 'also' 'liked' 'by' 'someone' 'else' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +899,network_1,SELECT student_id FROM Friend INTERSECT SELECT liked_id FROM Likes,What are the ids of students who both have friends and are liked?,"['SELECT' 'student_id' 'FROM' 'Friend' 'INTERSECT' 'SELECT' 'liked_id' + 'FROM' 'Likes']","['select' 'student_id' 'from' 'friend' 'intersect' 'select' 'liked_id' + 'from' 'likes']","['What' 'are' 'the' 'ids' 'of' 'students' 'who' 'both' 'have' 'friends' + 'and' 'are' 'liked' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +900,network_1,SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id,Show name of all students who have some friends and also are liked by someone else.,"['SELECT' 'T2.name' 'FROM' 'Friend' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' + 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'INTERSECT' 'SELECT' 'T2.name' + 'FROM' 'Likes' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' 'T2' 'ON' + 'T1.liked_id' '=' 'T2.id']","['select' 't2' '.' 'name' 'from' 'friend' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' 'intersect' + 'select' 't2' '.' 'name' 'from' 'likes' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'liked_id' '=' 't2' '.' 'id']","['Show' 'name' 'of' 'all' 'students' 'who' 'have' 'some' 'friends' 'and' + 'also' 'are' 'liked' 'by' 'someone' 'else' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +901,network_1,SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id,What are the names of high schoolers who both have friends and are liked?,"['SELECT' 'T2.name' 'FROM' 'Friend' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' + 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'INTERSECT' 'SELECT' 'T2.name' + 'FROM' 'Likes' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' 'T2' 'ON' + 'T1.liked_id' '=' 'T2.id']","['select' 't2' '.' 'name' 'from' 'friend' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' 'intersect' + 'select' 't2' '.' 'name' 'from' 'likes' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'liked_id' '=' 't2' '.' 'id']","['What' 'are' 'the' 'names' 'of' 'high' 'schoolers' 'who' 'both' 'have' + 'friends' 'and' 'are' 'liked' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +902,network_1,"SELECT student_id , count(*) FROM Likes GROUP BY student_id",Count the number of likes for each student id.,"['SELECT' 'student_id' ',' 'count' '(' '*' ')' 'FROM' 'Likes' 'GROUP' 'BY' + 'student_id']","['select' 'student_id' ',' 'count' '(' '*' ')' 'from' 'likes' 'group' 'by' + 'student_id']",['Count' 'the' 'number' 'of' 'likes' 'for' 'each' 'student' 'id' '.'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +903,network_1,"SELECT student_id , count(*) FROM Likes GROUP BY student_id",How many likes correspond to each student id?,"['SELECT' 'student_id' ',' 'count' '(' '*' ')' 'FROM' 'Likes' 'GROUP' 'BY' + 'student_id']","['select' 'student_id' ',' 'count' '(' '*' ')' 'from' 'likes' 'group' 'by' + 'student_id']",['How' 'many' 'likes' 'correspond' 'to' 'each' 'student' 'id' '?'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +904,network_1,"SELECT T2.name , count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id","Show the names of high schoolers who have likes, and numbers of likes for each.","['SELECT' 'T2.name' ',' 'count' '(' '*' ')' 'FROM' 'Likes' 'AS' 'T1' + 'JOIN' 'Highschooler' 'AS' 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'GROUP' + 'BY' 'T1.student_id']","['select' 't2' '.' 'name' ',' 'count' '(' '*' ')' 'from' 'likes' 'as' 't1' + 'join' 'highschooler' 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' + 'id' 'group' 'by' 't1' '.' 'student_id']","['Show' 'the' 'names' 'of' 'high' 'schoolers' 'who' 'have' 'likes' ',' + 'and' 'numbers' 'of' 'likes' 'for' 'each' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +905,network_1,"SELECT T2.name , count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id","What are the names of high schoolers who have likes, and how many likes does each have?","['SELECT' 'T2.name' ',' 'count' '(' '*' ')' 'FROM' 'Likes' 'AS' 'T1' + 'JOIN' 'Highschooler' 'AS' 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'GROUP' + 'BY' 'T1.student_id']","['select' 't2' '.' 'name' ',' 'count' '(' '*' ')' 'from' 'likes' 'as' 't1' + 'join' 'highschooler' 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' + 'id' 'group' 'by' 't1' '.' 'student_id']","['What' 'are' 'the' 'names' 'of' 'high' 'schoolers' 'who' 'have' 'likes' + ',' 'and' 'how' 'many' 'likes' 'does' 'each' 'have' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +906,network_1,SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1,What is the name of the high schooler who has the greatest number of likes?,"['SELECT' 'T2.name' 'FROM' 'Likes' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' + 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'GROUP' 'BY' 'T1.student_id' + 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't2' '.' 'name' 'from' 'likes' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' 'group' 'by' 't1' + '.' 'student_id' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']","['What' 'is' 'the' 'name' 'of' 'the' 'high' 'schooler' 'who' 'has' 'the' + 'greatest' 'number' 'of' 'likes' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +907,network_1,SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1,Give the name of the student with the most likes.,"['SELECT' 'T2.name' 'FROM' 'Likes' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' + 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'GROUP' 'BY' 'T1.student_id' + 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't2' '.' 'name' 'from' 'likes' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' 'group' 'by' 't1' + '.' 'student_id' 'order' 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']",['Give' 'the' 'name' 'of' 'the' 'student' 'with' 'the' 'most' 'likes' '.'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +908,network_1,SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 2,Show the names of students who have at least 2 likes.,"['SELECT' 'T2.name' 'FROM' 'Likes' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' + 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'GROUP' 'BY' 'T1.student_id' + 'HAVING' 'count' '(' '*' ')' '>' '=' '2']","['select' 't2' '.' 'name' 'from' 'likes' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' 'group' 'by' 't1' + '.' 'student_id' 'having' 'count' '(' '*' ')' '>' '=' 'value']","['Show' 'the' 'names' 'of' 'students' 'who' 'have' 'at' 'least' '2' + 'likes' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +909,network_1,SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 2,What are the names of students who have 2 or more likes?,"['SELECT' 'T2.name' 'FROM' 'Likes' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' + 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'GROUP' 'BY' 'T1.student_id' + 'HAVING' 'count' '(' '*' ')' '>' '=' '2']","['select' 't2' '.' 'name' 'from' 'likes' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' 'group' 'by' 't1' + '.' 'student_id' 'having' 'count' '(' '*' ')' '>' '=' 'value']","['What' 'are' 'the' 'names' 'of' 'students' 'who' 'have' '2' 'or' 'more' + 'likes' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +910,network_1,SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING count(*) >= 2,Show the names of students who have a grade higher than 5 and have at least 2 friends.,"['SELECT' 'T2.name' 'FROM' 'Friend' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' + 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'WHERE' 'T2.grade' '>' '5' 'GROUP' + 'BY' 'T1.student_id' 'HAVING' 'count' '(' '*' ')' '>' '=' '2']","['select' 't2' '.' 'name' 'from' 'friend' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' 'where' 't2' '.' + 'grade' '>' 'value' 'group' 'by' 't1' '.' 'student_id' 'having' 'count' + '(' '*' ')' '>' '=' 'value']","['Show' 'the' 'names' 'of' 'students' 'who' 'have' 'a' 'grade' 'higher' + 'than' '5' 'and' 'have' 'at' 'least' '2' 'friends' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +911,network_1,SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING count(*) >= 2,What are the names of high schoolers who have a grade of over 5 and have 2 or more friends?,"['SELECT' 'T2.name' 'FROM' 'Friend' 'AS' 'T1' 'JOIN' 'Highschooler' 'AS' + 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'WHERE' 'T2.grade' '>' '5' 'GROUP' + 'BY' 'T1.student_id' 'HAVING' 'count' '(' '*' ')' '>' '=' '2']","['select' 't2' '.' 'name' 'from' 'friend' 'as' 't1' 'join' 'highschooler' + 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' 'where' 't2' '.' + 'grade' '>' 'value' 'group' 'by' 't1' '.' 'student_id' 'having' 'count' + '(' '*' ')' '>' '=' 'value']","['What' 'are' 'the' 'names' 'of' 'high' 'schoolers' 'who' 'have' 'a' + 'grade' 'of' 'over' '5' 'and' 'have' '2' 'or' 'more' 'friends' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +912,network_1,"SELECT count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = ""Kyle""",How many likes does Kyle have?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Likes' 'AS' 'T1' 'JOIN' + 'Highschooler' 'AS' 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'WHERE' + 'T2.name' '=' '``' 'Kyle' ""''""]","['select' 'count' '(' '*' ')' 'from' 'likes' 'as' 't1' 'join' + 'highschooler' 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' + 'where' 't2' '.' 'name' '=' 'value']",['How' 'many' 'likes' 'does' 'Kyle' 'have' '?'],"['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +913,network_1,"SELECT count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = ""Kyle""",Return the number of likes that the high schooler named Kyle has.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Likes' 'AS' 'T1' 'JOIN' + 'Highschooler' 'AS' 'T2' 'ON' 'T1.student_id' '=' 'T2.id' 'WHERE' + 'T2.name' '=' '``' 'Kyle' ""''""]","['select' 'count' '(' '*' ')' 'from' 'likes' 'as' 't1' 'join' + 'highschooler' 'as' 't2' 'on' 't1' '.' 'student_id' '=' 't2' '.' 'id' + 'where' 't2' '.' 'name' '=' 'value']","['Return' 'the' 'number' 'of' 'likes' 'that' 'the' 'high' 'schooler' + 'named' 'Kyle' 'has' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +914,network_1,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),Find the average grade of all students who have some friends.,"['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' ')']","['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' ')']","['Find' 'the' 'average' 'grade' 'of' 'all' 'students' 'who' 'have' 'some' + 'friends' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +915,network_1,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),What is the average grade of students who have friends?,"['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' ')']","['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' ')']","['What' 'is' 'the' 'average' 'grade' 'of' 'students' 'who' 'have' + 'friends' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +916,network_1,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),Find the minimum grade of students who have no friends.,"['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' ')']","['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' ')']","['Find' 'the' 'minimum' 'grade' 'of' 'students' 'who' 'have' 'no' + 'friends' '.']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +917,network_1,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),What is the lowest grade of students who do not have any friends?,"['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' ')']","['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' ')']","['What' 'is' 'the' 'lowest' 'grade' 'of' 'students' 'who' 'do' 'not' + 'have' 'any' 'friends' '?']","['id', 'name', 'grade', 'student id', 'friend id', 'student id', 'liked id']" +918,dog_kennels,SELECT state FROM Owners INTERSECT SELECT state FROM Professionals,Which states have both owners and professionals living there?,"['SELECT' 'state' 'FROM' 'Owners' 'INTERSECT' 'SELECT' 'state' 'FROM' + 'Professionals']","['select' 'state' 'from' 'owners' 'intersect' 'select' 'state' 'from' + 'professionals']","['Which' 'states' 'have' 'both' 'owners' 'and' 'professionals' 'living' + 'there' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +919,dog_kennels,SELECT state FROM Owners INTERSECT SELECT state FROM Professionals,Find the states where both owners and professionals live.,"['SELECT' 'state' 'FROM' 'Owners' 'INTERSECT' 'SELECT' 'state' 'FROM' + 'Professionals']","['select' 'state' 'from' 'owners' 'intersect' 'select' 'state' 'from' + 'professionals']","['Find' 'the' 'states' 'where' 'both' 'owners' 'and' 'professionals' + 'live' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +920,dog_kennels,SELECT avg(age) FROM Dogs WHERE dog_id IN ( SELECT dog_id FROM Treatments ),What is the average age of the dogs who have gone through any treatments?,"['SELECT' 'avg' '(' 'age' ')' 'FROM' 'Dogs' 'WHERE' 'dog_id' 'IN' '(' + 'SELECT' 'dog_id' 'FROM' 'Treatments' ')']","['select' 'avg' '(' 'age' ')' 'from' 'dogs' 'where' 'dog_id' 'in' '(' + 'select' 'dog_id' 'from' 'treatments' ')']","['What' 'is' 'the' 'average' 'age' 'of' 'the' 'dogs' 'who' 'have' 'gone' + 'through' 'any' 'treatments' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +921,dog_kennels,SELECT avg(age) FROM Dogs WHERE dog_id IN ( SELECT dog_id FROM Treatments ),Find the average age of the dogs who went through treatments.,"['SELECT' 'avg' '(' 'age' ')' 'FROM' 'Dogs' 'WHERE' 'dog_id' 'IN' '(' + 'SELECT' 'dog_id' 'FROM' 'Treatments' ')']","['select' 'avg' '(' 'age' ')' 'from' 'dogs' 'where' 'dog_id' 'in' '(' + 'select' 'dog_id' 'from' 'treatments' ')']","['Find' 'the' 'average' 'age' 'of' 'the' 'dogs' 'who' 'went' 'through' + 'treatments' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +922,dog_kennels,"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","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.","['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']","['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']","['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' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +923,dog_kennels,"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","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.","['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']","['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']","['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' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +924,dog_kennels,select name from dogs where dog_id not in ( select dog_id from treatments group by dog_id having sum(cost_of_treatment) > 1000 ),Which dogs have not cost their owner more than 1000 for treatment ? List the dog names .,"['select' 'name' 'from' 'dogs' 'where' 'dog_id' 'not' 'in' '(' 'select' + 'dog_id' 'from' 'treatments' 'group' 'by' 'dog_id' 'having' 'sum' '(' + 'cost_of_treatment' ')' '>' '1000' ')']","['select' 'name' 'from' 'dogs' 'where' 'dog_id' 'not' 'in' '(' 'select' + 'dog_id' 'from' 'treatments' 'group' 'by' 'dog_id' 'having' 'sum' '(' + 'cost_of_treatment' ')' '>' 'value' ')']","['Which' 'dogs' 'have' 'not' 'cost' 'their' 'owner' 'more' 'than' '1000' + 'for' 'treatment' '?' 'List' 'the' 'dog' 'names' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +925,dog_kennels,select name from dogs where dog_id not in ( select dog_id from treatments group by dog_id having sum(cost_of_treatment) > 1000 ),What are the names of the dogs for which the owner has not spend more than 1000 for treatment ?,"['select' 'name' 'from' 'dogs' 'where' 'dog_id' 'not' 'in' '(' 'select' + 'dog_id' 'from' 'treatments' 'group' 'by' 'dog_id' 'having' 'sum' '(' + 'cost_of_treatment' ')' '>' '1000' ')']","['select' 'name' 'from' 'dogs' 'where' 'dog_id' 'not' 'in' '(' 'select' + 'dog_id' 'from' 'treatments' 'group' 'by' 'dog_id' 'having' 'sum' '(' + 'cost_of_treatment' ')' '>' 'value' ')']","['What' 'are' 'the' 'names' 'of' 'the' 'dogs' 'for' 'which' 'the' 'owner' + 'has' 'not' 'spend' 'more' 'than' '1000' 'for' 'treatment' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +926,dog_kennels,SELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs,Which first names are used for professionals or owners but are not used as dog names?,"['SELECT' 'first_name' 'FROM' 'Professionals' 'UNION' 'SELECT' + 'first_name' 'FROM' 'Owners' 'EXCEPT' 'SELECT' 'name' 'FROM' 'Dogs']","['select' 'first_name' 'from' 'professionals' 'union' 'select' + 'first_name' 'from' 'owners' 'except' 'select' 'name' 'from' 'dogs']","['Which' 'first' 'names' 'are' 'used' 'for' 'professionals' 'or' 'owners' + 'but' 'are' 'not' 'used' 'as' 'dog' 'names' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +927,dog_kennels,SELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs,Find the first names that are used for professionals or owners but are not used as dog names.,"['SELECT' 'first_name' 'FROM' 'Professionals' 'UNION' 'SELECT' + 'first_name' 'FROM' 'Owners' 'EXCEPT' 'SELECT' 'name' 'FROM' 'Dogs']","['select' 'first_name' 'from' 'professionals' 'union' 'select' + 'first_name' 'from' 'owners' 'except' 'select' 'name' 'from' 'dogs']","['Find' 'the' 'first' 'names' 'that' 'are' 'used' 'for' 'professionals' + 'or' 'owners' 'but' 'are' 'not' 'used' 'as' 'dog' 'names' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +928,dog_kennels,"SELECT professional_id , role_code , email_address FROM Professionals EXCEPT SELECT T1.professional_id , T1.role_code , T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id","Which professional did not operate any treatment on dogs? List the professional's id, role and email.","['SELECT' 'professional_id' ',' 'role_code' ',' 'email_address' 'FROM' + 'Professionals' 'EXCEPT' 'SELECT' 'T1.professional_id' ',' 'T1.role_code' + ',' 'T1.email_address' 'FROM' 'Professionals' 'AS' 'T1' 'JOIN' + 'Treatments' 'AS' 'T2' 'ON' 'T1.professional_id' '=' 'T2.professional_id']","['select' 'professional_id' ',' 'role_code' ',' 'email_address' 'from' + 'professionals' 'except' 'select' 't1' '.' 'professional_id' ',' 't1' '.' + 'role_code' ',' 't1' '.' 'email_address' 'from' 'professionals' 'as' 't1' + 'join' 'treatments' 'as' 't2' 'on' 't1' '.' 'professional_id' '=' 't2' + '.' 'professional_id']","['Which' 'professional' 'did' 'not' 'operate' 'any' 'treatment' 'on' + 'dogs' '?' 'List' 'the' 'professional' ""'s"" 'id' ',' 'role' 'and' 'email' + '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +929,dog_kennels,"SELECT professional_id , role_code , email_address FROM Professionals EXCEPT SELECT T1.professional_id , T1.role_code , T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id","Give me the id, role and email of the professionals who did not perform any treatment on dogs.","['SELECT' 'professional_id' ',' 'role_code' ',' 'email_address' 'FROM' + 'Professionals' 'EXCEPT' 'SELECT' 'T1.professional_id' ',' 'T1.role_code' + ',' 'T1.email_address' 'FROM' 'Professionals' 'AS' 'T1' 'JOIN' + 'Treatments' 'AS' 'T2' 'ON' 'T1.professional_id' '=' 'T2.professional_id']","['select' 'professional_id' ',' 'role_code' ',' 'email_address' 'from' + 'professionals' 'except' 'select' 't1' '.' 'professional_id' ',' 't1' '.' + 'role_code' ',' 't1' '.' 'email_address' 'from' 'professionals' 'as' 't1' + 'join' 'treatments' 'as' 't2' 'on' 't1' '.' 'professional_id' '=' 't2' + '.' 'professional_id']","['Give' 'me' 'the' 'id' ',' 'role' 'and' 'email' 'of' 'the' + 'professionals' 'who' 'did' 'not' 'perform' 'any' 'treatment' 'on' 'dogs' + '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +930,dog_kennels,"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","Which owner owns the most dogs? List the owner id, first name and last name.","['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']","['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']","['Which' 'owner' 'owns' 'the' 'most' 'dogs' '?' 'List' 'the' 'owner' 'id' + ',' 'first' 'name' 'and' 'last' 'name' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +931,dog_kennels,"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","Return the owner id, first name and last name of the owner who has the most dogs.","['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']","['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']","['Return' 'the' 'owner' 'id' ',' 'first' 'name' 'and' 'last' 'name' 'of' + 'the' 'owner' 'who' 'has' 'the' 'most' 'dogs' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +932,dog_kennels,"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","Which professionals have done at least two treatments? List the professional's id, role, and first name.","['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']","['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']","['Which' 'professionals' 'have' 'done' 'at' 'least' 'two' 'treatments' '?' + 'List' 'the' 'professional' ""'s"" 'id' ',' 'role' ',' 'and' 'first' 'name' + '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +933,dog_kennels,"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","What are the id, role, and first name of the professionals who have performed two or more treatments?","['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']","['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']","['What' 'are' 'the' 'id' ',' 'role' ',' 'and' 'first' 'name' 'of' 'the' + 'professionals' 'who' 'have' 'performed' 'two' 'or' 'more' 'treatments' + '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +934,dog_kennels,SELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name ORDER BY count(*) DESC LIMIT 1,What is the name of the breed with the most dogs?,"['SELECT' 'T1.breed_name' 'FROM' 'Breeds' 'AS' 'T1' 'JOIN' 'Dogs' 'AS' + 'T2' 'ON' 'T1.breed_code' '=' 'T2.breed_code' 'GROUP' 'BY' + 'T1.breed_name' 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'breed_name' 'from' 'breeds' 'as' 't1' 'join' 'dogs' + 'as' 't2' 'on' 't1' '.' 'breed_code' '=' 't2' '.' 'breed_code' 'group' + 'by' 't1' '.' 'breed_name' 'order' 'by' 'count' '(' '*' ')' 'desc' + 'limit' 'value']","['What' 'is' 'the' 'name' 'of' 'the' 'breed' 'with' 'the' 'most' 'dogs' + '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +935,dog_kennels,SELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name ORDER BY count(*) DESC LIMIT 1,Which breed do the most dogs have? Give me the breed name.,"['SELECT' 'T1.breed_name' 'FROM' 'Breeds' 'AS' 'T1' 'JOIN' 'Dogs' 'AS' + 'T2' 'ON' 'T1.breed_code' '=' 'T2.breed_code' 'GROUP' 'BY' + 'T1.breed_name' 'ORDER' 'BY' 'count' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 't1' '.' 'breed_name' 'from' 'breeds' 'as' 't1' 'join' 'dogs' + 'as' 't2' 'on' 't1' '.' 'breed_code' '=' 't2' '.' 'breed_code' 'group' + 'by' 't1' '.' 'breed_name' 'order' 'by' 'count' '(' '*' ')' 'desc' + 'limit' 'value']","['Which' 'breed' 'do' 'the' 'most' 'dogs' 'have' '?' 'Give' 'me' 'the' + 'breed' 'name' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +936,dog_kennels,"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",Which owner has paid for the most treatments on his or her dogs? List the owner id and last name.,"['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']","['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' 'value']","['Which' 'owner' 'has' 'paid' 'for' 'the' 'most' 'treatments' 'on' 'his' + 'or' 'her' 'dogs' '?' 'List' 'the' 'owner' 'id' 'and' 'last' 'name' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +937,dog_kennels,"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",Tell me the owner id and last name of the owner who spent the most on treatments of his or her dogs.,"['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']","['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' 'value']","['Tell' 'me' 'the' 'owner' 'id' 'and' 'last' 'name' 'of' 'the' 'owner' + 'who' 'spent' 'the' 'most' 'on' 'treatments' 'of' 'his' 'or' 'her' 'dogs' + '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +938,dog_kennels,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,What is the description of the treatment type that costs the least money in total?,"['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']","['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']","['What' 'is' 'the' 'description' 'of' 'the' 'treatment' 'type' 'that' + 'costs' 'the' 'least' 'money' 'in' 'total' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +939,dog_kennels,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,Give me the description of the treatment type whose total cost is the lowest.,"['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']","['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']","['Give' 'me' 'the' 'description' 'of' 'the' 'treatment' 'type' 'whose' + 'total' 'cost' 'is' 'the' 'lowest' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +940,dog_kennels,"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",Which owner has paid the largest amount of money in total for their dogs? Show the owner id and zip code.,"['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']","['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']","['Which' 'owner' 'has' 'paid' 'the' 'largest' 'amount' 'of' 'money' 'in' + 'total' 'for' 'their' 'dogs' '?' 'Show' 'the' 'owner' 'id' 'and' 'zip' + 'code' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +941,dog_kennels,"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",Find the owner id and zip code of the owner who spent the most money in total for his or her dogs.,"['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']","['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']","['Find' 'the' 'owner' 'id' 'and' 'zip' 'code' 'of' 'the' 'owner' 'who' + 'spent' 'the' 'most' 'money' 'in' 'total' 'for' 'his' 'or' 'her' 'dogs' + '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +942,dog_kennels,"SELECT T1.professional_id , 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",Which professionals have done at least two types of treatments? List the professional id and cell phone.,"['SELECT' 'T1.professional_id' ',' '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']","['select' 't1' '.' 'professional_id' ',' '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']","['Which' 'professionals' 'have' 'done' 'at' 'least' 'two' 'types' 'of' + 'treatments' '?' 'List' 'the' 'professional' 'id' 'and' 'cell' 'phone' + '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +943,dog_kennels,"SELECT T1.professional_id , 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",Find the id and cell phone of the professionals who operate two or more types of treatments.,"['SELECT' 'T1.professional_id' ',' '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']","['select' 't1' '.' 'professional_id' ',' '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']","['Find' 'the' 'id' 'and' 'cell' 'phone' 'of' 'the' 'professionals' 'who' + 'operate' 'two' 'or' 'more' 'types' 'of' 'treatments' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +944,dog_kennels,"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 )",What are the first name and last name of the professionals who have done treatment with cost below average?,"['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' ')']","['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' ')']","['What' 'are' 'the' 'first' 'name' 'and' 'last' 'name' 'of' 'the' + 'professionals' 'who' 'have' 'done' 'treatment' 'with' 'cost' 'below' + 'average' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +945,dog_kennels,"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 )",Which professionals have operated a treatment that costs less than the average? Give me theor first names and last names.,"['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' ')']","['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' ')']","['Which' 'professionals' 'have' 'operated' 'a' 'treatment' 'that' 'costs' + 'less' 'than' 'the' 'average' '?' 'Give' 'me' 'theor' 'first' 'names' + 'and' 'last' 'names' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +946,dog_kennels,"SELECT T1.date_of_treatment , T2.first_name FROM Treatments AS T1 JOIN Professionals AS T2 ON T1.professional_id = T2.professional_id","List the date of each treatment, together with the first name of the professional who operated it.","['SELECT' 'T1.date_of_treatment' ',' 'T2.first_name' 'FROM' 'Treatments' + 'AS' 'T1' 'JOIN' 'Professionals' 'AS' 'T2' 'ON' 'T1.professional_id' '=' + 'T2.professional_id']","['select' 't1' '.' 'date_of_treatment' ',' 't2' '.' 'first_name' 'from' + 'treatments' 'as' 't1' 'join' 'professionals' 'as' 't2' 'on' 't1' '.' + 'professional_id' '=' 't2' '.' 'professional_id']","['List' 'the' 'date' 'of' 'each' 'treatment' ',' 'together' 'with' 'the' + 'first' 'name' 'of' 'the' 'professional' 'who' 'operated' 'it' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +947,dog_kennels,"SELECT T1.date_of_treatment , T2.first_name FROM Treatments AS T1 JOIN Professionals AS T2 ON T1.professional_id = T2.professional_id",What are the date and the operating professional's first name of each treatment?,"['SELECT' 'T1.date_of_treatment' ',' 'T2.first_name' 'FROM' 'Treatments' + 'AS' 'T1' 'JOIN' 'Professionals' 'AS' 'T2' 'ON' 'T1.professional_id' '=' + 'T2.professional_id']","['select' 't1' '.' 'date_of_treatment' ',' 't2' '.' 'first_name' 'from' + 'treatments' 'as' 't1' 'join' 'professionals' 'as' 't2' 'on' 't1' '.' + 'professional_id' '=' 't2' '.' 'professional_id']","['What' 'are' 'the' 'date' 'and' 'the' 'operating' 'professional' ""'s"" + 'first' 'name' 'of' 'each' 'treatment' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +948,dog_kennels,"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",List the cost of each treatment and the corresponding treatment type description.,"['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']","['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']","['List' 'the' 'cost' 'of' 'each' 'treatment' 'and' 'the' 'corresponding' + 'treatment' 'type' 'description' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +949,dog_kennels,"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",What are the cost and treatment type description of each treatment?,"['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']","['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']","['What' 'are' 'the' 'cost' 'and' 'treatment' 'type' 'description' 'of' + 'each' 'treatment' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +950,dog_kennels,"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","List each owner's first name, last name, and the size of his for her dog.","['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']","['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']","['List' 'each' 'owner' ""'s"" 'first' 'name' ',' 'last' 'name' ',' 'and' + 'the' 'size' 'of' 'his' 'for' 'her' 'dog' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +951,dog_kennels,"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","What are each owner's first name, last name, and the size of their dog?","['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']","['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']","['What' 'are' 'each' 'owner' ""'s"" 'first' 'name' ',' 'last' 'name' ',' + 'and' 'the' 'size' 'of' 'their' 'dog' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +952,dog_kennels,"SELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id",List pairs of the owner's first name and the dogs's name.,"['SELECT' 'T1.first_name' ',' 'T2.name' 'FROM' 'Owners' 'AS' 'T1' 'JOIN' + 'Dogs' 'AS' 'T2' 'ON' 'T1.owner_id' '=' 'T2.owner_id']","['select' 't1' '.' 'first_name' ',' 't2' '.' 'name' 'from' 'owners' 'as' + 't1' 'join' 'dogs' 'as' 't2' 'on' 't1' '.' 'owner_id' '=' 't2' '.' + 'owner_id']","['List' 'pairs' 'of' 'the' 'owner' ""'s"" 'first' 'name' 'and' 'the' 'dogs' + ""'s"" 'name' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +953,dog_kennels,"SELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id",What are each owner's first name and their dogs's name?,"['SELECT' 'T1.first_name' ',' 'T2.name' 'FROM' 'Owners' 'AS' 'T1' 'JOIN' + 'Dogs' 'AS' 'T2' 'ON' 'T1.owner_id' '=' 'T2.owner_id']","['select' 't1' '.' 'first_name' ',' 't2' '.' 'name' 'from' 'owners' 'as' + 't1' 'join' 'dogs' 'as' 't2' 'on' 't1' '.' 'owner_id' '=' 't2' '.' + 'owner_id']","['What' 'are' 'each' 'owner' ""'s"" 'first' 'name' 'and' 'their' 'dogs' ""'s"" + 'name' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +954,dog_kennels,"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 )",List the names of the dogs of the rarest breed and the treatment dates of them.,"['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' ')']","['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' 'value' ')']","['List' 'the' 'names' 'of' 'the' 'dogs' 'of' 'the' 'rarest' 'breed' 'and' + 'the' 'treatment' 'dates' 'of' 'them' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +955,dog_kennels,"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 )",Which dogs are of the rarest breed? Show their names and treatment dates.,"['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' ')']","['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' 'value' ')']","['Which' 'dogs' 'are' 'of' 'the' 'rarest' 'breed' '?' 'Show' 'their' + 'names' 'and' 'treatment' 'dates' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +956,dog_kennels,"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'",Which dogs are owned by someone who lives in Virginia? List the owner's first name and the dog's name.,"['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"" ""'""]","['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']","['Which' 'dogs' 'are' 'owned' 'by' 'someone' 'who' 'lives' 'in' 'Virginia' + '?' 'List' 'the' 'owner' ""'s"" 'first' 'name' 'and' 'the' 'dog' ""'s"" + 'name' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +957,dog_kennels,"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'",Find the first names of owners living in Virginia and the names of dogs they own.,"['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"" ""'""]","['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']","['Find' 'the' 'first' 'names' 'of' 'owners' 'living' 'in' 'Virginia' 'and' + 'the' 'names' 'of' 'dogs' 'they' 'own' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +958,dog_kennels,"SELECT DISTINCT T1.date_arrived , T1.date_departed FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id",What are the arriving date and the departing date of the dogs who have gone through a treatment?,"['SELECT' 'DISTINCT' 'T1.date_arrived' ',' 'T1.date_departed' 'FROM' + 'Dogs' 'AS' 'T1' 'JOIN' 'Treatments' 'AS' 'T2' 'ON' 'T1.dog_id' '=' + 'T2.dog_id']","['select' 'distinct' 't1' '.' 'date_arrived' ',' 't1' '.' 'date_departed' + 'from' 'dogs' 'as' 't1' 'join' 'treatments' 'as' 't2' 'on' 't1' '.' + 'dog_id' '=' 't2' '.' 'dog_id']","['What' 'are' 'the' 'arriving' 'date' 'and' 'the' 'departing' 'date' 'of' + 'the' 'dogs' 'who' 'have' 'gone' 'through' 'a' 'treatment' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +959,dog_kennels,"SELECT DISTINCT T1.date_arrived , T1.date_departed FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id",Find the arriving date and the departing date of the dogs that received a treatment.,"['SELECT' 'DISTINCT' 'T1.date_arrived' ',' 'T1.date_departed' 'FROM' + 'Dogs' 'AS' 'T1' 'JOIN' 'Treatments' 'AS' 'T2' 'ON' 'T1.dog_id' '=' + 'T2.dog_id']","['select' 'distinct' 't1' '.' 'date_arrived' ',' 't1' '.' 'date_departed' + 'from' 'dogs' 'as' 't1' 'join' 'treatments' 'as' 't2' 'on' 't1' '.' + 'dog_id' '=' 't2' '.' 'dog_id']","['Find' 'the' 'arriving' 'date' 'and' 'the' 'departing' 'date' 'of' 'the' + 'dogs' 'that' 'received' 'a' 'treatment' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +960,dog_kennels,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 ),List the last name of the owner owning the youngest dog.,"['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' ')']","['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' ')']","['List' 'the' 'last' 'name' 'of' 'the' 'owner' 'owning' 'the' 'youngest' + 'dog' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +961,dog_kennels,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 ),Who owns the youngest dog? Give me his or her last name.,"['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' ')']","['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' ')']","['Who' 'owns' 'the' 'youngest' 'dog' '?' 'Give' 'me' 'his' 'or' 'her' + 'last' 'name' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +962,dog_kennels,SELECT email_address FROM Professionals WHERE state = 'Hawaii' OR state = 'Wisconsin',List the emails of the professionals who live in the state of Hawaii or the state of Wisconsin.,"['SELECT' 'email_address' 'FROM' 'Professionals' 'WHERE' 'state' '=' + ""'Hawaii"" ""'"" 'OR' 'state' '=' ""'Wisconsin"" ""'""]","['select' 'email_address' 'from' 'professionals' 'where' 'state' '=' + 'value' 'or' 'state' '=' 'value']","['List' 'the' 'emails' 'of' 'the' 'professionals' 'who' 'live' 'in' 'the' + 'state' 'of' 'Hawaii' 'or' 'the' 'state' 'of' 'Wisconsin' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +963,dog_kennels,SELECT email_address FROM Professionals WHERE state = 'Hawaii' OR state = 'Wisconsin',What are the emails of the professionals living in either the state of Hawaii or the state of Wisconsin?,"['SELECT' 'email_address' 'FROM' 'Professionals' 'WHERE' 'state' '=' + ""'Hawaii"" ""'"" 'OR' 'state' '=' ""'Wisconsin"" ""'""]","['select' 'email_address' 'from' 'professionals' 'where' 'state' '=' + 'value' 'or' 'state' '=' 'value']","['What' 'are' 'the' 'emails' 'of' 'the' 'professionals' 'living' 'in' + 'either' 'the' 'state' 'of' 'Hawaii' 'or' 'the' 'state' 'of' 'Wisconsin' + '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +964,dog_kennels,"SELECT date_arrived , date_departed FROM Dogs",What are the arriving date and the departing date of all the dogs?,"['SELECT' 'date_arrived' ',' 'date_departed' 'FROM' 'Dogs']","['select' 'date_arrived' ',' 'date_departed' 'from' 'dogs']","['What' 'are' 'the' 'arriving' 'date' 'and' 'the' 'departing' 'date' 'of' + 'all' 'the' 'dogs' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +965,dog_kennels,"SELECT date_arrived , date_departed FROM Dogs",List the arrival date and the departure date for all the dogs.,"['SELECT' 'date_arrived' ',' 'date_departed' 'FROM' 'Dogs']","['select' 'date_arrived' ',' 'date_departed' 'from' 'dogs']","['List' 'the' 'arrival' 'date' 'and' 'the' 'departure' 'date' 'for' 'all' + 'the' 'dogs' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +966,dog_kennels,SELECT count(DISTINCT dog_id) FROM Treatments,How many dogs went through any treatments?,['SELECT' 'count' '(' 'DISTINCT' 'dog_id' ')' 'FROM' 'Treatments'],['select' 'count' '(' 'distinct' 'dog_id' ')' 'from' 'treatments'],['How' 'many' 'dogs' 'went' 'through' 'any' 'treatments' '?'],"['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +967,dog_kennels,SELECT count(DISTINCT dog_id) FROM Treatments,Count the number of dogs that went through a treatment.,['SELECT' 'count' '(' 'DISTINCT' 'dog_id' ')' 'FROM' 'Treatments'],['select' 'count' '(' 'distinct' 'dog_id' ')' 'from' 'treatments'],"['Count' 'the' 'number' 'of' 'dogs' 'that' 'went' 'through' 'a' + 'treatment' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +968,dog_kennels,SELECT count(DISTINCT professional_id) FROM Treatments,How many professionals have performed any treatment to dogs?,['SELECT' 'count' '(' 'DISTINCT' 'professional_id' ')' 'FROM' 'Treatments'],['select' 'count' '(' 'distinct' 'professional_id' ')' 'from' 'treatments'],"['How' 'many' 'professionals' 'have' 'performed' 'any' 'treatment' 'to' + 'dogs' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +969,dog_kennels,SELECT count(DISTINCT professional_id) FROM Treatments,Find the number of professionals who have ever treated dogs.,['SELECT' 'count' '(' 'DISTINCT' 'professional_id' ')' 'FROM' 'Treatments'],['select' 'count' '(' 'distinct' 'professional_id' ')' 'from' 'treatments'],"['Find' 'the' 'number' 'of' 'professionals' 'who' 'have' 'ever' 'treated' + 'dogs' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +970,dog_kennels,"SELECT role_code , street , city , state FROM professionals WHERE city LIKE '%West%'","Which professionals live in a city containing the substring 'West'? List his or her role, street, city and state.","['SELECT' 'role_code' ',' 'street' ',' 'city' ',' 'state' 'FROM' + 'professionals' 'WHERE' 'city' 'LIKE' ""'"" '%' 'West' '%' ""'""]","['select' 'role_code' ',' 'street' ',' 'city' ',' 'state' 'from' + 'professionals' 'where' 'city' 'like' 'value']","['Which' 'professionals' 'live' 'in' 'a' 'city' 'containing' 'the' + 'substring' ""'West"" ""'"" '?' 'List' 'his' 'or' 'her' 'role' ',' 'street' + ',' 'city' 'and' 'state' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +971,dog_kennels,"SELECT role_code , street , city , state FROM professionals WHERE city LIKE '%West%'","Find the role, street, city and state of the professionals living in a city that contains the substring 'West'.","['SELECT' 'role_code' ',' 'street' ',' 'city' ',' 'state' 'FROM' + 'professionals' 'WHERE' 'city' 'LIKE' ""'"" '%' 'West' '%' ""'""]","['select' 'role_code' ',' 'street' ',' 'city' ',' 'state' 'from' + 'professionals' 'where' 'city' 'like' 'value']","['Find' 'the' 'role' ',' 'street' ',' 'city' 'and' 'state' 'of' 'the' + 'professionals' 'living' 'in' 'a' 'city' 'that' 'contains' 'the' + 'substring' ""'West"" ""'"" '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +972,dog_kennels,"SELECT first_name , last_name , email_address FROM Owners WHERE state LIKE '%North%'","Which owners live in the state whose name contains the substring 'North'? List his first name, last name and email.","['SELECT' 'first_name' ',' 'last_name' ',' 'email_address' 'FROM' 'Owners' + 'WHERE' 'state' 'LIKE' ""'"" '%' 'North' '%' ""'""]","['select' 'first_name' ',' 'last_name' ',' 'email_address' 'from' 'owners' + 'where' 'state' 'like' 'value']","['Which' 'owners' 'live' 'in' 'the' 'state' 'whose' 'name' 'contains' + 'the' 'substring' ""'North"" ""'"" '?' 'List' 'his' 'first' 'name' ',' 'last' + 'name' 'and' 'email' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +973,dog_kennels,"SELECT first_name , last_name , email_address FROM Owners WHERE state LIKE '%North%'","Return the first name, last name and email of the owners living in a state whose name contains the substring 'North'.","['SELECT' 'first_name' ',' 'last_name' ',' 'email_address' 'FROM' 'Owners' + 'WHERE' 'state' 'LIKE' ""'"" '%' 'North' '%' ""'""]","['select' 'first_name' ',' 'last_name' ',' 'email_address' 'from' 'owners' + 'where' 'state' 'like' 'value']","['Return' 'the' 'first' 'name' ',' 'last' 'name' 'and' 'email' 'of' 'the' + 'owners' 'living' 'in' 'a' 'state' 'whose' 'name' 'contains' 'the' + 'substring' ""'North"" ""'"" '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +974,dog_kennels,SELECT count(*) FROM Dogs WHERE age < ( SELECT avg(age) FROM Dogs ),How many dogs have an age below the average?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Dogs' 'WHERE' 'age' '<' '(' 'SELECT' + 'avg' '(' 'age' ')' 'FROM' 'Dogs' ')']","['select' 'count' '(' '*' ')' 'from' 'dogs' 'where' 'age' '<' '(' 'select' + 'avg' '(' 'age' ')' 'from' 'dogs' ')']",['How' 'many' 'dogs' 'have' 'an' 'age' 'below' 'the' 'average' '?'],"['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +975,dog_kennels,SELECT count(*) FROM Dogs WHERE age < ( SELECT avg(age) FROM Dogs ),Count the number of dogs of an age below the average.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Dogs' 'WHERE' 'age' '<' '(' 'SELECT' + 'avg' '(' 'age' ')' 'FROM' 'Dogs' ')']","['select' 'count' '(' '*' ')' 'from' 'dogs' 'where' 'age' '<' '(' 'select' + 'avg' '(' 'age' ')' 'from' 'dogs' ')']","['Count' 'the' 'number' 'of' 'dogs' 'of' 'an' 'age' 'below' 'the' + 'average' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +976,dog_kennels,SELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1,How much does the most recent treatment cost?,"['SELECT' 'cost_of_treatment' 'FROM' 'Treatments' 'ORDER' 'BY' + 'date_of_treatment' 'DESC' 'LIMIT' '1']","['select' 'cost_of_treatment' 'from' 'treatments' 'order' 'by' + 'date_of_treatment' 'desc' 'limit' 'value']",['How' 'much' 'does' 'the' 'most' 'recent' 'treatment' 'cost' '?'],"['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +977,dog_kennels,SELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1,Show me the cost of the most recently performed treatment.,"['SELECT' 'cost_of_treatment' 'FROM' 'Treatments' 'ORDER' 'BY' + 'date_of_treatment' 'DESC' 'LIMIT' '1']","['select' 'cost_of_treatment' 'from' 'treatments' 'order' 'by' + 'date_of_treatment' 'desc' 'limit' 'value']","['Show' 'me' 'the' 'cost' 'of' 'the' 'most' 'recently' 'performed' + 'treatment' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +978,dog_kennels,SELECT count(*) FROM Dogs WHERE dog_id NOT IN ( SELECT dog_id FROM Treatments ),How many dogs have not gone through any treatment?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Dogs' 'WHERE' 'dog_id' 'NOT' 'IN' + '(' 'SELECT' 'dog_id' 'FROM' 'Treatments' ')']","['select' 'count' '(' '*' ')' 'from' 'dogs' 'where' 'dog_id' 'not' 'in' + '(' 'select' 'dog_id' 'from' 'treatments' ')']",['How' 'many' 'dogs' 'have' 'not' 'gone' 'through' 'any' 'treatment' '?'],"['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +979,dog_kennels,select count(*) from dogs where dog_id not in ( select dog_id from treatments ),Tell me the number of dogs that have not received any treatment .,"['select' 'count' '(' '*' ')' 'from' 'dogs' 'where' 'dog_id' 'not' 'in' + '(' 'select' 'dog_id' 'from' 'treatments' ')']","['select' 'count' '(' '*' ')' 'from' 'dogs' 'where' 'dog_id' 'not' 'in' + '(' 'select' 'dog_id' 'from' 'treatments' ')']","['Tell' 'me' 'the' 'number' 'of' 'dogs' 'that' 'have' 'not' 'received' + 'any' 'treatment' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +980,dog_kennels,SELECT count(*) FROM Owners WHERE owner_id NOT IN ( SELECT owner_id FROM Dogs ),How many owners temporarily do not have any dogs?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Owners' 'WHERE' 'owner_id' 'NOT' + 'IN' '(' 'SELECT' 'owner_id' 'FROM' 'Dogs' ')']","['select' 'count' '(' '*' ')' 'from' 'owners' 'where' 'owner_id' 'not' + 'in' '(' 'select' 'owner_id' 'from' 'dogs' ')']",['How' 'many' 'owners' 'temporarily' 'do' 'not' 'have' 'any' 'dogs' '?'],"['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +981,dog_kennels,SELECT count(*) FROM Owners WHERE owner_id NOT IN ( SELECT owner_id FROM Dogs ),Find the number of owners who do not own any dogs at this moment.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Owners' 'WHERE' 'owner_id' 'NOT' + 'IN' '(' 'SELECT' 'owner_id' 'FROM' 'Dogs' ')']","['select' 'count' '(' '*' ')' 'from' 'owners' 'where' 'owner_id' 'not' + 'in' '(' 'select' 'owner_id' 'from' 'dogs' ')']","['Find' 'the' 'number' 'of' 'owners' 'who' 'do' 'not' 'own' 'any' 'dogs' + 'at' 'this' 'moment' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +982,dog_kennels,SELECT count(*) FROM Professionals WHERE professional_id NOT IN ( SELECT professional_id FROM Treatments ),How many professionals did not operate any treatment on dogs?,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Professionals' 'WHERE' + 'professional_id' 'NOT' 'IN' '(' 'SELECT' 'professional_id' 'FROM' + 'Treatments' ')']","['select' 'count' '(' '*' ')' 'from' 'professionals' 'where' + 'professional_id' 'not' 'in' '(' 'select' 'professional_id' 'from' + 'treatments' ')']","['How' 'many' 'professionals' 'did' 'not' 'operate' 'any' 'treatment' 'on' + 'dogs' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +983,dog_kennels,SELECT count(*) FROM Professionals WHERE professional_id NOT IN ( SELECT professional_id FROM Treatments ),Find the number of professionals who have not treated any dogs.,"['SELECT' 'count' '(' '*' ')' 'FROM' 'Professionals' 'WHERE' + 'professional_id' 'NOT' 'IN' '(' 'SELECT' 'professional_id' 'FROM' + 'Treatments' ')']","['select' 'count' '(' '*' ')' 'from' 'professionals' 'where' + 'professional_id' 'not' 'in' '(' 'select' 'professional_id' 'from' + 'treatments' ')']","['Find' 'the' 'number' 'of' 'professionals' 'who' 'have' 'not' 'treated' + 'any' 'dogs' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +984,dog_kennels,"SELECT name , age , weight FROM Dogs WHERE abandoned_yn = 1","List the dog name, age and weight of the dogs who have been abandoned? 1 stands for yes, and 0 stands for no.","['SELECT' 'name' ',' 'age' ',' 'weight' 'FROM' 'Dogs' 'WHERE' + 'abandoned_yn' '=' '1']","['select' 'name' ',' 'age' ',' 'weight' 'from' 'dogs' 'where' + 'abandoned_yn' '=' 'value']","['List' 'the' 'dog' 'name' ',' 'age' 'and' 'weight' 'of' 'the' 'dogs' + 'who' 'have' 'been' 'abandoned' '?' '1' 'stands' 'for' 'yes' ',' 'and' + '0' 'stands' 'for' 'no' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +985,dog_kennels,"SELECT name , age , weight FROM Dogs WHERE abandoned_yn = 1","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.","['SELECT' 'name' ',' 'age' ',' 'weight' 'FROM' 'Dogs' 'WHERE' + 'abandoned_yn' '=' '1']","['select' 'name' ',' 'age' ',' 'weight' 'from' 'dogs' 'where' + 'abandoned_yn' '=' 'value']","['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' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +986,dog_kennels,SELECT avg(age) FROM Dogs,What is the average age of all the dogs?,['SELECT' 'avg' '(' 'age' ')' 'FROM' 'Dogs'],['select' 'avg' '(' 'age' ')' 'from' 'dogs'],['What' 'is' 'the' 'average' 'age' 'of' 'all' 'the' 'dogs' '?'],"['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +987,dog_kennels,SELECT avg(age) FROM Dogs,Compute the average age of all the dogs.,['SELECT' 'avg' '(' 'age' ')' 'FROM' 'Dogs'],['select' 'avg' '(' 'age' ')' 'from' 'dogs'],['Compute' 'the' 'average' 'age' 'of' 'all' 'the' 'dogs' '.'],"['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +988,dog_kennels,SELECT max(age) FROM Dogs,What is the age of the oldest dog?,['SELECT' 'max' '(' 'age' ')' 'FROM' 'Dogs'],['select' 'max' '(' 'age' ')' 'from' 'dogs'],['What' 'is' 'the' 'age' 'of' 'the' 'oldest' 'dog' '?'],"['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +989,dog_kennels,SELECT max(age) FROM Dogs,Tell me the age of the oldest dog.,['SELECT' 'max' '(' 'age' ')' 'FROM' 'Dogs'],['select' 'max' '(' 'age' ')' 'from' 'dogs'],['Tell' 'me' 'the' 'age' 'of' 'the' 'oldest' 'dog' '.'],"['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +990,dog_kennels,"SELECT charge_type , charge_amount FROM Charges",How much does each charge type costs? List both charge type and amount.,"['SELECT' 'charge_type' ',' 'charge_amount' 'FROM' 'Charges']","['select' 'charge_type' ',' 'charge_amount' 'from' 'charges']","['How' 'much' 'does' 'each' 'charge' 'type' 'costs' '?' 'List' 'both' + 'charge' 'type' 'and' 'amount' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +991,dog_kennels,"SELECT charge_type , charge_amount FROM Charges",List each charge type and its amount.,"['SELECT' 'charge_type' ',' 'charge_amount' 'FROM' 'Charges']","['select' 'charge_type' ',' 'charge_amount' 'from' 'charges']",['List' 'each' 'charge' 'type' 'and' 'its' 'amount' '.'],"['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +992,dog_kennels,SELECT max(charge_amount) FROM Charges,How much does the most expensive charge type costs?,['SELECT' 'max' '(' 'charge_amount' ')' 'FROM' 'Charges'],['select' 'max' '(' 'charge_amount' ')' 'from' 'charges'],['How' 'much' 'does' 'the' 'most' 'expensive' 'charge' 'type' 'costs' '?'],"['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +993,dog_kennels,SELECT max(charge_amount) FROM Charges,What is the charge amount of the most expensive charge type?,['SELECT' 'max' '(' 'charge_amount' ')' 'FROM' 'Charges'],['select' 'max' '(' 'charge_amount' ')' 'from' 'charges'],"['What' 'is' 'the' 'charge' 'amount' 'of' 'the' 'most' 'expensive' + 'charge' 'type' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +994,dog_kennels,"SELECT email_address , cell_number , home_phone FROM professionals","List the email, cell phone and home phone of all the professionals.","['SELECT' 'email_address' ',' 'cell_number' ',' 'home_phone' 'FROM' + 'professionals']","['select' 'email_address' ',' 'cell_number' ',' 'home_phone' 'from' + 'professionals']","['List' 'the' 'email' ',' 'cell' 'phone' 'and' 'home' 'phone' 'of' 'all' + 'the' 'professionals' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +995,dog_kennels,"SELECT email_address , cell_number , home_phone FROM professionals","What are the email, cell phone and home phone of each professional?","['SELECT' 'email_address' ',' 'cell_number' ',' 'home_phone' 'FROM' + 'professionals']","['select' 'email_address' ',' 'cell_number' ',' 'home_phone' 'from' + 'professionals']","['What' 'are' 'the' 'email' ',' 'cell' 'phone' 'and' 'home' 'phone' 'of' + 'each' 'professional' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +996,dog_kennels,"SELECT DISTINCT breed_code , size_code FROM dogs",What are all the possible breed type and size type combinations?,"['SELECT' 'DISTINCT' 'breed_code' ',' 'size_code' 'FROM' 'dogs']","['select' 'distinct' 'breed_code' ',' 'size_code' 'from' 'dogs']","['What' 'are' 'all' 'the' 'possible' 'breed' 'type' 'and' 'size' 'type' + 'combinations' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +997,dog_kennels,"SELECT DISTINCT breed_code , size_code FROM dogs",Find the distinct breed type and size type combinations for dogs.,"['SELECT' 'DISTINCT' 'breed_code' ',' 'size_code' 'FROM' 'dogs']","['select' 'distinct' 'breed_code' ',' 'size_code' 'from' 'dogs']","['Find' 'the' 'distinct' 'breed' 'type' 'and' 'size' 'type' 'combinations' + 'for' 'dogs' '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +998,dog_kennels,"SELECT DISTINCT T1.first_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",List the first name of all the professionals along with the description of the treatment they have done.,"['SELECT' 'DISTINCT' 'T1.first_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']","['select' 'distinct' 't1' '.' 'first_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']","['List' 'the' 'first' 'name' 'of' 'all' 'the' 'professionals' 'along' + 'with' 'the' 'description' 'of' 'the' 'treatment' 'they' 'have' 'done' + '.']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +999,dog_kennels,"SELECT DISTINCT T1.first_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",What are each professional's first name and description of the treatment they have performed?,"['SELECT' 'DISTINCT' 'T1.first_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']","['select' 'distinct' 't1' '.' 'first_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']","['What' 'are' 'each' 'professional' ""'s"" 'first' 'name' 'and' + 'description' 'of' 'the' 'treatment' 'they' 'have' 'performed' '?']","['breed code', 'breed name', 'charge id', 'charge type', 'charge amount', 'size code', 'size description', 'treatment type code', 'treatment type description', 'owner id', 'first name', 'last name', 'street', 'city', 'state', 'zip code', 'email address', 'home phone', 'cell number', 'dog id', 'owner id', 'abandoned yes or no', 'breed code', 'size code', 'name', 'age', 'date of birth', 'gender', 'weight', 'date arrived', 'date adopted', 'date departed', 'professional id', 'role code', 'first name', 'street', 'city', 'state', 'zip code', 'last name', 'email address', 'home phone', 'cell number', 'treatment id', 'dog id', 'professional id', 'treatment type code', 'date of treatment', 'cost of treatment']" +1000,singer,SELECT count(*) FROM singer,How many singers are there?,['SELECT' 'count' '(' '*' ')' 'FROM' 'singer'],['select' 'count' '(' '*' ')' 'from' 'singer'],['How' 'many' 'singers' 'are' 'there' '?'],"['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1001,singer,SELECT count(*) FROM singer,What is the count of singers?,['SELECT' 'count' '(' '*' ')' 'FROM' 'singer'],['select' 'count' '(' '*' ')' 'from' 'singer'],['What' 'is' 'the' 'count' 'of' 'singers' '?'],"['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1002,singer,SELECT Name FROM singer ORDER BY Net_Worth_Millions ASC,List the name of singers in ascending order of net worth.,['SELECT' 'Name' 'FROM' 'singer' 'ORDER' 'BY' 'Net_Worth_Millions' 'ASC'],['select' 'name' 'from' 'singer' 'order' 'by' 'net_worth_millions' 'asc'],"['List' 'the' 'name' 'of' 'singers' 'in' 'ascending' 'order' 'of' 'net' + 'worth' '.']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1003,singer,SELECT Name FROM singer ORDER BY Net_Worth_Millions ASC,What are the names of singers ordered by ascending net worth?,['SELECT' 'Name' 'FROM' 'singer' 'ORDER' 'BY' 'Net_Worth_Millions' 'ASC'],['select' 'name' 'from' 'singer' 'order' 'by' 'net_worth_millions' 'asc'],"['What' 'are' 'the' 'names' 'of' 'singers' 'ordered' 'by' 'ascending' + 'net' 'worth' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1004,singer,"SELECT Birth_Year , Citizenship FROM singer",What are the birth year and citizenship of singers?,"['SELECT' 'Birth_Year' ',' 'Citizenship' 'FROM' 'singer']","['select' 'birth_year' ',' 'citizenship' 'from' 'singer']",['What' 'are' 'the' 'birth' 'year' 'and' 'citizenship' 'of' 'singers' '?'],"['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1005,singer,"SELECT Birth_Year , Citizenship FROM singer",What are the birth years and citizenships of the singers?,"['SELECT' 'Birth_Year' ',' 'Citizenship' 'FROM' 'singer']","['select' 'birth_year' ',' 'citizenship' 'from' 'singer']","['What' 'are' 'the' 'birth' 'years' 'and' 'citizenships' 'of' 'the' + 'singers' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1006,singer,"SELECT Name FROM singer WHERE Citizenship != ""France""","List the name of singers whose citizenship is not ""France"".","['SELECT' 'Name' 'FROM' 'singer' 'WHERE' 'Citizenship' '!' '=' '``' + 'France' ""''""]",['select' 'name' 'from' 'singer' 'where' 'citizenship' '!' '=' 'value'],"['List' 'the' 'name' 'of' 'singers' 'whose' 'citizenship' 'is' 'not' '``' + 'France' ""''"" '.']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1007,singer,"SELECT Name FROM singer WHERE Citizenship != ""France""",What are the names of the singers who are not French citizens?,"['SELECT' 'Name' 'FROM' 'singer' 'WHERE' 'Citizenship' '!' '=' '``' + 'France' ""''""]",['select' 'name' 'from' 'singer' 'where' 'citizenship' '!' '=' 'value'],"['What' 'are' 'the' 'names' 'of' 'the' 'singers' 'who' 'are' 'not' + 'French' 'citizens' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1008,singer,SELECT Name FROM singer WHERE Birth_Year = 1948 OR Birth_Year = 1949,Show the name of singers whose birth year is either 1948 or 1949?,"['SELECT' 'Name' 'FROM' 'singer' 'WHERE' 'Birth_Year' '=' '1948' 'OR' + 'Birth_Year' '=' '1949']","['select' 'name' 'from' 'singer' 'where' 'birth_year' '=' 'value' 'or' + 'birth_year' '=' 'value']","['Show' 'the' 'name' 'of' 'singers' 'whose' 'birth' 'year' 'is' 'either' + '1948' 'or' '1949' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1009,singer,SELECT Name FROM singer WHERE Birth_Year = 1948 OR Birth_Year = 1949,What are the names of the singers whose birth years are either 1948 or 1949?,"['SELECT' 'Name' 'FROM' 'singer' 'WHERE' 'Birth_Year' '=' '1948' 'OR' + 'Birth_Year' '=' '1949']","['select' 'name' 'from' 'singer' 'where' 'birth_year' '=' 'value' 'or' + 'birth_year' '=' 'value']","['What' 'are' 'the' 'names' 'of' 'the' 'singers' 'whose' 'birth' 'years' + 'are' 'either' '1948' 'or' '1949' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1010,singer,SELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 1,What is the name of the singer with the largest net worth?,"['SELECT' 'Name' 'FROM' 'singer' 'ORDER' 'BY' 'Net_Worth_Millions' 'DESC' + 'LIMIT' '1']","['select' 'name' 'from' 'singer' 'order' 'by' 'net_worth_millions' 'desc' + 'limit' 'value']","['What' 'is' 'the' 'name' 'of' 'the' 'singer' 'with' 'the' 'largest' 'net' + 'worth' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1011,singer,SELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 1,What is the name of the singer who is worth the most?,"['SELECT' 'Name' 'FROM' 'singer' 'ORDER' 'BY' 'Net_Worth_Millions' 'DESC' + 'LIMIT' '1']","['select' 'name' 'from' 'singer' 'order' 'by' 'net_worth_millions' 'desc' + 'limit' 'value']","['What' 'is' 'the' 'name' 'of' 'the' 'singer' 'who' 'is' 'worth' 'the' + 'most' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1012,singer,"SELECT Citizenship , COUNT(*) FROM singer GROUP BY Citizenship",Show different citizenship of singers and the number of singers of each citizenship.,"['SELECT' 'Citizenship' ',' 'COUNT' '(' '*' ')' 'FROM' 'singer' 'GROUP' + 'BY' 'Citizenship']","['select' 'citizenship' ',' 'count' '(' '*' ')' 'from' 'singer' 'group' + 'by' 'citizenship']","['Show' 'different' 'citizenship' 'of' 'singers' 'and' 'the' 'number' 'of' + 'singers' 'of' 'each' 'citizenship' '.']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1013,singer,"SELECT Citizenship , COUNT(*) FROM singer GROUP BY Citizenship","For each citizenship, how many singers are from that country?","['SELECT' 'Citizenship' ',' 'COUNT' '(' '*' ')' 'FROM' 'singer' 'GROUP' + 'BY' 'Citizenship']","['select' 'citizenship' ',' 'count' '(' '*' ')' 'from' 'singer' 'group' + 'by' 'citizenship']","['For' 'each' 'citizenship' ',' 'how' 'many' 'singers' 'are' 'from' 'that' + 'country' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1014,singer,SELECT Citizenship FROM singer GROUP BY Citizenship ORDER BY COUNT(*) DESC LIMIT 1,Please show the most common citizenship of singers.,"['SELECT' 'Citizenship' 'FROM' 'singer' 'GROUP' 'BY' 'Citizenship' 'ORDER' + 'BY' 'COUNT' '(' '*' ')' 'DESC' 'LIMIT' '1']","['select' 'citizenship' 'from' 'singer' 'group' 'by' 'citizenship' 'order' + 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']",['Please' 'show' 'the' 'most' 'common' 'citizenship' 'of' 'singers' '.'],"['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1015,singer,select citizenship from singer group by citizenship order by count(*) desc limit 1,What is the most common singer citizenship ?,"['select' 'citizenship' 'from' 'singer' 'group' 'by' 'citizenship' 'order' + 'by' 'count' '(' '*' ')' 'desc' 'limit' '1']","['select' 'citizenship' 'from' 'singer' 'group' 'by' 'citizenship' 'order' + 'by' 'count' '(' '*' ')' 'desc' 'limit' 'value']",['What' 'is' 'the' 'most' 'common' 'singer' 'citizenship' '?'],"['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1016,singer,"SELECT Citizenship , max(Net_Worth_Millions) FROM singer GROUP BY Citizenship",Show different citizenships and the maximum net worth of singers of each citizenship.,"['SELECT' 'Citizenship' ',' 'max' '(' 'Net_Worth_Millions' ')' 'FROM' + 'singer' 'GROUP' 'BY' 'Citizenship']","['select' 'citizenship' ',' 'max' '(' 'net_worth_millions' ')' 'from' + 'singer' 'group' 'by' 'citizenship']","['Show' 'different' 'citizenships' 'and' 'the' 'maximum' 'net' 'worth' + 'of' 'singers' 'of' 'each' 'citizenship' '.']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1017,singer,"SELECT Citizenship , max(Net_Worth_Millions) FROM singer GROUP BY Citizenship","For each citizenship, what is the maximum net worth?","['SELECT' 'Citizenship' ',' 'max' '(' 'Net_Worth_Millions' ')' 'FROM' + 'singer' 'GROUP' 'BY' 'Citizenship']","['select' 'citizenship' ',' 'max' '(' 'net_worth_millions' ')' 'from' + 'singer' 'group' 'by' 'citizenship']","['For' 'each' 'citizenship' ',' 'what' 'is' 'the' 'maximum' 'net' 'worth' + '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1018,singer,"SELECT T2.Title , T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID",Show titles of songs and names of singers.,"['SELECT' 'T2.Title' ',' 'T1.Name' 'FROM' 'singer' 'AS' 'T1' 'JOIN' 'song' + 'AS' 'T2' 'ON' 'T1.Singer_ID' '=' 'T2.Singer_ID']","['select' 't2' '.' 'title' ',' 't1' '.' 'name' 'from' 'singer' 'as' 't1' + 'join' 'song' 'as' 't2' 'on' 't1' '.' 'singer_id' '=' 't2' '.' + 'singer_id']",['Show' 'titles' 'of' 'songs' 'and' 'names' 'of' 'singers' '.'],"['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1019,singer,"SELECT T2.Title , T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID",What are the song titles and singer names?,"['SELECT' 'T2.Title' ',' 'T1.Name' 'FROM' 'singer' 'AS' 'T1' 'JOIN' 'song' + 'AS' 'T2' 'ON' 'T1.Singer_ID' '=' 'T2.Singer_ID']","['select' 't2' '.' 'title' ',' 't1' '.' 'name' 'from' 'singer' 'as' 't1' + 'join' 'song' 'as' 't2' 'on' 't1' '.' 'singer_id' '=' 't2' '.' + 'singer_id']",['What' 'are' 'the' 'song' 'titles' 'and' 'singer' 'names' '?'],"['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1020,singer,SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID WHERE T2.Sales > 300000,Show distinct names of singers that have songs with sales more than 300000.,"['SELECT' 'DISTINCT' 'T1.Name' 'FROM' 'singer' 'AS' 'T1' 'JOIN' 'song' + 'AS' 'T2' 'ON' 'T1.Singer_ID' '=' 'T2.Singer_ID' 'WHERE' 'T2.Sales' '>' + '300000']","['select' 'distinct' 't1' '.' 'name' 'from' 'singer' 'as' 't1' 'join' + 'song' 'as' 't2' 'on' 't1' '.' 'singer_id' '=' 't2' '.' 'singer_id' + 'where' 't2' '.' 'sales' '>' 'value']","['Show' 'distinct' 'names' 'of' 'singers' 'that' 'have' 'songs' 'with' + 'sales' 'more' 'than' '300000' '.']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1021,singer,SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID WHERE T2.Sales > 300000,what are the different names of the singers that have sales more than 300000?,"['SELECT' 'DISTINCT' 'T1.Name' 'FROM' 'singer' 'AS' 'T1' 'JOIN' 'song' + 'AS' 'T2' 'ON' 'T1.Singer_ID' '=' 'T2.Singer_ID' 'WHERE' 'T2.Sales' '>' + '300000']","['select' 'distinct' 't1' '.' 'name' 'from' 'singer' 'as' 't1' 'join' + 'song' 'as' 't2' 'on' 't1' '.' 'singer_id' '=' 't2' '.' 'singer_id' + 'where' 't2' '.' 'sales' '>' 'value']","['what' 'are' 'the' 'different' 'names' 'of' 'the' 'singers' 'that' 'have' + 'sales' 'more' 'than' '300000' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1022,singer,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,Show the names of singers that have more than one song.,"['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']","['select' 't1' '.' 'name' 'from' 'singer' 'as' 't1' 'join' 'song' 'as' + 't2' 'on' 't1' '.' 'singer_id' '=' 't2' '.' 'singer_id' 'group' 'by' 't1' + '.' 'name' 'having' 'count' '(' '*' ')' '>' 'value']","['Show' 'the' 'names' 'of' 'singers' 'that' 'have' 'more' 'than' 'one' + 'song' '.']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1023,singer,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,What are the names of the singers that have more than one songs?,"['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']","['select' 't1' '.' 'name' 'from' 'singer' 'as' 't1' 'join' 'song' 'as' + 't2' 'on' 't1' '.' 'singer_id' '=' 't2' '.' 'singer_id' 'group' 'by' 't1' + '.' 'name' 'having' 'count' '(' '*' ')' '>' 'value']","['What' 'are' 'the' 'names' 'of' 'the' 'singers' 'that' 'have' 'more' + 'than' 'one' 'songs' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1024,singer,"SELECT T1.Name , sum(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name",Show the names of singers and the total sales of their songs.,"['SELECT' 'T1.Name' ',' 'sum' '(' 'T2.Sales' ')' 'FROM' 'singer' 'AS' 'T1' + 'JOIN' 'song' 'AS' 'T2' 'ON' 'T1.Singer_ID' '=' 'T2.Singer_ID' 'GROUP' + 'BY' 'T1.Name']","['select' 't1' '.' 'name' ',' 'sum' '(' 't2' '.' 'sales' ')' 'from' + 'singer' 'as' 't1' 'join' 'song' 'as' 't2' 'on' 't1' '.' 'singer_id' '=' + 't2' '.' 'singer_id' 'group' 'by' 't1' '.' 'name']","['Show' 'the' 'names' 'of' 'singers' 'and' 'the' 'total' 'sales' 'of' + 'their' 'songs' '.']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1025,singer,"SELECT T1.Name , sum(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name","For each singer name, what is the total sales for their songs?","['SELECT' 'T1.Name' ',' 'sum' '(' 'T2.Sales' ')' 'FROM' 'singer' 'AS' 'T1' + 'JOIN' 'song' 'AS' 'T2' 'ON' 'T1.Singer_ID' '=' 'T2.Singer_ID' 'GROUP' + 'BY' 'T1.Name']","['select' 't1' '.' 'name' ',' 'sum' '(' 't2' '.' 'sales' ')' 'from' + 'singer' 'as' 't1' 'join' 'song' 'as' 't2' 'on' 't1' '.' 'singer_id' '=' + 't2' '.' 'singer_id' 'group' 'by' 't1' '.' 'name']","['For' 'each' 'singer' 'name' ',' 'what' 'is' 'the' 'total' 'sales' 'for' + 'their' 'songs' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1026,singer,SELECT Name FROM singer WHERE Singer_ID NOT IN (SELECT Singer_ID FROM song),List the name of singers that do not have any song.,"['SELECT' 'Name' 'FROM' 'singer' 'WHERE' 'Singer_ID' 'NOT' 'IN' '(' + 'SELECT' 'Singer_ID' 'FROM' 'song' ')']","['select' 'name' 'from' 'singer' 'where' 'singer_id' 'not' 'in' '(' + 'select' 'singer_id' 'from' 'song' ')']","['List' 'the' 'name' 'of' 'singers' 'that' 'do' 'not' 'have' 'any' 'song' + '.']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1027,singer,SELECT Name FROM singer WHERE Singer_ID NOT IN (SELECT Singer_ID FROM song),What is the sname of every sing that does not have any song?,"['SELECT' 'Name' 'FROM' 'singer' 'WHERE' 'Singer_ID' 'NOT' 'IN' '(' + 'SELECT' 'Singer_ID' 'FROM' 'song' ')']","['select' 'name' 'from' 'singer' 'where' 'singer_id' 'not' 'in' '(' + 'select' 'singer_id' 'from' 'song' ')']","['What' 'is' 'the' 'sname' 'of' 'every' 'sing' 'that' 'does' 'not' 'have' + 'any' 'song' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1028,singer,SELECT Citizenship FROM singer WHERE Birth_Year < 1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year > 1955,Show the citizenship shared by singers with birth year before 1945 and after 1955.,"['SELECT' 'Citizenship' 'FROM' 'singer' 'WHERE' 'Birth_Year' '<' '1945' + 'INTERSECT' 'SELECT' 'Citizenship' 'FROM' 'singer' 'WHERE' 'Birth_Year' + '>' '1955']","['select' 'citizenship' 'from' 'singer' 'where' 'birth_year' '<' 'value' + 'intersect' 'select' 'citizenship' 'from' 'singer' 'where' 'birth_year' + '>' 'value']","['Show' 'the' 'citizenship' 'shared' 'by' 'singers' 'with' 'birth' 'year' + 'before' '1945' 'and' 'after' '1955' '.']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1029,singer,SELECT Citizenship FROM singer WHERE Birth_Year < 1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year > 1955,What are the citizenships that are shared by singers with a birth year before 1945 and after 1955?,"['SELECT' 'Citizenship' 'FROM' 'singer' 'WHERE' 'Birth_Year' '<' '1945' + 'INTERSECT' 'SELECT' 'Citizenship' 'FROM' 'singer' 'WHERE' 'Birth_Year' + '>' '1955']","['select' 'citizenship' 'from' 'singer' 'where' 'birth_year' '<' 'value' + 'intersect' 'select' 'citizenship' 'from' 'singer' 'where' 'birth_year' + '>' 'value']","['What' 'are' 'the' 'citizenships' 'that' 'are' 'shared' 'by' 'singers' + 'with' 'a' 'birth' 'year' 'before' '1945' 'and' 'after' '1955' '?']","['singer id', 'name', 'birth year', 'net worth millions', 'citizenship', 'song id', 'title', 'singer id', 'sales', 'highest position']" +1030,real_estate_properties,SELECT count(*) FROM Other_Available_Features,How many available features are there in total?,['SELECT' 'count' '(' '*' ')' 'FROM' 'Other_Available_Features'],['select' 'count' '(' '*' ')' 'from' 'other_available_features'],['How' 'many' 'available' 'features' 'are' 'there' 'in' 'total' '?'],"['feature type code', 'feature type name', 'property type code', 'property type description', 'feature id', 'feature type code', 'feature name', 'feature description', 'property id', 'property type code', 'date on market', 'date sold', 'property name', 'property address', 'room count', 'vendor requested price', 'buyer offered price', 'agreed selling price', 'apt feature 1', 'apt feature 2', 'apt feature 3', 'fld feature 1', 'fld feature 2', 'fld feature 3', 'hse feature 1', 'hse feature 2', 'hse feature 3', 'oth feature 1', 'oth feature 2', 'oth feature 3', 'shp feature 1', 'shp feature 2', 'shp feature 3', 'other property details', 'property id', 'feature id', 'property feature description']" +1031,real_estate_properties,"SELECT T2.feature_type_name FROM Other_Available_Features AS T1 JOIN Ref_Feature_Types AS T2 ON T1.feature_type_code = T2.feature_type_code WHERE T1.feature_name = ""AirCon""",What is the feature type name of feature AirCon?,"['SELECT' 'T2.feature_type_name' 'FROM' 'Other_Available_Features' 'AS' + 'T1' 'JOIN' 'Ref_Feature_Types' 'AS' 'T2' 'ON' 'T1.feature_type_code' '=' + 'T2.feature_type_code' 'WHERE' 'T1.feature_name' '=' '``' 'AirCon' ""''""]","['select' 't2' '.' 'feature_type_name' 'from' 'other_available_features' + 'as' 't1' 'join' 'ref_feature_types' 'as' 't2' 'on' 't1' '.' + 'feature_type_code' '=' 't2' '.' 'feature_type_code' 'where' 't1' '.' + 'feature_name' '=' 'value']",['What' 'is' 'the' 'feature' 'type' 'name' 'of' 'feature' 'AirCon' '?'],"['feature type code', 'feature type name', 'property type code', 'property type description', 'feature id', 'feature type code', 'feature name', 'feature description', 'property id', 'property type code', 'date on market', 'date sold', 'property name', 'property address', 'room count', 'vendor requested price', 'buyer offered price', 'agreed selling price', 'apt feature 1', 'apt feature 2', 'apt feature 3', 'fld feature 1', 'fld feature 2', 'fld feature 3', 'hse feature 1', 'hse feature 2', 'hse feature 3', 'oth feature 1', 'oth feature 2', 'oth feature 3', 'shp feature 1', 'shp feature 2', 'shp feature 3', 'other property details', 'property id', 'feature id', 'property feature description']" +1032,real_estate_properties,SELECT T2.property_type_description FROM Properties AS T1 JOIN Ref_Property_Types AS T2 ON T1.property_type_code = T2.property_type_code GROUP BY T1.property_type_code,Show the property type descriptions of properties belonging to that code.,"['SELECT' 'T2.property_type_description' 'FROM' 'Properties' 'AS' 'T1' + 'JOIN' 'Ref_Property_Types' 'AS' 'T2' 'ON' 'T1.property_type_code' '=' + 'T2.property_type_code' 'GROUP' 'BY' 'T1.property_type_code']","['select' 't2' '.' 'property_type_description' 'from' 'properties' 'as' + 't1' 'join' 'ref_property_types' 'as' 't2' 'on' 't1' '.' + 'property_type_code' '=' 't2' '.' 'property_type_code' 'group' 'by' 't1' + '.' 'property_type_code']","['Show' 'the' 'property' 'type' 'descriptions' 'of' 'properties' + 'belonging' 'to' 'that' 'code' '.']","['feature type code', 'feature type name', 'property type code', 'property type description', 'feature id', 'feature type code', 'feature name', 'feature description', 'property id', 'property type code', 'date on market', 'date sold', 'property name', 'property address', 'room count', 'vendor requested price', 'buyer offered price', 'agreed selling price', 'apt feature 1', 'apt feature 2', 'apt feature 3', 'fld feature 1', 'fld feature 2', 'fld feature 3', 'hse feature 1', 'hse feature 2', 'hse feature 3', 'oth feature 1', 'oth feature 2', 'oth feature 3', 'shp feature 1', 'shp feature 2', 'shp feature 3', 'other property details', 'property id', 'feature id', 'property feature description']" +1033,real_estate_properties,"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",What are the names of properties that are either houses or apartments with more than 1 room?,"['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']","['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']","['What' 'are' 'the' 'names' 'of' 'properties' 'that' 'are' 'either' + 'houses' 'or' 'apartments' 'with' 'more' 'than' '1' 'room' '?']","['feature type code', 'feature type name', 'property type code', 'property type description', 'feature id', 'feature type code', 'feature name', 'feature description', 'property id', 'property type code', 'date on market', 'date sold', 'property name', 'property address', 'room count', 'vendor requested price', 'buyer offered price', 'agreed selling price', 'apt feature 1', 'apt feature 2', 'apt feature 3', 'fld feature 1', 'fld feature 2', 'fld feature 3', 'hse feature 1', 'hse feature 2', 'hse feature 3', 'oth feature 1', 'oth feature 2', 'oth feature 3', 'shp feature 1', 'shp feature 2', 'shp feature 3', 'other property details', 'property id', 'feature id', 'property feature description']"