text
stringlengths
146
1.06k
source
dict
### QUESTION On what Surface was the match with a Score of 6–4, 6–3 and Runner-up Outcome played? ### CONTEXT CREATE TABLE table_name_30 (surface VARCHAR, outcome VARCHAR, score VARCHAR) ### ANSWER SELECT surface FROM table_name_30 WHERE outcome = "runner-up" AND score = "6–4, 6–3"
{ "answer": "SELECT surface FROM table_name_30 WHERE outcome = \"runner-up\" AND score = \"6–4, 6–3\"", "context": "CREATE TABLE table_name_30 (surface VARCHAR, outcome VARCHAR, score VARCHAR)", "question": "On what Surface was the match with a Score of 6–4, 6–3 and Runner-up Outcome played?" }
### QUESTION What was the winning team on 11 July? ### CONTEXT CREATE TABLE table_name_58 (winning_team VARCHAR, date VARCHAR) ### ANSWER SELECT winning_team FROM table_name_58 WHERE date = "11 july"
{ "answer": "SELECT winning_team FROM table_name_58 WHERE date = \"11 july\"", "context": "CREATE TABLE table_name_58 (winning_team VARCHAR, date VARCHAR)", "question": "What was the winning team on 11 July?" }
### QUESTION What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4? ### CONTEXT CREATE TABLE table_22170495_6 (position_in_e4s_ratings_b VARCHAR, original_airing_on_channel_4 VARCHAR) ### ANSWER SELECT position_in_e4s_ratings_b FROM table_22170495_6 WHERE original_airing_on_channel_4 = "June 30, 2010"
{ "answer": "SELECT position_in_e4s_ratings_b FROM table_22170495_6 WHERE original_airing_on_channel_4 = \"June 30, 2010\"", "context": "CREATE TABLE table_22170495_6 (position_in_e4s_ratings_b VARCHAR, original_airing_on_channel_4 VARCHAR)", "question": "What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4?" }
### QUESTION What year did Bangkok University and Chunnam Dragons have a score of 0-0? ### CONTEXT CREATE TABLE table_name_31 (season INTEGER, team_2 VARCHAR, team_1 VARCHAR, score VARCHAR) ### ANSWER SELECT SUM(season) FROM table_name_31 WHERE team_1 = "bangkok university" AND score = "0-0" AND team_2 = "chunnam dragons"
{ "answer": "SELECT SUM(season) FROM table_name_31 WHERE team_1 = \"bangkok university\" AND score = \"0-0\" AND team_2 = \"chunnam dragons\"", "context": "CREATE TABLE table_name_31 (season INTEGER, team_2 VARCHAR, team_1 VARCHAR, score VARCHAR)", "question": "What year did Bangkok University and Chunnam Dragons have a score of 0-0?" }
### QUESTION Which situation has an original u.s. airdate of December 5, 2007? ### CONTEXT CREATE TABLE table_14570857_1 (situation VARCHAR, original_us_airdate VARCHAR) ### ANSWER SELECT situation FROM table_14570857_1 WHERE original_us_airdate = "December 5, 2007"
{ "answer": "SELECT situation FROM table_14570857_1 WHERE original_us_airdate = \"December 5, 2007\"", "context": "CREATE TABLE table_14570857_1 (situation VARCHAR, original_us_airdate VARCHAR)", "question": "Which situation has an original u.s. airdate of December 5, 2007?" }
### QUESTION Who did the play-by-play when the pregame host was Brian Williams and the sideline reporters were Steve Armitage and Brenda Irving? ### CONTEXT CREATE TABLE table_17628022_2 (play_by_play VARCHAR, pregame_host VARCHAR, sideline_reporters VARCHAR) ### ANSWER SELECT play_by_play FROM table_17628022_2 WHERE pregame_host = "Brian Williams" AND sideline_reporters = "Steve Armitage and Brenda Irving"
{ "answer": "SELECT play_by_play FROM table_17628022_2 WHERE pregame_host = \"Brian Williams\" AND sideline_reporters = \"Steve Armitage and Brenda Irving\"", "context": "CREATE TABLE table_17628022_2 (play_by_play VARCHAR, pregame_host VARCHAR, sideline_reporters VARCHAR)", "question": "Who did the play-by-play when the pregame host was Brian Williams and the sideline reporters were Steve Armitage and Brenda Irving?" }
### QUESTION Achievement of m (ft), and a Type of mi-10r, and a Pilot of v.p. koloshenko, and a Date of 28 may 1965 had what record description? ### CONTEXT CREATE TABLE table_name_96 (record_description VARCHAR, date VARCHAR, pilot VARCHAR, achievement VARCHAR, type VARCHAR) ### ANSWER SELECT record_description FROM table_name_96 WHERE achievement = "m (ft)" AND type = "mi-10r" AND pilot = "v.p. koloshenko" AND date = "28 may 1965"
{ "answer": "SELECT record_description FROM table_name_96 WHERE achievement = \"m (ft)\" AND type = \"mi-10r\" AND pilot = \"v.p. koloshenko\" AND date = \"28 may 1965\"", "context": "CREATE TABLE table_name_96 (record_description VARCHAR, date VARCHAR, pilot VARCHAR, achievement VARCHAR, type VARCHAR)", "question": "Achievement of m (ft), and a Type of mi-10r, and a Pilot of v.p. koloshenko, and a Date of 28 may 1965 had what record description?" }
### QUESTION Find the total amount of products ordered before 2018-03-17 07:13:53. ### CONTEXT CREATE TABLE customer_orders (order_id VARCHAR, order_date INTEGER); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR) ### ANSWER SELECT SUM(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id = t2.order_id WHERE t1.order_date < "2018-03-17 07:13:53"
{ "answer": "SELECT SUM(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id = t2.order_id WHERE t1.order_date < \"2018-03-17 07:13:53\"", "context": "CREATE TABLE customer_orders (order_id VARCHAR, order_date INTEGER); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR)", "question": "Find the total amount of products ordered before 2018-03-17 07:13:53." }
### QUESTION Which Years in Orlando has a Nationality of united states, a Position of center, and a Player of jawann oldham? ### CONTEXT CREATE TABLE table_name_10 (years_in_orlando VARCHAR, player VARCHAR, nationality VARCHAR, position VARCHAR) ### ANSWER SELECT years_in_orlando FROM table_name_10 WHERE nationality = "united states" AND position = "center" AND player = "jawann oldham"
{ "answer": "SELECT years_in_orlando FROM table_name_10 WHERE nationality = \"united states\" AND position = \"center\" AND player = \"jawann oldham\"", "context": "CREATE TABLE table_name_10 (years_in_orlando VARCHAR, player VARCHAR, nationality VARCHAR, position VARCHAR)", "question": "Which Years in Orlando has a Nationality of united states, a Position of center, and a Player of jawann oldham?" }
### QUESTION how many equivalent daily inflation rate with time required for prices to double being 3.7 days ### CONTEXT CREATE TABLE table_13681_2 (equivalent_daily_inflation_rate VARCHAR, time_required_for_prices_to_double VARCHAR) ### ANSWER SELECT COUNT(equivalent_daily_inflation_rate) FROM table_13681_2 WHERE time_required_for_prices_to_double = "3.7 days"
{ "answer": "SELECT COUNT(equivalent_daily_inflation_rate) FROM table_13681_2 WHERE time_required_for_prices_to_double = \"3.7 days\"", "context": "CREATE TABLE table_13681_2 (equivalent_daily_inflation_rate VARCHAR, time_required_for_prices_to_double VARCHAR)", "question": " how many equivalent daily inflation rate with time required for prices to double being 3.7 days" }
### QUESTION Find the start and end dates of behavior incidents of students with last name "Fahey". ### CONTEXT CREATE TABLE Behavior_Incident (date_incident_start VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, last_name VARCHAR) ### ANSWER SELECT T1.date_incident_start, date_incident_end FROM Behavior_Incident AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.last_name = "Fahey"
{ "answer": "SELECT T1.date_incident_start, date_incident_end FROM Behavior_Incident AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.last_name = \"Fahey\"", "context": "CREATE TABLE Behavior_Incident (date_incident_start VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, last_name VARCHAR)", "question": "Find the start and end dates of behavior incidents of students with last name \"Fahey\"." }
### QUESTION List the names of all left-footed players who have overall rating between 85 and 90. ### CONTEXT CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, overall_rating VARCHAR, preferred_foot VARCHAR) ### ANSWER SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.preferred_foot = "left" AND T2.overall_rating >= 85 AND T2.overall_rating <= 90
{ "answer": "SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.preferred_foot = \"left\" AND T2.overall_rating >= 85 AND T2.overall_rating <= 90", "context": "CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, overall_rating VARCHAR, preferred_foot VARCHAR)", "question": "List the names of all left-footed players who have overall rating between 85 and 90." }
### QUESTION What was the lowest attendance for the game that had a time of 3:31 and was before game 7? ### CONTEXT CREATE TABLE table_name_58 (attendance INTEGER, time VARCHAR, game VARCHAR) ### ANSWER SELECT MIN(attendance) FROM table_name_58 WHERE time = "3:31" AND game < 7
{ "answer": "SELECT MIN(attendance) FROM table_name_58 WHERE time = \"3:31\" AND game < 7", "context": "CREATE TABLE table_name_58 (attendance INTEGER, time VARCHAR, game VARCHAR)", "question": "What was the lowest attendance for the game that had a time of 3:31 and was before game 7?" }
### QUESTION Participation as of actor, film editor has what average year? ### CONTEXT CREATE TABLE table_name_11 (year INTEGER, participation_as VARCHAR) ### ANSWER SELECT AVG(year) FROM table_name_11 WHERE participation_as = "actor, film editor"
{ "answer": "SELECT AVG(year) FROM table_name_11 WHERE participation_as = \"actor, film editor\"", "context": "CREATE TABLE table_name_11 (year INTEGER, participation_as VARCHAR)", "question": "Participation as of actor, film editor has what average year?" }
### QUESTION On June 17 in Tiger stadium, what was the average home run? ### CONTEXT CREATE TABLE table_name_43 (home_run INTEGER, location VARCHAR, date VARCHAR) ### ANSWER SELECT AVG(home_run) FROM table_name_43 WHERE location = "tiger stadium" AND date = "june 17"
{ "answer": "SELECT AVG(home_run) FROM table_name_43 WHERE location = \"tiger stadium\" AND date = \"june 17\"", "context": "CREATE TABLE table_name_43 (home_run INTEGER, location VARCHAR, date VARCHAR)", "question": "On June 17 in Tiger stadium, what was the average home run?" }
### QUESTION What is Home Team, when Date is "6 December 1986", and when Tie No is "4"? ### CONTEXT CREATE TABLE table_name_49 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR) ### ANSWER SELECT home_team FROM table_name_49 WHERE date = "6 december 1986" AND tie_no = "4"
{ "answer": "SELECT home_team FROM table_name_49 WHERE date = \"6 december 1986\" AND tie_no = \"4\"", "context": "CREATE TABLE table_name_49 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)", "question": "What is Home Team, when Date is \"6 December 1986\", and when Tie No is \"4\"?" }
### QUESTION What is the takeover date of the FA division mitre? ### CONTEXT CREATE TABLE table_name_19 (takeover_date VARCHAR, fa_division_s_ VARCHAR) ### ANSWER SELECT takeover_date FROM table_name_19 WHERE fa_division_s_ = "mitre"
{ "answer": "SELECT takeover_date FROM table_name_19 WHERE fa_division_s_ = \"mitre\"", "context": "CREATE TABLE table_name_19 (takeover_date VARCHAR, fa_division_s_ VARCHAR)", "question": "What is the takeover date of the FA division mitre?" }
### QUESTION Who is the second member with first member Sir Rowland Hill, BT, and a conservative second party? ### CONTEXT CREATE TABLE table_name_3 (second_member VARCHAR, first_member VARCHAR, second_party VARCHAR) ### ANSWER SELECT second_member FROM table_name_3 WHERE first_member = "sir rowland hill, bt" AND second_party = "conservative"
{ "answer": "SELECT second_member FROM table_name_3 WHERE first_member = \"sir rowland hill, bt\" AND second_party = \"conservative\"", "context": "CREATE TABLE table_name_3 (second_member VARCHAR, first_member VARCHAR, second_party VARCHAR)", "question": "Who is the second member with first member Sir Rowland Hill, BT, and a conservative second party?" }
### QUESTION List all employees in the circulation history of the document with id 1. List the employee's name. ### CONTEXT CREATE TABLE Circulation_History (Id VARCHAR); CREATE TABLE Employees (Id VARCHAR) ### ANSWER SELECT Employees.employee_name FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id WHERE Circulation_History.document_id = 1
{ "answer": "SELECT Employees.employee_name FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id WHERE Circulation_History.document_id = 1", "context": "CREATE TABLE Circulation_History (Id VARCHAR); CREATE TABLE Employees (Id VARCHAR)", "question": "List all employees in the circulation history of the document with id 1. List the employee's name." }
### QUESTION What is the earliest Year commissioned wiht an Average annual output greater than 58 and Installed capacity of 20? ### CONTEXT CREATE TABLE table_name_64 (year_commissioned INTEGER, average_annual_output__million_kwh_ VARCHAR, installed_capacity__megawatts_ VARCHAR) ### ANSWER SELECT MIN(year_commissioned) FROM table_name_64 WHERE average_annual_output__million_kwh_ > 58 AND installed_capacity__megawatts_ = 20
{ "answer": "SELECT MIN(year_commissioned) FROM table_name_64 WHERE average_annual_output__million_kwh_ > 58 AND installed_capacity__megawatts_ = 20", "context": "CREATE TABLE table_name_64 (year_commissioned INTEGER, average_annual_output__million_kwh_ VARCHAR, installed_capacity__megawatts_ VARCHAR)", "question": "What is the earliest Year commissioned wiht an Average annual output greater than 58 and Installed capacity of 20?" }
### QUESTION What is donovan's surname? ### CONTEXT CREATE TABLE table_name_12 (surname VARCHAR, first VARCHAR) ### ANSWER SELECT surname FROM table_name_12 WHERE first = "donovan"
{ "answer": "SELECT surname FROM table_name_12 WHERE first = \"donovan\"", "context": "CREATE TABLE table_name_12 (surname VARCHAR, first VARCHAR)", "question": "What is donovan's surname?" }
### QUESTION Which show was nominated for the ITA Milestone Award at the Indian Television Academy Awards? ### CONTEXT CREATE TABLE table_name_85 (show VARCHAR, award_ceremony VARCHAR, category VARCHAR) ### ANSWER SELECT show FROM table_name_85 WHERE award_ceremony = "indian television academy awards" AND category = "ita milestone award"
{ "answer": "SELECT show FROM table_name_85 WHERE award_ceremony = \"indian television academy awards\" AND category = \"ita milestone award\"", "context": "CREATE TABLE table_name_85 (show VARCHAR, award_ceremony VARCHAR, category VARCHAR)", "question": "Which show was nominated for the ITA Milestone Award at the Indian Television Academy Awards?" }
### QUESTION What is Country, when Class is "15 meters", and when Qualifying Grand Prix is "Soaring Grand Prix Of United Kingdom"? ### CONTEXT CREATE TABLE table_name_43 (country VARCHAR, class VARCHAR, qualifying_grand_prix VARCHAR) ### ANSWER SELECT country FROM table_name_43 WHERE class = "15 meters" AND qualifying_grand_prix = "soaring grand prix of united kingdom"
{ "answer": "SELECT country FROM table_name_43 WHERE class = \"15 meters\" AND qualifying_grand_prix = \"soaring grand prix of united kingdom\"", "context": "CREATE TABLE table_name_43 (country VARCHAR, class VARCHAR, qualifying_grand_prix VARCHAR)", "question": "What is Country, when Class is \"15 meters\", and when Qualifying Grand Prix is \"Soaring Grand Prix Of United Kingdom\"?" }
### QUESTION 4tab of commercial broadcaster Radio Tab broadcasts at what frequency? ### CONTEXT CREATE TABLE table_name_75 (frequency VARCHAR, callsign VARCHAR, purpose VARCHAR, on_air_id VARCHAR) ### ANSWER SELECT frequency FROM table_name_75 WHERE purpose = "commercial" AND on_air_id = "radio tab" AND callsign = "4tab"
{ "answer": "SELECT frequency FROM table_name_75 WHERE purpose = \"commercial\" AND on_air_id = \"radio tab\" AND callsign = \"4tab\"", "context": "CREATE TABLE table_name_75 (frequency VARCHAR, callsign VARCHAR, purpose VARCHAR, on_air_id VARCHAR)", "question": "4tab of commercial broadcaster Radio Tab broadcasts at what frequency?" }
### QUESTION How many year locations are there for the womens doubles in jing junhong li jiawei? ### CONTEXT CREATE TABLE table_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR) ### ANSWER SELECT COUNT(year_location) FROM table_28138035_20 WHERE womens_doubles = "Jing Junhong Li Jiawei"
{ "answer": "SELECT COUNT(year_location) FROM table_28138035_20 WHERE womens_doubles = \"Jing Junhong Li Jiawei\"", "context": "CREATE TABLE table_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR)", "question": "How many year locations are there for the womens doubles in jing junhong li jiawei?" }
### QUESTION what are all the playoffs for u.s. open cup in 1st round ### CONTEXT CREATE TABLE table_1046170_5 (playoffs VARCHAR, us_open_cup VARCHAR) ### ANSWER SELECT playoffs FROM table_1046170_5 WHERE us_open_cup = "1st Round"
{ "answer": "SELECT playoffs FROM table_1046170_5 WHERE us_open_cup = \"1st Round\"", "context": "CREATE TABLE table_1046170_5 (playoffs VARCHAR, us_open_cup VARCHAR)", "question": "what are all the playoffs for u.s. open cup in 1st round" }
### QUESTION What was the distance in the round where the supporter was champ car world series ( grand prix of cleveland ) and the tc winning car was pierre kleinubing? ### CONTEXT CREATE TABLE table_28490105_1 (distance VARCHAR, supporting VARCHAR, tc_winning_car VARCHAR) ### ANSWER SELECT distance FROM table_28490105_1 WHERE supporting = "Champ Car World Series ( Grand Prix of Cleveland )" AND tc_winning_car = "Pierre Kleinubing"
{ "answer": "SELECT distance FROM table_28490105_1 WHERE supporting = \"Champ Car World Series ( Grand Prix of Cleveland )\" AND tc_winning_car = \"Pierre Kleinubing\"", "context": "CREATE TABLE table_28490105_1 (distance VARCHAR, supporting VARCHAR, tc_winning_car VARCHAR)", "question": "What was the distance in the round where the supporter was champ car world series ( grand prix of cleveland ) and the tc winning car was pierre kleinubing?" }
### QUESTION What is the total number of white (Hispanic/Non-Hispanic) having a black (Hispanic/Non-Hispanic) of 9.9 and Hispanic under 99.5? ### CONTEXT CREATE TABLE table_name_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR) ### ANSWER SELECT COUNT(white__both_hispanic_and_non_hispanic_) FROM table_name_77 WHERE black__both_hispanic_and_non_hispanic_ = 9.9 AND hispanic__of_any_race_ < 99.5
{ "answer": "SELECT COUNT(white__both_hispanic_and_non_hispanic_) FROM table_name_77 WHERE black__both_hispanic_and_non_hispanic_ = 9.9 AND hispanic__of_any_race_ < 99.5", "context": "CREATE TABLE table_name_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR)", "question": "What is the total number of white (Hispanic/Non-Hispanic) having a black (Hispanic/Non-Hispanic) of 9.9 and Hispanic under 99.5?" }
### QUESTION Which catalogue has essential, castle music as it's label? ### CONTEXT CREATE TABLE table_name_46 (catalogue VARCHAR, label VARCHAR) ### ANSWER SELECT catalogue FROM table_name_46 WHERE label = "essential, castle music"
{ "answer": "SELECT catalogue FROM table_name_46 WHERE label = \"essential, castle music\"", "context": "CREATE TABLE table_name_46 (catalogue VARCHAR, label VARCHAR)", "question": "Which catalogue has essential, castle music as it's label?" }
### QUESTION What date did Episode 22 originally air? ### CONTEXT CREATE TABLE table_23392257_4 (original_airdate VARCHAR, _number VARCHAR) ### ANSWER SELECT COUNT(original_airdate) FROM table_23392257_4 WHERE _number = 22
{ "answer": "SELECT COUNT(original_airdate) FROM table_23392257_4 WHERE _number = 22", "context": "CREATE TABLE table_23392257_4 (original_airdate VARCHAR, _number VARCHAR)", "question": "What date did Episode 22 originally air?" }
### QUESTION For the game played at the Boston Garden with a score of 118-110, what is the opposing team's record? ### CONTEXT CREATE TABLE table_name_68 (record VARCHAR, location VARCHAR, score VARCHAR) ### ANSWER SELECT record FROM table_name_68 WHERE location = "boston garden" AND score = "118-110"
{ "answer": "SELECT record FROM table_name_68 WHERE location = \"boston garden\" AND score = \"118-110\"", "context": "CREATE TABLE table_name_68 (record VARCHAR, location VARCHAR, score VARCHAR)", "question": "For the game played at the Boston Garden with a score of 118-110, what is the opposing team's record?" }
### QUESTION Which city is the address of the store named "FJA Filming" located in? ### CONTEXT CREATE TABLE Addresses (City_Town VARCHAR, Address_ID VARCHAR); CREATE TABLE Stores (Address_ID VARCHAR, Store_Name VARCHAR) ### ANSWER SELECT T1.City_Town FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID = T2.Address_ID WHERE T2.Store_Name = "FJA Filming"
{ "answer": "SELECT T1.City_Town FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID = T2.Address_ID WHERE T2.Store_Name = \"FJA Filming\"", "context": "CREATE TABLE Addresses (City_Town VARCHAR, Address_ID VARCHAR); CREATE TABLE Stores (Address_ID VARCHAR, Store_Name VARCHAR)", "question": "Which city is the address of the store named \"FJA Filming\" located in?" }
### QUESTION Name the result for mississippi 2 ### CONTEXT CREATE TABLE table_1342149_24 (result VARCHAR, district VARCHAR) ### ANSWER SELECT result FROM table_1342149_24 WHERE district = "Mississippi 2"
{ "answer": "SELECT result FROM table_1342149_24 WHERE district = \"Mississippi 2\"", "context": "CREATE TABLE table_1342149_24 (result VARCHAR, district VARCHAR)", "question": "Name the result for mississippi 2" }
### QUESTION What was the city for the winner Darren Hossack at the circuit of phillip island grand prix circuit? ### CONTEXT CREATE TABLE table_name_45 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) ### ANSWER SELECT city___state FROM table_name_45 WHERE winner = "darren hossack" AND circuit = "phillip island grand prix circuit"
{ "answer": "SELECT city___state FROM table_name_45 WHERE winner = \"darren hossack\" AND circuit = \"phillip island grand prix circuit\"", "context": "CREATE TABLE table_name_45 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)", "question": "What was the city for the winner Darren Hossack at the circuit of phillip island grand prix circuit?" }
### QUESTION Can you tell me the Lost that has Losing BP of 5, and the Try BP of 0? ### CONTEXT CREATE TABLE table_name_65 (lost VARCHAR, losing_bp VARCHAR, try_bp VARCHAR) ### ANSWER SELECT lost FROM table_name_65 WHERE losing_bp = "5" AND try_bp = "0"
{ "answer": "SELECT lost FROM table_name_65 WHERE losing_bp = \"5\" AND try_bp = \"0\"", "context": "CREATE TABLE table_name_65 (lost VARCHAR, losing_bp VARCHAR, try_bp VARCHAR)", "question": "Can you tell me the Lost that has Losing BP of 5, and the Try BP of 0?" }
### QUESTION What is Melbourne's home venue? ### CONTEXT CREATE TABLE table_name_32 (venue VARCHAR, home_team VARCHAR) ### ANSWER SELECT venue FROM table_name_32 WHERE home_team = "melbourne"
{ "answer": "SELECT venue FROM table_name_32 WHERE home_team = \"melbourne\"", "context": "CREATE TABLE table_name_32 (venue VARCHAR, home_team VARCHAR)", "question": "What is Melbourne's home venue?" }
### QUESTION Who created One Night in Lisbon in 1941? ### CONTEXT CREATE TABLE table_name_78 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, date VARCHAR, title VARCHAR) ### ANSWER SELECT theatre, _studio, _or_network FROM table_name_78 WHERE date = "1941" AND title = "one night in lisbon"
{ "answer": "SELECT theatre, _studio, _or_network FROM table_name_78 WHERE date = \"1941\" AND title = \"one night in lisbon\"", "context": "CREATE TABLE table_name_78 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, date VARCHAR, title VARCHAR)", "question": "Who created One Night in Lisbon in 1941?" }
### QUESTION What language is telemarket for you? ### CONTEXT CREATE TABLE table_name_3 (language VARCHAR, television_service VARCHAR) ### ANSWER SELECT language FROM table_name_3 WHERE television_service = "telemarket for you"
{ "answer": "SELECT language FROM table_name_3 WHERE television_service = \"telemarket for you\"", "context": "CREATE TABLE table_name_3 (language VARCHAR, television_service VARCHAR)", "question": "What language is telemarket for you?" }
### QUESTION What is the smallest Weight, when Spike is less than 330, when Block is 315, and when Height is greater than 187? ### CONTEXT CREATE TABLE table_name_78 (weight INTEGER, height VARCHAR, spike VARCHAR, block VARCHAR) ### ANSWER SELECT MIN(weight) FROM table_name_78 WHERE spike < 330 AND block = 315 AND height > 187
{ "answer": "SELECT MIN(weight) FROM table_name_78 WHERE spike < 330 AND block = 315 AND height > 187", "context": "CREATE TABLE table_name_78 (weight INTEGER, height VARCHAR, spike VARCHAR, block VARCHAR)", "question": "What is the smallest Weight, when Spike is less than 330, when Block is 315, and when Height is greater than 187?" }
### QUESTION What activities does Clear Channel Entertainment Facilitation Limited engage in? ### CONTEXT CREATE TABLE table_1756264_2 (description_of_activities VARCHAR, company_name VARCHAR) ### ANSWER SELECT description_of_activities FROM table_1756264_2 WHERE company_name = "CLEAR CHANNEL ENTERTAINMENT FACILITATION LIMITED"
{ "answer": "SELECT description_of_activities FROM table_1756264_2 WHERE company_name = \"CLEAR CHANNEL ENTERTAINMENT FACILITATION LIMITED\"", "context": "CREATE TABLE table_1756264_2 (description_of_activities VARCHAR, company_name VARCHAR)", "question": "What activities does Clear Channel Entertainment Facilitation Limited engage in?" }
### QUESTION What was the entrant in round 16 were Ferrari was the constructor? ### CONTEXT CREATE TABLE table_name_70 (entrant VARCHAR, rounds VARCHAR, constructor VARCHAR) ### ANSWER SELECT entrant FROM table_name_70 WHERE rounds = "16" AND constructor = "ferrari"
{ "answer": "SELECT entrant FROM table_name_70 WHERE rounds = \"16\" AND constructor = \"ferrari\"", "context": "CREATE TABLE table_name_70 (entrant VARCHAR, rounds VARCHAR, constructor VARCHAR)", "question": "What was the entrant in round 16 were Ferrari was the constructor?" }
### QUESTION Show all product names and the total quantity ordered for each product name. ### CONTEXT CREATE TABLE Products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE Order_items (product_quantity INTEGER, product_id VARCHAR) ### ANSWER SELECT T2.product_name, SUM(T1.product_quantity) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_name
{ "answer": "SELECT T2.product_name, SUM(T1.product_quantity) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_name", "context": "CREATE TABLE Products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE Order_items (product_quantity INTEGER, product_id VARCHAR)", "question": "Show all product names and the total quantity ordered for each product name." }
### QUESTION Who was the director of the episode written by Russell T Davies and James Moran? ### CONTEXT CREATE TABLE table_name_67 (director VARCHAR, writer VARCHAR) ### ANSWER SELECT director FROM table_name_67 WHERE writer = "russell t davies and james moran"
{ "answer": "SELECT director FROM table_name_67 WHERE writer = \"russell t davies and james moran\"", "context": "CREATE TABLE table_name_67 (director VARCHAR, writer VARCHAR)", "question": "Who was the director of the episode written by Russell T Davies and James Moran?" }
### QUESTION In what City/State did John Bowe win at Phillip Island Grand Prix Circuit? ### CONTEXT CREATE TABLE table_name_12 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) ### ANSWER SELECT city___state FROM table_name_12 WHERE winner = "john bowe" AND circuit = "phillip island grand prix circuit"
{ "answer": "SELECT city___state FROM table_name_12 WHERE winner = \"john bowe\" AND circuit = \"phillip island grand prix circuit\"", "context": "CREATE TABLE table_name_12 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)", "question": "In what City/State did John Bowe win at Phillip Island Grand Prix Circuit?" }
### QUESTION How many times is the nation china and bronze more than 0? ### CONTEXT CREATE TABLE table_name_4 (rank VARCHAR, nation VARCHAR, bronze VARCHAR) ### ANSWER SELECT COUNT(rank) FROM table_name_4 WHERE nation = "china" AND bronze > 0
{ "answer": "SELECT COUNT(rank) FROM table_name_4 WHERE nation = \"china\" AND bronze > 0", "context": "CREATE TABLE table_name_4 (rank VARCHAR, nation VARCHAR, bronze VARCHAR)", "question": "How many times is the nation china and bronze more than 0?" }
### QUESTION When Jean Alesi had laps less than 24, what was his highest grid? ### CONTEXT CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR, laps VARCHAR) ### ANSWER SELECT MAX(grid) FROM table_name_75 WHERE driver = "jean alesi" AND laps < 24
{ "answer": "SELECT MAX(grid) FROM table_name_75 WHERE driver = \"jean alesi\" AND laps < 24", "context": "CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR, laps VARCHAR)", "question": "When Jean Alesi had laps less than 24, what was his highest grid?" }
### QUESTION What was the lowest total number of horses that has a total cattle smaller than 6274.1, and a oxen smaller than 156.5, and a bulls of 40.0, and fewer than 3377 cows? ### CONTEXT CREATE TABLE table_name_65 (total_horses INTEGER, cows VARCHAR, bulls VARCHAR, total_cattle VARCHAR, oxen VARCHAR) ### ANSWER SELECT MIN(total_horses) FROM table_name_65 WHERE total_cattle < 6274.1 AND oxen < 156.5 AND bulls = "40.0" AND cows < 3377
{ "answer": "SELECT MIN(total_horses) FROM table_name_65 WHERE total_cattle < 6274.1 AND oxen < 156.5 AND bulls = \"40.0\" AND cows < 3377", "context": "CREATE TABLE table_name_65 (total_horses INTEGER, cows VARCHAR, bulls VARCHAR, total_cattle VARCHAR, oxen VARCHAR)", "question": "What was the lowest total number of horses that has a total cattle smaller than 6274.1, and a oxen smaller than 156.5, and a bulls of 40.0, and fewer than 3377 cows?" }
### QUESTION What is the average year Rich Beem had a to par less than 17? ### CONTEXT CREATE TABLE table_name_20 (year_won INTEGER, player VARCHAR, to_par VARCHAR) ### ANSWER SELECT AVG(year_won) FROM table_name_20 WHERE player = "rich beem" AND to_par < 17
{ "answer": "SELECT AVG(year_won) FROM table_name_20 WHERE player = \"rich beem\" AND to_par < 17", "context": "CREATE TABLE table_name_20 (year_won INTEGER, player VARCHAR, to_par VARCHAR)", "question": "What is the average year Rich Beem had a to par less than 17?" }
### QUESTION What are the wifi and screen mode type of the hardware model named "LG-P760"? ### CONTEXT CREATE TABLE phone (chip_model VARCHAR, screen_mode VARCHAR, Hardware_Model_name VARCHAR); CREATE TABLE chip_model (WiFi VARCHAR, Model_name VARCHAR); CREATE TABLE screen_mode (Type VARCHAR, Graphics_mode VARCHAR) ### ANSWER SELECT T1.WiFi, T3.Type FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.Graphics_mode WHERE T2.Hardware_Model_name = "LG-P760"
{ "answer": "SELECT T1.WiFi, T3.Type FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.Graphics_mode WHERE T2.Hardware_Model_name = \"LG-P760\"", "context": "CREATE TABLE phone (chip_model VARCHAR, screen_mode VARCHAR, Hardware_Model_name VARCHAR); CREATE TABLE chip_model (WiFi VARCHAR, Model_name VARCHAR); CREATE TABLE screen_mode (Type VARCHAR, Graphics_mode VARCHAR)", "question": "What are the wifi and screen mode type of the hardware model named \"LG-P760\"?" }
### QUESTION How many schools did darryl dawkins play for ### CONTEXT CREATE TABLE table_11545282_4 (school_club_team VARCHAR, player VARCHAR) ### ANSWER SELECT COUNT(school_club_team) FROM table_11545282_4 WHERE player = "Darryl Dawkins"
{ "answer": "SELECT COUNT(school_club_team) FROM table_11545282_4 WHERE player = \"Darryl Dawkins\"", "context": "CREATE TABLE table_11545282_4 (school_club_team VARCHAR, player VARCHAR)", "question": "How many schools did darryl dawkins play for" }
### QUESTION What is Opponent, when Attendance is 58,836? ### CONTEXT CREATE TABLE table_name_19 (opponent VARCHAR, attendance VARCHAR) ### ANSWER SELECT opponent FROM table_name_19 WHERE attendance = "58,836"
{ "answer": "SELECT opponent FROM table_name_19 WHERE attendance = \"58,836\"", "context": "CREATE TABLE table_name_19 (opponent VARCHAR, attendance VARCHAR)", "question": "What is Opponent, when Attendance is 58,836?" }
### QUESTION Which Decision has a Visitor of vancouver, and a Score of 5 – 4? ### CONTEXT CREATE TABLE table_name_4 (decision VARCHAR, visitor VARCHAR, score VARCHAR) ### ANSWER SELECT decision FROM table_name_4 WHERE visitor = "vancouver" AND score = "5 – 4"
{ "answer": "SELECT decision FROM table_name_4 WHERE visitor = \"vancouver\" AND score = \"5 – 4\"", "context": "CREATE TABLE table_name_4 (decision VARCHAR, visitor VARCHAR, score VARCHAR)", "question": "Which Decision has a Visitor of vancouver, and a Score of 5 – 4?" }
### QUESTION What are the ids of the movies that are not reviewed by Brittany Harris. ### CONTEXT CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Rating (mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR) ### ANSWER SELECT mID FROM Rating EXCEPT SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T2.name = "Brittany Harris"
{ "answer": "SELECT mID FROM Rating EXCEPT SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T2.name = \"Brittany Harris\"", "context": "CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Rating (mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)", "question": "What are the ids of the movies that are not reviewed by Brittany Harris." }
### QUESTION What is Postition, when Date of Birth (Age) is Example, and when Player is Mark Spencer? ### CONTEXT CREATE TABLE table_name_59 (position VARCHAR, date_of_birth__age_ VARCHAR, player VARCHAR) ### ANSWER SELECT position FROM table_name_59 WHERE date_of_birth__age_ = "example" AND player = "mark spencer"
{ "answer": "SELECT position FROM table_name_59 WHERE date_of_birth__age_ = \"example\" AND player = \"mark spencer\"", "context": "CREATE TABLE table_name_59 (position VARCHAR, date_of_birth__age_ VARCHAR, player VARCHAR)", "question": "What is Postition, when Date of Birth (Age) is Example, and when Player is Mark Spencer?" }
### QUESTION which is the maximun serie episode number when the millions of North American spectators is 3.14? ### CONTEXT CREATE TABLE table_22580855_1 (series_no INTEGER, us_viewers__millions_ VARCHAR) ### ANSWER SELECT MAX(series_no) FROM table_22580855_1 WHERE us_viewers__millions_ = "3.14"
{ "answer": "SELECT MAX(series_no) FROM table_22580855_1 WHERE us_viewers__millions_ = \"3.14\"", "context": "CREATE TABLE table_22580855_1 (series_no INTEGER, us_viewers__millions_ VARCHAR)", "question": "which is the maximun serie episode number when the millions of North American spectators is 3.14?" }
### QUESTION What are the template ids with template type description "Presentation". ### CONTEXT CREATE TABLE Templates (template_id VARCHAR, template_type_code VARCHAR); CREATE TABLE Ref_template_types (template_type_code VARCHAR, template_type_description VARCHAR) ### ANSWER SELECT T2.template_id FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code WHERE T1.template_type_description = "Presentation"
{ "answer": "SELECT T2.template_id FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code WHERE T1.template_type_description = \"Presentation\"", "context": "CREATE TABLE Templates (template_id VARCHAR, template_type_code VARCHAR); CREATE TABLE Ref_template_types (template_type_code VARCHAR, template_type_description VARCHAR)", "question": "What are the template ids with template type description \"Presentation\"." }
### QUESTION In what place did the player with a score of 66-67=133 come in? ### CONTEXT CREATE TABLE table_name_98 (place VARCHAR, score VARCHAR) ### ANSWER SELECT place FROM table_name_98 WHERE score = 66 - 67 = 133
{ "answer": "SELECT place FROM table_name_98 WHERE score = 66 - 67 = 133", "context": "CREATE TABLE table_name_98 (place VARCHAR, score VARCHAR)", "question": "In what place did the player with a score of 66-67=133 come in?" }
### QUESTION What is the smallest finish time for a race where start was less than 3, buick was the manufacturer, and the race was held after 1978? ### CONTEXT CREATE TABLE table_name_45 (finish INTEGER, start VARCHAR, year VARCHAR, manufacturer VARCHAR) ### ANSWER SELECT MIN(finish) FROM table_name_45 WHERE year > 1978 AND manufacturer = "buick" AND start < 3
{ "answer": "SELECT MIN(finish) FROM table_name_45 WHERE year > 1978 AND manufacturer = \"buick\" AND start < 3", "context": "CREATE TABLE table_name_45 (finish INTEGER, start VARCHAR, year VARCHAR, manufacturer VARCHAR)", "question": "What is the smallest finish time for a race where start was less than 3, buick was the manufacturer, and the race was held after 1978?" }
### QUESTION Show the distinct names of mountains climbed by climbers from country "West Germany". ### CONTEXT CREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Mountain_ID VARCHAR, Country VARCHAR) ### ANSWER SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = "West Germany"
{ "answer": "SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = \"West Germany\"", "context": "CREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Mountain_ID VARCHAR, Country VARCHAR)", "question": "Show the distinct names of mountains climbed by climbers from country \"West Germany\"." }
### QUESTION What are the names of the county that the delegates on "Appropriations" committee belong to? ### CONTEXT CREATE TABLE election (District VARCHAR, Committee VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR) ### ANSWER SELECT T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District WHERE T2.Committee = "Appropriations"
{ "answer": "SELECT T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District WHERE T2.Committee = \"Appropriations\"", "context": "CREATE TABLE election (District VARCHAR, Committee VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR)", "question": "What are the names of the county that the delegates on \"Appropriations\" committee belong to?" }
### QUESTION How many solar eclipse during august 21-22 and January 15-16 is 141? ### CONTEXT CREATE TABLE table_25287007_2 (august_21_22 VARCHAR, january_15_16 VARCHAR) ### ANSWER SELECT august_21_22 FROM table_25287007_2 WHERE january_15_16 = "141"
{ "answer": "SELECT august_21_22 FROM table_25287007_2 WHERE january_15_16 = \"141\"", "context": "CREATE TABLE table_25287007_2 (august_21_22 VARCHAR, january_15_16 VARCHAR)", "question": "How many solar eclipse during august 21-22 and January 15-16 is 141?" }
### QUESTION What is the result of men's doubles when there was no competition? ### CONTEXT CREATE TABLE table_14904221_1 (mixed_doubles VARCHAR, mens_doubles VARCHAR) ### ANSWER SELECT mixed_doubles FROM table_14904221_1 WHERE mens_doubles = "no competition"
{ "answer": "SELECT mixed_doubles FROM table_14904221_1 WHERE mens_doubles = \"no competition\"", "context": "CREATE TABLE table_14904221_1 (mixed_doubles VARCHAR, mens_doubles VARCHAR)", "question": "What is the result of men's doubles when there was no competition?" }
### QUESTION What is the lowest election that has cinisello balsamo as the municipality? ### CONTEXT CREATE TABLE table_name_4 (election INTEGER, municipality VARCHAR) ### ANSWER SELECT MIN(election) FROM table_name_4 WHERE municipality = "cinisello balsamo"
{ "answer": "SELECT MIN(election) FROM table_name_4 WHERE municipality = \"cinisello balsamo\"", "context": "CREATE TABLE table_name_4 (election INTEGER, municipality VARCHAR)", "question": "What is the lowest election that has cinisello balsamo as the municipality?" }
### QUESTION Show the description and code of the attraction type most tourist attractions belong to. ### CONTEXT CREATE TABLE Ref_Attraction_Types (Attraction_Type_Description VARCHAR, Attraction_Type_Code VARCHAR); CREATE TABLE Tourist_Attractions (Attraction_Type_Code VARCHAR) ### ANSWER SELECT T1.Attraction_Type_Description, T2.Attraction_Type_Code FROM Ref_Attraction_Types AS T1 JOIN Tourist_Attractions AS T2 ON T1.Attraction_Type_Code = T2.Attraction_Type_Code GROUP BY T2.Attraction_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.Attraction_Type_Description, T2.Attraction_Type_Code FROM Ref_Attraction_Types AS T1 JOIN Tourist_Attractions AS T2 ON T1.Attraction_Type_Code = T2.Attraction_Type_Code GROUP BY T2.Attraction_Type_Code ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Ref_Attraction_Types (Attraction_Type_Description VARCHAR, Attraction_Type_Code VARCHAR); CREATE TABLE Tourist_Attractions (Attraction_Type_Code VARCHAR)", "question": "Show the description and code of the attraction type most tourist attractions belong to." }
### QUESTION What is the name of team 1 that was after the 2005 season and with a 4-2 score? ### CONTEXT CREATE TABLE table_name_11 (team_1 VARCHAR, season VARCHAR, score VARCHAR) ### ANSWER SELECT team_1 FROM table_name_11 WHERE season > 2005 AND score = "4-2"
{ "answer": "SELECT team_1 FROM table_name_11 WHERE season > 2005 AND score = \"4-2\"", "context": "CREATE TABLE table_name_11 (team_1 VARCHAR, season VARCHAR, score VARCHAR)", "question": "What is the name of team 1 that was after the 2005 season and with a 4-2 score?" }
### QUESTION What is the greatest point of an Entrant of connaught engineering alta straight-4 engine before 1957 ### CONTEXT CREATE TABLE table_name_9 (points INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR) ### ANSWER SELECT MAX(points) FROM table_name_9 WHERE engine = "alta straight-4" AND entrant = "connaught engineering" AND year < 1957
{ "answer": "SELECT MAX(points) FROM table_name_9 WHERE engine = \"alta straight-4\" AND entrant = \"connaught engineering\" AND year < 1957", "context": "CREATE TABLE table_name_9 (points INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR)", "question": "What is the greatest point of an Entrant of connaught engineering alta straight-4 engine before 1957" }
### QUESTION What was the Attendance when the Home team was Montreal, on the Date of March 24? ### CONTEXT CREATE TABLE table_name_59 (attendance INTEGER, home VARCHAR, date VARCHAR) ### ANSWER SELECT SUM(attendance) FROM table_name_59 WHERE home = "montreal" AND date = "march 24"
{ "answer": "SELECT SUM(attendance) FROM table_name_59 WHERE home = \"montreal\" AND date = \"march 24\"", "context": "CREATE TABLE table_name_59 (attendance INTEGER, home VARCHAR, date VARCHAR)", "question": "What was the Attendance when the Home team was Montreal, on the Date of March 24?" }
### QUESTION What bike has an accident time, less than 9 laps, and a 5 grid? ### CONTEXT CREATE TABLE table_name_36 (bike VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR) ### ANSWER SELECT bike FROM table_name_36 WHERE time = "accident" AND laps < 9 AND grid = 5
{ "answer": "SELECT bike FROM table_name_36 WHERE time = \"accident\" AND laps < 9 AND grid = 5", "context": "CREATE TABLE table_name_36 (bike VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR)", "question": "What bike has an accident time, less than 9 laps, and a 5 grid?" }
### QUESTION What is the enrollment ratio in tertiary in the region where the enrollment ration in secondary is 71.43? ### CONTEXT CREATE TABLE table_25042332_22 (tertiary__18_24_years_ VARCHAR, secondary__14_17_years_ VARCHAR) ### ANSWER SELECT tertiary__18_24_years_ FROM table_25042332_22 WHERE secondary__14_17_years_ = "71.43"
{ "answer": "SELECT tertiary__18_24_years_ FROM table_25042332_22 WHERE secondary__14_17_years_ = \"71.43\"", "context": "CREATE TABLE table_25042332_22 (tertiary__18_24_years_ VARCHAR, secondary__14_17_years_ VARCHAR)", "question": "What is the enrollment ratio in tertiary in the region where the enrollment ration in secondary is 71.43?" }
### QUESTION Which Attendance has Mandalay Bay Resort ### CONTEXT CREATE TABLE table_name_75 (attendance VARCHAR, venue VARCHAR) ### ANSWER SELECT attendance FROM table_name_75 WHERE venue = "mandalay bay resort"
{ "answer": "SELECT attendance FROM table_name_75 WHERE venue = \"mandalay bay resort\"", "context": "CREATE TABLE table_name_75 (attendance VARCHAR, venue VARCHAR)", "question": "Which Attendance has Mandalay Bay Resort" }
### QUESTION What is average lesson price taught by staff with first name as Janessa and last name as Sawayn? ### CONTEXT CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR) ### ANSWER SELECT AVG(price) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn"
{ "answer": "SELECT AVG(price) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\"", "context": "CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR)", "question": "What is average lesson price taught by staff with first name as Janessa and last name as Sawayn?" }
### QUESTION Where did Test Mission: War Heads and Missile Payload launch when there was a partial failure? ### CONTEXT CREATE TABLE table_11869952_3 (launch_site VARCHAR, mission VARCHAR, results VARCHAR) ### ANSWER SELECT launch_site FROM table_11869952_3 WHERE mission = "Test mission: war heads and Missile payload" AND results = "Partial Failure"
{ "answer": "SELECT launch_site FROM table_11869952_3 WHERE mission = \"Test mission: war heads and Missile payload\" AND results = \"Partial Failure\"", "context": "CREATE TABLE table_11869952_3 (launch_site VARCHAR, mission VARCHAR, results VARCHAR)", "question": "Where did Test Mission: War Heads and Missile Payload launch when there was a partial failure?" }
### QUESTION How many prisons is Joan Leaven connected with? ### CONTEXT CREATE TABLE table_2933761_1 (prison_connection VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(prison_connection) FROM table_2933761_1 WHERE name = "Joan Leaven"
{ "answer": "SELECT COUNT(prison_connection) FROM table_2933761_1 WHERE name = \"Joan Leaven\"", "context": "CREATE TABLE table_2933761_1 (prison_connection VARCHAR, name VARCHAR)", "question": "How many prisons is Joan Leaven connected with?" }
### QUESTION Who answered the 20 questions on 10-07? ### CONTEXT CREATE TABLE table_1566852_8 (date VARCHAR) ### ANSWER SELECT 20 AS _questions FROM table_1566852_8 WHERE date = "10-07"
{ "answer": "SELECT 20 AS _questions FROM table_1566852_8 WHERE date = \"10-07\"", "context": "CREATE TABLE table_1566852_8 (date VARCHAR)", "question": "Who answered the 20 questions on 10-07?" }
### QUESTION What was the attendance for the game at groves stadium • winston-salem, nc with a result of L 0-14? ### CONTEXT CREATE TABLE table_name_86 (attendance VARCHAR, location VARCHAR, result VARCHAR) ### ANSWER SELECT COUNT(attendance) FROM table_name_86 WHERE location = "groves stadium • winston-salem, nc" AND result = "l 0-14"
{ "answer": "SELECT COUNT(attendance) FROM table_name_86 WHERE location = \"groves stadium • winston-salem, nc\" AND result = \"l 0-14\"", "context": "CREATE TABLE table_name_86 (attendance VARCHAR, location VARCHAR, result VARCHAR)", "question": "What was the attendance for the game at groves stadium • winston-salem, nc with a result of L 0-14?" }
### QUESTION Who had the fastest lap when the winning team was Tom's Racing? ### CONTEXT CREATE TABLE table_16670746_2 (fastest_lap VARCHAR, winning_team VARCHAR) ### ANSWER SELECT fastest_lap FROM table_16670746_2 WHERE winning_team = "TOM'S Racing"
{ "answer": "SELECT fastest_lap FROM table_16670746_2 WHERE winning_team = \"TOM'S Racing\"", "context": "CREATE TABLE table_16670746_2 (fastest_lap VARCHAR, winning_team VARCHAR)", "question": "Who had the fastest lap when the winning team was Tom's Racing?" }
### QUESTION What's the Württemberg for Karlsruher FV happening after 1931? ### CONTEXT CREATE TABLE table_name_51 (württemberg VARCHAR, baden VARCHAR, year VARCHAR) ### ANSWER SELECT württemberg FROM table_name_51 WHERE baden = "karlsruher fv" AND year > 1931
{ "answer": "SELECT württemberg FROM table_name_51 WHERE baden = \"karlsruher fv\" AND year > 1931", "context": "CREATE TABLE table_name_51 (württemberg VARCHAR, baden VARCHAR, year VARCHAR)", "question": "What's the Württemberg for Karlsruher FV happening after 1931?" }
### QUESTION Which papers have "Stephanie Weirich" 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 = "Stephanie" AND t1.lname = "Weirich"
{ "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 = \"Stephanie\" AND t1.lname = \"Weirich\"", "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": "Which papers have \"Stephanie Weirich\" as an author?" }
### QUESTION Who played the mathematics student? ### CONTEXT CREATE TABLE table_2933761_1 (played_by VARCHAR, occupation VARCHAR) ### ANSWER SELECT played_by FROM table_2933761_1 WHERE occupation = "Mathematics Student"
{ "answer": "SELECT played_by FROM table_2933761_1 WHERE occupation = \"Mathematics Student\"", "context": "CREATE TABLE table_2933761_1 (played_by VARCHAR, occupation VARCHAR)", "question": "Who played the mathematics student?" }
### QUESTION what is the highest lane number for johan wissman when the react is less than 0.242? ### CONTEXT CREATE TABLE table_name_48 (lane INTEGER, name VARCHAR, react VARCHAR) ### ANSWER SELECT MAX(lane) FROM table_name_48 WHERE name = "johan wissman" AND react < 0.242
{ "answer": "SELECT MAX(lane) FROM table_name_48 WHERE name = \"johan wissman\" AND react < 0.242", "context": "CREATE TABLE table_name_48 (lane INTEGER, name VARCHAR, react VARCHAR)", "question": "what is the highest lane number for johan wissman when the react is less than 0.242?" }
### QUESTION What type of disaster is rms atlantic categorized in that was located in Nova Scotia? ### CONTEXT CREATE TABLE table_name_62 (type VARCHAR, location VARCHAR, disaster VARCHAR) ### ANSWER SELECT type FROM table_name_62 WHERE location = "nova scotia" AND disaster = "rms atlantic"
{ "answer": "SELECT type FROM table_name_62 WHERE location = \"nova scotia\" AND disaster = \"rms atlantic\"", "context": "CREATE TABLE table_name_62 (type VARCHAR, location VARCHAR, disaster VARCHAR)", "question": "What type of disaster is rms atlantic categorized in that was located in Nova Scotia?" }
### QUESTION What report happened on 22 september? ### CONTEXT CREATE TABLE table_name_25 (report VARCHAR, date VARCHAR) ### ANSWER SELECT report FROM table_name_25 WHERE date = "22 september"
{ "answer": "SELECT report FROM table_name_25 WHERE date = \"22 september\"", "context": "CREATE TABLE table_name_25 (report VARCHAR, date VARCHAR)", "question": "What report happened on 22 september?" }
### QUESTION What is the average total 0 are nominated by the Taoiseach and the agricultural panel is greater than 5? ### CONTEXT CREATE TABLE table_name_38 (total INTEGER, nominated_by_the_taoiseach VARCHAR, agricultural_panel VARCHAR) ### ANSWER SELECT AVG(total) FROM table_name_38 WHERE nominated_by_the_taoiseach = 0 AND agricultural_panel > 5
{ "answer": "SELECT AVG(total) FROM table_name_38 WHERE nominated_by_the_taoiseach = 0 AND agricultural_panel > 5", "context": "CREATE TABLE table_name_38 (total INTEGER, nominated_by_the_taoiseach VARCHAR, agricultural_panel VARCHAR)", "question": "What is the average total 0 are nominated by the Taoiseach and the agricultural panel is greater than 5?" }
### QUESTION What was the result for the 2007 WCC when Sun Yue was the alternate? ### CONTEXT CREATE TABLE table_name_33 (result VARCHAR, alternate VARCHAR, event VARCHAR) ### ANSWER SELECT result FROM table_name_33 WHERE alternate = "sun yue" AND event = "2007 wcc"
{ "answer": "SELECT result FROM table_name_33 WHERE alternate = \"sun yue\" AND event = \"2007 wcc\"", "context": "CREATE TABLE table_name_33 (result VARCHAR, alternate VARCHAR, event VARCHAR)", "question": "What was the result for the 2007 WCC when Sun Yue was the alternate?" }
### QUESTION Which country had a rank smaller than 7 and a time of 1:43.189? ### CONTEXT CREATE TABLE table_name_81 (country VARCHAR, rank VARCHAR, time VARCHAR) ### ANSWER SELECT country FROM table_name_81 WHERE rank < 7 AND time = "1:43.189"
{ "answer": "SELECT country FROM table_name_81 WHERE rank < 7 AND time = \"1:43.189\"", "context": "CREATE TABLE table_name_81 (country VARCHAR, rank VARCHAR, time VARCHAR)", "question": "Which country had a rank smaller than 7 and a time of 1:43.189?" }
### QUESTION Name the M809 seris with M939 series of M931/932 ### CONTEXT CREATE TABLE table_name_88 (m809_series VARCHAR, m939_series VARCHAR) ### ANSWER SELECT m809_series FROM table_name_88 WHERE m939_series = "m931/932"
{ "answer": "SELECT m809_series FROM table_name_88 WHERE m939_series = \"m931/932\"", "context": "CREATE TABLE table_name_88 (m809_series VARCHAR, m939_series VARCHAR)", "question": "Name the M809 seris with M939 series of M931/932" }
### QUESTION What is the total Design flow (LPM) with a Partner of app, a Construction Start of 2008 january, and a Population Served larger than 3500? ### CONTEXT CREATE TABLE table_name_6 (design_flow__lpm_ INTEGER, population_served VARCHAR, partner VARCHAR, construction_start VARCHAR) ### ANSWER SELECT SUM(design_flow__lpm_) FROM table_name_6 WHERE partner = "app" AND construction_start = "2008 january" AND population_served > 3500
{ "answer": "SELECT SUM(design_flow__lpm_) FROM table_name_6 WHERE partner = \"app\" AND construction_start = \"2008 january\" AND population_served > 3500", "context": "CREATE TABLE table_name_6 (design_flow__lpm_ INTEGER, population_served VARCHAR, partner VARCHAR, construction_start VARCHAR)", "question": "What is the total Design flow (LPM) with a Partner of app, a Construction Start of 2008 january, and a Population Served larger than 3500?" }
### QUESTION What was the score at Bernardo O'Higgins Cup on May 7, 1961? ### CONTEXT CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR) ### ANSWER SELECT score FROM table_name_94 WHERE competition = "bernardo o'higgins cup" AND date = "may 7, 1961"
{ "answer": "SELECT score FROM table_name_94 WHERE competition = \"bernardo o'higgins cup\" AND date = \"may 7, 1961\"", "context": "CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR)", "question": "What was the score at Bernardo O'Higgins Cup on May 7, 1961?" }
### QUESTION Name the league for 1994 ### CONTEXT CREATE TABLE table_name_16 (league VARCHAR, year VARCHAR) ### ANSWER SELECT league FROM table_name_16 WHERE year = "1994"
{ "answer": "SELECT league FROM table_name_16 WHERE year = \"1994\"", "context": "CREATE TABLE table_name_16 (league VARCHAR, year VARCHAR)", "question": "Name the league for 1994" }
### QUESTION What is the tyre of nismo team member satoshi motoyama when he has rounds of all? ### CONTEXT CREATE TABLE table_name_55 (tyre VARCHAR, drivers VARCHAR, rounds VARCHAR, team VARCHAR) ### ANSWER SELECT tyre FROM table_name_55 WHERE rounds = "all" AND team = "nismo" AND drivers = "satoshi motoyama"
{ "answer": "SELECT tyre FROM table_name_55 WHERE rounds = \"all\" AND team = \"nismo\" AND drivers = \"satoshi motoyama\"", "context": "CREATE TABLE table_name_55 (tyre VARCHAR, drivers VARCHAR, rounds VARCHAR, team VARCHAR)", "question": "What is the tyre of nismo team member satoshi motoyama when he has rounds of all?" }
### QUESTION What are the order dates of orders with price higher than 1000? ### CONTEXT CREATE TABLE Products (Product_ID VARCHAR, Product_price INTEGER); CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Product_ID VARCHAR); CREATE TABLE Customer_Orders (Order_Date VARCHAR, Order_ID VARCHAR) ### ANSWER SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID JOIN Products AS T3 ON T2.Product_ID = T3.Product_ID WHERE T3.Product_price > 1000
{ "answer": "SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID JOIN Products AS T3 ON T2.Product_ID = T3.Product_ID WHERE T3.Product_price > 1000", "context": "CREATE TABLE Products (Product_ID VARCHAR, Product_price INTEGER); CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Product_ID VARCHAR); CREATE TABLE Customer_Orders (Order_Date VARCHAR, Order_ID VARCHAR)", "question": "What are the order dates of orders with price higher than 1000?" }
### QUESTION What is the project detail for the project with document "King Book"? ### CONTEXT CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR); CREATE TABLE Documents (project_id VARCHAR, document_name VARCHAR) ### ANSWER SELECT T1.project_details FROM Projects AS T1 JOIN Documents AS T2 ON T1.project_id = T2.project_id WHERE T2.document_name = "King Book"
{ "answer": "SELECT T1.project_details FROM Projects AS T1 JOIN Documents AS T2 ON T1.project_id = T2.project_id WHERE T2.document_name = \"King Book\"", "context": "CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR); CREATE TABLE Documents (project_id VARCHAR, document_name VARCHAR)", "question": "What is the project detail for the project with document \"King Book\"?" }
### QUESTION What is the region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009? ### CONTEXT CREATE TABLE table_240936_2 (region_1__can_ VARCHAR, region_2__uk_ VARCHAR) ### ANSWER SELECT region_1__can_ FROM table_240936_2 WHERE region_2__uk_ = "May 18, 2009"
{ "answer": "SELECT region_1__can_ FROM table_240936_2 WHERE region_2__uk_ = \"May 18, 2009\"", "context": "CREATE TABLE table_240936_2 (region_1__can_ VARCHAR, region_2__uk_ VARCHAR)", "question": "What is the region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009?" }
### QUESTION What is the lowest weight class (kg) that has sofia, bulgaria as the venue? ### CONTEXT CREATE TABLE table_name_73 (weight_class__kg_ INTEGER, venue VARCHAR) ### ANSWER SELECT MIN(weight_class__kg_) FROM table_name_73 WHERE venue = "sofia, bulgaria"
{ "answer": "SELECT MIN(weight_class__kg_) FROM table_name_73 WHERE venue = \"sofia, bulgaria\"", "context": "CREATE TABLE table_name_73 (weight_class__kg_ INTEGER, venue VARCHAR)", "question": "What is the lowest weight class (kg) that has sofia, bulgaria as the venue?" }
### QUESTION Show names of teachers and the courses they are arranged to teach. ### CONTEXT CREATE TABLE course_arrange (Course_ID VARCHAR, Teacher_ID VARCHAR); CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course (Course VARCHAR, Course_ID VARCHAR) ### ANSWER SELECT T3.Name, T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID
{ "answer": "SELECT T3.Name, T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID", "context": "CREATE TABLE course_arrange (Course_ID VARCHAR, Teacher_ID VARCHAR); CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course (Course VARCHAR, Course_ID VARCHAR)", "question": "Show names of teachers and the courses they are arranged to teach." }
### QUESTION Find the name of bank branch that provided the greatest total amount of loans. ### CONTEXT CREATE TABLE loan (branch_id VARCHAR, amount INTEGER); CREATE TABLE bank (bname VARCHAR, branch_id VARCHAR) ### ANSWER SELECT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id GROUP BY T1.bname ORDER BY SUM(T2.amount) DESC LIMIT 1
{ "answer": "SELECT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id GROUP BY T1.bname ORDER BY SUM(T2.amount) DESC LIMIT 1", "context": "CREATE TABLE loan (branch_id VARCHAR, amount INTEGER); CREATE TABLE bank (bname VARCHAR, branch_id VARCHAR)", "question": "Find the name of bank branch that provided the greatest total amount of loans." }
### QUESTION What is the Dismissals with a Venue with source: cricinfo.com? ### CONTEXT CREATE TABLE table_name_43 (dismissals VARCHAR, venue VARCHAR) ### ANSWER SELECT dismissals FROM table_name_43 WHERE venue = "source: cricinfo.com"
{ "answer": "SELECT dismissals FROM table_name_43 WHERE venue = \"source: cricinfo.com\"", "context": "CREATE TABLE table_name_43 (dismissals VARCHAR, venue VARCHAR)", "question": "What is the Dismissals with a Venue with source: cricinfo.com?" }
### QUESTION Who is the player when the economy is 6.14? ### CONTEXT CREATE TABLE table_28846752_9 (player VARCHAR, economy VARCHAR) ### ANSWER SELECT player FROM table_28846752_9 WHERE economy = "6.14"
{ "answer": "SELECT player FROM table_28846752_9 WHERE economy = \"6.14\"", "context": "CREATE TABLE table_28846752_9 (player VARCHAR, economy VARCHAR)", "question": "Who is the player when the economy is 6.14?" }
### QUESTION what is the average tries for the season 2008 warrington wolves with an appearance more than 7? ### CONTEXT CREATE TABLE table_name_55 (tries INTEGER, season VARCHAR, appearance VARCHAR) ### ANSWER SELECT AVG(tries) FROM table_name_55 WHERE season = "2008 warrington wolves" AND appearance > 7
{ "answer": "SELECT AVG(tries) FROM table_name_55 WHERE season = \"2008 warrington wolves\" AND appearance > 7", "context": "CREATE TABLE table_name_55 (tries INTEGER, season VARCHAR, appearance VARCHAR)", "question": "what is the average tries for the season 2008 warrington wolves with an appearance more than 7?" }
### QUESTION What is the Population of the Rural Community ### CONTEXT CREATE TABLE table_name_75 (population VARCHAR, status VARCHAR) ### ANSWER SELECT population FROM table_name_75 WHERE status = "rural community"
{ "answer": "SELECT population FROM table_name_75 WHERE status = \"rural community\"", "context": "CREATE TABLE table_name_75 (population VARCHAR, status VARCHAR)", "question": "What is the Population of the Rural Community" }