text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
how many times what the position 6th, the competition was super league xvii and played was larger than 27?
### CONTEXT
CREATE TABLE table_name_22 (drawn VARCHAR, played VARCHAR, position VARCHAR, competition VARCHAR)
### ANSWER
SELECT COUNT(drawn) FROM table_name_22 WHERE position = "6th" AND competition = "super league xvii" AND played > 27 | {
"answer": "SELECT COUNT(drawn) FROM table_name_22 WHERE position = \"6th\" AND competition = \"super league xvii\" AND played > 27",
"context": "CREATE TABLE table_name_22 (drawn VARCHAR, played VARCHAR, position VARCHAR, competition VARCHAR)",
"question": "how many times what the position 6th, the competition was super league xvii and played was larger than 27?"
} |
### QUESTION
Name the religion for Former Experience of commissioner of health and assumed office before 2005
### CONTEXT
CREATE TABLE table_name_73 (religion VARCHAR, assumed_office VARCHAR, former_experience VARCHAR)
### ANSWER
SELECT religion FROM table_name_73 WHERE assumed_office < 2005 AND former_experience = "commissioner of health" | {
"answer": "SELECT religion FROM table_name_73 WHERE assumed_office < 2005 AND former_experience = \"commissioner of health\"",
"context": "CREATE TABLE table_name_73 (religion VARCHAR, assumed_office VARCHAR, former_experience VARCHAR)",
"question": "Name the religion for Former Experience of commissioner of health and assumed office before 2005"
} |
### QUESTION
How many seasons have fernando alonso as the driver, and a percentage of possible points of 64.12% and points less than 109?
### CONTEXT
CREATE TABLE table_name_31 (season INTEGER, points VARCHAR, driver VARCHAR, percentage_of_possible_points VARCHAR)
### ANSWER
SELECT SUM(season) FROM table_name_31 WHERE driver = "fernando alonso" AND percentage_of_possible_points = "64.12%" AND points < 109 | {
"answer": "SELECT SUM(season) FROM table_name_31 WHERE driver = \"fernando alonso\" AND percentage_of_possible_points = \"64.12%\" AND points < 109",
"context": "CREATE TABLE table_name_31 (season INTEGER, points VARCHAR, driver VARCHAR, percentage_of_possible_points VARCHAR)",
"question": "How many seasons have fernando alonso as the driver, and a percentage of possible points of 64.12% and points less than 109?"
} |
### QUESTION
Which tournament was held on 9 Jun 2002?
### CONTEXT
CREATE TABLE table_name_57 (tournament VARCHAR, date VARCHAR)
### ANSWER
SELECT tournament FROM table_name_57 WHERE date = "9 jun 2002" | {
"answer": "SELECT tournament FROM table_name_57 WHERE date = \"9 jun 2002\"",
"context": "CREATE TABLE table_name_57 (tournament VARCHAR, date VARCHAR)",
"question": "Which tournament was held on 9 Jun 2002?"
} |
### QUESTION
what is the score when the opponent is fernando vicente?
### CONTEXT
CREATE TABLE table_name_9 (score VARCHAR, opponent VARCHAR)
### ANSWER
SELECT score FROM table_name_9 WHERE opponent = "fernando vicente" | {
"answer": "SELECT score FROM table_name_9 WHERE opponent = \"fernando vicente\"",
"context": "CREATE TABLE table_name_9 (score VARCHAR, opponent VARCHAR)",
"question": "what is the score when the opponent is fernando vicente?"
} |
### QUESTION
Orbital period of 89 to 128 min has what specific orbital energy?
### CONTEXT
CREATE TABLE table_name_73 (specific_orbital_energy VARCHAR, orbital_period VARCHAR)
### ANSWER
SELECT specific_orbital_energy FROM table_name_73 WHERE orbital_period = "89 to 128 min" | {
"answer": "SELECT specific_orbital_energy FROM table_name_73 WHERE orbital_period = \"89 to 128 min\"",
"context": "CREATE TABLE table_name_73 (specific_orbital_energy VARCHAR, orbital_period VARCHAR)",
"question": "Orbital period of 89 to 128 min has what specific orbital energy?"
} |
### QUESTION
What was the record on March 22?
### CONTEXT
CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR)
### ANSWER
SELECT record FROM table_name_58 WHERE date = "march 22" | {
"answer": "SELECT record FROM table_name_58 WHERE date = \"march 22\"",
"context": "CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR)",
"question": "What was the record on March 22?"
} |
### QUESTION
The episode with production code 693-002, has how many original airdates?
### CONTEXT
CREATE TABLE table_26982362_2 (original_airdate VARCHAR, production_code VARCHAR)
### ANSWER
SELECT COUNT(original_airdate) FROM table_26982362_2 WHERE production_code = "693-002" | {
"answer": "SELECT COUNT(original_airdate) FROM table_26982362_2 WHERE production_code = \"693-002\"",
"context": "CREATE TABLE table_26982362_2 (original_airdate VARCHAR, production_code VARCHAR)",
"question": "The episode with production code 693-002, has how many original airdates?"
} |
### QUESTION
What is the average sinclair coefficient with a Sinclair Total of 477.2772023, and a Weight Class (kg) larger than 105?
### CONTEXT
CREATE TABLE table_name_61 (sinclair_coefficient INTEGER, sinclair_total VARCHAR, weight_class__kg_ VARCHAR)
### ANSWER
SELECT AVG(sinclair_coefficient) FROM table_name_61 WHERE sinclair_total = 477.2772023 AND weight_class__kg_ > 105 | {
"answer": "SELECT AVG(sinclair_coefficient) FROM table_name_61 WHERE sinclair_total = 477.2772023 AND weight_class__kg_ > 105",
"context": "CREATE TABLE table_name_61 (sinclair_coefficient INTEGER, sinclair_total VARCHAR, weight_class__kg_ VARCHAR)",
"question": "What is the average sinclair coefficient with a Sinclair Total of 477.2772023, and a Weight Class (kg) larger than 105?"
} |
### QUESTION
What is Club Source [I ], when Name is "Andrew McCombie Category:Articles With hCards"?
### CONTEXT
CREATE TABLE table_name_14 (club_source_ VARCHAR, i_ VARCHAR, name VARCHAR)
### ANSWER
SELECT club_source_[i_] FROM table_name_14 WHERE name = "andrew mccombie category:articles with hcards" | {
"answer": "SELECT club_source_[i_] FROM table_name_14 WHERE name = \"andrew mccombie category:articles with hcards\"",
"context": "CREATE TABLE table_name_14 (club_source_ VARCHAR, i_ VARCHAR, name VARCHAR)",
"question": "What is Club Source [I ], when Name is \"Andrew McCombie Category:Articles With hCards\"?"
} |
### QUESTION
Find the names of the trains that do not pass any station located in London.
### CONTEXT
CREATE TABLE station (station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR); CREATE TABLE train_station (train_id VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR)
### ANSWER
SELECT T2.name FROM train_station AS T1 JOIN train AS T2 ON T1.train_id = T2.train_id WHERE NOT T1.station_id IN (SELECT T4.station_id FROM train_station AS T3 JOIN station AS T4 ON T3.station_id = T4.station_id WHERE t4.location = "London") | {
"answer": "SELECT T2.name FROM train_station AS T1 JOIN train AS T2 ON T1.train_id = T2.train_id WHERE NOT T1.station_id IN (SELECT T4.station_id FROM train_station AS T3 JOIN station AS T4 ON T3.station_id = T4.station_id WHERE t4.location = \"London\")",
"context": "CREATE TABLE station (station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR); CREATE TABLE train_station (train_id VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR)",
"question": "Find the names of the trains that do not pass any station located in London."
} |
### QUESTION
Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotá, and a Score of 6–0, 6–4?
### CONTEXT
CREATE TABLE table_name_51 (opponent VARCHAR, score VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)
### ANSWER
SELECT opponent FROM table_name_51 WHERE surface = "clay" AND outcome = "winner" AND tournament = "bogotá" AND score = "6–0, 6–4" | {
"answer": "SELECT opponent FROM table_name_51 WHERE surface = \"clay\" AND outcome = \"winner\" AND tournament = \"bogotá\" AND score = \"6–0, 6–4\"",
"context": "CREATE TABLE table_name_51 (opponent VARCHAR, score VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)",
"question": "Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotá, and a Score of 6–0, 6–4?"
} |
### QUESTION
Who was the colour commmentator that broadcasted along with the Play-by-play of bob cole?
### CONTEXT
CREATE TABLE table_name_1 (colour_commentator_s_ VARCHAR, play_by_play VARCHAR)
### ANSWER
SELECT colour_commentator_s_ FROM table_name_1 WHERE play_by_play = "bob cole" | {
"answer": "SELECT colour_commentator_s_ FROM table_name_1 WHERE play_by_play = \"bob cole\"",
"context": "CREATE TABLE table_name_1 (colour_commentator_s_ VARCHAR, play_by_play VARCHAR)",
"question": "Who was the colour commmentator that broadcasted along with the Play-by-play of bob cole?"
} |
### QUESTION
What is the Format with a Catalog that is vcrd 103?
### CONTEXT
CREATE TABLE table_name_78 (format VARCHAR, catalog VARCHAR)
### ANSWER
SELECT format FROM table_name_78 WHERE catalog = "vcrd 103" | {
"answer": "SELECT format FROM table_name_78 WHERE catalog = \"vcrd 103\"",
"context": "CREATE TABLE table_name_78 (format VARCHAR, catalog VARCHAR)",
"question": "What is the Format with a Catalog that is vcrd 103?"
} |
### QUESTION
What are the details and opening hours of the museums?
### CONTEXT
CREATE TABLE TOURIST_ATTRACTIONS (Opening_Hours VARCHAR, Tourist_Attraction_ID VARCHAR); CREATE TABLE MUSEUMS (Museum_Details VARCHAR, Museum_ID VARCHAR)
### ANSWER
SELECT T1.Museum_Details, T2.Opening_Hours FROM MUSEUMS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Museum_ID = T2.Tourist_Attraction_ID | {
"answer": "SELECT T1.Museum_Details, T2.Opening_Hours FROM MUSEUMS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Museum_ID = T2.Tourist_Attraction_ID",
"context": "CREATE TABLE TOURIST_ATTRACTIONS (Opening_Hours VARCHAR, Tourist_Attraction_ID VARCHAR); CREATE TABLE MUSEUMS (Museum_Details VARCHAR, Museum_ID VARCHAR)",
"question": "What are the details and opening hours of the museums?"
} |
### QUESTION
Find the minimum salary for the departments whose average salary is above the average payment of all instructors.
### CONTEXT
CREATE TABLE instructor (dept_name VARCHAR, salary INTEGER)
### ANSWER
SELECT MIN(salary), dept_name FROM instructor GROUP BY dept_name HAVING AVG(salary) > (SELECT AVG(salary) FROM instructor) | {
"answer": "SELECT MIN(salary), dept_name FROM instructor GROUP BY dept_name HAVING AVG(salary) > (SELECT AVG(salary) FROM instructor)",
"context": "CREATE TABLE instructor (dept_name VARCHAR, salary INTEGER)",
"question": "Find the minimum salary for the departments whose average salary is above the average payment of all instructors."
} |
### QUESTION
What is the number of passengers in millions that have traveled a distance of 1075km?
### CONTEXT
CREATE TABLE table_name_56 (distance VARCHAR)
### ANSWER
SELECT COUNT(*) FROM table_name_56 WHERE distance = "1075km" | {
"answer": "SELECT COUNT(*) FROM table_name_56 WHERE distance = \"1075km\"",
"context": "CREATE TABLE table_name_56 (distance VARCHAR)",
"question": "What is the number of passengers in millions that have traveled a distance of 1075km?"
} |
### QUESTION
Who was the visiting team on weeks under 12 and at Sports Authority Field at Mile High?
### CONTEXT
CREATE TABLE table_name_24 (visiting_team VARCHAR, week VARCHAR, stadium VARCHAR)
### ANSWER
SELECT visiting_team FROM table_name_24 WHERE week < 12 AND stadium = "sports authority field at mile high" | {
"answer": "SELECT visiting_team FROM table_name_24 WHERE week < 12 AND stadium = \"sports authority field at mile high\"",
"context": "CREATE TABLE table_name_24 (visiting_team VARCHAR, week VARCHAR, stadium VARCHAR)",
"question": "Who was the visiting team on weeks under 12 and at Sports Authority Field at Mile High?"
} |
### QUESTION
What is the y = 2011 when the expression is month = floor ((d + e + 114) / 31)?
### CONTEXT
CREATE TABLE table_214479_8 (y_ VARCHAR, _2011 VARCHAR, expression VARCHAR, month VARCHAR, d VARCHAR, e VARCHAR)
### ANSWER
SELECT y_ = _2011 FROM table_214479_8 WHERE expression = month = FLOOR((d + e + 114) / 31) | {
"answer": "SELECT y_ = _2011 FROM table_214479_8 WHERE expression = month = FLOOR((d + e + 114) / 31)",
"context": "CREATE TABLE table_214479_8 (y_ VARCHAR, _2011 VARCHAR, expression VARCHAR, month VARCHAR, d VARCHAR, e VARCHAR)",
"question": "What is the y = 2011 when the expression is month = floor ((d + e + 114) / 31)?"
} |
### QUESTION
Who currently affiliates in San Francisco - Oakland - San Jose?
### CONTEXT
CREATE TABLE table_1553485_1 (current_affiliation VARCHAR, city_of_license__market VARCHAR)
### ANSWER
SELECT current_affiliation FROM table_1553485_1 WHERE city_of_license__market = "San Francisco - Oakland - San Jose" | {
"answer": "SELECT current_affiliation FROM table_1553485_1 WHERE city_of_license__market = \"San Francisco - Oakland - San Jose\"",
"context": "CREATE TABLE table_1553485_1 (current_affiliation VARCHAR, city_of_license__market VARCHAR)",
"question": "Who currently affiliates in San Francisco - Oakland - San Jose?"
} |
### QUESTION
Who's the player with 2:05.63 (1296 pts) swimming score?
### CONTEXT
CREATE TABLE table_12407546_1 (athlete__noc_ VARCHAR, swimming VARCHAR)
### ANSWER
SELECT athlete__noc_ FROM table_12407546_1 WHERE swimming = "2:05.63 (1296 pts)" | {
"answer": "SELECT athlete__noc_ FROM table_12407546_1 WHERE swimming = \"2:05.63 (1296 pts)\"",
"context": "CREATE TABLE table_12407546_1 (athlete__noc_ VARCHAR, swimming VARCHAR)",
"question": "Who's the player with 2:05.63 (1296 pts) swimming score?"
} |
### QUESTION
Which role had a closing broadway cast of Adam Grupper?
### CONTEXT
CREATE TABLE table_name_78 (role VARCHAR, closing_broadway_cast VARCHAR)
### ANSWER
SELECT role FROM table_name_78 WHERE closing_broadway_cast = "adam grupper" | {
"answer": "SELECT role FROM table_name_78 WHERE closing_broadway_cast = \"adam grupper\"",
"context": "CREATE TABLE table_name_78 (role VARCHAR, closing_broadway_cast VARCHAR)",
"question": "Which role had a closing broadway cast of Adam Grupper?"
} |
### QUESTION
what is the lowest qualifying rank?
### CONTEXT
CREATE TABLE table_13114949_3 (qualifying_rank INTEGER)
### ANSWER
SELECT MIN(qualifying_rank) FROM table_13114949_3 | {
"answer": "SELECT MIN(qualifying_rank) FROM table_13114949_3",
"context": "CREATE TABLE table_13114949_3 (qualifying_rank INTEGER)",
"question": "what is the lowest qualifying rank?"
} |
### QUESTION
Which song was chosen during the audition week?
### CONTEXT
CREATE TABLE table_29756040_1 (song_choice VARCHAR, week__number VARCHAR)
### ANSWER
SELECT song_choice FROM table_29756040_1 WHERE week__number = "Audition" | {
"answer": "SELECT song_choice FROM table_29756040_1 WHERE week__number = \"Audition\"",
"context": "CREATE TABLE table_29756040_1 (song_choice VARCHAR, week__number VARCHAR)",
"question": "Which song was chosen during the audition week?"
} |
### QUESTION
On what date did the match against Flavio Cipolla, played on a clay surface, occur?
### CONTEXT
CREATE TABLE table_name_58 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
### ANSWER
SELECT date FROM table_name_58 WHERE surface = "clay" AND opponent_in_the_final = "flavio cipolla" | {
"answer": "SELECT date FROM table_name_58 WHERE surface = \"clay\" AND opponent_in_the_final = \"flavio cipolla\"",
"context": "CREATE TABLE table_name_58 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)",
"question": "On what date did the match against Flavio Cipolla, played on a clay surface, occur?"
} |
### QUESTION
Name the number of proto austronesian for *natu
### CONTEXT
CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, proto_oceanic VARCHAR)
### ANSWER
SELECT COUNT(proto_austronesian) FROM table_15568886_14 WHERE proto_oceanic = "*natu" | {
"answer": "SELECT COUNT(proto_austronesian) FROM table_15568886_14 WHERE proto_oceanic = \"*natu\"",
"context": "CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, proto_oceanic VARCHAR)",
"question": "Name the number of proto austronesian for *natu"
} |
### QUESTION
Which Home has an Away of hispano?
### CONTEXT
CREATE TABLE table_name_62 (home VARCHAR, away VARCHAR)
### ANSWER
SELECT home FROM table_name_62 WHERE away = "hispano" | {
"answer": "SELECT home FROM table_name_62 WHERE away = \"hispano\"",
"context": "CREATE TABLE table_name_62 (home VARCHAR, away VARCHAR)",
"question": "Which Home has an Away of hispano?"
} |
### QUESTION
What's the average Grid for those who spun off after Lap 64?
### CONTEXT
CREATE TABLE table_name_68 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
### ANSWER
SELECT AVG(grid) FROM table_name_68 WHERE time_retired = "spun off" AND laps > 64 | {
"answer": "SELECT AVG(grid) FROM table_name_68 WHERE time_retired = \"spun off\" AND laps > 64",
"context": "CREATE TABLE table_name_68 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)",
"question": "What's the average Grid for those who spun off after Lap 64?"
} |
### QUESTION
which episode was Transmitted on friday if the episode of "414 insanely twisted shadow planet" was transmitted on tuesday?
### CONTEXT
CREATE TABLE table_18173916_8 (friday VARCHAR, tuesday VARCHAR)
### ANSWER
SELECT friday FROM table_18173916_8 WHERE tuesday = "414 Insanely Twisted Shadow Planet" | {
"answer": "SELECT friday FROM table_18173916_8 WHERE tuesday = \"414 Insanely Twisted Shadow Planet\"",
"context": "CREATE TABLE table_18173916_8 (friday VARCHAR, tuesday VARCHAR)",
"question": "which episode was Transmitted on friday if the episode of \"414 insanely twisted shadow planet\" was transmitted on tuesday? "
} |
### QUESTION
What week was October 29, 2000?
### CONTEXT
CREATE TABLE table_name_2 (week VARCHAR, date VARCHAR)
### ANSWER
SELECT COUNT(week) FROM table_name_2 WHERE date = "october 29, 2000" | {
"answer": "SELECT COUNT(week) FROM table_name_2 WHERE date = \"october 29, 2000\"",
"context": "CREATE TABLE table_name_2 (week VARCHAR, date VARCHAR)",
"question": "What week was October 29, 2000?"
} |
### QUESTION
For the prior occupation listed as assistant police commissioner (ret'd) what are the entire list of romanised name.
### CONTEXT
CREATE TABLE table_17964087_2 (romanised_name VARCHAR, prior_occupation VARCHAR)
### ANSWER
SELECT romanised_name FROM table_17964087_2 WHERE prior_occupation = "Assistant Police Commissioner (ret'd)" | {
"answer": "SELECT romanised_name FROM table_17964087_2 WHERE prior_occupation = \"Assistant Police Commissioner (ret'd)\"",
"context": "CREATE TABLE table_17964087_2 (romanised_name VARCHAR, prior_occupation VARCHAR)",
"question": "For the prior occupation listed as assistant police commissioner (ret'd) what are the entire list of romanised name. "
} |
### QUESTION
Which gender had a decile of more than 1 and featured the South Auckland Seventh-Day Adventist School?
### CONTEXT
CREATE TABLE table_name_16 (gender VARCHAR, decile VARCHAR, name VARCHAR)
### ANSWER
SELECT gender FROM table_name_16 WHERE decile > 1 AND name = "south auckland seventh-day adventist school" | {
"answer": "SELECT gender FROM table_name_16 WHERE decile > 1 AND name = \"south auckland seventh-day adventist school\"",
"context": "CREATE TABLE table_name_16 (gender VARCHAR, decile VARCHAR, name VARCHAR)",
"question": "Which gender had a decile of more than 1 and featured the South Auckland Seventh-Day Adventist School?"
} |
### QUESTION
What is Incumbent, when Results is "Re-Elected", when Party is "Democratic", and when District is "Minnesota 7"?
### CONTEXT
CREATE TABLE table_name_75 (incumbent VARCHAR, district VARCHAR, results VARCHAR, party VARCHAR)
### ANSWER
SELECT incumbent FROM table_name_75 WHERE results = "re-elected" AND party = "democratic" AND district = "minnesota 7" | {
"answer": "SELECT incumbent FROM table_name_75 WHERE results = \"re-elected\" AND party = \"democratic\" AND district = \"minnesota 7\"",
"context": "CREATE TABLE table_name_75 (incumbent VARCHAR, district VARCHAR, results VARCHAR, party VARCHAR)",
"question": "What is Incumbent, when Results is \"Re-Elected\", when Party is \"Democratic\", and when District is \"Minnesota 7\"?"
} |
### QUESTION
Which Time has a Year larger than 1985, and a Place smaller than 2, and an Athlete of riochy sekiya?
### CONTEXT
CREATE TABLE table_name_60 (time VARCHAR, athlete VARCHAR, year VARCHAR, place VARCHAR)
### ANSWER
SELECT time FROM table_name_60 WHERE year > 1985 AND place < 2 AND athlete = "riochy sekiya" | {
"answer": "SELECT time FROM table_name_60 WHERE year > 1985 AND place < 2 AND athlete = \"riochy sekiya\"",
"context": "CREATE TABLE table_name_60 (time VARCHAR, athlete VARCHAR, year VARCHAR, place VARCHAR)",
"question": "Which Time has a Year larger than 1985, and a Place smaller than 2, and an Athlete of riochy sekiya?"
} |
### QUESTION
What was the first elected year that featured incumbent andrew r. govan?
### CONTEXT
CREATE TABLE table_2668264_22 (first_elected VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT first_elected FROM table_2668264_22 WHERE incumbent = "Andrew R. Govan" | {
"answer": "SELECT first_elected FROM table_2668264_22 WHERE incumbent = \"Andrew R. Govan\"",
"context": "CREATE TABLE table_2668264_22 (first_elected VARCHAR, incumbent VARCHAR)",
"question": "What was the first elected year that featured incumbent andrew r. govan?"
} |
### QUESTION
Which city has a school of North Vernon and a county of 40 Jennings?
### CONTEXT
CREATE TABLE table_name_48 (city VARCHAR, county VARCHAR, school VARCHAR)
### ANSWER
SELECT city FROM table_name_48 WHERE county = "40 jennings" AND school = "north vernon" | {
"answer": "SELECT city FROM table_name_48 WHERE county = \"40 jennings\" AND school = \"north vernon\"",
"context": "CREATE TABLE table_name_48 (city VARCHAR, county VARCHAR, school VARCHAR)",
"question": "Which city has a school of North Vernon and a county of 40 Jennings?"
} |
### QUESTION
How many wins has a podiums greater than 1 and 9 as the races with a season after 1984?
### CONTEXT
CREATE TABLE table_name_13 (wins VARCHAR, season VARCHAR, podiums VARCHAR, races VARCHAR)
### ANSWER
SELECT COUNT(wins) FROM table_name_13 WHERE podiums > 1 AND races = 9 AND season > 1984 | {
"answer": "SELECT COUNT(wins) FROM table_name_13 WHERE podiums > 1 AND races = 9 AND season > 1984",
"context": "CREATE TABLE table_name_13 (wins VARCHAR, season VARCHAR, podiums VARCHAR, races VARCHAR)",
"question": "How many wins has a podiums greater than 1 and 9 as the races with a season after 1984?"
} |
### QUESTION
Show the station name and number of trains in each station.
### CONTEXT
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)
### ANSWER
SELECT T2.name, COUNT(*) FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id | {
"answer": "SELECT T2.name, COUNT(*) FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id",
"context": "CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)",
"question": "Show the station name and number of trains in each station."
} |
### QUESTION
What is the goal difference when there are fewer than 12 wins, 32 goals against and 8 draws?
### CONTEXT
CREATE TABLE table_name_3 (goal_difference INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR)
### ANSWER
SELECT SUM(goal_difference) FROM table_name_3 WHERE draws = 8 AND goals_against = 32 AND wins < 12 | {
"answer": "SELECT SUM(goal_difference) FROM table_name_3 WHERE draws = 8 AND goals_against = 32 AND wins < 12",
"context": "CREATE TABLE table_name_3 (goal_difference INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR)",
"question": "What is the goal difference when there are fewer than 12 wins, 32 goals against and 8 draws?"
} |
### QUESTION
Name the class aaaaa for 2005-06
### CONTEXT
CREATE TABLE table_14601528_2 (class_aAAAA VARCHAR, school_year VARCHAR)
### ANSWER
SELECT class_aAAAA FROM table_14601528_2 WHERE school_year = "2005-06" | {
"answer": "SELECT class_aAAAA FROM table_14601528_2 WHERE school_year = \"2005-06\"",
"context": "CREATE TABLE table_14601528_2 (class_aAAAA VARCHAR, school_year VARCHAR)",
"question": "Name the class aaaaa for 2005-06"
} |
### QUESTION
What is the grid for the driver with an electrical time/retired and 51 laps?
### CONTEXT
CREATE TABLE table_name_43 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
### ANSWER
SELECT grid FROM table_name_43 WHERE time_retired = "electrical" AND laps = 51 | {
"answer": "SELECT grid FROM table_name_43 WHERE time_retired = \"electrical\" AND laps = 51",
"context": "CREATE TABLE table_name_43 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)",
"question": "What is the grid for the driver with an electrical time/retired and 51 laps?"
} |
### QUESTION
what is the most amount of cattle where they live in british columbia
### CONTEXT
CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)
### ANSWER
SELECT MAX(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "British Columbia" | {
"answer": "SELECT MAX(number_of_dairy_cows) FROM table_29012710_1 WHERE province = \"British Columbia\"",
"context": "CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)",
"question": "what is the most amount of cattle where they live in british columbia"
} |
### QUESTION
Which Franchise has a Percentage under 0.707, a Year larger than 1931, and the Finish was won 1998 World Series?
### CONTEXT
CREATE TABLE table_name_29 (franchise VARCHAR, finish VARCHAR, percentage VARCHAR, year VARCHAR)
### ANSWER
SELECT franchise FROM table_name_29 WHERE percentage < 0.707 AND year > 1931 AND finish = "won 1998 world series" | {
"answer": "SELECT franchise FROM table_name_29 WHERE percentage < 0.707 AND year > 1931 AND finish = \"won 1998 world series\"",
"context": "CREATE TABLE table_name_29 (franchise VARCHAR, finish VARCHAR, percentage VARCHAR, year VARCHAR)",
"question": "Which Franchise has a Percentage under 0.707, a Year larger than 1931, and the Finish was won 1998 World Series?"
} |
### QUESTION
Tell me the calls for frequency of 1290 khz
### CONTEXT
CREATE TABLE table_name_88 (calls VARCHAR, frequency VARCHAR)
### ANSWER
SELECT calls FROM table_name_88 WHERE frequency = "1290 khz" | {
"answer": "SELECT calls FROM table_name_88 WHERE frequency = \"1290 khz\"",
"context": "CREATE TABLE table_name_88 (calls VARCHAR, frequency VARCHAR)",
"question": "Tell me the calls for frequency of 1290 khz"
} |
### QUESTION
Which Loss has a Last 5 of 4-1, a Streak of w2, and a PA per game smaller than 88.43?
### CONTEXT
CREATE TABLE table_name_80 (loss INTEGER, pa_per_game VARCHAR, last_5 VARCHAR, streak VARCHAR)
### ANSWER
SELECT AVG(loss) FROM table_name_80 WHERE last_5 = "4-1" AND streak = "w2" AND pa_per_game < 88.43 | {
"answer": "SELECT AVG(loss) FROM table_name_80 WHERE last_5 = \"4-1\" AND streak = \"w2\" AND pa_per_game < 88.43",
"context": "CREATE TABLE table_name_80 (loss INTEGER, pa_per_game VARCHAR, last_5 VARCHAR, streak VARCHAR)",
"question": "Which Loss has a Last 5 of 4-1, a Streak of w2, and a PA per game smaller than 88.43?"
} |
### QUESTION
What is the class of team liqui moly equipe, which has less than 71 laps?
### CONTEXT
CREATE TABLE table_name_85 (class VARCHAR, laps VARCHAR, team VARCHAR)
### ANSWER
SELECT class FROM table_name_85 WHERE laps < 71 AND team = "liqui moly equipe" | {
"answer": "SELECT class FROM table_name_85 WHERE laps < 71 AND team = \"liqui moly equipe\"",
"context": "CREATE TABLE table_name_85 (class VARCHAR, laps VARCHAR, team VARCHAR)",
"question": "What is the class of team liqui moly equipe, which has less than 71 laps?"
} |
### QUESTION
what is the venue when the result is loss and the opponent is st george-illawarra dragons?
### CONTEXT
CREATE TABLE table_name_58 (venue VARCHAR, result VARCHAR, opponent VARCHAR)
### ANSWER
SELECT venue FROM table_name_58 WHERE result = "loss" AND opponent = "st george-illawarra dragons" | {
"answer": "SELECT venue FROM table_name_58 WHERE result = \"loss\" AND opponent = \"st george-illawarra dragons\"",
"context": "CREATE TABLE table_name_58 (venue VARCHAR, result VARCHAR, opponent VARCHAR)",
"question": "what is the venue when the result is loss and the opponent is st george-illawarra dragons?"
} |
### QUESTION
Who is the coach of the team from Port Pirie?
### CONTEXT
CREATE TABLE table_name_6 (coach VARCHAR, location VARCHAR)
### ANSWER
SELECT coach FROM table_name_6 WHERE location = "port pirie" | {
"answer": "SELECT coach FROM table_name_6 WHERE location = \"port pirie\"",
"context": "CREATE TABLE table_name_6 (coach VARCHAR, location VARCHAR)",
"question": "Who is the coach of the team from Port Pirie?"
} |
### QUESTION
What high assists has the high points of andrew bynum (23)?
### CONTEXT
CREATE TABLE table_name_71 (high_assists VARCHAR, high_points VARCHAR)
### ANSWER
SELECT high_assists FROM table_name_71 WHERE high_points = "andrew bynum (23)" | {
"answer": "SELECT high_assists FROM table_name_71 WHERE high_points = \"andrew bynum (23)\"",
"context": "CREATE TABLE table_name_71 (high_assists VARCHAR, high_points VARCHAR)",
"question": "What high assists has the high points of andrew bynum (23)?"
} |
### QUESTION
Show the number of cities in counties that have a population more than 20000.
### CONTEXT
CREATE TABLE county_public_safety (county_ID VARCHAR, population INTEGER); CREATE TABLE city (county_ID VARCHAR, population INTEGER)
### ANSWER
SELECT COUNT(*) FROM city WHERE county_ID IN (SELECT county_ID FROM county_public_safety WHERE population > 20000) | {
"answer": "SELECT COUNT(*) FROM city WHERE county_ID IN (SELECT county_ID FROM county_public_safety WHERE population > 20000)",
"context": "CREATE TABLE county_public_safety (county_ID VARCHAR, population INTEGER); CREATE TABLE city (county_ID VARCHAR, population INTEGER)",
"question": "Show the number of cities in counties that have a population more than 20000."
} |
### QUESTION
What is the percentage of others when McCain is at 57.7%
### CONTEXT
CREATE TABLE table_20573232_1 (others_percentage VARCHAR, mccain_percentage VARCHAR)
### ANSWER
SELECT others_percentage FROM table_20573232_1 WHERE mccain_percentage = "57.7%" | {
"answer": "SELECT others_percentage FROM table_20573232_1 WHERE mccain_percentage = \"57.7%\"",
"context": "CREATE TABLE table_20573232_1 (others_percentage VARCHAR, mccain_percentage VARCHAR)",
"question": "What is the percentage of others when McCain is at 57.7%"
} |
### QUESTION
What is the name of the national final main host when the semi final/heat host shows internal selection in 2011?
### CONTEXT
CREATE TABLE table_name_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)
### ANSWER
SELECT national_final_main_host FROM table_name_83 WHERE semi_final_heat_host = "internal selection" AND year_s_ = "2011" | {
"answer": "SELECT national_final_main_host FROM table_name_83 WHERE semi_final_heat_host = \"internal selection\" AND year_s_ = \"2011\"",
"context": "CREATE TABLE table_name_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)",
"question": "What is the name of the national final main host when the semi final/heat host shows internal selection in 2011?"
} |
### QUESTION
Who drives a BMW Sauber with a Grid larger than 2 and a Time/Retired of +15.037?
### CONTEXT
CREATE TABLE table_name_37 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)
### ANSWER
SELECT driver FROM table_name_37 WHERE grid > 2 AND constructor = "bmw sauber" AND time_retired = "+15.037" | {
"answer": "SELECT driver FROM table_name_37 WHERE grid > 2 AND constructor = \"bmw sauber\" AND time_retired = \"+15.037\"",
"context": "CREATE TABLE table_name_37 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)",
"question": "Who drives a BMW Sauber with a Grid larger than 2 and a Time/Retired of +15.037?"
} |
### QUESTION
What is the abbreviation for the sign of Capricorn?
### CONTEXT
CREATE TABLE table_name_22 (abbr VARCHAR, zodiac_sign VARCHAR)
### ANSWER
SELECT abbr FROM table_name_22 WHERE zodiac_sign = "capricorn" | {
"answer": "SELECT abbr FROM table_name_22 WHERE zodiac_sign = \"capricorn\"",
"context": "CREATE TABLE table_name_22 (abbr VARCHAR, zodiac_sign VARCHAR)",
"question": "What is the abbreviation for the sign of Capricorn?"
} |
### QUESTION
WHAT IS THE TYPE OF LAND WITH A 2007 POPULATION SMALLER THAN 4346, 2010 POPULATION LARGER THAN 3385, FROM BARANGAY OF MANALONGON?
### CONTEXT
CREATE TABLE table_name_10 (geographic_character VARCHAR, barangay VARCHAR, population__2007_ VARCHAR, population__2010_ VARCHAR)
### ANSWER
SELECT geographic_character FROM table_name_10 WHERE population__2007_ < 4346 AND population__2010_ > 3385 AND barangay = "manalongon" | {
"answer": "SELECT geographic_character FROM table_name_10 WHERE population__2007_ < 4346 AND population__2010_ > 3385 AND barangay = \"manalongon\"",
"context": "CREATE TABLE table_name_10 (geographic_character VARCHAR, barangay VARCHAR, population__2007_ VARCHAR, population__2010_ VARCHAR)",
"question": "WHAT IS THE TYPE OF LAND WITH A 2007 POPULATION SMALLER THAN 4346, 2010 POPULATION LARGER THAN 3385, FROM BARANGAY OF MANALONGON?"
} |
### QUESTION
Name the extra points for left guard
### CONTEXT
CREATE TABLE table_14342592_8 (extra_points VARCHAR, position VARCHAR)
### ANSWER
SELECT extra_points FROM table_14342592_8 WHERE position = "Left guard" | {
"answer": "SELECT extra_points FROM table_14342592_8 WHERE position = \"Left guard\"",
"context": "CREATE TABLE table_14342592_8 (extra_points VARCHAR, position VARCHAR)",
"question": "Name the extra points for left guard"
} |
### QUESTION
What is the Former local authority for Ecclesfield?
### CONTEXT
CREATE TABLE table_name_96 (former_local_authority VARCHAR, name VARCHAR)
### ANSWER
SELECT former_local_authority FROM table_name_96 WHERE name = "ecclesfield" | {
"answer": "SELECT former_local_authority FROM table_name_96 WHERE name = \"ecclesfield\"",
"context": "CREATE TABLE table_name_96 (former_local_authority VARCHAR, name VARCHAR)",
"question": "What is the Former local authority for Ecclesfield?"
} |
### QUESTION
On what date did Fleetcenter have a game lower than 9 with a score of 104-94?
### CONTEXT
CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR)
### ANSWER
SELECT date FROM table_name_59 WHERE location = "fleetcenter" AND game < 9 AND score = "104-94" | {
"answer": "SELECT date FROM table_name_59 WHERE location = \"fleetcenter\" AND game < 9 AND score = \"104-94\"",
"context": "CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR)",
"question": "On what date did Fleetcenter have a game lower than 9 with a score of 104-94?"
} |
### QUESTION
Who was the opponent in London, England in a round less than 2?
### CONTEXT
CREATE TABLE table_name_62 (opponent VARCHAR, location VARCHAR, round VARCHAR)
### ANSWER
SELECT opponent FROM table_name_62 WHERE location = "london, england" AND round < 2 | {
"answer": "SELECT opponent FROM table_name_62 WHERE location = \"london, england\" AND round < 2",
"context": "CREATE TABLE table_name_62 (opponent VARCHAR, location VARCHAR, round VARCHAR)",
"question": "Who was the opponent in London, England in a round less than 2?"
} |
### QUESTION
Name the nominated work for 1996 and festival of black maria film and video festival
### CONTEXT
CREATE TABLE table_name_7 (nominated_work VARCHAR, year VARCHAR, festival VARCHAR)
### ANSWER
SELECT nominated_work FROM table_name_7 WHERE year = 1996 AND festival = "black maria film and video festival" | {
"answer": "SELECT nominated_work FROM table_name_7 WHERE year = 1996 AND festival = \"black maria film and video festival\"",
"context": "CREATE TABLE table_name_7 (nominated_work VARCHAR, year VARCHAR, festival VARCHAR)",
"question": "Name the nominated work for 1996 and festival of black maria film and video festival"
} |
### QUESTION
What is the result of the europe/africa group i, round robin game in Murcia (esp) before 1999?
### CONTEXT
CREATE TABLE table_name_9 (result VARCHAR, competition VARCHAR, location VARCHAR, year VARCHAR)
### ANSWER
SELECT result FROM table_name_9 WHERE location = "murcia (esp)" AND year < 1999 AND competition = "europe/africa group i, round robin" | {
"answer": "SELECT result FROM table_name_9 WHERE location = \"murcia (esp)\" AND year < 1999 AND competition = \"europe/africa group i, round robin\"",
"context": "CREATE TABLE table_name_9 (result VARCHAR, competition VARCHAR, location VARCHAR, year VARCHAR)",
"question": "What is the result of the europe/africa group i, round robin game in Murcia (esp) before 1999?"
} |
### QUESTION
Which text has traditional characters of 心如猨猴?
### CONTEXT
CREATE TABLE table_name_47 (text VARCHAR, traditional_characters VARCHAR)
### ANSWER
SELECT text FROM table_name_47 WHERE traditional_characters = "心如猨猴" | {
"answer": "SELECT text FROM table_name_47 WHERE traditional_characters = \"心如猨猴\"",
"context": "CREATE TABLE table_name_47 (text VARCHAR, traditional_characters VARCHAR)",
"question": "Which text has traditional characters of 心如猨猴?"
} |
### QUESTION
What is the highest total with a t12 finish?
### CONTEXT
CREATE TABLE table_name_61 (total INTEGER, finish VARCHAR)
### ANSWER
SELECT MAX(total) FROM table_name_61 WHERE finish = "t12" | {
"answer": "SELECT MAX(total) FROM table_name_61 WHERE finish = \"t12\"",
"context": "CREATE TABLE table_name_61 (total INTEGER, finish VARCHAR)",
"question": "What is the highest total with a t12 finish?"
} |
### QUESTION
who is the incumbent where the candidates is william v. chappell, jr. (d) unopposed?
### CONTEXT
CREATE TABLE table_1341672_10 (incumbent VARCHAR, candidates VARCHAR)
### ANSWER
SELECT incumbent FROM table_1341672_10 WHERE candidates = "William V. Chappell, Jr. (D) Unopposed" | {
"answer": "SELECT incumbent FROM table_1341672_10 WHERE candidates = \"William V. Chappell, Jr. (D) Unopposed\"",
"context": "CREATE TABLE table_1341672_10 (incumbent VARCHAR, candidates VARCHAR)",
"question": "who is the incumbent where the candidates is william v. chappell, jr. (d) unopposed?"
} |
### QUESTION
What Label has a Format of cd, and a Catalog of crgd 86136?
### CONTEXT
CREATE TABLE table_name_88 (label VARCHAR, format VARCHAR, catalog VARCHAR)
### ANSWER
SELECT label FROM table_name_88 WHERE format = "cd" AND catalog = "crgd 86136" | {
"answer": "SELECT label FROM table_name_88 WHERE format = \"cd\" AND catalog = \"crgd 86136\"",
"context": "CREATE TABLE table_name_88 (label VARCHAR, format VARCHAR, catalog VARCHAR)",
"question": "What Label has a Format of cd, and a Catalog of crgd 86136?"
} |
### QUESTION
What is the total number of Points that Peter Whitehead earned in a Ferrari 125?
### CONTEXT
CREATE TABLE table_name_42 (points INTEGER, entrant VARCHAR, chassis VARCHAR)
### ANSWER
SELECT SUM(points) FROM table_name_42 WHERE entrant = "peter whitehead" AND chassis = "ferrari 125" | {
"answer": "SELECT SUM(points) FROM table_name_42 WHERE entrant = \"peter whitehead\" AND chassis = \"ferrari 125\"",
"context": "CREATE TABLE table_name_42 (points INTEGER, entrant VARCHAR, chassis VARCHAR)",
"question": "What is the total number of Points that Peter Whitehead earned in a Ferrari 125?"
} |
### QUESTION
Which nationality is the player from the Philadelphia Flyers?
### CONTEXT
CREATE TABLE table_1473672_3 (nationality VARCHAR, nhl_team VARCHAR)
### ANSWER
SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers" | {
"answer": "SELECT nationality FROM table_1473672_3 WHERE nhl_team = \"Philadelphia Flyers\"",
"context": "CREATE TABLE table_1473672_3 (nationality VARCHAR, nhl_team VARCHAR)",
"question": "Which nationality is the player from the Philadelphia Flyers?"
} |
### QUESTION
What's the highest reign on march 10, 2007?
### CONTEXT
CREATE TABLE table_name_66 (reign INTEGER, date VARCHAR)
### ANSWER
SELECT MAX(reign) FROM table_name_66 WHERE date = "march 10, 2007" | {
"answer": "SELECT MAX(reign) FROM table_name_66 WHERE date = \"march 10, 2007\"",
"context": "CREATE TABLE table_name_66 (reign INTEGER, date VARCHAR)",
"question": "What's the highest reign on march 10, 2007?"
} |
### QUESTION
What is the length of the highway with junctions i-35 us 83 and named us 83 bus.?
### CONTEXT
CREATE TABLE table_name_25 (length VARCHAR, junctions VARCHAR, route_name VARCHAR)
### ANSWER
SELECT length FROM table_name_25 WHERE junctions = "i-35 us 83" AND route_name = "us 83 bus." | {
"answer": "SELECT length FROM table_name_25 WHERE junctions = \"i-35 us 83\" AND route_name = \"us 83 bus.\"",
"context": "CREATE TABLE table_name_25 (length VARCHAR, junctions VARCHAR, route_name VARCHAR)",
"question": "What is the length of the highway with junctions i-35 us 83 and named us 83 bus.?"
} |
### QUESTION
What was the year date when one of the opponents in the final was bahrami leconte and score in the final is 7–6 2 , 6–1?
### CONTEXT
CREATE TABLE table_22597626_17 (year INTEGER, opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_22597626_17 WHERE opponents_in_the_final = "Bahrami Leconte" AND score_in_the_final = "7–6 2 , 6–1" | {
"answer": "SELECT MIN(year) FROM table_22597626_17 WHERE opponents_in_the_final = \"Bahrami Leconte\" AND score_in_the_final = \"7–6 2 , 6–1\"",
"context": "CREATE TABLE table_22597626_17 (year INTEGER, opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)",
"question": "What was the year date when one of the opponents in the final was bahrami leconte and score in the final is 7–6 2 , 6–1?"
} |
### QUESTION
Which venue does Mardan sponsor?
### CONTEXT
CREATE TABLE table_17356873_1 (venue VARCHAR, shirt_sponsor VARCHAR)
### ANSWER
SELECT venue FROM table_17356873_1 WHERE shirt_sponsor = "Mardan" | {
"answer": "SELECT venue FROM table_17356873_1 WHERE shirt_sponsor = \"Mardan\"",
"context": "CREATE TABLE table_17356873_1 (venue VARCHAR, shirt_sponsor VARCHAR)",
"question": "Which venue does Mardan sponsor?"
} |
### QUESTION
Show all male student ids who don't play football.
### CONTEXT
CREATE TABLE Sportsinfo (StuID VARCHAR, sex VARCHAR, sportname VARCHAR); CREATE TABLE Student (StuID VARCHAR, sex VARCHAR, sportname VARCHAR)
### ANSWER
SELECT StuID FROM Student WHERE sex = 'M' EXCEPT SELECT StuID FROM Sportsinfo WHERE sportname = "Football" | {
"answer": "SELECT StuID FROM Student WHERE sex = 'M' EXCEPT SELECT StuID FROM Sportsinfo WHERE sportname = \"Football\"",
"context": "CREATE TABLE Sportsinfo (StuID VARCHAR, sex VARCHAR, sportname VARCHAR); CREATE TABLE Student (StuID VARCHAR, sex VARCHAR, sportname VARCHAR)",
"question": "Show all male student ids who don't play football."
} |
### QUESTION
What is the full name ( first name and last name ) for those employees who gets more salary than the employee whose id is 163?
### CONTEXT
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary INTEGER, employee_id VARCHAR)
### ANSWER
SELECT first_name, last_name FROM employees WHERE salary > (SELECT salary FROM employees WHERE employee_id = 163) | {
"answer": "SELECT first_name, last_name FROM employees WHERE salary > (SELECT salary FROM employees WHERE employee_id = 163)",
"context": "CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary INTEGER, employee_id VARCHAR)",
"question": "What is the full name ( first name and last name ) for those employees who gets more salary than the employee whose id is 163?"
} |
### QUESTION
What location attendance had a score of l 92–116?
### CONTEXT
CREATE TABLE table_name_30 (location_attendance VARCHAR, score VARCHAR)
### ANSWER
SELECT location_attendance FROM table_name_30 WHERE score = "l 92–116" | {
"answer": "SELECT location_attendance FROM table_name_30 WHERE score = \"l 92–116\"",
"context": "CREATE TABLE table_name_30 (location_attendance VARCHAR, score VARCHAR)",
"question": "What location attendance had a score of l 92–116?"
} |
### QUESTION
Please show each industry and the corresponding number of companies in that industry.
### CONTEXT
CREATE TABLE Companies (Industry VARCHAR)
### ANSWER
SELECT Industry, COUNT(*) FROM Companies GROUP BY Industry | {
"answer": "SELECT Industry, COUNT(*) FROM Companies GROUP BY Industry",
"context": "CREATE TABLE Companies (Industry VARCHAR)",
"question": "Please show each industry and the corresponding number of companies in that industry."
} |
### QUESTION
What is score of the game played in place t8 with Byron Nelson playing?
### CONTEXT
CREATE TABLE table_name_20 (score VARCHAR, place VARCHAR, player VARCHAR)
### ANSWER
SELECT score FROM table_name_20 WHERE place = "t8" AND player = "byron nelson" | {
"answer": "SELECT score FROM table_name_20 WHERE place = \"t8\" AND player = \"byron nelson\"",
"context": "CREATE TABLE table_name_20 (score VARCHAR, place VARCHAR, player VARCHAR)",
"question": "What is score of the game played in place t8 with Byron Nelson playing?"
} |
### QUESTION
Name the original airdate for robin mukherjee and margy kinmonth
### CONTEXT
CREATE TABLE table_27208814_1 (original_airdate VARCHAR, writer VARCHAR, director VARCHAR)
### ANSWER
SELECT original_airdate FROM table_27208814_1 WHERE writer = "Robin Mukherjee" AND director = "Margy Kinmonth" | {
"answer": "SELECT original_airdate FROM table_27208814_1 WHERE writer = \"Robin Mukherjee\" AND director = \"Margy Kinmonth\"",
"context": "CREATE TABLE table_27208814_1 (original_airdate VARCHAR, writer VARCHAR, director VARCHAR)",
"question": "Name the original airdate for robin mukherjee and margy kinmonth"
} |
### QUESTION
What is the home team score for the team that has a home field of the Telstra Dome?
### CONTEXT
CREATE TABLE table_name_98 (home_team VARCHAR, ground VARCHAR)
### ANSWER
SELECT home_team AS score FROM table_name_98 WHERE ground = "telstra dome" | {
"answer": "SELECT home_team AS score FROM table_name_98 WHERE ground = \"telstra dome\"",
"context": "CREATE TABLE table_name_98 (home_team VARCHAR, ground VARCHAR)",
"question": "What is the home team score for the team that has a home field of the Telstra Dome?"
} |
### QUESTION
Opponent of @ blue jays, and a Date of october 6 had what score?
### CONTEXT
CREATE TABLE table_name_19 (score VARCHAR, opponent VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_19 WHERE opponent = "@ blue jays" AND date = "october 6" | {
"answer": "SELECT score FROM table_name_19 WHERE opponent = \"@ blue jays\" AND date = \"october 6\"",
"context": "CREATE TABLE table_name_19 (score VARCHAR, opponent VARCHAR, date VARCHAR)",
"question": "Opponent of @ blue jays, and a Date of october 6 had what score?"
} |
### QUESTION
Who is the opponent when the score was 6–4, 6–2 and the surface was clay?
### CONTEXT
CREATE TABLE table_name_94 (opponent VARCHAR, score VARCHAR, surface VARCHAR)
### ANSWER
SELECT opponent FROM table_name_94 WHERE score = "6–4, 6–2" AND surface = "clay" | {
"answer": "SELECT opponent FROM table_name_94 WHERE score = \"6–4, 6–2\" AND surface = \"clay\"",
"context": "CREATE TABLE table_name_94 (opponent VARCHAR, score VARCHAR, surface VARCHAR)",
"question": "Who is the opponent when the score was 6–4, 6–2 and the surface was clay?"
} |
### QUESTION
What are all the conjugated forms of the verb where the el/ ella/usted verb is piense?
### CONTEXT
CREATE TABLE table_1977630_2 (nosotros___nosotras VARCHAR, él___ella___usted VARCHAR)
### ANSWER
SELECT nosotros___nosotras FROM table_1977630_2 WHERE él___ella___usted = "piense" | {
"answer": "SELECT nosotros___nosotras FROM table_1977630_2 WHERE él___ella___usted = \"piense\"",
"context": "CREATE TABLE table_1977630_2 (nosotros___nosotras VARCHAR, él___ella___usted VARCHAR)",
"question": "What are all the conjugated forms of the verb where the el/ ella/usted verb is piense?"
} |
### QUESTION
What was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46?
### CONTEXT
CREATE TABLE table_25016824_2 (reward VARCHAR, immunity VARCHAR, finish VARCHAR)
### ANSWER
SELECT reward FROM table_25016824_2 WHERE immunity = "Martin" AND finish = "13th voted Out 8th Jury Member Day 46" | {
"answer": "SELECT reward FROM table_25016824_2 WHERE immunity = \"Martin\" AND finish = \"13th voted Out 8th Jury Member Day 46\"",
"context": "CREATE TABLE table_25016824_2 (reward VARCHAR, immunity VARCHAR, finish VARCHAR)",
"question": "What was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46?"
} |
### QUESTION
Which album had a release of heavenly (hvn95)?
### CONTEXT
CREATE TABLE table_name_56 (album VARCHAR, release_info VARCHAR)
### ANSWER
SELECT album FROM table_name_56 WHERE release_info = "heavenly (hvn95)" | {
"answer": "SELECT album FROM table_name_56 WHERE release_info = \"heavenly (hvn95)\"",
"context": "CREATE TABLE table_name_56 (album VARCHAR, release_info VARCHAR)",
"question": "Which album had a release of heavenly (hvn95)?"
} |
### QUESTION
What market rank and city had the station KABC-TV?
### CONTEXT
CREATE TABLE table_22329326_1 (market_rank_ VARCHAR, _city_of_license__market VARCHAR, station VARCHAR)
### ANSWER
SELECT market_rank_ & _city_of_license__market FROM table_22329326_1 WHERE station = "KABC-TV" | {
"answer": "SELECT market_rank_ & _city_of_license__market FROM table_22329326_1 WHERE station = \"KABC-TV\"",
"context": "CREATE TABLE table_22329326_1 (market_rank_ VARCHAR, _city_of_license__market VARCHAR, station VARCHAR)",
"question": "What market rank and city had the station KABC-TV?"
} |
### QUESTION
what is the venue when the year is 2006, the competition is asian games and the event is 400 m?
### CONTEXT
CREATE TABLE table_name_20 (venue VARCHAR, event VARCHAR, year VARCHAR, competition VARCHAR)
### ANSWER
SELECT venue FROM table_name_20 WHERE year = 2006 AND competition = "asian games" AND event = "400 m" | {
"answer": "SELECT venue FROM table_name_20 WHERE year = 2006 AND competition = \"asian games\" AND event = \"400 m\"",
"context": "CREATE TABLE table_name_20 (venue VARCHAR, event VARCHAR, year VARCHAR, competition VARCHAR)",
"question": "what is the venue when the year is 2006, the competition is asian games and the event is 400 m?"
} |
### QUESTION
What's the average year that sara orlesky and farhan lalji are the sideline reporters?
### CONTEXT
CREATE TABLE table_name_65 (year INTEGER, sideline_reporters VARCHAR)
### ANSWER
SELECT AVG(year) FROM table_name_65 WHERE sideline_reporters = "sara orlesky and farhan lalji" | {
"answer": "SELECT AVG(year) FROM table_name_65 WHERE sideline_reporters = \"sara orlesky and farhan lalji\"",
"context": "CREATE TABLE table_name_65 (year INTEGER, sideline_reporters VARCHAR)",
"question": "What's the average year that sara orlesky and farhan lalji are the sideline reporters?"
} |
### QUESTION
What is the highest River Mile that has a pool length of 42.2 miles or a lock/lift drop of 21 feet?
### CONTEXT
CREATE TABLE table_name_71 (river_mile INTEGER, pool_length__miles_ VARCHAR, lock_lift_drop__in_feet_ VARCHAR)
### ANSWER
SELECT MAX(river_mile) FROM table_name_71 WHERE pool_length__miles_ = "42.2" AND lock_lift_drop__in_feet_ = "21" | {
"answer": "SELECT MAX(river_mile) FROM table_name_71 WHERE pool_length__miles_ = \"42.2\" AND lock_lift_drop__in_feet_ = \"21\"",
"context": "CREATE TABLE table_name_71 (river_mile INTEGER, pool_length__miles_ VARCHAR, lock_lift_drop__in_feet_ VARCHAR)",
"question": "What is the highest River Mile that has a pool length of 42.2 miles or a lock/lift drop of 21 feet?"
} |
### QUESTION
What is the highest year that has fila world championships as the event, with toledo, united states as the venue, and a weight class (kg) less than 97?
### CONTEXT
CREATE TABLE table_name_37 (year INTEGER, weight_class__kg_ VARCHAR, event VARCHAR, venue VARCHAR)
### ANSWER
SELECT MAX(year) FROM table_name_37 WHERE event = "fila world championships" AND venue = "toledo, united states" AND weight_class__kg_ < 97 | {
"answer": "SELECT MAX(year) FROM table_name_37 WHERE event = \"fila world championships\" AND venue = \"toledo, united states\" AND weight_class__kg_ < 97",
"context": "CREATE TABLE table_name_37 (year INTEGER, weight_class__kg_ VARCHAR, event VARCHAR, venue VARCHAR)",
"question": "What is the highest year that has fila world championships as the event, with toledo, united states as the venue, and a weight class (kg) less than 97?"
} |
### QUESTION
Show the apartment numbers of apartments with bookings that have status code both "Provisional" and "Confirmed"
### CONTEXT
CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR); CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR)
### ANSWER
SELECT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Confirmed" INTERSECT SELECT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Provisional" | {
"answer": "SELECT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = \"Confirmed\" INTERSECT SELECT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = \"Provisional\"",
"context": "CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR); CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR)",
"question": "Show the apartment numbers of apartments with bookings that have status code both \"Provisional\" and \"Confirmed\""
} |
### QUESTION
what's the tournament where winner is raymond floyd (1)
### CONTEXT
CREATE TABLE table_11622255_1 (tournament VARCHAR, winner VARCHAR)
### ANSWER
SELECT tournament FROM table_11622255_1 WHERE winner = "Raymond Floyd (1)" | {
"answer": "SELECT tournament FROM table_11622255_1 WHERE winner = \"Raymond Floyd (1)\"",
"context": "CREATE TABLE table_11622255_1 (tournament VARCHAR, winner VARCHAR)",
"question": " what's the tournament where winner is raymond floyd (1)"
} |
### QUESTION
What is the event year radek štěpánek was the round and there were less than 3 aces?
### CONTEXT
CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, aces VARCHAR)
### ANSWER
SELECT COUNT(event) FROM table_name_92 WHERE round = "radek štěpánek" AND NOT aces < 3 | {
"answer": "SELECT COUNT(event) FROM table_name_92 WHERE round = \"radek štěpánek\" AND NOT aces < 3",
"context": "CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, aces VARCHAR)",
"question": "What is the event year radek štěpánek was the round and there were less than 3 aces?"
} |
### QUESTION
What is San Antonio game number?
### CONTEXT
CREATE TABLE table_11960610_10 (game INTEGER, team VARCHAR)
### ANSWER
SELECT MAX(game) FROM table_11960610_10 WHERE team = "San Antonio" | {
"answer": "SELECT MAX(game) FROM table_11960610_10 WHERE team = \"San Antonio\"",
"context": "CREATE TABLE table_11960610_10 (game INTEGER, team VARCHAR)",
"question": "What is San Antonio game number?"
} |
### QUESTION
Name the points against when tries against is 51 and points is 52 with played of 22
### CONTEXT
CREATE TABLE table_name_91 (points_against VARCHAR, tries_against VARCHAR, played VARCHAR, points VARCHAR)
### ANSWER
SELECT points_against FROM table_name_91 WHERE played = "22" AND points = "52" AND tries_against = "51" | {
"answer": "SELECT points_against FROM table_name_91 WHERE played = \"22\" AND points = \"52\" AND tries_against = \"51\"",
"context": "CREATE TABLE table_name_91 (points_against VARCHAR, tries_against VARCHAR, played VARCHAR, points VARCHAR)",
"question": "Name the points against when tries against is 51 and points is 52 with played of 22"
} |
### QUESTION
Which team drafted the player from the HC Lada Togliatti (Russia)?
### CONTEXT
CREATE TABLE table_2840500_5 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
### ANSWER
SELECT nhl_team FROM table_2840500_5 WHERE college_junior_club_team = "HC Lada Togliatti (Russia)" | {
"answer": "SELECT nhl_team FROM table_2840500_5 WHERE college_junior_club_team = \"HC Lada Togliatti (Russia)\"",
"context": "CREATE TABLE table_2840500_5 (nhl_team VARCHAR, college_junior_club_team VARCHAR)",
"question": "Which team drafted the player from the HC Lada Togliatti (Russia)?"
} |
### QUESTION
Show the pair of male and female names in all weddings after year 2014
### CONTEXT
CREATE TABLE wedding (male_id VARCHAR, female_id VARCHAR, year INTEGER); CREATE TABLE people (name VARCHAR, people_id VARCHAR)
### ANSWER
SELECT T2.name, T3.name FROM wedding AS T1 JOIN people AS T2 ON T1.male_id = T2.people_id JOIN people AS T3 ON T1.female_id = T3.people_id WHERE T1.year > 2014 | {
"answer": "SELECT T2.name, T3.name FROM wedding AS T1 JOIN people AS T2 ON T1.male_id = T2.people_id JOIN people AS T3 ON T1.female_id = T3.people_id WHERE T1.year > 2014",
"context": "CREATE TABLE wedding (male_id VARCHAR, female_id VARCHAR, year INTEGER); CREATE TABLE people (name VARCHAR, people_id VARCHAR)",
"question": "Show the pair of male and female names in all weddings after year 2014"
} |
### QUESTION
In how many districts was the democratic incumbent elected in 1974?
### CONTEXT
CREATE TABLE table_1341568_34 (district VARCHAR, party VARCHAR, elected VARCHAR)
### ANSWER
SELECT COUNT(district) FROM table_1341568_34 WHERE party = "Democratic" AND elected = 1974 | {
"answer": "SELECT COUNT(district) FROM table_1341568_34 WHERE party = \"Democratic\" AND elected = 1974",
"context": "CREATE TABLE table_1341568_34 (district VARCHAR, party VARCHAR, elected VARCHAR)",
"question": "In how many districts was the democratic incumbent elected in 1974? "
} |
### QUESTION
Show all template type codes and the number of documents using each type.
### CONTEXT
CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR)
### ANSWER
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 | {
"answer": "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",
"context": "CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR)",
"question": "Show all template type codes and the number of documents using each type."
} |
### QUESTION
How many 2010s have a 2007 greater than 4.6, and 8.2 as a 2006?
### CONTEXT
CREATE TABLE table_name_9 (Id VARCHAR)
### ANSWER
SELECT COUNT(2010) FROM table_name_9 WHERE 2007 > 4.6 AND 2006 = 8.2 | {
"answer": "SELECT COUNT(2010) FROM table_name_9 WHERE 2007 > 4.6 AND 2006 = 8.2",
"context": "CREATE TABLE table_name_9 (Id VARCHAR)",
"question": "How many 2010s have a 2007 greater than 4.6, and 8.2 as a 2006?"
} |
### QUESTION
What is Stephen Thompson's School/Club Team?
### CONTEXT
CREATE TABLE table_name_80 (school_club_team VARCHAR, player VARCHAR)
### ANSWER
SELECT school_club_team FROM table_name_80 WHERE player = "stephen thompson" | {
"answer": "SELECT school_club_team FROM table_name_80 WHERE player = \"stephen thompson\"",
"context": "CREATE TABLE table_name_80 (school_club_team VARCHAR, player VARCHAR)",
"question": "What is Stephen Thompson's School/Club Team?"
} |
### QUESTION
Who are all the stage winners where the team classification is Caisse D'epargne?
### CONTEXT
CREATE TABLE table_17672500_19 (stage__winner_ VARCHAR, team_classification VARCHAR)
### ANSWER
SELECT stage__winner_ FROM table_17672500_19 WHERE team_classification = "Caisse d'Epargne" | {
"answer": "SELECT stage__winner_ FROM table_17672500_19 WHERE team_classification = \"Caisse d'Epargne\"",
"context": "CREATE TABLE table_17672500_19 (stage__winner_ VARCHAR, team_classification VARCHAR)",
"question": "Who are all the stage winners where the team classification is Caisse D'epargne?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.