text
stringlengths
146
1.06k
source
dict
### QUESTION What is the Report of Winning Team Penske Racing, and what was Rick Mears' Pole position? ### CONTEXT CREATE TABLE table_name_68 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR) ### ANSWER SELECT report FROM table_name_68 WHERE winning_team = "penske racing" AND pole_position = "rick mears"
{ "answer": "SELECT report FROM table_name_68 WHERE winning_team = \"penske racing\" AND pole_position = \"rick mears\"", "context": "CREATE TABLE table_name_68 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR)", "question": "What is the Report of Winning Team Penske Racing, and what was Rick Mears' P...
### QUESTION What was the total number of matches that had an outcome of Winner, a partner of John Lloyd, and a clay surface? ### CONTEXT CREATE TABLE table_2151643_3 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR, partner VARCHAR) ### ANSWER SELECT COUNT(opponents) FROM table_2151643_3 WHERE outcome = "Winner"...
{ "answer": "SELECT COUNT(opponents) FROM table_2151643_3 WHERE outcome = \"Winner\" AND partner = \"John Lloyd\" AND surface = \"Clay\"", "context": "CREATE TABLE table_2151643_3 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR, partner VARCHAR)", "question": "What was the total number of matches that had an...
### QUESTION What label released a CD in 1988? ### CONTEXT CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR, format VARCHAR) ### ANSWER SELECT label FROM table_name_37 WHERE date = "1988" AND format = "cd"
{ "answer": "SELECT label FROM table_name_37 WHERE date = \"1988\" AND format = \"cd\"", "context": "CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR, format VARCHAR)", "question": "What label released a CD in 1988?" }
### QUESTION What was the event for round 1 against Lance Wipf? ### CONTEXT CREATE TABLE table_name_9 (event VARCHAR, round VARCHAR, opponent VARCHAR) ### ANSWER SELECT event FROM table_name_9 WHERE round = "1" AND opponent = "lance wipf"
{ "answer": "SELECT event FROM table_name_9 WHERE round = \"1\" AND opponent = \"lance wipf\"", "context": "CREATE TABLE table_name_9 (event VARCHAR, round VARCHAR, opponent VARCHAR)", "question": "What was the event for round 1 against Lance Wipf?" }
### QUESTION What is Status, when Newspaper/Magazine is Al-Thawra? ### CONTEXT CREATE TABLE table_name_24 (status VARCHAR, newspaper_magazine VARCHAR) ### ANSWER SELECT status FROM table_name_24 WHERE newspaper_magazine = "al-thawra"
{ "answer": "SELECT status FROM table_name_24 WHERE newspaper_magazine = \"al-thawra\"", "context": "CREATE TABLE table_name_24 (status VARCHAR, newspaper_magazine VARCHAR)", "question": "What is Status, when Newspaper/Magazine is Al-Thawra?" }
### QUESTION What is the Score, when the Country is United States, when the Place is T3, and when the Player is Chris Riley? ### CONTEXT CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) ### ANSWER SELECT score FROM table_name_38 WHERE country = "united states" AND place = "t3...
{ "answer": "SELECT score FROM table_name_38 WHERE country = \"united states\" AND place = \"t3\" AND player = \"chris riley\"", "context": "CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)", "question": "What is the Score, when the Country is United States, when the Plac...
### QUESTION Who constructed the car that Derek Warwick raced in with a TG181 chassis? ### CONTEXT CREATE TABLE table_name_20 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR) ### ANSWER SELECT constructor FROM table_name_20 WHERE chassis = "tg181" AND driver = "derek warwick"
{ "answer": "SELECT constructor FROM table_name_20 WHERE chassis = \"tg181\" AND driver = \"derek warwick\"", "context": "CREATE TABLE table_name_20 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)", "question": "Who constructed the car that Derek Warwick raced in with a TG181 chassis?" }
### QUESTION how many people are there whose weight is higher than 85 for each gender? ### CONTEXT CREATE TABLE people (sex VARCHAR, weight INTEGER) ### ANSWER SELECT COUNT(*), sex FROM people WHERE weight > 85 GROUP BY sex
{ "answer": "SELECT COUNT(*), sex FROM people WHERE weight > 85 GROUP BY sex", "context": "CREATE TABLE people (sex VARCHAR, weight INTEGER)", "question": "how many people are there whose weight is higher than 85 for each gender?" }
### QUESTION List the themes of parties in ascending order of number of hosts. ### CONTEXT CREATE TABLE party (Party_Theme VARCHAR, Number_of_hosts VARCHAR) ### ANSWER SELECT Party_Theme FROM party ORDER BY Number_of_hosts
{ "answer": "SELECT Party_Theme FROM party ORDER BY Number_of_hosts", "context": "CREATE TABLE party (Party_Theme VARCHAR, Number_of_hosts VARCHAR)", "question": "List the themes of parties in ascending order of number of hosts." }
### QUESTION What was the evening gown score for the woman who scored 7.600 (9) in her interview? ### CONTEXT CREATE TABLE table_16323766_3 (evening_gown VARCHAR, interview VARCHAR) ### ANSWER SELECT evening_gown FROM table_16323766_3 WHERE interview = "7.600 (9)"
{ "answer": "SELECT evening_gown FROM table_16323766_3 WHERE interview = \"7.600 (9)\"", "context": "CREATE TABLE table_16323766_3 (evening_gown VARCHAR, interview VARCHAR)", "question": "What was the evening gown score for the woman who scored 7.600 (9) in her interview?" }
### QUESTION List the name of the phone model launched in year 2002 and with the highest RAM size. ### CONTEXT CREATE TABLE chip_model (Model_name VARCHAR, Launch_year VARCHAR, RAM_MiB VARCHAR); CREATE TABLE phone (Hardware_Model_name VARCHAR, chip_model VARCHAR) ### ANSWER SELECT T2.Hardware_Model_name FROM chip_mod...
{ "answer": "SELECT T2.Hardware_Model_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T1.Launch_year = 2002 ORDER BY T1.RAM_MiB DESC LIMIT 1", "context": "CREATE TABLE chip_model (Model_name VARCHAR, Launch_year VARCHAR, RAM_MiB VARCHAR); CREATE TABLE phone (Hardware_Model_name VA...
### QUESTION Which Record has a Round larger than 2, and an Event of bellator 38? ### CONTEXT CREATE TABLE table_name_62 (record VARCHAR, round VARCHAR, event VARCHAR) ### ANSWER SELECT record FROM table_name_62 WHERE round > 2 AND event = "bellator 38"
{ "answer": "SELECT record FROM table_name_62 WHERE round > 2 AND event = \"bellator 38\"", "context": "CREATE TABLE table_name_62 (record VARCHAR, round VARCHAR, event VARCHAR)", "question": "Which Record has a Round larger than 2, and an Event of bellator 38?" }
### QUESTION How many winners have a runner-up of A. Karthikeyan? ### CONTEXT CREATE TABLE table_22753439_1 (winner VARCHAR, runner_up_a VARCHAR) ### ANSWER SELECT COUNT(winner) FROM table_22753439_1 WHERE runner_up_a = "A. Karthikeyan"
{ "answer": "SELECT COUNT(winner) FROM table_22753439_1 WHERE runner_up_a = \"A. Karthikeyan\"", "context": "CREATE TABLE table_22753439_1 (winner VARCHAR, runner_up_a VARCHAR)", "question": "How many winners have a runner-up of A. Karthikeyan?" }
### QUESTION Which publication happened in the UK? ### CONTEXT CREATE TABLE table_name_75 (publication VARCHAR, country VARCHAR) ### ANSWER SELECT publication FROM table_name_75 WHERE country = "uk"
{ "answer": "SELECT publication FROM table_name_75 WHERE country = \"uk\"", "context": "CREATE TABLE table_name_75 (publication VARCHAR, country VARCHAR)", "question": "Which publication happened in the UK?" }
### QUESTION On how many different dates did the episode directed by Marcos Siega and written by Scott Buck air for the first time? ### CONTEXT CREATE TABLE table_24132083_1 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) ### ANSWER SELECT COUNT(original_air_date) FROM table_24132083_1 WHERE dire...
{ "answer": "SELECT COUNT(original_air_date) FROM table_24132083_1 WHERE directed_by = \"Marcos Siega\" AND written_by = \"Scott Buck\"", "context": "CREATE TABLE table_24132083_1 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)", "question": "On how many different dates did the episode direct...
### QUESTION How many policies are listed for the customer named "Dayana Robel"? ### CONTEXT CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR) ### ANSWER SELECT COUNT(*) FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.c...
{ "answer": "SELECT COUNT(*) FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = \"Dayana Robel\"", "context": "CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR)", "question": "How m...
### QUESTION What was the missing for lieutenant general sir thomas picton? ### CONTEXT CREATE TABLE table_11793221_4 (missing VARCHAR, commander VARCHAR) ### ANSWER SELECT missing FROM table_11793221_4 WHERE commander = "Lieutenant General Sir Thomas Picton"
{ "answer": "SELECT missing FROM table_11793221_4 WHERE commander = \"Lieutenant General Sir Thomas Picton\"", "context": "CREATE TABLE table_11793221_4 (missing VARCHAR, commander VARCHAR)", "question": "What was the missing for lieutenant general sir thomas picton?" }
### QUESTION What is josé maría olazábal's country? ### CONTEXT CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR) ### ANSWER SELECT country FROM table_name_39 WHERE player = "josé maría olazábal"
{ "answer": "SELECT country FROM table_name_39 WHERE player = \"josé maría olazábal\"", "context": "CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR)", "question": "What is josé maría olazábal's country?" }
### QUESTION Show the distinct position of players from college UCLA or Duke. ### CONTEXT CREATE TABLE match_season (POSITION VARCHAR, College VARCHAR) ### ANSWER SELECT DISTINCT POSITION FROM match_season WHERE College = "UCLA" OR College = "Duke"
{ "answer": "SELECT DISTINCT POSITION FROM match_season WHERE College = \"UCLA\" OR College = \"Duke\"", "context": "CREATE TABLE match_season (POSITION VARCHAR, College VARCHAR)", "question": "Show the distinct position of players from college UCLA or Duke." }
### QUESTION What is the black caribbean population when the other black population is 2243? ### CONTEXT CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, other_black_population VARCHAR) ### ANSWER SELECT MAX(black_caribbean_population) FROM table_19149550_7 WHERE other_black_population = 2243
{ "answer": "SELECT MAX(black_caribbean_population) FROM table_19149550_7 WHERE other_black_population = 2243", "context": "CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, other_black_population VARCHAR)", "question": "What is the black caribbean population when the other black population is 22...
### QUESTION In the film Mrs. Miniver, what is the actresses name? ### CONTEXT CREATE TABLE table_18638067_1 (actor_actress VARCHAR, film_title_used_in_nomination VARCHAR) ### ANSWER SELECT actor_actress FROM table_18638067_1 WHERE film_title_used_in_nomination = "Mrs. Miniver"
{ "answer": "SELECT actor_actress FROM table_18638067_1 WHERE film_title_used_in_nomination = \"Mrs. Miniver\"", "context": "CREATE TABLE table_18638067_1 (actor_actress VARCHAR, film_title_used_in_nomination VARCHAR)", "question": "In the film Mrs. Miniver, what is the actresses name?" }
### QUESTION On what Date had a Score of 5-2 and a Loss of Greinke (1-2)? ### CONTEXT CREATE TABLE table_name_84 (date VARCHAR, score VARCHAR, loss VARCHAR) ### ANSWER SELECT date FROM table_name_84 WHERE score = "5-2" AND loss = "greinke (1-2)"
{ "answer": "SELECT date FROM table_name_84 WHERE score = \"5-2\" AND loss = \"greinke (1-2)\"", "context": "CREATE TABLE table_name_84 (date VARCHAR, score VARCHAR, loss VARCHAR)", "question": "On what Date had a Score of 5-2 and a Loss of Greinke (1-2)?" }
### QUESTION Find the name of customers who do not have a loan with a type of Mortgages. ### CONTEXT CREATE TABLE loan (cust_id VARCHAR, loan_type VARCHAR); CREATE TABLE customer (cust_name VARCHAR); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR) ### ANSWER SELECT cust_name FROM customer EXCEPT SELECT T1....
{ "answer": "SELECT cust_name FROM customer EXCEPT SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE T2.loan_type = 'Mortgages'", "context": "CREATE TABLE loan (cust_id VARCHAR, loan_type VARCHAR); CREATE TABLE customer (cust_name VARCHAR); CREATE TABLE customer (cust_name VAR...
### QUESTION What is the score for the away team when they played Hawthorn? ### CONTEXT CREATE TABLE table_name_46 (away_team VARCHAR, home_team VARCHAR) ### ANSWER SELECT away_team AS score FROM table_name_46 WHERE home_team = "hawthorn"
{ "answer": "SELECT away_team AS score FROM table_name_46 WHERE home_team = \"hawthorn\"", "context": "CREATE TABLE table_name_46 (away_team VARCHAR, home_team VARCHAR)", "question": "What is the score for the away team when they played Hawthorn?" }
### QUESTION What round did he win rof 29: aftershock in? ### CONTEXT CREATE TABLE table_name_3 (round VARCHAR, res VARCHAR, event VARCHAR) ### ANSWER SELECT round FROM table_name_3 WHERE res = "win" AND event = "rof 29: aftershock"
{ "answer": "SELECT round FROM table_name_3 WHERE res = \"win\" AND event = \"rof 29: aftershock\"", "context": "CREATE TABLE table_name_3 (round VARCHAR, res VARCHAR, event VARCHAR)", "question": "What round did he win rof 29: aftershock in?" }
### QUESTION What date has new england patriots as the opponent? ### CONTEXT CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR) ### ANSWER SELECT date FROM table_name_26 WHERE opponent = "new england patriots"
{ "answer": "SELECT date FROM table_name_26 WHERE opponent = \"new england patriots\"", "context": "CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR)", "question": "What date has new england patriots as the opponent?" }
### QUESTION What is the preliminaries of the contestant with a swimsuit less than 8.948 and an interview of 8.997? ### CONTEXT CREATE TABLE table_name_99 (preliminaries VARCHAR, swimsuit VARCHAR, interview VARCHAR) ### ANSWER SELECT preliminaries FROM table_name_99 WHERE swimsuit < 8.948 AND interview = 8.997
{ "answer": "SELECT preliminaries FROM table_name_99 WHERE swimsuit < 8.948 AND interview = 8.997", "context": "CREATE TABLE table_name_99 (preliminaries VARCHAR, swimsuit VARCHAR, interview VARCHAR)", "question": "What is the preliminaries of the contestant with a swimsuit less than 8.948 and an interview of 8.9...
### QUESTION Name the total number of african record ### CONTEXT CREATE TABLE table_23619492_3 (paula_radcliffe___gbr__ VARCHAR, world_record VARCHAR) ### ANSWER SELECT COUNT(paula_radcliffe___gbr__) FROM table_23619492_3 WHERE world_record = "African record"
{ "answer": "SELECT COUNT(paula_radcliffe___gbr__) FROM table_23619492_3 WHERE world_record = \"African record\"", "context": "CREATE TABLE table_23619492_3 (paula_radcliffe___gbr__ VARCHAR, world_record VARCHAR)", "question": "Name the total number of african record" }
### QUESTION How many losses did the golden rivers of ultima have when wins were less than 12 and byes larger than 2? ### CONTEXT CREATE TABLE table_name_43 (losses VARCHAR, byes VARCHAR, wins VARCHAR, golden_rivers VARCHAR) ### ANSWER SELECT COUNT(losses) FROM table_name_43 WHERE wins < 12 AND golden_rivers = "ultim...
{ "answer": "SELECT COUNT(losses) FROM table_name_43 WHERE wins < 12 AND golden_rivers = \"ultima\" AND byes > 2", "context": "CREATE TABLE table_name_43 (losses VARCHAR, byes VARCHAR, wins VARCHAR, golden_rivers VARCHAR)", "question": "How many losses did the golden rivers of ultima have when wins were less than...
### QUESTION What is the Set 2 with a Total with 45–12? ### CONTEXT CREATE TABLE table_name_42 (set_2 VARCHAR, total VARCHAR) ### ANSWER SELECT set_2 FROM table_name_42 WHERE total = "45–12"
{ "answer": "SELECT set_2 FROM table_name_42 WHERE total = \"45–12\"", "context": "CREATE TABLE table_name_42 (set_2 VARCHAR, total VARCHAR)", "question": "What is the Set 2 with a Total with 45–12?" }
### QUESTION Tell me the score on 1978-12-16 ### CONTEXT CREATE TABLE table_name_91 (score VARCHAR, date VARCHAR) ### ANSWER SELECT score FROM table_name_91 WHERE date = "1978-12-16"
{ "answer": "SELECT score FROM table_name_91 WHERE date = \"1978-12-16\"", "context": "CREATE TABLE table_name_91 (score VARCHAR, date VARCHAR)", "question": "Tell me the score on 1978-12-16" }
### QUESTION who directed the episode that have 0.25 million u.s viewers ### CONTEXT CREATE TABLE table_29803475_3 (directed_by VARCHAR, us_viewers__million_ VARCHAR) ### ANSWER SELECT directed_by FROM table_29803475_3 WHERE us_viewers__million_ = "0.25"
{ "answer": "SELECT directed_by FROM table_29803475_3 WHERE us_viewers__million_ = \"0.25\"", "context": "CREATE TABLE table_29803475_3 (directed_by VARCHAR, us_viewers__million_ VARCHAR)", "question": "who directed the episode that have 0.25 million u.s viewers" }
### QUESTION Find the distinct details of invoices which are created before 1989-09-03 or after 2007-12-25. ### CONTEXT CREATE TABLE invoices (invoice_details VARCHAR, invoice_date VARCHAR) ### ANSWER SELECT DISTINCT invoice_details FROM invoices WHERE invoice_date < "1989-09-03" OR invoice_date > "2007-12-25"
{ "answer": "SELECT DISTINCT invoice_details FROM invoices WHERE invoice_date < \"1989-09-03\" OR invoice_date > \"2007-12-25\"", "context": "CREATE TABLE invoices (invoice_details VARCHAR, invoice_date VARCHAR)", "question": "Find the distinct details of invoices which are created before 1989-09-03 or after 2007...
### QUESTION What is Case Suffix (Case), when English Meaning is "to Georgia, in Georgia"? ### CONTEXT CREATE TABLE table_name_54 (case_suffix__case_ VARCHAR, english_meaning VARCHAR) ### ANSWER SELECT case_suffix__case_ FROM table_name_54 WHERE english_meaning = "to georgia, in georgia"
{ "answer": "SELECT case_suffix__case_ FROM table_name_54 WHERE english_meaning = \"to georgia, in georgia\"", "context": "CREATE TABLE table_name_54 (case_suffix__case_ VARCHAR, english_meaning VARCHAR)", "question": "What is Case Suffix (Case), when English Meaning is \"to Georgia, in Georgia\"?" }
### QUESTION Find the abbreviation and country of the airline that has fewest number of flights? ### CONTEXT CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Abbreviation VARCHAR, Country VARCHAR, Airline VARCHAR, uid VARCHAR) ### ANSWER SELECT T1.Abbreviation, T1.Country FROM AIRLINES AS T1 JOIN FLIGHT...
{ "answer": "SELECT T1.Abbreviation, T1.Country FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY COUNT(*) LIMIT 1", "context": "CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Abbreviation VARCHAR, Country VARCHAR, Airline VARCHAR, uid VARCHAR)", "question"...
### QUESTION What is the name of the team with round less than 2, and the nationality is the United States? ### CONTEXT CREATE TABLE table_name_25 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR) ### ANSWER SELECT college_junior_club_team__league_ FROM table_name_25 WHERE round < 2 AND ...
{ "answer": "SELECT college_junior_club_team__league_ FROM table_name_25 WHERE round < 2 AND nationality = \"united states\"", "context": "CREATE TABLE table_name_25 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)", "question": "What is the name of the team with round less than 2, ...
### QUESTION How many rebounds have a Player of andre gaddy, and a Rank smaller than 6? ### CONTEXT CREATE TABLE table_name_5 (total_rebounds VARCHAR, player VARCHAR, rank VARCHAR) ### ANSWER SELECT COUNT(total_rebounds) FROM table_name_5 WHERE player = "andre gaddy" AND rank < 6
{ "answer": "SELECT COUNT(total_rebounds) FROM table_name_5 WHERE player = \"andre gaddy\" AND rank < 6", "context": "CREATE TABLE table_name_5 (total_rebounds VARCHAR, player VARCHAR, rank VARCHAR)", "question": "How many rebounds have a Player of andre gaddy, and a Rank smaller than 6?" }
### QUESTION Who is listed under womens singles when year location is 1998 doha? ### CONTEXT CREATE TABLE table_28138035_27 (womens_singles VARCHAR, year_location VARCHAR) ### ANSWER SELECT womens_singles FROM table_28138035_27 WHERE year_location = "1998 Doha"
{ "answer": "SELECT womens_singles FROM table_28138035_27 WHERE year_location = \"1998 Doha\"", "context": "CREATE TABLE table_28138035_27 (womens_singles VARCHAR, year_location VARCHAR)", "question": "Who is listed under womens singles when year location is 1998 doha?" }
### QUESTION How many schools are named otafuku tholi? ### CONTEXT CREATE TABLE table_16799784_4 (year_named VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(year_named) FROM table_16799784_4 WHERE name = "Otafuku Tholi"
{ "answer": "SELECT COUNT(year_named) FROM table_16799784_4 WHERE name = \"Otafuku Tholi\"", "context": "CREATE TABLE table_16799784_4 (year_named VARCHAR, name VARCHAR)", "question": "How many schools are named otafuku tholi?" }
### QUESTION what is the district where the vacator is vacant? ### CONTEXT CREATE TABLE table_2192067_4 (district VARCHAR, vacator VARCHAR) ### ANSWER SELECT district FROM table_2192067_4 WHERE vacator = "Vacant"
{ "answer": "SELECT district FROM table_2192067_4 WHERE vacator = \"Vacant\"", "context": "CREATE TABLE table_2192067_4 (district VARCHAR, vacator VARCHAR)", "question": "what is the district where the vacator is vacant?" }
### QUESTION What is the rank when time is 11.15 and lane is bigger than 7 with notes Q, PB? ### CONTEXT CREATE TABLE table_name_76 (rank INTEGER, lane VARCHAR, notes VARCHAR, time___sec__ VARCHAR) ### ANSWER SELECT SUM(rank) FROM table_name_76 WHERE notes = "q, pb" AND time___sec__ = 11.15 AND lane > 7
{ "answer": "SELECT SUM(rank) FROM table_name_76 WHERE notes = \"q, pb\" AND time___sec__ = 11.15 AND lane > 7", "context": "CREATE TABLE table_name_76 (rank INTEGER, lane VARCHAR, notes VARCHAR, time___sec__ VARCHAR)", "question": "What is the rank when time is 11.15 and lane is bigger than 7 with notes Q, PB?" ...
### QUESTION What year at the US Open Cup quarterfinals, were the playoffs in the semifinals for the USL second division? ### CONTEXT CREATE TABLE table_1939202_2 (year VARCHAR, us_open_cup VARCHAR, league VARCHAR, playoffs VARCHAR) ### ANSWER SELECT year FROM table_1939202_2 WHERE league = "USL Second division" AND ...
{ "answer": "SELECT year FROM table_1939202_2 WHERE league = \"USL Second division\" AND playoffs = \"Semifinals\" AND us_open_cup = \"Quarterfinals\"", "context": "CREATE TABLE table_1939202_2 (year VARCHAR, us_open_cup VARCHAR, league VARCHAR, playoffs VARCHAR)", "question": "What year at the US Open Cup quarte...
### QUESTION What was the name of the competition that had Peterborough Phantoms as an opponent and a date of 2? ### CONTEXT CREATE TABLE table_name_26 (competition VARCHAR, opponent VARCHAR, date VARCHAR) ### ANSWER SELECT competition FROM table_name_26 WHERE opponent = "peterborough phantoms" AND date = 2
{ "answer": "SELECT competition FROM table_name_26 WHERE opponent = \"peterborough phantoms\" AND date = 2", "context": "CREATE TABLE table_name_26 (competition VARCHAR, opponent VARCHAR, date VARCHAR)", "question": "What was the name of the competition that had Peterborough Phantoms as an opponent and a date of ...
### QUESTION Which Best Film has a Best Supporting Actress of shamaine buencamino for niño? ### CONTEXT CREATE TABLE table_name_42 (best_film VARCHAR, best_supporting_actress VARCHAR) ### ANSWER SELECT best_film FROM table_name_42 WHERE best_supporting_actress = "shamaine buencamino for niño"
{ "answer": "SELECT best_film FROM table_name_42 WHERE best_supporting_actress = \"shamaine buencamino for niño\"", "context": "CREATE TABLE table_name_42 (best_film VARCHAR, best_supporting_actress VARCHAR)", "question": "Which Best Film has a Best Supporting Actress of shamaine buencamino for niño?" }
### QUESTION Name the location for abraham baldwin agricultural college ### CONTEXT CREATE TABLE table_16734640_1 (location VARCHAR, institution VARCHAR) ### ANSWER SELECT location FROM table_16734640_1 WHERE institution = "Abraham Baldwin Agricultural College"
{ "answer": "SELECT location FROM table_16734640_1 WHERE institution = \"Abraham Baldwin Agricultural College\"", "context": "CREATE TABLE table_16734640_1 (location VARCHAR, institution VARCHAR)", "question": "Name the location for abraham baldwin agricultural college" }
### QUESTION What was the Result F–A on 21 February 2009, when the league position was 1st? ### CONTEXT CREATE TABLE table_name_55 (result_f_a VARCHAR, league_position VARCHAR, date VARCHAR) ### ANSWER SELECT result_f_a FROM table_name_55 WHERE league_position = "1st" AND date = "21 february 2009"
{ "answer": "SELECT result_f_a FROM table_name_55 WHERE league_position = \"1st\" AND date = \"21 february 2009\"", "context": "CREATE TABLE table_name_55 (result_f_a VARCHAR, league_position VARCHAR, date VARCHAR)", "question": "What was the Result F–A on 21 February 2009, when the league position was 1st?" }
### QUESTION Find the name of the products that have the color description "red" and have the characteristic name "fast". ### CONTEXT CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (pr...
{ "answer": "SELECT product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = \"red\" AND t3.characteristic_name = \"...
### QUESTION Which Film has a Result of nominated, and a Year of 2001? ### CONTEXT CREATE TABLE table_name_67 (film VARCHAR, result VARCHAR, year VARCHAR) ### ANSWER SELECT film FROM table_name_67 WHERE result = "nominated" AND year = 2001
{ "answer": "SELECT film FROM table_name_67 WHERE result = \"nominated\" AND year = 2001", "context": "CREATE TABLE table_name_67 (film VARCHAR, result VARCHAR, year VARCHAR)", "question": "Which Film has a Result of nominated, and a Year of 2001?" }
### QUESTION What is Winning Driver, when Fastest Lap is Ryan Hunter-Reay, and when Most Laps Led is Ryan Briscoe? ### CONTEXT CREATE TABLE table_name_7 (winning_driver VARCHAR, fastest_lap VARCHAR, most_laps_led VARCHAR) ### ANSWER SELECT winning_driver FROM table_name_7 WHERE fastest_lap = "ryan hunter-reay" AND mo...
{ "answer": "SELECT winning_driver FROM table_name_7 WHERE fastest_lap = \"ryan hunter-reay\" AND most_laps_led = \"ryan briscoe\"", "context": "CREATE TABLE table_name_7 (winning_driver VARCHAR, fastest_lap VARCHAR, most_laps_led VARCHAR)", "question": "What is Winning Driver, when Fastest Lap is Ryan Hunter-Rea...
### QUESTION Which Site that has a Sex and other data of old male? ### CONTEXT CREATE TABLE table_name_42 (site INTEGER, sex_and_other_data VARCHAR) ### ANSWER SELECT MAX(site) FROM table_name_42 WHERE sex_and_other_data = "old male"
{ "answer": "SELECT MAX(site) FROM table_name_42 WHERE sex_and_other_data = \"old male\"", "context": "CREATE TABLE table_name_42 (site INTEGER, sex_and_other_data VARCHAR)", "question": "Which Site that has a Sex and other data of old male?" }
### QUESTION What is the name of the opponent at the Herceg Novi tournament? ### CONTEXT CREATE TABLE table_name_54 (opponent VARCHAR, tournament VARCHAR) ### ANSWER SELECT opponent FROM table_name_54 WHERE tournament = "herceg novi"
{ "answer": "SELECT opponent FROM table_name_54 WHERE tournament = \"herceg novi\"", "context": "CREATE TABLE table_name_54 (opponent VARCHAR, tournament VARCHAR)", "question": "What is the name of the opponent at the Herceg Novi tournament?" }
### QUESTION When +18.1 is the ± yes side 2008 percentage what is the percentage of against? ### CONTEXT CREATE TABLE table_20683381_3 (against___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR) ### ANSWER SELECT against___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+18.1"
{ "answer": "SELECT against___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = \"+18.1\"", "context": "CREATE TABLE table_20683381_3 (against___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR)", "question": "When +18.1 is the ± yes side 2008 percentage what is the percentage of a...
### QUESTION Name the sex ratio lowest for population 4773138 ### CONTEXT CREATE TABLE table_231623_3 (sex_ratio INTEGER, population VARCHAR) ### ANSWER SELECT MAX(sex_ratio) FROM table_231623_3 WHERE population = 4773138
{ "answer": "SELECT MAX(sex_ratio) FROM table_231623_3 WHERE population = 4773138", "context": "CREATE TABLE table_231623_3 (sex_ratio INTEGER, population VARCHAR)", "question": "Name the sex ratio lowest for population 4773138" }
### QUESTION What is the 2nd leg of the Internacional Team 1? ### CONTEXT CREATE TABLE table_name_48 (team_1 VARCHAR) ### ANSWER SELECT 2 AS nd_leg FROM table_name_48 WHERE team_1 = "internacional"
{ "answer": "SELECT 2 AS nd_leg FROM table_name_48 WHERE team_1 = \"internacional\"", "context": "CREATE TABLE table_name_48 (team_1 VARCHAR)", "question": "What is the 2nd leg of the Internacional Team 1?" }
### QUESTION How many tries for did the club with a 3 losing bonus and 45 points have? ### CONTEXT CREATE TABLE table_name_12 (tries_for VARCHAR, losing_bonus VARCHAR, points VARCHAR) ### ANSWER SELECT tries_for FROM table_name_12 WHERE losing_bonus = "3" AND points = "45"
{ "answer": "SELECT tries_for FROM table_name_12 WHERE losing_bonus = \"3\" AND points = \"45\"", "context": "CREATE TABLE table_name_12 (tries_for VARCHAR, losing_bonus VARCHAR, points VARCHAR)", "question": "How many tries for did the club with a 3 losing bonus and 45 points have?" }
### QUESTION What is the lowest FA Cup Goals, when Total Goals is greater than 0, when League Goals is "4", when FA Cup Apps is "1", and when League Cup Goals is greater than 0? ### CONTEXT CREATE TABLE table_name_10 (fa_cup_goals INTEGER, league_cup_goals VARCHAR, fa_cup_apps VARCHAR, total_goals VARCHAR, league_goal...
{ "answer": "SELECT MIN(fa_cup_goals) FROM table_name_10 WHERE total_goals > 0 AND league_goals = 4 AND fa_cup_apps = \"1\" AND league_cup_goals > 0", "context": "CREATE TABLE table_name_10 (fa_cup_goals INTEGER, league_cup_goals VARCHAR, fa_cup_apps VARCHAR, total_goals VARCHAR, league_goals VARCHAR)", "question...
### QUESTION When the position in 2012-23 is 4th, second division what is the club? ### CONTEXT CREATE TABLE table_name_27 (club VARCHAR, position_in_2012_13 VARCHAR) ### ANSWER SELECT club FROM table_name_27 WHERE position_in_2012_13 = "4th, second division"
{ "answer": "SELECT club FROM table_name_27 WHERE position_in_2012_13 = \"4th, second division\"", "context": "CREATE TABLE table_name_27 (club VARCHAR, position_in_2012_13 VARCHAR)", "question": "When the position in 2012-23 is 4th, second division what is the club?" }
### QUESTION What is the probable future word for the simple present/future word high grade? ### CONTEXT CREATE TABLE table_name_82 (probable_future VARCHAR, simple_present_future VARCHAR) ### ANSWER SELECT probable_future FROM table_name_82 WHERE NOT simple_present_future = "high grade"
{ "answer": "SELECT probable_future FROM table_name_82 WHERE NOT simple_present_future = \"high grade\"", "context": "CREATE TABLE table_name_82 (probable_future VARCHAR, simple_present_future VARCHAR)", "question": "What is the probable future word for the simple present/future word high grade?" }
### QUESTION how many primary payload(s) with shuttle being columbia and duration being 13 days, 19 hours, 30 minutes, 4 seconds ### CONTEXT CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, shuttle VARCHAR, duration VARCHAR) ### ANSWER SELECT COUNT(primary_payload_s_) FROM table_14118521_1 WHERE shuttle = ...
{ "answer": "SELECT COUNT(primary_payload_s_) FROM table_14118521_1 WHERE shuttle = \"Columbia\" AND duration = \"13 days, 19 hours, 30 minutes, 4 seconds\"", "context": "CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, shuttle VARCHAR, duration VARCHAR)", "question": " how many primary payload(s) with ...
### QUESTION What is zip code of customer with first name as Carole and last name as Bernhard? ### CONTEXT CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR); CREATE TABLE Customers (customer_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR) ### ANSWER SELECT T2.zip_postcode FROM Customers AS ...
{ "answer": "SELECT T2.zip_postcode FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = \"Carole\" AND T1.last_name = \"Bernhard\"", "context": "CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR); CREATE TABLE Customers (customer_address_id VARCHA...
### QUESTION What are the date of ceremony of music festivals with category "Best Song" and result "Awarded"? ### CONTEXT CREATE TABLE music_festival (Date_of_ceremony VARCHAR, Category VARCHAR, RESULT VARCHAR) ### ANSWER SELECT Date_of_ceremony FROM music_festival WHERE Category = "Best Song" AND RESULT = "Awarded"
{ "answer": "SELECT Date_of_ceremony FROM music_festival WHERE Category = \"Best Song\" AND RESULT = \"Awarded\"", "context": "CREATE TABLE music_festival (Date_of_ceremony VARCHAR, Category VARCHAR, RESULT VARCHAR)", "question": "What are the date of ceremony of music festivals with category \"Best Song\" and re...
### QUESTION who is the driver for the car constructed by ferrari with a time/retired of +1:06.683? ### CONTEXT CREATE TABLE table_name_43 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR) ### ANSWER SELECT driver FROM table_name_43 WHERE constructor = "ferrari" AND time_retired = "+1:06.683"
{ "answer": "SELECT driver FROM table_name_43 WHERE constructor = \"ferrari\" AND time_retired = \"+1:06.683\"", "context": "CREATE TABLE table_name_43 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR)", "question": "who is the driver for the car constructed by ferrari with a time/retired of +1:06.683?"...
### QUESTION Find the first name of the students who permanently live in the country Haiti or have the cell phone number 09700166582 . ### CONTEXT CREATE TABLE students (first_name VARCHAR, permanent_address_id VARCHAR, cell_mobile_number VARCHAR); CREATE TABLE addresses (address_id VARCHAR, country VARCHAR) ### ANSW...
{ "answer": "SELECT t1.first_name FROM students AS t1 JOIN addresses AS t2 ON t1.permanent_address_id = t2.address_id WHERE t2.country = 'haiti' OR t1.cell_mobile_number = '09700166582'", "context": "CREATE TABLE students (first_name VARCHAR, permanent_address_id VARCHAR, cell_mobile_number VARCHAR); CREATE TABLE a...
### QUESTION In what year did a car have a yamaha v12 engine and a brabham bt60y chassis ### CONTEXT CREATE TABLE table_name_70 (year VARCHAR, engine VARCHAR, chassis VARCHAR) ### ANSWER SELECT year FROM table_name_70 WHERE engine = "yamaha v12" AND chassis = "brabham bt60y"
{ "answer": "SELECT year FROM table_name_70 WHERE engine = \"yamaha v12\" AND chassis = \"brabham bt60y\"", "context": "CREATE TABLE table_name_70 (year VARCHAR, engine VARCHAR, chassis VARCHAR)", "question": "In what year did a car have a yamaha v12 engine and a brabham bt60y chassis" }
### QUESTION What is the composition at Valles lava dome? ### CONTEXT CREATE TABLE table_1081235_1 (composition VARCHAR, name_of_lava_dome VARCHAR) ### ANSWER SELECT composition FROM table_1081235_1 WHERE name_of_lava_dome = "Valles lava dome"
{ "answer": "SELECT composition FROM table_1081235_1 WHERE name_of_lava_dome = \"Valles lava dome\"", "context": "CREATE TABLE table_1081235_1 (composition VARCHAR, name_of_lava_dome VARCHAR)", "question": "What is the composition at Valles lava dome?" }
### QUESTION How many professionals did not operate any treatment on dogs? ### CONTEXT CREATE TABLE Professionals (professional_id VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR) ### ANSWER SELECT COUNT(*) FROM Professionals WHERE NOT professional_id IN (SELECT professional_id FROM Treatments)
{ "answer": "SELECT COUNT(*) FROM Professionals WHERE NOT professional_id IN (SELECT professional_id FROM Treatments)", "context": "CREATE TABLE Professionals (professional_id VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR)", "question": "How many professionals did not operate any treatment on dogs?" ...
### QUESTION How many points were scored by the player who played 363 games? ### CONTEXT CREATE TABLE table_name_86 (points VARCHAR, games VARCHAR) ### ANSWER SELECT points FROM table_name_86 WHERE games = "363"
{ "answer": "SELECT points FROM table_name_86 WHERE games = \"363\"", "context": "CREATE TABLE table_name_86 (points VARCHAR, games VARCHAR)", "question": "How many points were scored by the player who played 363 games?" }
### QUESTION If the episode was written by Tim Balme, what was the original air date? ### CONTEXT CREATE TABLE table_23114705_3 (original_air_date VARCHAR, written_by VARCHAR) ### ANSWER SELECT original_air_date FROM table_23114705_3 WHERE written_by = "Tim Balme"
{ "answer": "SELECT original_air_date FROM table_23114705_3 WHERE written_by = \"Tim Balme\"", "context": "CREATE TABLE table_23114705_3 (original_air_date VARCHAR, written_by VARCHAR)", "question": "If the episode was written by Tim Balme, what was the original air date?" }
### QUESTION What is the make of the car that won the brazilian grand prix? ### CONTEXT CREATE TABLE table_1139087_2 (constructor VARCHAR, grand_prix VARCHAR) ### ANSWER SELECT constructor FROM table_1139087_2 WHERE grand_prix = "Brazilian grand_prix"
{ "answer": "SELECT constructor FROM table_1139087_2 WHERE grand_prix = \"Brazilian grand_prix\"", "context": "CREATE TABLE table_1139087_2 (constructor VARCHAR, grand_prix VARCHAR)", "question": "What is the make of the car that won the brazilian grand prix?" }
### QUESTION Which Assist/pass has a Score of 1-0,a Competition of 2010 concacaf world cup qualifying – group stage? ### CONTEXT CREATE TABLE table_name_14 (assist_pass VARCHAR, score VARCHAR, competition VARCHAR) ### ANSWER SELECT assist_pass FROM table_name_14 WHERE score = "1-0" AND competition = "2010 concacaf wo...
{ "answer": "SELECT assist_pass FROM table_name_14 WHERE score = \"1-0\" AND competition = \"2010 concacaf world cup qualifying – group stage\"", "context": "CREATE TABLE table_name_14 (assist_pass VARCHAR, score VARCHAR, competition VARCHAR)", "question": "Which Assist/pass has a Score of 1-0,a Competition of 20...
### QUESTION How many touchdowns did Albert Herrnstein make? ### CONTEXT CREATE TABLE table_14342210_14 (touchdowns__5_points_ VARCHAR, player VARCHAR) ### ANSWER SELECT touchdowns__5_points_ FROM table_14342210_14 WHERE player = "Albert Herrnstein"
{ "answer": "SELECT touchdowns__5_points_ FROM table_14342210_14 WHERE player = \"Albert Herrnstein\"", "context": "CREATE TABLE table_14342210_14 (touchdowns__5_points_ VARCHAR, player VARCHAR)", "question": "How many touchdowns did Albert Herrnstein make?" }
### QUESTION Name the color analyst for terry bowden and 17.2 ### CONTEXT CREATE TABLE table_2724704_5 (color_analyst_s_ VARCHAR, studio_analyst_s_ VARCHAR, tv_rating VARCHAR) ### ANSWER SELECT color_analyst_s_ FROM table_2724704_5 WHERE studio_analyst_s_ = "Terry Bowden" AND tv_rating = "17.2"
{ "answer": "SELECT color_analyst_s_ FROM table_2724704_5 WHERE studio_analyst_s_ = \"Terry Bowden\" AND tv_rating = \"17.2\"", "context": "CREATE TABLE table_2724704_5 (color_analyst_s_ VARCHAR, studio_analyst_s_ VARCHAR, tv_rating VARCHAR)", "question": "Name the color analyst for terry bowden and 17.2" }
### QUESTION How many engineer visits are required at most for a single fault log? List the number and the log entry id. ### CONTEXT CREATE TABLE Fault_Log (fault_log_entry_id VARCHAR); CREATE TABLE Engineer_Visits (fault_log_entry_id VARCHAR) ### ANSWER SELECT COUNT(*), T1.fault_log_entry_id FROM Fault_Log AS T1 JOI...
{ "answer": "SELECT COUNT(*), T1.fault_log_entry_id FROM Fault_Log AS T1 JOIN Engineer_Visits AS T2 ON T1.fault_log_entry_id = T2.fault_log_entry_id GROUP BY T1.fault_log_entry_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Fault_Log (fault_log_entry_id VARCHAR); CREATE TABLE Engineer_Visits (fault_lo...
### QUESTION What is the name origin with a diameter of 220.0 kilometers? ### CONTEXT CREATE TABLE table_16799784_14 (name VARCHAR, diameter__km_ VARCHAR) ### ANSWER SELECT name AS origin FROM table_16799784_14 WHERE diameter__km_ = "220.0"
{ "answer": "SELECT name AS origin FROM table_16799784_14 WHERE diameter__km_ = \"220.0\"", "context": "CREATE TABLE table_16799784_14 (name VARCHAR, diameter__km_ VARCHAR)", "question": "What is the name origin with a diameter of 220.0 kilometers?" }
### QUESTION What are characteristic names used at least twice across all products? ### CONTEXT CREATE TABLE products (product_id VARCHAR); CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR) ### AN...
{ "answer": "SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id GROUP BY t3.characteristic_name HAVING COUNT(*) >= 2", "context": "CREATE TABLE products (product_id VARCHAR); ...
### QUESTION What is the total number of goals for entries that have more than 7 draws, 8 wins, and more than 5 losses? ### CONTEXT CREATE TABLE table_name_62 (goals_for VARCHAR, losses VARCHAR, draws VARCHAR, wins VARCHAR) ### ANSWER SELECT COUNT(goals_for) FROM table_name_62 WHERE draws > 7 AND wins > 8 AND losses ...
{ "answer": "SELECT COUNT(goals_for) FROM table_name_62 WHERE draws > 7 AND wins > 8 AND losses > 5", "context": "CREATE TABLE table_name_62 (goals_for VARCHAR, losses VARCHAR, draws VARCHAR, wins VARCHAR)", "question": "What is the total number of goals for entries that have more than 7 draws, 8 wins, and more t...
### QUESTION What is the lowest Cycle, when Number Of Contestants is 11, and when International Destinations is Paris Gran Canaria? ### CONTEXT CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, international_destinations VARCHAR) ### ANSWER SELECT MIN(cycle) FROM table_name_57 WHERE number_of_...
{ "answer": "SELECT MIN(cycle) FROM table_name_57 WHERE number_of_contestants = \"11\" AND international_destinations = \"paris gran canaria\"", "context": "CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, international_destinations VARCHAR)", "question": "What is the lowest Cycle, when N...
### QUESTION List the hardware model name and company name for the phone whose screen mode type is "Graphics." ### CONTEXT CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, Type VARCHAR) ### ANSWER SELECT T2.Hardware_Model_nam...
{ "answer": "SELECT T2.Hardware_Model_name, T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type = \"Graphics\"", "context": "CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VAR...
### QUESTION How many silver medals when the bronze is more than 2 and having a rank more than 5? ### CONTEXT CREATE TABLE table_name_89 (silver INTEGER, rank VARCHAR, bronze VARCHAR) ### ANSWER SELECT MAX(silver) FROM table_name_89 WHERE rank > 5 AND bronze > 2
{ "answer": "SELECT MAX(silver) FROM table_name_89 WHERE rank > 5 AND bronze > 2", "context": "CREATE TABLE table_name_89 (silver INTEGER, rank VARCHAR, bronze VARCHAR)", "question": "How many silver medals when the bronze is more than 2 and having a rank more than 5?" }
### QUESTION Find the average age of the students who have allergies with food and animal types. ### CONTEXT CREATE TABLE Student (age INTEGER, StuID VARCHAR); CREATE TABLE Allergy_Type (Allergy VARCHAR, allergytype VARCHAR); CREATE TABLE Has_allergy (StuID VARCHAR, Allergy VARCHAR) ### ANSWER SELECT AVG(age) FROM St...
{ "answer": "SELECT AVG(age) FROM Student WHERE StuID IN (SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = \"food\" INTERSECT SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = \"animal\")", ...
### QUESTION Show the names of phones and the districts of markets they are on, in ascending order of the ranking of the market. ### CONTEXT CREATE TABLE market (District VARCHAR, Market_ID VARCHAR, Ranking VARCHAR); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR); CREATE TABLE phone_market (Market_ID VARCHAR, Pho...
{ "answer": "SELECT T3.Name, T2.District FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID ORDER BY T2.Ranking", "context": "CREATE TABLE market (District VARCHAR, Market_ID VARCHAR, Ranking VARCHAR); CREATE TABLE phone (Name VARCHAR, Phone_ID VAR...
### QUESTION Which mlb team is located in maryland? ### CONTEXT CREATE TABLE table_name_95 (team VARCHAR, state_province VARCHAR, league VARCHAR) ### ANSWER SELECT team FROM table_name_95 WHERE state_province = "maryland" AND league = "mlb"
{ "answer": "SELECT team FROM table_name_95 WHERE state_province = \"maryland\" AND league = \"mlb\"", "context": "CREATE TABLE table_name_95 (team VARCHAR, state_province VARCHAR, league VARCHAR)", "question": "Which mlb team is located in maryland?" }
### QUESTION Who called the race in 1978? ### CONTEXT CREATE TABLE table_22583466_5 (race_caller VARCHAR, year VARCHAR) ### ANSWER SELECT race_caller FROM table_22583466_5 WHERE year = 1978
{ "answer": "SELECT race_caller FROM table_22583466_5 WHERE year = 1978", "context": "CREATE TABLE table_22583466_5 (race_caller VARCHAR, year VARCHAR)", "question": "Who called the race in 1978?" }
### QUESTION Which team played on April 1? ### CONTEXT CREATE TABLE table_13619053_9 (team VARCHAR, date VARCHAR) ### ANSWER SELECT team FROM table_13619053_9 WHERE date = "April 1"
{ "answer": "SELECT team FROM table_13619053_9 WHERE date = \"April 1\"", "context": "CREATE TABLE table_13619053_9 (team VARCHAR, date VARCHAR)", "question": "Which team played on April 1?" }
### QUESTION Name the total number of districts for rob teplitz ### CONTEXT CREATE TABLE table_1979619_3 (district VARCHAR, representative VARCHAR) ### ANSWER SELECT COUNT(district) FROM table_1979619_3 WHERE representative = "Rob Teplitz"
{ "answer": "SELECT COUNT(district) FROM table_1979619_3 WHERE representative = \"Rob Teplitz\"", "context": "CREATE TABLE table_1979619_3 (district VARCHAR, representative VARCHAR)", "question": "Name the total number of districts for rob teplitz" }
### QUESTION What is the highest number when there were more than 50 long and less than 762 yards? ### CONTEXT CREATE TABLE table_name_81 (number INTEGER, long VARCHAR, yards VARCHAR) ### ANSWER SELECT MAX(number) FROM table_name_81 WHERE long > 50 AND yards < 762
{ "answer": "SELECT MAX(number) FROM table_name_81 WHERE long > 50 AND yards < 762", "context": "CREATE TABLE table_name_81 (number INTEGER, long VARCHAR, yards VARCHAR)", "question": "What is the highest number when there were more than 50 long and less than 762 yards?" }
### QUESTION Show the names of journalists and the names of the events they reported in ascending order ### CONTEXT CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR); CREATE TABLE event (Name VARCHAR, Event_ID VARCHAR, Event_Attendance VAR...
{ "answer": "SELECT T3.Name, T2.Name FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_ID ORDER BY T2.Event_Attendance", "context": "CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Event_ID VARCHAR,...
### QUESTION How many 5K wins did Emily Chebet, who had more than 2 total, have? ### CONTEXT ### ANSWER SELECT COUNT(*) AS '5k wins' FROM table_name_80 WHERE runner = "emily chebet" AND total > 2
{ "answer": "SELECT COUNT(*) AS '5k wins' FROM table_name_80 WHERE runner = \"emily chebet\" AND total > 2", "context": "", "question": "How many 5K wins did Emily Chebet, who had more than 2 total, have?" }
### QUESTION What is the location of the Durfee Mill No. 1, built before 1872 ? ### CONTEXT CREATE TABLE table_name_7 (location VARCHAR, built VARCHAR, name VARCHAR) ### ANSWER SELECT location FROM table_name_7 WHERE built < 1872 AND name = "durfee mill no. 1"
{ "answer": "SELECT location FROM table_name_7 WHERE built < 1872 AND name = \"durfee mill no. 1\"", "context": "CREATE TABLE table_name_7 (location VARCHAR, built VARCHAR, name VARCHAR)", "question": "What is the location of the Durfee Mill No. 1, built before 1872 ?" }
### QUESTION Which 2008 club has the name Francesca Piccinini Category:Articles with hCards? ### CONTEXT CREATE TABLE table_name_71 (name VARCHAR) ### ANSWER SELECT 2008 AS _club FROM table_name_71 WHERE name = "francesca piccinini category:articles with hcards"
{ "answer": "SELECT 2008 AS _club FROM table_name_71 WHERE name = \"francesca piccinini category:articles with hcards\"", "context": "CREATE TABLE table_name_71 (name VARCHAR)", "question": "Which 2008 club has the name Francesca Piccinini Category:Articles with hCards?" }
### QUESTION What was the reason for change to the successor that was seated on December 13, 1880? ### CONTEXT CREATE TABLE table_2417395_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR) ### ANSWER SELECT reason_for_change FROM table_2417395_4 WHERE date_successor_seated = "December 13, 1880"
{ "answer": "SELECT reason_for_change FROM table_2417395_4 WHERE date_successor_seated = \"December 13, 1880\"", "context": "CREATE TABLE table_2417395_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR)", "question": "What was the reason for change to the successor that was seated on December 13, 1880?"...
### QUESTION Show the apartment type codes and the corresponding number of apartments sorted by the number of apartments in ascending order. ### CONTEXT CREATE TABLE Apartments (apt_type_code VARCHAR) ### ANSWER SELECT apt_type_code, COUNT(*) FROM Apartments GROUP BY apt_type_code ORDER BY COUNT(*)
{ "answer": "SELECT apt_type_code, COUNT(*) FROM Apartments GROUP BY apt_type_code ORDER BY COUNT(*)", "context": "CREATE TABLE Apartments (apt_type_code VARCHAR)", "question": "Show the apartment type codes and the corresponding number of apartments sorted by the number of apartments in ascending order." }
### QUESTION How many points did the bills score when their opponent had 14 ### CONTEXT CREATE TABLE table_16028459_2 (bills_points VARCHAR, opponents VARCHAR) ### ANSWER SELECT bills_points FROM table_16028459_2 WHERE opponents = 14
{ "answer": "SELECT bills_points FROM table_16028459_2 WHERE opponents = 14", "context": "CREATE TABLE table_16028459_2 (bills_points VARCHAR, opponents VARCHAR)", "question": "How many points did the bills score when their opponent had 14" }
### QUESTION Which Competition has a Venue of Seoul, and Result of 4-1? ### CONTEXT CREATE TABLE table_name_36 (competition VARCHAR, venue VARCHAR, result VARCHAR) ### ANSWER SELECT competition FROM table_name_36 WHERE venue = "seoul" AND result = "4-1"
{ "answer": "SELECT competition FROM table_name_36 WHERE venue = \"seoul\" AND result = \"4-1\"", "context": "CREATE TABLE table_name_36 (competition VARCHAR, venue VARCHAR, result VARCHAR)", "question": "Which Competition has a Venue of Seoul, and Result of 4-1?" }
### QUESTION How many entries are there for high rebounds when high points is inge – 19? ### CONTEXT CREATE TABLE table_30054758_3 (high_rebounds VARCHAR, high_points VARCHAR) ### ANSWER SELECT COUNT(high_rebounds) FROM table_30054758_3 WHERE high_points = "Inge – 19"
{ "answer": "SELECT COUNT(high_rebounds) FROM table_30054758_3 WHERE high_points = \"Inge – 19\"", "context": "CREATE TABLE table_30054758_3 (high_rebounds VARCHAR, high_points VARCHAR)", "question": "How many entries are there for high rebounds when high points is inge – 19?" }
### QUESTION What was the score of the game when the home was Atlanta? ### CONTEXT CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR) ### ANSWER SELECT score FROM table_name_99 WHERE home = "atlanta"
{ "answer": "SELECT score FROM table_name_99 WHERE home = \"atlanta\"", "context": "CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR)", "question": "What was the score of the game when the home was Atlanta?" }
### QUESTION On what date was Stauffer Chemical Company (Lemoyne Plant), which was listed on 09/21/1984, deleted? ### CONTEXT CREATE TABLE table_name_35 (deleted VARCHAR, listed VARCHAR, name VARCHAR) ### ANSWER SELECT deleted FROM table_name_35 WHERE listed = "09/21/1984" AND name = "stauffer chemical company (lemoy...
{ "answer": "SELECT deleted FROM table_name_35 WHERE listed = \"09/21/1984\" AND name = \"stauffer chemical company (lemoyne plant)\"", "context": "CREATE TABLE table_name_35 (deleted VARCHAR, listed VARCHAR, name VARCHAR)", "question": "On what date was Stauffer Chemical Company (Lemoyne Plant), which was listed...
### QUESTION What is the smallest number of assists with 70 Pims and less than 19 goals? ### CONTEXT CREATE TABLE table_name_71 (assists INTEGER, pims VARCHAR, goals VARCHAR) ### ANSWER SELECT MIN(assists) FROM table_name_71 WHERE pims = 70 AND goals < 19
{ "answer": "SELECT MIN(assists) FROM table_name_71 WHERE pims = 70 AND goals < 19", "context": "CREATE TABLE table_name_71 (assists INTEGER, pims VARCHAR, goals VARCHAR)", "question": "What is the smallest number of assists with 70 Pims and less than 19 goals?" }
### QUESTION What is the smallest year when Ubisoft Montreal was the developer (s)? ### CONTEXT CREATE TABLE table_name_38 (year INTEGER, developer_s_ VARCHAR) ### ANSWER SELECT MIN(year) FROM table_name_38 WHERE developer_s_ = "ubisoft montreal"
{ "answer": "SELECT MIN(year) FROM table_name_38 WHERE developer_s_ = \"ubisoft montreal\"", "context": "CREATE TABLE table_name_38 (year INTEGER, developer_s_ VARCHAR)", "question": "What is the smallest year when Ubisoft Montreal was the developer (s)?" }
### QUESTION When by80607002529af is the part number and september 2009 is the release date what is the l2 cache? ### CONTEXT CREATE TABLE table_18823880_10 (l2_cache VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR) ### ANSWER SELECT l2_cache FROM table_18823880_10 WHERE release_date = "September 2009" AND part...
{ "answer": "SELECT l2_cache FROM table_18823880_10 WHERE release_date = \"September 2009\" AND part_number_s_ = \"BY80607002529AF\"", "context": "CREATE TABLE table_18823880_10 (l2_cache VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR)", "question": "When by80607002529af is the part number and september 20...