text
stringlengths
146
1.06k
source
dict
### QUESTION What is every status with a weekly schedule of Monday to Thursday @ 11:00 pm? ### CONTEXT CREATE TABLE table_18821196_1 (status VARCHAR, weekly_schedule VARCHAR) ### ANSWER SELECT status FROM table_18821196_1 WHERE weekly_schedule = "Monday to Thursday @ 11:00 pm"
{ "answer": "SELECT status FROM table_18821196_1 WHERE weekly_schedule = \"Monday to Thursday @ 11:00 pm\"", "context": "CREATE TABLE table_18821196_1 (status VARCHAR, weekly_schedule VARCHAR)", "question": "What is every status with a weekly schedule of Monday to Thursday @ 11:00 pm?" }
### QUESTION What date was the Competition of europe/africa zone, group i, round robin, with a result of loss, in Antalya, and a Score of 1–2? ### CONTEXT CREATE TABLE table_name_19 (date VARCHAR, score VARCHAR, location VARCHAR, competition VARCHAR, result VARCHAR) ### ANSWER SELECT date FROM table_name_19 WHERE competition = "europe/africa zone, group i, round robin" AND result = "loss" AND location = "antalya" AND score = "1–2"
{ "answer": "SELECT date FROM table_name_19 WHERE competition = \"europe/africa zone, group i, round robin\" AND result = \"loss\" AND location = \"antalya\" AND score = \"1–2\"", "context": "CREATE TABLE table_name_19 (date VARCHAR, score VARCHAR, location VARCHAR, competition VARCHAR, result VARCHAR)", "question": "What date was the Competition of europe/africa zone, group i, round robin, with a result of loss, in Antalya, and a Score of 1–2?" }
### QUESTION Which general election had a pq majority and a 44.75% of the popular vote? ### CONTEXT CREATE TABLE table_106367_2 (general_election VARCHAR, result VARCHAR, _percentage_of_popular_vote VARCHAR) ### ANSWER SELECT general_election FROM table_106367_2 WHERE result = "PQ majority" AND _percentage_of_popular_vote = "44.75%"
{ "answer": "SELECT general_election FROM table_106367_2 WHERE result = \"PQ majority\" AND _percentage_of_popular_vote = \"44.75%\"", "context": "CREATE TABLE table_106367_2 (general_election VARCHAR, result VARCHAR, _percentage_of_popular_vote VARCHAR)", "question": "Which general election had a pq majority and a 44.75% of the popular vote?" }
### QUESTION Record of 11-10-3 is what sum of game #? ### CONTEXT CREATE TABLE table_name_57 (game__number INTEGER, record VARCHAR) ### ANSWER SELECT SUM(game__number) FROM table_name_57 WHERE record = "11-10-3"
{ "answer": "SELECT SUM(game__number) FROM table_name_57 WHERE record = \"11-10-3\"", "context": "CREATE TABLE table_name_57 (game__number INTEGER, record VARCHAR)", "question": "Record of 11-10-3 is what sum of game #?" }
### QUESTION Show the total number of rooms of the apartments in the building with short name "Columbus Square". ### CONTEXT CREATE TABLE Apartment_Buildings (building_id VARCHAR, building_short_name VARCHAR); CREATE TABLE Apartments (room_count INTEGER, building_id VARCHAR) ### ANSWER SELECT SUM(T2.room_count) FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T1.building_short_name = "Columbus Square"
{ "answer": "SELECT SUM(T2.room_count) FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T1.building_short_name = \"Columbus Square\"", "context": "CREATE TABLE Apartment_Buildings (building_id VARCHAR, building_short_name VARCHAR); CREATE TABLE Apartments (room_count INTEGER, building_id VARCHAR)", "question": "Show the total number of rooms of the apartments in the building with short name \"Columbus Square\"." }
### QUESTION What is the website of the school affiliated with the Church of England? ### CONTEXT CREATE TABLE table_28523_3 (school VARCHAR, religious_affiliation VARCHAR) ### ANSWER SELECT school AS website FROM table_28523_3 WHERE religious_affiliation = "Church of England"
{ "answer": "SELECT school AS website FROM table_28523_3 WHERE religious_affiliation = \"Church of England\"", "context": "CREATE TABLE table_28523_3 (school VARCHAR, religious_affiliation VARCHAR)", "question": "What is the website of the school affiliated with the Church of England?" }
### QUESTION What is the cost of 972 Min Press caused 52 death? ### CONTEXT CREATE TABLE table_name_36 (damage__millions_usd__ VARCHAR, min_press___mbar__ VARCHAR, deaths VARCHAR) ### ANSWER SELECT damage__millions_usd__ FROM table_name_36 WHERE min_press___mbar__ = "972" AND deaths = "52"
{ "answer": "SELECT damage__millions_usd__ FROM table_name_36 WHERE min_press___mbar__ = \"972\" AND deaths = \"52\"", "context": "CREATE TABLE table_name_36 (damage__millions_usd__ VARCHAR, min_press___mbar__ VARCHAR, deaths VARCHAR)", "question": "What is the cost of 972 Min Press caused 52 death?" }
### QUESTION Name the original title for not nominated result with report on death ### CONTEXT CREATE TABLE table_20963074_1 (original_title VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR) ### ANSWER SELECT original_title FROM table_20963074_1 WHERE result = "Not Nominated" AND film_title_used_in_nomination = "Report on Death"
{ "answer": "SELECT original_title FROM table_20963074_1 WHERE result = \"Not Nominated\" AND film_title_used_in_nomination = \"Report on Death\"", "context": "CREATE TABLE table_20963074_1 (original_title VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)", "question": "Name the original title for not nominated result with report on death" }
### QUESTION Which college did the player picked number 136 go to? ### CONTEXT CREATE TABLE table_name_54 (college VARCHAR, pick VARCHAR) ### ANSWER SELECT college FROM table_name_54 WHERE pick = 136
{ "answer": "SELECT college FROM table_name_54 WHERE pick = 136", "context": "CREATE TABLE table_name_54 (college VARCHAR, pick VARCHAR)", "question": "Which college did the player picked number 136 go to?" }
### QUESTION What is the lowest total data processing and exploitation of 00 0,228, and a management and support larger than 1,7? ### CONTEXT CREATE TABLE table_name_72 (total INTEGER, data_processing_and_exploitation VARCHAR, management_and_support VARCHAR) ### ANSWER SELECT MIN(total) FROM table_name_72 WHERE data_processing_and_exploitation = "00 0,228" AND management_and_support > 1 OFFSET 7
{ "answer": "SELECT MIN(total) FROM table_name_72 WHERE data_processing_and_exploitation = \"00 0,228\" AND management_and_support > 1 OFFSET 7", "context": "CREATE TABLE table_name_72 (total INTEGER, data_processing_and_exploitation VARCHAR, management_and_support VARCHAR)", "question": "What is the lowest total data processing and exploitation of 00 0,228, and a management and support larger than 1,7?" }
### QUESTION Who was the away team when the crowd was larger than 41,451? ### CONTEXT CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER) ### ANSWER SELECT away_team FROM table_name_69 WHERE crowd > 41 OFFSET 451
{ "answer": "SELECT away_team FROM table_name_69 WHERE crowd > 41 OFFSET 451", "context": "CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER)", "question": "Who was the away team when the crowd was larger than 41,451?" }
### QUESTION What is the highest number of nominations by Taoiseach of the composition with an administrative panel greater than 0 and an industrial and commercial panel less than 1? ### CONTEXT CREATE TABLE table_name_11 (nominated_by_the_taoiseach INTEGER, administrative_panel VARCHAR, industrial_and_commercial_panel VARCHAR) ### ANSWER SELECT MAX(nominated_by_the_taoiseach) FROM table_name_11 WHERE administrative_panel > 0 AND industrial_and_commercial_panel < 1
{ "answer": "SELECT MAX(nominated_by_the_taoiseach) FROM table_name_11 WHERE administrative_panel > 0 AND industrial_and_commercial_panel < 1", "context": "CREATE TABLE table_name_11 (nominated_by_the_taoiseach INTEGER, administrative_panel VARCHAR, industrial_and_commercial_panel VARCHAR)", "question": "What is the highest number of nominations by Taoiseach of the composition with an administrative panel greater than 0 and an industrial and commercial panel less than 1?" }
### QUESTION How many pre-race analysis occur when Allen Bestwick does the lap-by-lap? ### CONTEXT CREATE TABLE table_10716893_3 (pre_race_analyst VARCHAR, lap_by_lap VARCHAR) ### ANSWER SELECT COUNT(pre_race_analyst) FROM table_10716893_3 WHERE lap_by_lap = "Allen Bestwick"
{ "answer": "SELECT COUNT(pre_race_analyst) FROM table_10716893_3 WHERE lap_by_lap = \"Allen Bestwick\"", "context": "CREATE TABLE table_10716893_3 (pre_race_analyst VARCHAR, lap_by_lap VARCHAR)", "question": "How many pre-race analysis occur when Allen Bestwick does the lap-by-lap?" }
### QUESTION How many appointed archbishops were ordained as priests on December 20, 1959 ### CONTEXT CREATE TABLE table_1656555_1 (Appointed VARCHAR, ordained_priest VARCHAR) ### ANSWER SELECT COUNT(Appointed) AS archbishop FROM table_1656555_1 WHERE ordained_priest = "December 20, 1959"
{ "answer": "SELECT COUNT(Appointed) AS archbishop FROM table_1656555_1 WHERE ordained_priest = \"December 20, 1959\"", "context": "CREATE TABLE table_1656555_1 (Appointed VARCHAR, ordained_priest VARCHAR)", "question": "How many appointed archbishops were ordained as priests on December 20, 1959" }
### QUESTION Which Score has an Opponent of melanie south? ### CONTEXT CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR) ### ANSWER SELECT score FROM table_name_58 WHERE opponent = "melanie south"
{ "answer": "SELECT score FROM table_name_58 WHERE opponent = \"melanie south\"", "context": "CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)", "question": "Which Score has an Opponent of melanie south?" }
### QUESTION List the id and type of each thing, and the details of the organization that owns it. ### CONTEXT CREATE TABLE Organizations (organization_details VARCHAR, organization_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, type_of_Thing_Code VARCHAR, organization_id VARCHAR) ### ANSWER SELECT T1.thing_id, T1.type_of_Thing_Code, T2.organization_details FROM Things AS T1 JOIN Organizations AS T2 ON T1.organization_id = T2.organization_id
{ "answer": "SELECT T1.thing_id, T1.type_of_Thing_Code, T2.organization_details FROM Things AS T1 JOIN Organizations AS T2 ON T1.organization_id = T2.organization_id", "context": "CREATE TABLE Organizations (organization_details VARCHAR, organization_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, type_of_Thing_Code VARCHAR, organization_id VARCHAR)", "question": "List the id and type of each thing, and the details of the organization that owns it." }
### QUESTION From what series is Peck Up Your Troubles? ### CONTEXT CREATE TABLE table_name_66 (series VARCHAR, title VARCHAR) ### ANSWER SELECT series FROM table_name_66 WHERE title = "peck up your troubles"
{ "answer": "SELECT series FROM table_name_66 WHERE title = \"peck up your troubles\"", "context": "CREATE TABLE table_name_66 (series VARCHAR, title VARCHAR)", "question": "From what series is Peck Up Your Troubles?" }
### QUESTION Which team has an overall playoff of (0-0), a home record of (0-1) and played the Green Bay Blizzard team? ### CONTEXT CREATE TABLE table_name_74 (overall VARCHAR, opponent VARCHAR, plyff VARCHAR, home VARCHAR) ### ANSWER SELECT overall FROM table_name_74 WHERE plyff = "(0-0)" AND home = "(0-1)" AND opponent = "green bay blizzard"
{ "answer": "SELECT overall FROM table_name_74 WHERE plyff = \"(0-0)\" AND home = \"(0-1)\" AND opponent = \"green bay blizzard\"", "context": "CREATE TABLE table_name_74 (overall VARCHAR, opponent VARCHAR, plyff VARCHAR, home VARCHAR)", "question": "Which team has an overall playoff of (0-0), a home record of (0-1) and played the Green Bay Blizzard team?" }
### QUESTION What is the total number of To Par, when Score is "70-75-76=221"? ### CONTEXT CREATE TABLE table_name_16 (to_par VARCHAR, score VARCHAR) ### ANSWER SELECT COUNT(to_par) FROM table_name_16 WHERE score = 70 - 75 - 76 = 221
{ "answer": "SELECT COUNT(to_par) FROM table_name_16 WHERE score = 70 - 75 - 76 = 221", "context": "CREATE TABLE table_name_16 (to_par VARCHAR, score VARCHAR)", "question": "What is the total number of To Par, when Score is \"70-75-76=221\"?" }
### QUESTION what is the latest episode in the series that had 16.17 million u.s. viewers? ### CONTEXT CREATE TABLE table_25997153_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR) ### ANSWER SELECT MAX(no_in_series) FROM table_25997153_1 WHERE us_viewers__million_ = "16.17"
{ "answer": "SELECT MAX(no_in_series) FROM table_25997153_1 WHERE us_viewers__million_ = \"16.17\"", "context": "CREATE TABLE table_25997153_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR)", "question": "what is the latest episode in the series that had 16.17 million u.s. viewers?" }
### QUESTION How many total gold medals did Australia receive? ### CONTEXT CREATE TABLE table_name_80 (gold VARCHAR, nation VARCHAR) ### ANSWER SELECT COUNT(gold) FROM table_name_80 WHERE nation = "australia"
{ "answer": "SELECT COUNT(gold) FROM table_name_80 WHERE nation = \"australia\"", "context": "CREATE TABLE table_name_80 (gold VARCHAR, nation VARCHAR)", "question": "How many total gold medals did Australia receive?" }
### QUESTION How many places according to the 2011 census of whatever population have an area of 132.79 kilometers squared? ### CONTEXT CREATE TABLE table_14325808_1 (population__2011_census_ VARCHAR, area__km²_ VARCHAR) ### ANSWER SELECT COUNT(population__2011_census_) FROM table_14325808_1 WHERE area__km²_ = "132.79"
{ "answer": "SELECT COUNT(population__2011_census_) FROM table_14325808_1 WHERE area__km²_ = \"132.79\"", "context": "CREATE TABLE table_14325808_1 (population__2011_census_ VARCHAR, area__km²_ VARCHAR)", "question": "How many places according to the 2011 census of whatever population have an area of 132.79 kilometers squared?" }
### QUESTION what are the tries where the game was lost by 4? ### CONTEXT CREATE TABLE table_13564637_3 (tries_against VARCHAR, lost VARCHAR) ### ANSWER SELECT tries_against FROM table_13564637_3 WHERE lost = "4"
{ "answer": "SELECT tries_against FROM table_13564637_3 WHERE lost = \"4\"", "context": "CREATE TABLE table_13564637_3 (tries_against VARCHAR, lost VARCHAR)", "question": "what are the tries where the game was lost by 4?" }
### QUESTION What country does the player who joined the Vancouver Canucks originally hail from? ### CONTEXT CREATE TABLE table_2886617_4 (nationality VARCHAR, nhl_team VARCHAR) ### ANSWER SELECT nationality FROM table_2886617_4 WHERE nhl_team = "Vancouver Canucks"
{ "answer": "SELECT nationality FROM table_2886617_4 WHERE nhl_team = \"Vancouver Canucks\"", "context": "CREATE TABLE table_2886617_4 (nationality VARCHAR, nhl_team VARCHAR)", "question": "What country does the player who joined the Vancouver Canucks originally hail from?" }
### QUESTION On what date did the first match occur for the competition that ended with a final position of winners and the final round in the finals? ### CONTEXT CREATE TABLE table_name_35 (first_match VARCHAR, final_position VARCHAR, final_round VARCHAR) ### ANSWER SELECT first_match FROM table_name_35 WHERE final_position = "winners" AND final_round = "finals"
{ "answer": "SELECT first_match FROM table_name_35 WHERE final_position = \"winners\" AND final_round = \"finals\"", "context": "CREATE TABLE table_name_35 (first_match VARCHAR, final_position VARCHAR, final_round VARCHAR)", "question": "On what date did the first match occur for the competition that ended with a final position of winners and the final round in the finals?" }
### QUESTION For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn? ### CONTEXT CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR) ### ANSWER SELECT drawn FROM table_name_94 WHERE played = "22" AND points_against = "453" AND losing_bonus = "5"
{ "answer": "SELECT drawn FROM table_name_94 WHERE played = \"22\" AND points_against = \"453\" AND losing_bonus = \"5\"", "context": "CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR)", "question": "For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn?" }
### QUESTION What is Score, when Venue is Riyadh, Saudi Arabia, and when Result is "Win"? ### CONTEXT CREATE TABLE table_name_22 (score VARCHAR, venue VARCHAR, result VARCHAR) ### ANSWER SELECT score FROM table_name_22 WHERE venue = "riyadh, saudi arabia" AND result = "win"
{ "answer": "SELECT score FROM table_name_22 WHERE venue = \"riyadh, saudi arabia\" AND result = \"win\"", "context": "CREATE TABLE table_name_22 (score VARCHAR, venue VARCHAR, result VARCHAR)", "question": "What is Score, when Venue is Riyadh, Saudi Arabia, and when Result is \"Win\"?" }
### QUESTION Birth Date of 8 November 1980, and a Weight smaller than 93 has what sum of a shirt number? ### CONTEXT CREATE TABLE table_name_6 (shirt_no INTEGER, birth_date VARCHAR, weight VARCHAR) ### ANSWER SELECT SUM(shirt_no) FROM table_name_6 WHERE birth_date = "8 november 1980" AND weight < 93
{ "answer": "SELECT SUM(shirt_no) FROM table_name_6 WHERE birth_date = \"8 november 1980\" AND weight < 93", "context": "CREATE TABLE table_name_6 (shirt_no INTEGER, birth_date VARCHAR, weight VARCHAR)", "question": "Birth Date of 8 November 1980, and a Weight smaller than 93 has what sum of a shirt number?" }
### QUESTION What is the Club, when the value for Lost is 9, and when the value for Tries is 55? ### CONTEXT CREATE TABLE table_name_8 (club VARCHAR, lost VARCHAR, tries_for VARCHAR) ### ANSWER SELECT club FROM table_name_8 WHERE lost = "9" AND tries_for = "55"
{ "answer": "SELECT club FROM table_name_8 WHERE lost = \"9\" AND tries_for = \"55\"", "context": "CREATE TABLE table_name_8 (club VARCHAR, lost VARCHAR, tries_for VARCHAR)", "question": "What is the Club, when the value for Lost is 9, and when the value for Tries is 55?" }
### QUESTION For boozer (13) what is the high assists and high rebounds? ### CONTEXT CREATE TABLE table_name_41 (high_assists VARCHAR, high_rebounds VARCHAR) ### ANSWER SELECT high_assists FROM table_name_41 WHERE high_rebounds = "boozer (13)"
{ "answer": "SELECT high_assists FROM table_name_41 WHERE high_rebounds = \"boozer (13)\"", "context": "CREATE TABLE table_name_41 (high_assists VARCHAR, high_rebounds VARCHAR)", "question": "For boozer (13) what is the high assists and high rebounds?" }
### QUESTION Which nationality's distance was 500m before 2012, when the record was 1:37.071s? ### CONTEXT CREATE TABLE table_name_26 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR) ### ANSWER SELECT nationality FROM table_name_26 WHERE distance = "500m" AND year < 2012 AND record = "1:37.071s"
{ "answer": "SELECT nationality FROM table_name_26 WHERE distance = \"500m\" AND year < 2012 AND record = \"1:37.071s\"", "context": "CREATE TABLE table_name_26 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR)", "question": "Which nationality's distance was 500m before 2012, when the record was 1:37.071s?" }
### QUESTION What company focuses on Engine Overhaul for their principal activity? ### CONTEXT CREATE TABLE table_name_7 (company VARCHAR, principal_activities VARCHAR) ### ANSWER SELECT company FROM table_name_7 WHERE principal_activities = "engine overhaul"
{ "answer": "SELECT company FROM table_name_7 WHERE principal_activities = \"engine overhaul\"", "context": "CREATE TABLE table_name_7 (company VARCHAR, principal_activities VARCHAR)", "question": "What company focuses on Engine Overhaul for their principal activity?" }
### QUESTION What Driver has a +1.027 Time/Retired? ### CONTEXT CREATE TABLE table_name_86 (driver VARCHAR, time_retired VARCHAR) ### ANSWER SELECT driver FROM table_name_86 WHERE time_retired = "+1.027"
{ "answer": "SELECT driver FROM table_name_86 WHERE time_retired = \"+1.027\"", "context": "CREATE TABLE table_name_86 (driver VARCHAR, time_retired VARCHAR)", "question": "What Driver has a +1.027 Time/Retired?" }
### QUESTION What are the title(s) of episodes directed by david solomon and written by marti noxon? ### CONTEXT CREATE TABLE table_28195971_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR) ### ANSWER SELECT title FROM table_28195971_1 WHERE directed_by = "David Solomon" AND written_by = "Marti Noxon"
{ "answer": "SELECT title FROM table_28195971_1 WHERE directed_by = \"David Solomon\" AND written_by = \"Marti Noxon\"", "context": "CREATE TABLE table_28195971_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)", "question": "What are the title(s) of episodes directed by david solomon and written by marti noxon?" }
### QUESTION What was the location and attendance with a score of w 89–86 (ot)? ### CONTEXT CREATE TABLE table_name_62 (location_attendance VARCHAR, score VARCHAR) ### ANSWER SELECT location_attendance FROM table_name_62 WHERE score = "w 89–86 (ot)"
{ "answer": "SELECT location_attendance FROM table_name_62 WHERE score = \"w 89–86 (ot)\"", "context": "CREATE TABLE table_name_62 (location_attendance VARCHAR, score VARCHAR)", "question": "What was the location and attendance with a score of w 89–86 (ot)?" }
### QUESTION which course has most number of registered students? ### CONTEXT CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (course_Id VARCHAR) ### ANSWER SELECT T1.course_name FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_Id GROUP BY T1.course_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.course_name FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_Id GROUP BY T1.course_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (course_Id VARCHAR)", "question": "which course has most number of registered students?" }
### QUESTION Name the total number of overall for defensive tackle ### CONTEXT CREATE TABLE table_name_6 (overall VARCHAR, position VARCHAR) ### ANSWER SELECT COUNT(overall) FROM table_name_6 WHERE position = "defensive tackle"
{ "answer": "SELECT COUNT(overall) FROM table_name_6 WHERE position = \"defensive tackle\"", "context": "CREATE TABLE table_name_6 (overall VARCHAR, position VARCHAR)", "question": "Name the total number of overall for defensive tackle" }
### QUESTION What is the score of the game with the San Diego Padres as the opponent and a record of 11-23? ### CONTEXT CREATE TABLE table_name_29 (score VARCHAR, opponent VARCHAR, record VARCHAR) ### ANSWER SELECT score FROM table_name_29 WHERE opponent = "san diego padres" AND record = "11-23"
{ "answer": "SELECT score FROM table_name_29 WHERE opponent = \"san diego padres\" AND record = \"11-23\"", "context": "CREATE TABLE table_name_29 (score VARCHAR, opponent VARCHAR, record VARCHAR)", "question": "What is the score of the game with the San Diego Padres as the opponent and a record of 11-23?" }
### QUESTION Find the name of amenities Smith Hall dorm have. ### CONTEXT CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR) ### ANSWER SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T1.dorm_name = 'Smith Hall'
{ "answer": "SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T1.dorm_name = 'Smith Hall'", "context": "CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)", "question": "Find the name of amenities Smith Hall dorm have." }
### QUESTION who is the the incumbent with opponent being peter king (r) 56.0% david mejias (d) 44.0% ### CONTEXT CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR) ### ANSWER SELECT incumbent FROM table_13833770_3 WHERE opponent = "Peter King (R) 56.0% David Mejias (D) 44.0%"
{ "answer": "SELECT incumbent FROM table_13833770_3 WHERE opponent = \"Peter King (R) 56.0% David Mejias (D) 44.0%\"", "context": "CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR)", "question": "who is the the incumbent with opponent being peter king (r) 56.0% david mejias (d) 44.0%" }
### QUESTION What is the average week for the game against baltimore colts with less than 41,062 in attendance? ### CONTEXT CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR) ### ANSWER SELECT AVG(week) FROM table_name_12 WHERE opponent = "baltimore colts" AND attendance < 41 OFFSET 062
{ "answer": "SELECT AVG(week) FROM table_name_12 WHERE opponent = \"baltimore colts\" AND attendance < 41 OFFSET 062", "context": "CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR)", "question": "What is the average week for the game against baltimore colts with less than 41,062 in attendance?" }
### QUESTION In what bowl game was the result Oklahoma 31, Stanford 27? ### CONTEXT CREATE TABLE table_23718905_6 (bowl_game VARCHAR, matchup_results VARCHAR) ### ANSWER SELECT bowl_game FROM table_23718905_6 WHERE matchup_results = "Oklahoma 31, Stanford 27"
{ "answer": "SELECT bowl_game FROM table_23718905_6 WHERE matchup_results = \"Oklahoma 31, Stanford 27\"", "context": "CREATE TABLE table_23718905_6 (bowl_game VARCHAR, matchup_results VARCHAR)", "question": "In what bowl game was the result Oklahoma 31, Stanford 27?" }
### QUESTION What are the record companies of orchestras in descending order of years in which they were founded? ### CONTEXT CREATE TABLE orchestra (Record_Company VARCHAR, Year_of_Founded VARCHAR) ### ANSWER SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC
{ "answer": "SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC", "context": "CREATE TABLE orchestra (Record_Company VARCHAR, Year_of_Founded VARCHAR)", "question": "What are the record companies of orchestras in descending order of years in which they were founded?" }
### QUESTION Whats the highest Promotions that has a Team of Pallacanestro Messina, along with Relegations larger than 0? ### CONTEXT CREATE TABLE table_name_43 (promotions INTEGER, team VARCHAR, relegations VARCHAR) ### ANSWER SELECT MAX(promotions) FROM table_name_43 WHERE team = "pallacanestro messina" AND relegations > 0
{ "answer": "SELECT MAX(promotions) FROM table_name_43 WHERE team = \"pallacanestro messina\" AND relegations > 0", "context": "CREATE TABLE table_name_43 (promotions INTEGER, team VARCHAR, relegations VARCHAR)", "question": "Whats the highest Promotions that has a Team of Pallacanestro Messina, along with Relegations larger than 0?" }
### QUESTION What is the frequency of the processor released at $383, with a sSpec of sr15f(c0)? ### CONTEXT CREATE TABLE table_name_14 (frequency VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR) ### ANSWER SELECT frequency FROM table_name_14 WHERE release_price___usd__ = "$383" AND sspec_number = "sr15f(c0)"
{ "answer": "SELECT frequency FROM table_name_14 WHERE release_price___usd__ = \"$383\" AND sspec_number = \"sr15f(c0)\"", "context": "CREATE TABLE table_name_14 (frequency VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR)", "question": "What is the frequency of the processor released at $383, with a sSpec of sr15f(c0)?" }
### QUESTION Studio host of john ryder, and a Year of 2007-08 had what play by play? ### CONTEXT CREATE TABLE table_name_38 (play_by_play VARCHAR, studio_host VARCHAR, year VARCHAR) ### ANSWER SELECT play_by_play FROM table_name_38 WHERE studio_host = "john ryder" AND year = "2007-08"
{ "answer": "SELECT play_by_play FROM table_name_38 WHERE studio_host = \"john ryder\" AND year = \"2007-08\"", "context": "CREATE TABLE table_name_38 (play_by_play VARCHAR, studio_host VARCHAR, year VARCHAR)", "question": "Studio host of john ryder, and a Year of 2007-08 had what play by play?" }
### QUESTION When was construction completed that was listed on 09/21/1984 and a Deleted of 11/04/1999? ### CONTEXT CREATE TABLE table_name_9 (construction_completed VARCHAR, listed VARCHAR, deleted VARCHAR) ### ANSWER SELECT construction_completed FROM table_name_9 WHERE listed = "09/21/1984" AND deleted = "11/04/1999"
{ "answer": "SELECT construction_completed FROM table_name_9 WHERE listed = \"09/21/1984\" AND deleted = \"11/04/1999\"", "context": "CREATE TABLE table_name_9 (construction_completed VARCHAR, listed VARCHAR, deleted VARCHAR)", "question": "When was construction completed that was listed on 09/21/1984 and a Deleted of 11/04/1999?" }
### QUESTION Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears? ### CONTEXT CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR) ### ANSWER SELECT conference_joined FROM table_name_67 WHERE location = "terre haute" AND mascot = "golden bears"
{ "answer": "SELECT conference_joined FROM table_name_67 WHERE location = \"terre haute\" AND mascot = \"golden bears\"", "context": "CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR)", "question": "Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears?" }
### QUESTION How many Females (%) have Females Rank smaller than 21, and a State of kerala, and Males Rank larger than 1? ### CONTEXT CREATE TABLE table_name_1 (females___percentage_ VARCHAR, males_rank VARCHAR, females_rank VARCHAR, state VARCHAR) ### ANSWER SELECT COUNT(females___percentage_) FROM table_name_1 WHERE females_rank < 21 AND state = "kerala" AND males_rank > 1
{ "answer": "SELECT COUNT(females___percentage_) FROM table_name_1 WHERE females_rank < 21 AND state = \"kerala\" AND males_rank > 1", "context": "CREATE TABLE table_name_1 (females___percentage_ VARCHAR, males_rank VARCHAR, females_rank VARCHAR, state VARCHAR)", "question": "How many Females (%) have Females Rank smaller than 21, and a State of kerala, and Males Rank larger than 1?" }
### QUESTION what was the engine when ken downing drove an entrant from connaught engineering? ### CONTEXT CREATE TABLE table_name_37 (engine VARCHAR, driver VARCHAR, entrant VARCHAR) ### ANSWER SELECT engine FROM table_name_37 WHERE driver = "ken downing" AND entrant = "connaught engineering"
{ "answer": "SELECT engine FROM table_name_37 WHERE driver = \"ken downing\" AND entrant = \"connaught engineering\"", "context": "CREATE TABLE table_name_37 (engine VARCHAR, driver VARCHAR, entrant VARCHAR)", "question": "what was the engine when ken downing drove an entrant from connaught engineering?" }
### QUESTION What is the sum of the Cultural and Educational Panels that have an Administrative Panel greater than 1, an Agricultural Panel of 11 and a University of Dublin smaller than 3? ### CONTEXT CREATE TABLE table_name_3 (cultural_and_educational_panel INTEGER, university_of_dublin VARCHAR, administrative_panel VARCHAR, agricultural_panel VARCHAR) ### ANSWER SELECT SUM(cultural_and_educational_panel) FROM table_name_3 WHERE administrative_panel > 1 AND agricultural_panel = 11 AND university_of_dublin < 3
{ "answer": "SELECT SUM(cultural_and_educational_panel) FROM table_name_3 WHERE administrative_panel > 1 AND agricultural_panel = 11 AND university_of_dublin < 3", "context": "CREATE TABLE table_name_3 (cultural_and_educational_panel INTEGER, university_of_dublin VARCHAR, administrative_panel VARCHAR, agricultural_panel VARCHAR)", "question": "What is the sum of the Cultural and Educational Panels that have an Administrative Panel greater than 1, an Agricultural Panel of 11 and a University of Dublin smaller than 3?" }
### QUESTION What was the first season for Syrianska FC ### CONTEXT CREATE TABLE table_1560673_1 (first_season VARCHAR, club VARCHAR) ### ANSWER SELECT first_season FROM table_1560673_1 WHERE club = "Syrianska FC"
{ "answer": "SELECT first_season FROM table_1560673_1 WHERE club = \"Syrianska FC\"", "context": "CREATE TABLE table_1560673_1 (first_season VARCHAR, club VARCHAR)", "question": "What was the first season for Syrianska FC" }
### QUESTION What is the role of the employee named Koby? ### CONTEXT CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR); CREATE TABLE Employees (role_code VARCHAR, employee_name VARCHAR) ### ANSWER SELECT T1.role_description FROM ROLES AS T1 JOIN Employees AS T2 ON T1.role_code = T2.role_code WHERE T2.employee_name = "Koby"
{ "answer": "SELECT T1.role_description FROM ROLES AS T1 JOIN Employees AS T2 ON T1.role_code = T2.role_code WHERE T2.employee_name = \"Koby\"", "context": "CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR); CREATE TABLE Employees (role_code VARCHAR, employee_name VARCHAR)", "question": "What is the role of the employee named Koby?" }
### QUESTION How many points for the navy team that lost over 11? ### CONTEXT CREATE TABLE table_name_4 (points INTEGER, team VARCHAR, lost VARCHAR) ### ANSWER SELECT SUM(points) FROM table_name_4 WHERE team = "navy" AND lost > 11
{ "answer": "SELECT SUM(points) FROM table_name_4 WHERE team = \"navy\" AND lost > 11", "context": "CREATE TABLE table_name_4 (points INTEGER, team VARCHAR, lost VARCHAR)", "question": "How many points for the navy team that lost over 11?" }
### QUESTION Show the name and theme for all concerts and the number of singers in each concert. ### CONTEXT CREATE TABLE singer_in_concert (concert_id VARCHAR); CREATE TABLE concert (concert_name VARCHAR, theme VARCHAR, concert_id VARCHAR) ### ANSWER SELECT T2.concert_name, T2.theme, COUNT(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id = T2.concert_id GROUP BY T2.concert_id
{ "answer": "SELECT T2.concert_name, T2.theme, COUNT(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id = T2.concert_id GROUP BY T2.concert_id", "context": "CREATE TABLE singer_in_concert (concert_id VARCHAR); CREATE TABLE concert (concert_name VARCHAR, theme VARCHAR, concert_id VARCHAR)", "question": "Show the name and theme for all concerts and the number of singers in each concert." }
### QUESTION What are the names for tracks without a race in class 'GT'. ### CONTEXT CREATE TABLE race (track_id VARCHAR, class VARCHAR); CREATE TABLE track (name VARCHAR); CREATE TABLE track (name VARCHAR, track_id VARCHAR) ### ANSWER SELECT name FROM track EXCEPT SELECT T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id WHERE T1.class = 'GT'
{ "answer": "SELECT name FROM track EXCEPT SELECT T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id WHERE T1.class = 'GT'", "context": "CREATE TABLE race (track_id VARCHAR, class VARCHAR); CREATE TABLE track (name VARCHAR); CREATE TABLE track (name VARCHAR, track_id VARCHAR)", "question": "What are the names for tracks without a race in class 'GT'." }
### QUESTION How many teams have a player named Denis Andersen? ### CONTEXT CREATE TABLE table_1965650_7 (nhl_team VARCHAR, player VARCHAR) ### ANSWER SELECT COUNT(nhl_team) FROM table_1965650_7 WHERE player = "Denis Andersen"
{ "answer": "SELECT COUNT(nhl_team) FROM table_1965650_7 WHERE player = \"Denis Andersen\"", "context": "CREATE TABLE table_1965650_7 (nhl_team VARCHAR, player VARCHAR)", "question": "How many teams have a player named Denis Andersen?" }
### QUESTION What is the party of the representative that has the smallest number of votes. ### CONTEXT CREATE TABLE representative (Party VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR) ### ANSWER SELECT T2.Party FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes LIMIT 1
{ "answer": "SELECT T2.Party FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes LIMIT 1", "context": "CREATE TABLE representative (Party VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR)", "question": "What is the party of the representative that has the smallest number of votes." }
### QUESTION List from which date and to which date these staff work: project staff of the project which hires the most staffs ### CONTEXT CREATE TABLE Project_Staff (date_from VARCHAR, date_to VARCHAR, project_id VARCHAR, role_code VARCHAR) ### ANSWER SELECT date_from, date_to FROM Project_Staff WHERE project_id IN (SELECT project_id FROM Project_Staff GROUP BY project_id ORDER BY COUNT(*) DESC LIMIT 1) UNION SELECT date_from, date_to FROM Project_Staff WHERE role_code = 'leader'
{ "answer": "SELECT date_from, date_to FROM Project_Staff WHERE project_id IN (SELECT project_id FROM Project_Staff GROUP BY project_id ORDER BY COUNT(*) DESC LIMIT 1) UNION SELECT date_from, date_to FROM Project_Staff WHERE role_code = 'leader'", "context": "CREATE TABLE Project_Staff (date_from VARCHAR, date_to VARCHAR, project_id VARCHAR, role_code VARCHAR)", "question": "List from which date and to which date these staff work: project staff of the project which hires the most staffs" }
### QUESTION What are the dates of the latest logon of the students with family name "Jaskolski" or "Langosh"? ### CONTEXT CREATE TABLE Students (date_of_latest_logon VARCHAR, family_name VARCHAR) ### ANSWER SELECT date_of_latest_logon FROM Students WHERE family_name = "Jaskolski" OR family_name = "Langosh"
{ "answer": "SELECT date_of_latest_logon FROM Students WHERE family_name = \"Jaskolski\" OR family_name = \"Langosh\"", "context": "CREATE TABLE Students (date_of_latest_logon VARCHAR, family_name VARCHAR)", "question": "What are the dates of the latest logon of the students with family name \"Jaskolski\" or \"Langosh\"?" }
### QUESTION How many distinct characteristic names does the product "cumin" have? ### CONTEXT CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR) ### ANSWER SELECT COUNT(DISTINCT t3.characteristic_name) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame"
{ "answer": "SELECT COUNT(DISTINCT t3.characteristic_name) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = \"sesame\"", "context": "CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)", "question": "How many distinct characteristic names does the product \"cumin\" have?" }
### QUESTION Find the number of projects which each scientist is working on and scientist's name. ### CONTEXT CREATE TABLE scientists (name VARCHAR, ssn VARCHAR); CREATE TABLE assignedto (scientist VARCHAR) ### ANSWER SELECT COUNT(*), T1.name FROM scientists AS T1 JOIN assignedto AS T2 ON T1.ssn = T2.scientist GROUP BY T1.name
{ "answer": "SELECT COUNT(*), T1.name FROM scientists AS T1 JOIN assignedto AS T2 ON T1.ssn = T2.scientist GROUP BY T1.name", "context": "CREATE TABLE scientists (name VARCHAR, ssn VARCHAR); CREATE TABLE assignedto (scientist VARCHAR)", "question": "Find the number of projects which each scientist is working on and scientist's name." }
### QUESTION What were the quarterfinals in the round of 32 was S williams / V williams ( usa ) l 6–4, 5–7, 1–6? ### CONTEXT CREATE TABLE table_17289604_38 (quarterfinals VARCHAR, round_of_32 VARCHAR) ### ANSWER SELECT quarterfinals FROM table_17289604_38 WHERE round_of_32 = "S Williams / V Williams ( USA ) L 6–4, 5–7, 1–6"
{ "answer": "SELECT quarterfinals FROM table_17289604_38 WHERE round_of_32 = \"S Williams / V Williams ( USA ) L 6–4, 5–7, 1–6\"", "context": "CREATE TABLE table_17289604_38 (quarterfinals VARCHAR, round_of_32 VARCHAR)", "question": "What were the quarterfinals in the round of 32 was S williams / V williams ( usa ) l 6–4, 5–7, 1–6?" }
### QUESTION What is Call Sign, when City of License is Brownfield, Texas? ### CONTEXT CREATE TABLE table_name_51 (call_sign VARCHAR, city_of_license VARCHAR) ### ANSWER SELECT call_sign FROM table_name_51 WHERE city_of_license = "brownfield, texas"
{ "answer": "SELECT call_sign FROM table_name_51 WHERE city_of_license = \"brownfield, texas\"", "context": "CREATE TABLE table_name_51 (call_sign VARCHAR, city_of_license VARCHAR)", "question": "What is Call Sign, when City of License is Brownfield, Texas?" }
### QUESTION How long is the bridge in Villeneuve-sur-Lot? ### CONTEXT CREATE TABLE table_name_40 (longest_span_in_s_metre___feet__ VARCHAR, location VARCHAR) ### ANSWER SELECT longest_span_in_s_metre___feet__ FROM table_name_40 WHERE location = "villeneuve-sur-lot"
{ "answer": "SELECT longest_span_in_s_metre___feet__ FROM table_name_40 WHERE location = \"villeneuve-sur-lot\"", "context": "CREATE TABLE table_name_40 (longest_span_in_s_metre___feet__ VARCHAR, location VARCHAR)", "question": "How long is the bridge in Villeneuve-sur-Lot?" }
### QUESTION What kind of sockets does a 2100MHz Athlon X2 QL-64 use? ### CONTEXT CREATE TABLE table_27277284_27 (socket VARCHAR, frequency VARCHAR, model_number VARCHAR) ### ANSWER SELECT socket FROM table_27277284_27 WHERE frequency = "2100MHz" AND model_number = "Athlon X2 QL-64"
{ "answer": "SELECT socket FROM table_27277284_27 WHERE frequency = \"2100MHz\" AND model_number = \"Athlon X2 QL-64\"", "context": "CREATE TABLE table_27277284_27 (socket VARCHAR, frequency VARCHAR, model_number VARCHAR)", "question": "What kind of sockets does a 2100MHz Athlon X2 QL-64 use?" }
### QUESTION What number corresponds to Presidet Yves Krattinger of the Socialist party? ### CONTEXT CREATE TABLE table_name_14 (number VARCHAR, party VARCHAR, président VARCHAR) ### ANSWER SELECT number FROM table_name_14 WHERE party = "socialist party" AND président = "yves krattinger"
{ "answer": "SELECT number FROM table_name_14 WHERE party = \"socialist party\" AND président = \"yves krattinger\"", "context": "CREATE TABLE table_name_14 (number VARCHAR, party VARCHAR, président VARCHAR)", "question": "What number corresponds to Presidet Yves Krattinger of the Socialist party?" }
### QUESTION What is the name for Nagpur district, with a reserved for ( SC / ST /None) of none, and a Constituency number of 59? ### CONTEXT CREATE TABLE table_name_56 (name VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR) ### ANSWER SELECT name FROM table_name_56 WHERE district = "nagpur" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "59"
{ "answer": "SELECT name FROM table_name_56 WHERE district = \"nagpur\" AND reserved_for___sc___st__none_ = \"none\" AND constituency_number = \"59\"", "context": "CREATE TABLE table_name_56 (name VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)", "question": "What is the name for Nagpur district, with a reserved for ( SC / ST /None) of none, and a Constituency number of 59?" }
### QUESTION Who was the winning driver with the winning team Opel Team Holzer 1, and a round under 9 with the fastest lap being Bernd Schneider? ### CONTEXT CREATE TABLE table_name_96 (winning_driver VARCHAR, fastest_lap VARCHAR, winning_team VARCHAR, round VARCHAR) ### ANSWER SELECT winning_driver FROM table_name_96 WHERE winning_team = "opel team holzer 1" AND round < 9 AND fastest_lap = "bernd schneider"
{ "answer": "SELECT winning_driver FROM table_name_96 WHERE winning_team = \"opel team holzer 1\" AND round < 9 AND fastest_lap = \"bernd schneider\"", "context": "CREATE TABLE table_name_96 (winning_driver VARCHAR, fastest_lap VARCHAR, winning_team VARCHAR, round VARCHAR)", "question": "Who was the winning driver with the winning team Opel Team Holzer 1, and a round under 9 with the fastest lap being Bernd Schneider?" }
### QUESTION When is every date that control site condition or owner is machine shop on Martin Dr.? ### CONTEXT CREATE TABLE table_22282917_26 (dates VARCHAR, control_site_condition_owner VARCHAR) ### ANSWER SELECT dates FROM table_22282917_26 WHERE control_site_condition_owner = "machine shop on Martin Dr."
{ "answer": "SELECT dates FROM table_22282917_26 WHERE control_site_condition_owner = \"machine shop on Martin Dr.\"", "context": "CREATE TABLE table_22282917_26 (dates VARCHAR, control_site_condition_owner VARCHAR)", "question": "When is every date that control site condition or owner is machine shop on Martin Dr.?" }
### QUESTION What is the name of member in charge of greatest number of events? ### CONTEXT CREATE TABLE party_events (member_in_charge_id VARCHAR); CREATE TABLE member (member_name VARCHAR, member_id VARCHAR) ### ANSWER SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id = T2.member_in_charge_id GROUP BY T2.member_in_charge_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id = T2.member_in_charge_id GROUP BY T2.member_in_charge_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE party_events (member_in_charge_id VARCHAR); CREATE TABLE member (member_name VARCHAR, member_id VARCHAR)", "question": "What is the name of member in charge of greatest number of events?" }
### QUESTION What is the id and detail of the vehicle used in lessons for most of the times? ### CONTEXT CREATE TABLE Lessons (vehicle_id VARCHAR); CREATE TABLE Vehicles (vehicle_id VARCHAR, vehicle_details VARCHAR) ### ANSWER SELECT T1.vehicle_id, T1.vehicle_details FROM Vehicles AS T1 JOIN Lessons AS T2 ON T1.vehicle_id = T2.vehicle_id GROUP BY T1.vehicle_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.vehicle_id, T1.vehicle_details FROM Vehicles AS T1 JOIN Lessons AS T2 ON T1.vehicle_id = T2.vehicle_id GROUP BY T1.vehicle_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Lessons (vehicle_id VARCHAR); CREATE TABLE Vehicles (vehicle_id VARCHAR, vehicle_details VARCHAR)", "question": "What is the id and detail of the vehicle used in lessons for most of the times?" }
### QUESTION Which call sign has a frequency of FM 105.3? ### CONTEXT CREATE TABLE table_name_81 (call_sign VARCHAR, frequency VARCHAR) ### ANSWER SELECT call_sign FROM table_name_81 WHERE frequency = "fm 105.3"
{ "answer": "SELECT call_sign FROM table_name_81 WHERE frequency = \"fm 105.3\"", "context": "CREATE TABLE table_name_81 (call_sign VARCHAR, frequency VARCHAR)", "question": "Which call sign has a frequency of FM 105.3?" }
### QUESTION Who wrote the episode with production code 1AJN05? ### CONTEXT CREATE TABLE table_23242933_2 (written_by VARCHAR, production_code VARCHAR) ### ANSWER SELECT written_by FROM table_23242933_2 WHERE production_code = "1AJN05"
{ "answer": "SELECT written_by FROM table_23242933_2 WHERE production_code = \"1AJN05\"", "context": "CREATE TABLE table_23242933_2 (written_by VARCHAR, production_code VARCHAR)", "question": "Who wrote the episode with production code 1AJN05?" }
### QUESTION Who published Weird War Tales? ### CONTEXT CREATE TABLE table_name_13 (publisher VARCHAR, title VARCHAR) ### ANSWER SELECT publisher FROM table_name_13 WHERE title = "weird war tales"
{ "answer": "SELECT publisher FROM table_name_13 WHERE title = \"weird war tales\"", "context": "CREATE TABLE table_name_13 (publisher VARCHAR, title VARCHAR)", "question": "Who published Weird War Tales?" }
### QUESTION When joan tewkesbury is the director what is the number in seasons? ### CONTEXT CREATE TABLE table_18367694_3 (no_in_season VARCHAR, directed_by VARCHAR) ### ANSWER SELECT no_in_season FROM table_18367694_3 WHERE directed_by = "Joan Tewkesbury"
{ "answer": "SELECT no_in_season FROM table_18367694_3 WHERE directed_by = \"Joan Tewkesbury\"", "context": "CREATE TABLE table_18367694_3 (no_in_season VARCHAR, directed_by VARCHAR)", "question": "When joan tewkesbury is the director what is the number in seasons?" }
### QUESTION Position of fullback has what highest weight? ### CONTEXT CREATE TABLE table_name_33 (weight INTEGER, position VARCHAR) ### ANSWER SELECT MAX(weight) FROM table_name_33 WHERE position = "fullback"
{ "answer": "SELECT MAX(weight) FROM table_name_33 WHERE position = \"fullback\"", "context": "CREATE TABLE table_name_33 (weight INTEGER, position VARCHAR)", "question": "Position of fullback has what highest weight?" }
### QUESTION What is the venue for the Status of Five Nations and 0 againts? ### CONTEXT CREATE TABLE table_name_38 (venue VARCHAR, status VARCHAR, against VARCHAR) ### ANSWER SELECT venue FROM table_name_38 WHERE status = "five nations" AND against = 0
{ "answer": "SELECT venue FROM table_name_38 WHERE status = \"five nations\" AND against = 0", "context": "CREATE TABLE table_name_38 (venue VARCHAR, status VARCHAR, against VARCHAR)", "question": "What is the venue for the Status of Five Nations and 0 againts?" }
### QUESTION Name the content for sky famiglia for italian and dar 16:9 for mtv hits ### CONTEXT CREATE TABLE table_15887683_10 (content VARCHAR, television_service VARCHAR, dar VARCHAR, package_option VARCHAR, language VARCHAR) ### ANSWER SELECT content FROM table_15887683_10 WHERE package_option = "Sky Famiglia" AND language = "Italian" AND dar = "16:9" AND television_service = "MTV Hits"
{ "answer": "SELECT content FROM table_15887683_10 WHERE package_option = \"Sky Famiglia\" AND language = \"Italian\" AND dar = \"16:9\" AND television_service = \"MTV Hits\"", "context": "CREATE TABLE table_15887683_10 (content VARCHAR, television_service VARCHAR, dar VARCHAR, package_option VARCHAR, language VARCHAR)", "question": "Name the content for sky famiglia for italian and dar 16:9 for mtv hits" }
### QUESTION what is 2001 when the year is ebitda and 2009 is less than 3,600? ### CONTEXT CREATE TABLE table_name_73 (year VARCHAR) ### ANSWER SELECT SUM(2001) FROM table_name_73 WHERE year = "ebitda" AND 2009 < 3 OFFSET 600
{ "answer": "SELECT SUM(2001) FROM table_name_73 WHERE year = \"ebitda\" AND 2009 < 3 OFFSET 600", "context": "CREATE TABLE table_name_73 (year VARCHAR)", "question": "what is 2001 when the year is ebitda and 2009 is less than 3,600?" }
### QUESTION How many times is last/current driver(s) 3 november 2013 is adderly fong ( 2013 )? ### CONTEXT CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR) ### ANSWER SELECT COUNT(country) FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Adderly Fong ( 2013 )"
{ "answer": "SELECT COUNT(country) FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = \"Adderly Fong ( 2013 )\"", "context": "CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR)", "question": "How many times is last/current driver(s) 3 november 2013 is adderly fong ( 2013 )?" }
### QUESTION Which Outcome has a Championship of us championships, and a Score in the final of 5–7, 6–1, 6–3, 6–3? ### CONTEXT CREATE TABLE table_name_61 (outcome VARCHAR, championship VARCHAR, score_in_the_final VARCHAR) ### ANSWER SELECT outcome FROM table_name_61 WHERE championship = "us championships" AND score_in_the_final = "5–7, 6–1, 6–3, 6–3"
{ "answer": "SELECT outcome FROM table_name_61 WHERE championship = \"us championships\" AND score_in_the_final = \"5–7, 6–1, 6–3, 6–3\"", "context": "CREATE TABLE table_name_61 (outcome VARCHAR, championship VARCHAR, score_in_the_final VARCHAR)", "question": "Which Outcome has a Championship of us championships, and a Score in the final of 5–7, 6–1, 6–3, 6–3?" }
### QUESTION What was the Role/Episode after 2006 with Ellen Burstyn as a recipient and nominee? ### CONTEXT CREATE TABLE table_name_21 (role_episode VARCHAR, year VARCHAR, recipients_and_nominees VARCHAR) ### ANSWER SELECT role_episode FROM table_name_21 WHERE year > 2006 AND recipients_and_nominees = "ellen burstyn"
{ "answer": "SELECT role_episode FROM table_name_21 WHERE year > 2006 AND recipients_and_nominees = \"ellen burstyn\"", "context": "CREATE TABLE table_name_21 (role_episode VARCHAR, year VARCHAR, recipients_and_nominees VARCHAR)", "question": "What was the Role/Episode after 2006 with Ellen Burstyn as a recipient and nominee?" }
### QUESTION What is the average cost of procedures that physician John Wen was trained in? ### CONTEXT CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (cost INTEGER, code VARCHAR); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR) ### ANSWER SELECT AVG(T3.cost) FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = "John Wen"
{ "answer": "SELECT AVG(T3.cost) FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = \"John Wen\"", "context": "CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (cost INTEGER, code VARCHAR); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR)", "question": "What is the average cost of procedures that physician John Wen was trained in?" }
### QUESTION If the height order is 1 and the soundfield type is mixed-order, what are all the channels? ### CONTEXT CREATE TABLE table_233830_1 (channels VARCHAR, soundfield_type VARCHAR, height_order VARCHAR) ### ANSWER SELECT channels FROM table_233830_1 WHERE soundfield_type = "mixed-order" AND height_order = 1
{ "answer": "SELECT channels FROM table_233830_1 WHERE soundfield_type = \"mixed-order\" AND height_order = 1", "context": "CREATE TABLE table_233830_1 (channels VARCHAR, soundfield_type VARCHAR, height_order VARCHAR)", "question": "If the height order is 1 and the soundfield type is mixed-order, what are all the channels?" }
### QUESTION What's the FCC info with a Frequency MHz thats smaller than 91.9 and has a CIty of license of Dansville, NY? ### CONTEXT CREATE TABLE table_name_8 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) ### ANSWER SELECT fcc_info FROM table_name_8 WHERE frequency_mhz < 91.9 AND city_of_license = "dansville, ny"
{ "answer": "SELECT fcc_info FROM table_name_8 WHERE frequency_mhz < 91.9 AND city_of_license = \"dansville, ny\"", "context": "CREATE TABLE table_name_8 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)", "question": "What's the FCC info with a Frequency MHz thats smaller than 91.9 and has a CIty of license of Dansville, NY?" }
### QUESTION What date was the Izmir Cup in which İlhan played against Somdev Devvarman? ### CONTEXT CREATE TABLE table_name_35 (date VARCHAR, tournament VARCHAR, opponent VARCHAR) ### ANSWER SELECT date FROM table_name_35 WHERE tournament = "izmir cup" AND opponent = "somdev devvarman"
{ "answer": "SELECT date FROM table_name_35 WHERE tournament = \"izmir cup\" AND opponent = \"somdev devvarman\"", "context": "CREATE TABLE table_name_35 (date VARCHAR, tournament VARCHAR, opponent VARCHAR)", "question": "What date was the Izmir Cup in which İlhan played against Somdev Devvarman?" }
### QUESTION WHAT ARE THE BYES WITH A WIN SMALLER THAN 16, 8 LOSSES, AND AT PENSHURST, WITH AGAINST SMALLER THAN 1405? ### CONTEXT CREATE TABLE table_name_24 (byes INTEGER, against VARCHAR, mininera_dfl VARCHAR, wins VARCHAR, losses VARCHAR) ### ANSWER SELECT SUM(byes) FROM table_name_24 WHERE wins < 16 AND losses = 8 AND mininera_dfl = "penshurst" AND against < 1405
{ "answer": "SELECT SUM(byes) FROM table_name_24 WHERE wins < 16 AND losses = 8 AND mininera_dfl = \"penshurst\" AND against < 1405", "context": "CREATE TABLE table_name_24 (byes INTEGER, against VARCHAR, mininera_dfl VARCHAR, wins VARCHAR, losses VARCHAR)", "question": "WHAT ARE THE BYES WITH A WIN SMALLER THAN 16, 8 LOSSES, AND AT PENSHURST, WITH AGAINST SMALLER THAN 1405?" }
### QUESTION What was the location that had an accident by the F-27-600RF aircraft with tail number 6O-SAZ? ### CONTEXT CREATE TABLE table_name_42 (location VARCHAR, aircraft VARCHAR, tail_number VARCHAR) ### ANSWER SELECT location FROM table_name_42 WHERE aircraft = "f-27-600rf" AND tail_number = "6o-saz"
{ "answer": "SELECT location FROM table_name_42 WHERE aircraft = \"f-27-600rf\" AND tail_number = \"6o-saz\"", "context": "CREATE TABLE table_name_42 (location VARCHAR, aircraft VARCHAR, tail_number VARCHAR)", "question": "What was the location that had an accident by the F-27-600RF aircraft with tail number 6O-SAZ?" }
### QUESTION How many silvers for the nation with under 6 total and under 0 bronze? ### CONTEXT CREATE TABLE table_name_62 (silver VARCHAR, total VARCHAR, bronze VARCHAR) ### ANSWER SELECT COUNT(silver) FROM table_name_62 WHERE total < 6 AND bronze < 0
{ "answer": "SELECT COUNT(silver) FROM table_name_62 WHERE total < 6 AND bronze < 0", "context": "CREATE TABLE table_name_62 (silver VARCHAR, total VARCHAR, bronze VARCHAR)", "question": "How many silvers for the nation with under 6 total and under 0 bronze?" }
### QUESTION Who was the opponent before 1994 with bobby dye as the BSU head coach? ### CONTEXT CREATE TABLE table_name_86 (opponent VARCHAR, bsu_head_coach VARCHAR, year VARCHAR) ### ANSWER SELECT opponent FROM table_name_86 WHERE bsu_head_coach = "bobby dye" AND year < 1994
{ "answer": "SELECT opponent FROM table_name_86 WHERE bsu_head_coach = \"bobby dye\" AND year < 1994", "context": "CREATE TABLE table_name_86 (opponent VARCHAR, bsu_head_coach VARCHAR, year VARCHAR)", "question": "Who was the opponent before 1994 with bobby dye as the BSU head coach?" }
### QUESTION What's the location of Mom's Radio 95.9 Naga having a power of 10kw? ### CONTEXT CREATE TABLE table_name_58 (location VARCHAR, power__kw_ VARCHAR, branding VARCHAR) ### ANSWER SELECT location FROM table_name_58 WHERE power__kw_ = "10kw" AND branding = "mom's radio 95.9 naga"
{ "answer": "SELECT location FROM table_name_58 WHERE power__kw_ = \"10kw\" AND branding = \"mom's radio 95.9 naga\"", "context": "CREATE TABLE table_name_58 (location VARCHAR, power__kw_ VARCHAR, branding VARCHAR)", "question": "What's the location of Mom's Radio 95.9 Naga having a power of 10kw?" }
### QUESTION What is the total with a 25-19 set 2 on Jun 17? ### CONTEXT CREATE TABLE table_name_57 (total VARCHAR, set_2 VARCHAR, date VARCHAR) ### ANSWER SELECT total FROM table_name_57 WHERE set_2 = "25-19" AND date = "jun 17"
{ "answer": "SELECT total FROM table_name_57 WHERE set_2 = \"25-19\" AND date = \"jun 17\"", "context": "CREATE TABLE table_name_57 (total VARCHAR, set_2 VARCHAR, date VARCHAR)", "question": "What is the total with a 25-19 set 2 on Jun 17?" }
### QUESTION Name the launch vehicle with Institutional authority of ndc ### CONTEXT CREATE TABLE table_name_59 (launch_vehicle VARCHAR, institutional_authority VARCHAR) ### ANSWER SELECT launch_vehicle FROM table_name_59 WHERE institutional_authority = "ndc"
{ "answer": "SELECT launch_vehicle FROM table_name_59 WHERE institutional_authority = \"ndc\"", "context": "CREATE TABLE table_name_59 (launch_vehicle VARCHAR, institutional_authority VARCHAR)", "question": "Name the launch vehicle with Institutional authority of ndc" }
### QUESTION What is the lowest number of games played of the club with more than 25 goals conceded, more than 17 goals scored, and a position of 7? ### CONTEXT CREATE TABLE table_name_40 (games_played INTEGER, position VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR) ### ANSWER SELECT MIN(games_played) FROM table_name_40 WHERE goals_conceded > 25 AND goals_scored > 17 AND position = 7
{ "answer": "SELECT MIN(games_played) FROM table_name_40 WHERE goals_conceded > 25 AND goals_scored > 17 AND position = 7", "context": "CREATE TABLE table_name_40 (games_played INTEGER, position VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR)", "question": "What is the lowest number of games played of the club with more than 25 goals conceded, more than 17 goals scored, and a position of 7?" }
### QUESTION Name the frequency mhz for ERP W of 850 watts ### CONTEXT CREATE TABLE table_name_44 (frequency_mhz VARCHAR, erp_w VARCHAR) ### ANSWER SELECT frequency_mhz FROM table_name_44 WHERE erp_w = "850 watts"
{ "answer": "SELECT frequency_mhz FROM table_name_44 WHERE erp_w = \"850 watts\"", "context": "CREATE TABLE table_name_44 (frequency_mhz VARCHAR, erp_w VARCHAR)", "question": "Name the frequency mhz for ERP W of 850 watts" }
### QUESTION What is the average frequency mhz of the loomis, south dakota city license? ### CONTEXT CREATE TABLE table_name_83 (frequency_mhz INTEGER, city_of_license VARCHAR) ### ANSWER SELECT AVG(frequency_mhz) FROM table_name_83 WHERE city_of_license = "loomis, south dakota"
{ "answer": "SELECT AVG(frequency_mhz) FROM table_name_83 WHERE city_of_license = \"loomis, south dakota\"", "context": "CREATE TABLE table_name_83 (frequency_mhz INTEGER, city_of_license VARCHAR)", "question": "What is the average frequency mhz of the loomis, south dakota city license?" }
### QUESTION What Golden point(s) scorer has the Away Sydney Roosters and Home Cronulla Sharks? ### CONTEXT CREATE TABLE table_name_53 (golden_point_s__scorer VARCHAR, away VARCHAR, home VARCHAR) ### ANSWER SELECT golden_point_s__scorer FROM table_name_53 WHERE away = "sydney roosters" AND home = "cronulla sharks"
{ "answer": "SELECT golden_point_s__scorer FROM table_name_53 WHERE away = \"sydney roosters\" AND home = \"cronulla sharks\"", "context": "CREATE TABLE table_name_53 (golden_point_s__scorer VARCHAR, away VARCHAR, home VARCHAR)", "question": "What Golden point(s) scorer has the Away Sydney Roosters and Home Cronulla Sharks?" }
### QUESTION which institutes gave the democratic renewal 18.0% – 22.0% on a poll from October 6, 1985? ### CONTEXT CREATE TABLE table_1919538_1 (institute VARCHAR, democratic_renewal VARCHAR) ### ANSWER SELECT institute FROM table_1919538_1 WHERE democratic_renewal = "18.0% – 22.0%"
{ "answer": "SELECT institute FROM table_1919538_1 WHERE democratic_renewal = \"18.0% – 22.0%\"", "context": "CREATE TABLE table_1919538_1 (institute VARCHAR, democratic_renewal VARCHAR)", "question": "which institutes gave the democratic renewal 18.0% – 22.0% on a poll from October 6, 1985?" }
### QUESTION How many seasons had 16.15 million viewers? ### CONTEXT CREATE TABLE table_28611413_2 (no_in_series VARCHAR, viewers__millions_ VARCHAR) ### ANSWER SELECT COUNT(no_in_series) FROM table_28611413_2 WHERE viewers__millions_ = "16.15"
{ "answer": "SELECT COUNT(no_in_series) FROM table_28611413_2 WHERE viewers__millions_ = \"16.15\"", "context": "CREATE TABLE table_28611413_2 (no_in_series VARCHAR, viewers__millions_ VARCHAR)", "question": "How many seasons had 16.15 million viewers?" }