text
stringlengths
146
1.06k
source
dict
### QUESTION What position for the western michigan product picked ahead of 312? ### CONTEXT CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR) ### ANSWER SELECT position FROM table_name_16 WHERE pick < 312 AND school_club_team = "western michigan"
{ "answer": "SELECT position FROM table_name_16 WHERE pick < 312 AND school_club_team = \"western michigan\"", "context": "CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)", "question": "What position for the western michigan product picked ahead of 312?" }
### QUESTION What is the lowest rank that the protestants population holds? ### CONTEXT CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR) ### ANSWER SELECT MIN(rank) FROM table_name_67 WHERE name = "protestants population"
{ "answer": "SELECT MIN(rank) FROM table_name_67 WHERE name = \"protestants population\"", "context": "CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR)", "question": "What is the lowest rank that the protestants population holds?" }
### QUESTION What is the highest up:down ratio with 4 mbit/s upstream? ### CONTEXT CREATE TABLE table_name_72 (up INTEGER, upstream VARCHAR) ### ANSWER SELECT MAX(up) AS :down_ratio FROM table_name_72 WHERE upstream = "4 mbit/s"
{ "answer": "SELECT MAX(up) AS :down_ratio FROM table_name_72 WHERE upstream = \"4 mbit/s\"", "context": "CREATE TABLE table_name_72 (up INTEGER, upstream VARCHAR)", "question": "What is the highest up:down ratio with 4 mbit/s upstream?" }
### QUESTION What are the title and director of the films without any schedule? ### CONTEXT CREATE TABLE schedule (title VARCHAR, directed_by VARCHAR, film_id VARCHAR); CREATE TABLE film (title VARCHAR, directed_by VARCHAR, film_id VARCHAR) ### ANSWER SELECT title, directed_by FROM film WHERE NOT film_id IN (SELECT film_id FROM schedule)
{ "answer": "SELECT title, directed_by FROM film WHERE NOT film_id IN (SELECT film_id FROM schedule)", "context": "CREATE TABLE schedule (title VARCHAR, directed_by VARCHAR, film_id VARCHAR); CREATE TABLE film (title VARCHAR, directed_by VARCHAR, film_id VARCHAR)", "question": "What are the title and director of the films without any schedule?" }
### QUESTION What is the largest pick by the Baltimore Colts in a round later than 10? ### CONTEXT CREATE TABLE table_name_27 (pick INTEGER, nfl_club VARCHAR, round VARCHAR) ### ANSWER SELECT MAX(pick) FROM table_name_27 WHERE nfl_club = "baltimore colts" AND round > 10
{ "answer": "SELECT MAX(pick) FROM table_name_27 WHERE nfl_club = \"baltimore colts\" AND round > 10", "context": "CREATE TABLE table_name_27 (pick INTEGER, nfl_club VARCHAR, round VARCHAR)", "question": "What is the largest pick by the Baltimore Colts in a round later than 10?" }
### QUESTION What is Pronunciation Spelled Free, when Pronunciation Spelled Checked is "ɑ"? ### CONTEXT CREATE TABLE table_name_24 (pronunciation_spelled_free VARCHAR, pronunciation_spelled_checked VARCHAR) ### ANSWER SELECT pronunciation_spelled_free FROM table_name_24 WHERE pronunciation_spelled_checked = "ɑ"
{ "answer": "SELECT pronunciation_spelled_free FROM table_name_24 WHERE pronunciation_spelled_checked = \"ɑ\"", "context": "CREATE TABLE table_name_24 (pronunciation_spelled_free VARCHAR, pronunciation_spelled_checked VARCHAR)", "question": "What is Pronunciation Spelled Free, when Pronunciation Spelled Checked is \"ɑ\"?" }
### QUESTION Find the names of all procedures which cost more than 1000 but which physician John Wen was not 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 EXCEPT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = "John Wen"
{ "answer": "SELECT name FROM procedures WHERE cost > 1000 EXCEPT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = \"John Wen\"", "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 the names of all procedures which cost more than 1000 but which physician John Wen was not trained in?" }
### QUESTION Find the names of the customers who have an deputy policy. ### CONTEXT CREATE TABLE policies (customer_id VARCHAR, policy_type_code VARCHAR); CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR) ### ANSWER SELECT DISTINCT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.policy_type_code = "Deputy"
{ "answer": "SELECT DISTINCT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.policy_type_code = \"Deputy\"", "context": "CREATE TABLE policies (customer_id VARCHAR, policy_type_code VARCHAR); CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR)", "question": "Find the names of the customers who have an deputy policy." }
### QUESTION What is the low grid for gerhard berger for laps over 56? ### CONTEXT CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR) ### ANSWER SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56
{ "answer": "SELECT MIN(grid) FROM table_name_18 WHERE driver = \"gerhard berger\" AND laps > 56", "context": "CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR)", "question": "What is the low grid for gerhard berger for laps over 56?" }
### QUESTION What is the lowest total number of wins in a season before 1989 with tianjin as the runners-up and more than 8 clubs? ### CONTEXT CREATE TABLE table_name_92 (total_wins INTEGER, number_of_clubs VARCHAR, season VARCHAR, runners_up VARCHAR) ### ANSWER SELECT MIN(total_wins) FROM table_name_92 WHERE season < 1989 AND runners_up = "tianjin" AND number_of_clubs > 8
{ "answer": "SELECT MIN(total_wins) FROM table_name_92 WHERE season < 1989 AND runners_up = \"tianjin\" AND number_of_clubs > 8", "context": "CREATE TABLE table_name_92 (total_wins INTEGER, number_of_clubs VARCHAR, season VARCHAR, runners_up VARCHAR)", "question": "What is the lowest total number of wins in a season before 1989 with tianjin as the runners-up and more than 8 clubs?" }
### QUESTION What is the Right Ascension with a Diffuse Nebula Object Type has a °42′30″ Declination and a NGC less than 6995? ### CONTEXT CREATE TABLE table_name_14 (right_ascension___j2000__ VARCHAR, declination___j2000__ VARCHAR, ngc_number VARCHAR, object_type VARCHAR) ### ANSWER SELECT right_ascension___j2000__ FROM table_name_14 WHERE ngc_number < 6995 AND object_type = "diffuse nebula" AND declination___j2000__ = "°42′30″"
{ "answer": "SELECT right_ascension___j2000__ FROM table_name_14 WHERE ngc_number < 6995 AND object_type = \"diffuse nebula\" AND declination___j2000__ = \"°42′30″\"", "context": "CREATE TABLE table_name_14 (right_ascension___j2000__ VARCHAR, declination___j2000__ VARCHAR, ngc_number VARCHAR, object_type VARCHAR)", "question": "What is the Right Ascension with a Diffuse Nebula Object Type has a °42′30″ Declination and a NGC less than 6995?" }
### QUESTION Name the high points for mo williams , lebron james , j.j. hickson (6) ### CONTEXT CREATE TABLE table_22654073_7 (high_points VARCHAR, high_rebounds VARCHAR) ### ANSWER SELECT COUNT(high_points) FROM table_22654073_7 WHERE high_rebounds = "Mo Williams , LeBron James , J.J. Hickson (6)"
{ "answer": "SELECT COUNT(high_points) FROM table_22654073_7 WHERE high_rebounds = \"Mo Williams , LeBron James , J.J. Hickson (6)\"", "context": "CREATE TABLE table_22654073_7 (high_points VARCHAR, high_rebounds VARCHAR)", "question": "Name the high points for mo williams , lebron james , j.j. hickson (6)" }
### QUESTION What is the semester which most student registered in? Show both the name and the id. ### CONTEXT CREATE TABLE Student_Enrolment (semester_id VARCHAR); CREATE TABLE Semesters (semester_name VARCHAR, semester_id VARCHAR) ### ANSWER SELECT T1.semester_name, T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.semester_name, T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Student_Enrolment (semester_id VARCHAR); CREATE TABLE Semesters (semester_name VARCHAR, semester_id VARCHAR)", "question": "What is the semester which most student registered in? Show both the name and the id." }
### QUESTION What is the highest laps with a 30 finish? ### CONTEXT CREATE TABLE table_name_89 (laps INTEGER, finish VARCHAR) ### ANSWER SELECT MAX(laps) FROM table_name_89 WHERE finish = "30"
{ "answer": "SELECT MAX(laps) FROM table_name_89 WHERE finish = \"30\"", "context": "CREATE TABLE table_name_89 (laps INTEGER, finish VARCHAR)", "question": "What is the highest laps with a 30 finish?" }
### QUESTION How many total goals have 0 (3) as total apps, with league goals less than 0? ### CONTEXT CREATE TABLE table_name_80 (total_goals VARCHAR, total_apps VARCHAR, league_goals VARCHAR) ### ANSWER SELECT COUNT(total_goals) FROM table_name_80 WHERE total_apps = "0 (3)" AND league_goals < 0
{ "answer": "SELECT COUNT(total_goals) FROM table_name_80 WHERE total_apps = \"0 (3)\" AND league_goals < 0", "context": "CREATE TABLE table_name_80 (total_goals VARCHAR, total_apps VARCHAR, league_goals VARCHAR)", "question": "How many total goals have 0 (3) as total apps, with league goals less than 0?" }
### QUESTION WHAT IS THE AVERAGE OVERALL WITH A ROUND LARGER THAN 9, AND RB POSITION? ### CONTEXT CREATE TABLE table_name_85 (overall INTEGER, round VARCHAR, position VARCHAR) ### ANSWER SELECT AVG(overall) FROM table_name_85 WHERE round > 9 AND position = "rb"
{ "answer": "SELECT AVG(overall) FROM table_name_85 WHERE round > 9 AND position = \"rb\"", "context": "CREATE TABLE table_name_85 (overall INTEGER, round VARCHAR, position VARCHAR)", "question": "WHAT IS THE AVERAGE OVERALL WITH A ROUND LARGER THAN 9, AND RB POSITION?" }
### QUESTION What is the total number of Matches, when Clubs is 588 → 406? ### CONTEXT CREATE TABLE table_name_16 (matches VARCHAR, clubs VARCHAR) ### ANSWER SELECT COUNT(matches) FROM table_name_16 WHERE clubs = "588 → 406"
{ "answer": "SELECT COUNT(matches) FROM table_name_16 WHERE clubs = \"588 → 406\"", "context": "CREATE TABLE table_name_16 (matches VARCHAR, clubs VARCHAR)", "question": "What is the total number of Matches, when Clubs is 588 → 406?" }
### QUESTION Find the first name and age of the students who are playing both Football and Lacrosse. ### CONTEXT CREATE TABLE Student (fname VARCHAR, age VARCHAR, StuID VARCHAR, SportName VARCHAR); CREATE TABLE Sportsinfo (fname VARCHAR, age VARCHAR, StuID VARCHAR, SportName VARCHAR) ### ANSWER SELECT fname, age FROM Student WHERE StuID IN (SELECT StuID FROM Sportsinfo WHERE SportName = "Football" INTERSECT SELECT StuID FROM Sportsinfo WHERE SportName = "Lacrosse")
{ "answer": "SELECT fname, age FROM Student WHERE StuID IN (SELECT StuID FROM Sportsinfo WHERE SportName = \"Football\" INTERSECT SELECT StuID FROM Sportsinfo WHERE SportName = \"Lacrosse\")", "context": "CREATE TABLE Student (fname VARCHAR, age VARCHAR, StuID VARCHAR, SportName VARCHAR); CREATE TABLE Sportsinfo (fname VARCHAR, age VARCHAR, StuID VARCHAR, SportName VARCHAR)", "question": "Find the first name and age of the students who are playing both Football and Lacrosse." }
### QUESTION What shows for gold when the rank is less than 3, and silver less than 1? ### CONTEXT CREATE TABLE table_name_62 (gold INTEGER, rank VARCHAR, silver VARCHAR) ### ANSWER SELECT SUM(gold) FROM table_name_62 WHERE rank < 3 AND silver < 1
{ "answer": "SELECT SUM(gold) FROM table_name_62 WHERE rank < 3 AND silver < 1", "context": "CREATE TABLE table_name_62 (gold INTEGER, rank VARCHAR, silver VARCHAR)", "question": "What shows for gold when the rank is less than 3, and silver less than 1?" }
### QUESTION What is the lowest population for the area that has a density of 36.7? ### CONTEXT CREATE TABLE table_name_89 (population__2011_ INTEGER, density__inhabitants_km_2__ VARCHAR) ### ANSWER SELECT MIN(population__2011_) FROM table_name_89 WHERE density__inhabitants_km_2__ = 36.7
{ "answer": "SELECT MIN(population__2011_) FROM table_name_89 WHERE density__inhabitants_km_2__ = 36.7", "context": "CREATE TABLE table_name_89 (population__2011_ INTEGER, density__inhabitants_km_2__ VARCHAR)", "question": "What is the lowest population for the area that has a density of 36.7?" }
### QUESTION Which Supplier have a Basic shape of flat, a Wrist pad of no, and Keys (x modes) of 25+? ### CONTEXT CREATE TABLE table_name_16 (supplier VARCHAR, keys__x_modes_ VARCHAR, basic_shape VARCHAR, wrist_pad VARCHAR) ### ANSWER SELECT supplier FROM table_name_16 WHERE basic_shape = "flat" AND wrist_pad = "no" AND keys__x_modes_ = "25+"
{ "answer": "SELECT supplier FROM table_name_16 WHERE basic_shape = \"flat\" AND wrist_pad = \"no\" AND keys__x_modes_ = \"25+\"", "context": "CREATE TABLE table_name_16 (supplier VARCHAR, keys__x_modes_ VARCHAR, basic_shape VARCHAR, wrist_pad VARCHAR)", "question": "Which Supplier have a Basic shape of flat, a Wrist pad of no, and Keys (x modes) of 25+?" }
### QUESTION What type of chipset is in the Precision t3400 model with the PCI Express graphics? ### CONTEXT CREATE TABLE table_name_97 (chipset VARCHAR, graphics VARCHAR, model VARCHAR) ### ANSWER SELECT chipset FROM table_name_97 WHERE graphics = "pci express" AND model = "precision t3400"
{ "answer": "SELECT chipset FROM table_name_97 WHERE graphics = \"pci express\" AND model = \"precision t3400\"", "context": "CREATE TABLE table_name_97 (chipset VARCHAR, graphics VARCHAR, model VARCHAR)", "question": "What type of chipset is in the Precision t3400 model with the PCI Express graphics?" }
### QUESTION Name the typ for project of igmdp and weight of 16,000 ### CONTEXT CREATE TABLE table_name_65 (type VARCHAR, project VARCHAR, weight__kg_ VARCHAR) ### ANSWER SELECT type FROM table_name_65 WHERE project = "igmdp" AND weight__kg_ = "16,000"
{ "answer": "SELECT type FROM table_name_65 WHERE project = \"igmdp\" AND weight__kg_ = \"16,000\"", "context": "CREATE TABLE table_name_65 (type VARCHAR, project VARCHAR, weight__kg_ VARCHAR)", "question": "Name the typ for project of igmdp and weight of 16,000" }
### QUESTION Who was the challenge winner in the episode that originally aired on January 28, 2009? ### CONTEXT CREATE TABLE table_24798489_1 (challenge_winner VARCHAR, original_airdate VARCHAR) ### ANSWER SELECT challenge_winner FROM table_24798489_1 WHERE original_airdate = "January 28, 2009"
{ "answer": "SELECT challenge_winner FROM table_24798489_1 WHERE original_airdate = \"January 28, 2009\"", "context": "CREATE TABLE table_24798489_1 (challenge_winner VARCHAR, original_airdate VARCHAR)", "question": "Who was the challenge winner in the episode that originally aired on January 28, 2009?" }
### QUESTION What is the low attendance was based in phoenix with a Record of 1–0–0? ### CONTEXT CREATE TABLE table_name_38 (attendance INTEGER, home VARCHAR, record VARCHAR) ### ANSWER SELECT MIN(attendance) FROM table_name_38 WHERE home = "phoenix" AND record = "1–0–0"
{ "answer": "SELECT MIN(attendance) FROM table_name_38 WHERE home = \"phoenix\" AND record = \"1–0–0\"", "context": "CREATE TABLE table_name_38 (attendance INTEGER, home VARCHAR, record VARCHAR)", "question": "What is the low attendance was based in phoenix with a Record of 1–0–0?" }
### QUESTION How many entries are in the ranking for jacqueline kohl? ### CONTEXT CREATE TABLE table_26427332_17 (place VARCHAR, contestant VARCHAR) ### ANSWER SELECT COUNT(place) FROM table_26427332_17 WHERE contestant = "Jacqueline Kohl"
{ "answer": "SELECT COUNT(place) FROM table_26427332_17 WHERE contestant = \"Jacqueline Kohl\"", "context": "CREATE TABLE table_26427332_17 (place VARCHAR, contestant VARCHAR)", "question": "How many entries are in the ranking for jacqueline kohl?" }
### QUESTION How many copies were sold of the game released on october 23, 2008? ### CONTEXT CREATE TABLE table_21458142_1 (total_copies_sold VARCHAR, release_date VARCHAR) ### ANSWER SELECT total_copies_sold FROM table_21458142_1 WHERE release_date = "October 23, 2008"
{ "answer": "SELECT total_copies_sold FROM table_21458142_1 WHERE release_date = \"October 23, 2008\"", "context": "CREATE TABLE table_21458142_1 (total_copies_sold VARCHAR, release_date VARCHAR)", "question": "How many copies were sold of the game released on october 23, 2008?" }
### QUESTION what is the name and position of the head whose department has least number of employees? ### CONTEXT CREATE TABLE department (head VARCHAR); CREATE TABLE physician (name VARCHAR, position VARCHAR, EmployeeID VARCHAR) ### ANSWER SELECT T2.name, T2.position FROM department AS T1 JOIN physician AS T2 ON T1.head = T2.EmployeeID GROUP BY departmentID ORDER BY COUNT(departmentID) LIMIT 1
{ "answer": "SELECT T2.name, T2.position FROM department AS T1 JOIN physician AS T2 ON T1.head = T2.EmployeeID GROUP BY departmentID ORDER BY COUNT(departmentID) LIMIT 1", "context": "CREATE TABLE department (head VARCHAR); CREATE TABLE physician (name VARCHAR, position VARCHAR, EmployeeID VARCHAR)", "question": "what is the name and position of the head whose department has least number of employees?" }
### QUESTION Find the first name of the professor who is teaching two courses with code CIS-220 and QM-261. ### CONTEXT CREATE TABLE CLASS (prof_num VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR) ### ANSWER SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num = T2.prof_num WHERE crs_code = 'CIS-220' INTERSECT SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num = T2.prof_num WHERE crs_code = 'QM-261'
{ "answer": "SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num = T2.prof_num WHERE crs_code = 'CIS-220' INTERSECT SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num = T2.prof_num WHERE crs_code = 'QM-261'", "context": "CREATE TABLE CLASS (prof_num VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)", "question": "Find the first name of the professor who is teaching two courses with code CIS-220 and QM-261." }
### QUESTION What is the last round with club team Guelph Storm (ohl)? ### CONTEXT CREATE TABLE table_11803648_22 (round INTEGER, club_team VARCHAR) ### ANSWER SELECT MAX(round) FROM table_11803648_22 WHERE club_team = "Guelph Storm (OHL)"
{ "answer": "SELECT MAX(round) FROM table_11803648_22 WHERE club_team = \"Guelph Storm (OHL)\"", "context": "CREATE TABLE table_11803648_22 (round INTEGER, club_team VARCHAR)", "question": "What is the last round with club team Guelph Storm (ohl)?" }
### QUESTION What is the score of the game with 22 points and the capitals as the opponent? ### CONTEXT CREATE TABLE table_name_37 (score VARCHAR, points VARCHAR, opponent VARCHAR) ### ANSWER SELECT score FROM table_name_37 WHERE points = 22 AND opponent = "capitals"
{ "answer": "SELECT score FROM table_name_37 WHERE points = 22 AND opponent = \"capitals\"", "context": "CREATE TABLE table_name_37 (score VARCHAR, points VARCHAR, opponent VARCHAR)", "question": "What is the score of the game with 22 points and the capitals as the opponent?" }
### QUESTION What's listed for the Elevated with a Cardinalatial title of Priest of S. Eusebio and Archbishop of Benevento? ### CONTEXT CREATE TABLE table_name_25 (elevated VARCHAR, cardinalatial_title VARCHAR) ### ANSWER SELECT elevated FROM table_name_25 WHERE cardinalatial_title = "priest of s. eusebio and archbishop of benevento"
{ "answer": "SELECT elevated FROM table_name_25 WHERE cardinalatial_title = \"priest of s. eusebio and archbishop of benevento\"", "context": "CREATE TABLE table_name_25 (elevated VARCHAR, cardinalatial_title VARCHAR)", "question": "What's listed for the Elevated with a Cardinalatial title of Priest of S. Eusebio and Archbishop of Benevento?" }
### QUESTION Round larger than 6, and a Pick # smaller than 25, and a College of southern Illinois has what position? ### CONTEXT CREATE TABLE table_name_48 (position VARCHAR, college VARCHAR, round VARCHAR, pick__number VARCHAR) ### ANSWER SELECT position FROM table_name_48 WHERE round > 6 AND pick__number < 25 AND college = "southern illinois"
{ "answer": "SELECT position FROM table_name_48 WHERE round > 6 AND pick__number < 25 AND college = \"southern illinois\"", "context": "CREATE TABLE table_name_48 (position VARCHAR, college VARCHAR, round VARCHAR, pick__number VARCHAR)", "question": "Round larger than 6, and a Pick # smaller than 25, and a College of southern Illinois has what position?" }
### QUESTION When @ new orleans is the team who has the highest amount of rebounds? ### CONTEXT CREATE TABLE table_17288825_6 (high_rebounds VARCHAR, team VARCHAR) ### ANSWER SELECT high_rebounds FROM table_17288825_6 WHERE team = "@ New Orleans"
{ "answer": "SELECT high_rebounds FROM table_17288825_6 WHERE team = \"@ New Orleans\"", "context": "CREATE TABLE table_17288825_6 (high_rebounds VARCHAR, team VARCHAR)", "question": "When @ new orleans is the team who has the highest amount of rebounds?" }
### QUESTION What is the grid total that had a retired for engine, teo fabi driving, and under 39 laps? ### CONTEXT CREATE TABLE table_name_83 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR) ### ANSWER SELECT SUM(grid) FROM table_name_83 WHERE time_retired = "engine" AND driver = "teo fabi" AND laps < 39
{ "answer": "SELECT SUM(grid) FROM table_name_83 WHERE time_retired = \"engine\" AND driver = \"teo fabi\" AND laps < 39", "context": "CREATE TABLE table_name_83 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR)", "question": "What is the grid total that had a retired for engine, teo fabi driving, and under 39 laps?" }
### QUESTION What is the municipality percentage for San Antonio de Lomerio is San Javier municipality percentage is 31? ### CONTEXT CREATE TABLE table_19998428_3 (san_antonio_de_lomerío_municipality___percentage_ VARCHAR, san_javier_municipality___percentage_ VARCHAR) ### ANSWER SELECT san_antonio_de_lomerío_municipality___percentage_ FROM table_19998428_3 WHERE san_javier_municipality___percentage_ = 31
{ "answer": "SELECT san_antonio_de_lomerío_municipality___percentage_ FROM table_19998428_3 WHERE san_javier_municipality___percentage_ = 31", "context": "CREATE TABLE table_19998428_3 (san_antonio_de_lomerío_municipality___percentage_ VARCHAR, san_javier_municipality___percentage_ VARCHAR)", "question": "What is the municipality percentage for San Antonio de Lomerio is San Javier municipality percentage is 31?" }
### QUESTION Name the team at the rose garden 20,565 ### CONTEXT CREATE TABLE table_23286158_8 (team VARCHAR, location_attendance VARCHAR) ### ANSWER SELECT team FROM table_23286158_8 WHERE location_attendance = "Rose Garden 20,565"
{ "answer": "SELECT team FROM table_23286158_8 WHERE location_attendance = \"Rose Garden 20,565\"", "context": "CREATE TABLE table_23286158_8 (team VARCHAR, location_attendance VARCHAR)", "question": "Name the team at the rose garden 20,565" }
### QUESTION Name the average week for attendance of 75,111 ### CONTEXT CREATE TABLE table_name_17 (week INTEGER, attendance VARCHAR) ### ANSWER SELECT AVG(week) FROM table_name_17 WHERE attendance = 75 OFFSET 111
{ "answer": "SELECT AVG(week) FROM table_name_17 WHERE attendance = 75 OFFSET 111", "context": "CREATE TABLE table_name_17 (week INTEGER, attendance VARCHAR)", "question": "Name the average week for attendance of 75,111" }
### QUESTION For the tournament ending with a margin of victory of 6 strokes, what was the winning score? ### CONTEXT CREATE TABLE table_name_90 (winning_score VARCHAR, margin_of_victory VARCHAR) ### ANSWER SELECT winning_score FROM table_name_90 WHERE margin_of_victory = "6 strokes"
{ "answer": "SELECT winning_score FROM table_name_90 WHERE margin_of_victory = \"6 strokes\"", "context": "CREATE TABLE table_name_90 (winning_score VARCHAR, margin_of_victory VARCHAR)", "question": "For the tournament ending with a margin of victory of 6 strokes, what was the winning score?" }
### QUESTION who won with a score of 199 (-14) on oct 31? ### CONTEXT CREATE TABLE table_name_21 (winner VARCHAR, score VARCHAR, date VARCHAR) ### ANSWER SELECT winner FROM table_name_21 WHERE score = "199 (-14)" AND date = "oct 31"
{ "answer": "SELECT winner FROM table_name_21 WHERE score = \"199 (-14)\" AND date = \"oct 31\"", "context": "CREATE TABLE table_name_21 (winner VARCHAR, score VARCHAR, date VARCHAR)", "question": "who won with a score of 199 (-14) on oct 31?" }
### QUESTION Which Original Broadway production has a First US National Tour of roger bart? ### CONTEXT CREATE TABLE table_name_52 (original_broadway_production VARCHAR, first_us_national_tour VARCHAR) ### ANSWER SELECT original_broadway_production FROM table_name_52 WHERE first_us_national_tour = "roger bart"
{ "answer": "SELECT original_broadway_production FROM table_name_52 WHERE first_us_national_tour = \"roger bart\"", "context": "CREATE TABLE table_name_52 (original_broadway_production VARCHAR, first_us_national_tour VARCHAR)", "question": "Which Original Broadway production has a First US National Tour of roger bart?" }
### QUESTION What are the market city/market(s) for Rapid City Alternative format? ### CONTEXT CREATE TABLE table_134987_3 (target_city__market VARCHAR, city_of_license VARCHAR, format VARCHAR) ### ANSWER SELECT target_city__market FROM table_134987_3 WHERE city_of_license = "Rapid City" AND format = "Alternative"
{ "answer": "SELECT target_city__market FROM table_134987_3 WHERE city_of_license = \"Rapid City\" AND format = \"Alternative\"", "context": "CREATE TABLE table_134987_3 (target_city__market VARCHAR, city_of_license VARCHAR, format VARCHAR)", "question": "What are the market city/market(s) for Rapid City Alternative format?" }
### QUESTION What is the Record of the 3000 M? ### CONTEXT CREATE TABLE table_name_15 (record VARCHAR, event VARCHAR) ### ANSWER SELECT record FROM table_name_15 WHERE event = "3000 m"
{ "answer": "SELECT record FROM table_name_15 WHERE event = \"3000 m\"", "context": "CREATE TABLE table_name_15 (record VARCHAR, event VARCHAR)", "question": "What is the Record of the 3000 M?" }
### QUESTION What is Position, when Series is Queensland Formula Ford Championship, when Season is after 2001, and when Points is 234? ### CONTEXT CREATE TABLE table_name_48 (position VARCHAR, points VARCHAR, series VARCHAR, season VARCHAR) ### ANSWER SELECT position FROM table_name_48 WHERE series = "queensland formula ford championship" AND season > 2001 AND points = "234"
{ "answer": "SELECT position FROM table_name_48 WHERE series = \"queensland formula ford championship\" AND season > 2001 AND points = \"234\"", "context": "CREATE TABLE table_name_48 (position VARCHAR, points VARCHAR, series VARCHAR, season VARCHAR)", "question": "What is Position, when Series is Queensland Formula Ford Championship, when Season is after 2001, and when Points is 234?" }
### QUESTION on august 16, 1963, what is the velocity? ### CONTEXT CREATE TABLE table_name_56 (velocity__km_h_ INTEGER, date VARCHAR) ### ANSWER SELECT SUM(velocity__km_h_) FROM table_name_56 WHERE date = "august 16, 1963"
{ "answer": "SELECT SUM(velocity__km_h_) FROM table_name_56 WHERE date = \"august 16, 1963\"", "context": "CREATE TABLE table_name_56 (velocity__km_h_ INTEGER, date VARCHAR)", "question": "on august 16, 1963, what is the velocity?" }
### QUESTION What was the prize when the show was aired on Ant1, was presented by Andreas Mikroutsikos, and was launched on March 10, 2003? ### CONTEXT CREATE TABLE table_name_19 (the_prize VARCHAR, launch_date VARCHAR, tv_channel VARCHAR, the_presenter VARCHAR) ### ANSWER SELECT the_prize FROM table_name_19 WHERE tv_channel = "ant1" AND the_presenter = "andreas mikroutsikos" AND launch_date = "march 10, 2003"
{ "answer": "SELECT the_prize FROM table_name_19 WHERE tv_channel = \"ant1\" AND the_presenter = \"andreas mikroutsikos\" AND launch_date = \"march 10, 2003\"", "context": "CREATE TABLE table_name_19 (the_prize VARCHAR, launch_date VARCHAR, tv_channel VARCHAR, the_presenter VARCHAR)", "question": "What was the prize when the show was aired on Ant1, was presented by Andreas Mikroutsikos, and was launched on March 10, 2003?" }
### QUESTION Who is the rider that has a rank of less than 8 in the year 2000, and whose speed was 18.32 km/h? ### CONTEXT CREATE TABLE table_name_43 (rider VARCHAR, speed VARCHAR, rank VARCHAR, year VARCHAR) ### ANSWER SELECT rider FROM table_name_43 WHERE rank < 8 AND year = 2000 AND speed = "18.32 km/h"
{ "answer": "SELECT rider FROM table_name_43 WHERE rank < 8 AND year = 2000 AND speed = \"18.32 km/h\"", "context": "CREATE TABLE table_name_43 (rider VARCHAR, speed VARCHAR, rank VARCHAR, year VARCHAR)", "question": "Who is the rider that has a rank of less than 8 in the year 2000, and whose speed was 18.32 km/h?" }
### QUESTION What is the highest number of gold medals won by a team that won fewer than 2 silver and fewer than 4 bronze medals? ### CONTEXT CREATE TABLE table_name_83 (gold INTEGER, silver VARCHAR, bronze VARCHAR) ### ANSWER SELECT MAX(gold) FROM table_name_83 WHERE silver < 2 AND bronze < 4
{ "answer": "SELECT MAX(gold) FROM table_name_83 WHERE silver < 2 AND bronze < 4", "context": "CREATE TABLE table_name_83 (gold INTEGER, silver VARCHAR, bronze VARCHAR)", "question": "What is the highest number of gold medals won by a team that won fewer than 2 silver and fewer than 4 bronze medals?" }
### QUESTION Where was the race with Luke Ellery as fastest lap and Wayne Boyd as winning driver? ### CONTEXT CREATE TABLE table_29285076_2 (location VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) ### ANSWER SELECT location FROM table_29285076_2 WHERE fastest_lap = "Luke Ellery" AND winning_driver = "Wayne Boyd"
{ "answer": "SELECT location FROM table_29285076_2 WHERE fastest_lap = \"Luke Ellery\" AND winning_driver = \"Wayne Boyd\"", "context": "CREATE TABLE table_29285076_2 (location VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)", "question": "Where was the race with Luke Ellery as fastest lap and Wayne Boyd as winning driver?" }
### QUESTION Which Club has a League Cup goals of 0, and a FA Cup goals of 1, and a Total larger than 11, and a League goals of 13? ### CONTEXT CREATE TABLE table_name_99 (club VARCHAR, league_goals VARCHAR, total VARCHAR, league_cup_goals VARCHAR, fa_cup_goals VARCHAR) ### ANSWER SELECT club FROM table_name_99 WHERE league_cup_goals = "0" AND fa_cup_goals = "1" AND total > 11 AND league_goals = "13"
{ "answer": "SELECT club FROM table_name_99 WHERE league_cup_goals = \"0\" AND fa_cup_goals = \"1\" AND total > 11 AND league_goals = \"13\"", "context": "CREATE TABLE table_name_99 (club VARCHAR, league_goals VARCHAR, total VARCHAR, league_cup_goals VARCHAR, fa_cup_goals VARCHAR)", "question": "Which Club has a League Cup goals of 0, and a FA Cup goals of 1, and a Total larger than 11, and a League goals of 13?" }
### QUESTION What was the round for 29 January 1949, when the against was 1? ### CONTEXT CREATE TABLE table_name_52 (round VARCHAR, against VARCHAR, date VARCHAR) ### ANSWER SELECT round FROM table_name_52 WHERE against = 1 AND date = "29 january 1949"
{ "answer": "SELECT round FROM table_name_52 WHERE against = 1 AND date = \"29 january 1949\"", "context": "CREATE TABLE table_name_52 (round VARCHAR, against VARCHAR, date VARCHAR)", "question": "What was the round for 29 January 1949, when the against was 1?" }
### QUESTION What's Dell Curry nationality? ### CONTEXT CREATE TABLE table_10015132_3 (nationality VARCHAR, player VARCHAR) ### ANSWER SELECT nationality FROM table_10015132_3 WHERE player = "Dell Curry"
{ "answer": "SELECT nationality FROM table_10015132_3 WHERE player = \"Dell Curry\"", "context": "CREATE TABLE table_10015132_3 (nationality VARCHAR, player VARCHAR)", "question": "What's Dell Curry nationality?" }
### QUESTION Find Alice's friends of friends. ### CONTEXT CREATE TABLE PersonFriend (name VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR) ### ANSWER SELECT DISTINCT T4.name FROM PersonFriend AS T1 JOIN Person AS T2 ON T1.name = T2.name JOIN PersonFriend AS T3 ON T1.friend = T3.name JOIN PersonFriend AS T4 ON T3.friend = T4.name WHERE T2.name = 'Alice' AND T4.name <> 'Alice'
{ "answer": "SELECT DISTINCT T4.name FROM PersonFriend AS T1 JOIN Person AS T2 ON T1.name = T2.name JOIN PersonFriend AS T3 ON T1.friend = T3.name JOIN PersonFriend AS T4 ON T3.friend = T4.name WHERE T2.name = 'Alice' AND T4.name <> 'Alice'", "context": "CREATE TABLE PersonFriend (name VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR)", "question": "Find Alice's friends of friends." }
### QUESTION Show all party names and the number of members in each party. ### CONTEXT CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR) ### ANSWER SELECT T2.party_name, COUNT(*) FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id
{ "answer": "SELECT T2.party_name, COUNT(*) FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id", "context": "CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR)", "question": "Show all party names and the number of members in each party." }
### QUESTION Which Home team has a Score of 1–1, and an Away team of tottenham hotspur? ### CONTEXT CREATE TABLE table_name_68 (home_team VARCHAR, score VARCHAR, away_team VARCHAR) ### ANSWER SELECT home_team FROM table_name_68 WHERE score = "1–1" AND away_team = "tottenham hotspur"
{ "answer": "SELECT home_team FROM table_name_68 WHERE score = \"1–1\" AND away_team = \"tottenham hotspur\"", "context": "CREATE TABLE table_name_68 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)", "question": "Which Home team has a Score of 1–1, and an Away team of tottenham hotspur?" }
### QUESTION How many games were played on May 11? ### CONTEXT CREATE TABLE table_22654073_13 (game VARCHAR, date VARCHAR) ### ANSWER SELECT COUNT(game) FROM table_22654073_13 WHERE date = "May 11"
{ "answer": "SELECT COUNT(game) FROM table_22654073_13 WHERE date = \"May 11\"", "context": "CREATE TABLE table_22654073_13 (game VARCHAR, date VARCHAR)", "question": "How many games were played on May 11?" }
### QUESTION what of the total number of date where grand prix is portuguese grand prix ### CONTEXT CREATE TABLE table_1137704_2 (date VARCHAR, grand_prix VARCHAR) ### ANSWER SELECT COUNT(date) FROM table_1137704_2 WHERE grand_prix = "Portuguese grand_prix"
{ "answer": "SELECT COUNT(date) FROM table_1137704_2 WHERE grand_prix = \"Portuguese grand_prix\"", "context": "CREATE TABLE table_1137704_2 (date VARCHAR, grand_prix VARCHAR)", "question": "what of the total number of date where grand prix is portuguese grand prix" }
### QUESTION Who was the winner for a Sprint Classification and Young Classification to Mark Cavendish and Garmin-Chipotle-H30 for team? ### CONTEXT CREATE TABLE table_name_42 (stage__winner_ VARCHAR, young_classification VARCHAR, sprint_classification VARCHAR, team_classification VARCHAR) ### ANSWER SELECT stage__winner_ FROM table_name_42 WHERE sprint_classification = "mark cavendish" AND team_classification = "garmin-chipotle-h30" AND young_classification = "mark cavendish"
{ "answer": "SELECT stage__winner_ FROM table_name_42 WHERE sprint_classification = \"mark cavendish\" AND team_classification = \"garmin-chipotle-h30\" AND young_classification = \"mark cavendish\"", "context": "CREATE TABLE table_name_42 (stage__winner_ VARCHAR, young_classification VARCHAR, sprint_classification VARCHAR, team_classification VARCHAR)", "question": "Who was the winner for a Sprint Classification and Young Classification to Mark Cavendish and Garmin-Chipotle-H30 for team?" }
### QUESTION List players' first name and last name who received salary from team Washington Nationals in both 2005 and 2007. ### CONTEXT CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE salary (player_id VARCHAR, team_id VARCHAR, year VARCHAR) ### ANSWER SELECT T2.name_first, T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2005 AND T3.name = 'Washington Nationals' INTERSECT SELECT T2.name_first, T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2007 AND T3.name = 'Washington Nationals'
{ "answer": "SELECT T2.name_first, T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2005 AND T3.name = 'Washington Nationals' INTERSECT SELECT T2.name_first, T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2007 AND T3.name = 'Washington Nationals'", "context": "CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE salary (player_id VARCHAR, team_id VARCHAR, year VARCHAR)", "question": "List players' first name and last name who received salary from team Washington Nationals in both 2005 and 2007." }
### QUESTION In what week was the game on August 24, 1956 played in front of 40,175 fans? ### CONTEXT CREATE TABLE table_name_10 (week INTEGER, date VARCHAR, attendance VARCHAR) ### ANSWER SELECT MAX(week) FROM table_name_10 WHERE date = "august 24, 1956" AND attendance > 40 OFFSET 175
{ "answer": "SELECT MAX(week) FROM table_name_10 WHERE date = \"august 24, 1956\" AND attendance > 40 OFFSET 175", "context": "CREATE TABLE table_name_10 (week INTEGER, date VARCHAR, attendance VARCHAR)", "question": "In what week was the game on August 24, 1956 played in front of 40,175 fans?" }
### QUESTION Which Labour Panel has an Industrial and Commercial Panel of 9, and a University of Dublin smaller than 3? ### CONTEXT CREATE TABLE table_name_46 (labour_panel INTEGER, industrial_and_commercial_panel VARCHAR, university_of_dublin VARCHAR) ### ANSWER SELECT AVG(labour_panel) FROM table_name_46 WHERE industrial_and_commercial_panel = 9 AND university_of_dublin < 3
{ "answer": "SELECT AVG(labour_panel) FROM table_name_46 WHERE industrial_and_commercial_panel = 9 AND university_of_dublin < 3", "context": "CREATE TABLE table_name_46 (labour_panel INTEGER, industrial_and_commercial_panel VARCHAR, university_of_dublin VARCHAR)", "question": "Which Labour Panel has an Industrial and Commercial Panel of 9, and a University of Dublin smaller than 3?" }
### QUESTION Who is the h.s. principal with Dave Lovering as w.r. principal and Marty Pizur as m.s. principal? ### CONTEXT CREATE TABLE table_name_99 (hs_principal VARCHAR, wr_principal VARCHAR, ms_principal VARCHAR) ### ANSWER SELECT hs_principal FROM table_name_99 WHERE wr_principal = "dave lovering" AND ms_principal = "marty pizur"
{ "answer": "SELECT hs_principal FROM table_name_99 WHERE wr_principal = \"dave lovering\" AND ms_principal = \"marty pizur\"", "context": "CREATE TABLE table_name_99 (hs_principal VARCHAR, wr_principal VARCHAR, ms_principal VARCHAR)", "question": "Who is the h.s. principal with Dave Lovering as w.r. principal and Marty Pizur as m.s. principal?" }
### QUESTION Who was the home team that played in Victoria Park? ### CONTEXT CREATE TABLE table_name_32 (home_team VARCHAR, venue VARCHAR) ### ANSWER SELECT home_team FROM table_name_32 WHERE venue = "victoria park"
{ "answer": "SELECT home_team FROM table_name_32 WHERE venue = \"victoria park\"", "context": "CREATE TABLE table_name_32 (home_team VARCHAR, venue VARCHAR)", "question": "Who was the home team that played in Victoria Park?" }
### QUESTION Name the incumbent for district texas 12 ### CONTEXT CREATE TABLE table_1341690_43 (incumbent VARCHAR, district VARCHAR) ### ANSWER SELECT incumbent FROM table_1341690_43 WHERE district = "Texas 12"
{ "answer": "SELECT incumbent FROM table_1341690_43 WHERE district = \"Texas 12\"", "context": "CREATE TABLE table_1341690_43 (incumbent VARCHAR, district VARCHAR)", "question": "Name the incumbent for district texas 12" }
### QUESTION When did eleonor magdalene of the palatinate-neuburg become duchess? ### CONTEXT CREATE TABLE table_name_77 (became_duchess VARCHAR, name VARCHAR) ### ANSWER SELECT became_duchess FROM table_name_77 WHERE name = "eleonor magdalene of the palatinate-neuburg"
{ "answer": "SELECT became_duchess FROM table_name_77 WHERE name = \"eleonor magdalene of the palatinate-neuburg\"", "context": "CREATE TABLE table_name_77 (became_duchess VARCHAR, name VARCHAR)", "question": "When did eleonor magdalene of the palatinate-neuburg become duchess?" }
### QUESTION what is the location when the opponent is aleksandr pitchkounov? ### CONTEXT CREATE TABLE table_name_54 (location VARCHAR, opponent VARCHAR) ### ANSWER SELECT location FROM table_name_54 WHERE opponent = "aleksandr pitchkounov"
{ "answer": "SELECT location FROM table_name_54 WHERE opponent = \"aleksandr pitchkounov\"", "context": "CREATE TABLE table_name_54 (location VARCHAR, opponent VARCHAR)", "question": "what is the location when the opponent is aleksandr pitchkounov?" }
### QUESTION For each station, return its longitude and the average duration of trips that started from the station. ### CONTEXT CREATE TABLE station (name VARCHAR, long VARCHAR, id VARCHAR); CREATE TABLE trip (duration INTEGER, start_station_id VARCHAR) ### ANSWER SELECT T1.name, T1.long, AVG(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.start_station_id GROUP BY T2.start_station_id
{ "answer": "SELECT T1.name, T1.long, AVG(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.start_station_id GROUP BY T2.start_station_id", "context": "CREATE TABLE station (name VARCHAR, long VARCHAR, id VARCHAR); CREATE TABLE trip (duration INTEGER, start_station_id VARCHAR)", "question": "For each station, return its longitude and the average duration of trips that started from the station." }
### QUESTION What team had less than 291 total points whole having 76 bronze and over 21 gold? ### CONTEXT CREATE TABLE table_name_67 (silver INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR) ### ANSWER SELECT SUM(silver) FROM table_name_67 WHERE gold > 21 AND bronze = 76 AND total < 291
{ "answer": "SELECT SUM(silver) FROM table_name_67 WHERE gold > 21 AND bronze = 76 AND total < 291", "context": "CREATE TABLE table_name_67 (silver INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR)", "question": "What team had less than 291 total points whole having 76 bronze and over 21 gold?" }
### QUESTION What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets? ### CONTEXT CREATE TABLE table_16724844_1 (mens_open VARCHAR, womens_40 VARCHAR) ### ANSWER SELECT mens_open FROM table_16724844_1 WHERE womens_40 = "Sydney Scorpions defeated Hunter Hornets"
{ "answer": "SELECT mens_open FROM table_16724844_1 WHERE womens_40 = \"Sydney Scorpions defeated Hunter Hornets\"", "context": "CREATE TABLE table_16724844_1 (mens_open VARCHAR, womens_40 VARCHAR)", "question": "What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets?" }
### QUESTION What is the decimal value when the memory map and byte string are standard, and the max memory is 512? ### CONTEXT CREATE TABLE table_name_19 (decimal VARCHAR, max_memory__kwords_ VARCHAR, byte_string VARCHAR, memory_map VARCHAR) ### ANSWER SELECT decimal FROM table_name_19 WHERE byte_string = "standard" AND memory_map = "standard" AND max_memory__kwords_ = 512
{ "answer": "SELECT decimal FROM table_name_19 WHERE byte_string = \"standard\" AND memory_map = \"standard\" AND max_memory__kwords_ = 512", "context": "CREATE TABLE table_name_19 (decimal VARCHAR, max_memory__kwords_ VARCHAR, byte_string VARCHAR, memory_map VARCHAR)", "question": "What is the decimal value when the memory map and byte string are standard, and the max memory is 512?" }
### QUESTION What is the Higgins with a Scallon that is 2%? ### CONTEXT CREATE TABLE table_name_35 (higgins VARCHAR, scallon VARCHAR) ### ANSWER SELECT higgins FROM table_name_35 WHERE scallon = "2%"
{ "answer": "SELECT higgins FROM table_name_35 WHERE scallon = \"2%\"", "context": "CREATE TABLE table_name_35 (higgins VARCHAR, scallon VARCHAR)", "question": "What is the Higgins with a Scallon that is 2%?" }
### QUESTION What lane had a heat after 12, a rank of 38 and a time larger than 22.67? ### CONTEXT CREATE TABLE table_name_59 (lane INTEGER, time VARCHAR, heat VARCHAR, rank VARCHAR) ### ANSWER SELECT AVG(lane) FROM table_name_59 WHERE heat > 12 AND rank = 38 AND time > 22.67
{ "answer": "SELECT AVG(lane) FROM table_name_59 WHERE heat > 12 AND rank = 38 AND time > 22.67", "context": "CREATE TABLE table_name_59 (lane INTEGER, time VARCHAR, heat VARCHAR, rank VARCHAR)", "question": "What lane had a heat after 12, a rank of 38 and a time larger than 22.67?" }
### QUESTION What is the format of the album Pacific Ocean Blue in 1991? ### CONTEXT CREATE TABLE table_name_57 (format VARCHAR, album VARCHAR, year VARCHAR) ### ANSWER SELECT format FROM table_name_57 WHERE album = "pacific ocean blue" AND year = 1991
{ "answer": "SELECT format FROM table_name_57 WHERE album = \"pacific ocean blue\" AND year = 1991", "context": "CREATE TABLE table_name_57 (format VARCHAR, album VARCHAR, year VARCHAR)", "question": "What is the format of the album Pacific Ocean Blue in 1991?" }
### QUESTION Name the lowest Quay cranes for Berths of 1 and operator of mtl with terminal of terminal 5 (ct5) ### CONTEXT CREATE TABLE table_name_72 (quay_cranes INTEGER, terminal VARCHAR, berths VARCHAR, operator VARCHAR) ### ANSWER SELECT MIN(quay_cranes) FROM table_name_72 WHERE berths = 1 AND operator = "mtl" AND terminal = "terminal 5 (ct5)"
{ "answer": "SELECT MIN(quay_cranes) FROM table_name_72 WHERE berths = 1 AND operator = \"mtl\" AND terminal = \"terminal 5 (ct5)\"", "context": "CREATE TABLE table_name_72 (quay_cranes INTEGER, terminal VARCHAR, berths VARCHAR, operator VARCHAR)", "question": "Name the lowest Quay cranes for Berths of 1 and operator of mtl with terminal of terminal 5 (ct5)" }
### QUESTION What date is aston villa away? ### CONTEXT CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR) ### ANSWER SELECT date FROM table_name_67 WHERE away_team = "aston villa"
{ "answer": "SELECT date FROM table_name_67 WHERE away_team = \"aston villa\"", "context": "CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR)", "question": "What date is aston villa away?" }
### QUESTION If the channels is wxyzuv, what is the number of channels? ### CONTEXT CREATE TABLE table_233830_1 (number_of_channels VARCHAR, channels VARCHAR) ### ANSWER SELECT number_of_channels FROM table_233830_1 WHERE channels = "WXYZUV"
{ "answer": "SELECT number_of_channels FROM table_233830_1 WHERE channels = \"WXYZUV\"", "context": "CREATE TABLE table_233830_1 (number_of_channels VARCHAR, channels VARCHAR)", "question": "If the channels is wxyzuv, what is the number of channels?" }
### QUESTION Find the personal names of students not enrolled in any course. ### CONTEXT CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (personal_name VARCHAR); CREATE TABLE Students (personal_name VARCHAR, student_id VARCHAR) ### ANSWER SELECT personal_name FROM Students EXCEPT SELECT T1.personal_name FROM Students AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.student_id = T2.student_id
{ "answer": "SELECT personal_name FROM Students EXCEPT SELECT T1.personal_name FROM Students AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.student_id = T2.student_id", "context": "CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (personal_name VARCHAR); CREATE TABLE Students (personal_name VARCHAR, student_id VARCHAR)", "question": "Find the personal names of students not enrolled in any course." }
### QUESTION How did the match end when she played with caroline wozniacki? ### CONTEXT CREATE TABLE table_25505246_8 (outcome VARCHAR, partner VARCHAR) ### ANSWER SELECT outcome FROM table_25505246_8 WHERE partner = "Caroline Wozniacki"
{ "answer": "SELECT outcome FROM table_25505246_8 WHERE partner = \"Caroline Wozniacki\"", "context": "CREATE TABLE table_25505246_8 (outcome VARCHAR, partner VARCHAR)", "question": "How did the match end when she played with caroline wozniacki?" }
### QUESTION What place was Dave Stockton when he had a to par of +1? ### CONTEXT CREATE TABLE table_name_10 (place VARCHAR, to_par VARCHAR, player VARCHAR) ### ANSWER SELECT place FROM table_name_10 WHERE to_par = "+1" AND player = "dave stockton"
{ "answer": "SELECT place FROM table_name_10 WHERE to_par = \"+1\" AND player = \"dave stockton\"", "context": "CREATE TABLE table_name_10 (place VARCHAR, to_par VARCHAR, player VARCHAR)", "question": "What place was Dave Stockton when he had a to par of +1?" }
### QUESTION When seats for 2001 is greater than 15 and % 2001 is greater than 100, what is the % 2006? ### CONTEXT CREATE TABLE table_name_70 (_percentage_2006 INTEGER, seats_2001 VARCHAR, _percentage_2001 VARCHAR) ### ANSWER SELECT AVG(_percentage_2006) FROM table_name_70 WHERE seats_2001 > 15 AND _percentage_2001 > 100
{ "answer": "SELECT AVG(_percentage_2006) FROM table_name_70 WHERE seats_2001 > 15 AND _percentage_2001 > 100", "context": "CREATE TABLE table_name_70 (_percentage_2006 INTEGER, seats_2001 VARCHAR, _percentage_2001 VARCHAR)", "question": "When seats for 2001 is greater than 15 and % 2001 is greater than 100, what is the % 2006?" }
### QUESTION Which time contains the jockery of isaac murphy as well as the winner of kingman? ### CONTEXT CREATE TABLE table_name_39 (time VARCHAR, jockey VARCHAR, winner VARCHAR) ### ANSWER SELECT time FROM table_name_39 WHERE jockey = "isaac murphy" AND winner = "kingman"
{ "answer": "SELECT time FROM table_name_39 WHERE jockey = \"isaac murphy\" AND winner = \"kingman\"", "context": "CREATE TABLE table_name_39 (time VARCHAR, jockey VARCHAR, winner VARCHAR)", "question": "Which time contains the jockery of isaac murphy as well as the winner of kingman?" }
### QUESTION What format is the link for the polling data for February 10–28, 2011? ### CONTEXT CREATE TABLE table_24778847_2 (link VARCHAR, date_of_polling VARCHAR) ### ANSWER SELECT link FROM table_24778847_2 WHERE date_of_polling = "February 10–28, 2011"
{ "answer": "SELECT link FROM table_24778847_2 WHERE date_of_polling = \"February 10–28, 2011\"", "context": "CREATE TABLE table_24778847_2 (link VARCHAR, date_of_polling VARCHAR)", "question": "What format is the link for the polling data for February 10–28, 2011?" }
### QUESTION What year was Teen Angels 2 nominated? ### CONTEXT CREATE TABLE table_name_19 (year VARCHAR, nominated VARCHAR) ### ANSWER SELECT year FROM table_name_19 WHERE nominated = "teen angels 2"
{ "answer": "SELECT year FROM table_name_19 WHERE nominated = \"teen angels 2\"", "context": "CREATE TABLE table_name_19 (year VARCHAR, nominated VARCHAR)", "question": "What year was Teen Angels 2 nominated?" }
### QUESTION Which treasurer has a President of sebastian ihler? ### CONTEXT CREATE TABLE table_name_74 (treasurer VARCHAR, president VARCHAR) ### ANSWER SELECT treasurer FROM table_name_74 WHERE president = "sebastian ihler"
{ "answer": "SELECT treasurer FROM table_name_74 WHERE president = \"sebastian ihler\"", "context": "CREATE TABLE table_name_74 (treasurer VARCHAR, president VARCHAR)", "question": "Which treasurer has a President of sebastian ihler?" }
### QUESTION During the competition at Port Elizabeth, where the opponent was Australia, what were the bowling figures? ### CONTEXT CREATE TABLE table_name_43 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR, versus VARCHAR) ### ANSWER SELECT bowling_figures_wickets_runs__overs_ FROM table_name_43 WHERE venue = "port elizabeth" AND versus = "australia"
{ "answer": "SELECT bowling_figures_wickets_runs__overs_ FROM table_name_43 WHERE venue = \"port elizabeth\" AND versus = \"australia\"", "context": "CREATE TABLE table_name_43 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR, versus VARCHAR)", "question": "During the competition at Port Elizabeth, where the opponent was Australia, what were the bowling figures?" }
### QUESTION Where did the team finish in the season when the playoff result was divisional finals. ### CONTEXT CREATE TABLE table_1427998_1 (regular_season VARCHAR, playoffs VARCHAR) ### ANSWER SELECT regular_season FROM table_1427998_1 WHERE playoffs = "divisional Finals"
{ "answer": "SELECT regular_season FROM table_1427998_1 WHERE playoffs = \"divisional Finals\"", "context": "CREATE TABLE table_1427998_1 (regular_season VARCHAR, playoffs VARCHAR)", "question": "Where did the team finish in the season when the playoff result was divisional finals." }
### QUESTION What were the circumstances of the Hostile incident on the road to Jalalabad? ### CONTEXT CREATE TABLE table_name_18 (circumstances VARCHAR, nature_of_incident VARCHAR, location VARCHAR) ### ANSWER SELECT circumstances FROM table_name_18 WHERE nature_of_incident = "hostile" AND location = "road to jalalabad"
{ "answer": "SELECT circumstances FROM table_name_18 WHERE nature_of_incident = \"hostile\" AND location = \"road to jalalabad\"", "context": "CREATE TABLE table_name_18 (circumstances VARCHAR, nature_of_incident VARCHAR, location VARCHAR)", "question": "What were the circumstances of the Hostile incident on the road to Jalalabad?" }
### QUESTION What is the highest total cargo of an airport ranked larger than 19 with a code of BKK/VTBS? ### CONTEXT CREATE TABLE table_name_18 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR) ### ANSWER SELECT MAX(total_cargo__metric_tonnes_) FROM table_name_18 WHERE code__iata_icao_ = "bkk/vtbs" AND rank > 19
{ "answer": "SELECT MAX(total_cargo__metric_tonnes_) FROM table_name_18 WHERE code__iata_icao_ = \"bkk/vtbs\" AND rank > 19", "context": "CREATE TABLE table_name_18 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR)", "question": "What is the highest total cargo of an airport ranked larger than 19 with a code of BKK/VTBS?" }
### QUESTION Which Population has a Median family income of $53,946? ### CONTEXT CREATE TABLE table_name_41 (population INTEGER, median_family_income VARCHAR) ### ANSWER SELECT MAX(population) FROM table_name_41 WHERE median_family_income = "$53,946"
{ "answer": "SELECT MAX(population) FROM table_name_41 WHERE median_family_income = \"$53,946\"", "context": "CREATE TABLE table_name_41 (population INTEGER, median_family_income VARCHAR)", "question": "Which Population has a Median family income of $53,946?" }
### QUESTION Which Tournament has a winner Outcome with a Score of 6–3, 7–5 with Kimberly Po-Messerli as a Partner? ### CONTEXT CREATE TABLE table_name_85 (tournament VARCHAR, partner VARCHAR, outcome VARCHAR, score VARCHAR) ### ANSWER SELECT tournament FROM table_name_85 WHERE outcome = "winner" AND score = "6–3, 7–5" AND partner = "kimberly po-messerli"
{ "answer": "SELECT tournament FROM table_name_85 WHERE outcome = \"winner\" AND score = \"6–3, 7–5\" AND partner = \"kimberly po-messerli\"", "context": "CREATE TABLE table_name_85 (tournament VARCHAR, partner VARCHAR, outcome VARCHAR, score VARCHAR)", "question": "Which Tournament has a winner Outcome with a Score of 6–3, 7–5 with Kimberly Po-Messerli as a Partner?" }
### QUESTION What are the names and ids of stations that had more than 14 bikes available on average or were installed in December? ### CONTEXT CREATE TABLE station (name VARCHAR, id VARCHAR); CREATE TABLE station (name VARCHAR, id VARCHAR, installation_date VARCHAR); CREATE TABLE status (station_id VARCHAR, bikes_available INTEGER) ### ANSWER SELECT T1.name, T1.id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING AVG(T2.bikes_available) > 14 UNION SELECT name, id FROM station WHERE installation_date LIKE "12/%"
{ "answer": "SELECT T1.name, T1.id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING AVG(T2.bikes_available) > 14 UNION SELECT name, id FROM station WHERE installation_date LIKE \"12/%\"", "context": "CREATE TABLE station (name VARCHAR, id VARCHAR); CREATE TABLE station (name VARCHAR, id VARCHAR, installation_date VARCHAR); CREATE TABLE status (station_id VARCHAR, bikes_available INTEGER)", "question": "What are the names and ids of stations that had more than 14 bikes available on average or were installed in December?" }
### QUESTION What is the average lane for Kenya with react larger than 0.212? ### CONTEXT CREATE TABLE table_name_79 (lane INTEGER, nationality VARCHAR, react VARCHAR) ### ANSWER SELECT AVG(lane) FROM table_name_79 WHERE nationality = "kenya" AND react > 0.212
{ "answer": "SELECT AVG(lane) FROM table_name_79 WHERE nationality = \"kenya\" AND react > 0.212", "context": "CREATE TABLE table_name_79 (lane INTEGER, nationality VARCHAR, react VARCHAR)", "question": "What is the average lane for Kenya with react larger than 0.212?" }
### QUESTION what is the since beginning of big 12 when last 10 meetings is ou, 7-3, neutral site is ou, 2-1, and last 5 meetings is bu, 3-2? ### CONTEXT CREATE TABLE table_name_28 (since_beginning_of_big_12 VARCHAR, last_5_meetings VARCHAR, last_10_meetings VARCHAR, at_neutral_site VARCHAR) ### ANSWER SELECT since_beginning_of_big_12 FROM table_name_28 WHERE last_10_meetings = "ou, 7-3" AND at_neutral_site = "ou, 2-1" AND last_5_meetings = "bu, 3-2"
{ "answer": "SELECT since_beginning_of_big_12 FROM table_name_28 WHERE last_10_meetings = \"ou, 7-3\" AND at_neutral_site = \"ou, 2-1\" AND last_5_meetings = \"bu, 3-2\"", "context": "CREATE TABLE table_name_28 (since_beginning_of_big_12 VARCHAR, last_5_meetings VARCHAR, last_10_meetings VARCHAR, at_neutral_site VARCHAR)", "question": "what is the since beginning of big 12 when last 10 meetings is ou, 7-3, neutral site is ou, 2-1, and last 5 meetings is bu, 3-2?" }
### QUESTION How many caps did the player Mile Sterjovski have? ### CONTEXT CREATE TABLE table_name_22 (caps VARCHAR, player VARCHAR) ### ANSWER SELECT caps FROM table_name_22 WHERE player = "mile sterjovski"
{ "answer": "SELECT caps FROM table_name_22 WHERE player = \"mile sterjovski\"", "context": "CREATE TABLE table_name_22 (caps VARCHAR, player VARCHAR)", "question": "How many caps did the player Mile Sterjovski have?" }
### QUESTION When aaron brooks (6) had the highest amount of assists what is the date? ### CONTEXT CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR) ### ANSWER SELECT date FROM table_17288825_6 WHERE high_assists = "Aaron Brooks (6)"
{ "answer": "SELECT date FROM table_17288825_6 WHERE high_assists = \"Aaron Brooks (6)\"", "context": "CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR)", "question": "When aaron brooks (6) had the highest amount of assists what is the date?" }
### QUESTION What is the color code and description of the product named "chervil"? ### CONTEXT CREATE TABLE products (color_code VARCHAR, product_name VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR) ### ANSWER SELECT t1.color_code, t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t1.product_name = "chervil"
{ "answer": "SELECT t1.color_code, t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t1.product_name = \"chervil\"", "context": "CREATE TABLE products (color_code VARCHAR, product_name VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR)", "question": "What is the color code and description of the product named \"chervil\"?" }
### QUESTION What are the values of n for cinema content provided by Sky Cinema +24 on its Sky Cinema package? ### CONTEXT CREATE TABLE table_15887683_5 (n° VARCHAR, television_service VARCHAR, package_option VARCHAR, content VARCHAR) ### ANSWER SELECT n° FROM table_15887683_5 WHERE package_option = "Sky Cinema" AND content = "cinema" AND television_service = "Sky Cinema" + 24
{ "answer": "SELECT n° FROM table_15887683_5 WHERE package_option = \"Sky Cinema\" AND content = \"cinema\" AND television_service = \"Sky Cinema\" + 24", "context": "CREATE TABLE table_15887683_5 (n° VARCHAR, television_service VARCHAR, package_option VARCHAR, content VARCHAR)", "question": "What are the values of n for cinema content provided by Sky Cinema +24 on its Sky Cinema package?" }
### QUESTION On what date was there a draw at Sydney Cricket Ground? ### CONTEXT CREATE TABLE table_name_83 (date VARCHAR, result VARCHAR, venue VARCHAR) ### ANSWER SELECT date FROM table_name_83 WHERE result = "draw" AND venue = "sydney cricket ground"
{ "answer": "SELECT date FROM table_name_83 WHERE result = \"draw\" AND venue = \"sydney cricket ground\"", "context": "CREATE TABLE table_name_83 (date VARCHAR, result VARCHAR, venue VARCHAR)", "question": "On what date was there a draw at Sydney Cricket Ground?" }
### QUESTION Name the date of appointment for sacked and 14th position replaced by marco kostmann ### CONTEXT CREATE TABLE table_17327264_3 (date_of_appointment VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR) ### ANSWER SELECT date_of_appointment FROM table_17327264_3 WHERE manner_of_departure = "Sacked" AND position_in_table = "14th" AND replaced_by = "Marco Kostmann"
{ "answer": "SELECT date_of_appointment FROM table_17327264_3 WHERE manner_of_departure = \"Sacked\" AND position_in_table = \"14th\" AND replaced_by = \"Marco Kostmann\"", "context": "CREATE TABLE table_17327264_3 (date_of_appointment VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)", "question": "Name the date of appointment for sacked and 14th position replaced by marco kostmann" }
### QUESTION What is the New Zealand Kennel Club Toy Group with papillon as the Australian National Kennel Council Toy Dogs Group breed? ### CONTEXT CREATE TABLE table_name_26 (new_zealand_kennel_club_toy_group VARCHAR, australian_national_kennel_council_toy_dogs_group VARCHAR) ### ANSWER SELECT new_zealand_kennel_club_toy_group FROM table_name_26 WHERE australian_national_kennel_council_toy_dogs_group = "papillon"
{ "answer": "SELECT new_zealand_kennel_club_toy_group FROM table_name_26 WHERE australian_national_kennel_council_toy_dogs_group = \"papillon\"", "context": "CREATE TABLE table_name_26 (new_zealand_kennel_club_toy_group VARCHAR, australian_national_kennel_council_toy_dogs_group VARCHAR)", "question": "What is the New Zealand Kennel Club Toy Group with papillon as the Australian National Kennel Council Toy Dogs Group breed?" }