text
stringlengths
146
1.06k
source
dict
### QUESTION Name the melbourne for adelaide of no with auckland of yes and gold coast of yes ### CONTEXT CREATE TABLE table_name_49 (melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR, auckland VARCHAR) ### ANSWER SELECT melbourne FROM table_name_49 WHERE adelaide = "no" AND auckland = "yes" AND gold_coast = "n...
{ "answer": "SELECT melbourne FROM table_name_49 WHERE adelaide = \"no\" AND auckland = \"yes\" AND gold_coast = \"no\"", "context": "CREATE TABLE table_name_49 (melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR, auckland VARCHAR)", "question": "Name the melbourne for adelaide of no with auckland of yes and...
### QUESTION Which department has Guy-Dominique Kennel as president since 2008? ### CONTEXT CREATE TABLE table_name_54 (départment__or_collectivity_ VARCHAR, since VARCHAR, président VARCHAR) ### ANSWER SELECT départment__or_collectivity_ FROM table_name_54 WHERE since = 2008 AND président = "guy-dominique kennel"
{ "answer": "SELECT départment__or_collectivity_ FROM table_name_54 WHERE since = 2008 AND président = \"guy-dominique kennel\"", "context": "CREATE TABLE table_name_54 (départment__or_collectivity_ VARCHAR, since VARCHAR, président VARCHAR)", "question": "Which department has Guy-Dominique Kennel as president si...
### QUESTION Tell me the manner of departure for 3 january date of appointment ### CONTEXT CREATE TABLE table_name_1 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) ### ANSWER SELECT manner_of_departure FROM table_name_1 WHERE date_of_appointment = "3 january"
{ "answer": "SELECT manner_of_departure FROM table_name_1 WHERE date_of_appointment = \"3 january\"", "context": "CREATE TABLE table_name_1 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)", "question": "Tell me the manner of departure for 3 january date of appointment" }
### QUESTION What was the crowd when the VFL played Windy Hill? ### CONTEXT CREATE TABLE table_name_49 (crowd INTEGER, venue VARCHAR) ### ANSWER SELECT SUM(crowd) FROM table_name_49 WHERE venue = "windy hill"
{ "answer": "SELECT SUM(crowd) FROM table_name_49 WHERE venue = \"windy hill\"", "context": "CREATE TABLE table_name_49 (crowd INTEGER, venue VARCHAR)", "question": "What was the crowd when the VFL played Windy Hill?" }
### QUESTION What is the third entry in the row with a first entry of "club"? ### CONTEXT CREATE TABLE table_12792876_2 (won VARCHAR) ### ANSWER SELECT won FROM table_12792876_2 WHERE "club" = "club"
{ "answer": "SELECT won FROM table_12792876_2 WHERE \"club\" = \"club\"", "context": "CREATE TABLE table_12792876_2 (won VARCHAR)", "question": "What is the third entry in the row with a first entry of \"club\"?" }
### QUESTION How many students attend course English? ### CONTEXT CREATE TABLE student_course_attendance (course_id VARCHAR); CREATE TABLE courses (course_id VARCHAR, course_name VARCHAR) ### ANSWER SELECT COUNT(*) FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T1.course_...
{ "answer": "SELECT COUNT(*) FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = \"English\"", "context": "CREATE TABLE student_course_attendance (course_id VARCHAR); CREATE TABLE courses (course_id VARCHAR, course_name VARCHAR)", "question": "How many stu...
### QUESTION What is the democratic coalation when together we can do more is sergio castro ( pc )? ### CONTEXT CREATE TABLE table_2651755_1 (democratic_coalition VARCHAR, together_we_can_do_more VARCHAR) ### ANSWER SELECT democratic_coalition FROM table_2651755_1 WHERE together_we_can_do_more = "Sergio Castro ( PC )...
{ "answer": "SELECT democratic_coalition FROM table_2651755_1 WHERE together_we_can_do_more = \"Sergio Castro ( PC )\"", "context": "CREATE TABLE table_2651755_1 (democratic_coalition VARCHAR, together_we_can_do_more VARCHAR)", "question": "What is the democratic coalation when together we can do more is sergio c...
### QUESTION How many products have a price higher than the average? ### CONTEXT CREATE TABLE products (product_price INTEGER) ### ANSWER SELECT COUNT(*) FROM products WHERE product_price > (SELECT AVG(product_price) FROM products)
{ "answer": "SELECT COUNT(*) FROM products WHERE product_price > (SELECT AVG(product_price) FROM products)", "context": "CREATE TABLE products (product_price INTEGER)", "question": "How many products have a price higher than the average?" }
### QUESTION Tell me the name for commissioned of 30 august 1941 and laid down of 22 september 1939 ### CONTEXT CREATE TABLE table_name_73 (name VARCHAR, laid_down VARCHAR, commissioned VARCHAR) ### ANSWER SELECT name FROM table_name_73 WHERE laid_down = "22 september 1939" AND commissioned = "30 august 1941"
{ "answer": "SELECT name FROM table_name_73 WHERE laid_down = \"22 september 1939\" AND commissioned = \"30 august 1941\"", "context": "CREATE TABLE table_name_73 (name VARCHAR, laid_down VARCHAR, commissioned VARCHAR)", "question": "Tell me the name for commissioned of 30 august 1941 and laid down of 22 septembe...
### QUESTION Which overall pick was traded to the Cleveland Browns? ### CONTEXT CREATE TABLE table_10360823_1 (overall VARCHAR, college VARCHAR) ### ANSWER SELECT overall FROM table_10360823_1 WHERE college = "Traded to the Cleveland Browns"
{ "answer": "SELECT overall FROM table_10360823_1 WHERE college = \"Traded to the Cleveland Browns\"", "context": "CREATE TABLE table_10360823_1 (overall VARCHAR, college VARCHAR)", "question": "Which overall pick was traded to the Cleveland Browns?" }
### QUESTION Name the film title for wohin und zurück - welcome in vienna ### CONTEXT CREATE TABLE table_16255245_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) ### ANSWER SELECT film_title_used_in_nomination FROM table_16255245_1 WHERE original_title = "Wohin und zurück - Welcome in Vienna"
{ "answer": "SELECT film_title_used_in_nomination FROM table_16255245_1 WHERE original_title = \"Wohin und zurück - Welcome in Vienna\"", "context": "CREATE TABLE table_16255245_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)", "question": "Name the film title for wohin und zurück - welcome in v...
### QUESTION How many different values of total power are there for the unit whose construction started on 01.03.1977 and whose commercial operation started on 01.02.1984? ### CONTEXT CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_start VARCHAR, commercial_operation VARCHAR) ### ANSWER SELECT COUNT(...
{ "answer": "SELECT COUNT(total_power) FROM table_12983929_1 WHERE construction_start = \"01.03.1977\" AND commercial_operation = \"01.02.1984\"", "context": "CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_start VARCHAR, commercial_operation VARCHAR)", "question": "How many different values of t...
### QUESTION What is Martina Wood's Position? ### CONTEXT CREATE TABLE table_name_46 (position VARCHAR, name VARCHAR) ### ANSWER SELECT position FROM table_name_46 WHERE name = "martina wood"
{ "answer": "SELECT position FROM table_name_46 WHERE name = \"martina wood\"", "context": "CREATE TABLE table_name_46 (position VARCHAR, name VARCHAR)", "question": "What is Martina Wood's Position?" }
### QUESTION What is the Airline when the notes show aoc 135? ### CONTEXT CREATE TABLE table_name_51 (airline VARCHAR, notes VARCHAR) ### ANSWER SELECT airline FROM table_name_51 WHERE notes = "aoc 135"
{ "answer": "SELECT airline FROM table_name_51 WHERE notes = \"aoc 135\"", "context": "CREATE TABLE table_name_51 (airline VARCHAR, notes VARCHAR)", "question": "What is the Airline when the notes show aoc 135?" }
### QUESTION What is the flange thickness when the weight is 19.9? ### CONTEXT CREATE TABLE table_2071644_2 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR) ### ANSWER SELECT flange_thickness__mm_ FROM table_2071644_2 WHERE weight__kg_m_ = "19.9"
{ "answer": "SELECT flange_thickness__mm_ FROM table_2071644_2 WHERE weight__kg_m_ = \"19.9\"", "context": "CREATE TABLE table_2071644_2 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR)", "question": "What is the flange thickness when the weight is 19.9?" }
### QUESTION What is the average Pct value when state champions is less than 1, MRC Championships is 10, and co-champions are greater than 4? ### CONTEXT CREATE TABLE table_name_51 (pct INTEGER, co_champions VARCHAR, state_champions VARCHAR, mrc_championships VARCHAR) ### ANSWER SELECT AVG(pct) FROM table_name_51 WH...
{ "answer": "SELECT AVG(pct) FROM table_name_51 WHERE state_champions < 1 AND mrc_championships = 10 AND co_champions > 4", "context": "CREATE TABLE table_name_51 (pct INTEGER, co_champions VARCHAR, state_champions VARCHAR, mrc_championships VARCHAR)", "question": "What is the average Pct value when state champio...
### QUESTION Name the term in office for liberal and state of sa for ian mclachlan ### CONTEXT CREATE TABLE table_name_27 (term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR) ### ANSWER SELECT term_in_office FROM table_name_27 WHERE party = "liberal" AND state = "sa" AND member = "ian mclachlan"
{ "answer": "SELECT term_in_office FROM table_name_27 WHERE party = \"liberal\" AND state = \"sa\" AND member = \"ian mclachlan\"", "context": "CREATE TABLE table_name_27 (term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR)", "question": "Name the term in office for liberal and state of sa for i...
### QUESTION What is the least amount of failures with 1 launch and 0 partial failures? ### CONTEXT CREATE TABLE table_name_28 (failures INTEGER, launches VARCHAR, partial_failures VARCHAR) ### ANSWER SELECT MIN(failures) FROM table_name_28 WHERE launches = 1 AND partial_failures < 0
{ "answer": "SELECT MIN(failures) FROM table_name_28 WHERE launches = 1 AND partial_failures < 0", "context": "CREATE TABLE table_name_28 (failures INTEGER, launches VARCHAR, partial_failures VARCHAR)", "question": "What is the least amount of failures with 1 launch and 0 partial failures?" }
### QUESTION What is the losses for the 5 matches? ### CONTEXT CREATE TABLE table_name_40 (losses VARCHAR, matches VARCHAR) ### ANSWER SELECT losses FROM table_name_40 WHERE matches = "5"
{ "answer": "SELECT losses FROM table_name_40 WHERE matches = \"5\"", "context": "CREATE TABLE table_name_40 (losses VARCHAR, matches VARCHAR)", "question": "What is the losses for the 5 matches?" }
### QUESTION what is the attendance where the game site is kingdome? ### CONTEXT CREATE TABLE table_16729076_1 (attendance INTEGER, game_site VARCHAR) ### ANSWER SELECT MIN(attendance) FROM table_16729076_1 WHERE game_site = "Kingdome"
{ "answer": "SELECT MIN(attendance) FROM table_16729076_1 WHERE game_site = \"Kingdome\"", "context": "CREATE TABLE table_16729076_1 (attendance INTEGER, game_site VARCHAR)", "question": "what is the attendance where the game site is kingdome?" }
### QUESTION Who directed the episode that aired November 21, 2003? ### CONTEXT CREATE TABLE table_28859177_2 (directed_by VARCHAR, original_air_date VARCHAR) ### ANSWER SELECT directed_by FROM table_28859177_2 WHERE original_air_date = "November 21, 2003"
{ "answer": "SELECT directed_by FROM table_28859177_2 WHERE original_air_date = \"November 21, 2003\"", "context": "CREATE TABLE table_28859177_2 (directed_by VARCHAR, original_air_date VARCHAR)", "question": "Who directed the episode that aired November 21, 2003?" }
### QUESTION Which Scores by each individual judge has a Date performed of august 7, and a Main contestant of karanvir bohra? ### CONTEXT CREATE TABLE table_name_87 (scores_by_each_individual_judge VARCHAR, date_performed VARCHAR, main_contestant VARCHAR) ### ANSWER SELECT scores_by_each_individual_judge FROM table_n...
{ "answer": "SELECT scores_by_each_individual_judge FROM table_name_87 WHERE date_performed = \"august 7\" AND main_contestant = \"karanvir bohra\"", "context": "CREATE TABLE table_name_87 (scores_by_each_individual_judge VARCHAR, date_performed VARCHAR, main_contestant VARCHAR)", "question": "Which Scores by eac...
### QUESTION What is the channel code and contact number of the customer contact channel that was active for the longest time? ### CONTEXT CREATE TABLE customer_contact_channels (channel_code VARCHAR, contact_number VARCHAR, active_to_date VARCHAR, active_from_date VARCHAR) ### ANSWER SELECT channel_code, contact_num...
{ "answer": "SELECT channel_code, contact_number FROM customer_contact_channels WHERE active_to_date - active_from_date = (SELECT active_to_date - active_from_date FROM customer_contact_channels ORDER BY (active_to_date - active_from_date) DESC LIMIT 1)", "context": "CREATE TABLE customer_contact_channels (channel_...
### QUESTION How many of the Royal Waggon Train Unit were Missing while having a Killed of 0 off 0 men and a Wounded of 0 off 0 men? ### CONTEXT CREATE TABLE table_name_89 (missing VARCHAR, unit VARCHAR, killed VARCHAR, wounded VARCHAR) ### ANSWER SELECT missing FROM table_name_89 WHERE killed = "0 off 0 men" AND wou...
{ "answer": "SELECT missing FROM table_name_89 WHERE killed = \"0 off 0 men\" AND wounded = \"0 off 0 men\" AND unit = \"royal waggon train\"", "context": "CREATE TABLE table_name_89 (missing VARCHAR, unit VARCHAR, killed VARCHAR, wounded VARCHAR)", "question": "How many of the Royal Waggon Train Unit were Missin...
### QUESTION Which athlete performed before 1984 in an 800 m event? ### CONTEXT CREATE TABLE table_name_40 (athlete VARCHAR, year VARCHAR, event VARCHAR) ### ANSWER SELECT athlete FROM table_name_40 WHERE year < 1984 AND event = "800 m"
{ "answer": "SELECT athlete FROM table_name_40 WHERE year < 1984 AND event = \"800 m\"", "context": "CREATE TABLE table_name_40 (athlete VARCHAR, year VARCHAR, event VARCHAR)", "question": "Which athlete performed before 1984 in an 800 m event?" }
### QUESTION Name the game coast for chicago and north western ### CONTEXT CREATE TABLE table_243664_1 (game_cost VARCHAR, railroad VARCHAR) ### ANSWER SELECT game_cost FROM table_243664_1 WHERE railroad = "Chicago and North Western"
{ "answer": "SELECT game_cost FROM table_243664_1 WHERE railroad = \"Chicago and North Western\"", "context": "CREATE TABLE table_243664_1 (game_cost VARCHAR, railroad VARCHAR)", "question": "Name the game coast for chicago and north western" }
### QUESTION Name the Score which has a Partner of jorge lozano, an Outcome of runner-up, and Opponents in the final of udo riglewski michael stich? ### CONTEXT CREATE TABLE table_name_85 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, partner VARCHAR, outcome VARCHAR) ### ANSWER SELECT score_in_the_fina...
{ "answer": "SELECT score_in_the_final FROM table_name_85 WHERE partner = \"jorge lozano\" AND outcome = \"runner-up\" AND opponents_in_the_final = \"udo riglewski michael stich\"", "context": "CREATE TABLE table_name_85 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, partner VARCHAR, outcome VARCHAR)"...
### QUESTION who is the runner-up when the winning score is −16 (68-70-65-65=268)? ### CONTEXT CREATE TABLE table_name_26 (runner_up VARCHAR, winning_score VARCHAR) ### ANSWER SELECT runner_up FROM table_name_26 WHERE winning_score = −16(68 - 70 - 65 - 65 = 268)
{ "answer": "SELECT runner_up FROM table_name_26 WHERE winning_score = −16(68 - 70 - 65 - 65 = 268)", "context": "CREATE TABLE table_name_26 (runner_up VARCHAR, winning_score VARCHAR)", "question": "who is the runner-up when the winning score is −16 (68-70-65-65=268)?" }
### QUESTION What is the finishing time with a 2/1q finish on the Meadowlands track? ### CONTEXT CREATE TABLE table_name_10 (fin_time VARCHAR, finish VARCHAR, track VARCHAR) ### ANSWER SELECT fin_time FROM table_name_10 WHERE finish = "2/1q" AND track = "the meadowlands"
{ "answer": "SELECT fin_time FROM table_name_10 WHERE finish = \"2/1q\" AND track = \"the meadowlands\"", "context": "CREATE TABLE table_name_10 (fin_time VARCHAR, finish VARCHAR, track VARCHAR)", "question": "What is the finishing time with a 2/1q finish on the Meadowlands track?" }
### QUESTION What is the amount of renewable electricity without hydrogen power when the percentage of renewable energy is 83.4? ### CONTEXT CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw•h_ VARCHAR, _percentage_renewable VARCHAR) ### ANSWER SELECT renewable_electricity_w_o_hydro__gw•h_ FROM table...
{ "answer": "SELECT renewable_electricity_w_o_hydro__gw•h_ FROM table_25244412_1 WHERE _percentage_renewable = \"83.4\"", "context": "CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw•h_ VARCHAR, _percentage_renewable VARCHAR)", "question": "What is the amount of renewable electricity without hyd...
### QUESTION Which Score has a Couple of cristián & cheryl, and a Style of cha-cha-cha? ### CONTEXT CREATE TABLE table_name_7 (score VARCHAR, couple VARCHAR, style VARCHAR) ### ANSWER SELECT score FROM table_name_7 WHERE couple = "cristián & cheryl" AND style = "cha-cha-cha"
{ "answer": "SELECT score FROM table_name_7 WHERE couple = \"cristián & cheryl\" AND style = \"cha-cha-cha\"", "context": "CREATE TABLE table_name_7 (score VARCHAR, couple VARCHAR, style VARCHAR)", "question": "Which Score has a Couple of cristián & cheryl, and a Style of cha-cha-cha?" }
### QUESTION Who is the winner of the Florence to Genoa course? ### CONTEXT CREATE TABLE table_name_95 (winner VARCHAR, course VARCHAR) ### ANSWER SELECT winner FROM table_name_95 WHERE course = "florence to genoa"
{ "answer": "SELECT winner FROM table_name_95 WHERE course = \"florence to genoa\"", "context": "CREATE TABLE table_name_95 (winner VARCHAR, course VARCHAR)", "question": "Who is the winner of the Florence to Genoa course?" }
### QUESTION What is the average Loss for the long of more than 12 with a name of opponents with a Gain larger than 1751? ### CONTEXT CREATE TABLE table_name_26 (loss INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR) ### ANSWER SELECT AVG(loss) FROM table_name_26 WHERE long > 12 AND name = "opponents" AND gain > 175...
{ "answer": "SELECT AVG(loss) FROM table_name_26 WHERE long > 12 AND name = \"opponents\" AND gain > 1751", "context": "CREATE TABLE table_name_26 (loss INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR)", "question": "What is the average Loss for the long of more than 12 with a name of opponents with a Gain larg...
### QUESTION Which Points have a Performer of seán monaghan and a Draw smaller than 7? ### CONTEXT CREATE TABLE table_name_87 (points INTEGER, performer VARCHAR, draw VARCHAR) ### ANSWER SELECT MIN(points) FROM table_name_87 WHERE performer = "seán monaghan" AND draw < 7
{ "answer": "SELECT MIN(points) FROM table_name_87 WHERE performer = \"seán monaghan\" AND draw < 7", "context": "CREATE TABLE table_name_87 (points INTEGER, performer VARCHAR, draw VARCHAR)", "question": "Which Points have a Performer of seán monaghan and a Draw smaller than 7?" }
### QUESTION What Date performed has a Scores by each individual judge of 10 + 10 + 10 = 30, and a Main contestant of karanvir bohra? ### CONTEXT CREATE TABLE table_name_19 (date_performed VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR) ### ANSWER SELECT date_performed FROM table_name_19 WH...
{ "answer": "SELECT date_performed FROM table_name_19 WHERE scores_by_each_individual_judge = 10 + 10 + 10 = 30 AND main_contestant = \"karanvir bohra\"", "context": "CREATE TABLE table_name_19 (date_performed VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)", "question": "What Date perf...
### QUESTION List the order id, customer id for orders in Cancelled status, ordered by their order dates. ### CONTEXT CREATE TABLE customer_orders (order_id VARCHAR, customer_id VARCHAR, order_status_code VARCHAR, order_date VARCHAR) ### ANSWER SELECT order_id, customer_id FROM customer_orders WHERE order_status_code...
{ "answer": "SELECT order_id, customer_id FROM customer_orders WHERE order_status_code = \"Cancelled\" ORDER BY order_date", "context": "CREATE TABLE customer_orders (order_id VARCHAR, customer_id VARCHAR, order_status_code VARCHAR, order_date VARCHAR)", "question": "List the order id, customer id for orders in C...
### QUESTION Which Attendance has a Score of 0:2? ### CONTEXT CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR) ### ANSWER SELECT MAX(attendance) FROM table_name_29 WHERE score = "0:2"
{ "answer": "SELECT MAX(attendance) FROM table_name_29 WHERE score = \"0:2\"", "context": "CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR)", "question": "Which Attendance has a Score of 0:2?" }
### QUESTION Which League that has a Open Cup of 1st round, and a Year of 2009? ### CONTEXT CREATE TABLE table_name_99 (league VARCHAR, open_cup VARCHAR, year VARCHAR) ### ANSWER SELECT league FROM table_name_99 WHERE open_cup = "1st round" AND year = 2009
{ "answer": "SELECT league FROM table_name_99 WHERE open_cup = \"1st round\" AND year = 2009", "context": "CREATE TABLE table_name_99 (league VARCHAR, open_cup VARCHAR, year VARCHAR)", "question": "Which League that has a Open Cup of 1st round, and a Year of 2009?" }
### QUESTION What is the license award date for North East England? ### CONTEXT CREATE TABLE table_10712301_5 (licence_award_date VARCHAR, region VARCHAR) ### ANSWER SELECT licence_award_date FROM table_10712301_5 WHERE region = "North East England"
{ "answer": "SELECT licence_award_date FROM table_10712301_5 WHERE region = \"North East England\"", "context": "CREATE TABLE table_10712301_5 (licence_award_date VARCHAR, region VARCHAR)", "question": "What is the license award date for North East England?" }
### QUESTION What is the name of the Home team that played Fitzroy as the Away team? ### CONTEXT CREATE TABLE table_name_53 (home_team VARCHAR, away_team VARCHAR) ### ANSWER SELECT home_team FROM table_name_53 WHERE away_team = "fitzroy"
{ "answer": "SELECT home_team FROM table_name_53 WHERE away_team = \"fitzroy\"", "context": "CREATE TABLE table_name_53 (home_team VARCHAR, away_team VARCHAR)", "question": "What is the name of the Home team that played Fitzroy as the Away team?" }
### QUESTION What is every total for the University of the Cordilleras UC Dance Squad? ### CONTEXT CREATE TABLE table_21995420_6 (total VARCHAR, school VARCHAR) ### ANSWER SELECT total FROM table_21995420_6 WHERE school = "University of the Cordilleras UC Dance Squad"
{ "answer": "SELECT total FROM table_21995420_6 WHERE school = \"University of the Cordilleras UC Dance Squad\"", "context": "CREATE TABLE table_21995420_6 (total VARCHAR, school VARCHAR)", "question": "What is every total for the University of the Cordilleras UC Dance Squad?" }
### QUESTION What is the train number for the train name island express with a destination of kanniyakumari? ### CONTEXT CREATE TABLE table_29770377_1 (train_number VARCHAR, train_name VARCHAR, destination VARCHAR) ### ANSWER SELECT train_number FROM table_29770377_1 WHERE train_name = "Island Express" AND destinatio...
{ "answer": "SELECT train_number FROM table_29770377_1 WHERE train_name = \"Island Express\" AND destination = \"Kanniyakumari\"", "context": "CREATE TABLE table_29770377_1 (train_number VARCHAR, train_name VARCHAR, destination VARCHAR)", "question": "What is the train number for the train name island express wit...
### QUESTION What was the highest grid value for riders with manufacturer of Aprilia and time of +1.660? ### CONTEXT CREATE TABLE table_name_22 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR) ### ANSWER SELECT MAX(grid) FROM table_name_22 WHERE manufacturer = "aprilia" AND time_retired = "+1.660"
{ "answer": "SELECT MAX(grid) FROM table_name_22 WHERE manufacturer = \"aprilia\" AND time_retired = \"+1.660\"", "context": "CREATE TABLE table_name_22 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR)", "question": "What was the highest grid value for riders with manufacturer of Aprilia and time of +1....
### QUESTION What is the ISO for South Sudan? ### CONTEXT CREATE TABLE table_222771_1 (iso_3166_2_codes VARCHAR, english_short_name__upper_lower_case_ VARCHAR) ### ANSWER SELECT iso_3166_2_codes FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "South Sudan"
{ "answer": "SELECT iso_3166_2_codes FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = \"South Sudan\"", "context": "CREATE TABLE table_222771_1 (iso_3166_2_codes VARCHAR, english_short_name__upper_lower_case_ VARCHAR)", "question": "What is the ISO for South Sudan?" }
### QUESTION Which company had a market value less than $5.59 billion, assets greater than $27.46 billion, and a rank above 39? ### CONTEXT CREATE TABLE table_name_87 (name VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR, rank VARCHAR) ### ANSWER SELECT name FROM table_name_87 WHERE market_value__bn$_ < 5.5...
{ "answer": "SELECT name FROM table_name_87 WHERE market_value__bn$_ < 5.59 AND rank > 39 AND assets__bn$_ > 27.46", "context": "CREATE TABLE table_name_87 (name VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR, rank VARCHAR)", "question": "Which company had a market value less than $5.59 billion, assets...
### QUESTION what tournament was on a hard surface and saw jacob adaktusson as the opponent? ### CONTEXT CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR) ### ANSWER SELECT tournament FROM table_name_78 WHERE surface = "hard" AND opponent = "jacob adaktusson"
{ "answer": "SELECT tournament FROM table_name_78 WHERE surface = \"hard\" AND opponent = \"jacob adaktusson\"", "context": "CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR)", "question": "what tournament was on a hard surface and saw jacob adaktusson as the opponent?" }
### QUESTION What is the L2 cache for the processor with iris pro graphics 5200 and frequency of 2.6 ghz? ### CONTEXT CREATE TABLE table_name_96 (l2_cache VARCHAR, gpu_model VARCHAR, frequency VARCHAR) ### ANSWER SELECT l2_cache FROM table_name_96 WHERE gpu_model = "iris pro graphics 5200" AND frequency = "2.6 ghz"
{ "answer": "SELECT l2_cache FROM table_name_96 WHERE gpu_model = \"iris pro graphics 5200\" AND frequency = \"2.6 ghz\"", "context": "CREATE TABLE table_name_96 (l2_cache VARCHAR, gpu_model VARCHAR, frequency VARCHAR)", "question": "What is the L2 cache for the processor with iris pro graphics 5200 and frequency...
### QUESTION Which organizations were founded in 1972, but became WOSM members until 1977? ### CONTEXT CREATE TABLE table_104858_1 (name_of_member_organization VARCHAR, year_member_organization_was_founded VARCHAR, year_current_scouting_organization_joined_wosm VARCHAR) ### ANSWER SELECT name_of_member_organization F...
{ "answer": "SELECT name_of_member_organization FROM table_104858_1 WHERE year_member_organization_was_founded = \"1972\" AND year_current_scouting_organization_joined_wosm = \"1977\"", "context": "CREATE TABLE table_104858_1 (name_of_member_organization VARCHAR, year_member_organization_was_founded VARCHAR, year_c...
### QUESTION What is the release price for the GPU frequency of standard power, embedded? ### CONTEXT CREATE TABLE table_name_96 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR) ### ANSWER SELECT release_price___usd__ FROM table_name_96 WHERE gpu_frequency = "standard power, embedded"
{ "answer": "SELECT release_price___usd__ FROM table_name_96 WHERE gpu_frequency = \"standard power, embedded\"", "context": "CREATE TABLE table_name_96 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR)", "question": "What is the release price for the GPU frequency of standard power, embedded?" }
### QUESTION What date was the game that home team torquay united played? ### CONTEXT CREATE TABLE table_name_76 (date VARCHAR, home_team VARCHAR) ### ANSWER SELECT date FROM table_name_76 WHERE home_team = "torquay united"
{ "answer": "SELECT date FROM table_name_76 WHERE home_team = \"torquay united\"", "context": "CREATE TABLE table_name_76 (date VARCHAR, home_team VARCHAR)", "question": "What date was the game that home team torquay united played?" }
### QUESTION what's the vineyard surface (2010) with grand cru being bienvenues-bâtard-montrachet ### CONTEXT CREATE TABLE table_13981938_1 (vineyard_surface__2010_ VARCHAR, grand_cru VARCHAR) ### ANSWER SELECT vineyard_surface__2010_ FROM table_13981938_1 WHERE grand_cru = "Bienvenues-Bâtard-Montrachet"
{ "answer": "SELECT vineyard_surface__2010_ FROM table_13981938_1 WHERE grand_cru = \"Bienvenues-Bâtard-Montrachet\"", "context": "CREATE TABLE table_13981938_1 (vineyard_surface__2010_ VARCHAR, grand_cru VARCHAR)", "question": "what's the vineyard surface (2010) with grand cru being bienvenues-bâtard-montrachet"...
### QUESTION How many sockets are listed that have a brand name of "Core i3-2xx7m"? ### CONTEXT CREATE TABLE table_24538587_11 (socket VARCHAR, brand_name__list_ VARCHAR) ### ANSWER SELECT COUNT(socket) FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-2xx7M"
{ "answer": "SELECT COUNT(socket) FROM table_24538587_11 WHERE brand_name__list_ = \"Core i3-2xx7M\"", "context": "CREATE TABLE table_24538587_11 (socket VARCHAR, brand_name__list_ VARCHAR)", "question": "How many sockets are listed that have a brand name of \"Core i3-2xx7m\"?" }
### QUESTION Name the callsign for davao mindanao region ### CONTEXT CREATE TABLE table_27914076_1 (callsign VARCHAR, coverage VARCHAR) ### ANSWER SELECT callsign FROM table_27914076_1 WHERE coverage = "Davao Mindanao Region"
{ "answer": "SELECT callsign FROM table_27914076_1 WHERE coverage = \"Davao Mindanao Region\"", "context": "CREATE TABLE table_27914076_1 (callsign VARCHAR, coverage VARCHAR)", "question": "Name the callsign for davao mindanao region" }
### QUESTION What is the round when Grand Slam was the Davis Cup? ### CONTEXT CREATE TABLE table_name_92 (round VARCHAR, grand_slam VARCHAR) ### ANSWER SELECT round FROM table_name_92 WHERE grand_slam = "davis cup"
{ "answer": "SELECT round FROM table_name_92 WHERE grand_slam = \"davis cup\"", "context": "CREATE TABLE table_name_92 (round VARCHAR, grand_slam VARCHAR)", "question": "What is the round when Grand Slam was the Davis Cup?" }
### QUESTION Where were jamie cox & scott kremerskothen paired? ### CONTEXT CREATE TABLE table_name_24 (venue VARCHAR, batsmen VARCHAR) ### ANSWER SELECT venue FROM table_name_24 WHERE batsmen = "jamie cox & scott kremerskothen"
{ "answer": "SELECT venue FROM table_name_24 WHERE batsmen = \"jamie cox & scott kremerskothen\"", "context": "CREATE TABLE table_name_24 (venue VARCHAR, batsmen VARCHAR)", "question": "Where were jamie cox & scott kremerskothen paired?" }
### QUESTION What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'? ### CONTEXT CREATE TABLE department (creation VARCHAR, department_id VARCHAR); CREATE TABLE management (department_id VARCHAR, head_id VARCHAR); CREATE TABLE head (head_id VARCHAR, born_state VARCHAR) ...
{ "answer": "SELECT DISTINCT T1.creation FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id JOIN head AS T3 ON T2.head_id = T3.head_id WHERE T3.born_state = 'Alabama'", "context": "CREATE TABLE department (creation VARCHAR, department_id VARCHAR); CREATE TABLE management (department_...
### QUESTION What is Driver Howden Ganley's Time/Retired? ### CONTEXT CREATE TABLE table_name_75 (time_retired VARCHAR, driver VARCHAR) ### ANSWER SELECT time_retired FROM table_name_75 WHERE driver = "howden ganley"
{ "answer": "SELECT time_retired FROM table_name_75 WHERE driver = \"howden ganley\"", "context": "CREATE TABLE table_name_75 (time_retired VARCHAR, driver VARCHAR)", "question": "What is Driver Howden Ganley's Time/Retired?" }
### QUESTION What is the monounsaturated fat with a smoke point of °c (), a total fat of 100g, 11g of polyunsaturated fat, and 14g of saturated fat? ### CONTEXT CREATE TABLE table_name_85 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR, polyunsaturated_fat VARCHAR, smoke_point VARCHAR, total_fat VARCHAR) ### ANSW...
{ "answer": "SELECT monounsaturated_fat FROM table_name_85 WHERE smoke_point = \"°c ()\" AND total_fat = \"100g\" AND polyunsaturated_fat = \"11g\" AND saturated_fat = \"14g\"", "context": "CREATE TABLE table_name_85 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR, polyunsaturated_fat VARCHAR, smoke_point VARCH...
### QUESTION Name the player with score of 73-69-74-71=287 ### CONTEXT CREATE TABLE table_name_12 (player VARCHAR, score VARCHAR) ### ANSWER SELECT player FROM table_name_12 WHERE score = 73 - 69 - 74 - 71 = 287
{ "answer": "SELECT player FROM table_name_12 WHERE score = 73 - 69 - 74 - 71 = 287", "context": "CREATE TABLE table_name_12 (player VARCHAR, score VARCHAR)", "question": "Name the player with score of 73-69-74-71=287" }
### QUESTION What was the population in Stanthorpe in the year when the population in Rosenthal was 1548? ### CONTEXT CREATE TABLE table_12584173_1 (population__stanthorpe_ INTEGER, population__rosenthal_ VARCHAR) ### ANSWER SELECT MAX(population__stanthorpe_) FROM table_12584173_1 WHERE population__rosenthal_ = 1548
{ "answer": "SELECT MAX(population__stanthorpe_) FROM table_12584173_1 WHERE population__rosenthal_ = 1548", "context": "CREATE TABLE table_12584173_1 (population__stanthorpe_ INTEGER, population__rosenthal_ VARCHAR)", "question": "What was the population in Stanthorpe in the year when the population in Rosenthal...
### QUESTION What is the maximum power at rpm for the engine named 2.0 TDI that has a 1968cc displacement? ### CONTEXT CREATE TABLE table_name_90 (max_power_at_rpm VARCHAR, displacement VARCHAR, engine_name VARCHAR) ### ANSWER SELECT max_power_at_rpm FROM table_name_90 WHERE displacement = "1968cc" AND engine_name = ...
{ "answer": "SELECT max_power_at_rpm FROM table_name_90 WHERE displacement = \"1968cc\" AND engine_name = \"2.0 tdi\"", "context": "CREATE TABLE table_name_90 (max_power_at_rpm VARCHAR, displacement VARCHAR, engine_name VARCHAR)", "question": "What is the maximum power at rpm for the engine named 2.0 TDI that has...
### QUESTION Name the least clock rate mhz when designation is rimm 4200 ### CONTEXT CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER, designation VARCHAR) ### ANSWER SELECT MIN(clock_rate__mhz_) FROM table_142573_1 WHERE designation = "RIMM 4200"
{ "answer": "SELECT MIN(clock_rate__mhz_) FROM table_142573_1 WHERE designation = \"RIMM 4200\"", "context": "CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER, designation VARCHAR)", "question": "Name the least clock rate mhz when designation is rimm 4200" }
### QUESTION Which Purpose has an Elevation + Height of 0 + metres (ft), a Location of bikini, namu (charlie), and a Yield of 220 kt? ### CONTEXT CREATE TABLE table_name_37 (purpose VARCHAR, yield VARCHAR, location VARCHAR, elevation_ VARCHAR, _height VARCHAR) ### ANSWER SELECT purpose FROM table_name_37 WHERE elevat...
{ "answer": "SELECT purpose FROM table_name_37 WHERE elevation_ + _height = \"0 + metres (ft)\" AND location = \"bikini, namu (charlie)\" AND yield = \"220 kt\"", "context": "CREATE TABLE table_name_37 (purpose VARCHAR, yield VARCHAR, location VARCHAR, elevation_ VARCHAR, _height VARCHAR)", "question": "Which Pur...
### QUESTION What's the least amount of points that Walter Wolf Racing had after 1974? ### CONTEXT CREATE TABLE table_name_3 (points INTEGER, year VARCHAR, entrant VARCHAR) ### ANSWER SELECT MIN(points) FROM table_name_3 WHERE year > 1974 AND entrant = "walter wolf racing"
{ "answer": "SELECT MIN(points) FROM table_name_3 WHERE year > 1974 AND entrant = \"walter wolf racing\"", "context": "CREATE TABLE table_name_3 (points INTEGER, year VARCHAR, entrant VARCHAR)", "question": "What's the least amount of points that Walter Wolf Racing had after 1974?" }
### QUESTION What is the country of player ian woosnam? ### CONTEXT CREATE TABLE table_name_93 (country VARCHAR, player VARCHAR) ### ANSWER SELECT country FROM table_name_93 WHERE player = "ian woosnam"
{ "answer": "SELECT country FROM table_name_93 WHERE player = \"ian woosnam\"", "context": "CREATE TABLE table_name_93 (country VARCHAR, player VARCHAR)", "question": "What is the country of player ian woosnam?" }
### QUESTION Name the most runs for wickets of 66 and matches less than 13 ### CONTEXT CREATE TABLE table_name_68 (runs INTEGER, wickets VARCHAR, matches VARCHAR) ### ANSWER SELECT MAX(runs) FROM table_name_68 WHERE wickets = 66 AND matches < 13
{ "answer": "SELECT MAX(runs) FROM table_name_68 WHERE wickets = 66 AND matches < 13", "context": "CREATE TABLE table_name_68 (runs INTEGER, wickets VARCHAR, matches VARCHAR)", "question": "Name the most runs for wickets of 66 and matches less than 13" }
### QUESTION Show the names of editors and the theme of journals for which they serve on committees. ### CONTEXT CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Theme VARCHAR, Journal_ID VARCHAR) ### ANSWER SELECT T2....
{ "answer": "SELECT T2.Name, T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID", "context": "CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, Editor_ID VARCHAR); CREATE ...
### QUESTION Who won the XXIV Gran Premio di Pescara in the sports car class? ### CONTEXT CREATE TABLE table_name_81 (driver_s VARCHAR, class VARCHAR, race_title VARCHAR) ### ANSWER SELECT driver_s FROM table_name_81 WHERE class = "sports car" AND race_title = "xxiv gran premio di pescara"
{ "answer": "SELECT driver_s FROM table_name_81 WHERE class = \"sports car\" AND race_title = \"xxiv gran premio di pescara\"", "context": "CREATE TABLE table_name_81 (driver_s VARCHAR, class VARCHAR, race_title VARCHAR)", "question": "Who won the XXIV Gran Premio di Pescara in the sports car class?" }
### QUESTION What are the staff ids and genders of all staffs whose job title is Department Manager? ### CONTEXT CREATE TABLE staff_department_assignments (staff_id VARCHAR, job_title_code VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_gender VARCHAR) ### ANSWER SELECT T1.staff_id, T1.staff_gender FROM staff A...
{ "answer": "SELECT T1.staff_id, T1.staff_gender FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.job_title_code = \"Department Manager\"", "context": "CREATE TABLE staff_department_assignments (staff_id VARCHAR, job_title_code VARCHAR); CREATE TABLE staff (staff_id VAR...
### QUESTION What was the highest average point rating for a modern suspense show with 21 episodes? ### CONTEXT CREATE TABLE table_name_29 (highest_average_point_ratings INTEGER, genre VARCHAR, number_of_episodes VARCHAR) ### ANSWER SELECT SUM(highest_average_point_ratings) FROM table_name_29 WHERE genre = "modern su...
{ "answer": "SELECT SUM(highest_average_point_ratings) FROM table_name_29 WHERE genre = \"modern suspense\" AND number_of_episodes = 21", "context": "CREATE TABLE table_name_29 (highest_average_point_ratings INTEGER, genre VARCHAR, number_of_episodes VARCHAR)", "question": "What was the highest average point rati...
### QUESTION What is the location and attendance of game 44? ### CONTEXT CREATE TABLE table_name_65 (location_attendance VARCHAR, game VARCHAR) ### ANSWER SELECT location_attendance FROM table_name_65 WHERE game = 44
{ "answer": "SELECT location_attendance FROM table_name_65 WHERE game = 44", "context": "CREATE TABLE table_name_65 (location_attendance VARCHAR, game VARCHAR)", "question": "What is the location and attendance of game 44?" }
### QUESTION What is the number of draws for the team with more than 8 losses and 13 points? ### CONTEXT CREATE TABLE table_name_61 (draws VARCHAR, losses VARCHAR, points VARCHAR) ### ANSWER SELECT draws FROM table_name_61 WHERE losses > 8 AND points = 13
{ "answer": "SELECT draws FROM table_name_61 WHERE losses > 8 AND points = 13", "context": "CREATE TABLE table_name_61 (draws VARCHAR, losses VARCHAR, points VARCHAR)", "question": "What is the number of draws for the team with more than 8 losses and 13 points?" }
### QUESTION what is the conference joined for the county 69 ripley in 1952 in versailles? ### CONTEXT CREATE TABLE table_name_58 (conference_joined VARCHAR, location VARCHAR, county VARCHAR, year_joined VARCHAR) ### ANSWER SELECT conference_joined FROM table_name_58 WHERE county = "69 ripley" AND year_joined = 1952 ...
{ "answer": "SELECT conference_joined FROM table_name_58 WHERE county = \"69 ripley\" AND year_joined = 1952 AND location = \"versailles\"", "context": "CREATE TABLE table_name_58 (conference_joined VARCHAR, location VARCHAR, county VARCHAR, year_joined VARCHAR)", "question": "what is the conference joined for th...
### QUESTION What is the name of the customer who has the most orders? ### CONTEXT CREATE TABLE orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR) ### ANSWER SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.cus...
{ "answer": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)", "question": "What is ...
### QUESTION what is the episode title on original air date of September 30, 2007? ### CONTEXT CREATE TABLE table_23799417_2 (title VARCHAR, original_airing VARCHAR) ### ANSWER SELECT title FROM table_23799417_2 WHERE original_airing = "September 30, 2007"
{ "answer": "SELECT title FROM table_23799417_2 WHERE original_airing = \"September 30, 2007\"", "context": "CREATE TABLE table_23799417_2 (title VARCHAR, original_airing VARCHAR)", "question": "what is the episode title on original air date of September 30, 2007?" }
### QUESTION What is the maximum capacity of the San Agustin Gym? ### CONTEXT CREATE TABLE table_name_91 (maximum_seating_capacity VARCHAR, arena_venue VARCHAR) ### ANSWER SELECT maximum_seating_capacity FROM table_name_91 WHERE arena_venue = "san agustin gym"
{ "answer": "SELECT maximum_seating_capacity FROM table_name_91 WHERE arena_venue = \"san agustin gym\"", "context": "CREATE TABLE table_name_91 (maximum_seating_capacity VARCHAR, arena_venue VARCHAR)", "question": "What is the maximum capacity of the San Agustin Gym?" }
### QUESTION Which Player has a Date of Birth (Age When Delisted) of 13 February 1987 (aged 24)? ### CONTEXT CREATE TABLE table_name_85 (player VARCHAR, date_of_birth__age_when_delisted_ VARCHAR) ### ANSWER SELECT player FROM table_name_85 WHERE date_of_birth__age_when_delisted_ = "13 february 1987 (aged 24)"
{ "answer": "SELECT player FROM table_name_85 WHERE date_of_birth__age_when_delisted_ = \"13 february 1987 (aged 24)\"", "context": "CREATE TABLE table_name_85 (player VARCHAR, date_of_birth__age_when_delisted_ VARCHAR)", "question": "Which Player has a Date of Birth (Age When Delisted) of 13 February 1987 (aged ...
### QUESTION What section were they in when there were tier 2 in 1996? ### CONTEXT CREATE TABLE table_name_30 (section VARCHAR, level VARCHAR, season VARCHAR) ### ANSWER SELECT section FROM table_name_30 WHERE level = "tier 2" AND season = 1996
{ "answer": "SELECT section FROM table_name_30 WHERE level = \"tier 2\" AND season = 1996", "context": "CREATE TABLE table_name_30 (section VARCHAR, level VARCHAR, season VARCHAR)", "question": "What section were they in when there were tier 2 in 1996?" }
### QUESTION What is the score of the Devil Rays on April 24? ### CONTEXT CREATE TABLE table_name_28 (score VARCHAR, opponent VARCHAR, date VARCHAR) ### ANSWER SELECT score FROM table_name_28 WHERE opponent = "devil rays" AND date = "april 24"
{ "answer": "SELECT score FROM table_name_28 WHERE opponent = \"devil rays\" AND date = \"april 24\"", "context": "CREATE TABLE table_name_28 (score VARCHAR, opponent VARCHAR, date VARCHAR)", "question": "What is the score of the Devil Rays on April 24?" }
### QUESTION How many engines have a Model of sl600, and a Year From of 1994, and a Year To smaller than 1995? ### CONTEXT CREATE TABLE table_name_82 (engine VARCHAR, year_to VARCHAR, model VARCHAR, year_from VARCHAR) ### ANSWER SELECT COUNT(engine) FROM table_name_82 WHERE model = "sl600" AND year_from = 1994 AND ye...
{ "answer": "SELECT COUNT(engine) FROM table_name_82 WHERE model = \"sl600\" AND year_from = 1994 AND year_to < 1995", "context": "CREATE TABLE table_name_82 (engine VARCHAR, year_to VARCHAR, model VARCHAR, year_from VARCHAR)", "question": "How many engines have a Model of sl600, and a Year From of 1994, and a Ye...
### QUESTION what is the height when the locale is nepean sea road, floors is more than 30 and sr no is 58? ### CONTEXT CREATE TABLE table_name_99 (height VARCHAR, sr_no VARCHAR, locale VARCHAR, floors VARCHAR) ### ANSWER SELECT height FROM table_name_99 WHERE locale = "nepean sea road" AND floors > 30 AND sr_no = 58
{ "answer": "SELECT height FROM table_name_99 WHERE locale = \"nepean sea road\" AND floors > 30 AND sr_no = 58", "context": "CREATE TABLE table_name_99 (height VARCHAR, sr_no VARCHAR, locale VARCHAR, floors VARCHAR)", "question": "what is the height when the locale is nepean sea road, floors is more than 30 and ...
### QUESTION Find the busiest destination airport that runs most number of routes in China. ### CONTEXT CREATE TABLE routes (dst_apid VARCHAR); CREATE TABLE airports (name VARCHAR, apid VARCHAR, country VARCHAR) ### ANSWER SELECT T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid WHERE T1.country ...
{ "answer": "SELECT T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid WHERE T1.country = 'China' GROUP BY T1.name ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE routes (dst_apid VARCHAR); CREATE TABLE airports (name VARCHAR, apid VARCHAR, country VARCHAR)", "question": "Find the bu...
### QUESTION Which Away team has Carlton for it's Home team? ### CONTEXT CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR) ### ANSWER SELECT away_team FROM table_name_96 WHERE home_team = "carlton"
{ "answer": "SELECT away_team FROM table_name_96 WHERE home_team = \"carlton\"", "context": "CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR)", "question": "Which Away team has Carlton for it's Home team?" }
### QUESTION What is the feature type name of feature AirCon? ### CONTEXT CREATE TABLE Other_Available_Features (feature_type_code VARCHAR, feature_name VARCHAR); CREATE TABLE Ref_Feature_Types (feature_type_name VARCHAR, feature_type_code VARCHAR) ### ANSWER SELECT T2.feature_type_name FROM Other_Available_Features ...
{ "answer": "SELECT T2.feature_type_name FROM Other_Available_Features AS T1 JOIN Ref_Feature_Types AS T2 ON T1.feature_type_code = T2.feature_type_code WHERE T1.feature_name = \"AirCon\"", "context": "CREATE TABLE Other_Available_Features (feature_type_code VARCHAR, feature_name VARCHAR); CREATE TABLE Ref_Feature_...
### QUESTION Which claims caused more than 2 settlements or have the maximum claim value? List the date the claim was made and the claim id. ### CONTEXT CREATE TABLE Settlements (Claim_id VARCHAR); CREATE TABLE Claims (Amount_Claimed INTEGER); CREATE TABLE Claims (Date_Claim_Made VARCHAR, Claim_id VARCHAR, Amount_Clai...
{ "answer": "SELECT T1.Date_Claim_Made, T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id = T2.Claim_id GROUP BY T1.Claim_id HAVING COUNT(*) > 2 UNION SELECT T1.Date_Claim_Made, T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id = T2.Claim_id WHERE T1.Amount_Claimed = (SELECT MAX(Am...
### QUESTION What are week 4 results? ### CONTEXT CREATE TABLE table_14608759_1 (result VARCHAR, week VARCHAR) ### ANSWER SELECT result FROM table_14608759_1 WHERE week = 4
{ "answer": "SELECT result FROM table_14608759_1 WHERE week = 4", "context": "CREATE TABLE table_14608759_1 (result VARCHAR, week VARCHAR)", "question": "What are week 4 results? " }
### QUESTION Which date has an Opera usage percentage of 5.1% and Internet Explorer usage of 59.5%? ### CONTEXT CREATE TABLE table_name_64 (date VARCHAR, opera VARCHAR, internet_explorer VARCHAR) ### ANSWER SELECT date FROM table_name_64 WHERE opera = "5.1%" AND internet_explorer = "59.5%"
{ "answer": "SELECT date FROM table_name_64 WHERE opera = \"5.1%\" AND internet_explorer = \"59.5%\"", "context": "CREATE TABLE table_name_64 (date VARCHAR, opera VARCHAR, internet_explorer VARCHAR)", "question": "Which date has an Opera usage percentage of 5.1% and Internet Explorer usage of 59.5%?" }
### QUESTION How many regions had 153 women prison inmates? ### CONTEXT CREATE TABLE table_25042332_31 (incarceration_rate_total VARCHAR, prison_inmates_women VARCHAR) ### ANSWER SELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE prison_inmates_women = 153
{ "answer": "SELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE prison_inmates_women = 153", "context": "CREATE TABLE table_25042332_31 (incarceration_rate_total VARCHAR, prison_inmates_women VARCHAR)", "question": "How many regions had 153 women prison inmates?" }
### QUESTION Date for less than 122 countries and a 47% rank? ### CONTEXT CREATE TABLE table_name_60 (date VARCHAR, countries_surveyed VARCHAR, _percentage_rank VARCHAR) ### ANSWER SELECT date FROM table_name_60 WHERE countries_surveyed < 122 AND _percentage_rank = "47"
{ "answer": "SELECT date FROM table_name_60 WHERE countries_surveyed < 122 AND _percentage_rank = \"47\"", "context": "CREATE TABLE table_name_60 (date VARCHAR, countries_surveyed VARCHAR, _percentage_rank VARCHAR)", "question": "Date for less than 122 countries and a 47% rank?" }
### QUESTION What is Pegasus' right ascension with a 7318a NGC? ### CONTEXT CREATE TABLE table_name_67 (right_ascension___j2000__ VARCHAR, constellation VARCHAR, ngc_number VARCHAR) ### ANSWER SELECT right_ascension___j2000__ FROM table_name_67 WHERE constellation = "pegasus" AND ngc_number = "7318a"
{ "answer": "SELECT right_ascension___j2000__ FROM table_name_67 WHERE constellation = \"pegasus\" AND ngc_number = \"7318a\"", "context": "CREATE TABLE table_name_67 (right_ascension___j2000__ VARCHAR, constellation VARCHAR, ngc_number VARCHAR)", "question": "What is Pegasus' right ascension with a 7318a NGC?" }
### QUESTION What is the cardinal direction of Wednesday p.m. in English? ### CONTEXT CREATE TABLE table_name_90 (cardinal_direction VARCHAR, english VARCHAR) ### ANSWER SELECT cardinal_direction FROM table_name_90 WHERE english = "wednesday p.m."
{ "answer": "SELECT cardinal_direction FROM table_name_90 WHERE english = \"wednesday p.m.\"", "context": "CREATE TABLE table_name_90 (cardinal_direction VARCHAR, english VARCHAR)", "question": "What is the cardinal direction of Wednesday p.m. in English?" }
### QUESTION Find the market shares and names of furnitures which no any company is producing in our records. ### CONTEXT CREATE TABLE furniture (Market_Rate VARCHAR, name VARCHAR, Furniture_ID VARCHAR); CREATE TABLE furniture_manufacte (Market_Rate VARCHAR, name VARCHAR, Furniture_ID VARCHAR) ### ANSWER SELECT Marke...
{ "answer": "SELECT Market_Rate, name FROM furniture WHERE NOT Furniture_ID IN (SELECT Furniture_ID FROM furniture_manufacte)", "context": "CREATE TABLE furniture (Market_Rate VARCHAR, name VARCHAR, Furniture_ID VARCHAR); CREATE TABLE furniture_manufacte (Market_Rate VARCHAR, name VARCHAR, Furniture_ID VARCHAR)", ...
### QUESTION What is detail of the student who registered the most number of courses? ### CONTEXT CREATE TABLE students (student_details VARCHAR, student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR) ### ANSWER SELECT T1.student_details FROM students AS T1 JOIN student_course_registratio...
{ "answer": "SELECT T1.student_details FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE students (student_details VARCHAR, student_id VARCHAR); CREATE TABLE student_course_registrations (stud...
### QUESTION What was the result of the Award of Drama desk award nominee Tom Hewitt. ### CONTEXT CREATE TABLE table_name_37 (result VARCHAR, award VARCHAR, nominee VARCHAR) ### ANSWER SELECT result FROM table_name_37 WHERE award = "drama desk award" AND nominee = "tom hewitt"
{ "answer": "SELECT result FROM table_name_37 WHERE award = \"drama desk award\" AND nominee = \"tom hewitt\"", "context": "CREATE TABLE table_name_37 (result VARCHAR, award VARCHAR, nominee VARCHAR)", "question": "What was the result of the Award of Drama desk award nominee Tom Hewitt." }
### QUESTION What were the years of the Tottenham Hotspur career for the player with 10 goals, from England, played the df position, and had 118 club apps? ### CONTEXT CREATE TABLE table_name_26 (tottenham_hotspur_career VARCHAR, club_apps VARCHAR, position VARCHAR, goals VARCHAR, nationality VARCHAR) ### ANSWER SELE...
{ "answer": "SELECT tottenham_hotspur_career FROM table_name_26 WHERE goals = \"10\" AND nationality = \"england\" AND position = \"df\" AND club_apps = \"118\"", "context": "CREATE TABLE table_name_26 (tottenham_hotspur_career VARCHAR, club_apps VARCHAR, position VARCHAR, goals VARCHAR, nationality VARCHAR)", "q...
### QUESTION Show the names and ids of tourist attractions that are visited at least two times. ### CONTEXT CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR) ### ANSWER SELECT T1.Name, T2.Tourist_Attraction_ID FROM Tourist_Attractions A...
{ "answer": "SELECT T1.Name, T2.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING COUNT(*) >= 2", "context": "CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Na...
### QUESTION Which Democratic has a District smaller than 7, and a Republican of dan mansell? ### CONTEXT CREATE TABLE table_name_99 (democratic VARCHAR, district VARCHAR, republican VARCHAR) ### ANSWER SELECT democratic FROM table_name_99 WHERE district < 7 AND republican = "dan mansell"
{ "answer": "SELECT democratic FROM table_name_99 WHERE district < 7 AND republican = \"dan mansell\"", "context": "CREATE TABLE table_name_99 (democratic VARCHAR, district VARCHAR, republican VARCHAR)", "question": "Which Democratic has a District smaller than 7, and a Republican of dan mansell?" }
### QUESTION What is the average Prize fund ( US$ ), when OWGR pts is greater than 20, and when Dates is Nov 6-9? ### CONTEXT CREATE TABLE table_name_56 (prize_fund___us INTEGER, owgr_pts VARCHAR, dates VARCHAR) ### ANSWER SELECT AVG(prize_fund___us) AS $__ FROM table_name_56 WHERE owgr_pts > 20 AND dates = "nov 6-9"
{ "answer": "SELECT AVG(prize_fund___us) AS $__ FROM table_name_56 WHERE owgr_pts > 20 AND dates = \"nov 6-9\"", "context": "CREATE TABLE table_name_56 (prize_fund___us INTEGER, owgr_pts VARCHAR, dates VARCHAR)", "question": "What is the average Prize fund ( US$ ), when OWGR pts is greater than 20, and when Dates...
### QUESTION What were all the salary values of players in 2010 and 2001? ### CONTEXT CREATE TABLE salary (salary VARCHAR, YEAR VARCHAR) ### ANSWER SELECT salary FROM salary WHERE YEAR = 2010 UNION SELECT salary FROM salary WHERE YEAR = 2001
{ "answer": "SELECT salary FROM salary WHERE YEAR = 2010 UNION SELECT salary FROM salary WHERE YEAR = 2001", "context": "CREATE TABLE salary (salary VARCHAR, YEAR VARCHAR)", "question": "What were all the salary values of players in 2010 and 2001?" }
### QUESTION Which school did the player then go to Auburn? ### CONTEXT CREATE TABLE table_11677691_7 (school VARCHAR, college VARCHAR) ### ANSWER SELECT school FROM table_11677691_7 WHERE college = "Auburn"
{ "answer": "SELECT school FROM table_11677691_7 WHERE college = \"Auburn\"", "context": "CREATE TABLE table_11677691_7 (school VARCHAR, college VARCHAR)", "question": "Which school did the player then go to Auburn?" }