text
stringlengths
146
1.06k
source
dict
### QUESTION Which Population (2005) has a Literacy (2003) of 90%, and an Infant Mortality (2002) of 18.3‰? ### CONTEXT CREATE TABLE table_name_14 (population__2005_ INTEGER, literacy__2003_ VARCHAR, infant_mortality__2002_ VARCHAR) ### ANSWER SELECT SUM(population__2005_) FROM table_name_14 WHERE literacy__2003_ = "90%" AND infant_mortality__2002_ = "18.3‰"
{ "answer": "SELECT SUM(population__2005_) FROM table_name_14 WHERE literacy__2003_ = \"90%\" AND infant_mortality__2002_ = \"18.3‰\"", "context": "CREATE TABLE table_name_14 (population__2005_ INTEGER, literacy__2003_ VARCHAR, infant_mortality__2002_ VARCHAR)", "question": "Which Population (2005) has a Literacy (2003) of 90%, and an Infant Mortality (2002) of 18.3‰?" }
### QUESTION What is the content when the package/option is qualsiasi and sky primafila 14 is the television service? ### CONTEXT CREATE TABLE table_name_13 (content VARCHAR, package_option VARCHAR, television_service VARCHAR) ### ANSWER SELECT content FROM table_name_13 WHERE package_option = "qualsiasi" AND television_service = "sky primafila 14"
{ "answer": "SELECT content FROM table_name_13 WHERE package_option = \"qualsiasi\" AND television_service = \"sky primafila 14\"", "context": "CREATE TABLE table_name_13 (content VARCHAR, package_option VARCHAR, television_service VARCHAR)", "question": "What is the content when the package/option is qualsiasi and sky primafila 14 is the television service?" }
### QUESTION Which Pick # is the highest one that has a Name of lawrence sidbury, and a Round smaller than 4? ### CONTEXT CREATE TABLE table_name_86 (pick__number INTEGER, name VARCHAR, round VARCHAR) ### ANSWER SELECT MAX(pick__number) FROM table_name_86 WHERE name = "lawrence sidbury" AND round < 4
{ "answer": "SELECT MAX(pick__number) FROM table_name_86 WHERE name = \"lawrence sidbury\" AND round < 4", "context": "CREATE TABLE table_name_86 (pick__number INTEGER, name VARCHAR, round VARCHAR)", "question": "Which Pick # is the highest one that has a Name of lawrence sidbury, and a Round smaller than 4?" }
### QUESTION When Richmond is the Away team, what did they score? ### CONTEXT CREATE TABLE table_name_2 (away_team VARCHAR) ### ANSWER SELECT away_team AS score FROM table_name_2 WHERE away_team = "richmond"
{ "answer": "SELECT away_team AS score FROM table_name_2 WHERE away_team = \"richmond\"", "context": "CREATE TABLE table_name_2 (away_team VARCHAR)", "question": "When Richmond is the Away team, what did they score?" }
### QUESTION Name the most # of total votes with % of popular vote of 32.41% and # of seats won more than 95 ### CONTEXT CREATE TABLE table_name_31 (_number_of_total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR) ### ANSWER SELECT MAX(_number_of_total_votes) FROM table_name_31 WHERE _percentage_of_popular_vote = "32.41%" AND _number_of_seats_won > 95
{ "answer": "SELECT MAX(_number_of_total_votes) FROM table_name_31 WHERE _percentage_of_popular_vote = \"32.41%\" AND _number_of_seats_won > 95", "context": "CREATE TABLE table_name_31 (_number_of_total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)", "question": "Name the most # of total votes with % of popular vote of 32.41% and # of seats won more than 95" }
### QUESTION List the cost of each treatment and the corresponding treatment type description. ### CONTEXT CREATE TABLE Treatments (cost_of_treatment VARCHAR, treatment_type_code VARCHAR); CREATE TABLE treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR) ### ANSWER SELECT T1.cost_of_treatment, T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code = T2.treatment_type_code
{ "answer": "SELECT T1.cost_of_treatment, T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code = T2.treatment_type_code", "context": "CREATE TABLE Treatments (cost_of_treatment VARCHAR, treatment_type_code VARCHAR); CREATE TABLE treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR)", "question": "List the cost of each treatment and the corresponding treatment type description." }
### QUESTION What is the lowest market value (billion $) with a headquarter of usa , and the rank larger than 3, assets (billion$) larger than 208.34, and the company jpmorgan chase? ### CONTEXT CREATE TABLE table_name_2 (market_value__billion_ INTEGER, company VARCHAR, assets__billion_$_ VARCHAR, headquarters VARCHAR, rank VARCHAR) ### ANSWER SELECT MIN(market_value__billion_) AS $_ FROM table_name_2 WHERE headquarters = "usa" AND rank > 3 AND assets__billion_$_ > 208.34 AND company = "jpmorgan chase"
{ "answer": "SELECT MIN(market_value__billion_) AS $_ FROM table_name_2 WHERE headquarters = \"usa\" AND rank > 3 AND assets__billion_$_ > 208.34 AND company = \"jpmorgan chase\"", "context": "CREATE TABLE table_name_2 (market_value__billion_ INTEGER, company VARCHAR, assets__billion_$_ VARCHAR, headquarters VARCHAR, rank VARCHAR)", "question": "What is the lowest market value (billion $) with a headquarter of usa , and the rank larger than 3, assets (billion$) larger than 208.34, and the company jpmorgan chase?" }
### QUESTION What is the id and last name of the driver who participated in the most races after 2010? ### CONTEXT CREATE TABLE drivers (driverid VARCHAR, surname VARCHAR); CREATE TABLE races (raceid VARCHAR, year INTEGER); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR) ### ANSWER SELECT T1.driverid, T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid WHERE T3.year > 2010 GROUP BY T1.driverid ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.driverid, T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid WHERE T3.year > 2010 GROUP BY T1.driverid ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE drivers (driverid VARCHAR, surname VARCHAR); CREATE TABLE races (raceid VARCHAR, year INTEGER); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR)", "question": "What is the id and last name of the driver who participated in the most races after 2010?" }
### QUESTION What's greatest attendance on May 7? ### CONTEXT CREATE TABLE table_name_89 (attendance INTEGER, date VARCHAR) ### ANSWER SELECT MAX(attendance) FROM table_name_89 WHERE date = "may 7"
{ "answer": "SELECT MAX(attendance) FROM table_name_89 WHERE date = \"may 7\"", "context": "CREATE TABLE table_name_89 (attendance INTEGER, date VARCHAR)", "question": "What's greatest attendance on May 7?" }
### QUESTION What event was Rob Vine riding? ### CONTEXT CREATE TABLE table_name_56 (event VARCHAR, rider VARCHAR) ### ANSWER SELECT event FROM table_name_56 WHERE rider = "rob vine"
{ "answer": "SELECT event FROM table_name_56 WHERE rider = \"rob vine\"", "context": "CREATE TABLE table_name_56 (event VARCHAR, rider VARCHAR)", "question": "What event was Rob Vine riding?" }
### QUESTION What district is the democratic Francis C. Le Blond from? ### CONTEXT CREATE TABLE table_name_69 (district VARCHAR, party VARCHAR, incumbent VARCHAR) ### ANSWER SELECT district FROM table_name_69 WHERE party = "democratic" AND incumbent = "francis c. le blond"
{ "answer": "SELECT district FROM table_name_69 WHERE party = \"democratic\" AND incumbent = \"francis c. le blond\"", "context": "CREATE TABLE table_name_69 (district VARCHAR, party VARCHAR, incumbent VARCHAR)", "question": "What district is the democratic Francis C. Le Blond from?" }
### QUESTION List the first and last name of the students who do not have any food type allergy. ### CONTEXT CREATE TABLE Student (fname VARCHAR, lname VARCHAR, StuID VARCHAR); CREATE TABLE Allergy_Type (Allergy VARCHAR, allergytype VARCHAR); CREATE TABLE Has_allergy (StuID VARCHAR, Allergy VARCHAR) ### ANSWER SELECT fname, lname FROM Student WHERE NOT StuID IN (SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = "food")
{ "answer": "SELECT fname, lname FROM Student WHERE NOT StuID IN (SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = \"food\")", "context": "CREATE TABLE Student (fname VARCHAR, lname VARCHAR, StuID VARCHAR); CREATE TABLE Allergy_Type (Allergy VARCHAR, allergytype VARCHAR); CREATE TABLE Has_allergy (StuID VARCHAR, Allergy VARCHAR)", "question": "List the first and last name of the students who do not have any food type allergy." }
### QUESTION What player has a score less than 66, and a Place of t2, in the United States? ### CONTEXT CREATE TABLE table_name_72 (player VARCHAR, country VARCHAR, score VARCHAR, place VARCHAR) ### ANSWER SELECT player FROM table_name_72 WHERE score < 66 AND place = "t2" AND country = "united states"
{ "answer": "SELECT player FROM table_name_72 WHERE score < 66 AND place = \"t2\" AND country = \"united states\"", "context": "CREATE TABLE table_name_72 (player VARCHAR, country VARCHAR, score VARCHAR, place VARCHAR)", "question": "What player has a score less than 66, and a Place of t2, in the United States?" }
### QUESTION Which championship had the final opponents of nathalie dechy andy ram? ### CONTEXT CREATE TABLE table_1729366_2 (championship VARCHAR, opponents_in_the_final VARCHAR) ### ANSWER SELECT championship FROM table_1729366_2 WHERE opponents_in_the_final = "Nathalie Dechy Andy Ram"
{ "answer": "SELECT championship FROM table_1729366_2 WHERE opponents_in_the_final = \"Nathalie Dechy Andy Ram\"", "context": "CREATE TABLE table_1729366_2 (championship VARCHAR, opponents_in_the_final VARCHAR)", "question": "Which championship had the final opponents of nathalie dechy andy ram?" }
### QUESTION Find the distinct first names of all the students who have vice president votes and whose city code is not PIT. ### CONTEXT CREATE TABLE STUDENT (Fname VARCHAR, city_code VARCHAR); CREATE TABLE STUDENT (Fname VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (VICE_PRESIDENT_Vote VARCHAR) ### ANSWER SELECT DISTINCT T1.Fname FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.VICE_PRESIDENT_Vote EXCEPT SELECT DISTINCT Fname FROM STUDENT WHERE city_code = "PIT"
{ "answer": "SELECT DISTINCT T1.Fname FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.VICE_PRESIDENT_Vote EXCEPT SELECT DISTINCT Fname FROM STUDENT WHERE city_code = \"PIT\"", "context": "CREATE TABLE STUDENT (Fname VARCHAR, city_code VARCHAR); CREATE TABLE STUDENT (Fname VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (VICE_PRESIDENT_Vote VARCHAR)", "question": "Find the distinct first names of all the students who have vice president votes and whose city code is not PIT." }
### QUESTION When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent ### CONTEXT CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, competition VARCHAR, location VARCHAR) ### ANSWER SELECT date FROM table_name_60 WHERE competition = "2014 world cup qualification" AND location = "kampala" AND opponent = "angola"
{ "answer": "SELECT date FROM table_name_60 WHERE competition = \"2014 world cup qualification\" AND location = \"kampala\" AND opponent = \"angola\"", "context": "CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, competition VARCHAR, location VARCHAR)", "question": "When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent" }
### QUESTION What was the delivery date of Congresswoman Kirsten Gillibrand's baby boy? ### CONTEXT CREATE TABLE table_name_55 (date_of_delivery VARCHAR, baby_gender VARCHAR, congresswoman VARCHAR) ### ANSWER SELECT date_of_delivery FROM table_name_55 WHERE baby_gender = "boy" AND congresswoman = "kirsten gillibrand"
{ "answer": "SELECT date_of_delivery FROM table_name_55 WHERE baby_gender = \"boy\" AND congresswoman = \"kirsten gillibrand\"", "context": "CREATE TABLE table_name_55 (date_of_delivery VARCHAR, baby_gender VARCHAR, congresswoman VARCHAR)", "question": "What was the delivery date of Congresswoman Kirsten Gillibrand's baby boy?" }
### QUESTION Which #/ County has a Year Joined larger than 1926, and a Previous Conference of olympic? ### CONTEXT CREATE TABLE table_name_13 (_number___county VARCHAR, year_joined VARCHAR, previous_conference VARCHAR) ### ANSWER SELECT _number___county FROM table_name_13 WHERE year_joined > 1926 AND previous_conference = "olympic"
{ "answer": "SELECT _number___county FROM table_name_13 WHERE year_joined > 1926 AND previous_conference = \"olympic\"", "context": "CREATE TABLE table_name_13 (_number___county VARCHAR, year_joined VARCHAR, previous_conference VARCHAR)", "question": "Which #/ County has a Year Joined larger than 1926, and a Previous Conference of olympic?" }
### QUESTION What are the description and credit of the course which the student whose last name is Smithson took? ### CONTEXT CREATE TABLE student (stu_num VARCHAR, stu_lname VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_credit VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE enroll (class_code VARCHAR, stu_num VARCHAR) ### ANSWER SELECT T4.crs_description, T4.crs_credit FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T3.stu_num = T2.stu_num JOIN course AS T4 ON T4.crs_code = T1.crs_code WHERE T3.stu_lname = 'Smithson'
{ "answer": "SELECT T4.crs_description, T4.crs_credit FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T3.stu_num = T2.stu_num JOIN course AS T4 ON T4.crs_code = T1.crs_code WHERE T3.stu_lname = 'Smithson'", "context": "CREATE TABLE student (stu_num VARCHAR, stu_lname VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_credit VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE enroll (class_code VARCHAR, stu_num VARCHAR)", "question": "What are the description and credit of the course which the student whose last name is Smithson took?" }
### QUESTION What is the largest pick# for Greg Harris? ### CONTEXT CREATE TABLE table_name_87 (pick__number INTEGER, player VARCHAR) ### ANSWER SELECT MAX(pick__number) FROM table_name_87 WHERE player = "greg harris"
{ "answer": "SELECT MAX(pick__number) FROM table_name_87 WHERE player = \"greg harris\"", "context": "CREATE TABLE table_name_87 (pick__number INTEGER, player VARCHAR)", "question": "What is the largest pick# for Greg Harris?" }
### QUESTION For each trip, return its ending station's installation date. ### CONTEXT CREATE TABLE station (installation_date VARCHAR, id VARCHAR); CREATE TABLE trip (id VARCHAR, end_station_id VARCHAR) ### ANSWER SELECT T1.id, T2.installation_date FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id = T2.id
{ "answer": "SELECT T1.id, T2.installation_date FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id = T2.id", "context": "CREATE TABLE station (installation_date VARCHAR, id VARCHAR); CREATE TABLE trip (id VARCHAR, end_station_id VARCHAR)", "question": "For each trip, return its ending station's installation date." }
### QUESTION How many directors of episode 55? ### CONTEXT CREATE TABLE table_25716397_1 (directed_by VARCHAR, series_no VARCHAR) ### ANSWER SELECT COUNT(directed_by) FROM table_25716397_1 WHERE series_no = 55
{ "answer": "SELECT COUNT(directed_by) FROM table_25716397_1 WHERE series_no = 55", "context": "CREATE TABLE table_25716397_1 (directed_by VARCHAR, series_no VARCHAR)", "question": "How many directors of episode 55?" }
### QUESTION Find the title of courses that have two prerequisites? ### CONTEXT CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (title VARCHAR, course_id VARCHAR) ### ANSWER SELECT T1.title FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING COUNT(*) = 2
{ "answer": "SELECT T1.title FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING COUNT(*) = 2", "context": "CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (title VARCHAR, course_id VARCHAR)", "question": "Find the title of courses that have two prerequisites?" }
### QUESTION What was the highest number of WJC Jews that had a WJC rank of 6 and a ARDA rank of more than 8? ### CONTEXT CREATE TABLE table_name_1 (number_of_jews__wjc_ INTEGER, rank___wjc__ VARCHAR, rank__arda_ VARCHAR) ### ANSWER SELECT MAX(number_of_jews__wjc_) FROM table_name_1 WHERE rank___wjc__ = 6 AND rank__arda_ > 8
{ "answer": "SELECT MAX(number_of_jews__wjc_) FROM table_name_1 WHERE rank___wjc__ = 6 AND rank__arda_ > 8", "context": "CREATE TABLE table_name_1 (number_of_jews__wjc_ INTEGER, rank___wjc__ VARCHAR, rank__arda_ VARCHAR)", "question": "What was the highest number of WJC Jews that had a WJC rank of 6 and a ARDA rank of more than 8?" }
### QUESTION Name the game cost for merged with new york central to form penn central ### CONTEXT CREATE TABLE table_243664_1 (game_cost VARCHAR, real_life_eventual_outcome VARCHAR) ### ANSWER SELECT game_cost FROM table_243664_1 WHERE real_life_eventual_outcome = "Merged with New York Central to form Penn Central"
{ "answer": "SELECT game_cost FROM table_243664_1 WHERE real_life_eventual_outcome = \"Merged with New York Central to form Penn Central\"", "context": "CREATE TABLE table_243664_1 (game_cost VARCHAR, real_life_eventual_outcome VARCHAR)", "question": "Name the game cost for merged with new york central to form penn central" }
### QUESTION How far to par did ed furgol from the United States get when he scored less than 72 and was placed at t3? ### CONTEXT CREATE TABLE table_name_93 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR) ### ANSWER SELECT to_par FROM table_name_93 WHERE country = "united states" AND score < 72 AND place = "t3" AND player = "ed furgol"
{ "answer": "SELECT to_par FROM table_name_93 WHERE country = \"united states\" AND score < 72 AND place = \"t3\" AND player = \"ed furgol\"", "context": "CREATE TABLE table_name_93 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR)", "question": "How far to par did ed furgol from the United States get when he scored less than 72 and was placed at t3?" }
### QUESTION What is the lifespan of the democratic party in New York, for which Terence J. Quinn is a representative? ### CONTEXT CREATE TABLE table_name_21 (lifespan VARCHAR, representative VARCHAR, party VARCHAR, state VARCHAR) ### ANSWER SELECT lifespan FROM table_name_21 WHERE party = "democratic" AND state = "new york" AND representative = "terence j. quinn"
{ "answer": "SELECT lifespan FROM table_name_21 WHERE party = \"democratic\" AND state = \"new york\" AND representative = \"terence j. quinn\"", "context": "CREATE TABLE table_name_21 (lifespan VARCHAR, representative VARCHAR, party VARCHAR, state VARCHAR)", "question": "What is the lifespan of the democratic party in New York, for which Terence J. Quinn is a representative?" }
### QUESTION What is the venue that Saint Joseph's University hosted at? ### CONTEXT CREATE TABLE table_name_38 (venue VARCHAR, host VARCHAR) ### ANSWER SELECT venue FROM table_name_38 WHERE host = "saint joseph's university"
{ "answer": "SELECT venue FROM table_name_38 WHERE host = \"saint joseph's university\"", "context": "CREATE TABLE table_name_38 (venue VARCHAR, host VARCHAR)", "question": "What is the venue that Saint Joseph's University hosted at?" }
### QUESTION What was the time when the method was TKO? ### CONTEXT CREATE TABLE table_name_61 (time VARCHAR, method VARCHAR) ### ANSWER SELECT time FROM table_name_61 WHERE method = "tko"
{ "answer": "SELECT time FROM table_name_61 WHERE method = \"tko\"", "context": "CREATE TABLE table_name_61 (time VARCHAR, method VARCHAR)", "question": "What was the time when the method was TKO?" }
### QUESTION What is the total in the case when there are more than 4 associate professors, 5 lecturers and fewer professors than 40? ### CONTEXT CREATE TABLE table_name_33 (total VARCHAR, professors VARCHAR, associate_professors VARCHAR, lecturers VARCHAR) ### ANSWER SELECT COUNT(total) FROM table_name_33 WHERE associate_professors > 4 AND lecturers = 5 AND professors < 40
{ "answer": "SELECT COUNT(total) FROM table_name_33 WHERE associate_professors > 4 AND lecturers = 5 AND professors < 40", "context": "CREATE TABLE table_name_33 (total VARCHAR, professors VARCHAR, associate_professors VARCHAR, lecturers VARCHAR)", "question": "What is the total in the case when there are more than 4 associate professors, 5 lecturers and fewer professors than 40?" }
### QUESTION What is the lowest average points per race entered of driver kimi räikkönen, who has more than 194 entries? ### CONTEXT CREATE TABLE table_name_3 (average_points_per_race_entered INTEGER, driver VARCHAR, entries VARCHAR) ### ANSWER SELECT MIN(average_points_per_race_entered) FROM table_name_3 WHERE driver = "kimi räikkönen" AND entries > 194
{ "answer": "SELECT MIN(average_points_per_race_entered) FROM table_name_3 WHERE driver = \"kimi räikkönen\" AND entries > 194", "context": "CREATE TABLE table_name_3 (average_points_per_race_entered INTEGER, driver VARCHAR, entries VARCHAR)", "question": "What is the lowest average points per race entered of driver kimi räikkönen, who has more than 194 entries?" }
### QUESTION What is the result/margin when fox sports 1 broadcast the game played at mcg? ### CONTEXT CREATE TABLE table_24919137_2 (result_margin VARCHAR, broadcaster VARCHAR, venue VARCHAR) ### ANSWER SELECT result_margin FROM table_24919137_2 WHERE broadcaster = "Fox Sports 1" AND venue = "MCG"
{ "answer": "SELECT result_margin FROM table_24919137_2 WHERE broadcaster = \"Fox Sports 1\" AND venue = \"MCG\"", "context": "CREATE TABLE table_24919137_2 (result_margin VARCHAR, broadcaster VARCHAR, venue VARCHAR)", "question": "What is the result/margin when fox sports 1 broadcast the game played at mcg?" }
### QUESTION What is the points average when the tied is greater than 8, less than 82 games and the coach of Bryan Mclay † Morris Lallo ‡ Gerry Moore ‡, and greater than 322 goals? ### CONTEXT CREATE TABLE table_name_13 (points INTEGER, goals_against VARCHAR, coach VARCHAR, tied VARCHAR, games VARCHAR) ### ANSWER SELECT AVG(points) FROM table_name_13 WHERE tied > 8 AND games < 82 AND coach = "bryan mclay † morris lallo ‡ gerry moore ‡" AND goals_against > 322
{ "answer": "SELECT AVG(points) FROM table_name_13 WHERE tied > 8 AND games < 82 AND coach = \"bryan mclay † morris lallo ‡ gerry moore ‡\" AND goals_against > 322", "context": "CREATE TABLE table_name_13 (points INTEGER, goals_against VARCHAR, coach VARCHAR, tied VARCHAR, games VARCHAR)", "question": "What is the points average when the tied is greater than 8, less than 82 games and the coach of Bryan Mclay † Morris Lallo ‡ Gerry Moore ‡, and greater than 322 goals?" }
### QUESTION What is the total Decile that has a state authority, fairlie area and roll smarter than 206? ### CONTEXT CREATE TABLE table_name_49 (decile VARCHAR, roll VARCHAR, authority VARCHAR, area VARCHAR) ### ANSWER SELECT COUNT(decile) FROM table_name_49 WHERE authority = "state" AND area = "fairlie" AND roll < 206
{ "answer": "SELECT COUNT(decile) FROM table_name_49 WHERE authority = \"state\" AND area = \"fairlie\" AND roll < 206", "context": "CREATE TABLE table_name_49 (decile VARCHAR, roll VARCHAR, authority VARCHAR, area VARCHAR)", "question": "What is the total Decile that has a state authority, fairlie area and roll smarter than 206?" }
### QUESTION Who is nominated for the film Rugrats Go Wild? ### CONTEXT CREATE TABLE table_name_44 (winner_nominee_s_ VARCHAR, result VARCHAR, film VARCHAR) ### ANSWER SELECT winner_nominee_s_ FROM table_name_44 WHERE result = "nominated" AND film = "rugrats go wild"
{ "answer": "SELECT winner_nominee_s_ FROM table_name_44 WHERE result = \"nominated\" AND film = \"rugrats go wild\"", "context": "CREATE TABLE table_name_44 (winner_nominee_s_ VARCHAR, result VARCHAR, film VARCHAR)", "question": "Who is nominated for the film Rugrats Go Wild?" }
### QUESTION What is the Total Orphans number when the number of Total Orphans (AIDS Related) is < 100, and the Maternal (Total) is smaller than 31,000? ### CONTEXT CREATE TABLE table_name_66 (total_orphans__total_ INTEGER, total_orphans__aids_related_ VARCHAR, maternal__total_ VARCHAR) ### ANSWER SELECT MIN(total_orphans__total_) FROM table_name_66 WHERE total_orphans__aids_related_ = "< 100" AND maternal__total_ < 31 OFFSET 000
{ "answer": "SELECT MIN(total_orphans__total_) FROM table_name_66 WHERE total_orphans__aids_related_ = \"< 100\" AND maternal__total_ < 31 OFFSET 000", "context": "CREATE TABLE table_name_66 (total_orphans__total_ INTEGER, total_orphans__aids_related_ VARCHAR, maternal__total_ VARCHAR)", "question": "What is the Total Orphans number when the number of Total Orphans (AIDS Related) is < 100, and the Maternal (Total) is smaller than 31,000?" }
### QUESTION Name the number of position for democratic republic of the congo ### CONTEXT CREATE TABLE table_24565004_13 (position VARCHAR, nationality² VARCHAR) ### ANSWER SELECT COUNT(position) FROM table_24565004_13 WHERE nationality² = "Democratic Republic of the Congo"
{ "answer": "SELECT COUNT(position) FROM table_24565004_13 WHERE nationality² = \"Democratic Republic of the Congo\"", "context": "CREATE TABLE table_24565004_13 (position VARCHAR, nationality² VARCHAR)", "question": "Name the number of position for democratic republic of the congo" }
### QUESTION What is the average area larger than Code 19025 but a smaller region than 12? ### CONTEXT CREATE TABLE table_name_91 (area__km_2__ INTEGER, code VARCHAR, region VARCHAR) ### ANSWER SELECT AVG(area__km_2__) FROM table_name_91 WHERE code > 19025 AND region < 12
{ "answer": "SELECT AVG(area__km_2__) FROM table_name_91 WHERE code > 19025 AND region < 12", "context": "CREATE TABLE table_name_91 (area__km_2__ INTEGER, code VARCHAR, region VARCHAR)", "question": "What is the average area larger than Code 19025 but a smaller region than 12?" }
### QUESTION WHAT IS THE DATE WITH BOSTON ROAD TEAM AND 126-105 RESULT? ### CONTEXT CREATE TABLE table_name_86 (date VARCHAR, road_team VARCHAR, result VARCHAR) ### ANSWER SELECT date FROM table_name_86 WHERE road_team = "boston" AND result = "126-105"
{ "answer": "SELECT date FROM table_name_86 WHERE road_team = \"boston\" AND result = \"126-105\"", "context": "CREATE TABLE table_name_86 (date VARCHAR, road_team VARCHAR, result VARCHAR)", "question": "WHAT IS THE DATE WITH BOSTON ROAD TEAM AND 126-105 RESULT?" }
### QUESTION What is the sum of Points, when Equipment was "Zabel-BSU", and when Position was 42? ### CONTEXT CREATE TABLE table_name_39 (points INTEGER, equipment VARCHAR, position VARCHAR) ### ANSWER SELECT SUM(points) FROM table_name_39 WHERE equipment = "zabel-bsu" AND position = 42
{ "answer": "SELECT SUM(points) FROM table_name_39 WHERE equipment = \"zabel-bsu\" AND position = 42", "context": "CREATE TABLE table_name_39 (points INTEGER, equipment VARCHAR, position VARCHAR)", "question": "What is the sum of Points, when Equipment was \"Zabel-BSU\", and when Position was 42?" }
### QUESTION How many michelob ultra mountains classification for darren lill ### CONTEXT CREATE TABLE table_13223187_1 (michelob_ultra_mountains_classification_gold_polka_dot_jersey VARCHAR, drury_hotels_most_aggressive_rider_red_jersey VARCHAR) ### ANSWER SELECT COUNT(michelob_ultra_mountains_classification_gold_polka_dot_jersey) FROM table_13223187_1 WHERE drury_hotels_most_aggressive_rider_red_jersey = "Darren Lill"
{ "answer": "SELECT COUNT(michelob_ultra_mountains_classification_gold_polka_dot_jersey) FROM table_13223187_1 WHERE drury_hotels_most_aggressive_rider_red_jersey = \"Darren Lill\"", "context": "CREATE TABLE table_13223187_1 (michelob_ultra_mountains_classification_gold_polka_dot_jersey VARCHAR, drury_hotels_most_aggressive_rider_red_jersey VARCHAR)", "question": "How many michelob ultra mountains classification for darren lill" }
### QUESTION Who was the 3rd place team at Pardubice? ### CONTEXT CREATE TABLE table_name_41 (venue VARCHAR) ### ANSWER SELECT 3 AS rd_place FROM table_name_41 WHERE venue = "pardubice"
{ "answer": "SELECT 3 AS rd_place FROM table_name_41 WHERE venue = \"pardubice\"", "context": "CREATE TABLE table_name_41 (venue VARCHAR)", "question": "Who was the 3rd place team at Pardubice?" }
### QUESTION The final match played against Evie Dominikovic was played on what surface? ### CONTEXT CREATE TABLE table_name_54 (surface VARCHAR, opponent_in_the_final VARCHAR) ### ANSWER SELECT surface FROM table_name_54 WHERE opponent_in_the_final = "evie dominikovic"
{ "answer": "SELECT surface FROM table_name_54 WHERE opponent_in_the_final = \"evie dominikovic\"", "context": "CREATE TABLE table_name_54 (surface VARCHAR, opponent_in_the_final VARCHAR)", "question": "The final match played against Evie Dominikovic was played on what surface?" }
### QUESTION What is the highest number of wins with a goal difference less than 4 at the Villarreal CF and more than 38 played? ### CONTEXT CREATE TABLE table_name_82 (wins INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) ### ANSWER SELECT MAX(wins) FROM table_name_82 WHERE goal_difference < 4 AND club = "villarreal cf" AND played > 38
{ "answer": "SELECT MAX(wins) FROM table_name_82 WHERE goal_difference < 4 AND club = \"villarreal cf\" AND played > 38", "context": "CREATE TABLE table_name_82 (wins INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)", "question": "What is the highest number of wins with a goal difference less than 4 at the Villarreal CF and more than 38 played?" }
### QUESTION What was the lowest draw from Ballarat FL of sunbury, and byes larger than 2? ### CONTEXT CREATE TABLE table_name_94 (draws INTEGER, ballarat_fl VARCHAR, byes VARCHAR) ### ANSWER SELECT MIN(draws) FROM table_name_94 WHERE ballarat_fl = "sunbury" AND byes > 2
{ "answer": "SELECT MIN(draws) FROM table_name_94 WHERE ballarat_fl = \"sunbury\" AND byes > 2", "context": "CREATE TABLE table_name_94 (draws INTEGER, ballarat_fl VARCHAR, byes VARCHAR)", "question": "What was the lowest draw from Ballarat FL of sunbury, and byes larger than 2?" }
### QUESTION What is the date of the episode with Ryan Stiles as performer 2, Colin Mochrie as performer 3, and Tony Slattery as performer 4? ### CONTEXT CREATE TABLE table_name_26 (date VARCHAR, performer_4 VARCHAR, performer_2 VARCHAR, performer_3 VARCHAR) ### ANSWER SELECT date FROM table_name_26 WHERE performer_2 = "ryan stiles" AND performer_3 = "colin mochrie" AND performer_4 = "tony slattery"
{ "answer": "SELECT date FROM table_name_26 WHERE performer_2 = \"ryan stiles\" AND performer_3 = \"colin mochrie\" AND performer_4 = \"tony slattery\"", "context": "CREATE TABLE table_name_26 (date VARCHAR, performer_4 VARCHAR, performer_2 VARCHAR, performer_3 VARCHAR)", "question": "What is the date of the episode with Ryan Stiles as performer 2, Colin Mochrie as performer 3, and Tony Slattery as performer 4?" }
### QUESTION What is the name of each camera lens and the number of photos taken by it? Order the result by the count of photos. ### CONTEXT CREATE TABLE photos (camera_lens_id VARCHAR); CREATE TABLE camera_lens (name VARCHAR, id VARCHAR) ### ANSWER SELECT T1.name, COUNT(*) FROM camera_lens AS T1 JOIN photos AS T2 ON T1.id = T2.camera_lens_id GROUP BY T1.id ORDER BY COUNT(*)
{ "answer": "SELECT T1.name, COUNT(*) FROM camera_lens AS T1 JOIN photos AS T2 ON T1.id = T2.camera_lens_id GROUP BY T1.id ORDER BY COUNT(*)", "context": "CREATE TABLE photos (camera_lens_id VARCHAR); CREATE TABLE camera_lens (name VARCHAR, id VARCHAR)", "question": "What is the name of each camera lens and the number of photos taken by it? Order the result by the count of photos." }
### QUESTION How many San Jose wins have an LA goals larger than 6, and an LA wins smaller than 21? ### CONTEXT CREATE TABLE table_name_43 (san_jose_wins VARCHAR, la_goals VARCHAR, la_wins VARCHAR) ### ANSWER SELECT COUNT(san_jose_wins) FROM table_name_43 WHERE la_goals > 6 AND la_wins < 21
{ "answer": "SELECT COUNT(san_jose_wins) FROM table_name_43 WHERE la_goals > 6 AND la_wins < 21", "context": "CREATE TABLE table_name_43 (san_jose_wins VARCHAR, la_goals VARCHAR, la_wins VARCHAR)", "question": "How many San Jose wins have an LA goals larger than 6, and an LA wins smaller than 21?" }
### QUESTION What is the score of the Boston Bruins game from April 11? ### CONTEXT CREATE TABLE table_name_39 (score VARCHAR, home VARCHAR, date VARCHAR) ### ANSWER SELECT score FROM table_name_39 WHERE home = "boston bruins" AND date = "april 11"
{ "answer": "SELECT score FROM table_name_39 WHERE home = \"boston bruins\" AND date = \"april 11\"", "context": "CREATE TABLE table_name_39 (score VARCHAR, home VARCHAR, date VARCHAR)", "question": "What is the score of the Boston Bruins game from April 11?" }
### QUESTION What is the lowest attendance when the h/A is H in the Semi-Finals Second Leg? ### CONTEXT CREATE TABLE table_name_73 (attendance INTEGER, h___a VARCHAR, round VARCHAR) ### ANSWER SELECT MIN(attendance) FROM table_name_73 WHERE h___a = "h" AND round = "semi-finals second leg"
{ "answer": "SELECT MIN(attendance) FROM table_name_73 WHERE h___a = \"h\" AND round = \"semi-finals second leg\"", "context": "CREATE TABLE table_name_73 (attendance INTEGER, h___a VARCHAR, round VARCHAR)", "question": "What is the lowest attendance when the h/A is H in the Semi-Finals Second Leg?" }
### QUESTION What is Apogee, when Inclination is 65°, and when Launch Date/Time is ( GMT ) is 15 February 1973, 01:11? ### CONTEXT CREATE TABLE table_name_48 (apogee VARCHAR, inclination VARCHAR, launch_date_time___gmt__ VARCHAR) ### ANSWER SELECT apogee FROM table_name_48 WHERE inclination = "65°" AND launch_date_time___gmt__ = "15 february 1973, 01:11"
{ "answer": "SELECT apogee FROM table_name_48 WHERE inclination = \"65°\" AND launch_date_time___gmt__ = \"15 february 1973, 01:11\"", "context": "CREATE TABLE table_name_48 (apogee VARCHAR, inclination VARCHAR, launch_date_time___gmt__ VARCHAR)", "question": "What is Apogee, when Inclination is 65°, and when Launch Date/Time is ( GMT ) is 15 February 1973, 01:11?" }
### QUESTION What is the result for thomas s. mcmillan? ### CONTEXT CREATE TABLE table_1342359_39 (result VARCHAR, incumbent VARCHAR) ### ANSWER SELECT result FROM table_1342359_39 WHERE incumbent = "Thomas S. McMillan"
{ "answer": "SELECT result FROM table_1342359_39 WHERE incumbent = \"Thomas S. McMillan\"", "context": "CREATE TABLE table_1342359_39 (result VARCHAR, incumbent VARCHAR)", "question": "What is the result for thomas s. mcmillan?" }
### QUESTION Which 2006 Tournament has a 2004, and a 2002 of not tier i? ### CONTEXT CREATE TABLE table_name_15 (Id VARCHAR) ### ANSWER SELECT 2006 FROM table_name_15 WHERE 2004 = "a" AND 2002 = "not tier i"
{ "answer": "SELECT 2006 FROM table_name_15 WHERE 2004 = \"a\" AND 2002 = \"not tier i\"", "context": "CREATE TABLE table_name_15 (Id VARCHAR)", "question": "Which 2006 Tournament has a 2004, and a 2002 of not tier i?" }
### QUESTION What is the Award, when the Film/Show is East West 101, and when the year is before 2009, and when the Group is Logie Award? ### CONTEXT CREATE TABLE table_name_96 (award VARCHAR, group VARCHAR, film_show VARCHAR, year VARCHAR) ### ANSWER SELECT award FROM table_name_96 WHERE film_show = "east west 101" AND year < 2009 AND group = "logie award"
{ "answer": "SELECT award FROM table_name_96 WHERE film_show = \"east west 101\" AND year < 2009 AND group = \"logie award\"", "context": "CREATE TABLE table_name_96 (award VARCHAR, group VARCHAR, film_show VARCHAR, year VARCHAR)", "question": "What is the Award, when the Film/Show is East West 101, and when the year is before 2009, and when the Group is Logie Award?" }
### QUESTION Who won mens singles the year sveinn logi sölvason tryggvi nilsen won mens doubles and elsa nielsen won womens singles ### CONTEXT CREATE TABLE table_14903999_1 (mens_singles VARCHAR, mens_doubles VARCHAR, womens_singles VARCHAR) ### ANSWER SELECT mens_singles FROM table_14903999_1 WHERE mens_doubles = "Sveinn Logi Sölvason Tryggvi Nilsen" AND womens_singles = "Elsa Nielsen"
{ "answer": "SELECT mens_singles FROM table_14903999_1 WHERE mens_doubles = \"Sveinn Logi Sölvason Tryggvi Nilsen\" AND womens_singles = \"Elsa Nielsen\"", "context": "CREATE TABLE table_14903999_1 (mens_singles VARCHAR, mens_doubles VARCHAR, womens_singles VARCHAR)", "question": "Who won mens singles the year sveinn logi sölvason tryggvi nilsen won mens doubles and elsa nielsen won womens singles" }
### QUESTION What is Term Start, when Born-Died is Prime Ministers 1939 - 1943? ### CONTEXT CREATE TABLE table_name_53 (term_start VARCHAR, born_died VARCHAR) ### ANSWER SELECT term_start FROM table_name_53 WHERE born_died = "prime ministers 1939 - 1943"
{ "answer": "SELECT term_start FROM table_name_53 WHERE born_died = \"prime ministers 1939 - 1943\"", "context": "CREATE TABLE table_name_53 (term_start VARCHAR, born_died VARCHAR)", "question": "What is Term Start, when Born-Died is Prime Ministers 1939 - 1943?" }
### QUESTION Which film is rented at a fee of 0.99 and has less than 3 in the inventory? List the film title and id. ### CONTEXT CREATE TABLE film (title VARCHAR, film_id VARCHAR, rental_rate VARCHAR); CREATE TABLE inventory (film_id VARCHAR); CREATE TABLE film (title VARCHAR, film_id VARCHAR) ### ANSWER SELECT title, film_id FROM film WHERE rental_rate = 0.99 INTERSECT SELECT T1.title, T1.film_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id GROUP BY T1.film_id HAVING COUNT(*) < 3
{ "answer": "SELECT title, film_id FROM film WHERE rental_rate = 0.99 INTERSECT SELECT T1.title, T1.film_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id GROUP BY T1.film_id HAVING COUNT(*) < 3", "context": "CREATE TABLE film (title VARCHAR, film_id VARCHAR, rental_rate VARCHAR); CREATE TABLE inventory (film_id VARCHAR); CREATE TABLE film (title VARCHAR, film_id VARCHAR)", "question": "Which film is rented at a fee of 0.99 and has less than 3 in the inventory? List the film title and id." }
### QUESTION Among all the claims, which claims have a claimed amount larger than the average? List the date the claim was made and the date it was settled. ### CONTEXT CREATE TABLE Claims (Date_Claim_Made VARCHAR, Date_Claim_Settled VARCHAR, Amount_Claimed INTEGER) ### ANSWER SELECT Date_Claim_Made, Date_Claim_Settled FROM Claims WHERE Amount_Claimed > (SELECT AVG(Amount_Claimed) FROM Claims)
{ "answer": "SELECT Date_Claim_Made, Date_Claim_Settled FROM Claims WHERE Amount_Claimed > (SELECT AVG(Amount_Claimed) FROM Claims)", "context": "CREATE TABLE Claims (Date_Claim_Made VARCHAR, Date_Claim_Settled VARCHAR, Amount_Claimed INTEGER)", "question": "Among all the claims, which claims have a claimed amount larger than the average? List the date the claim was made and the date it was settled." }
### QUESTION what is the highest % hydropower when the % oil is less than 24.5, country is united arab emirates and the % nuclear power is 0? ### CONTEXT CREATE TABLE table_name_80 (_percentage_hydropower INTEGER, _percentage_nuclear_power VARCHAR, _percentage_oil VARCHAR, country VARCHAR) ### ANSWER SELECT MAX(_percentage_hydropower) FROM table_name_80 WHERE _percentage_oil < 24.5 AND country = "united arab emirates" AND _percentage_nuclear_power < 0
{ "answer": "SELECT MAX(_percentage_hydropower) FROM table_name_80 WHERE _percentage_oil < 24.5 AND country = \"united arab emirates\" AND _percentage_nuclear_power < 0", "context": "CREATE TABLE table_name_80 (_percentage_hydropower INTEGER, _percentage_nuclear_power VARCHAR, _percentage_oil VARCHAR, country VARCHAR)", "question": "what is the highest % hydropower when the % oil is less than 24.5, country is united arab emirates and the % nuclear power is 0?" }
### QUESTION How many teams did Bob Peppler play for? ### CONTEXT CREATE TABLE table_1213511_3 (nhl_team VARCHAR, player VARCHAR) ### ANSWER SELECT COUNT(nhl_team) FROM table_1213511_3 WHERE player = "Bob Peppler"
{ "answer": "SELECT COUNT(nhl_team) FROM table_1213511_3 WHERE player = \"Bob Peppler\"", "context": "CREATE TABLE table_1213511_3 (nhl_team VARCHAR, player VARCHAR)", "question": "How many teams did Bob Peppler play for?" }
### QUESTION Name the role for studio of rep with sheila mannors leading lady and title of westward ho ### CONTEXT CREATE TABLE table_name_11 (role VARCHAR, title VARCHAR, studio VARCHAR, leading_lady VARCHAR) ### ANSWER SELECT role FROM table_name_11 WHERE studio = "rep" AND leading_lady = "sheila mannors" AND title = "westward ho"
{ "answer": "SELECT role FROM table_name_11 WHERE studio = \"rep\" AND leading_lady = \"sheila mannors\" AND title = \"westward ho\"", "context": "CREATE TABLE table_name_11 (role VARCHAR, title VARCHAR, studio VARCHAR, leading_lady VARCHAR)", "question": "Name the role for studio of rep with sheila mannors leading lady and title of westward ho" }
### QUESTION If the condition/parameter is rapidity of 1 hyperbolic radian, what is the proper velocity w dx/dτ in units of c? ### CONTEXT CREATE TABLE table_15314901_1 (proper_velocity_w_dx_dτ_in_units_of_c VARCHAR, condition_parameter VARCHAR) ### ANSWER SELECT proper_velocity_w_dx_dτ_in_units_of_c FROM table_15314901_1 WHERE condition_parameter = "Rapidity of 1 hyperbolic radian"
{ "answer": "SELECT proper_velocity_w_dx_dτ_in_units_of_c FROM table_15314901_1 WHERE condition_parameter = \"Rapidity of 1 hyperbolic radian\"", "context": "CREATE TABLE table_15314901_1 (proper_velocity_w_dx_dτ_in_units_of_c VARCHAR, condition_parameter VARCHAR)", "question": "If the condition/parameter is rapidity of 1 hyperbolic radian, what is the proper velocity w dx/dτ in units of c?" }
### QUESTION What network has lap-by-laps by Bill Flemming, and Pit reporter Chris Economaki? ### CONTEXT CREATE TABLE table_name_47 (network VARCHAR, lap_by_lap VARCHAR, pit_reporters VARCHAR) ### ANSWER SELECT network FROM table_name_47 WHERE lap_by_lap = "bill flemming" AND pit_reporters = "chris economaki"
{ "answer": "SELECT network FROM table_name_47 WHERE lap_by_lap = \"bill flemming\" AND pit_reporters = \"chris economaki\"", "context": "CREATE TABLE table_name_47 (network VARCHAR, lap_by_lap VARCHAR, pit_reporters VARCHAR)", "question": "What network has lap-by-laps by Bill Flemming, and Pit reporter Chris Economaki?" }
### QUESTION What's the record that had an opponent of Krzysztof Soszynski and a time of 4:00? ### CONTEXT CREATE TABLE table_name_64 (record VARCHAR, time VARCHAR, opponent VARCHAR) ### ANSWER SELECT record FROM table_name_64 WHERE time = "4:00" AND opponent = "krzysztof soszynski"
{ "answer": "SELECT record FROM table_name_64 WHERE time = \"4:00\" AND opponent = \"krzysztof soszynski\"", "context": "CREATE TABLE table_name_64 (record VARCHAR, time VARCHAR, opponent VARCHAR)", "question": "What's the record that had an opponent of Krzysztof Soszynski and a time of 4:00?" }
### QUESTION What beer won a silver medal at the camra reading branch beer festival in 2008? ### CONTEXT CREATE TABLE table_name_33 (beer_name VARCHAR, year VARCHAR, prize VARCHAR, competition VARCHAR) ### ANSWER SELECT beer_name FROM table_name_33 WHERE prize = "silver medal" AND competition = "camra reading branch beer festival" AND year = 2008
{ "answer": "SELECT beer_name FROM table_name_33 WHERE prize = \"silver medal\" AND competition = \"camra reading branch beer festival\" AND year = 2008", "context": "CREATE TABLE table_name_33 (beer_name VARCHAR, year VARCHAR, prize VARCHAR, competition VARCHAR)", "question": "What beer won a silver medal at the camra reading branch beer festival in 2008?" }
### QUESTION Which date has an Outcome of runner-up, and an Opponent in the final of gilles simon? ### CONTEXT CREATE TABLE table_name_86 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR) ### ANSWER SELECT date FROM table_name_86 WHERE outcome = "runner-up" AND opponent_in_the_final = "gilles simon"
{ "answer": "SELECT date FROM table_name_86 WHERE outcome = \"runner-up\" AND opponent_in_the_final = \"gilles simon\"", "context": "CREATE TABLE table_name_86 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)", "question": "Which date has an Outcome of runner-up, and an Opponent in the final of gilles simon?" }
### QUESTION Which is the highest total at rank 6, bronze 2, and gold larger than 0? ### CONTEXT CREATE TABLE table_name_74 (total INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR) ### ANSWER SELECT MAX(total) FROM table_name_74 WHERE rank = 6 AND bronze = 2 AND gold > 0
{ "answer": "SELECT MAX(total) FROM table_name_74 WHERE rank = 6 AND bronze = 2 AND gold > 0", "context": "CREATE TABLE table_name_74 (total INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR)", "question": "Which is the highest total at rank 6, bronze 2, and gold larger than 0?" }
### QUESTION What is the population where the median household income is $87,832 and there are fewer than 64,886 households? ### CONTEXT CREATE TABLE table_name_83 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) ### ANSWER SELECT AVG(population) FROM table_name_83 WHERE median_household_income = "$87,832" AND number_of_households < 64 OFFSET 886
{ "answer": "SELECT AVG(population) FROM table_name_83 WHERE median_household_income = \"$87,832\" AND number_of_households < 64 OFFSET 886", "context": "CREATE TABLE table_name_83 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR)", "question": "What is the population where the median household income is $87,832 and there are fewer than 64,886 households?" }
### QUESTION What is the longitude of Carmenta Farra in 1994? ### CONTEXT CREATE TABLE table_name_74 (longitude VARCHAR, year_named VARCHAR, name VARCHAR) ### ANSWER SELECT longitude FROM table_name_74 WHERE year_named = 1994 AND name = "carmenta farra"
{ "answer": "SELECT longitude FROM table_name_74 WHERE year_named = 1994 AND name = \"carmenta farra\"", "context": "CREATE TABLE table_name_74 (longitude VARCHAR, year_named VARCHAR, name VARCHAR)", "question": "What is the longitude of Carmenta Farra in 1994?" }
### QUESTION who is the candidate where district is louisiana 3? ### CONTEXT CREATE TABLE table_1342198_18 (candidates VARCHAR, district VARCHAR) ### ANSWER SELECT candidates FROM table_1342198_18 WHERE district = "Louisiana 3"
{ "answer": "SELECT candidates FROM table_1342198_18 WHERE district = \"Louisiana 3\"", "context": "CREATE TABLE table_1342198_18 (candidates VARCHAR, district VARCHAR)", "question": "who is the candidate where district is louisiana 3?" }
### QUESTION How many heights are listed for Jesse Holley in the WR position? ### CONTEXT CREATE TABLE table_22603701_1 (height VARCHAR, position VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(height) FROM table_22603701_1 WHERE position = "WR" AND name = "Jesse Holley"
{ "answer": "SELECT COUNT(height) FROM table_22603701_1 WHERE position = \"WR\" AND name = \"Jesse Holley\"", "context": "CREATE TABLE table_22603701_1 (height VARCHAR, position VARCHAR, name VARCHAR)", "question": "How many heights are listed for Jesse Holley in the WR position? " }
### QUESTION Find the id of suppliers whose average amount purchased for each product is above 50000 or below 30000. ### CONTEXT CREATE TABLE Product_Suppliers (supplier_id VARCHAR, total_amount_purchased INTEGER) ### ANSWER SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id HAVING AVG(total_amount_purchased) > 50000 OR AVG(total_amount_purchased) < 30000
{ "answer": "SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id HAVING AVG(total_amount_purchased) > 50000 OR AVG(total_amount_purchased) < 30000", "context": "CREATE TABLE Product_Suppliers (supplier_id VARCHAR, total_amount_purchased INTEGER)", "question": "Find the id of suppliers whose average amount purchased for each product is above 50000 or below 30000." }
### QUESTION How manu aircraft landings when the cargo tonnes are 18 344? ### CONTEXT CREATE TABLE table_name_27 (aircraft_landings VARCHAR, cargo__tonnes_ VARCHAR) ### ANSWER SELECT aircraft_landings FROM table_name_27 WHERE cargo__tonnes_ = "18 344"
{ "answer": "SELECT aircraft_landings FROM table_name_27 WHERE cargo__tonnes_ = \"18 344\"", "context": "CREATE TABLE table_name_27 (aircraft_landings VARCHAR, cargo__tonnes_ VARCHAR)", "question": "How manu aircraft landings when the cargo tonnes are 18 344?" }
### QUESTION What is the compatible repository when the version is old version, no longer supported: 9 and default desktop environment is lxde? ### CONTEXT CREATE TABLE table_27329061_2 (compatible_repository VARCHAR, version VARCHAR, default_desktop_environment VARCHAR) ### ANSWER SELECT compatible_repository FROM table_27329061_2 WHERE version = "Old version, no longer supported: 9" AND default_desktop_environment = "LXDE"
{ "answer": "SELECT compatible_repository FROM table_27329061_2 WHERE version = \"Old version, no longer supported: 9\" AND default_desktop_environment = \"LXDE\"", "context": "CREATE TABLE table_27329061_2 (compatible_repository VARCHAR, version VARCHAR, default_desktop_environment VARCHAR)", "question": "What is the compatible repository when the version is old version, no longer supported: 9 and default desktop environment is lxde?" }
### QUESTION what score has the opponent of tigers and a record of 78-64? ### CONTEXT CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR) ### ANSWER SELECT score FROM table_name_75 WHERE opponent = "tigers" AND record = "78-64"
{ "answer": "SELECT score FROM table_name_75 WHERE opponent = \"tigers\" AND record = \"78-64\"", "context": "CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR)", "question": "what score has the opponent of tigers and a record of 78-64?" }
### QUESTION When was the original air date written by michael s. chernuchin & joe morgenstern? ### CONTEXT CREATE TABLE table_2618072_1 (original_air_date VARCHAR, written_by VARCHAR) ### ANSWER SELECT original_air_date FROM table_2618072_1 WHERE written_by = "Michael S. Chernuchin & Joe Morgenstern"
{ "answer": "SELECT original_air_date FROM table_2618072_1 WHERE written_by = \"Michael S. Chernuchin & Joe Morgenstern\"", "context": "CREATE TABLE table_2618072_1 (original_air_date VARCHAR, written_by VARCHAR)", "question": "When was the original air date written by michael s. chernuchin & joe morgenstern?" }
### QUESTION Find the organisation ids and details of the organisations which are involved in ### CONTEXT CREATE TABLE Grants (organisation_id VARCHAR, grant_amount INTEGER); CREATE TABLE Organisations (organisation_id VARCHAR, organisation_details VARCHAR) ### ANSWER SELECT T2.organisation_id, T2.organisation_details FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id = T2.organisation_id GROUP BY T2.organisation_id HAVING SUM(T1.grant_amount) > 6000
{ "answer": "SELECT T2.organisation_id, T2.organisation_details FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id = T2.organisation_id GROUP BY T2.organisation_id HAVING SUM(T1.grant_amount) > 6000", "context": "CREATE TABLE Grants (organisation_id VARCHAR, grant_amount INTEGER); CREATE TABLE Organisations (organisation_id VARCHAR, organisation_details VARCHAR)", "question": "Find the organisation ids and details of the organisations which are involved in" }
### QUESTION WHich Match has a Venue of h on 22 september 1888 with Attendances smaller than 4,000? ### CONTEXT CREATE TABLE table_name_99 (match INTEGER, attendance VARCHAR, venue VARCHAR, date VARCHAR) ### ANSWER SELECT MAX(match) FROM table_name_99 WHERE venue = "h" AND date = "22 september 1888" AND attendance < 4 OFFSET 000
{ "answer": "SELECT MAX(match) FROM table_name_99 WHERE venue = \"h\" AND date = \"22 september 1888\" AND attendance < 4 OFFSET 000", "context": "CREATE TABLE table_name_99 (match INTEGER, attendance VARCHAR, venue VARCHAR, date VARCHAR)", "question": "WHich Match has a Venue of h on 22 september 1888 with Attendances smaller than 4,000?" }
### QUESTION What 2010 has an A 2006 & 2011? ### CONTEXT CREATE TABLE table_name_30 (Id VARCHAR) ### ANSWER SELECT 2010 FROM table_name_30 WHERE 2006 = "a" AND 2011 = "a"
{ "answer": "SELECT 2010 FROM table_name_30 WHERE 2006 = \"a\" AND 2011 = \"a\"", "context": "CREATE TABLE table_name_30 (Id VARCHAR)", "question": "What 2010 has an A 2006 & 2011?" }
### QUESTION What is the highest number of League Cup goals that were scored by Hartlepool? ### CONTEXT CREATE TABLE table_name_6 (league_cup_goals INTEGER, club VARCHAR) ### ANSWER SELECT MAX(league_cup_goals) FROM table_name_6 WHERE club = "hartlepool"
{ "answer": "SELECT MAX(league_cup_goals) FROM table_name_6 WHERE club = \"hartlepool\"", "context": "CREATE TABLE table_name_6 (league_cup_goals INTEGER, club VARCHAR)", "question": "What is the highest number of League Cup goals that were scored by Hartlepool?" }
### QUESTION Name the Silver that has a Total smaller than 2, and a Nation of south korea? ### CONTEXT CREATE TABLE table_name_49 (silver INTEGER, total VARCHAR, nation VARCHAR) ### ANSWER SELECT AVG(silver) FROM table_name_49 WHERE total < 2 AND nation = "south korea"
{ "answer": "SELECT AVG(silver) FROM table_name_49 WHERE total < 2 AND nation = \"south korea\"", "context": "CREATE TABLE table_name_49 (silver INTEGER, total VARCHAR, nation VARCHAR)", "question": "Name the Silver that has a Total smaller than 2, and a Nation of south korea?" }
### QUESTION how many times were the candidates thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%? ### CONTEXT CREATE TABLE table_2668347_14 (party VARCHAR, candidates VARCHAR) ### ANSWER SELECT COUNT(party) FROM table_2668347_14 WHERE candidates = "Thomas H. Hubbard (DR) 51.5% Simeon Ford (F) 48.4%"
{ "answer": "SELECT COUNT(party) FROM table_2668347_14 WHERE candidates = \"Thomas H. Hubbard (DR) 51.5% Simeon Ford (F) 48.4%\"", "context": "CREATE TABLE table_2668347_14 (party VARCHAR, candidates VARCHAR)", "question": "how many times were the candidates thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%?" }
### QUESTION What is the earliest round drafted for a University of Southern California player? ### CONTEXT CREATE TABLE table_name_91 (round INTEGER, school VARCHAR) ### ANSWER SELECT MIN(round) FROM table_name_91 WHERE school = "university of southern california"
{ "answer": "SELECT MIN(round) FROM table_name_91 WHERE school = \"university of southern california\"", "context": "CREATE TABLE table_name_91 (round INTEGER, school VARCHAR)", "question": "What is the earliest round drafted for a University of Southern California player?" }
### QUESTION How many townships are there in the region with 376 village groups? ### CONTEXT CREATE TABLE table_19457_1 (town_ships INTEGER, village_groups VARCHAR) ### ANSWER SELECT MAX(town_ships) FROM table_19457_1 WHERE village_groups = 376
{ "answer": "SELECT MAX(town_ships) FROM table_19457_1 WHERE village_groups = 376", "context": "CREATE TABLE table_19457_1 (town_ships INTEGER, village_groups VARCHAR)", "question": "How many townships are there in the region with 376 village groups?" }
### QUESTION When did indiana play? ### CONTEXT CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR) ### ANSWER SELECT date FROM table_name_8 WHERE opponent = "indiana"
{ "answer": "SELECT date FROM table_name_8 WHERE opponent = \"indiana\"", "context": "CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)", "question": "When did indiana play?" }
### QUESTION Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3? ### CONTEXT CREATE TABLE table_name_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR) ### ANSWER SELECT wins FROM table_name_19 WHERE starts > 1 AND top_5 = 3
{ "answer": "SELECT wins FROM table_name_19 WHERE starts > 1 AND top_5 = 3", "context": "CREATE TABLE table_name_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR)", "question": "Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3?" }
### QUESTION Find the pixels of the screen modes that are used by both phones with full accreditation types and phones with Provisional accreditation types. ### CONTEXT CREATE TABLE phone (screen_mode VARCHAR, Accreditation_type VARCHAR); CREATE TABLE screen_mode (pixels VARCHAR, Graphics_mode VARCHAR) ### ANSWER SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode = t2.screen_mode WHERE t2.Accreditation_type = 'Provisional' INTERSECT SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode = t2.screen_mode WHERE t2.Accreditation_type = 'Full'
{ "answer": "SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode = t2.screen_mode WHERE t2.Accreditation_type = 'Provisional' INTERSECT SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode = t2.screen_mode WHERE t2.Accreditation_type = 'Full'", "context": "CREATE TABLE phone (screen_mode VARCHAR, Accreditation_type VARCHAR); CREATE TABLE screen_mode (pixels VARCHAR, Graphics_mode VARCHAR)", "question": "Find the pixels of the screen modes that are used by both phones with full accreditation types and phones with Provisional accreditation types." }
### QUESTION What is the D 42 when the D 50 is d 31? ### CONTEXT CREATE TABLE table_name_17 (d_42 VARCHAR, d_50 VARCHAR) ### ANSWER SELECT d_42 FROM table_name_17 WHERE d_50 = "d 31"
{ "answer": "SELECT d_42 FROM table_name_17 WHERE d_50 = \"d 31\"", "context": "CREATE TABLE table_name_17 (d_42 VARCHAR, d_50 VARCHAR)", "question": "What is the D 42 when the D 50 is d 31?" }
### QUESTION as is the quantity variety of score between ultimate the place opponents between remaining is alexandra fusai nathalie tauziat ### CONTEXT CREATE TABLE table_23197088_4 (score_in_final VARCHAR, opponents_in_final VARCHAR) ### ANSWER SELECT COUNT(score_in_final) FROM table_23197088_4 WHERE opponents_in_final = "Alexandra Fusai Nathalie Tauziat"
{ "answer": "SELECT COUNT(score_in_final) FROM table_23197088_4 WHERE opponents_in_final = \"Alexandra Fusai Nathalie Tauziat\"", "context": "CREATE TABLE table_23197088_4 (score_in_final VARCHAR, opponents_in_final VARCHAR)", "question": "as is the quantity variety of score between ultimate the place opponents between remaining is alexandra fusai nathalie tauziat" }
### QUESTION What are the numbers of episodes that were broadcast on September 1, 2003 ### CONTEXT CREATE TABLE table_17481974_1 (episode__number VARCHAR, original_airdate VARCHAR) ### ANSWER SELECT episode__number FROM table_17481974_1 WHERE original_airdate = "September 1, 2003"
{ "answer": "SELECT episode__number FROM table_17481974_1 WHERE original_airdate = \"September 1, 2003\"", "context": "CREATE TABLE table_17481974_1 (episode__number VARCHAR, original_airdate VARCHAR)", "question": "What are the numbers of episodes that were broadcast on September 1, 2003" }
### QUESTION what is the rank when the album is sean kingston? ### CONTEXT CREATE TABLE table_name_85 (rank VARCHAR, album VARCHAR) ### ANSWER SELECT rank FROM table_name_85 WHERE album = "sean kingston"
{ "answer": "SELECT rank FROM table_name_85 WHERE album = \"sean kingston\"", "context": "CREATE TABLE table_name_85 (rank VARCHAR, album VARCHAR)", "question": "what is the rank when the album is sean kingston?" }
### QUESTION Who is the chef at Lakes Bar and Grill? ### CONTEXT CREATE TABLE table_name_21 (chef VARCHAR, restaurant_name VARCHAR) ### ANSWER SELECT chef FROM table_name_21 WHERE restaurant_name = "lakes bar and grill"
{ "answer": "SELECT chef FROM table_name_21 WHERE restaurant_name = \"lakes bar and grill\"", "context": "CREATE TABLE table_name_21 (chef VARCHAR, restaurant_name VARCHAR)", "question": "Who is the chef at Lakes Bar and Grill?" }
### QUESTION What are the African countries that have a population less than any country in Asia? ### CONTEXT CREATE TABLE country (Name VARCHAR, Continent VARCHAR, population INTEGER) ### ANSWER SELECT Name FROM country WHERE Continent = "Africa" AND population < (SELECT MAX(population) FROM country WHERE Continent = "Asia")
{ "answer": "SELECT Name FROM country WHERE Continent = \"Africa\" AND population < (SELECT MAX(population) FROM country WHERE Continent = \"Asia\")", "context": "CREATE TABLE country (Name VARCHAR, Continent VARCHAR, population INTEGER)", "question": "What are the African countries that have a population less than any country in Asia?" }
### QUESTION Who was the away team at Junction Oval? ### CONTEXT CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR) ### ANSWER SELECT away_team FROM table_name_63 WHERE venue = "junction oval"
{ "answer": "SELECT away_team FROM table_name_63 WHERE venue = \"junction oval\"", "context": "CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR)", "question": "Who was the away team at Junction Oval?" }
### QUESTION Who was the away team at Brunswick Street Oval? ### CONTEXT CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR) ### ANSWER SELECT away_team AS score FROM table_name_89 WHERE venue = "brunswick street oval"
{ "answer": "SELECT away_team AS score FROM table_name_89 WHERE venue = \"brunswick street oval\"", "context": "CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR)", "question": "Who was the away team at Brunswick Street Oval?" }
### QUESTION What is the number for combaya municipality when quiabaya municipality is 33? ### CONTEXT CREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR) ### ANSWER SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "33"
{ "answer": "SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = \"33\"", "context": "CREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR)", "question": "What is the number for combaya municipality when quiabaya municipality is 33?" }
### QUESTION When the round of 32 was n/a and quarterfinal was did not advance, what was the round of 16? ### CONTEXT CREATE TABLE table_name_75 (round_of_16 VARCHAR, quarterfinal VARCHAR, round_of_32 VARCHAR) ### ANSWER SELECT round_of_16 FROM table_name_75 WHERE quarterfinal = "did not advance" AND round_of_32 = "n/a"
{ "answer": "SELECT round_of_16 FROM table_name_75 WHERE quarterfinal = \"did not advance\" AND round_of_32 = \"n/a\"", "context": "CREATE TABLE table_name_75 (round_of_16 VARCHAR, quarterfinal VARCHAR, round_of_32 VARCHAR)", "question": "When the round of 32 was n/a and quarterfinal was did not advance, what was the round of 16?" }
### QUESTION What award did Forest Whitaker win in 1989? ### CONTEXT CREATE TABLE table_name_54 (award VARCHAR, actor VARCHAR, year VARCHAR) ### ANSWER SELECT award FROM table_name_54 WHERE actor = "forest whitaker" AND year = 1989
{ "answer": "SELECT award FROM table_name_54 WHERE actor = \"forest whitaker\" AND year = 1989", "context": "CREATE TABLE table_name_54 (award VARCHAR, actor VARCHAR, year VARCHAR)", "question": "What award did Forest Whitaker win in 1989?" }
### QUESTION what is the result when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012? ### CONTEXT CREATE TABLE table_name_54 (result VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR) ### ANSWER SELECT result FROM table_name_54 WHERE venue = "stade général seyni kountché, niamey" AND competition = "friendly" AND date = "9 october 2012"
{ "answer": "SELECT result FROM table_name_54 WHERE venue = \"stade général seyni kountché, niamey\" AND competition = \"friendly\" AND date = \"9 october 2012\"", "context": "CREATE TABLE table_name_54 (result VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)", "question": "what is the result when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012?" }
### QUESTION What was the average of the Off Reb with steals less than 8 and FTM-FTA of 16-17? ### CONTEXT CREATE TABLE table_name_29 (off_reb INTEGER, ftm_fta VARCHAR, steals VARCHAR) ### ANSWER SELECT AVG(off_reb) FROM table_name_29 WHERE ftm_fta = "16-17" AND steals < 8
{ "answer": "SELECT AVG(off_reb) FROM table_name_29 WHERE ftm_fta = \"16-17\" AND steals < 8", "context": "CREATE TABLE table_name_29 (off_reb INTEGER, ftm_fta VARCHAR, steals VARCHAR)", "question": "What was the average of the Off Reb with steals less than 8 and FTM-FTA of 16-17?" }