text
stringlengths
146
1.06k
source
dict
### QUESTION What ship has a norway nationality? ### CONTEXT CREATE TABLE table_name_18 (ship VARCHAR, nationality VARCHAR) ### ANSWER SELECT ship FROM table_name_18 WHERE nationality = "norway"
{ "answer": "SELECT ship FROM table_name_18 WHERE nationality = \"norway\"", "context": "CREATE TABLE table_name_18 (ship VARCHAR, nationality VARCHAR)", "question": "What ship has a norway nationality?" }
### QUESTION which club in group stage 4 had member association iran ### CONTEXT CREATE TABLE table_19412902_1 (clubs VARCHAR, group_stage VARCHAR, member_association VARCHAR) ### ANSWER SELECT clubs FROM table_19412902_1 WHERE group_stage = 4 AND member_association = "Iran"
{ "answer": "SELECT clubs FROM table_19412902_1 WHERE group_stage = 4 AND member_association = \"Iran\"", "context": "CREATE TABLE table_19412902_1 (clubs VARCHAR, group_stage VARCHAR, member_association VARCHAR)", "question": "which club in group stage 4 had member association iran" }
### QUESTION What is the wards/branches of the fort smith Arkansas stake? ### CONTEXT CREATE TABLE table_name_89 (wards__branches_in_arkansas VARCHAR, stake VARCHAR) ### ANSWER SELECT wards__branches_in_arkansas FROM table_name_89 WHERE stake = "fort smith arkansas"
{ "answer": "SELECT wards__branches_in_arkansas FROM table_name_89 WHERE stake = \"fort smith arkansas\"", "context": "CREATE TABLE table_name_89 (wards__branches_in_arkansas VARCHAR, stake VARCHAR)", "question": "What is the wards/branches of the fort smith Arkansas stake?" }
### QUESTION During which years did number 13 play for the Rockets? ### CONTEXT CREATE TABLE table_11734041_3 (years_for_rockets VARCHAR, no_s_ VARCHAR) ### ANSWER SELECT years_for_rockets FROM table_11734041_3 WHERE no_s_ = "13"
{ "answer": "SELECT years_for_rockets FROM table_11734041_3 WHERE no_s_ = \"13\"", "context": "CREATE TABLE table_11734041_3 (years_for_rockets VARCHAR, no_s_ VARCHAR)", "question": "During which years did number 13 play for the Rockets?" }
### QUESTION What is 2011, when 2012 is "1R"? ### CONTEXT CREATE TABLE table_name_73 (Id VARCHAR) ### ANSWER SELECT 2011 FROM table_name_73 WHERE 2012 = "1r"
{ "answer": "SELECT 2011 FROM table_name_73 WHERE 2012 = \"1r\"", "context": "CREATE TABLE table_name_73 (Id VARCHAR)", "question": "What is 2011, when 2012 is \"1R\"?" }
### QUESTION Which Format has a Label of eagle eye media, a Catalogue number(s) of —, and a Country of united states? ### CONTEXT CREATE TABLE table_name_33 (format VARCHAR, country VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR) ### ANSWER SELECT format FROM table_name_33 WHERE label = "eagle eye media" AND catalogue_number_s_ = "—" AND country = "united states"
{ "answer": "SELECT format FROM table_name_33 WHERE label = \"eagle eye media\" AND catalogue_number_s_ = \"—\" AND country = \"united states\"", "context": "CREATE TABLE table_name_33 (format VARCHAR, country VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR)", "question": "Which Format has a Label of eagle eye media, a Catalogue number(s) of —, and a Country of united states?" }
### QUESTION What is the total number of First Elected, when Party is "Democratic", and when District is "Tennessee 5"? ### CONTEXT CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, district VARCHAR) ### ANSWER SELECT COUNT(first_elected) FROM table_name_28 WHERE party = "democratic" AND district = "tennessee 5"
{ "answer": "SELECT COUNT(first_elected) FROM table_name_28 WHERE party = \"democratic\" AND district = \"tennessee 5\"", "context": "CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, district VARCHAR)", "question": "What is the total number of First Elected, when Party is \"Democratic\", and when District is \"Tennessee 5\"?" }
### QUESTION Find the papers which have "Olin Shivers" as an author. ### CONTEXT CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR) ### ANSWER SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = "Olin" AND t1.lname = "Shivers"
{ "answer": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = \"Olin\" AND t1.lname = \"Shivers\"", "context": "CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR)", "question": "Find the papers which have \"Olin Shivers\" as an author." }
### QUESTION Which movies have 'Deleted Scenes' as a substring in the special feature? ### CONTEXT CREATE TABLE film (title VARCHAR, special_features VARCHAR) ### ANSWER SELECT title FROM film WHERE special_features LIKE '%Deleted Scenes%'
{ "answer": "SELECT title FROM film WHERE special_features LIKE '%Deleted Scenes%'", "context": "CREATE TABLE film (title VARCHAR, special_features VARCHAR)", "question": "Which movies have 'Deleted Scenes' as a substring in the special feature?" }
### QUESTION What is Winner, when Week is 8 May, when Semi Finalists is Helena Suková Mary Pierce, and when Runner-Up is Conchita Martínez Patricia Tarabini? ### CONTEXT CREATE TABLE table_name_70 (winner VARCHAR, runner_up VARCHAR, week_of VARCHAR, semi_finalists VARCHAR) ### ANSWER SELECT winner FROM table_name_70 WHERE week_of = "8 may" AND semi_finalists = "helena suková mary pierce" AND runner_up = "conchita martínez patricia tarabini"
{ "answer": "SELECT winner FROM table_name_70 WHERE week_of = \"8 may\" AND semi_finalists = \"helena suková mary pierce\" AND runner_up = \"conchita martínez patricia tarabini\"", "context": "CREATE TABLE table_name_70 (winner VARCHAR, runner_up VARCHAR, week_of VARCHAR, semi_finalists VARCHAR)", "question": "What is Winner, when Week is 8 May, when Semi Finalists is Helena Suková Mary Pierce, and when Runner-Up is Conchita Martínez Patricia Tarabini?" }
### QUESTION What is the score of the game against away team exeter city on 10 jan 1990? ### CONTEXT CREATE TABLE table_name_70 (score VARCHAR, date VARCHAR, away_team VARCHAR) ### ANSWER SELECT score FROM table_name_70 WHERE date = "10 jan 1990" AND away_team = "exeter city"
{ "answer": "SELECT score FROM table_name_70 WHERE date = \"10 jan 1990\" AND away_team = \"exeter city\"", "context": "CREATE TABLE table_name_70 (score VARCHAR, date VARCHAR, away_team VARCHAR)", "question": "What is the score of the game against away team exeter city on 10 jan 1990?" }
### QUESTION What is the Location Attendance, when High Points is "D. McKey (24)", and when Score is "L 96-105"? ### CONTEXT CREATE TABLE table_name_55 (location_attendance VARCHAR, high_points VARCHAR, score VARCHAR) ### ANSWER SELECT location_attendance FROM table_name_55 WHERE high_points = "d. mckey (24)" AND score = "l 96-105"
{ "answer": "SELECT location_attendance FROM table_name_55 WHERE high_points = \"d. mckey (24)\" AND score = \"l 96-105\"", "context": "CREATE TABLE table_name_55 (location_attendance VARCHAR, high_points VARCHAR, score VARCHAR)", "question": "What is the Location Attendance, when High Points is \"D. McKey (24)\", and when Score is \"L 96-105\"?" }
### QUESTION Who is the original west end performer for the character Neville Craven? ### CONTEXT CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR) ### ANSWER SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Neville Craven"
{ "answer": "SELECT original_west_end_performer FROM table_1901751_1 WHERE character = \"Neville Craven\"", "context": "CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR)", "question": "Who is the original west end performer for the character Neville Craven?" }
### QUESTION What city has a Result of brisbane broncos def. halifax blue sox? ### CONTEXT CREATE TABLE table_name_22 (city VARCHAR, result VARCHAR) ### ANSWER SELECT city FROM table_name_22 WHERE result = "brisbane broncos def. halifax blue sox"
{ "answer": "SELECT city FROM table_name_22 WHERE result = \"brisbane broncos def. halifax blue sox\"", "context": "CREATE TABLE table_name_22 (city VARCHAR, result VARCHAR)", "question": "What city has a Result of brisbane broncos def. halifax blue sox?" }
### QUESTION When the driver peter gethin has a grid less than 25, what is the average number of laps? ### CONTEXT CREATE TABLE table_name_4 (laps INTEGER, driver VARCHAR, grid VARCHAR) ### ANSWER SELECT AVG(laps) FROM table_name_4 WHERE driver = "peter gethin" AND grid < 25
{ "answer": "SELECT AVG(laps) FROM table_name_4 WHERE driver = \"peter gethin\" AND grid < 25", "context": "CREATE TABLE table_name_4 (laps INTEGER, driver VARCHAR, grid VARCHAR)", "question": "When the driver peter gethin has a grid less than 25, what is the average number of laps?" }
### QUESTION Name the dar for telenord ### CONTEXT CREATE TABLE table_15887683_17 (dar VARCHAR, television_service VARCHAR) ### ANSWER SELECT dar FROM table_15887683_17 WHERE television_service = "Telenord"
{ "answer": "SELECT dar FROM table_15887683_17 WHERE television_service = \"Telenord\"", "context": "CREATE TABLE table_15887683_17 (dar VARCHAR, television_service VARCHAR)", "question": "Name the dar for telenord" }
### QUESTION What is the margin for the Masters Tournament (2) championship? ### CONTEXT CREATE TABLE table_name_34 (margin VARCHAR, championship VARCHAR) ### ANSWER SELECT margin FROM table_name_34 WHERE championship = "masters tournament (2)"
{ "answer": "SELECT margin FROM table_name_34 WHERE championship = \"masters tournament (2)\"", "context": "CREATE TABLE table_name_34 (margin VARCHAR, championship VARCHAR)", "question": "What is the margin for the Masters Tournament (2) championship?" }
### QUESTION Who was the away team when Brighton & Hove Albion was home? ### CONTEXT CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR) ### ANSWER SELECT away_team FROM table_name_95 WHERE home_team = "brighton & hove albion"
{ "answer": "SELECT away_team FROM table_name_95 WHERE home_team = \"brighton & hove albion\"", "context": "CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR)", "question": "Who was the away team when Brighton & Hove Albion was home?" }
### QUESTION What is High Rebounds, when High Assists is "Delonte West (10)"? ### CONTEXT CREATE TABLE table_name_86 (high_rebounds VARCHAR, high_assists VARCHAR) ### ANSWER SELECT high_rebounds FROM table_name_86 WHERE high_assists = "delonte west (10)"
{ "answer": "SELECT high_rebounds FROM table_name_86 WHERE high_assists = \"delonte west (10)\"", "context": "CREATE TABLE table_name_86 (high_rebounds VARCHAR, high_assists VARCHAR)", "question": "What is High Rebounds, when High Assists is \"Delonte West (10)\"?" }
### QUESTION How many countries has more than 2 car makers ? ### CONTEXT CREATE TABLE car_makers (country VARCHAR); CREATE TABLE countries (countryid VARCHAR) ### ANSWER SELECT COUNT(*) FROM countries AS t1 JOIN car_makers AS t2 ON t1.countryid = t2.country GROUP BY t1.countryid HAVING COUNT(*) > 2
{ "answer": "SELECT COUNT(*) FROM countries AS t1 JOIN car_makers AS t2 ON t1.countryid = t2.country GROUP BY t1.countryid HAVING COUNT(*) > 2", "context": "CREATE TABLE car_makers (country VARCHAR); CREATE TABLE countries (countryid VARCHAR)", "question": "How many countries has more than 2 car makers ?" }
### QUESTION What is the retail space of the Stony Point Fashion Park Mall? ### CONTEXT CREATE TABLE table_name_70 (retail_space_sq_feet__m²_ VARCHAR, mall_name VARCHAR) ### ANSWER SELECT retail_space_sq_feet__m²_ FROM table_name_70 WHERE mall_name = "stony point fashion park"
{ "answer": "SELECT retail_space_sq_feet__m²_ FROM table_name_70 WHERE mall_name = \"stony point fashion park\"", "context": "CREATE TABLE table_name_70 (retail_space_sq_feet__m²_ VARCHAR, mall_name VARCHAR)", "question": "What is the retail space of the Stony Point Fashion Park Mall?" }
### QUESTION What is the lowest area for cannonvale that speaks afrikaans? ### CONTEXT CREATE TABLE table_name_31 (area__km_2__ INTEGER, most_spoken_language VARCHAR, place VARCHAR) ### ANSWER SELECT MIN(area__km_2__) FROM table_name_31 WHERE most_spoken_language = "afrikaans" AND place = "cannonvale"
{ "answer": "SELECT MIN(area__km_2__) FROM table_name_31 WHERE most_spoken_language = \"afrikaans\" AND place = \"cannonvale\"", "context": "CREATE TABLE table_name_31 (area__km_2__ INTEGER, most_spoken_language VARCHAR, place VARCHAR)", "question": "What is the lowest area for cannonvale that speaks afrikaans?" }
### QUESTION What are the Asian countries which have a population larger than that of any country in Africa? ### CONTEXT CREATE TABLE country (Name VARCHAR, Continent VARCHAR, population INTEGER) ### ANSWER SELECT Name FROM country WHERE Continent = "Asia" AND population > (SELECT MIN(population) FROM country WHERE Continent = "Africa")
{ "answer": "SELECT Name FROM country WHERE Continent = \"Asia\" AND population > (SELECT MIN(population) FROM country WHERE Continent = \"Africa\")", "context": "CREATE TABLE country (Name VARCHAR, Continent VARCHAR, population INTEGER)", "question": "What are the Asian countries which have a population larger than that of any country in Africa?" }
### QUESTION What is the earliest year the new york jets won at harvard stadium? ### CONTEXT CREATE TABLE table_name_35 (year INTEGER, winner VARCHAR, location VARCHAR) ### ANSWER SELECT MIN(year) FROM table_name_35 WHERE winner = "new york jets" AND location = "harvard stadium"
{ "answer": "SELECT MIN(year) FROM table_name_35 WHERE winner = \"new york jets\" AND location = \"harvard stadium\"", "context": "CREATE TABLE table_name_35 (year INTEGER, winner VARCHAR, location VARCHAR)", "question": "What is the earliest year the new york jets won at harvard stadium?" }
### QUESTION What is the average Year when the Competition was friendly, and a Club of everton? ### CONTEXT CREATE TABLE table_name_28 (year INTEGER, competition VARCHAR, club VARCHAR) ### ANSWER SELECT AVG(year) FROM table_name_28 WHERE competition = "friendly" AND club = "everton"
{ "answer": "SELECT AVG(year) FROM table_name_28 WHERE competition = \"friendly\" AND club = \"everton\"", "context": "CREATE TABLE table_name_28 (year INTEGER, competition VARCHAR, club VARCHAR)", "question": "What is the average Year when the Competition was friendly, and a Club of everton?" }
### QUESTION If the episode was directed by Michael Offer, how many US Viewers watched it? ### CONTEXT CREATE TABLE table_25084227_1 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR) ### ANSWER SELECT us_viewers__in_millions_ FROM table_25084227_1 WHERE directed_by = "Michael Offer"
{ "answer": "SELECT us_viewers__in_millions_ FROM table_25084227_1 WHERE directed_by = \"Michael Offer\"", "context": "CREATE TABLE table_25084227_1 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR)", "question": "If the episode was directed by Michael Offer, how many US Viewers watched it?" }
### QUESTION Show the nations that have both hosts older than 45 and hosts younger than 35. ### CONTEXT CREATE TABLE HOST (Nationality VARCHAR, Age INTEGER) ### ANSWER SELECT Nationality FROM HOST WHERE Age > 45 INTERSECT SELECT Nationality FROM HOST WHERE Age < 35
{ "answer": "SELECT Nationality FROM HOST WHERE Age > 45 INTERSECT SELECT Nationality FROM HOST WHERE Age < 35", "context": "CREATE TABLE HOST (Nationality VARCHAR, Age INTEGER)", "question": "Show the nations that have both hosts older than 45 and hosts younger than 35." }
### QUESTION What is the total number of To Par, when Money ( $ ) is less than 387, and when Player is "Al Brosch"? ### CONTEXT CREATE TABLE table_name_33 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR) ### ANSWER SELECT COUNT(to_par) FROM table_name_33 WHERE money___$__ < 387 AND player = "al brosch"
{ "answer": "SELECT COUNT(to_par) FROM table_name_33 WHERE money___$__ < 387 AND player = \"al brosch\"", "context": "CREATE TABLE table_name_33 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR)", "question": "What is the total number of To Par, when Money ( $ ) is less than 387, and when Player is \"Al Brosch\"?" }
### QUESTION I want the total number of points for against of 753 and points diff more than -114 ### CONTEXT CREATE TABLE table_name_75 (points VARCHAR, against VARCHAR, points_diff VARCHAR) ### ANSWER SELECT COUNT(points) FROM table_name_75 WHERE against = 753 AND points_diff > -114
{ "answer": "SELECT COUNT(points) FROM table_name_75 WHERE against = 753 AND points_diff > -114", "context": "CREATE TABLE table_name_75 (points VARCHAR, against VARCHAR, points_diff VARCHAR)", "question": "I want the total number of points for against of 753 and points diff more than -114" }
### QUESTION Who placed in t5 and scored 73-69-68=210? ### CONTEXT CREATE TABLE table_name_76 (player VARCHAR, place VARCHAR, score VARCHAR) ### ANSWER SELECT player FROM table_name_76 WHERE place = "t5" AND score = 73 - 69 - 68 = 210
{ "answer": "SELECT player FROM table_name_76 WHERE place = \"t5\" AND score = 73 - 69 - 68 = 210", "context": "CREATE TABLE table_name_76 (player VARCHAR, place VARCHAR, score VARCHAR)", "question": "Who placed in t5 and scored 73-69-68=210?" }
### QUESTION When the frequency is 103.7 MHz and the ERP W is more than 10, what is the call sign? ### CONTEXT CREATE TABLE table_name_77 (call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR) ### ANSWER SELECT call_sign FROM table_name_77 WHERE erp_w > 10 AND frequency_mhz = 103.7
{ "answer": "SELECT call_sign FROM table_name_77 WHERE erp_w > 10 AND frequency_mhz = 103.7", "context": "CREATE TABLE table_name_77 (call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR)", "question": "When the frequency is 103.7 MHz and the ERP W is more than 10, what is the call sign?" }
### QUESTION WHAT IS THE LOWEST $50-1/2 OZ COIN WITH A 1997 YEAR AND $25-1/4 OZ LARGER THAN $27,100? ### CONTEXT CREATE TABLE table_name_59 (MIN VARCHAR, year VARCHAR, $25___1_4_oz VARCHAR) ### ANSWER SELECT MIN AS $50___1_2_oz FROM table_name_59 WHERE year = 1997 AND $25___1_4_oz > 27 OFFSET 100
{ "answer": "SELECT MIN AS $50___1_2_oz FROM table_name_59 WHERE year = 1997 AND $25___1_4_oz > 27 OFFSET 100", "context": "CREATE TABLE table_name_59 (MIN VARCHAR, year VARCHAR, $25___1_4_oz VARCHAR)", "question": "WHAT IS THE LOWEST $50-1/2 OZ COIN WITH A 1997 YEAR AND $25-1/4 OZ LARGER THAN $27,100?" }
### QUESTION What is the number of goals against when the goal difference was less than 43, the Wins less than 13, and losses more than 14? ### CONTEXT CREATE TABLE table_name_44 (goals_against VARCHAR, losses VARCHAR, goal_difference VARCHAR, wins VARCHAR) ### ANSWER SELECT goals_against FROM table_name_44 WHERE goal_difference < 43 AND wins < 13 AND losses > 14
{ "answer": "SELECT goals_against FROM table_name_44 WHERE goal_difference < 43 AND wins < 13 AND losses > 14", "context": "CREATE TABLE table_name_44 (goals_against VARCHAR, losses VARCHAR, goal_difference VARCHAR, wins VARCHAR)", "question": "What is the number of goals against when the goal difference was less than 43, the Wins less than 13, and losses more than 14?" }
### QUESTION Which Year started is the lowest one that has a Number of cars larger than 7, and a Car # of 100? ### CONTEXT CREATE TABLE table_name_30 (year_started INTEGER, number_of_cars VARCHAR, car__number VARCHAR) ### ANSWER SELECT MIN(year_started) FROM table_name_30 WHERE number_of_cars > 7 AND car__number = "100"
{ "answer": "SELECT MIN(year_started) FROM table_name_30 WHERE number_of_cars > 7 AND car__number = \"100\"", "context": "CREATE TABLE table_name_30 (year_started INTEGER, number_of_cars VARCHAR, car__number VARCHAR)", "question": "Which Year started is the lowest one that has a Number of cars larger than 7, and a Car # of 100?" }
### QUESTION What is the average number of golds for teams with 1 bronze, less than 3 silver, and a total over 2? ### CONTEXT CREATE TABLE table_name_55 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) ### ANSWER SELECT AVG(gold) FROM table_name_55 WHERE bronze = 1 AND total > 2 AND silver < 3
{ "answer": "SELECT AVG(gold) FROM table_name_55 WHERE bronze = 1 AND total > 2 AND silver < 3", "context": "CREATE TABLE table_name_55 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)", "question": "What is the average number of golds for teams with 1 bronze, less than 3 silver, and a total over 2?" }
### QUESTION How much January has a Game smaller than 37, and an Opponent of detroit red wings? ### CONTEXT CREATE TABLE table_name_67 (january VARCHAR, game VARCHAR, opponent VARCHAR) ### ANSWER SELECT COUNT(january) FROM table_name_67 WHERE game < 37 AND opponent = "detroit red wings"
{ "answer": "SELECT COUNT(january) FROM table_name_67 WHERE game < 37 AND opponent = \"detroit red wings\"", "context": "CREATE TABLE table_name_67 (january VARCHAR, game VARCHAR, opponent VARCHAR)", "question": "How much January has a Game smaller than 37, and an Opponent of detroit red wings?" }
### QUESTION What is the lowest number of bronze of the nation with more than 13 total medals, more than 10 gold medals, and less than 22 silvers? ### CONTEXT CREATE TABLE table_name_3 (bronze INTEGER, silver VARCHAR, total VARCHAR, gold VARCHAR) ### ANSWER SELECT MIN(bronze) FROM table_name_3 WHERE total > 13 AND gold > 10 AND silver < 22
{ "answer": "SELECT MIN(bronze) FROM table_name_3 WHERE total > 13 AND gold > 10 AND silver < 22", "context": "CREATE TABLE table_name_3 (bronze INTEGER, silver VARCHAR, total VARCHAR, gold VARCHAR)", "question": "What is the lowest number of bronze of the nation with more than 13 total medals, more than 10 gold medals, and less than 22 silvers?" }
### QUESTION What is the team when the high assists was stephen curry (7) and the high points was monta ellis (27)? ### CONTEXT CREATE TABLE table_27755784_10 (team VARCHAR, high_assists VARCHAR, high_points VARCHAR) ### ANSWER SELECT team FROM table_27755784_10 WHERE high_assists = "Stephen Curry (7)" AND high_points = "Monta Ellis (27)"
{ "answer": "SELECT team FROM table_27755784_10 WHERE high_assists = \"Stephen Curry (7)\" AND high_points = \"Monta Ellis (27)\"", "context": "CREATE TABLE table_27755784_10 (team VARCHAR, high_assists VARCHAR, high_points VARCHAR)", "question": "What is the team when the high assists was stephen curry (7) and the high points was monta ellis (27)?" }
### QUESTION What was the date of Circuit Hockenheimring and the winning manufacturer being Mercedes-Benz? ### CONTEXT CREATE TABLE table_name_34 (date VARCHAR, circuit VARCHAR, winning_manufacturer VARCHAR) ### ANSWER SELECT date FROM table_name_34 WHERE circuit = "hockenheimring" AND winning_manufacturer = "mercedes-benz"
{ "answer": "SELECT date FROM table_name_34 WHERE circuit = \"hockenheimring\" AND winning_manufacturer = \"mercedes-benz\"", "context": "CREATE TABLE table_name_34 (date VARCHAR, circuit VARCHAR, winning_manufacturer VARCHAR)", "question": "What was the date of Circuit Hockenheimring and the winning manufacturer being Mercedes-Benz?" }
### QUESTION What is the most total goals for a player having 0 FA Cup goals and 41 League appearances? ### CONTEXT CREATE TABLE table_name_98 (total_goals INTEGER, fa_cup_goals VARCHAR, league_apps VARCHAR) ### ANSWER SELECT MAX(total_goals) FROM table_name_98 WHERE fa_cup_goals = 0 AND league_apps = "41"
{ "answer": "SELECT MAX(total_goals) FROM table_name_98 WHERE fa_cup_goals = 0 AND league_apps = \"41\"", "context": "CREATE TABLE table_name_98 (total_goals INTEGER, fa_cup_goals VARCHAR, league_apps VARCHAR)", "question": "What is the most total goals for a player having 0 FA Cup goals and 41 League appearances?" }
### QUESTION what is the filter when the wavelength is 222mm (k-band)? ### CONTEXT CREATE TABLE table_2583036_1 (filter VARCHAR, wavelength VARCHAR) ### ANSWER SELECT filter FROM table_2583036_1 WHERE wavelength = "222mm (K-band)"
{ "answer": "SELECT filter FROM table_2583036_1 WHERE wavelength = \"222mm (K-band)\"", "context": "CREATE TABLE table_2583036_1 (filter VARCHAR, wavelength VARCHAR)", "question": "what is the filter when the wavelength is 222mm (k-band)?" }
### QUESTION Which Tonnage has a Fate of sunk, and Deaths smaller than 17, and a Date of 16 november 1940? ### CONTEXT CREATE TABLE table_name_11 (tonnage___grt__ VARCHAR, date VARCHAR, fate VARCHAR, deaths VARCHAR) ### ANSWER SELECT tonnage___grt__ FROM table_name_11 WHERE fate = "sunk" AND deaths < 17 AND date = "16 november 1940"
{ "answer": "SELECT tonnage___grt__ FROM table_name_11 WHERE fate = \"sunk\" AND deaths < 17 AND date = \"16 november 1940\"", "context": "CREATE TABLE table_name_11 (tonnage___grt__ VARCHAR, date VARCHAR, fate VARCHAR, deaths VARCHAR)", "question": "Which Tonnage has a Fate of sunk, and Deaths smaller than 17, and a Date of 16 november 1940?" }
### QUESTION Which Date has a Streak of loss 2, and a Team of @ boston celtics? ### CONTEXT CREATE TABLE table_name_71 (date VARCHAR, streak VARCHAR, team VARCHAR) ### ANSWER SELECT date FROM table_name_71 WHERE streak = "loss 2" AND team = "@ boston celtics"
{ "answer": "SELECT date FROM table_name_71 WHERE streak = \"loss 2\" AND team = \"@ boston celtics\"", "context": "CREATE TABLE table_name_71 (date VARCHAR, streak VARCHAR, team VARCHAR)", "question": "Which Date has a Streak of loss 2, and a Team of @ boston celtics?" }
### QUESTION Can you tell me the Entrant that has the Laps of 17? ### CONTEXT CREATE TABLE table_name_77 (entrant VARCHAR, laps VARCHAR) ### ANSWER SELECT entrant FROM table_name_77 WHERE laps = 17
{ "answer": "SELECT entrant FROM table_name_77 WHERE laps = 17", "context": "CREATE TABLE table_name_77 (entrant VARCHAR, laps VARCHAR)", "question": "Can you tell me the Entrant that has the Laps of 17?" }
### QUESTION What was the report for the Sunday race where the winner had an average speed of 128.27 mph? ### CONTEXT CREATE TABLE table_22298383_1 (report VARCHAR, day VARCHAR, average_speed__mph_ VARCHAR) ### ANSWER SELECT report FROM table_22298383_1 WHERE day = "Sunday" AND average_speed__mph_ = "128.27"
{ "answer": "SELECT report FROM table_22298383_1 WHERE day = \"Sunday\" AND average_speed__mph_ = \"128.27\"", "context": "CREATE TABLE table_22298383_1 (report VARCHAR, day VARCHAR, average_speed__mph_ VARCHAR)", "question": "What was the report for the Sunday race where the winner had an average speed of 128.27 mph?" }
### QUESTION Which Date has a Margin of victory of 5 strokes, and a Winning score of −13 (67-73-64-63=267)? ### CONTEXT CREATE TABLE table_name_33 (date VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) ### ANSWER SELECT date FROM table_name_33 WHERE margin_of_victory = "5 strokes" AND winning_score = −13(67 - 73 - 64 - 63 = 267)
{ "answer": "SELECT date FROM table_name_33 WHERE margin_of_victory = \"5 strokes\" AND winning_score = −13(67 - 73 - 64 - 63 = 267)", "context": "CREATE TABLE table_name_33 (date VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)", "question": "Which Date has a Margin of victory of 5 strokes, and a Winning score of −13 (67-73-64-63=267)?" }
### QUESTION List all information about customer master index, and sort them by details in descending order. ### CONTEXT CREATE TABLE customer_master_index (cmi_details VARCHAR) ### ANSWER SELECT * FROM customer_master_index ORDER BY cmi_details DESC
{ "answer": "SELECT * FROM customer_master_index ORDER BY cmi_details DESC", "context": "CREATE TABLE customer_master_index (cmi_details VARCHAR)", "question": "List all information about customer master index, and sort them by details in descending order." }
### QUESTION What was Herdez Competition's total points with a grid larger than 1? ### CONTEXT CREATE TABLE table_name_39 (points VARCHAR, team VARCHAR, grid VARCHAR) ### ANSWER SELECT COUNT(points) FROM table_name_39 WHERE team = "herdez competition" AND grid > 1
{ "answer": "SELECT COUNT(points) FROM table_name_39 WHERE team = \"herdez competition\" AND grid > 1", "context": "CREATE TABLE table_name_39 (points VARCHAR, team VARCHAR, grid VARCHAR)", "question": "What was Herdez Competition's total points with a grid larger than 1?" }
### QUESTION At what location was the March 17 race held? ### CONTEXT CREATE TABLE table_29285076_2 (location VARCHAR, date VARCHAR) ### ANSWER SELECT location FROM table_29285076_2 WHERE date = "March 17"
{ "answer": "SELECT location FROM table_29285076_2 WHERE date = \"March 17\"", "context": "CREATE TABLE table_29285076_2 (location VARCHAR, date VARCHAR)", "question": "At what location was the March 17 race held?" }
### QUESTION What was the highest score of t5 place finisher brandt jobe? ### CONTEXT CREATE TABLE table_name_51 (score INTEGER, place VARCHAR, player VARCHAR) ### ANSWER SELECT MAX(score) FROM table_name_51 WHERE place = "t5" AND player = "brandt jobe"
{ "answer": "SELECT MAX(score) FROM table_name_51 WHERE place = \"t5\" AND player = \"brandt jobe\"", "context": "CREATE TABLE table_name_51 (score INTEGER, place VARCHAR, player VARCHAR)", "question": "What was the highest score of t5 place finisher brandt jobe?" }
### QUESTION What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15? ### CONTEXT CREATE TABLE table_name_56 (year INTEGER, start VARCHAR, stage VARCHAR) ### ANSWER SELECT MIN(year) FROM table_name_56 WHERE start = "saint-gaudens" AND stage < 15
{ "answer": "SELECT MIN(year) FROM table_name_56 WHERE start = \"saint-gaudens\" AND stage < 15", "context": "CREATE TABLE table_name_56 (year INTEGER, start VARCHAR, stage VARCHAR)", "question": "What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15?" }
### QUESTION what is the constellation when the Right ascension ( J2000 ) is 10h18m58.4s? ### CONTEXT CREATE TABLE table_name_10 (constellation VARCHAR, right_ascension___j2000__ VARCHAR) ### ANSWER SELECT constellation FROM table_name_10 WHERE right_ascension___j2000__ = "10h18m58.4s"
{ "answer": "SELECT constellation FROM table_name_10 WHERE right_ascension___j2000__ = \"10h18m58.4s\"", "context": "CREATE TABLE table_name_10 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)", "question": "what is the constellation when the Right ascension ( J2000 ) is 10h18m58.4s?" }
### QUESTION What is the number of departments in Division "AS"? ### CONTEXT CREATE TABLE DEPARTMENT (Division VARCHAR) ### ANSWER SELECT COUNT(*) FROM DEPARTMENT WHERE Division = "AS"
{ "answer": "SELECT COUNT(*) FROM DEPARTMENT WHERE Division = \"AS\"", "context": "CREATE TABLE DEPARTMENT (Division VARCHAR)", "question": "What is the number of departments in Division \"AS\"?" }
### QUESTION What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils? ### CONTEXT CREATE TABLE table_name_48 (institution VARCHAR, nickname VARCHAR, classification VARCHAR, current_conference VARCHAR) ### ANSWER SELECT institution FROM table_name_48 WHERE classification = "ncaa division i" AND current_conference = "nec" AND nickname = "blue devils"
{ "answer": "SELECT institution FROM table_name_48 WHERE classification = \"ncaa division i\" AND current_conference = \"nec\" AND nickname = \"blue devils\"", "context": "CREATE TABLE table_name_48 (institution VARCHAR, nickname VARCHAR, classification VARCHAR, current_conference VARCHAR)", "question": "What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils?" }
### QUESTION Date of 10 july 2009 includes what athlete? ### CONTEXT CREATE TABLE table_name_92 (athlete VARCHAR, date VARCHAR) ### ANSWER SELECT athlete FROM table_name_92 WHERE date = "10 july 2009"
{ "answer": "SELECT athlete FROM table_name_92 WHERE date = \"10 july 2009\"", "context": "CREATE TABLE table_name_92 (athlete VARCHAR, date VARCHAR)", "question": "Date of 10 july 2009 includes what athlete?" }
### QUESTION What institution won in 2010 with student Cheng Herng Yi? ### CONTEXT CREATE TABLE table_name_82 (institution VARCHAR, year VARCHAR, name VARCHAR) ### ANSWER SELECT institution FROM table_name_82 WHERE year > 2010 AND name = "cheng herng yi"
{ "answer": "SELECT institution FROM table_name_82 WHERE year > 2010 AND name = \"cheng herng yi\"", "context": "CREATE TABLE table_name_82 (institution VARCHAR, year VARCHAR, name VARCHAR)", "question": "What institution won in 2010 with student Cheng Herng Yi?" }
### QUESTION what is the borough or A[›] Census area when the Name A[›] is jerome lake dam? ### CONTEXT CREATE TABLE table_name_81 (borough_or_a VARCHAR, ›_ VARCHAR, name_a VARCHAR) ### ANSWER SELECT borough_or_a[›_] AS _census_area FROM table_name_81 WHERE name_a[›_] = "jerome lake dam"
{ "answer": "SELECT borough_or_a[›_] AS _census_area FROM table_name_81 WHERE name_a[›_] = \"jerome lake dam\"", "context": "CREATE TABLE table_name_81 (borough_or_a VARCHAR, ›_ VARCHAR, name_a VARCHAR)", "question": "what is the borough or A[›] Census area when the Name A[›] is jerome lake dam?" }
### QUESTION How many rain figures are provided for sunlight hours in 1966? ### CONTEXT CREATE TABLE table_12837_1 (rain VARCHAR, sunlight_hours VARCHAR) ### ANSWER SELECT COUNT(rain) FROM table_12837_1 WHERE sunlight_hours = 1966
{ "answer": "SELECT COUNT(rain) FROM table_12837_1 WHERE sunlight_hours = 1966", "context": "CREATE TABLE table_12837_1 (rain VARCHAR, sunlight_hours VARCHAR)", "question": "How many rain figures are provided for sunlight hours in 1966?" }
### QUESTION Who was the color commentator for Eric Dickerson and Melissa Stark in 2001? ### CONTEXT CREATE TABLE table_name_42 (color_commentator_s_ VARCHAR, sideline_reporter_s_ VARCHAR, year VARCHAR) ### ANSWER SELECT color_commentator_s_ FROM table_name_42 WHERE sideline_reporter_s_ = "eric dickerson and melissa stark" AND year = 2001
{ "answer": "SELECT color_commentator_s_ FROM table_name_42 WHERE sideline_reporter_s_ = \"eric dickerson and melissa stark\" AND year = 2001", "context": "CREATE TABLE table_name_42 (color_commentator_s_ VARCHAR, sideline_reporter_s_ VARCHAR, year VARCHAR)", "question": "Who was the color commentator for Eric Dickerson and Melissa Stark in 2001?" }
### QUESTION Find the names of districts where have both city mall and village store type stores. ### CONTEXT CREATE TABLE district (District_name VARCHAR, district_id VARCHAR); CREATE TABLE store (store_id VARCHAR, Type VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR) ### ANSWER SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t1.Type = "City Mall" INTERSECT SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t1.Type = "Village Store"
{ "answer": "SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t1.Type = \"City Mall\" INTERSECT SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t1.Type = \"Village Store\"", "context": "CREATE TABLE district (District_name VARCHAR, district_id VARCHAR); CREATE TABLE store (store_id VARCHAR, Type VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR)", "question": "Find the names of districts where have both city mall and village store type stores." }
### QUESTION Which Model has Comments of curved daggerboards. design: morelli und melvin? ### CONTEXT CREATE TABLE table_name_61 (model VARCHAR, comments VARCHAR) ### ANSWER SELECT model FROM table_name_61 WHERE comments = "curved daggerboards. design: morelli und melvin"
{ "answer": "SELECT model FROM table_name_61 WHERE comments = \"curved daggerboards. design: morelli und melvin\"", "context": "CREATE TABLE table_name_61 (model VARCHAR, comments VARCHAR)", "question": "Which Model has Comments of curved daggerboards. design: morelli und melvin?" }
### QUESTION What is the pole position of the belgian grand prix? ### CONTEXT CREATE TABLE table_1140078_2 (pole_position VARCHAR, race VARCHAR) ### ANSWER SELECT pole_position FROM table_1140078_2 WHERE race = "Belgian Grand Prix"
{ "answer": "SELECT pole_position FROM table_1140078_2 WHERE race = \"Belgian Grand Prix\"", "context": "CREATE TABLE table_1140078_2 (pole_position VARCHAR, race VARCHAR)", "question": "What is the pole position of the belgian grand prix?" }
### QUESTION Which road team has a result of 117-114? ### CONTEXT CREATE TABLE table_name_61 (road_team VARCHAR, result VARCHAR) ### ANSWER SELECT road_team FROM table_name_61 WHERE result = "117-114"
{ "answer": "SELECT road_team FROM table_name_61 WHERE result = \"117-114\"", "context": "CREATE TABLE table_name_61 (road_team VARCHAR, result VARCHAR)", "question": "Which road team has a result of 117-114?" }
### QUESTION What venue features carlton as the home side? ### CONTEXT CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR) ### ANSWER SELECT venue FROM table_name_40 WHERE home_team = "carlton"
{ "answer": "SELECT venue FROM table_name_40 WHERE home_team = \"carlton\"", "context": "CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR)", "question": "What venue features carlton as the home side?" }
### QUESTION Which Format has a Label of eagle records, and a Catalogue number(s) of edgcd391? ### CONTEXT CREATE TABLE table_name_23 (format VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR) ### ANSWER SELECT format FROM table_name_23 WHERE label = "eagle records" AND catalogue_number_s_ = "edgcd391"
{ "answer": "SELECT format FROM table_name_23 WHERE label = \"eagle records\" AND catalogue_number_s_ = \"edgcd391\"", "context": "CREATE TABLE table_name_23 (format VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR)", "question": "Which Format has a Label of eagle records, and a Catalogue number(s) of edgcd391?" }
### QUESTION What is the total number of Since with a Goals larger than 6, and a Name with deco? ### CONTEXT CREATE TABLE table_name_57 (since VARCHAR, goals VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(since) FROM table_name_57 WHERE goals > 6 AND name = "deco"
{ "answer": "SELECT COUNT(since) FROM table_name_57 WHERE goals > 6 AND name = \"deco\"", "context": "CREATE TABLE table_name_57 (since VARCHAR, goals VARCHAR, name VARCHAR)", "question": "What is the total number of Since with a Goals larger than 6, and a Name with deco?" }
### QUESTION Which Share has a weekly Rank of 8 and is dated 15 June? ### CONTEXT CREATE TABLE table_name_12 (share VARCHAR, weekly_rank VARCHAR, date VARCHAR) ### ANSWER SELECT share FROM table_name_12 WHERE weekly_rank = "8" AND date = "15 june"
{ "answer": "SELECT share FROM table_name_12 WHERE weekly_rank = \"8\" AND date = \"15 june\"", "context": "CREATE TABLE table_name_12 (share VARCHAR, weekly_rank VARCHAR, date VARCHAR)", "question": "Which Share has a weekly Rank of 8 and is dated 15 June?" }
### QUESTION Give me a list of names and years of races that had any driver whose forename is Lewis? ### CONTEXT CREATE TABLE drivers (driverid VARCHAR, forename VARCHAR); CREATE TABLE races (name VARCHAR, year VARCHAR, raceid VARCHAR); CREATE TABLE results (raceid VARCHAR, driverid VARCHAR) ### ANSWER SELECT T2.name, T2.year FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T1.driverid = T3.driverid WHERE T3.forename = "Lewis"
{ "answer": "SELECT T2.name, T2.year FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T1.driverid = T3.driverid WHERE T3.forename = \"Lewis\"", "context": "CREATE TABLE drivers (driverid VARCHAR, forename VARCHAR); CREATE TABLE races (name VARCHAR, year VARCHAR, raceid VARCHAR); CREATE TABLE results (raceid VARCHAR, driverid VARCHAR)", "question": "Give me a list of names and years of races that had any driver whose forename is Lewis?" }
### QUESTION Please list the countries and years of film market estimations. ### CONTEXT CREATE TABLE film_market_estimation (Year VARCHAR, Market_ID VARCHAR); CREATE TABLE market (Country VARCHAR, Market_ID VARCHAR) ### ANSWER SELECT T2.Country, T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID
{ "answer": "SELECT T2.Country, T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID", "context": "CREATE TABLE film_market_estimation (Year VARCHAR, Market_ID VARCHAR); CREATE TABLE market (Country VARCHAR, Market_ID VARCHAR)", "question": "Please list the countries and years of film market estimations." }
### QUESTION In the sixth round, what is the sum of fixtures when there were more than 15 clubs involved? ### CONTEXT CREATE TABLE table_name_67 (fixtures INTEGER, round VARCHAR, clubs_involved VARCHAR) ### ANSWER SELECT SUM(fixtures) FROM table_name_67 WHERE round = "sixth round" AND clubs_involved > 15
{ "answer": "SELECT SUM(fixtures) FROM table_name_67 WHERE round = \"sixth round\" AND clubs_involved > 15", "context": "CREATE TABLE table_name_67 (fixtures INTEGER, round VARCHAR, clubs_involved VARCHAR)", "question": "In the sixth round, what is the sum of fixtures when there were more than 15 clubs involved?" }
### QUESTION What was the total crowd size for the him team footscray? ### CONTEXT CREATE TABLE table_name_95 (crowd VARCHAR, home_team VARCHAR) ### ANSWER SELECT COUNT(crowd) FROM table_name_95 WHERE home_team = "footscray"
{ "answer": "SELECT COUNT(crowd) FROM table_name_95 WHERE home_team = \"footscray\"", "context": "CREATE TABLE table_name_95 (crowd VARCHAR, home_team VARCHAR)", "question": "What was the total crowd size for the him team footscray?" }
### QUESTION What is the home ground for the team whose home city is Trondheim with 27 seasons? ### CONTEXT CREATE TABLE table_2522473_1 (home_ground VARCHAR, seasons VARCHAR, home_city VARCHAR) ### ANSWER SELECT home_ground FROM table_2522473_1 WHERE seasons = 27 AND home_city = "Trondheim"
{ "answer": "SELECT home_ground FROM table_2522473_1 WHERE seasons = 27 AND home_city = \"Trondheim\"", "context": "CREATE TABLE table_2522473_1 (home_ground VARCHAR, seasons VARCHAR, home_city VARCHAR)", "question": "What is the home ground for the team whose home city is Trondheim with 27 seasons? " }
### QUESTION Playing against the Seattle Seahawks in a week after week 1 before 69,149 people what was the result of the game? ### CONTEXT CREATE TABLE table_name_63 (result VARCHAR, opponent VARCHAR, week VARCHAR, attendance VARCHAR) ### ANSWER SELECT result FROM table_name_63 WHERE week > 1 AND attendance = "69,149" AND opponent = "seattle seahawks"
{ "answer": "SELECT result FROM table_name_63 WHERE week > 1 AND attendance = \"69,149\" AND opponent = \"seattle seahawks\"", "context": "CREATE TABLE table_name_63 (result VARCHAR, opponent VARCHAR, week VARCHAR, attendance VARCHAR)", "question": "Playing against the Seattle Seahawks in a week after week 1 before 69,149 people what was the result of the game?" }
### QUESTION For all the faults of different parts, what are all the decriptions of the skills required to fix them? List the name of the faults and the skill description. ### CONTEXT CREATE TABLE Skills_Required_To_Fix (part_fault_id VARCHAR, skill_id VARCHAR); CREATE TABLE Part_Faults (fault_short_name VARCHAR, part_fault_id VARCHAR); CREATE TABLE Skills (skill_description VARCHAR, skill_id VARCHAR) ### ANSWER SELECT T1.fault_short_name, T3.skill_description FROM Part_Faults AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.part_fault_id = T2.part_fault_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id
{ "answer": "SELECT T1.fault_short_name, T3.skill_description FROM Part_Faults AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.part_fault_id = T2.part_fault_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id", "context": "CREATE TABLE Skills_Required_To_Fix (part_fault_id VARCHAR, skill_id VARCHAR); CREATE TABLE Part_Faults (fault_short_name VARCHAR, part_fault_id VARCHAR); CREATE TABLE Skills (skill_description VARCHAR, skill_id VARCHAR)", "question": "For all the faults of different parts, what are all the decriptions of the skills required to fix them? List the name of the faults and the skill description." }
### QUESTION Show the season, the player, and the name of the country that player belongs to. ### CONTEXT CREATE TABLE match_season (Season VARCHAR, Player VARCHAR, Country VARCHAR); CREATE TABLE country (Country_name VARCHAR, Country_id VARCHAR) ### ANSWER SELECT T2.Season, T2.Player, T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country
{ "answer": "SELECT T2.Season, T2.Player, T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country", "context": "CREATE TABLE match_season (Season VARCHAR, Player VARCHAR, Country VARCHAR); CREATE TABLE country (Country_name VARCHAR, Country_id VARCHAR)", "question": "Show the season, the player, and the name of the country that player belongs to." }
### QUESTION How many games for keith j. miller, who debuted after 1974 with less than 1 goal? ### CONTEXT CREATE TABLE table_name_28 (games INTEGER, debut_year VARCHAR, goals VARCHAR, player VARCHAR) ### ANSWER SELECT AVG(games) FROM table_name_28 WHERE goals < 1 AND player = "keith j. miller" AND debut_year > 1974
{ "answer": "SELECT AVG(games) FROM table_name_28 WHERE goals < 1 AND player = \"keith j. miller\" AND debut_year > 1974", "context": "CREATE TABLE table_name_28 (games INTEGER, debut_year VARCHAR, goals VARCHAR, player VARCHAR)", "question": "How many games for keith j. miller, who debuted after 1974 with less than 1 goal?" }
### QUESTION What are the names of photos taken with the lens brand 'Sigma' or 'Olympus'? ### CONTEXT CREATE TABLE photos (camera_lens_id VARCHAR); CREATE TABLE camera_lens (name VARCHAR, id VARCHAR, brand VARCHAR) ### ANSWER SELECT T1.name FROM camera_lens AS T1 JOIN photos AS T2 ON T2.camera_lens_id = T1.id WHERE T1.brand = 'Sigma' OR T1.brand = 'Olympus'
{ "answer": "SELECT T1.name FROM camera_lens AS T1 JOIN photos AS T2 ON T2.camera_lens_id = T1.id WHERE T1.brand = 'Sigma' OR T1.brand = 'Olympus'", "context": "CREATE TABLE photos (camera_lens_id VARCHAR); CREATE TABLE camera_lens (name VARCHAR, id VARCHAR, brand VARCHAR)", "question": "What are the names of photos taken with the lens brand 'Sigma' or 'Olympus'?" }
### QUESTION List the date the claim was made, the date it was settled and the amount settled for all the claims which had exactly one settlement. ### CONTEXT CREATE TABLE Claims (claim_id VARCHAR, date_claim_made VARCHAR, Date_Claim_Settled VARCHAR, Claim_id VARCHAR); CREATE TABLE Settlements (Claim_id VARCHAR) ### ANSWER SELECT T1.claim_id, T1.date_claim_made, T1.Date_Claim_Settled FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id = T2.Claim_id GROUP BY T1.claim_id HAVING COUNT(*) = 1
{ "answer": "SELECT T1.claim_id, T1.date_claim_made, T1.Date_Claim_Settled FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id = T2.Claim_id GROUP BY T1.claim_id HAVING COUNT(*) = 1", "context": "CREATE TABLE Claims (claim_id VARCHAR, date_claim_made VARCHAR, Date_Claim_Settled VARCHAR, Claim_id VARCHAR); CREATE TABLE Settlements (Claim_id VARCHAR)", "question": "List the date the claim was made, the date it was settled and the amount settled for all the claims which had exactly one settlement." }
### QUESTION How many games did janae stokes play? ### CONTEXT CREATE TABLE table_23346303_4 (games_played INTEGER, player VARCHAR) ### ANSWER SELECT MAX(games_played) FROM table_23346303_4 WHERE player = "Janae Stokes"
{ "answer": "SELECT MAX(games_played) FROM table_23346303_4 WHERE player = \"Janae Stokes\"", "context": "CREATE TABLE table_23346303_4 (games_played INTEGER, player VARCHAR)", "question": "How many games did janae stokes play?" }
### QUESTION Name the accrediatation for southeast technical institute ### CONTEXT CREATE TABLE table_2076557_2 (accreditation VARCHAR, school VARCHAR) ### ANSWER SELECT accreditation FROM table_2076557_2 WHERE school = "Southeast Technical Institute"
{ "answer": "SELECT accreditation FROM table_2076557_2 WHERE school = \"Southeast Technical Institute\"", "context": "CREATE TABLE table_2076557_2 (accreditation VARCHAR, school VARCHAR)", "question": "Name the accrediatation for southeast technical institute" }
### QUESTION What is the number of artists for each gender? ### CONTEXT CREATE TABLE artist (gender VARCHAR) ### ANSWER SELECT COUNT(*), gender FROM artist GROUP BY gender
{ "answer": "SELECT COUNT(*), gender FROM artist GROUP BY gender", "context": "CREATE TABLE artist (gender VARCHAR)", "question": "What is the number of artists for each gender?" }
### QUESTION Which film has the most copies in the inventory? List both title and id. ### CONTEXT CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE inventory (film_id VARCHAR) ### ANSWER SELECT T1.title, T1.film_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id GROUP BY T1.film_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.title, T1.film_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id GROUP BY T1.film_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE inventory (film_id VARCHAR)", "question": "Which film has the most copies in the inventory? List both title and id." }
### QUESTION What is the highest roll number of the school in Te puna with a decile larger than 2? ### CONTEXT CREATE TABLE table_name_85 (roll INTEGER, decile VARCHAR, area VARCHAR) ### ANSWER SELECT MAX(roll) FROM table_name_85 WHERE decile > 2 AND area = "te puna"
{ "answer": "SELECT MAX(roll) FROM table_name_85 WHERE decile > 2 AND area = \"te puna\"", "context": "CREATE TABLE table_name_85 (roll INTEGER, decile VARCHAR, area VARCHAR)", "question": "What is the highest roll number of the school in Te puna with a decile larger than 2?" }
### QUESTION How many points did agnieszka radwańska score? ### CONTEXT CREATE TABLE table_20855452_4 (points VARCHAR, player VARCHAR) ### ANSWER SELECT points FROM table_20855452_4 WHERE player = "Agnieszka Radwańska"
{ "answer": "SELECT points FROM table_20855452_4 WHERE player = \"Agnieszka Radwańska\"", "context": "CREATE TABLE table_20855452_4 (points VARCHAR, player VARCHAR)", "question": "How many points did agnieszka radwańska score?" }
### QUESTION what is the quantity made when the wheel arrangement is 2-6-0 and the class is k? ### CONTEXT CREATE TABLE table_name_78 (quantity_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) ### ANSWER SELECT quantity_made FROM table_name_78 WHERE wheel_arrangement = "2-6-0" AND class = "k"
{ "answer": "SELECT quantity_made FROM table_name_78 WHERE wheel_arrangement = \"2-6-0\" AND class = \"k\"", "context": "CREATE TABLE table_name_78 (quantity_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)", "question": "what is the quantity made when the wheel arrangement is 2-6-0 and the class is k?" }
### QUESTION Find distinct cities of address of students? ### CONTEXT CREATE TABLE students (student_id VARCHAR); CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE people_addresses (address_id VARCHAR, person_id VARCHAR) ### ANSWER SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id JOIN students AS T3 ON T2.person_id = T3.student_id
{ "answer": "SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id JOIN students AS T3 ON T2.person_id = T3.student_id", "context": "CREATE TABLE students (student_id VARCHAR); CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE people_addresses (address_id VARCHAR, person_id VARCHAR)", "question": "Find distinct cities of address of students?" }
### QUESTION List all of the player ids with a height of at least 180cm and an overall rating higher than 85. ### CONTEXT CREATE TABLE Player_Attributes (player_api_id VARCHAR, height VARCHAR, overall_rating INTEGER); CREATE TABLE Player (player_api_id VARCHAR, height VARCHAR, overall_rating INTEGER) ### ANSWER SELECT player_api_id FROM Player WHERE height >= 180 INTERSECT SELECT player_api_id FROM Player_Attributes WHERE overall_rating > 85
{ "answer": "SELECT player_api_id FROM Player WHERE height >= 180 INTERSECT SELECT player_api_id FROM Player_Attributes WHERE overall_rating > 85", "context": "CREATE TABLE Player_Attributes (player_api_id VARCHAR, height VARCHAR, overall_rating INTEGER); CREATE TABLE Player (player_api_id VARCHAR, height VARCHAR, overall_rating INTEGER)", "question": "List all of the player ids with a height of at least 180cm and an overall rating higher than 85." }
### QUESTION What number pick did the CFL team bc lions (via hamilton via winnipeg ) have? ### CONTEXT CREATE TABLE table_20170644_1 (pick__number INTEGER, cfl_team VARCHAR) ### ANSWER SELECT MAX(pick__number) FROM table_20170644_1 WHERE cfl_team = "BC Lions (via Hamilton via Winnipeg )"
{ "answer": "SELECT MAX(pick__number) FROM table_20170644_1 WHERE cfl_team = \"BC Lions (via Hamilton via Winnipeg )\"", "context": "CREATE TABLE table_20170644_1 (pick__number INTEGER, cfl_team VARCHAR)", "question": "What number pick did the CFL team bc lions (via hamilton via winnipeg ) have?" }
### QUESTION WHAT IS THE RANK WITH A GROSS OF $96,773,200? ### CONTEXT CREATE TABLE table_name_59 (rank VARCHAR, gross VARCHAR) ### ANSWER SELECT COUNT(rank) FROM table_name_59 WHERE gross = "$96,773,200"
{ "answer": "SELECT COUNT(rank) FROM table_name_59 WHERE gross = \"$96,773,200\"", "context": "CREATE TABLE table_name_59 (rank VARCHAR, gross VARCHAR)", "question": "WHAT IS THE RANK WITH A GROSS OF $96,773,200?" }
### QUESTION What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx? ### CONTEXT CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR, socket VARCHAR, codename__main_article_ VARCHAR) ### ANSWER SELECT i_o_bus FROM table_24538587_11 WHERE socket = "LGA 1155" AND codename__main_article_ = "Sandy Bridge (Desktop)" AND brand_name__list_ = "Core i3-21xx"
{ "answer": "SELECT i_o_bus FROM table_24538587_11 WHERE socket = \"LGA 1155\" AND codename__main_article_ = \"Sandy Bridge (Desktop)\" AND brand_name__list_ = \"Core i3-21xx\"", "context": "CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR, socket VARCHAR, codename__main_article_ VARCHAR)", "question": "What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx?" }
### QUESTION what are all the playoffs for regular season is 1st, atlantic division ### CONTEXT CREATE TABLE table_1046170_5 (playoffs VARCHAR, regular_season VARCHAR) ### ANSWER SELECT playoffs FROM table_1046170_5 WHERE regular_season = "1st, Atlantic division"
{ "answer": "SELECT playoffs FROM table_1046170_5 WHERE regular_season = \"1st, Atlantic division\"", "context": "CREATE TABLE table_1046170_5 (playoffs VARCHAR, regular_season VARCHAR)", "question": "what are all the playoffs for regular season is 1st, atlantic division" }
### QUESTION Name the total number of population 2000 census for mesquita ### CONTEXT CREATE TABLE table_14986292_1 (population_2000_census VARCHAR, administrative_division VARCHAR) ### ANSWER SELECT COUNT(population_2000_census) FROM table_14986292_1 WHERE administrative_division = "Mesquita"
{ "answer": "SELECT COUNT(population_2000_census) FROM table_14986292_1 WHERE administrative_division = \"Mesquita\"", "context": "CREATE TABLE table_14986292_1 (population_2000_census VARCHAR, administrative_division VARCHAR)", "question": "Name the total number of population 2000 census for mesquita" }
### QUESTION What is the position of club Melilla CF, with a goal difference smaller than -10? ### CONTEXT CREATE TABLE table_name_63 (position INTEGER, club VARCHAR, goal_difference VARCHAR) ### ANSWER SELECT SUM(position) FROM table_name_63 WHERE club = "melilla cf" AND goal_difference < -10
{ "answer": "SELECT SUM(position) FROM table_name_63 WHERE club = \"melilla cf\" AND goal_difference < -10", "context": "CREATE TABLE table_name_63 (position INTEGER, club VARCHAR, goal_difference VARCHAR)", "question": "What is the position of club Melilla CF, with a goal difference smaller than -10?" }
### QUESTION Which Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168? ### CONTEXT CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR) ### ANSWER SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = "1st" AND points < 168
{ "answer": "SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = \"1st\" AND points < 168", "context": "CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR)", "question": "Which Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168?" }
### QUESTION How many regular season titles did Kansas receive when they received fewer than 2 tournament titles and more than 0 total titles? ### CONTEXT CREATE TABLE table_name_25 (Regular VARCHAR, team VARCHAR, tournament VARCHAR, total VARCHAR) ### ANSWER SELECT Regular AS season FROM table_name_25 WHERE tournament < 2 AND total > 0 AND team = "kansas"
{ "answer": "SELECT Regular AS season FROM table_name_25 WHERE tournament < 2 AND total > 0 AND team = \"kansas\"", "context": "CREATE TABLE table_name_25 (Regular VARCHAR, team VARCHAR, tournament VARCHAR, total VARCHAR)", "question": "How many regular season titles did Kansas receive when they received fewer than 2 tournament titles and more than 0 total titles?" }
### QUESTION Name the date for chris evert opponent and carpet surface ### CONTEXT CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR, surface VARCHAR) ### ANSWER SELECT date FROM table_name_98 WHERE opponent = "chris evert" AND surface = "carpet"
{ "answer": "SELECT date FROM table_name_98 WHERE opponent = \"chris evert\" AND surface = \"carpet\"", "context": "CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR, surface VARCHAR)", "question": "Name the date for chris evert opponent and carpet surface" }
### QUESTION find the location and Representative name of the gas stations owned by the companies with top 3 Asset amounts. ### CONTEXT CREATE TABLE gas_station (location VARCHAR, Representative_Name VARCHAR, station_id VARCHAR); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, Assets_billion VARCHAR) ### ANSWER SELECT T3.location, T3.Representative_Name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id ORDER BY T2.Assets_billion DESC LIMIT 3
{ "answer": "SELECT T3.location, T3.Representative_Name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id ORDER BY T2.Assets_billion DESC LIMIT 3", "context": "CREATE TABLE gas_station (location VARCHAR, Representative_Name VARCHAR, station_id VARCHAR); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, Assets_billion VARCHAR)", "question": "find the location and Representative name of the gas stations owned by the companies with top 3 Asset amounts." }
### QUESTION Released on April 12, 1968 in LP format, what was the catalog? ### CONTEXT CREATE TABLE table_name_20 (catalog VARCHAR, format VARCHAR, date VARCHAR) ### ANSWER SELECT catalog FROM table_name_20 WHERE format = "lp" AND date = "april 12, 1968"
{ "answer": "SELECT catalog FROM table_name_20 WHERE format = \"lp\" AND date = \"april 12, 1968\"", "context": "CREATE TABLE table_name_20 (catalog VARCHAR, format VARCHAR, date VARCHAR)", "question": "Released on April 12, 1968 in LP format, what was the catalog?" }
### QUESTION On what Surface was the game with Partner David Martin played Scoring 4–6, 6–7 (4-7)? ### CONTEXT CREATE TABLE table_name_24 (surface VARCHAR, partner VARCHAR, score VARCHAR) ### ANSWER SELECT surface FROM table_name_24 WHERE partner = "david martin" AND score = "4–6, 6–7 (4-7)"
{ "answer": "SELECT surface FROM table_name_24 WHERE partner = \"david martin\" AND score = \"4–6, 6–7 (4-7)\"", "context": "CREATE TABLE table_name_24 (surface VARCHAR, partner VARCHAR, score VARCHAR)", "question": "On what Surface was the game with Partner David Martin played Scoring 4–6, 6–7 (4-7)?" }
### QUESTION Which DOB has Throws of r, and a Position of c, and a First of torey? ### CONTEXT CREATE TABLE table_name_25 (dob VARCHAR, first VARCHAR, throws VARCHAR, position VARCHAR) ### ANSWER SELECT dob FROM table_name_25 WHERE throws = "r" AND position = "c" AND first = "torey"
{ "answer": "SELECT dob FROM table_name_25 WHERE throws = \"r\" AND position = \"c\" AND first = \"torey\"", "context": "CREATE TABLE table_name_25 (dob VARCHAR, first VARCHAR, throws VARCHAR, position VARCHAR)", "question": "Which DOB has Throws of r, and a Position of c, and a First of torey?" }