text
stringlengths
146
1.06k
source
dict
### QUESTION Tell me the Host interface for digital of dvb-t (cx22702) and model of nova-t pci (90002) ### CONTEXT CREATE TABLE table_name_34 (host_interface VARCHAR, digital VARCHAR, model VARCHAR) ### ANSWER SELECT host_interface FROM table_name_34 WHERE digital = "dvb-t (cx22702)" AND model = "nova-t pci (90002)"
{ "answer": "SELECT host_interface FROM table_name_34 WHERE digital = \"dvb-t (cx22702)\" AND model = \"nova-t pci (90002)\"", "context": "CREATE TABLE table_name_34 (host_interface VARCHAR, digital VARCHAR, model VARCHAR)", "question": "Tell me the Host interface for digital of dvb-t (cx22702) and model of nova-t pci (90002)" }
### QUESTION What was the undecided with Roy Barnes at 47%? ### CONTEXT CREATE TABLE table_name_22 (undecided VARCHAR, roy_barnes VARCHAR) ### ANSWER SELECT undecided FROM table_name_22 WHERE roy_barnes = "47%"
{ "answer": "SELECT undecided FROM table_name_22 WHERE roy_barnes = \"47%\"", "context": "CREATE TABLE table_name_22 (undecided VARCHAR, roy_barnes VARCHAR)", "question": "What was the undecided with Roy Barnes at 47%?" }
### QUESTION What are the ids of the problems reported after the date of any problems reported by Rylan Homenick? ### CONTEXT CREATE TABLE problems (problem_id VARCHAR, reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR) ### ANSWER SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported > (SELECT MAX(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = "Rylan" AND T4.staff_last_name = "Homenick")
{ "answer": "SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported > (SELECT MAX(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = \"Rylan\" AND T4.staff_last_name = \"Homenick\")", "context": "CREATE TABLE problems (problem_id VARCHAR, reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR)", "question": "What are the ids of the problems reported after the date of any problems reported by Rylan Homenick?" }
### QUESTION Name the married filing jointly or qualified widow(er) with head of household being $117,451–$190,200 ### CONTEXT CREATE TABLE table_name_61 (married_filing_jointly_or_qualified_widow_er_ VARCHAR, head_of_household VARCHAR) ### ANSWER SELECT married_filing_jointly_or_qualified_widow_er_ FROM table_name_61 WHERE head_of_household = "$117,451–$190,200"
{ "answer": "SELECT married_filing_jointly_or_qualified_widow_er_ FROM table_name_61 WHERE head_of_household = \"$117,451–$190,200\"", "context": "CREATE TABLE table_name_61 (married_filing_jointly_or_qualified_widow_er_ VARCHAR, head_of_household VARCHAR)", "question": "Name the married filing jointly or qualified widow(er) with head of household being $117,451–$190,200" }
### QUESTION What is the total number for July with less than 8.05 in October, more than 4.46 in December, and more than 6.79 in November? ### CONTEXT CREATE TABLE table_name_12 (july VARCHAR, november VARCHAR, october VARCHAR, december VARCHAR) ### ANSWER SELECT COUNT(july) FROM table_name_12 WHERE october < 8.05 AND december > 4.46 AND november > 6.79
{ "answer": "SELECT COUNT(july) FROM table_name_12 WHERE october < 8.05 AND december > 4.46 AND november > 6.79", "context": "CREATE TABLE table_name_12 (july VARCHAR, november VARCHAR, october VARCHAR, december VARCHAR)", "question": "What is the total number for July with less than 8.05 in October, more than 4.46 in December, and more than 6.79 in November?" }
### QUESTION Which round was Mike Peca (C) of Canada selected in? ### CONTEXT CREATE TABLE table_name_84 (round INTEGER, nationality VARCHAR, player VARCHAR) ### ANSWER SELECT SUM(round) FROM table_name_84 WHERE nationality = "canada" AND player = "mike peca (c)"
{ "answer": "SELECT SUM(round) FROM table_name_84 WHERE nationality = \"canada\" AND player = \"mike peca (c)\"", "context": "CREATE TABLE table_name_84 (round INTEGER, nationality VARCHAR, player VARCHAR)", "question": "Which round was Mike Peca (C) of Canada selected in?" }
### QUESTION In which year did John Force win Funny Car and Mike Dunn win in Top Fuel? ### CONTEXT CREATE TABLE table_name_65 (year VARCHAR, funny_car VARCHAR, top_fuel VARCHAR) ### ANSWER SELECT year FROM table_name_65 WHERE funny_car = "john force" AND top_fuel = "mike dunn"
{ "answer": "SELECT year FROM table_name_65 WHERE funny_car = \"john force\" AND top_fuel = \"mike dunn\"", "context": "CREATE TABLE table_name_65 (year VARCHAR, funny_car VARCHAR, top_fuel VARCHAR)", "question": "In which year did John Force win Funny Car and Mike Dunn win in Top Fuel?" }
### QUESTION Which champion was from the location of Morrisville, NC, and whose SemiFinalist #2 of Clemson? ### CONTEXT CREATE TABLE table_name_47 (champion VARCHAR, location VARCHAR, semi_finalist__number2 VARCHAR) ### ANSWER SELECT champion FROM table_name_47 WHERE location = "morrisville, nc" AND semi_finalist__number2 = "clemson"
{ "answer": "SELECT champion FROM table_name_47 WHERE location = \"morrisville, nc\" AND semi_finalist__number2 = \"clemson\"", "context": "CREATE TABLE table_name_47 (champion VARCHAR, location VARCHAR, semi_finalist__number2 VARCHAR)", "question": "Which champion was from the location of Morrisville, NC, and whose SemiFinalist #2 of Clemson?" }
### QUESTION How many type of jobs do they have? ### CONTEXT CREATE TABLE Person (job VARCHAR) ### ANSWER SELECT COUNT(DISTINCT job) FROM Person
{ "answer": "SELECT COUNT(DISTINCT job) FROM Person", "context": "CREATE TABLE Person (job VARCHAR)", "question": "How many type of jobs do they have?" }
### QUESTION What is the description of the product named "Chocolate"? ### CONTEXT CREATE TABLE products (product_description VARCHAR, product_name VARCHAR) ### ANSWER SELECT product_description FROM products WHERE product_name = "Chocolate"
{ "answer": "SELECT product_description FROM products WHERE product_name = \"Chocolate\"", "context": "CREATE TABLE products (product_description VARCHAR, product_name VARCHAR)", "question": "What is the description of the product named \"Chocolate\"?" }
### QUESTION Which assets have 2 parts and have less than 2 fault logs? List the asset id and detail. ### CONTEXT CREATE TABLE Assets (asset_id VARCHAR, asset_details VARCHAR); CREATE TABLE Asset_Parts (asset_id VARCHAR); CREATE TABLE Fault_Log (asset_id VARCHAR) ### ANSWER SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JOIN Asset_Parts AS T2 ON T1.asset_id = T2.asset_id GROUP BY T1.asset_id HAVING COUNT(*) = 2 INTERSECT SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JOIN Fault_Log AS T2 ON T1.asset_id = T2.asset_id GROUP BY T1.asset_id HAVING COUNT(*) < 2
{ "answer": "SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JOIN Asset_Parts AS T2 ON T1.asset_id = T2.asset_id GROUP BY T1.asset_id HAVING COUNT(*) = 2 INTERSECT SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JOIN Fault_Log AS T2 ON T1.asset_id = T2.asset_id GROUP BY T1.asset_id HAVING COUNT(*) < 2", "context": "CREATE TABLE Assets (asset_id VARCHAR, asset_details VARCHAR); CREATE TABLE Asset_Parts (asset_id VARCHAR); CREATE TABLE Fault_Log (asset_id VARCHAR)", "question": "Which assets have 2 parts and have less than 2 fault logs? List the asset id and detail." }
### QUESTION What's the total built by the United Kingdom and holds 1,300 passengers? ### CONTEXT CREATE TABLE table_name_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR) ### ANSWER SELECT COUNT(built) FROM table_name_68 WHERE registry = "united kingdom" AND passengers = 1 OFFSET 300
{ "answer": "SELECT COUNT(built) FROM table_name_68 WHERE registry = \"united kingdom\" AND passengers = 1 OFFSET 300", "context": "CREATE TABLE table_name_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR)", "question": "What's the total built by the United Kingdom and holds 1,300 passengers?" }
### QUESTION How many places did the rank change since 22006 for County Leitrim? ### CONTEXT CREATE TABLE table_1940144_1 (change_since_2006 VARCHAR, county VARCHAR) ### ANSWER SELECT COUNT(change_since_2006) FROM table_1940144_1 WHERE county = "county Leitrim"
{ "answer": "SELECT COUNT(change_since_2006) FROM table_1940144_1 WHERE county = \"county Leitrim\"", "context": "CREATE TABLE table_1940144_1 (change_since_2006 VARCHAR, county VARCHAR)", "question": "How many places did the rank change since 22006 for County Leitrim? " }
### QUESTION During what years did the Guard from Oklahoma with a height of 6-6 play for the Rockets? ### CONTEXT CREATE TABLE table_name_41 (years_for_rockets VARCHAR, school_club_team_country VARCHAR, height_in_ft VARCHAR, position VARCHAR) ### ANSWER SELECT years_for_rockets FROM table_name_41 WHERE height_in_ft = "6-6" AND position = "guard" AND school_club_team_country = "oklahoma"
{ "answer": "SELECT years_for_rockets FROM table_name_41 WHERE height_in_ft = \"6-6\" AND position = \"guard\" AND school_club_team_country = \"oklahoma\"", "context": "CREATE TABLE table_name_41 (years_for_rockets VARCHAR, school_club_team_country VARCHAR, height_in_ft VARCHAR, position VARCHAR)", "question": "During what years did the Guard from Oklahoma with a height of 6-6 play for the Rockets?" }
### QUESTION What is the highest Tournaments, when Pro Debut is "July 2002"? ### CONTEXT CREATE TABLE table_name_13 (tournaments INTEGER, pro_debut VARCHAR) ### ANSWER SELECT MAX(tournaments) FROM table_name_13 WHERE pro_debut = "july 2002"
{ "answer": "SELECT MAX(tournaments) FROM table_name_13 WHERE pro_debut = \"july 2002\"", "context": "CREATE TABLE table_name_13 (tournaments INTEGER, pro_debut VARCHAR)", "question": "What is the highest Tournaments, when Pro Debut is \"July 2002\"?" }
### QUESTION What is the name of the department that has the largest number of students enrolled? ### CONTEXT CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR) ### ANSWER SELECT T4.dept_name FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code GROUP BY T3.dept_code ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T4.dept_name FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code GROUP BY T3.dept_code ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR)", "question": "What is the name of the department that has the largest number of students enrolled?" }
### QUESTION Which Position has an Against of 5, and a Drawn larger than 0? ### CONTEXT CREATE TABLE table_name_35 (position INTEGER, against VARCHAR, drawn VARCHAR) ### ANSWER SELECT SUM(position) FROM table_name_35 WHERE against = 5 AND drawn > 0
{ "answer": "SELECT SUM(position) FROM table_name_35 WHERE against = 5 AND drawn > 0", "context": "CREATE TABLE table_name_35 (position INTEGER, against VARCHAR, drawn VARCHAR)", "question": "Which Position has an Against of 5, and a Drawn larger than 0?" }
### QUESTION Name the us viewers directed by christine moore ### CONTEXT CREATE TABLE table_26914076_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) ### ANSWER SELECT us_viewers__millions_ FROM table_26914076_2 WHERE directed_by = "Christine Moore"
{ "answer": "SELECT us_viewers__millions_ FROM table_26914076_2 WHERE directed_by = \"Christine Moore\"", "context": "CREATE TABLE table_26914076_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)", "question": "Name the us viewers directed by christine moore" }
### QUESTION How many business rates are related to each cmi cross reference? List cross reference id, master customer id and the n ### CONTEXT CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, master_customer_id VARCHAR); CREATE TABLE Business_Rates (cmi_cross_ref_id VARCHAR) ### ANSWER SELECT T2.cmi_cross_ref_id, T2.master_customer_id, COUNT(*) FROM Business_Rates AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id GROUP BY T2.cmi_cross_ref_id
{ "answer": "SELECT T2.cmi_cross_ref_id, T2.master_customer_id, COUNT(*) FROM Business_Rates AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id GROUP BY T2.cmi_cross_ref_id", "context": "CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, master_customer_id VARCHAR); CREATE TABLE Business_Rates (cmi_cross_ref_id VARCHAR)", "question": "How many business rates are related to each cmi cross reference? List cross reference id, master customer id and the n" }
### QUESTION What is College/Junior/Club Team (League), when Position is "Defence", when Nationality is "Canada", when Round is less than 5, and when Player is "Josiah Didier"? ### CONTEXT CREATE TABLE table_name_18 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR, nationality VARCHAR) ### ANSWER SELECT college_junior_club_team__league_ FROM table_name_18 WHERE position = "defence" AND nationality = "canada" AND round < 5 AND player = "josiah didier"
{ "answer": "SELECT college_junior_club_team__league_ FROM table_name_18 WHERE position = \"defence\" AND nationality = \"canada\" AND round < 5 AND player = \"josiah didier\"", "context": "CREATE TABLE table_name_18 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR, nationality VARCHAR)", "question": "What is College/Junior/Club Team (League), when Position is \"Defence\", when Nationality is \"Canada\", when Round is less than 5, and when Player is \"Josiah Didier\"?" }
### QUESTION When was the first elected when the party was republican and the candidate were robert h. michel (r) 66.1% rosa lee fox (d) 33.9%? ### CONTEXT CREATE TABLE table_1341718_14 (first_elected INTEGER, party VARCHAR, candidates VARCHAR) ### ANSWER SELECT MIN(first_elected) FROM table_1341718_14 WHERE party = "Republican" AND candidates = "Robert H. Michel (R) 66.1% Rosa Lee Fox (D) 33.9%"
{ "answer": "SELECT MIN(first_elected) FROM table_1341718_14 WHERE party = \"Republican\" AND candidates = \"Robert H. Michel (R) 66.1% Rosa Lee Fox (D) 33.9%\"", "context": "CREATE TABLE table_1341718_14 (first_elected INTEGER, party VARCHAR, candidates VARCHAR)", "question": "When was the first elected when the party was republican and the candidate were robert h. michel (r) 66.1% rosa lee fox (d) 33.9%?" }
### QUESTION How many miles were driven with the average speed at 116.81? ### CONTEXT CREATE TABLE table_2175858_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR) ### ANSWER SELECT miles__km_ FROM table_2175858_1 WHERE average_speed__mph_ = "116.81"
{ "answer": "SELECT miles__km_ FROM table_2175858_1 WHERE average_speed__mph_ = \"116.81\"", "context": "CREATE TABLE table_2175858_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR)", "question": "How many miles were driven with the average speed at 116.81?" }
### QUESTION How many points for the cooper car company after 1959? ### CONTEXT CREATE TABLE table_name_90 (points INTEGER, entrant VARCHAR, year VARCHAR) ### ANSWER SELECT SUM(points) FROM table_name_90 WHERE entrant = "cooper car company" AND year > 1959
{ "answer": "SELECT SUM(points) FROM table_name_90 WHERE entrant = \"cooper car company\" AND year > 1959", "context": "CREATE TABLE table_name_90 (points INTEGER, entrant VARCHAR, year VARCHAR)", "question": "How many points for the cooper car company after 1959?" }
### QUESTION What is the card type code with most number of cards? ### CONTEXT CREATE TABLE Customers_cards (card_type_code VARCHAR) ### ANSWER SELECT card_type_code FROM Customers_cards GROUP BY card_type_code ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT card_type_code FROM Customers_cards GROUP BY card_type_code ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Customers_cards (card_type_code VARCHAR)", "question": "What is the card type code with most number of cards?" }
### QUESTION Which organisation hired the most number of research staff? List the organisation id, type and detail. ### CONTEXT CREATE TABLE Organisations (organisation_id VARCHAR, organisation_type VARCHAR, organisation_details VARCHAR); CREATE TABLE Research_Staff (employer_organisation_id VARCHAR) ### ANSWER SELECT T1.organisation_id, T1.organisation_type, T1.organisation_details FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.organisation_id, T1.organisation_type, T1.organisation_details FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Organisations (organisation_id VARCHAR, organisation_type VARCHAR, organisation_details VARCHAR); CREATE TABLE Research_Staff (employer_organisation_id VARCHAR)", "question": "Which organisation hired the most number of research staff? List the organisation id, type and detail." }
### QUESTION What stage (winner) has quick step as the team classification, and trent lowe as the young rider classification? ### CONTEXT CREATE TABLE table_name_69 (stage__winner_ VARCHAR, team_classification VARCHAR, young_rider_classification VARCHAR) ### ANSWER SELECT stage__winner_ FROM table_name_69 WHERE team_classification = "quick step" AND young_rider_classification = "trent lowe"
{ "answer": "SELECT stage__winner_ FROM table_name_69 WHERE team_classification = \"quick step\" AND young_rider_classification = \"trent lowe\"", "context": "CREATE TABLE table_name_69 (stage__winner_ VARCHAR, team_classification VARCHAR, young_rider_classification VARCHAR)", "question": "What stage (winner) has quick step as the team classification, and trent lowe as the young rider classification?" }
### QUESTION Which Name has a Height (cm) of 175 and a Birthplace of detroit, michigan ### CONTEXT CREATE TABLE table_name_42 (name VARCHAR, height__cm_ VARCHAR, birthplace VARCHAR) ### ANSWER SELECT name FROM table_name_42 WHERE height__cm_ = 175 AND birthplace = "detroit, michigan"
{ "answer": "SELECT name FROM table_name_42 WHERE height__cm_ = 175 AND birthplace = \"detroit, michigan\"", "context": "CREATE TABLE table_name_42 (name VARCHAR, height__cm_ VARCHAR, birthplace VARCHAR)", "question": "Which Name has a Height (cm) of 175 and a Birthplace of detroit, michigan" }
### QUESTION What is the PI GP of Rob Flockhart, who has a pick # less than 122 and a round # less than 3? ### CONTEXT CREATE TABLE table_name_44 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR, player VARCHAR) ### ANSWER SELECT SUM(pl_gp) FROM table_name_44 WHERE pick__number < 122 AND player = "rob flockhart" AND rd__number < 3
{ "answer": "SELECT SUM(pl_gp) FROM table_name_44 WHERE pick__number < 122 AND player = \"rob flockhart\" AND rd__number < 3", "context": "CREATE TABLE table_name_44 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR, player VARCHAR)", "question": "What is the PI GP of Rob Flockhart, who has a pick # less than 122 and a round # less than 3?" }
### QUESTION What is the Attendance number when the Opponent was purdue? ### CONTEXT CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR) ### ANSWER SELECT attendance FROM table_name_15 WHERE opponent_number = "purdue"
{ "answer": "SELECT attendance FROM table_name_15 WHERE opponent_number = \"purdue\"", "context": "CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR)", "question": "What is the Attendance number when the Opponent was purdue?" }
### QUESTION What is the record at Arrowhead Pond of Anaheim, when the loss was Bryzgalov (10–11–1)? ### CONTEXT CREATE TABLE table_name_53 (record VARCHAR, arena VARCHAR, loss VARCHAR) ### ANSWER SELECT record FROM table_name_53 WHERE arena = "arrowhead pond of anaheim" AND loss = "bryzgalov (10–11–1)"
{ "answer": "SELECT record FROM table_name_53 WHERE arena = \"arrowhead pond of anaheim\" AND loss = \"bryzgalov (10–11–1)\"", "context": "CREATE TABLE table_name_53 (record VARCHAR, arena VARCHAR, loss VARCHAR)", "question": "What is the record at Arrowhead Pond of Anaheim, when the loss was Bryzgalov (10–11–1)?" }
### QUESTION Name the number of ranks for international tourist arrivals being 6.2 million ### CONTEXT CREATE TABLE table_14752049_5 (rank VARCHAR, international_tourist_arrivals__2011_ VARCHAR) ### ANSWER SELECT COUNT(rank) FROM table_14752049_5 WHERE international_tourist_arrivals__2011_ = "6.2 million"
{ "answer": "SELECT COUNT(rank) FROM table_14752049_5 WHERE international_tourist_arrivals__2011_ = \"6.2 million\"", "context": "CREATE TABLE table_14752049_5 (rank VARCHAR, international_tourist_arrivals__2011_ VARCHAR)", "question": "Name the number of ranks for international tourist arrivals being 6.2 million" }
### QUESTION how many years has сенки been nominated? ### CONTEXT CREATE TABLE table_14928423_1 (year__ceremony_ VARCHAR, original_title VARCHAR) ### ANSWER SELECT COUNT(year__ceremony_) FROM table_14928423_1 WHERE original_title = "Сенки"
{ "answer": "SELECT COUNT(year__ceremony_) FROM table_14928423_1 WHERE original_title = \"Сенки\"", "context": "CREATE TABLE table_14928423_1 (year__ceremony_ VARCHAR, original_title VARCHAR)", "question": "how many years has сенки been nominated?" }
### QUESTION What is the average Total, when Gold is 0, and when Nation is Iran? ### CONTEXT CREATE TABLE table_name_71 (total INTEGER, gold VARCHAR, nation VARCHAR) ### ANSWER SELECT AVG(total) FROM table_name_71 WHERE gold = 0 AND nation = "iran"
{ "answer": "SELECT AVG(total) FROM table_name_71 WHERE gold = 0 AND nation = \"iran\"", "context": "CREATE TABLE table_name_71 (total INTEGER, gold VARCHAR, nation VARCHAR)", "question": "What is the average Total, when Gold is 0, and when Nation is Iran?" }
### QUESTION Where did Zimbabwe play? ### CONTEXT CREATE TABLE table_name_63 (venue VARCHAR, opponent VARCHAR) ### ANSWER SELECT venue FROM table_name_63 WHERE opponent = "zimbabwe"
{ "answer": "SELECT venue FROM table_name_63 WHERE opponent = \"zimbabwe\"", "context": "CREATE TABLE table_name_63 (venue VARCHAR, opponent VARCHAR)", "question": "Where did Zimbabwe play?" }
### QUESTION Which Label has a Country of united kingdom, a Date of 22 september 2008, and a Catalogue number(s) of eredv711? ### CONTEXT CREATE TABLE table_name_61 (label VARCHAR, catalogue_number_s_ VARCHAR, country VARCHAR, date VARCHAR) ### ANSWER SELECT label FROM table_name_61 WHERE country = "united kingdom" AND date = "22 september 2008" AND catalogue_number_s_ = "eredv711"
{ "answer": "SELECT label FROM table_name_61 WHERE country = \"united kingdom\" AND date = \"22 september 2008\" AND catalogue_number_s_ = \"eredv711\"", "context": "CREATE TABLE table_name_61 (label VARCHAR, catalogue_number_s_ VARCHAR, country VARCHAR, date VARCHAR)", "question": "Which Label has a Country of united kingdom, a Date of 22 september 2008, and a Catalogue number(s) of eredv711?" }
### QUESTION The episode titled "Epiphany" received what scripted show ranking? ### CONTEXT CREATE TABLE table_22170495_7 (scripted_show_ranking INTEGER, title VARCHAR) ### ANSWER SELECT MIN(scripted_show_ranking) FROM table_22170495_7 WHERE title = "Epiphany"
{ "answer": "SELECT MIN(scripted_show_ranking) FROM table_22170495_7 WHERE title = \"Epiphany\"", "context": "CREATE TABLE table_22170495_7 (scripted_show_ranking INTEGER, title VARCHAR)", "question": "The episode titled \"Epiphany\" received what scripted show ranking?" }
### QUESTION What is every value for Points 2 when the value of won is 30? ### CONTEXT CREATE TABLE table_17359181_1 (points_2 VARCHAR, won VARCHAR) ### ANSWER SELECT points_2 FROM table_17359181_1 WHERE won = 30
{ "answer": "SELECT points_2 FROM table_17359181_1 WHERE won = 30", "context": "CREATE TABLE table_17359181_1 (points_2 VARCHAR, won VARCHAR)", "question": "What is every value for Points 2 when the value of won is 30?" }
### QUESTION what's the electorate where election date is 16 cannot handle non-empty timestamp argument! ### CONTEXT CREATE TABLE table_1193568_1 (electorate VARCHAR, election_date VARCHAR) ### ANSWER SELECT electorate FROM table_1193568_1 WHERE election_date = "16 Cannot handle non-empty timestamp argument!"
{ "answer": "SELECT electorate FROM table_1193568_1 WHERE election_date = \"16 Cannot handle non-empty timestamp argument!\"", "context": "CREATE TABLE table_1193568_1 (electorate VARCHAR, election_date VARCHAR)", "question": " what's the electorate where election date is 16 cannot handle non-empty timestamp argument!" }
### QUESTION Name the transfer fee for transfer status for fra ### CONTEXT CREATE TABLE table_name_24 (transfer_fee VARCHAR, status VARCHAR, country VARCHAR) ### ANSWER SELECT transfer_fee FROM table_name_24 WHERE status = "transfer" AND country = "fra"
{ "answer": "SELECT transfer_fee FROM table_name_24 WHERE status = \"transfer\" AND country = \"fra\"", "context": "CREATE TABLE table_name_24 (transfer_fee VARCHAR, status VARCHAR, country VARCHAR)", "question": "Name the transfer fee for transfer status for fra" }
### QUESTION How many artists are above age 46 and joined after 1990? ### CONTEXT CREATE TABLE artist (age VARCHAR, year_join VARCHAR) ### ANSWER SELECT COUNT(*) FROM artist WHERE age > 46 AND year_join > 1990
{ "answer": "SELECT COUNT(*) FROM artist WHERE age > 46 AND year_join > 1990", "context": "CREATE TABLE artist (age VARCHAR, year_join VARCHAR)", "question": "How many artists are above age 46 and joined after 1990?" }
### QUESTION Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15? ### CONTEXT CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR) ### ANSWER SELECT visitor FROM table_name_97 WHERE home = "boston bruins" AND date = "november 15"
{ "answer": "SELECT visitor FROM table_name_97 WHERE home = \"boston bruins\" AND date = \"november 15\"", "context": "CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR)", "question": "Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?" }
### QUESTION What circuit was after round 2 in Victoria? ### CONTEXT CREATE TABLE table_name_64 (circuit VARCHAR, round VARCHAR, state_territory VARCHAR) ### ANSWER SELECT circuit FROM table_name_64 WHERE round > 2 AND state_territory = "victoria"
{ "answer": "SELECT circuit FROM table_name_64 WHERE round > 2 AND state_territory = \"victoria\"", "context": "CREATE TABLE table_name_64 (circuit VARCHAR, round VARCHAR, state_territory VARCHAR)", "question": "What circuit was after round 2 in Victoria?" }
### QUESTION Who did the high rebounds in the game with a 19-6 record? ### CONTEXT CREATE TABLE table_18894744_6 (high_rebounds VARCHAR, record VARCHAR) ### ANSWER SELECT high_rebounds FROM table_18894744_6 WHERE record = "19-6"
{ "answer": "SELECT high_rebounds FROM table_18894744_6 WHERE record = \"19-6\"", "context": "CREATE TABLE table_18894744_6 (high_rebounds VARCHAR, record VARCHAR)", "question": "Who did the high rebounds in the game with a 19-6 record?" }
### QUESTION What player(s) had the score of 64-70-67-69=270? ### CONTEXT CREATE TABLE table_18862490_2 (player VARCHAR, score VARCHAR) ### ANSWER SELECT player FROM table_18862490_2 WHERE score = 64 - 70 - 67 - 69 = 270
{ "answer": "SELECT player FROM table_18862490_2 WHERE score = 64 - 70 - 67 - 69 = 270", "context": "CREATE TABLE table_18862490_2 (player VARCHAR, score VARCHAR)", "question": "What player(s) had the score of 64-70-67-69=270?" }
### QUESTION Which Score has an Opponent in the final of chris haggard robbie koenig? ### CONTEXT CREATE TABLE table_name_17 (score VARCHAR, opponent_in_the_final VARCHAR) ### ANSWER SELECT score FROM table_name_17 WHERE opponent_in_the_final = "chris haggard robbie koenig"
{ "answer": "SELECT score FROM table_name_17 WHERE opponent_in_the_final = \"chris haggard robbie koenig\"", "context": "CREATE TABLE table_name_17 (score VARCHAR, opponent_in_the_final VARCHAR)", "question": "Which Score has an Opponent in the final of chris haggard robbie koenig?" }
### QUESTION Who was the home team that played against Manchester United? ### CONTEXT CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR) ### ANSWER SELECT home_team FROM table_name_86 WHERE away_team = "manchester united"
{ "answer": "SELECT home_team FROM table_name_86 WHERE away_team = \"manchester united\"", "context": "CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR)", "question": "Who was the home team that played against Manchester United?" }
### QUESTION What is the total number of episodes where hugh laurie was the 3rd performer? ### CONTEXT CREATE TABLE table_name_70 (episode VARCHAR, performer_3 VARCHAR) ### ANSWER SELECT COUNT(episode) FROM table_name_70 WHERE performer_3 = "hugh laurie"
{ "answer": "SELECT COUNT(episode) FROM table_name_70 WHERE performer_3 = \"hugh laurie\"", "context": "CREATE TABLE table_name_70 (episode VARCHAR, performer_3 VARCHAR)", "question": "What is the total number of episodes where hugh laurie was the 3rd performer?" }
### QUESTION What is the total prominence number in m of ethiopia, which has a col in m of 1728 and an elevation less than 3,358? ### CONTEXT CREATE TABLE table_name_27 (prominence__m_ VARCHAR, elevation__m_ VARCHAR, country VARCHAR, col__m_ VARCHAR) ### ANSWER SELECT COUNT(prominence__m_) FROM table_name_27 WHERE country = "ethiopia" AND col__m_ = 1728 AND elevation__m_ < 3 OFFSET 358
{ "answer": "SELECT COUNT(prominence__m_) FROM table_name_27 WHERE country = \"ethiopia\" AND col__m_ = 1728 AND elevation__m_ < 3 OFFSET 358", "context": "CREATE TABLE table_name_27 (prominence__m_ VARCHAR, elevation__m_ VARCHAR, country VARCHAR, col__m_ VARCHAR)", "question": "What is the total prominence number in m of ethiopia, which has a col in m of 1728 and an elevation less than 3,358?" }
### QUESTION What are the task details, task id and project id for the projects which are detailed as 'omnis' or have more than 2 outcomes? ### CONTEXT CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR); CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Tasks (task_details VARCHAR, task_id VARCHAR, project_id VARCHAR) ### ANSWER SELECT T1.task_details, T1.task_id, T2.project_id FROM Tasks AS T1 JOIN Projects AS T2 ON T1.project_id = T2.project_id WHERE T2.project_details = 'omnis' UNION SELECT T1.task_details, T1.task_id, T2.project_id FROM Tasks AS T1 JOIN Projects AS T2 ON T1.project_id = T2.project_id JOIN Project_outcomes AS T3 ON T2.project_id = T3.project_id GROUP BY T2.project_id HAVING COUNT(*) > 2
{ "answer": "SELECT T1.task_details, T1.task_id, T2.project_id FROM Tasks AS T1 JOIN Projects AS T2 ON T1.project_id = T2.project_id WHERE T2.project_details = 'omnis' UNION SELECT T1.task_details, T1.task_id, T2.project_id FROM Tasks AS T1 JOIN Projects AS T2 ON T1.project_id = T2.project_id JOIN Project_outcomes AS T3 ON T2.project_id = T3.project_id GROUP BY T2.project_id HAVING COUNT(*) > 2", "context": "CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR); CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Tasks (task_details VARCHAR, task_id VARCHAR, project_id VARCHAR)", "question": "What are the task details, task id and project id for the projects which are detailed as 'omnis' or have more than 2 outcomes?" }
### QUESTION What the time of Paul Hession with more than an 0.187 react? ### CONTEXT CREATE TABLE table_name_76 (time VARCHAR, react VARCHAR, athlete VARCHAR) ### ANSWER SELECT time FROM table_name_76 WHERE react > 0.187 AND athlete = "paul hession"
{ "answer": "SELECT time FROM table_name_76 WHERE react > 0.187 AND athlete = \"paul hession\"", "context": "CREATE TABLE table_name_76 (time VARCHAR, react VARCHAR, athlete VARCHAR)", "question": "What the time of Paul Hession with more than an 0.187 react?" }
### QUESTION Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18? ### CONTEXT CREATE TABLE table_name_81 (took_office VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR) ### ANSWER SELECT COUNT(took_office) FROM table_name_81 WHERE party = "democratic" AND home_town = "victoria" AND district < 18
{ "answer": "SELECT COUNT(took_office) FROM table_name_81 WHERE party = \"democratic\" AND home_town = \"victoria\" AND district < 18", "context": "CREATE TABLE table_name_81 (took_office VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR)", "question": "Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18?" }
### QUESTION Find the county where produces the most number of wines with score higher than 90. ### CONTEXT CREATE TABLE WINE (Appelation VARCHAR, Score INTEGER); CREATE TABLE APPELLATIONS (County VARCHAR, Appelation VARCHAR) ### ANSWER SELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T2.Score > 90 GROUP BY T1.County ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T2.Score > 90 GROUP BY T1.County ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE WINE (Appelation VARCHAR, Score INTEGER); CREATE TABLE APPELLATIONS (County VARCHAR, Appelation VARCHAR)", "question": "Find the county where produces the most number of wines with score higher than 90." }
### QUESTION Which place has 23 floors and a street address in Detroit of 144 west congress street? ### CONTEXT CREATE TABLE table_name_17 (name VARCHAR, floors VARCHAR, street_address_in_detroit VARCHAR) ### ANSWER SELECT name FROM table_name_17 WHERE floors = 23 AND street_address_in_detroit = "144 west congress street"
{ "answer": "SELECT name FROM table_name_17 WHERE floors = 23 AND street_address_in_detroit = \"144 west congress street\"", "context": "CREATE TABLE table_name_17 (name VARCHAR, floors VARCHAR, street_address_in_detroit VARCHAR)", "question": "Which place has 23 floors and a street address in Detroit of 144 west congress street?" }
### QUESTION Who was the home team in the game played at arden street oval? ### CONTEXT CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR) ### ANSWER SELECT home_team AS score FROM table_name_42 WHERE venue = "arden street oval"
{ "answer": "SELECT home_team AS score FROM table_name_42 WHERE venue = \"arden street oval\"", "context": "CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR)", "question": "Who was the home team in the game played at arden street oval?" }
### QUESTION Find the name of physicians who are affiliated with Surgery or Psychiatry department. ### CONTEXT CREATE TABLE affiliated_with (physician VARCHAR, department VARCHAR); CREATE TABLE department (DepartmentID VARCHAR, name VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR) ### ANSWER SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID = T2.physician JOIN department AS T3 ON T2.department = T3.DepartmentID WHERE T3.name = 'Surgery' OR T3.name = 'Psychiatry'
{ "answer": "SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID = T2.physician JOIN department AS T3 ON T2.department = T3.DepartmentID WHERE T3.name = 'Surgery' OR T3.name = 'Psychiatry'", "context": "CREATE TABLE affiliated_with (physician VARCHAR, department VARCHAR); CREATE TABLE department (DepartmentID VARCHAR, name VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)", "question": "Find the name of physicians who are affiliated with Surgery or Psychiatry department." }
### QUESTION How many points associated with a Best time of 01:46.367? ### CONTEXT CREATE TABLE table_name_76 (points INTEGER, best_time VARCHAR) ### ANSWER SELECT AVG(points) FROM table_name_76 WHERE best_time = "01:46.367"
{ "answer": "SELECT AVG(points) FROM table_name_76 WHERE best_time = \"01:46.367\"", "context": "CREATE TABLE table_name_76 (points INTEGER, best_time VARCHAR)", "question": "How many points associated with a Best time of 01:46.367?" }
### QUESTION When did the game in whalley range take place? ### CONTEXT CREATE TABLE table_name_87 (date VARCHAR, h___a VARCHAR) ### ANSWER SELECT date FROM table_name_87 WHERE h___a = "whalley range"
{ "answer": "SELECT date FROM table_name_87 WHERE h___a = \"whalley range\"", "context": "CREATE TABLE table_name_87 (date VARCHAR, h___a VARCHAR)", "question": "When did the game in whalley range take place?" }
### QUESTION How many draft picks were for Winnipeg blue bombers? ### CONTEXT CREATE TABLE table_25085059_3 (pick__number VARCHAR, cfl_team VARCHAR) ### ANSWER SELECT COUNT(pick__number) FROM table_25085059_3 WHERE cfl_team = "Winnipeg Blue Bombers"
{ "answer": "SELECT COUNT(pick__number) FROM table_25085059_3 WHERE cfl_team = \"Winnipeg Blue Bombers\"", "context": "CREATE TABLE table_25085059_3 (pick__number VARCHAR, cfl_team VARCHAR)", "question": "How many draft picks were for Winnipeg blue bombers?" }
### QUESTION Which Interview has a Province of monte cristi and a Swimsuit larger than 7.27 ### CONTEXT CREATE TABLE table_name_75 (interview INTEGER, province VARCHAR, swimsuit VARCHAR) ### ANSWER SELECT SUM(interview) FROM table_name_75 WHERE province = "monte cristi" AND swimsuit > 7.27
{ "answer": "SELECT SUM(interview) FROM table_name_75 WHERE province = \"monte cristi\" AND swimsuit > 7.27", "context": "CREATE TABLE table_name_75 (interview INTEGER, province VARCHAR, swimsuit VARCHAR)", "question": "Which Interview has a Province of monte cristi and a Swimsuit larger than 7.27" }
### QUESTION What are the ids of stations that are located in San Francisco and have average bike availability above 10. ### CONTEXT CREATE TABLE status (id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER); CREATE TABLE station (id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER) ### ANSWER SELECT id FROM station WHERE city = "San Francisco" INTERSECT SELECT station_id FROM status GROUP BY station_id HAVING AVG(bikes_available) > 10
{ "answer": "SELECT id FROM station WHERE city = \"San Francisco\" INTERSECT SELECT station_id FROM status GROUP BY station_id HAVING AVG(bikes_available) > 10", "context": "CREATE TABLE status (id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER); CREATE TABLE station (id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER)", "question": "What are the ids of stations that are located in San Francisco and have average bike availability above 10." }
### QUESTION Which opponent had 73,428 in attendance? ### CONTEXT CREATE TABLE table_name_32 (opponent VARCHAR, attendance VARCHAR) ### ANSWER SELECT opponent FROM table_name_32 WHERE attendance = "73,428"
{ "answer": "SELECT opponent FROM table_name_32 WHERE attendance = \"73,428\"", "context": "CREATE TABLE table_name_32 (opponent VARCHAR, attendance VARCHAR)", "question": "Which opponent had 73,428 in attendance?" }
### QUESTION What date was the race at the Symmons Plains Raceway? ### CONTEXT CREATE TABLE table_22905641_2 (date VARCHAR, circuit VARCHAR) ### ANSWER SELECT date FROM table_22905641_2 WHERE circuit = "Symmons Plains Raceway"
{ "answer": "SELECT date FROM table_22905641_2 WHERE circuit = \"Symmons Plains Raceway\"", "context": "CREATE TABLE table_22905641_2 (date VARCHAR, circuit VARCHAR)", "question": "What date was the race at the Symmons Plains Raceway?" }
### QUESTION Other income sources of 2%, and a State pensions of 7%, and a Working tax credit of 2%, and a Employment ( salaries & wages) of 66% has what occupational pensions? ### CONTEXT CREATE TABLE table_name_34 (occupational_pensions VARCHAR, working_tax_credit VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR, other_income_sources VARCHAR, state_pensions VARCHAR) ### ANSWER SELECT occupational_pensions FROM table_name_34 WHERE other_income_sources = "2%" AND state_pensions = "7%" AND working_tax_credit = "2%" AND employment___salaries_ & _wages_ = "66%"
{ "answer": "SELECT occupational_pensions FROM table_name_34 WHERE other_income_sources = \"2%\" AND state_pensions = \"7%\" AND working_tax_credit = \"2%\" AND employment___salaries_ & _wages_ = \"66%\"", "context": "CREATE TABLE table_name_34 (occupational_pensions VARCHAR, working_tax_credit VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR, other_income_sources VARCHAR, state_pensions VARCHAR)", "question": "Other income sources of 2%, and a State pensions of 7%, and a Working tax credit of 2%, and a Employment ( salaries & wages) of 66% has what occupational pensions?" }
### QUESTION How many losses are there in the CD Sabadell club with a goal difference less than -2, and more than 38 played? ### CONTEXT CREATE TABLE table_name_26 (losses INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) ### ANSWER SELECT SUM(losses) FROM table_name_26 WHERE goal_difference < -2 AND club = "cd sabadell" AND played > 38
{ "answer": "SELECT SUM(losses) FROM table_name_26 WHERE goal_difference < -2 AND club = \"cd sabadell\" AND played > 38", "context": "CREATE TABLE table_name_26 (losses INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)", "question": "How many losses are there in the CD Sabadell club with a goal difference less than -2, and more than 38 played?" }
### QUESTION How many were the show's average weekly ranking when it reached No. 2 in average nightly ranking? ### CONTEXT CREATE TABLE table_15358729_6 (average_weekly_rank VARCHAR, average_nightly_rank VARCHAR) ### ANSWER SELECT COUNT(average_weekly_rank) FROM table_15358729_6 WHERE average_nightly_rank = "No. 2"
{ "answer": "SELECT COUNT(average_weekly_rank) FROM table_15358729_6 WHERE average_nightly_rank = \"No. 2\"", "context": "CREATE TABLE table_15358729_6 (average_weekly_rank VARCHAR, average_nightly_rank VARCHAR)", "question": "How many were the show's average weekly ranking when it reached No. 2 in average nightly ranking?" }
### QUESTION What is the club that has the turkish basketball cup and fiba eurochallenge (3rd tier)? ### CONTEXT CREATE TABLE table_name_97 (club VARCHAR, national_cup VARCHAR, european_cup VARCHAR) ### ANSWER SELECT club FROM table_name_97 WHERE national_cup = "turkish basketball cup" AND european_cup = "fiba eurochallenge (3rd tier)"
{ "answer": "SELECT club FROM table_name_97 WHERE national_cup = \"turkish basketball cup\" AND european_cup = \"fiba eurochallenge (3rd tier)\"", "context": "CREATE TABLE table_name_97 (club VARCHAR, national_cup VARCHAR, european_cup VARCHAR)", "question": "What is the club that has the turkish basketball cup and fiba eurochallenge (3rd tier)?" }
### QUESTION Show the delegates and the names of county they belong to. ### CONTEXT CREATE TABLE election (Delegate VARCHAR, District VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR) ### ANSWER SELECT T2.Delegate, T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District
{ "answer": "SELECT T2.Delegate, T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District", "context": "CREATE TABLE election (Delegate VARCHAR, District VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR)", "question": "Show the delegates and the names of county they belong to." }
### QUESTION What is the date for Orangeville? ### CONTEXT CREATE TABLE table_name_56 (date VARCHAR, name VARCHAR) ### ANSWER SELECT date FROM table_name_56 WHERE name = "orangeville"
{ "answer": "SELECT date FROM table_name_56 WHERE name = \"orangeville\"", "context": "CREATE TABLE table_name_56 (date VARCHAR, name VARCHAR)", "question": "What is the date for Orangeville?" }
### QUESTION Which Game Site has a Date of october 17, 1999? ### CONTEXT CREATE TABLE table_name_1 (game_site VARCHAR, date VARCHAR) ### ANSWER SELECT game_site FROM table_name_1 WHERE date = "october 17, 1999"
{ "answer": "SELECT game_site FROM table_name_1 WHERE date = \"october 17, 1999\"", "context": "CREATE TABLE table_name_1 (game_site VARCHAR, date VARCHAR)", "question": "Which Game Site has a Date of october 17, 1999?" }
### QUESTION What is the area of the village with a census ranking of 1,442 of 5,008 and a population less than 1,778? ### CONTEXT CREATE TABLE table_name_92 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, census_ranking VARCHAR) ### ANSWER SELECT MAX(area_km_2) FROM table_name_92 WHERE status = "village" AND census_ranking = "1,442 of 5,008" AND population < 1 OFFSET 778
{ "answer": "SELECT MAX(area_km_2) FROM table_name_92 WHERE status = \"village\" AND census_ranking = \"1,442 of 5,008\" AND population < 1 OFFSET 778", "context": "CREATE TABLE table_name_92 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, census_ranking VARCHAR)", "question": "What is the area of the village with a census ranking of 1,442 of 5,008 and a population less than 1,778?" }
### QUESTION Name the total number of club worl cup for djibril cisse ### CONTEXT CREATE TABLE table_19764939_1 (club_world_cup VARCHAR, player VARCHAR) ### ANSWER SELECT COUNT(club_world_cup) FROM table_19764939_1 WHERE player = "Djibril Cisse"
{ "answer": "SELECT COUNT(club_world_cup) FROM table_19764939_1 WHERE player = \"Djibril Cisse\"", "context": "CREATE TABLE table_19764939_1 (club_world_cup VARCHAR, player VARCHAR)", "question": "Name the total number of club worl cup for djibril cisse" }
### QUESTION Name the most revenue for operating income more than 27 for hamburg and debt as % of value less than 0 ### CONTEXT CREATE TABLE table_name_92 (revenue__ INTEGER, debt_as__percentage_of_value VARCHAR, operating_income__$m_ VARCHAR, team VARCHAR) ### ANSWER SELECT MAX(revenue__) AS $m_ FROM table_name_92 WHERE operating_income__$m_ > 27 AND team = "hamburg" AND debt_as__percentage_of_value < 0
{ "answer": "SELECT MAX(revenue__) AS $m_ FROM table_name_92 WHERE operating_income__$m_ > 27 AND team = \"hamburg\" AND debt_as__percentage_of_value < 0", "context": "CREATE TABLE table_name_92 (revenue__ INTEGER, debt_as__percentage_of_value VARCHAR, operating_income__$m_ VARCHAR, team VARCHAR)", "question": "Name the most revenue for operating income more than 27 for hamburg and debt as % of value less than 0" }
### QUESTION How many millions of $ were spent in Iceland in 1948/49? ### CONTEXT ### ANSWER SELECT MAX(*) AS millions FROM countries WHERE country = "Iceland" AND year in (1948, 1949)
{ "answer": "SELECT MAX(*) AS millions FROM countries WHERE country = \"Iceland\" AND year in (1948, 1949)", "context": "", "question": "How many millions of $ were spent in Iceland in 1948/49?" }
### QUESTION Name the total number of rank for east midnapore ### CONTEXT CREATE TABLE table_2527063_3 (rank VARCHAR, district VARCHAR) ### ANSWER SELECT COUNT(rank) FROM table_2527063_3 WHERE district = "East Midnapore"
{ "answer": "SELECT COUNT(rank) FROM table_2527063_3 WHERE district = \"East Midnapore\"", "context": "CREATE TABLE table_2527063_3 (rank VARCHAR, district VARCHAR)", "question": "Name the total number of rank for east midnapore" }
### QUESTION Which sum of AVE-No has a Name of albula alps, and a Height (m) larger than 3418? ### CONTEXT CREATE TABLE table_name_98 (ave__no INTEGER, name VARCHAR, height__m_ VARCHAR) ### ANSWER SELECT SUM(ave__no) FROM table_name_98 WHERE name = "albula alps" AND height__m_ > 3418
{ "answer": "SELECT SUM(ave__no) FROM table_name_98 WHERE name = \"albula alps\" AND height__m_ > 3418", "context": "CREATE TABLE table_name_98 (ave__no INTEGER, name VARCHAR, height__m_ VARCHAR)", "question": "Which sum of AVE-No has a Name of albula alps, and a Height (m) larger than 3418?" }
### QUESTION In which year was the Tournament of european indoor championships played where the Extra was 800 m and the Result was 2nd? ### CONTEXT CREATE TABLE table_name_95 (year VARCHAR, result VARCHAR, extra VARCHAR, tournament VARCHAR) ### ANSWER SELECT year FROM table_name_95 WHERE extra = "800 m" AND tournament = "european indoor championships" AND result = "2nd"
{ "answer": "SELECT year FROM table_name_95 WHERE extra = \"800 m\" AND tournament = \"european indoor championships\" AND result = \"2nd\"", "context": "CREATE TABLE table_name_95 (year VARCHAR, result VARCHAR, extra VARCHAR, tournament VARCHAR)", "question": "In which year was the Tournament of european indoor championships played where the Extra was 800 m and the Result was 2nd?" }
### QUESTION What is the document type code for document type "Paper"? ### CONTEXT CREATE TABLE Ref_document_types (document_type_code VARCHAR, document_type_name VARCHAR) ### ANSWER SELECT document_type_code FROM Ref_document_types WHERE document_type_name = "Paper"
{ "answer": "SELECT document_type_code FROM Ref_document_types WHERE document_type_name = \"Paper\"", "context": "CREATE TABLE Ref_document_types (document_type_code VARCHAR, document_type_name VARCHAR)", "question": "What is the document type code for document type \"Paper\"?" }
### QUESTION What year did the winnings equal $281,945? ### CONTEXT CREATE TABLE table_2182562_1 (year VARCHAR, winnings VARCHAR) ### ANSWER SELECT year FROM table_2182562_1 WHERE winnings = "$281,945"
{ "answer": "SELECT year FROM table_2182562_1 WHERE winnings = \"$281,945\"", "context": "CREATE TABLE table_2182562_1 (year VARCHAR, winnings VARCHAR)", "question": "What year did the winnings equal $281,945?" }
### QUESTION What is the long figure when gain is less than 0? ### CONTEXT CREATE TABLE table_name_28 (long INTEGER, gain INTEGER) ### ANSWER SELECT AVG(long) FROM table_name_28 WHERE gain < 0
{ "answer": "SELECT AVG(long) FROM table_name_28 WHERE gain < 0", "context": "CREATE TABLE table_name_28 (long INTEGER, gain INTEGER)", "question": "What is the long figure when gain is less than 0?" }
### QUESTION What is the latitude that has a sqmi smaller than 34.401, a Geo ID smaller than 3807157722, and a Longitude of -98.475995? ### CONTEXT CREATE TABLE table_name_18 (latitude VARCHAR, longitude VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR) ### ANSWER SELECT latitude FROM table_name_18 WHERE land___sqmi__ < 34.401 AND geo_id < 3807157722 AND longitude = -98.475995
{ "answer": "SELECT latitude FROM table_name_18 WHERE land___sqmi__ < 34.401 AND geo_id < 3807157722 AND longitude = -98.475995", "context": "CREATE TABLE table_name_18 (latitude VARCHAR, longitude VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR)", "question": "What is the latitude that has a sqmi smaller than 34.401, a Geo ID smaller than 3807157722, and a Longitude of -98.475995?" }
### QUESTION Tony P. Hall was the incumbent in the race between what two candidates? ### CONTEXT CREATE TABLE table_1341453_37 (candidates VARCHAR, incumbent VARCHAR) ### ANSWER SELECT candidates FROM table_1341453_37 WHERE incumbent = "Tony P. Hall"
{ "answer": "SELECT candidates FROM table_1341453_37 WHERE incumbent = \"Tony P. Hall\"", "context": "CREATE TABLE table_1341453_37 (candidates VARCHAR, incumbent VARCHAR)", "question": "Tony P. Hall was the incumbent in the race between what two candidates? " }
### QUESTION Which visitor visited on February 21? ### CONTEXT CREATE TABLE table_name_14 (visitor VARCHAR, date VARCHAR) ### ANSWER SELECT visitor FROM table_name_14 WHERE date = "february 21"
{ "answer": "SELECT visitor FROM table_name_14 WHERE date = \"february 21\"", "context": "CREATE TABLE table_name_14 (visitor VARCHAR, date VARCHAR)", "question": "Which visitor visited on February 21?" }
### QUESTION Which week has a Kickoff time of 1:00 with a record of 4-5-1? ### CONTEXT CREATE TABLE table_name_85 (week VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR) ### ANSWER SELECT week FROM table_name_85 WHERE kickoff_[a_] = "1:00" AND record = "4-5-1"
{ "answer": "SELECT week FROM table_name_85 WHERE kickoff_[a_] = \"1:00\" AND record = \"4-5-1\"", "context": "CREATE TABLE table_name_85 (week VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)", "question": "Which week has a Kickoff time of 1:00 with a record of 4-5-1?" }
### QUESTION What is the maximum fc matches at the racecourse? ### CONTEXT CREATE TABLE table_1176371_1 (fc_matches INTEGER, name_of_ground VARCHAR) ### ANSWER SELECT MAX(fc_matches) FROM table_1176371_1 WHERE name_of_ground = "The Racecourse"
{ "answer": "SELECT MAX(fc_matches) FROM table_1176371_1 WHERE name_of_ground = \"The Racecourse\"", "context": "CREATE TABLE table_1176371_1 (fc_matches INTEGER, name_of_ground VARCHAR)", "question": "What is the maximum fc matches at the racecourse?" }
### QUESTION When was Stellbrookmoor established? ### CONTEXT CREATE TABLE table_26013618_1 (date_established VARCHAR, name_of_the_nature_reserve VARCHAR) ### ANSWER SELECT date_established FROM table_26013618_1 WHERE name_of_the_nature_reserve = "Stellbrookmoor"
{ "answer": "SELECT date_established FROM table_26013618_1 WHERE name_of_the_nature_reserve = \"Stellbrookmoor\"", "context": "CREATE TABLE table_26013618_1 (date_established VARCHAR, name_of_the_nature_reserve VARCHAR)", "question": "When was Stellbrookmoor established?" }
### QUESTION What is the Score of the Burnley Home game? ### CONTEXT CREATE TABLE table_name_57 (score VARCHAR, home_team VARCHAR) ### ANSWER SELECT score FROM table_name_57 WHERE home_team = "burnley"
{ "answer": "SELECT score FROM table_name_57 WHERE home_team = \"burnley\"", "context": "CREATE TABLE table_name_57 (score VARCHAR, home_team VARCHAR)", "question": "What is the Score of the Burnley Home game?" }
### QUESTION Which opponent has a game larger than 23, December larger than 8, and record of 8-10-7? ### CONTEXT CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR, game VARCHAR, december VARCHAR) ### ANSWER SELECT opponent FROM table_name_55 WHERE game > 23 AND december > 8 AND record = "8-10-7"
{ "answer": "SELECT opponent FROM table_name_55 WHERE game > 23 AND december > 8 AND record = \"8-10-7\"", "context": "CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR, game VARCHAR, december VARCHAR)", "question": "Which opponent has a game larger than 23, December larger than 8, and record of 8-10-7?" }
### QUESTION Show all storm names except for those with at least two affected regions. ### CONTEXT CREATE TABLE storm (name VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR) ### ANSWER SELECT name FROM storm EXCEPT SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id HAVING COUNT(*) >= 2
{ "answer": "SELECT name FROM storm EXCEPT SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id HAVING COUNT(*) >= 2", "context": "CREATE TABLE storm (name VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR)", "question": "Show all storm names except for those with at least two affected regions." }
### QUESTION What episode was directed by Karen Gaviola? ### CONTEXT CREATE TABLE table_20726262_6 (no_in_season INTEGER, directedby VARCHAR) ### ANSWER SELECT MIN(no_in_season) FROM table_20726262_6 WHERE directedby = "Karen Gaviola"
{ "answer": "SELECT MIN(no_in_season) FROM table_20726262_6 WHERE directedby = \"Karen Gaviola\"", "context": "CREATE TABLE table_20726262_6 (no_in_season INTEGER, directedby VARCHAR)", "question": "What episode was directed by Karen Gaviola?" }
### QUESTION Which month and year held the Bolivia Special title? ### CONTEXT CREATE TABLE table_name_18 (month_ VARCHAR, _year VARCHAR, title VARCHAR) ### ANSWER SELECT month_ & _year FROM table_name_18 WHERE title = "bolivia special"
{ "answer": "SELECT month_ & _year FROM table_name_18 WHERE title = \"bolivia special\"", "context": "CREATE TABLE table_name_18 (month_ VARCHAR, _year VARCHAR, title VARCHAR)", "question": "Which month and year held the Bolivia Special title?" }
### QUESTION WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87? ### CONTEXT CREATE TABLE table_name_73 (draw INTEGER, song VARCHAR, points VARCHAR) ### ANSWER SELECT MAX(draw) FROM table_name_73 WHERE song = "u ritmu ljubavi" AND points > 87
{ "answer": "SELECT MAX(draw) FROM table_name_73 WHERE song = \"u ritmu ljubavi\" AND points > 87", "context": "CREATE TABLE table_name_73 (draw INTEGER, song VARCHAR, points VARCHAR)", "question": "WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87?" }
### QUESTION Who was the winner in the competition in which Lyn took third place and Lillestrøm was the runner-up? ### CONTEXT CREATE TABLE table_name_44 (winners VARCHAR, runners_up VARCHAR, third VARCHAR) ### ANSWER SELECT winners FROM table_name_44 WHERE runners_up = "lillestrøm" AND third = "lyn"
{ "answer": "SELECT winners FROM table_name_44 WHERE runners_up = \"lillestrøm\" AND third = \"lyn\"", "context": "CREATE TABLE table_name_44 (winners VARCHAR, runners_up VARCHAR, third VARCHAR)", "question": "Who was the winner in the competition in which Lyn took third place and Lillestrøm was the runner-up?" }
### QUESTION What province has an election after 2009? ### CONTEXT CREATE TABLE table_name_55 (province VARCHAR, election INTEGER) ### ANSWER SELECT province FROM table_name_55 WHERE election > 2009
{ "answer": "SELECT province FROM table_name_55 WHERE election > 2009", "context": "CREATE TABLE table_name_55 (province VARCHAR, election INTEGER)", "question": "What province has an election after 2009?" }
### QUESTION What is the sum of lost when against is less than 37, drawn is more than 2, and played is more than 20? ### CONTEXT CREATE TABLE table_name_93 (lost VARCHAR, played VARCHAR, against VARCHAR, drawn VARCHAR) ### ANSWER SELECT COUNT(lost) FROM table_name_93 WHERE against < 37 AND drawn > 2 AND played > 20
{ "answer": "SELECT COUNT(lost) FROM table_name_93 WHERE against < 37 AND drawn > 2 AND played > 20", "context": "CREATE TABLE table_name_93 (lost VARCHAR, played VARCHAR, against VARCHAR, drawn VARCHAR)", "question": "What is the sum of lost when against is less than 37, drawn is more than 2, and played is more than 20?" }
### QUESTION Name the number of assists for 321 minutes ### CONTEXT CREATE TABLE table_23184448_4 (assists VARCHAR, minutes VARCHAR) ### ANSWER SELECT COUNT(assists) FROM table_23184448_4 WHERE minutes = 321
{ "answer": "SELECT COUNT(assists) FROM table_23184448_4 WHERE minutes = 321", "context": "CREATE TABLE table_23184448_4 (assists VARCHAR, minutes VARCHAR)", "question": "Name the number of assists for 321 minutes " }
### QUESTION What was the box score for the game that had the Townsville Crocodiles as home team? ### CONTEXT CREATE TABLE table_name_95 (Box VARCHAR, home_team VARCHAR) ### ANSWER SELECT Box AS score FROM table_name_95 WHERE home_team = "townsville crocodiles"
{ "answer": "SELECT Box AS score FROM table_name_95 WHERE home_team = \"townsville crocodiles\"", "context": "CREATE TABLE table_name_95 (Box VARCHAR, home_team VARCHAR)", "question": "What was the box score for the game that had the Townsville Crocodiles as home team?" }
### QUESTION How many episodes in the series has a production code of 111? ### CONTEXT CREATE TABLE table_24425976_2 (series VARCHAR, production_code VARCHAR) ### ANSWER SELECT COUNT(series) FROM table_24425976_2 WHERE production_code = "111"
{ "answer": "SELECT COUNT(series) FROM table_24425976_2 WHERE production_code = \"111\"", "context": "CREATE TABLE table_24425976_2 (series VARCHAR, production_code VARCHAR)", "question": "How many episodes in the series has a production code of 111?" }
### QUESTION What are the first name, last name and id of the player with the most all star game experiences? Also list the count. ### CONTEXT CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE all_star (player_id VARCHAR) ### ANSWER SELECT T1.name_first, T1.name_last, T1.player_id, COUNT(*) FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.name_first, T1.name_last, T1.player_id, COUNT(*) FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE all_star (player_id VARCHAR)", "question": "What are the first name, last name and id of the player with the most all star game experiences? Also list the count." }
### QUESTION What is the Total with the Event 2004 Athens and Gold less than 20? ### CONTEXT CREATE TABLE table_name_21 (total INTEGER, event VARCHAR, gold VARCHAR) ### ANSWER SELECT SUM(total) FROM table_name_21 WHERE event = "2004 athens" AND gold < 20
{ "answer": "SELECT SUM(total) FROM table_name_21 WHERE event = \"2004 athens\" AND gold < 20", "context": "CREATE TABLE table_name_21 (total INTEGER, event VARCHAR, gold VARCHAR)", "question": "What is the Total with the Event 2004 Athens and Gold less than 20?" }
### QUESTION What was the lowest home attendance for the southern derby? ### CONTEXT CREATE TABLE table_14302582_1 (home_attendance INTEGER, competition VARCHAR) ### ANSWER SELECT MIN(home_attendance) FROM table_14302582_1 WHERE competition = "Southern Derby"
{ "answer": "SELECT MIN(home_attendance) FROM table_14302582_1 WHERE competition = \"Southern Derby\"", "context": "CREATE TABLE table_14302582_1 (home_attendance INTEGER, competition VARCHAR)", "question": "What was the lowest home attendance for the southern derby?" }