text
stringlengths
146
1.06k
source
dict
### QUESTION In the game that has a score of 71-71-70-73=285 what is the to par? ### CONTEXT CREATE TABLE table_name_79 (to_par VARCHAR, score VARCHAR) ### ANSWER SELECT to_par FROM table_name_79 WHERE score = 71 - 71 - 70 - 73 = 285
{ "answer": "SELECT to_par FROM table_name_79 WHERE score = 71 - 71 - 70 - 73 = 285", "context": "CREATE TABLE table_name_79 (to_par VARCHAR, score VARCHAR)", "question": "In the game that has a score of 71-71-70-73=285 what is the to par?" }
### QUESTION Who was the Kit manufacturer that was has shirts sponsored by Walkers? ### CONTEXT CREATE TABLE table_name_63 (kit_manufacturer VARCHAR, shirt_sponsor VARCHAR) ### ANSWER SELECT kit_manufacturer FROM table_name_63 WHERE shirt_sponsor = "walkers"
{ "answer": "SELECT kit_manufacturer FROM table_name_63 WHERE shirt_sponsor = \"walkers\"", "context": "CREATE TABLE table_name_63 (kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)", "question": "Who was the Kit manufacturer that was has shirts sponsored by Walkers?" }
### QUESTION Who directed Predator that was filmed with Fox Studio? ### CONTEXT CREATE TABLE table_name_29 (director VARCHAR, studio VARCHAR, title VARCHAR) ### ANSWER SELECT director FROM table_name_29 WHERE studio = "fox" AND title = "predator"
{ "answer": "SELECT director FROM table_name_29 WHERE studio = \"fox\" AND title = \"predator\"", "context": "CREATE TABLE table_name_29 (director VARCHAR, studio VARCHAR, title VARCHAR)", "question": "Who directed Predator that was filmed with Fox Studio?" }
### QUESTION Find the names of items whose rank is higher than 3 and whose average rating is above 5. ### CONTEXT CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rank INTEGER, rating INTEGER) ### ANSWER SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rank > 3 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id HAVING AVG(T2.rating) > 5
{ "answer": "SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rank > 3 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id HAVING AVG(T2.rating) > 5", "context": "CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rank INTEGER, rating INTEGER)", "question": "Find the names of items whose rank is higher than 3 and whose average rating is above 5." }
### QUESTION What are all the states (class) when the reason for change was resigned November 26, 1798 and the vacator was John Hunter ( DR )? ### CONTEXT CREATE TABLE table_224839_3 (state__class_ VARCHAR, reason_for_change VARCHAR, vacator VARCHAR) ### ANSWER SELECT state__class_ FROM table_224839_3 WHERE reason_for_change = "Resigned November 26, 1798" AND vacator = "John Hunter ( DR )"
{ "answer": "SELECT state__class_ FROM table_224839_3 WHERE reason_for_change = \"Resigned November 26, 1798\" AND vacator = \"John Hunter ( DR )\"", "context": "CREATE TABLE table_224839_3 (state__class_ VARCHAR, reason_for_change VARCHAR, vacator VARCHAR)", "question": "What are all the states (class) when the reason for change was resigned November 26, 1798 and the vacator was John Hunter ( DR )?" }
### QUESTION What was date of appointment for Ergün Penbe? ### CONTEXT CREATE TABLE table_27091128_2 (date_of_appointment VARCHAR, replaced_by VARCHAR) ### ANSWER SELECT date_of_appointment FROM table_27091128_2 WHERE replaced_by = "Ergün Penbe"
{ "answer": "SELECT date_of_appointment FROM table_27091128_2 WHERE replaced_by = \"Ergün Penbe\"", "context": "CREATE TABLE table_27091128_2 (date_of_appointment VARCHAR, replaced_by VARCHAR)", "question": "What was date of appointment for Ergün Penbe? " }
### QUESTION What's the money ($) for the t3 place and the score of 74-74-71-69=288? ### CONTEXT CREATE TABLE table_name_87 (money___$__ VARCHAR, place VARCHAR, score VARCHAR) ### ANSWER SELECT money___$__ FROM table_name_87 WHERE place = "t3" AND score = 74 - 74 - 71 - 69 = 288
{ "answer": "SELECT money___$__ FROM table_name_87 WHERE place = \"t3\" AND score = 74 - 74 - 71 - 69 = 288", "context": "CREATE TABLE table_name_87 (money___$__ VARCHAR, place VARCHAR, score VARCHAR)", "question": "What's the money ($) for the t3 place and the score of 74-74-71-69=288?" }
### QUESTION What was the highest money when the score was 69-68-67-69=273? ### CONTEXT CREATE TABLE table_name_37 (money___ INTEGER, score VARCHAR) ### ANSWER SELECT MAX(money___) AS $__ FROM table_name_37 WHERE score = 69 - 68 - 67 - 69 = 273
{ "answer": "SELECT MAX(money___) AS $__ FROM table_name_37 WHERE score = 69 - 68 - 67 - 69 = 273", "context": "CREATE TABLE table_name_37 (money___ INTEGER, score VARCHAR)", "question": "What was the highest money when the score was 69-68-67-69=273?" }
### QUESTION What is the role code with the largest number of employees? ### CONTEXT CREATE TABLE Employees (role_code VARCHAR) ### ANSWER SELECT role_code FROM Employees GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT role_code FROM Employees GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Employees (role_code VARCHAR)", "question": "What is the role code with the largest number of employees?" }
### QUESTION What is the customer first, last name and id with least number of accounts. ### CONTEXT CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR) ### ANSWER SELECT T2.customer_first_name, T2.customer_last_name, T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) LIMIT 1
{ "answer": "SELECT T2.customer_first_name, T2.customer_last_name, T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) LIMIT 1", "context": "CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)", "question": "What is the customer first, last name and id with least number of accounts." }
### QUESTION display job Title, the difference between minimum and maximum salaries for those jobs which max salary within the range 12000 to 18000. ### CONTEXT CREATE TABLE jobs (job_title VARCHAR, max_salary INTEGER, min_salary VARCHAR) ### ANSWER SELECT job_title, max_salary - min_salary FROM jobs WHERE max_salary BETWEEN 12000 AND 18000
{ "answer": "SELECT job_title, max_salary - min_salary FROM jobs WHERE max_salary BETWEEN 12000 AND 18000", "context": "CREATE TABLE jobs (job_title VARCHAR, max_salary INTEGER, min_salary VARCHAR)", "question": "display job Title, the difference between minimum and maximum salaries for those jobs which max salary within the range 12000 to 18000." }
### QUESTION Which company has an author of Aristophanes and play of Plutus? ### CONTEXT CREATE TABLE table_name_74 (company VARCHAR, author VARCHAR, play VARCHAR) ### ANSWER SELECT company FROM table_name_74 WHERE author = "aristophanes" AND play = "plutus"
{ "answer": "SELECT company FROM table_name_74 WHERE author = \"aristophanes\" AND play = \"plutus\"", "context": "CREATE TABLE table_name_74 (company VARCHAR, author VARCHAR, play VARCHAR)", "question": "Which company has an author of Aristophanes and play of Plutus?" }
### QUESTION are in tobago species liophis cobellus cobellus? ### CONTEXT CREATE TABLE table_1850282_5 (tobago VARCHAR, species VARCHAR) ### ANSWER SELECT tobago FROM table_1850282_5 WHERE species = "Liophis cobellus cobellus"
{ "answer": "SELECT tobago FROM table_1850282_5 WHERE species = \"Liophis cobellus cobellus\"", "context": "CREATE TABLE table_1850282_5 (tobago VARCHAR, species VARCHAR)", "question": "are in tobago species liophis cobellus cobellus?" }
### QUESTION What was the sample size for polling on May 2-7, 2007 for Hillary Clinton? ### CONTEXT CREATE TABLE table_name_35 (sample_size VARCHAR, date VARCHAR, democrat VARCHAR) ### ANSWER SELECT sample_size FROM table_name_35 WHERE date = "may 2-7, 2007" AND democrat = "hillary clinton"
{ "answer": "SELECT sample_size FROM table_name_35 WHERE date = \"may 2-7, 2007\" AND democrat = \"hillary clinton\"", "context": "CREATE TABLE table_name_35 (sample_size VARCHAR, date VARCHAR, democrat VARCHAR)", "question": "What was the sample size for polling on May 2-7, 2007 for Hillary Clinton?" }
### QUESTION What is the maximum number that a certain service is provided? List the service id, details and number. ### CONTEXT CREATE TABLE Services (service_id VARCHAR, service_details VARCHAR); CREATE TABLE Residents_Services (service_id VARCHAR) ### ANSWER SELECT T1.service_id, T1.service_details, COUNT(*) FROM Services AS T1 JOIN Residents_Services AS T2 ON T1.service_id = T2.service_id GROUP BY T1.service_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.service_id, T1.service_details, COUNT(*) FROM Services AS T1 JOIN Residents_Services AS T2 ON T1.service_id = T2.service_id GROUP BY T1.service_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Services (service_id VARCHAR, service_details VARCHAR); CREATE TABLE Residents_Services (service_id VARCHAR)", "question": "What is the maximum number that a certain service is provided? List the service id, details and number." }
### QUESTION List every individual's first name, middle name and last name in alphabetical order by last name. ### CONTEXT CREATE TABLE individuals (individual_first_name VARCHAR, individual_middle_name VARCHAR, individual_last_name VARCHAR) ### ANSWER SELECT individual_first_name, individual_middle_name, individual_last_name FROM individuals ORDER BY individual_last_name
{ "answer": "SELECT individual_first_name, individual_middle_name, individual_last_name FROM individuals ORDER BY individual_last_name", "context": "CREATE TABLE individuals (individual_first_name VARCHAR, individual_middle_name VARCHAR, individual_last_name VARCHAR)", "question": "List every individual's first name, middle name and last name in alphabetical order by last name." }
### QUESTION What is Authors, when Novelty is Gen Et Sp Nov, and when Name is Lanthanocephalus? ### CONTEXT CREATE TABLE table_name_13 (authors VARCHAR, novelty VARCHAR, name VARCHAR) ### ANSWER SELECT authors FROM table_name_13 WHERE novelty = "gen et sp nov" AND name = "lanthanocephalus"
{ "answer": "SELECT authors FROM table_name_13 WHERE novelty = \"gen et sp nov\" AND name = \"lanthanocephalus\"", "context": "CREATE TABLE table_name_13 (authors VARCHAR, novelty VARCHAR, name VARCHAR)", "question": "What is Authors, when Novelty is Gen Et Sp Nov, and when Name is Lanthanocephalus?" }
### QUESTION Which player from GER has a transfer window of summer, and a transfer fee of n/a? ### CONTEXT CREATE TABLE table_name_85 (name VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR, nat VARCHAR) ### ANSWER SELECT name FROM table_name_85 WHERE transfer_window = "summer" AND nat = "ger" AND transfer_fee = "n/a"
{ "answer": "SELECT name FROM table_name_85 WHERE transfer_window = \"summer\" AND nat = \"ger\" AND transfer_fee = \"n/a\"", "context": "CREATE TABLE table_name_85 (name VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR, nat VARCHAR)", "question": "Which player from GER has a transfer window of summer, and a transfer fee of n/a?" }
### QUESTION What movie did Vijayalaxmi Co-star in and Shakeel Badayuni write the lyrics? ### CONTEXT CREATE TABLE table_2528382_5 (movie_album VARCHAR, co_stars VARCHAR, lyricist VARCHAR) ### ANSWER SELECT movie_album FROM table_2528382_5 WHERE co_stars = "VijayaLaxmi" AND lyricist = "Shakeel Badayuni"
{ "answer": "SELECT movie_album FROM table_2528382_5 WHERE co_stars = \"VijayaLaxmi\" AND lyricist = \"Shakeel Badayuni\"", "context": "CREATE TABLE table_2528382_5 (movie_album VARCHAR, co_stars VARCHAR, lyricist VARCHAR)", "question": "What movie did Vijayalaxmi Co-star in and Shakeel Badayuni write the lyrics?" }
### QUESTION What Championship had a winning score of 69-71-67-68=275? ### CONTEXT CREATE TABLE table_name_9 (championship VARCHAR, winning_score VARCHAR) ### ANSWER SELECT championship FROM table_name_9 WHERE winning_score = 69 - 71 - 67 - 68 = 275
{ "answer": "SELECT championship FROM table_name_9 WHERE winning_score = 69 - 71 - 67 - 68 = 275", "context": "CREATE TABLE table_name_9 (championship VARCHAR, winning_score VARCHAR)", "question": "What Championship had a winning score of 69-71-67-68=275?" }
### QUESTION What is the name of department where has the largest number of professors with a Ph.D. degree? ### CONTEXT CREATE TABLE professor (dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR) ### ANSWER SELECT T2.dept_name, T1.dept_code FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE T1.prof_high_degree = 'Ph.D.' GROUP BY T1.dept_code ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T2.dept_name, T1.dept_code FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE T1.prof_high_degree = 'Ph.D.' GROUP BY T1.dept_code ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE professor (dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR)", "question": "What is the name of department where has the largest number of professors with a Ph.D. degree?" }
### QUESTION What is the constructor for time/retired of handling? ### CONTEXT CREATE TABLE table_name_99 (constructor VARCHAR, time_retired VARCHAR) ### ANSWER SELECT constructor FROM table_name_99 WHERE time_retired = "handling"
{ "answer": "SELECT constructor FROM table_name_99 WHERE time_retired = \"handling\"", "context": "CREATE TABLE table_name_99 (constructor VARCHAR, time_retired VARCHAR)", "question": "What is the constructor for time/retired of handling?" }
### QUESTION What was the playoff result for theteam in the apsl in 1992? ### CONTEXT CREATE TABLE table_12002388_1 (playoffs VARCHAR, league VARCHAR, year VARCHAR) ### ANSWER SELECT playoffs FROM table_12002388_1 WHERE league = "APSL" AND year = 1992
{ "answer": "SELECT playoffs FROM table_12002388_1 WHERE league = \"APSL\" AND year = 1992", "context": "CREATE TABLE table_12002388_1 (playoffs VARCHAR, league VARCHAR, year VARCHAR)", "question": "What was the playoff result for theteam in the apsl in 1992?" }
### QUESTION what are all the date withdrawn for twin screw ro-ro motorship ### CONTEXT CREATE TABLE table_11662133_3 (date_withdrawn VARCHAR, type_of_ship VARCHAR) ### ANSWER SELECT date_withdrawn FROM table_11662133_3 WHERE type_of_ship = "Twin Screw Ro-Ro Motorship"
{ "answer": "SELECT date_withdrawn FROM table_11662133_3 WHERE type_of_ship = \"Twin Screw Ro-Ro Motorship\"", "context": "CREATE TABLE table_11662133_3 (date_withdrawn VARCHAR, type_of_ship VARCHAR)", "question": "what are all the date withdrawn for twin screw ro-ro motorship" }
### QUESTION List the clubs that have at least a member with advisor "1121". ### CONTEXT CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR); CREATE TABLE student (stuid VARCHAR, advisor VARCHAR) ### ANSWER SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.advisor = 1121
{ "answer": "SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.advisor = 1121", "context": "CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR); CREATE TABLE student (stuid VARCHAR, advisor VARCHAR)", "question": "List the clubs that have at least a member with advisor \"1121\"." }
### QUESTION What was the manner of depature of the manager with a date of appointment on 23 November 2008? ### CONTEXT CREATE TABLE table_name_9 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) ### ANSWER SELECT manner_of_departure FROM table_name_9 WHERE date_of_appointment = "23 november 2008"
{ "answer": "SELECT manner_of_departure FROM table_name_9 WHERE date_of_appointment = \"23 november 2008\"", "context": "CREATE TABLE table_name_9 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)", "question": "What was the manner of depature of the manager with a date of appointment on 23 November 2008?" }
### QUESTION What's the Termination of Mission listed that has a Presentation of Credentials for August 29, 1859? ### CONTEXT CREATE TABLE table_name_34 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR) ### ANSWER SELECT termination_of_mission FROM table_name_34 WHERE presentation_of_credentials = "august 29, 1859"
{ "answer": "SELECT termination_of_mission FROM table_name_34 WHERE presentation_of_credentials = \"august 29, 1859\"", "context": "CREATE TABLE table_name_34 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR)", "question": "What's the Termination of Mission listed that has a Presentation of Credentials for August 29, 1859?" }
### QUESTION What is the most recent episode number written by Matthew Pitts? ### CONTEXT CREATE TABLE table_24649082_1 (_number INTEGER, written_by VARCHAR) ### ANSWER SELECT MAX(_number) FROM table_24649082_1 WHERE written_by = "Matthew Pitts"
{ "answer": "SELECT MAX(_number) FROM table_24649082_1 WHERE written_by = \"Matthew Pitts\"", "context": "CREATE TABLE table_24649082_1 (_number INTEGER, written_by VARCHAR)", "question": "What is the most recent episode number written by Matthew Pitts?" }
### QUESTION who is the opponent when the surface is clay, the outcome is winner and the championship is estoril on 15 april 1996? ### CONTEXT CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR) ### ANSWER SELECT opponent FROM table_name_93 WHERE surface = "clay" AND outcome = "winner" AND championship = "estoril" AND date = "15 april 1996"
{ "answer": "SELECT opponent FROM table_name_93 WHERE surface = \"clay\" AND outcome = \"winner\" AND championship = \"estoril\" AND date = \"15 april 1996\"", "context": "CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR)", "question": "who is the opponent when the surface is clay, the outcome is winner and the championship is estoril on 15 april 1996?" }
### QUESTION What is the name of the swimmer from Australia in lane 4 with a heat larger than 4? ### CONTEXT CREATE TABLE table_name_16 (name VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR) ### ANSWER SELECT name FROM table_name_16 WHERE heat > 4 AND lane = 4 AND nationality = "australia"
{ "answer": "SELECT name FROM table_name_16 WHERE heat > 4 AND lane = 4 AND nationality = \"australia\"", "context": "CREATE TABLE table_name_16 (name VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR)", "question": "What is the name of the swimmer from Australia in lane 4 with a heat larger than 4?" }
### QUESTION What is Number of Contestants, when International Destinations is London Lisbon? ### CONTEXT CREATE TABLE table_name_55 (number_of_contestants VARCHAR, international_destinations VARCHAR) ### ANSWER SELECT number_of_contestants FROM table_name_55 WHERE international_destinations = "london lisbon"
{ "answer": "SELECT number_of_contestants FROM table_name_55 WHERE international_destinations = \"london lisbon\"", "context": "CREATE TABLE table_name_55 (number_of_contestants VARCHAR, international_destinations VARCHAR)", "question": "What is Number of Contestants, when International Destinations is London Lisbon?" }
### QUESTION What film did ian mackinnon direct that was in the short film 2007 prix uip category? ### CONTEXT CREATE TABLE table_name_55 (film VARCHAR, category VARCHAR, director_s_ VARCHAR) ### ANSWER SELECT film FROM table_name_55 WHERE category = "short film 2007 prix uip" AND director_s_ = "ian mackinnon"
{ "answer": "SELECT film FROM table_name_55 WHERE category = \"short film 2007 prix uip\" AND director_s_ = \"ian mackinnon\"", "context": "CREATE TABLE table_name_55 (film VARCHAR, category VARCHAR, director_s_ VARCHAR)", "question": "What film did ian mackinnon direct that was in the short film 2007 prix uip category?" }
### QUESTION What is the time when the opponent is stephanie palmer? ### CONTEXT CREATE TABLE table_name_27 (time VARCHAR, opponent VARCHAR) ### ANSWER SELECT time FROM table_name_27 WHERE opponent = "stephanie palmer"
{ "answer": "SELECT time FROM table_name_27 WHERE opponent = \"stephanie palmer\"", "context": "CREATE TABLE table_name_27 (time VARCHAR, opponent VARCHAR)", "question": "What is the time when the opponent is stephanie palmer?" }
### QUESTION Find the first and last name of the staff members who reported problems from the product "rem" but not "aut"? ### CONTEXT CREATE TABLE product (product_name VARCHAR, product_id VARCHAR); CREATE TABLE staff (staff_first_name VARCHAR, staff_last_name VARCHAR, staff_id VARCHAR); CREATE TABLE problems (product_id VARCHAR, reported_by_staff_id VARCHAR) ### ANSWER SELECT T3.staff_first_name, T3.staff_last_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T2.product_name = "rem" EXCEPT SELECT T3.staff_first_name, T3.staff_last_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T2.product_name = "aut"
{ "answer": "SELECT T3.staff_first_name, T3.staff_last_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T2.product_name = \"rem\" EXCEPT SELECT T3.staff_first_name, T3.staff_last_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T2.product_name = \"aut\"", "context": "CREATE TABLE product (product_name VARCHAR, product_id VARCHAR); CREATE TABLE staff (staff_first_name VARCHAR, staff_last_name VARCHAR, staff_id VARCHAR); CREATE TABLE problems (product_id VARCHAR, reported_by_staff_id VARCHAR)", "question": "Find the first and last name of the staff members who reported problems from the product \"rem\" but not \"aut\"?" }
### QUESTION What is ASTC Member, when State is Arkansas, when AAM Member is No, and when AAM Accredited is Yes? ### CONTEXT CREATE TABLE table_name_39 (astc_member VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR) ### ANSWER SELECT astc_member FROM table_name_39 WHERE state = "arkansas" AND aam_member = "no" AND aam_accredited = "yes"
{ "answer": "SELECT astc_member FROM table_name_39 WHERE state = \"arkansas\" AND aam_member = \"no\" AND aam_accredited = \"yes\"", "context": "CREATE TABLE table_name_39 (astc_member VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR)", "question": "What is ASTC Member, when State is Arkansas, when AAM Member is No, and when AAM Accredited is Yes?" }
### QUESTION Which Circuit has the Winning Team of carlin motorsport, and the Winning Driver of oliver turvey, and a Date of 24 march? ### CONTEXT CREATE TABLE table_name_93 (circuit VARCHAR, date VARCHAR, winning_team VARCHAR, winning_driver VARCHAR) ### ANSWER SELECT circuit FROM table_name_93 WHERE winning_team = "carlin motorsport" AND winning_driver = "oliver turvey" AND date = "24 march"
{ "answer": "SELECT circuit FROM table_name_93 WHERE winning_team = \"carlin motorsport\" AND winning_driver = \"oliver turvey\" AND date = \"24 march\"", "context": "CREATE TABLE table_name_93 (circuit VARCHAR, date VARCHAR, winning_team VARCHAR, winning_driver VARCHAR)", "question": "Which Circuit has the Winning Team of carlin motorsport, and the Winning Driver of oliver turvey, and a Date of 24 march?" }
### QUESTION Find the name of the department that offers the largest number of credits of all classes. ### CONTEXT CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR, crs_credit INTEGER) ### ANSWER SELECT T3.dept_name FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code JOIN department AS T3 ON T1.dept_code = T3.dept_code GROUP BY T1.dept_code ORDER BY SUM(T1.crs_credit) DESC LIMIT 1
{ "answer": "SELECT T3.dept_name FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code JOIN department AS T3 ON T1.dept_code = T3.dept_code GROUP BY T1.dept_code ORDER BY SUM(T1.crs_credit) DESC LIMIT 1", "context": "CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR, crs_credit INTEGER)", "question": "Find the name of the department that offers the largest number of credits of all classes." }
### QUESTION What was the air date when the team guest captain was john bishop? ### CONTEXT CREATE TABLE table_25816476_2 (air_date VARCHAR, team_guest_captain VARCHAR) ### ANSWER SELECT air_date FROM table_25816476_2 WHERE team_guest_captain = "John Bishop"
{ "answer": "SELECT air_date FROM table_25816476_2 WHERE team_guest_captain = \"John Bishop\"", "context": "CREATE TABLE table_25816476_2 (air_date VARCHAR, team_guest_captain VARCHAR)", "question": "What was the air date when the team guest captain was john bishop?" }
### QUESTION where title is beginning callanetics , what is the total of format ? ### CONTEXT CREATE TABLE table_11222744_2 (format VARCHAR, title VARCHAR) ### ANSWER SELECT COUNT(format) FROM table_11222744_2 WHERE title = "Beginning Callanetics"
{ "answer": "SELECT COUNT(format) FROM table_11222744_2 WHERE title = \"Beginning Callanetics\"", "context": "CREATE TABLE table_11222744_2 (format VARCHAR, title VARCHAR)", "question": "where title is beginning callanetics , what is the total of format ?" }
### QUESTION When the completion schedule is 2016 for the state of jammu & kashmir, what is the smallest S.no.? ### CONTEXT CREATE TABLE table_name_9 (sno INTEGER, state VARCHAR, completion_schedule VARCHAR) ### ANSWER SELECT MIN(sno) FROM table_name_9 WHERE state = "jammu & kashmir" AND completion_schedule = "2016"
{ "answer": "SELECT MIN(sno) FROM table_name_9 WHERE state = \"jammu & kashmir\" AND completion_schedule = \"2016\"", "context": "CREATE TABLE table_name_9 (sno INTEGER, state VARCHAR, completion_schedule VARCHAR)", "question": "When the completion schedule is 2016 for the state of jammu & kashmir, what is the smallest S.no.?" }
### QUESTION Show the names of customers who have both an order in completed status and an order in part status. ### CONTEXT CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR) ### ANSWER SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = 'Completed' INTERSECT SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = 'Part'
{ "answer": "SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = 'Completed' INTERSECT SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = 'Part'", "context": "CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)", "question": "Show the names of customers who have both an order in completed status and an order in part status." }
### QUESTION Tell me the total number of administrative panel with labour panel more than 2, nominated by taoiseach more than 6 and total of 28 ### CONTEXT CREATE TABLE table_name_59 (administrative_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, labour_panel VARCHAR, total VARCHAR) ### ANSWER SELECT COUNT(administrative_panel) FROM table_name_59 WHERE labour_panel > 2 AND total = 28 AND nominated_by_the_taoiseach > 6
{ "answer": "SELECT COUNT(administrative_panel) FROM table_name_59 WHERE labour_panel > 2 AND total = 28 AND nominated_by_the_taoiseach > 6", "context": "CREATE TABLE table_name_59 (administrative_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, labour_panel VARCHAR, total VARCHAR)", "question": "Tell me the total number of administrative panel with labour panel more than 2, nominated by taoiseach more than 6 and total of 28" }
### QUESTION Name the b winning car for #88 team mitsubishi 88 mitsubishi starion ### CONTEXT CREATE TABLE table_27965906_2 (b_winning_car VARCHAR, a_winning_car VARCHAR) ### ANSWER SELECT b_winning_car FROM table_27965906_2 WHERE a_winning_car = "#88 Team Mitsubishi 88 Mitsubishi Starion"
{ "answer": "SELECT b_winning_car FROM table_27965906_2 WHERE a_winning_car = \"#88 Team Mitsubishi 88 Mitsubishi Starion\"", "context": "CREATE TABLE table_27965906_2 (b_winning_car VARCHAR, a_winning_car VARCHAR)", "question": "Name the b winning car for #88 team mitsubishi 88 mitsubishi starion" }
### QUESTION what date has the class of non-championship f2 as well as a driver name josé froilán gonzález that has a position larger than 2? ### CONTEXT CREATE TABLE table_name_27 (date VARCHAR, position VARCHAR, class VARCHAR, driver VARCHAR) ### ANSWER SELECT date FROM table_name_27 WHERE class = "non-championship f2" AND driver = "josé froilán gonzález" AND position > 2
{ "answer": "SELECT date FROM table_name_27 WHERE class = \"non-championship f2\" AND driver = \"josé froilán gonzález\" AND position > 2", "context": "CREATE TABLE table_name_27 (date VARCHAR, position VARCHAR, class VARCHAR, driver VARCHAR)", "question": "what date has the class of non-championship f2 as well as a driver name josé froilán gonzález that has a position larger than 2?" }
### QUESTION What is the university where the soccer stadium is terrain #2 of complexe sportif claude-robillard? ### CONTEXT CREATE TABLE table_27369069_4 (university VARCHAR, soccer_stadium VARCHAR) ### ANSWER SELECT university FROM table_27369069_4 WHERE soccer_stadium = "terrain #2 of Complexe sportif Claude-Robillard"
{ "answer": "SELECT university FROM table_27369069_4 WHERE soccer_stadium = \"terrain #2 of Complexe sportif Claude-Robillard\"", "context": "CREATE TABLE table_27369069_4 (university VARCHAR, soccer_stadium VARCHAR)", "question": "What is the university where the soccer stadium is terrain #2 of complexe sportif claude-robillard?" }
### QUESTION What is the total number of Against, when Losses is less than 52, when Matches is greater than 4, and when Draw is less than 2? ### CONTEXT CREATE TABLE table_name_66 (against VARCHAR, draw VARCHAR, losses VARCHAR, matches VARCHAR) ### ANSWER SELECT COUNT(against) FROM table_name_66 WHERE losses < 52 AND matches > 4 AND draw < 2
{ "answer": "SELECT COUNT(against) FROM table_name_66 WHERE losses < 52 AND matches > 4 AND draw < 2", "context": "CREATE TABLE table_name_66 (against VARCHAR, draw VARCHAR, losses VARCHAR, matches VARCHAR)", "question": "What is the total number of Against, when Losses is less than 52, when Matches is greater than 4, and when Draw is less than 2?" }
### QUESTION What is the Championship Game that has 4 Bids and a .600 Win %? ### CONTEXT CREATE TABLE table_name_40 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR) ### ANSWER SELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = ".600"
{ "answer": "SELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = \".600\"", "context": "CREATE TABLE table_name_40 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR)", "question": "What is the Championship Game that has 4 Bids and a .600 Win %?" }
### QUESTION What was the time for Jean Luc Razakarivony with less than 3 heat and more than 2 lanes? ### CONTEXT CREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, heat VARCHAR, lane VARCHAR) ### ANSWER SELECT time FROM table_name_44 WHERE heat < 3 AND lane > 2 AND name = "jean luc razakarivony"
{ "answer": "SELECT time FROM table_name_44 WHERE heat < 3 AND lane > 2 AND name = \"jean luc razakarivony\"", "context": "CREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, heat VARCHAR, lane VARCHAR)", "question": "What was the time for Jean Luc Razakarivony with less than 3 heat and more than 2 lanes?" }
### QUESTION If the poverty rate is 12.9%, what is the market income per capita? ### CONTEXT CREATE TABLE table_22815568_6 (market_income_per_capita VARCHAR, poverty_rate VARCHAR) ### ANSWER SELECT market_income_per_capita FROM table_22815568_6 WHERE poverty_rate = "12.9%"
{ "answer": "SELECT market_income_per_capita FROM table_22815568_6 WHERE poverty_rate = \"12.9%\"", "context": "CREATE TABLE table_22815568_6 (market_income_per_capita VARCHAR, poverty_rate VARCHAR)", "question": "If the poverty rate is 12.9%, what is the market income per capita?" }
### QUESTION Who has a Team classification of la vie claire, a stage of 20, a General classification of greg lemond? ### CONTEXT CREATE TABLE table_name_80 (winner VARCHAR, stage VARCHAR, team_classification VARCHAR, general_classification VARCHAR) ### ANSWER SELECT winner FROM table_name_80 WHERE team_classification = "la vie claire" AND general_classification = "greg lemond" AND stage = "20"
{ "answer": "SELECT winner FROM table_name_80 WHERE team_classification = \"la vie claire\" AND general_classification = \"greg lemond\" AND stage = \"20\"", "context": "CREATE TABLE table_name_80 (winner VARCHAR, stage VARCHAR, team_classification VARCHAR, general_classification VARCHAR)", "question": "Who has a Team classification of la vie claire, a stage of 20, a General classification of greg lemond?" }
### QUESTION What is the temperature rating of the intermediate temperature classification? ### CONTEXT CREATE TABLE table_name_1 (temperature_rating VARCHAR, temperature_classification VARCHAR) ### ANSWER SELECT temperature_rating FROM table_name_1 WHERE temperature_classification = "intermediate"
{ "answer": "SELECT temperature_rating FROM table_name_1 WHERE temperature_classification = \"intermediate\"", "context": "CREATE TABLE table_name_1 (temperature_rating VARCHAR, temperature_classification VARCHAR)", "question": "What is the temperature rating of the intermediate temperature classification?" }
### QUESTION who is the the player where pick # is 64 ### CONTEXT CREATE TABLE table_14655985_1 (player VARCHAR, pick__number VARCHAR) ### ANSWER SELECT player FROM table_14655985_1 WHERE pick__number = 64
{ "answer": "SELECT player FROM table_14655985_1 WHERE pick__number = 64", "context": "CREATE TABLE table_14655985_1 (player VARCHAR, pick__number VARCHAR)", "question": "who is the the player where pick # is 64" }
### QUESTION Show all locations which don't have a train station with at least 15 platforms. ### CONTEXT CREATE TABLE station (LOCATION VARCHAR, number_of_platforms VARCHAR) ### ANSWER SELECT LOCATION FROM station EXCEPT SELECT LOCATION FROM station WHERE number_of_platforms >= 15
{ "answer": "SELECT LOCATION FROM station EXCEPT SELECT LOCATION FROM station WHERE number_of_platforms >= 15", "context": "CREATE TABLE station (LOCATION VARCHAR, number_of_platforms VARCHAR)", "question": "Show all locations which don't have a train station with at least 15 platforms." }
### QUESTION display the employee number and name( first name and last name ) for all employees who work in a department with any employee whose name contains a ’T’. ### CONTEXT CREATE TABLE employees (employee_id VARCHAR, first_name VARCHAR, last_name VARCHAR, department_id VARCHAR) ### ANSWER SELECT employee_id, first_name, last_name FROM employees WHERE department_id IN (SELECT department_id FROM employees WHERE first_name LIKE '%T%')
{ "answer": "SELECT employee_id, first_name, last_name FROM employees WHERE department_id IN (SELECT department_id FROM employees WHERE first_name LIKE '%T%')", "context": "CREATE TABLE employees (employee_id VARCHAR, first_name VARCHAR, last_name VARCHAR, department_id VARCHAR)", "question": "display the employee number and name( first name and last name ) for all employees who work in a department with any employee whose name contains a ’T’." }
### QUESTION Which Condition has a Bleeding time of unaffected and a Prothrombin time of prolonged? ### CONTEXT CREATE TABLE table_name_75 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR) ### ANSWER SELECT condition FROM table_name_75 WHERE bleeding_time = "unaffected" AND prothrombin_time = "prolonged"
{ "answer": "SELECT condition FROM table_name_75 WHERE bleeding_time = \"unaffected\" AND prothrombin_time = \"prolonged\"", "context": "CREATE TABLE table_name_75 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)", "question": "Which Condition has a Bleeding time of unaffected and a Prothrombin time of prolonged?" }
### QUESTION Name the Result F – A that has a League position of 1st on 4 january 1994? ### CONTEXT CREATE TABLE table_name_87 (result_f___a VARCHAR, league_position VARCHAR, date VARCHAR) ### ANSWER SELECT result_f___a FROM table_name_87 WHERE league_position = "1st" AND date = "4 january 1994"
{ "answer": "SELECT result_f___a FROM table_name_87 WHERE league_position = \"1st\" AND date = \"4 january 1994\"", "context": "CREATE TABLE table_name_87 (result_f___a VARCHAR, league_position VARCHAR, date VARCHAR)", "question": "Name the Result F – A that has a League position of 1st on 4 january 1994?" }
### QUESTION Name the result for already famous ### CONTEXT CREATE TABLE table_21790203_1 (result VARCHAR, film_title_used_in_nomination VARCHAR) ### ANSWER SELECT result FROM table_21790203_1 WHERE film_title_used_in_nomination = "Already Famous"
{ "answer": "SELECT result FROM table_21790203_1 WHERE film_title_used_in_nomination = \"Already Famous\"", "context": "CREATE TABLE table_21790203_1 (result VARCHAR, film_title_used_in_nomination VARCHAR)", "question": "Name the result for already famous" }
### QUESTION On what Date was Rafael Nadal the Opponent? ### CONTEXT CREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR) ### ANSWER SELECT date FROM table_name_37 WHERE opponent = "rafael nadal"
{ "answer": "SELECT date FROM table_name_37 WHERE opponent = \"rafael nadal\"", "context": "CREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR)", "question": "On what Date was Rafael Nadal the Opponent?" }
### QUESTION How many different nationalities do conductors have? ### CONTEXT CREATE TABLE conductor (Nationality VARCHAR) ### ANSWER SELECT COUNT(DISTINCT Nationality) FROM conductor
{ "answer": "SELECT COUNT(DISTINCT Nationality) FROM conductor", "context": "CREATE TABLE conductor (Nationality VARCHAR)", "question": "How many different nationalities do conductors have?" }
### QUESTION When John Harkes was the color commentator, and Alexi Lalas and Steve McManaman were the pregame analysts, who were the sideline reporters? ### CONTEXT CREATE TABLE table_name_84 (sideline_reporters VARCHAR, color_commentator VARCHAR, pregame_analysts VARCHAR) ### ANSWER SELECT sideline_reporters FROM table_name_84 WHERE color_commentator = "john harkes" AND pregame_analysts = "alexi lalas and steve mcmanaman"
{ "answer": "SELECT sideline_reporters FROM table_name_84 WHERE color_commentator = \"john harkes\" AND pregame_analysts = \"alexi lalas and steve mcmanaman\"", "context": "CREATE TABLE table_name_84 (sideline_reporters VARCHAR, color_commentator VARCHAR, pregame_analysts VARCHAR)", "question": "When John Harkes was the color commentator, and Alexi Lalas and Steve McManaman were the pregame analysts, who were the sideline reporters?" }
### QUESTION What is the release date of the episode named Mouse-Placed Kitten with an episode number less than 1495 directed by Robert McKimson? ### CONTEXT CREATE TABLE table_name_93 (release_date VARCHAR, title VARCHAR, production_number VARCHAR, director VARCHAR) ### ANSWER SELECT release_date FROM table_name_93 WHERE production_number < 1495 AND director = "robert mckimson" AND title = "mouse-placed kitten"
{ "answer": "SELECT release_date FROM table_name_93 WHERE production_number < 1495 AND director = \"robert mckimson\" AND title = \"mouse-placed kitten\"", "context": "CREATE TABLE table_name_93 (release_date VARCHAR, title VARCHAR, production_number VARCHAR, director VARCHAR)", "question": "What is the release date of the episode named Mouse-Placed Kitten with an episode number less than 1495 directed by Robert McKimson?" }
### QUESTION Which Mountains classification has a Team classification of quick step? ### CONTEXT CREATE TABLE table_name_81 (mountains_classification VARCHAR, team_classification VARCHAR) ### ANSWER SELECT mountains_classification FROM table_name_81 WHERE team_classification = "quick step"
{ "answer": "SELECT mountains_classification FROM table_name_81 WHERE team_classification = \"quick step\"", "context": "CREATE TABLE table_name_81 (mountains_classification VARCHAR, team_classification VARCHAR)", "question": "Which Mountains classification has a Team classification of quick step?" }
### QUESTION What is the customer id, first and last name with least number of accounts. ### CONTEXT CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR) ### ANSWER SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) LIMIT 1
{ "answer": "SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) LIMIT 1", "context": "CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)", "question": "What is the customer id, first and last name with least number of accounts." }
### QUESTION What is the withdrawal rate for the school district with a graduation rate of 89.3%? ### CONTEXT CREATE TABLE table_21514460_1 (withdrawal_rate__2010_11_ VARCHAR, graduation_rate__2011_12_ VARCHAR) ### ANSWER SELECT withdrawal_rate__2010_11_ FROM table_21514460_1 WHERE graduation_rate__2011_12_ = "89.3%"
{ "answer": "SELECT withdrawal_rate__2010_11_ FROM table_21514460_1 WHERE graduation_rate__2011_12_ = \"89.3%\"", "context": "CREATE TABLE table_21514460_1 (withdrawal_rate__2010_11_ VARCHAR, graduation_rate__2011_12_ VARCHAR)", "question": "What is the withdrawal rate for the school district with a graduation rate of 89.3%?" }
### QUESTION Which ERP W has a Frequency MHz of 89.3 fm? ### CONTEXT CREATE TABLE table_name_98 (erp_w INTEGER, frequency_mhz VARCHAR) ### ANSWER SELECT MAX(erp_w) FROM table_name_98 WHERE frequency_mhz = "89.3 fm"
{ "answer": "SELECT MAX(erp_w) FROM table_name_98 WHERE frequency_mhz = \"89.3 fm\"", "context": "CREATE TABLE table_name_98 (erp_w INTEGER, frequency_mhz VARCHAR)", "question": "Which ERP W has a Frequency MHz of 89.3 fm?" }
### QUESTION Who is the "CTO" of club "Hopkins Student Enterprises"? Show the first name and last name. ### CONTEXT CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR, position VARCHAR) ### ANSWER SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t2.position = "CTO"
{ "answer": "SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = \"Hopkins Student Enterprises\" AND t2.position = \"CTO\"", "context": "CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR, position VARCHAR)", "question": "Who is the \"CTO\" of club \"Hopkins Student Enterprises\"? Show the first name and last name." }
### QUESTION Find the number and averaged salary of all instructors who are in the department with the highest budget. ### CONTEXT CREATE TABLE department (dept_name VARCHAR, budget VARCHAR); CREATE TABLE instructor (salary INTEGER, dept_name VARCHAR) ### ANSWER SELECT AVG(T1.salary), COUNT(*) FROM instructor AS T1 JOIN department AS T2 ON T1.dept_name = T2.dept_name ORDER BY T2.budget DESC LIMIT 1
{ "answer": "SELECT AVG(T1.salary), COUNT(*) FROM instructor AS T1 JOIN department AS T2 ON T1.dept_name = T2.dept_name ORDER BY T2.budget DESC LIMIT 1", "context": "CREATE TABLE department (dept_name VARCHAR, budget VARCHAR); CREATE TABLE instructor (salary INTEGER, dept_name VARCHAR)", "question": "Find the number and averaged salary of all instructors who are in the department with the highest budget." }
### QUESTION Who is the second of the North America team from Edmonton, Canada? ### CONTEXT CREATE TABLE table_name_58 (second VARCHAR, home VARCHAR, team VARCHAR, country VARCHAR) ### ANSWER SELECT second FROM table_name_58 WHERE team = "north america" AND country = "canada" AND home = "edmonton"
{ "answer": "SELECT second FROM table_name_58 WHERE team = \"north america\" AND country = \"canada\" AND home = \"edmonton\"", "context": "CREATE TABLE table_name_58 (second VARCHAR, home VARCHAR, team VARCHAR, country VARCHAR)", "question": "Who is the second of the North America team from Edmonton, Canada?" }
### QUESTION What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]? ### CONTEXT CREATE TABLE table_name_98 (s_registered_user VARCHAR, userpics_free VARCHAR) ### ANSWER SELECT s_registered_user FROM table_name_98 WHERE userpics_free = "6 [free] or 15 [plus]"
{ "answer": "SELECT s_registered_user FROM table_name_98 WHERE userpics_free = \"6 [free] or 15 [plus]\"", "context": "CREATE TABLE table_name_98 (s_registered_user VARCHAR, userpics_free VARCHAR)", "question": "What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]?" }
### QUESTION Show the names of employees that work for companies with sales bigger than 200. ### CONTEXT CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR); CREATE TABLE company (Company_ID VARCHAR, Sales_in_Billion INTEGER); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) ### ANSWER SELECT T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID WHERE T3.Sales_in_Billion > 200
{ "answer": "SELECT T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID WHERE T3.Sales_in_Billion > 200", "context": "CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR); CREATE TABLE company (Company_ID VARCHAR, Sales_in_Billion INTEGER); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)", "question": "Show the names of employees that work for companies with sales bigger than 200." }
### QUESTION What is the highest games from a game with points less than 4, drawn of 1 and a lost less than 6? ### CONTEXT CREATE TABLE table_name_58 (games INTEGER, lost VARCHAR, points VARCHAR, drawn VARCHAR) ### ANSWER SELECT MAX(games) FROM table_name_58 WHERE points < 4 AND drawn = 1 AND lost < 6
{ "answer": "SELECT MAX(games) FROM table_name_58 WHERE points < 4 AND drawn = 1 AND lost < 6", "context": "CREATE TABLE table_name_58 (games INTEGER, lost VARCHAR, points VARCHAR, drawn VARCHAR)", "question": "What is the highest games from a game with points less than 4, drawn of 1 and a lost less than 6?" }
### QUESTION What was the highest match when the away opponent was Dalian Shide Siwu? ### CONTEXT CREATE TABLE table_name_53 (match INTEGER, opponent_team VARCHAR, home_away VARCHAR) ### ANSWER SELECT MAX(match) FROM table_name_53 WHERE opponent_team = "dalian shide siwu" AND home_away = "away"
{ "answer": "SELECT MAX(match) FROM table_name_53 WHERE opponent_team = \"dalian shide siwu\" AND home_away = \"away\"", "context": "CREATE TABLE table_name_53 (match INTEGER, opponent_team VARCHAR, home_away VARCHAR)", "question": "What was the highest match when the away opponent was Dalian Shide Siwu?" }
### QUESTION What is the Average Qualifying Goals for Jack Froggatt where the Final Goals is greater than 0? ### CONTEXT CREATE TABLE table_name_3 (qualifying_goals INTEGER, player VARCHAR, finals_goals VARCHAR) ### ANSWER SELECT AVG(qualifying_goals) FROM table_name_3 WHERE player = "jack froggatt" AND finals_goals > 0
{ "answer": "SELECT AVG(qualifying_goals) FROM table_name_3 WHERE player = \"jack froggatt\" AND finals_goals > 0", "context": "CREATE TABLE table_name_3 (qualifying_goals INTEGER, player VARCHAR, finals_goals VARCHAR)", "question": "What is the Average Qualifying Goals for Jack Froggatt where the Final Goals is greater than 0?" }
### QUESTION Which Year is the lowest one that has an Athlete of markus thalmann, and a Time of 23:28:24? ### CONTEXT CREATE TABLE table_name_76 (year INTEGER, athlete VARCHAR, time VARCHAR) ### ANSWER SELECT MIN(year) FROM table_name_76 WHERE athlete = "markus thalmann" AND time = "23:28:24"
{ "answer": "SELECT MIN(year) FROM table_name_76 WHERE athlete = \"markus thalmann\" AND time = \"23:28:24\"", "context": "CREATE TABLE table_name_76 (year INTEGER, athlete VARCHAR, time VARCHAR)", "question": "Which Year is the lowest one that has an Athlete of markus thalmann, and a Time of 23:28:24?" }
### QUESTION What is the type for a vessel with a listed unit of naval base swinoujscie (auxiliary squadron)? ### CONTEXT CREATE TABLE table_name_49 (type VARCHAR, unit VARCHAR) ### ANSWER SELECT type FROM table_name_49 WHERE unit = "naval base swinoujscie (auxiliary squadron)"
{ "answer": "SELECT type FROM table_name_49 WHERE unit = \"naval base swinoujscie (auxiliary squadron)\"", "context": "CREATE TABLE table_name_49 (type VARCHAR, unit VARCHAR)", "question": "What is the type for a vessel with a listed unit of naval base swinoujscie (auxiliary squadron)?" }
### QUESTION What day was the game held at Firhill against AYR United? ### CONTEXT CREATE TABLE table_name_60 (date VARCHAR, venue VARCHAR, opponent VARCHAR) ### ANSWER SELECT date FROM table_name_60 WHERE venue = "firhill" AND opponent = "ayr united"
{ "answer": "SELECT date FROM table_name_60 WHERE venue = \"firhill\" AND opponent = \"ayr united\"", "context": "CREATE TABLE table_name_60 (date VARCHAR, venue VARCHAR, opponent VARCHAR)", "question": "What day was the game held at Firhill against AYR United?" }
### QUESTION What company has more than 195.34 billion in sales, ranked greater than 7, more than 11.29 billion in profits, and a market value greater than 198.14 billion? ### CONTEXT CREATE TABLE table_name_62 (company VARCHAR, market_value__billion_$_ VARCHAR, profits__billion_$_ VARCHAR, sales__billion_$_ VARCHAR, rank VARCHAR) ### ANSWER SELECT company FROM table_name_62 WHERE sales__billion_$_ > 195.34 AND rank > 7 AND profits__billion_$_ > 11.29 AND market_value__billion_$_ > 198.14
{ "answer": "SELECT company FROM table_name_62 WHERE sales__billion_$_ > 195.34 AND rank > 7 AND profits__billion_$_ > 11.29 AND market_value__billion_$_ > 198.14", "context": "CREATE TABLE table_name_62 (company VARCHAR, market_value__billion_$_ VARCHAR, profits__billion_$_ VARCHAR, sales__billion_$_ VARCHAR, rank VARCHAR)", "question": "What company has more than 195.34 billion in sales, ranked greater than 7, more than 11.29 billion in profits, and a market value greater than 198.14 billion?" }
### QUESTION Which document has the most draft copies? List its document id and number of draft copies. ### CONTEXT CREATE TABLE Draft_Copies (document_id VARCHAR, copy_number VARCHAR) ### ANSWER SELECT document_id, COUNT(copy_number) FROM Draft_Copies GROUP BY document_id ORDER BY COUNT(copy_number) DESC LIMIT 1
{ "answer": "SELECT document_id, COUNT(copy_number) FROM Draft_Copies GROUP BY document_id ORDER BY COUNT(copy_number) DESC LIMIT 1", "context": "CREATE TABLE Draft_Copies (document_id VARCHAR, copy_number VARCHAR)", "question": "Which document has the most draft copies? List its document id and number of draft copies." }
### QUESTION How many external (cm 2 ) are there for the .338 lapua magnum chambering? ### CONTEXT CREATE TABLE table_26967904_2 (a_external__cm_2__ VARCHAR, chambering VARCHAR) ### ANSWER SELECT COUNT(a_external__cm_2__) FROM table_26967904_2 WHERE chambering = ".338 Lapua Magnum"
{ "answer": "SELECT COUNT(a_external__cm_2__) FROM table_26967904_2 WHERE chambering = \".338 Lapua Magnum\"", "context": "CREATE TABLE table_26967904_2 (a_external__cm_2__ VARCHAR, chambering VARCHAR)", "question": "How many external (cm 2 ) are there for the .338 lapua magnum chambering?" }
### QUESTION What is the name of the customer who has made the largest amount of claim in a single claim? ### CONTEXT CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (amount_claimed INTEGER); CREATE TABLE policies (policy_id VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (policy_id VARCHAR, amount_claimed INTEGER) ### ANSWER SELECT t3.customer_details FROM claim_headers AS t1 JOIN policies AS t2 ON t1.policy_id = t2.policy_id JOIN customers AS t3 ON t2.customer_id = t3.customer_id WHERE t1.amount_claimed = (SELECT MAX(amount_claimed) FROM claim_headers)
{ "answer": "SELECT t3.customer_details FROM claim_headers AS t1 JOIN policies AS t2 ON t1.policy_id = t2.policy_id JOIN customers AS t3 ON t2.customer_id = t3.customer_id WHERE t1.amount_claimed = (SELECT MAX(amount_claimed) FROM claim_headers)", "context": "CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (amount_claimed INTEGER); CREATE TABLE policies (policy_id VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (policy_id VARCHAR, amount_claimed INTEGER)", "question": "What is the name of the customer who has made the largest amount of claim in a single claim?" }
### QUESTION With the Republican ticket of Frank M. Williams who was the Progressive ticket? ### CONTEXT CREATE TABLE table_name_63 (progressive_ticket VARCHAR, republican_ticket VARCHAR) ### ANSWER SELECT progressive_ticket FROM table_name_63 WHERE republican_ticket = "frank m. williams"
{ "answer": "SELECT progressive_ticket FROM table_name_63 WHERE republican_ticket = \"frank m. williams\"", "context": "CREATE TABLE table_name_63 (progressive_ticket VARCHAR, republican_ticket VARCHAR)", "question": "With the Republican ticket of Frank M. Williams who was the Progressive ticket?" }
### QUESTION What is teh born-died dates of the king with a throne name 315 and left office in 1021? ### CONTEXT CREATE TABLE table_name_74 (born_died VARCHAR, left_office VARCHAR, throne_name VARCHAR) ### ANSWER SELECT born_died FROM table_name_74 WHERE left_office = "1021" AND throne_name = "315"
{ "answer": "SELECT born_died FROM table_name_74 WHERE left_office = \"1021\" AND throne_name = \"315\"", "context": "CREATE TABLE table_name_74 (born_died VARCHAR, left_office VARCHAR, throne_name VARCHAR)", "question": "What is teh born-died dates of the king with a throne name 315 and left office in 1021?" }
### QUESTION What is henry transfer fee at fcbarcelona.cat in fra? ### CONTEXT CREATE TABLE table_name_41 (transfer_fee VARCHAR, name VARCHAR, source VARCHAR, country VARCHAR) ### ANSWER SELECT transfer_fee FROM table_name_41 WHERE source = "fcbarcelona.cat" AND country = "fra" AND name = "henry"
{ "answer": "SELECT transfer_fee FROM table_name_41 WHERE source = \"fcbarcelona.cat\" AND country = \"fra\" AND name = \"henry\"", "context": "CREATE TABLE table_name_41 (transfer_fee VARCHAR, name VARCHAR, source VARCHAR, country VARCHAR)", "question": "What is henry transfer fee at fcbarcelona.cat in fra?" }
### QUESTION When debra j. fisher & erica messer are the writers and the director is patrick norris what is the series number? ### CONTEXT CREATE TABLE table_17467147_1 (series__number VARCHAR, directed_by VARCHAR, written_by VARCHAR) ### ANSWER SELECT series__number FROM table_17467147_1 WHERE directed_by = "Patrick Norris" AND written_by = "Debra J. Fisher & Erica Messer"
{ "answer": "SELECT series__number FROM table_17467147_1 WHERE directed_by = \"Patrick Norris\" AND written_by = \"Debra J. Fisher & Erica Messer\"", "context": "CREATE TABLE table_17467147_1 (series__number VARCHAR, directed_by VARCHAR, written_by VARCHAR)", "question": "When debra j. fisher & erica messer are the writers and the director is patrick norris what is the series number?" }
### QUESTION How long has Sebastian Telfair played for Toronto? ### CONTEXT CREATE TABLE table_name_83 (years_in_toronto VARCHAR, player VARCHAR) ### ANSWER SELECT years_in_toronto FROM table_name_83 WHERE player = "sebastian telfair"
{ "answer": "SELECT years_in_toronto FROM table_name_83 WHERE player = \"sebastian telfair\"", "context": "CREATE TABLE table_name_83 (years_in_toronto VARCHAR, player VARCHAR)", "question": "How long has Sebastian Telfair played for Toronto?" }
### QUESTION What was the year opened for North Carolina with a smaller than 21,500 capacity? ### CONTEXT CREATE TABLE table_name_50 (year_opened VARCHAR, state VARCHAR, capacity VARCHAR) ### ANSWER SELECT year_opened FROM table_name_50 WHERE state = "north carolina" AND capacity < 21 OFFSET 500
{ "answer": "SELECT year_opened FROM table_name_50 WHERE state = \"north carolina\" AND capacity < 21 OFFSET 500", "context": "CREATE TABLE table_name_50 (year_opened VARCHAR, state VARCHAR, capacity VARCHAR)", "question": "What was the year opened for North Carolina with a smaller than 21,500 capacity?" }
### QUESTION Who was the opponent at the Football League Trophy competition? ### CONTEXT CREATE TABLE table_name_84 (opponents VARCHAR, competition VARCHAR) ### ANSWER SELECT opponents FROM table_name_84 WHERE competition = "football league trophy"
{ "answer": "SELECT opponents FROM table_name_84 WHERE competition = \"football league trophy\"", "context": "CREATE TABLE table_name_84 (opponents VARCHAR, competition VARCHAR)", "question": "Who was the opponent at the Football League Trophy competition?" }
### QUESTION Who was the opponents in the final on January 5, 2003, on a hard surface? ### CONTEXT CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR) ### ANSWER SELECT opponents_in_the_final FROM table_name_19 WHERE surface = "hard" AND date = "january 5, 2003"
{ "answer": "SELECT opponents_in_the_final FROM table_name_19 WHERE surface = \"hard\" AND date = \"january 5, 2003\"", "context": "CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)", "question": "Who was the opponents in the final on January 5, 2003, on a hard surface?" }
### QUESTION Find the number of clubs where "Tracy Kim" is a member. ### CONTEXT CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubid VARCHAR) ### ANSWER SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Tracy" AND t3.lname = "Kim"
{ "answer": "SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = \"Tracy\" AND t3.lname = \"Kim\"", "context": "CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubid VARCHAR)", "question": "Find the number of clubs where \"Tracy Kim\" is a member." }
### QUESTION Find all procedures which cost more than 1000 or which physician John Wen was trained in. ### CONTEXT CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREATE TABLE procedures (name VARCHAR, code VARCHAR) ### ANSWER SELECT name FROM procedures WHERE cost > 1000 UNION SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = "John Wen"
{ "answer": "SELECT name FROM procedures WHERE cost > 1000 UNION SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = \"John Wen\"", "context": "CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREATE TABLE procedures (name VARCHAR, code VARCHAR)", "question": "Find all procedures which cost more than 1000 or which physician John Wen was trained in." }
### QUESTION What is the first name of the student whose last name starting with the letter S and is taking ACCT-211 class? ### CONTEXT CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR, stu_lname VARCHAR) ### ANSWER SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code WHERE T3.crs_code = 'ACCT-211' AND T1.stu_lname LIKE 'S%'
{ "answer": "SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code WHERE T3.crs_code = 'ACCT-211' AND T1.stu_lname LIKE 'S%'", "context": "CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR, stu_lname VARCHAR)", "question": "What is the first name of the student whose last name starting with the letter S and is taking ACCT-211 class?" }
### QUESTION What are names of the movies that are either made after 2000 or reviewed by Brittany Harris? ### CONTEXT CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR, year VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR) ### ANSWER SELECT DISTINCT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T3.name = 'Brittany Harris' OR T2.year > 2000
{ "answer": "SELECT DISTINCT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T3.name = 'Brittany Harris' OR T2.year > 2000", "context": "CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR, year VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)", "question": "What are names of the movies that are either made after 2000 or reviewed by Brittany Harris?" }
### QUESTION Name the sprint classification being alejandro valverde ### CONTEXT CREATE TABLE table_22713796_14 (sprint_classification VARCHAR, winner VARCHAR) ### ANSWER SELECT sprint_classification FROM table_22713796_14 WHERE winner = "Alejandro Valverde"
{ "answer": "SELECT sprint_classification FROM table_22713796_14 WHERE winner = \"Alejandro Valverde\"", "context": "CREATE TABLE table_22713796_14 (sprint_classification VARCHAR, winner VARCHAR)", "question": "Name the sprint classification being alejandro valverde" }
### QUESTION How many women doubles teams competed in the same year as when Jamie van Hooijdonk competed in men singles? ### CONTEXT CREATE TABLE table_12232843_1 (womens_doubles VARCHAR, mens_singles VARCHAR) ### ANSWER SELECT COUNT(womens_doubles) FROM table_12232843_1 WHERE mens_singles = "Jamie van Hooijdonk"
{ "answer": "SELECT COUNT(womens_doubles) FROM table_12232843_1 WHERE mens_singles = \"Jamie van Hooijdonk\"", "context": "CREATE TABLE table_12232843_1 (womens_doubles VARCHAR, mens_singles VARCHAR)", "question": "How many women doubles teams competed in the same year as when Jamie van Hooijdonk competed in men singles?" }
### QUESTION What is the Placement when the Votes are fewer than 208, and when the Candidate is Jordan Turner? ### CONTEXT CREATE TABLE table_name_58 (placement VARCHAR, votes VARCHAR, candidate VARCHAR) ### ANSWER SELECT placement FROM table_name_58 WHERE votes < 208 AND candidate = "jordan turner"
{ "answer": "SELECT placement FROM table_name_58 WHERE votes < 208 AND candidate = \"jordan turner\"", "context": "CREATE TABLE table_name_58 (placement VARCHAR, votes VARCHAR, candidate VARCHAR)", "question": "What is the Placement when the Votes are fewer than 208, and when the Candidate is Jordan Turner?" }
### QUESTION what's the number of games with a Goals Against smaller than 14, and a Wins larger than 1, and a Draws smaller than 2, and a Goals For of 3? ### CONTEXT CREATE TABLE table_name_27 (games INTEGER, goals_for VARCHAR, draws VARCHAR, goals_against VARCHAR, wins VARCHAR) ### ANSWER SELECT MAX(games) FROM table_name_27 WHERE goals_against < 14 AND wins > 1 AND draws < 2 AND goals_for = 3
{ "answer": "SELECT MAX(games) FROM table_name_27 WHERE goals_against < 14 AND wins > 1 AND draws < 2 AND goals_for = 3", "context": "CREATE TABLE table_name_27 (games INTEGER, goals_for VARCHAR, draws VARCHAR, goals_against VARCHAR, wins VARCHAR)", "question": "what's the number of games with a Goals Against smaller than 14, and a Wins larger than 1, and a Draws smaller than 2, and a Goals For of 3?" }
### QUESTION What is the outcome of the match against Sylvia Hanika on a hard (i) surface? ### CONTEXT CREATE TABLE table_name_75 (outcome VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR) ### ANSWER SELECT outcome FROM table_name_75 WHERE opponent_in_the_final = "sylvia hanika" AND surface = "hard (i)"
{ "answer": "SELECT outcome FROM table_name_75 WHERE opponent_in_the_final = \"sylvia hanika\" AND surface = \"hard (i)\"", "context": "CREATE TABLE table_name_75 (outcome VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR)", "question": "What is the outcome of the match against Sylvia Hanika on a hard (i) surface?" }
### QUESTION List the director and producer when Nick Hewer and Saira Khan were starring. ### CONTEXT CREATE TABLE table_24725951_1 (directed_and_produced_by VARCHAR, celebrities VARCHAR) ### ANSWER SELECT directed_and_produced_by FROM table_24725951_1 WHERE celebrities = "Nick Hewer and Saira Khan"
{ "answer": "SELECT directed_and_produced_by FROM table_24725951_1 WHERE celebrities = \"Nick Hewer and Saira Khan\"", "context": "CREATE TABLE table_24725951_1 (directed_and_produced_by VARCHAR, celebrities VARCHAR)", "question": "List the director and producer when Nick Hewer and Saira Khan were starring." }
### QUESTION What is the score when the attendance is less than 83 and Raunds Town is the away team? ### CONTEXT CREATE TABLE table_name_91 (score VARCHAR, attendance VARCHAR, away_team VARCHAR) ### ANSWER SELECT score FROM table_name_91 WHERE attendance < 83 AND away_team = "raunds town"
{ "answer": "SELECT score FROM table_name_91 WHERE attendance < 83 AND away_team = \"raunds town\"", "context": "CREATE TABLE table_name_91 (score VARCHAR, attendance VARCHAR, away_team VARCHAR)", "question": "What is the score when the attendance is less than 83 and Raunds Town is the away team?" }
### QUESTION What is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1? ### CONTEXT CREATE TABLE table_name_68 (league INTEGER, other VARCHAR, name VARCHAR) ### ANSWER SELECT SUM(league) AS Cup FROM table_name_68 WHERE other < 1 AND name = "gareth farrelly category:articles with hcards" AND league > 1
{ "answer": "SELECT SUM(league) AS Cup FROM table_name_68 WHERE other < 1 AND name = \"gareth farrelly category:articles with hcards\" AND league > 1", "context": "CREATE TABLE table_name_68 (league INTEGER, other VARCHAR, name VARCHAR)", "question": "What is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1?" }