text
stringlengths
146
1.06k
source
dict
### QUESTION What are the names of workshop groups in which services with product name "film" are performed? ### CONTEXT CREATE TABLE Services (Workshop_Group_ID VARCHAR, Product_Name VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Phone VARCHAR, Store_Email_Address VARCHAR, Workshop_Group_ID VARCHAR) ### ANSWER SELECT T1.Store_Phone, T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID WHERE T2.Product_Name = "film"
{ "answer": "SELECT T1.Store_Phone, T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID WHERE T2.Product_Name = \"film\"", "context": "CREATE TABLE Services (Workshop_Group_ID VARCHAR, Product_Name VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Phone VARCHAR, Store_Email_Address VARCHAR, Workshop_Group_ID VARCHAR)", "question": "What are the names of workshop groups in which services with product name \"film\" are performed?" }
### QUESTION What's the series number of the episode originally viewed by 4.1 million people and written by Douglas Lieblein? ### CONTEXT CREATE TABLE table_18055005_1 (no_in_series VARCHAR, viewers__millions_ VARCHAR, written_by VARCHAR) ### ANSWER SELECT no_in_series FROM table_18055005_1 WHERE viewers__millions_ = "4.1" AND written_by = "Douglas Lieblein"
{ "answer": "SELECT no_in_series FROM table_18055005_1 WHERE viewers__millions_ = \"4.1\" AND written_by = \"Douglas Lieblein\"", "context": "CREATE TABLE table_18055005_1 (no_in_series VARCHAR, viewers__millions_ VARCHAR, written_by VARCHAR)", "question": "What's the series number of the episode originally viewed by 4.1 million people and written by Douglas Lieblein?" }
### QUESTION Name the height in feet for the guard from north carolina-charlotte ### CONTEXT CREATE TABLE table_name_35 (height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR) ### ANSWER SELECT height_in_ft FROM table_name_35 WHERE position = "guard" AND school_club_team_country = "north carolina-charlotte"
{ "answer": "SELECT height_in_ft FROM table_name_35 WHERE position = \"guard\" AND school_club_team_country = \"north carolina-charlotte\"", "context": "CREATE TABLE table_name_35 (height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR)", "question": "Name the height in feet for the guard from north carolina-charlotte" }
### QUESTION Operation of find-min has what Fibonacci? ### CONTEXT CREATE TABLE table_name_18 (fibonacci VARCHAR, operation VARCHAR) ### ANSWER SELECT fibonacci FROM table_name_18 WHERE operation = "find-min"
{ "answer": "SELECT fibonacci FROM table_name_18 WHERE operation = \"find-min\"", "context": "CREATE TABLE table_name_18 (fibonacci VARCHAR, operation VARCHAR)", "question": "Operation of find-min has what Fibonacci?" }
### QUESTION What is the maximum number of losses that the Minnesota Kicks had after 1979 with an average attendance of 16,605? ### CONTEXT CREATE TABLE table_name_40 (lost INTEGER, season VARCHAR, avg_attend VARCHAR) ### ANSWER SELECT MAX(lost) FROM table_name_40 WHERE season > 1979 AND avg_attend = 16 OFFSET 605
{ "answer": "SELECT MAX(lost) FROM table_name_40 WHERE season > 1979 AND avg_attend = 16 OFFSET 605", "context": "CREATE TABLE table_name_40 (lost INTEGER, season VARCHAR, avg_attend VARCHAR)", "question": "What is the maximum number of losses that the Minnesota Kicks had after 1979 with an average attendance of 16,605?" }
### QUESTION what is the grid when the driver is pierre levegh? ### CONTEXT CREATE TABLE table_name_11 (grid VARCHAR, driver VARCHAR) ### ANSWER SELECT grid FROM table_name_11 WHERE driver = "pierre levegh"
{ "answer": "SELECT grid FROM table_name_11 WHERE driver = \"pierre levegh\"", "context": "CREATE TABLE table_name_11 (grid VARCHAR, driver VARCHAR)", "question": "what is the grid when the driver is pierre levegh?" }
### QUESTION Which Date has a Tournament of at&t pebble beach national pro-am, and a Margin of victory of 1 stroke, and a To par of –11? ### CONTEXT CREATE TABLE table_name_14 (date VARCHAR, to_par VARCHAR, tournament VARCHAR, margin_of_victory VARCHAR) ### ANSWER SELECT date FROM table_name_14 WHERE tournament = "at&t pebble beach national pro-am" AND margin_of_victory = "1 stroke" AND to_par = "–11"
{ "answer": "SELECT date FROM table_name_14 WHERE tournament = \"at&t pebble beach national pro-am\" AND margin_of_victory = \"1 stroke\" AND to_par = \"–11\"", "context": "CREATE TABLE table_name_14 (date VARCHAR, to_par VARCHAR, tournament VARCHAR, margin_of_victory VARCHAR)", "question": "Which Date has a Tournament of at&t pebble beach national pro-am, and a Margin of victory of 1 stroke, and a To par of –11?" }
### QUESTION what is the position for the united states u-20 affiliation ### CONTEXT CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR) ### ANSWER SELECT position FROM table_29626583_1 WHERE affiliation = "United States U-20"
{ "answer": "SELECT position FROM table_29626583_1 WHERE affiliation = \"United States U-20\"", "context": "CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR)", "question": "what is the position for the united states u-20 affiliation " }
### QUESTION Which parts have more than 2 faults? Show the part name and id. ### CONTEXT CREATE TABLE Parts (part_name VARCHAR, part_id VARCHAR); CREATE TABLE Part_Faults (part_id VARCHAR) ### ANSWER SELECT T1.part_name, T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_id HAVING COUNT(*) > 2
{ "answer": "SELECT T1.part_name, T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_id HAVING COUNT(*) > 2", "context": "CREATE TABLE Parts (part_name VARCHAR, part_id VARCHAR); CREATE TABLE Part_Faults (part_id VARCHAR)", "question": "Which parts have more than 2 faults? Show the part name and id." }
### QUESTION Name the total number of matches with wickets less than 537 and career of 1898/99-1919/20 with runs more than 4476 ### CONTEXT CREATE TABLE table_name_73 (matches VARCHAR, runs VARCHAR, wickets VARCHAR, career VARCHAR) ### ANSWER SELECT COUNT(matches) FROM table_name_73 WHERE wickets < 537 AND career = "1898/99-1919/20" AND runs > 4476
{ "answer": "SELECT COUNT(matches) FROM table_name_73 WHERE wickets < 537 AND career = \"1898/99-1919/20\" AND runs > 4476", "context": "CREATE TABLE table_name_73 (matches VARCHAR, runs VARCHAR, wickets VARCHAR, career VARCHAR)", "question": "Name the total number of matches with wickets less than 537 and career of 1898/99-1919/20 with runs more than 4476" }
### QUESTION What is the lowest Grid with fewer than 65 Laps and with Driver Tim Schenken? ### CONTEXT CREATE TABLE table_name_32 (grid INTEGER, laps VARCHAR, driver VARCHAR) ### ANSWER SELECT MIN(grid) FROM table_name_32 WHERE laps < 65 AND driver = "tim schenken"
{ "answer": "SELECT MIN(grid) FROM table_name_32 WHERE laps < 65 AND driver = \"tim schenken\"", "context": "CREATE TABLE table_name_32 (grid INTEGER, laps VARCHAR, driver VARCHAR)", "question": "What is the lowest Grid with fewer than 65 Laps and with Driver Tim Schenken?" }
### QUESTION What was arrows racing team's highest points after 1982? ### CONTEXT CREATE TABLE table_name_51 (points INTEGER, entrant VARCHAR, year VARCHAR) ### ANSWER SELECT MAX(points) FROM table_name_51 WHERE entrant = "arrows racing team" AND year > 1982
{ "answer": "SELECT MAX(points) FROM table_name_51 WHERE entrant = \"arrows racing team\" AND year > 1982", "context": "CREATE TABLE table_name_51 (points INTEGER, entrant VARCHAR, year VARCHAR)", "question": "What was arrows racing team's highest points after 1982?" }
### QUESTION What is id of the staff who had a Staff Department Assignment earlier than any Clerical Staff? ### CONTEXT CREATE TABLE Staff_Department_Assignments (staff_id VARCHAR, date_assigned_to INTEGER, job_title_code VARCHAR) ### ANSWER SELECT staff_id FROM Staff_Department_Assignments WHERE date_assigned_to < (SELECT MAX(date_assigned_to) FROM Staff_Department_Assignments WHERE job_title_code = 'Clerical Staff')
{ "answer": "SELECT staff_id FROM Staff_Department_Assignments WHERE date_assigned_to < (SELECT MAX(date_assigned_to) FROM Staff_Department_Assignments WHERE job_title_code = 'Clerical Staff')", "context": "CREATE TABLE Staff_Department_Assignments (staff_id VARCHAR, date_assigned_to INTEGER, job_title_code VARCHAR)", "question": "What is id of the staff who had a Staff Department Assignment earlier than any Clerical Staff?" }
### QUESTION Show the locations of parties with hosts older than 50. ### CONTEXT CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Host_ID VARCHAR, Age INTEGER) ### ANSWER SELECT T3.Location FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID WHERE T2.Age > 50
{ "answer": "SELECT T3.Location FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID WHERE T2.Age > 50", "context": "CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Host_ID VARCHAR, Age INTEGER)", "question": "Show the locations of parties with hosts older than 50." }
### QUESTION What Launched has both a Spacecraft of Ulysses and 491 days (1 yr, 4 mo, 3 d) as Time elapsed? ### CONTEXT CREATE TABLE table_name_56 (launched VARCHAR, spacecraft VARCHAR, time_elapsed VARCHAR) ### ANSWER SELECT launched FROM table_name_56 WHERE spacecraft = "ulysses" AND time_elapsed = "491 days (1 yr, 4 mo, 3 d)"
{ "answer": "SELECT launched FROM table_name_56 WHERE spacecraft = \"ulysses\" AND time_elapsed = \"491 days (1 yr, 4 mo, 3 d)\"", "context": "CREATE TABLE table_name_56 (launched VARCHAR, spacecraft VARCHAR, time_elapsed VARCHAR)", "question": "What Launched has both a Spacecraft of Ulysses and 491 days (1 yr, 4 mo, 3 d) as Time elapsed?" }
### QUESTION Which district has both stores with less than 3000 products and stores with more than 10000 products? ### CONTEXT CREATE TABLE shop (district VARCHAR, Number_products INTEGER) ### ANSWER SELECT district FROM shop WHERE Number_products < 3000 INTERSECT SELECT district FROM shop WHERE Number_products > 10000
{ "answer": "SELECT district FROM shop WHERE Number_products < 3000 INTERSECT SELECT district FROM shop WHERE Number_products > 10000", "context": "CREATE TABLE shop (district VARCHAR, Number_products INTEGER)", "question": "Which district has both stores with less than 3000 products and stores with more than 10000 products?" }
### QUESTION what is the launched date when the builder is john brown, clydebank? ### CONTEXT CREATE TABLE table_name_57 (launched VARCHAR, builder VARCHAR) ### ANSWER SELECT launched FROM table_name_57 WHERE builder = "john brown, clydebank"
{ "answer": "SELECT launched FROM table_name_57 WHERE builder = \"john brown, clydebank\"", "context": "CREATE TABLE table_name_57 (launched VARCHAR, builder VARCHAR)", "question": "what is the launched date when the builder is john brown, clydebank?" }
### QUESTION What are the details of the markets that can be accessed by walk or bus? ### CONTEXT CREATE TABLE Street_Markets (Market_Details VARCHAR, Market_ID VARCHAR); CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, How_to_Get_There VARCHAR) ### ANSWER SELECT T1.Market_Details FROM Street_Markets AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Market_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk" OR T2.How_to_Get_There = "bus"
{ "answer": "SELECT T1.Market_Details FROM Street_Markets AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Market_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = \"walk\" OR T2.How_to_Get_There = \"bus\"", "context": "CREATE TABLE Street_Markets (Market_Details VARCHAR, Market_ID VARCHAR); CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, How_to_Get_There VARCHAR)", "question": "What are the details of the markets that can be accessed by walk or bus?" }
### QUESTION What season was an episode directed by wendey stanzler? ### CONTEXT CREATE TABLE table_25716399_1 (no_in_season INTEGER, directed_by VARCHAR) ### ANSWER SELECT MAX(no_in_season) FROM table_25716399_1 WHERE directed_by = "Wendey Stanzler"
{ "answer": "SELECT MAX(no_in_season) FROM table_25716399_1 WHERE directed_by = \"Wendey Stanzler\"", "context": "CREATE TABLE table_25716399_1 (no_in_season INTEGER, directed_by VARCHAR)", "question": "What season was an episode directed by wendey stanzler?" }
### QUESTION What integrated school had a decile of 2 and a roll larger than 55? ### CONTEXT CREATE TABLE table_name_69 (name VARCHAR, roll VARCHAR, decile VARCHAR, authority VARCHAR) ### ANSWER SELECT name FROM table_name_69 WHERE decile = 2 AND authority = "integrated" AND roll > 55
{ "answer": "SELECT name FROM table_name_69 WHERE decile = 2 AND authority = \"integrated\" AND roll > 55", "context": "CREATE TABLE table_name_69 (name VARCHAR, roll VARCHAR, decile VARCHAR, authority VARCHAR)", "question": "What integrated school had a decile of 2 and a roll larger than 55?" }
### QUESTION How did he place in 1970? ### CONTEXT CREATE TABLE table_name_58 (result VARCHAR, year VARCHAR) ### ANSWER SELECT result FROM table_name_58 WHERE year = 1970
{ "answer": "SELECT result FROM table_name_58 WHERE year = 1970", "context": "CREATE TABLE table_name_58 (result VARCHAR, year VARCHAR)", "question": "How did he place in 1970?" }
### QUESTION what are all the date withdrawn for service entered on 21 november 1945 ### CONTEXT CREATE TABLE table_11662133_3 (date_withdrawn VARCHAR, date_entered_service VARCHAR) ### ANSWER SELECT date_withdrawn FROM table_11662133_3 WHERE date_entered_service = "21 November 1945"
{ "answer": "SELECT date_withdrawn FROM table_11662133_3 WHERE date_entered_service = \"21 November 1945\"", "context": "CREATE TABLE table_11662133_3 (date_withdrawn VARCHAR, date_entered_service VARCHAR)", "question": "what are all the date withdrawn for service entered on 21 november 1945" }
### QUESTION How many patients do each physician take care of? List their names and number of patients they take care of. ### CONTEXT CREATE TABLE patient (PCP VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR) ### ANSWER SELECT T1.name, COUNT(*) FROM physician AS T1 JOIN patient AS T2 ON T1.employeeid = T2.PCP GROUP BY T1.employeeid
{ "answer": "SELECT T1.name, COUNT(*) FROM physician AS T1 JOIN patient AS T2 ON T1.employeeid = T2.PCP GROUP BY T1.employeeid", "context": "CREATE TABLE patient (PCP VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR)", "question": "How many patients do each physician take care of? List their names and number of patients they take care of." }
### QUESTION What is the effective date of the claim that has the largest amount of total settlement? ### CONTEXT CREATE TABLE settlements (claim_id VARCHAR, settlement_amount INTEGER); CREATE TABLE claims (Effective_Date VARCHAR, claim_id VARCHAR) ### ANSWER SELECT t1.Effective_Date FROM claims AS t1 JOIN settlements AS t2 ON t1.claim_id = t2.claim_id GROUP BY t1.claim_id ORDER BY SUM(t2.settlement_amount) DESC LIMIT 1
{ "answer": "SELECT t1.Effective_Date FROM claims AS t1 JOIN settlements AS t2 ON t1.claim_id = t2.claim_id GROUP BY t1.claim_id ORDER BY SUM(t2.settlement_amount) DESC LIMIT 1", "context": "CREATE TABLE settlements (claim_id VARCHAR, settlement_amount INTEGER); CREATE TABLE claims (Effective_Date VARCHAR, claim_id VARCHAR)", "question": "What is the effective date of the claim that has the largest amount of total settlement?" }
### QUESTION Who was the winner of Stage 9 when then general classification was Danilo Di Luca? ### CONTEXT CREATE TABLE table_name_60 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR) ### ANSWER SELECT winner FROM table_name_60 WHERE general_classification = "danilo di luca" AND stage = "9"
{ "answer": "SELECT winner FROM table_name_60 WHERE general_classification = \"danilo di luca\" AND stage = \"9\"", "context": "CREATE TABLE table_name_60 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR)", "question": "Who was the winner of Stage 9 when then general classification was Danilo Di Luca?" }
### QUESTION Which surfaces have the final score of 6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)? ### CONTEXT CREATE TABLE table_22834834_3 (surface VARCHAR, score_in_the_final VARCHAR) ### ANSWER SELECT surface FROM table_22834834_3 WHERE score_in_the_final = "6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)"
{ "answer": "SELECT surface FROM table_22834834_3 WHERE score_in_the_final = \"6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)\"", "context": "CREATE TABLE table_22834834_3 (surface VARCHAR, score_in_the_final VARCHAR)", "question": "Which surfaces have the final score of 6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)?" }
### QUESTION In what language is the Lyrics of the release on August 10, 2005 with Catalog number of TOCP-66427? ### CONTEXT CREATE TABLE table_name_48 (lyrics VARCHAR, date VARCHAR, catalog_number VARCHAR) ### ANSWER SELECT lyrics FROM table_name_48 WHERE date = "august 10, 2005" AND catalog_number = "tocp-66427"
{ "answer": "SELECT lyrics FROM table_name_48 WHERE date = \"august 10, 2005\" AND catalog_number = \"tocp-66427\"", "context": "CREATE TABLE table_name_48 (lyrics VARCHAR, date VARCHAR, catalog_number VARCHAR)", "question": "In what language is the Lyrics of the release on August 10, 2005 with Catalog number of TOCP-66427?" }
### QUESTION What is the segment C of the episode where segment B is Film Digitization? ### CONTEXT CREATE TABLE table_15187735_19 (segment_c VARCHAR, segment_b VARCHAR) ### ANSWER SELECT segment_c FROM table_15187735_19 WHERE segment_b = "Film Digitization"
{ "answer": "SELECT segment_c FROM table_15187735_19 WHERE segment_b = \"Film Digitization\"", "context": "CREATE TABLE table_15187735_19 (segment_c VARCHAR, segment_b VARCHAR)", "question": "What is the segment C of the episode where segment B is Film Digitization?" }
### QUESTION What does American have if Australia has əʉ? ### CONTEXT CREATE TABLE table_name_65 (american VARCHAR, australian VARCHAR) ### ANSWER SELECT american FROM table_name_65 WHERE australian = "əʉ"
{ "answer": "SELECT american FROM table_name_65 WHERE australian = \"əʉ\"", "context": "CREATE TABLE table_name_65 (american VARCHAR, australian VARCHAR)", "question": "What does American have if Australia has əʉ?" }
### QUESTION What's the earliest year that had a category of best supporting actress at the asian film awards? ### CONTEXT CREATE TABLE table_name_46 (year INTEGER, category VARCHAR, award VARCHAR) ### ANSWER SELECT MIN(year) FROM table_name_46 WHERE category = "best supporting actress" AND award = "asian film awards"
{ "answer": "SELECT MIN(year) FROM table_name_46 WHERE category = \"best supporting actress\" AND award = \"asian film awards\"", "context": "CREATE TABLE table_name_46 (year INTEGER, category VARCHAR, award VARCHAR)", "question": "What's the earliest year that had a category of best supporting actress at the asian film awards?" }
### QUESTION How many editions have a most wins value of Franco Marvulli (4)? ### CONTEXT CREATE TABLE table_1840433_2 (number_of_editions VARCHAR, most_wins_by VARCHAR) ### ANSWER SELECT COUNT(number_of_editions) FROM table_1840433_2 WHERE most_wins_by = "Franco Marvulli (4)"
{ "answer": "SELECT COUNT(number_of_editions) FROM table_1840433_2 WHERE most_wins_by = \"Franco Marvulli (4)\"", "context": "CREATE TABLE table_1840433_2 (number_of_editions VARCHAR, most_wins_by VARCHAR)", "question": "How many editions have a most wins value of Franco Marvulli (4)?" }
### QUESTION What is the highest taijijian with a 9.87 taijiquan and a total less than 19.77? ### CONTEXT CREATE TABLE table_name_20 (taijijian INTEGER, taijiquan VARCHAR, total VARCHAR) ### ANSWER SELECT MAX(taijijian) FROM table_name_20 WHERE taijiquan = 9.87 AND total < 19.77
{ "answer": "SELECT MAX(taijijian) FROM table_name_20 WHERE taijiquan = 9.87 AND total < 19.77", "context": "CREATE TABLE table_name_20 (taijijian INTEGER, taijiquan VARCHAR, total VARCHAR)", "question": "What is the highest taijijian with a 9.87 taijiquan and a total less than 19.77?" }
### QUESTION What is the Name with an overall of less than 123 for the Detroit Lions? ### CONTEXT CREATE TABLE table_name_3 (name VARCHAR, overall VARCHAR, team VARCHAR) ### ANSWER SELECT name FROM table_name_3 WHERE overall < 123 AND team = "detroit lions"
{ "answer": "SELECT name FROM table_name_3 WHERE overall < 123 AND team = \"detroit lions\"", "context": "CREATE TABLE table_name_3 (name VARCHAR, overall VARCHAR, team VARCHAR)", "question": "What is the Name with an overall of less than 123 for the Detroit Lions?" }
### QUESTION What's the theme for a series of season 3 with smaller than 148 days? ### CONTEXT CREATE TABLE table_name_6 (theme VARCHAR, days VARCHAR, series VARCHAR) ### ANSWER SELECT theme FROM table_name_6 WHERE days < 148 AND series = "season 3"
{ "answer": "SELECT theme FROM table_name_6 WHERE days < 148 AND series = \"season 3\"", "context": "CREATE TABLE table_name_6 (theme VARCHAR, days VARCHAR, series VARCHAR)", "question": "What's the theme for a series of season 3 with smaller than 148 days?" }
### QUESTION What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points? ### CONTEXT CREATE TABLE table_name_4 (opponent VARCHAR, points VARCHAR, attendance VARCHAR) ### ANSWER SELECT opponent FROM table_name_4 WHERE points > 5 AND attendance > 13 OFFSET 567
{ "answer": "SELECT opponent FROM table_name_4 WHERE points > 5 AND attendance > 13 OFFSET 567", "context": "CREATE TABLE table_name_4 (opponent VARCHAR, points VARCHAR, attendance VARCHAR)", "question": "What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points?" }
### QUESTION What is the lowest enrolled school that was founded in 1992 and joined a conference before 1998? ### CONTEXT CREATE TABLE table_name_19 (enrollment INTEGER, founded VARCHAR, joined_conference VARCHAR) ### ANSWER SELECT MIN(enrollment) FROM table_name_19 WHERE founded = "1992" AND joined_conference < 1998
{ "answer": "SELECT MIN(enrollment) FROM table_name_19 WHERE founded = \"1992\" AND joined_conference < 1998", "context": "CREATE TABLE table_name_19 (enrollment INTEGER, founded VARCHAR, joined_conference VARCHAR)", "question": "What is the lowest enrolled school that was founded in 1992 and joined a conference before 1998?" }
### QUESTION What is the label for October 21, 1981? ### CONTEXT CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR) ### ANSWER SELECT label FROM table_name_37 WHERE date = "october 21, 1981"
{ "answer": "SELECT label FROM table_name_37 WHERE date = \"october 21, 1981\"", "context": "CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR)", "question": "What is the label for October 21, 1981?" }
### QUESTION Opponent of at boston patriots, and a Week larger than 3 had what average attendance? ### CONTEXT CREATE TABLE table_name_54 (attendance INTEGER, opponent VARCHAR, week VARCHAR) ### ANSWER SELECT AVG(attendance) FROM table_name_54 WHERE opponent = "at boston patriots" AND week > 3
{ "answer": "SELECT AVG(attendance) FROM table_name_54 WHERE opponent = \"at boston patriots\" AND week > 3", "context": "CREATE TABLE table_name_54 (attendance INTEGER, opponent VARCHAR, week VARCHAR)", "question": "Opponent of at boston patriots, and a Week larger than 3 had what average attendance?" }
### QUESTION What is the number for the Moroccan population when the name is Sebt Saiss and the 2004 population is more than 11212? ### CONTEXT CREATE TABLE table_name_30 (moroccan_population VARCHAR, name VARCHAR, population__2004_ VARCHAR) ### ANSWER SELECT COUNT(moroccan_population) FROM table_name_30 WHERE name = "sebt saiss" AND population__2004_ > 11212
{ "answer": "SELECT COUNT(moroccan_population) FROM table_name_30 WHERE name = \"sebt saiss\" AND population__2004_ > 11212", "context": "CREATE TABLE table_name_30 (moroccan_population VARCHAR, name VARCHAR, population__2004_ VARCHAR)", "question": "What is the number for the Moroccan population when the name is Sebt Saiss and the 2004 population is more than 11212?" }
### QUESTION What is the maximum number of players for the sega game, hang-on (cartridge version)? ### CONTEXT CREATE TABLE table_name_24 (max__number_of_players VARCHAR, developer VARCHAR, main_title___alternate_title_s_ VARCHAR) ### ANSWER SELECT COUNT(max__number_of_players) FROM table_name_24 WHERE developer = "sega" AND main_title___alternate_title_s_ = "hang-on (cartridge version)"
{ "answer": "SELECT COUNT(max__number_of_players) FROM table_name_24 WHERE developer = \"sega\" AND main_title___alternate_title_s_ = \"hang-on (cartridge version)\"", "context": "CREATE TABLE table_name_24 (max__number_of_players VARCHAR, developer VARCHAR, main_title___alternate_title_s_ VARCHAR)", "question": "What is the maximum number of players for the sega game, hang-on (cartridge version)?" }
### QUESTION Which Founded has a League of women's flat track derby association, and a Club of omaha rollergirls? ### CONTEXT CREATE TABLE table_name_14 (founded INTEGER, league VARCHAR, club VARCHAR) ### ANSWER SELECT AVG(founded) FROM table_name_14 WHERE league = "women's flat track derby association" AND club = "omaha rollergirls"
{ "answer": "SELECT AVG(founded) FROM table_name_14 WHERE league = \"women's flat track derby association\" AND club = \"omaha rollergirls\"", "context": "CREATE TABLE table_name_14 (founded INTEGER, league VARCHAR, club VARCHAR)", "question": "Which Founded has a League of women's flat track derby association, and a Club of omaha rollergirls?" }
### QUESTION Find the name of the teacher who teaches the largest number of students. ### CONTEXT CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR) ### ANSWER SELECT T2.firstname, T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom GROUP BY T2.firstname, T2.lastname ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T2.firstname, T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom GROUP BY T2.firstname, T2.lastname ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR)", "question": "Find the name of the teacher who teaches the largest number of students." }
### QUESTION Who had the decision when the visitor was Detroit and the home team was Ottawa? ### CONTEXT CREATE TABLE table_name_71 (decision VARCHAR, visitor VARCHAR, home VARCHAR) ### ANSWER SELECT decision FROM table_name_71 WHERE visitor = "detroit" AND home = "ottawa"
{ "answer": "SELECT decision FROM table_name_71 WHERE visitor = \"detroit\" AND home = \"ottawa\"", "context": "CREATE TABLE table_name_71 (decision VARCHAR, visitor VARCHAR, home VARCHAR)", "question": "Who had the decision when the visitor was Detroit and the home team was Ottawa?" }
### QUESTION Find the first names of all customers that live in Brazil and have an invoice. ### CONTEXT CREATE TABLE CUSTOMER (FirstName VARCHAR, CustomerId VARCHAR, country VARCHAR); CREATE TABLE INVOICE (CustomerId VARCHAR) ### ANSWER SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Brazil"
{ "answer": "SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = \"Brazil\"", "context": "CREATE TABLE CUSTOMER (FirstName VARCHAR, CustomerId VARCHAR, country VARCHAR); CREATE TABLE INVOICE (CustomerId VARCHAR)", "question": "Find the first names of all customers that live in Brazil and have an invoice." }
### QUESTION What are the alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit. ### CONTEXT CREATE TABLE table_191323_2 (alt_name VARCHAR, notes VARCHAR) ### ANSWER SELECT alt_name FROM table_191323_2 WHERE notes = "Mission failed. Guidance system failed. No orbit."
{ "answer": "SELECT alt_name FROM table_191323_2 WHERE notes = \"Mission failed. Guidance system failed. No orbit.\"", "context": "CREATE TABLE table_191323_2 (alt_name VARCHAR, notes VARCHAR)", "question": "What are the alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit." }
### QUESTION What is the average year that anna thompson had an 8th place result in team competition at the world cross country championships in st etienne, france with ### CONTEXT CREATE TABLE table_name_22 (year INTEGER, result VARCHAR, extra VARCHAR, tournament VARCHAR, venue VARCHAR) ### ANSWER SELECT AVG(year) FROM table_name_22 WHERE tournament = "world cross country championships" AND venue = "st etienne, france" AND extra = "team competition" AND result = "8th"
{ "answer": "SELECT AVG(year) FROM table_name_22 WHERE tournament = \"world cross country championships\" AND venue = \"st etienne, france\" AND extra = \"team competition\" AND result = \"8th\"", "context": "CREATE TABLE table_name_22 (year INTEGER, result VARCHAR, extra VARCHAR, tournament VARCHAR, venue VARCHAR)", "question": "What is the average year that anna thompson had an 8th place result in team competition at the world cross country championships in st etienne, france with" }
### QUESTION Find the names of all procedures such that the cost is less than 5000 and physician John Wen was trained in. ### CONTEXT CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREATE TABLE procedures (name VARCHAR, code VARCHAR) ### ANSWER SELECT name FROM procedures WHERE cost < 5000 INTERSECT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = "John Wen"
{ "answer": "SELECT name FROM procedures WHERE cost < 5000 INTERSECT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = \"John Wen\"", "context": "CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREATE TABLE procedures (name VARCHAR, code VARCHAR)", "question": "Find the names of all procedures such that the cost is less than 5000 and physician John Wen was trained in." }
### QUESTION What date was the game at Williams-Brice stadium • Columbia, SC? ### CONTEXT CREATE TABLE table_name_75 (date VARCHAR, site VARCHAR) ### ANSWER SELECT date FROM table_name_75 WHERE site = "williams-brice stadium • columbia, sc"
{ "answer": "SELECT date FROM table_name_75 WHERE site = \"williams-brice stadium • columbia, sc\"", "context": "CREATE TABLE table_name_75 (date VARCHAR, site VARCHAR)", "question": "What date was the game at Williams-Brice stadium • Columbia, SC?" }
### QUESTION What is the value of the Democratic Alternative for the poll released by Malta Today? ### CONTEXT CREATE TABLE table_name_31 (democratic_alternative VARCHAR, polling_institute VARCHAR) ### ANSWER SELECT democratic_alternative FROM table_name_31 WHERE polling_institute = "malta today"
{ "answer": "SELECT democratic_alternative FROM table_name_31 WHERE polling_institute = \"malta today\"", "context": "CREATE TABLE table_name_31 (democratic_alternative VARCHAR, polling_institute VARCHAR)", "question": "What is the value of the Democratic Alternative for the poll released by Malta Today?" }
### QUESTION Name the aspect ratio for smpte 259m and interlaced scanning ### CONTEXT CREATE TABLE table_272313_2 (aspect_ratio VARCHAR, pixel_aspect_ratio VARCHAR, scanning VARCHAR) ### ANSWER SELECT aspect_ratio FROM table_272313_2 WHERE pixel_aspect_ratio = "SMPTE 259M" AND scanning = "interlaced"
{ "answer": "SELECT aspect_ratio FROM table_272313_2 WHERE pixel_aspect_ratio = \"SMPTE 259M\" AND scanning = \"interlaced\"", "context": "CREATE TABLE table_272313_2 (aspect_ratio VARCHAR, pixel_aspect_ratio VARCHAR, scanning VARCHAR)", "question": "Name the aspect ratio for smpte 259m and interlaced scanning" }
### QUESTION who is the grand finalist when the grand finalists are jonathan loh, peterson poon, nathan santos? ### CONTEXT CREATE TABLE table_name_26 (grand_finalist VARCHAR, grand_finalists VARCHAR) ### ANSWER SELECT grand_finalist FROM table_name_26 WHERE grand_finalists = "jonathan loh, peterson poon, nathan santos"
{ "answer": "SELECT grand_finalist FROM table_name_26 WHERE grand_finalists = \"jonathan loh, peterson poon, nathan santos\"", "context": "CREATE TABLE table_name_26 (grand_finalist VARCHAR, grand_finalists VARCHAR)", "question": "who is the grand finalist when the grand finalists are jonathan loh, peterson poon, nathan santos?" }
### QUESTION What is the location for the software of BIND and an IPv6 address of 2001:503:c27::2:30? ### CONTEXT CREATE TABLE table_name_90 (location__numbersites__global_local_ VARCHAR, software VARCHAR, ipv6_address VARCHAR) ### ANSWER SELECT location__numbersites__global_local_ FROM table_name_90 WHERE software = "bind" AND ipv6_address = "2001:503:c27::2:30"
{ "answer": "SELECT location__numbersites__global_local_ FROM table_name_90 WHERE software = \"bind\" AND ipv6_address = \"2001:503:c27::2:30\"", "context": "CREATE TABLE table_name_90 (location__numbersites__global_local_ VARCHAR, software VARCHAR, ipv6_address VARCHAR)", "question": "What is the location for the software of BIND and an IPv6 address of 2001:503:c27::2:30?" }
### QUESTION How many clubs does number 6 play for? ### CONTEXT CREATE TABLE table_12962773_15 (current_club VARCHAR, no VARCHAR) ### ANSWER SELECT COUNT(current_club) FROM table_12962773_15 WHERE no = 6
{ "answer": "SELECT COUNT(current_club) FROM table_12962773_15 WHERE no = 6", "context": "CREATE TABLE table_12962773_15 (current_club VARCHAR, no VARCHAR)", "question": "How many clubs does number 6 play for?" }
### QUESTION What is the s default argument without a pseudorandom number generation and no eval function? ### CONTEXT CREATE TABLE table_name_37 (s_default_argument VARCHAR, pseudorandom_number_generation VARCHAR, eval_function VARCHAR) ### ANSWER SELECT s_default_argument FROM table_name_37 WHERE pseudorandom_number_generation = "no" AND eval_function = "no"
{ "answer": "SELECT s_default_argument FROM table_name_37 WHERE pseudorandom_number_generation = \"no\" AND eval_function = \"no\"", "context": "CREATE TABLE table_name_37 (s_default_argument VARCHAR, pseudorandom_number_generation VARCHAR, eval_function VARCHAR)", "question": "What is the s default argument without a pseudorandom number generation and no eval function?" }
### QUESTION What is Venue, when Competition is 2010 FIFA World Cup Qualification, when Result is Won, and when Date is 14 June 2008? ### CONTEXT CREATE TABLE table_name_25 (venue VARCHAR, date VARCHAR, competition VARCHAR, result VARCHAR) ### ANSWER SELECT venue FROM table_name_25 WHERE competition = "2010 fifa world cup qualification" AND result = "won" AND date = "14 june 2008"
{ "answer": "SELECT venue FROM table_name_25 WHERE competition = \"2010 fifa world cup qualification\" AND result = \"won\" AND date = \"14 june 2008\"", "context": "CREATE TABLE table_name_25 (venue VARCHAR, date VARCHAR, competition VARCHAR, result VARCHAR)", "question": "What is Venue, when Competition is 2010 FIFA World Cup Qualification, when Result is Won, and when Date is 14 June 2008?" }
### QUESTION What is the phonetic realisation if the phonemic value is /v/ and the without niqqud is as initial letter: ו? ### CONTEXT CREATE TABLE table_name_12 (phonetic_realisation VARCHAR, phonemic_value VARCHAR, without_niqqud VARCHAR) ### ANSWER SELECT phonetic_realisation FROM table_name_12 WHERE phonemic_value = "/v/" AND without_niqqud = "as initial letter: ו"
{ "answer": "SELECT phonetic_realisation FROM table_name_12 WHERE phonemic_value = \"/v/\" AND without_niqqud = \"as initial letter: ו\"", "context": "CREATE TABLE table_name_12 (phonetic_realisation VARCHAR, phonemic_value VARCHAR, without_niqqud VARCHAR)", "question": "What is the phonetic realisation if the phonemic value is /v/ and the without niqqud is as initial letter: ו?" }
### QUESTION What in the series number of the episode written by Lauren Gussis? ### CONTEXT CREATE TABLE table_24132083_1 (no_in_series INTEGER, written_by VARCHAR) ### ANSWER SELECT MIN(no_in_series) FROM table_24132083_1 WHERE written_by = "Lauren Gussis"
{ "answer": "SELECT MIN(no_in_series) FROM table_24132083_1 WHERE written_by = \"Lauren Gussis\"", "context": "CREATE TABLE table_24132083_1 (no_in_series INTEGER, written_by VARCHAR)", "question": "What in the series number of the episode written by Lauren Gussis?" }
### QUESTION What team is from the United States and plays a guard position for the Grizzlies in 2012? ### CONTEXT CREATE TABLE table_name_70 (school_club_team VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR) ### ANSWER SELECT school_club_team FROM table_name_70 WHERE nationality = "united states" AND position = "guard" AND years_for_grizzlies = "2012"
{ "answer": "SELECT school_club_team FROM table_name_70 WHERE nationality = \"united states\" AND position = \"guard\" AND years_for_grizzlies = \"2012\"", "context": "CREATE TABLE table_name_70 (school_club_team VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR)", "question": "What team is from the United States and plays a guard position for the Grizzlies in 2012?" }
### QUESTION Which region had a life expectancy at birth of 77.9 from 2001-2002? ### CONTEXT CREATE TABLE table_25042332_33 (region VARCHAR, life_expectancy_at_birth__2001_2002_ VARCHAR) ### ANSWER SELECT region FROM table_25042332_33 WHERE life_expectancy_at_birth__2001_2002_ = "77.9"
{ "answer": "SELECT region FROM table_25042332_33 WHERE life_expectancy_at_birth__2001_2002_ = \"77.9\"", "context": "CREATE TABLE table_25042332_33 (region VARCHAR, life_expectancy_at_birth__2001_2002_ VARCHAR)", "question": "Which region had a life expectancy at birth of 77.9 from 2001-2002?" }
### QUESTION Who was the subject of the bronze sculpture who was a colonist and soldier in Ville Marie, New France? ### CONTEXT CREATE TABLE table_20903658_1 (title_subject VARCHAR, medium VARCHAR, public_office VARCHAR) ### ANSWER SELECT title_subject FROM table_20903658_1 WHERE medium = "Bronze" AND public_office = "colonist and soldier in Ville Marie, New France"
{ "answer": "SELECT title_subject FROM table_20903658_1 WHERE medium = \"Bronze\" AND public_office = \"colonist and soldier in Ville Marie, New France\"", "context": "CREATE TABLE table_20903658_1 (title_subject VARCHAR, medium VARCHAR, public_office VARCHAR)", "question": "Who was the subject of the bronze sculpture who was a colonist and soldier in Ville Marie, New France? " }
### QUESTION What position does the player who has made 244 appearances with a Leeds career of 1981–1989 play? ### CONTEXT CREATE TABLE table_name_58 (position VARCHAR, appearances VARCHAR, leeds_career VARCHAR) ### ANSWER SELECT position FROM table_name_58 WHERE appearances = 244 AND leeds_career = "1981–1989"
{ "answer": "SELECT position FROM table_name_58 WHERE appearances = 244 AND leeds_career = \"1981–1989\"", "context": "CREATE TABLE table_name_58 (position VARCHAR, appearances VARCHAR, leeds_career VARCHAR)", "question": "What position does the player who has made 244 appearances with a Leeds career of 1981–1989 play?" }
### QUESTION Show the name, location, open year for all tracks with a seating higher than the average. ### CONTEXT CREATE TABLE track (name VARCHAR, LOCATION VARCHAR, year_opened VARCHAR, seating INTEGER) ### ANSWER SELECT name, LOCATION, year_opened FROM track WHERE seating > (SELECT AVG(seating) FROM track)
{ "answer": "SELECT name, LOCATION, year_opened FROM track WHERE seating > (SELECT AVG(seating) FROM track)", "context": "CREATE TABLE track (name VARCHAR, LOCATION VARCHAR, year_opened VARCHAR, seating INTEGER)", "question": "Show the name, location, open year for all tracks with a seating higher than the average." }
### QUESTION What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points? ### CONTEXT CREATE TABLE table_name_77 (conceded INTEGER, points VARCHAR, wins VARCHAR, scored VARCHAR) ### ANSWER SELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 23
{ "answer": "SELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 23", "context": "CREATE TABLE table_name_77 (conceded INTEGER, points VARCHAR, wins VARCHAR, scored VARCHAR)", "question": "What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points?" }
### QUESTION What is the enrollment at the school of Hamilton community? ### CONTEXT CREATE TABLE table_name_3 (enrollment INTEGER, school VARCHAR) ### ANSWER SELECT AVG(enrollment) FROM table_name_3 WHERE school = "hamilton community"
{ "answer": "SELECT AVG(enrollment) FROM table_name_3 WHERE school = \"hamilton community\"", "context": "CREATE TABLE table_name_3 (enrollment INTEGER, school VARCHAR)", "question": "What is the enrollment at the school of Hamilton community?" }
### QUESTION Find the names of states that have some college students playing in goalie and mid positions. ### CONTEXT CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR) ### ANSWER SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie' INTERSECT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid'
{ "answer": "SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie' INTERSECT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid'", "context": "CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)", "question": "Find the names of states that have some college students playing in goalie and mid positions." }
### QUESTION What was the rank when then time was 7:52.53? ### CONTEXT CREATE TABLE table_name_10 (rank INTEGER, time VARCHAR) ### ANSWER SELECT MIN(rank) FROM table_name_10 WHERE time = "7:52.53"
{ "answer": "SELECT MIN(rank) FROM table_name_10 WHERE time = \"7:52.53\"", "context": "CREATE TABLE table_name_10 (rank INTEGER, time VARCHAR)", "question": "What was the rank when then time was 7:52.53?" }
### QUESTION How much Enrollment has a School of fort wayne homestead? ### CONTEXT CREATE TABLE table_name_5 (enrollment INTEGER, school VARCHAR) ### ANSWER SELECT SUM(enrollment) FROM table_name_5 WHERE school = "fort wayne homestead"
{ "answer": "SELECT SUM(enrollment) FROM table_name_5 WHERE school = \"fort wayne homestead\"", "context": "CREATE TABLE table_name_5 (enrollment INTEGER, school VARCHAR)", "question": "How much Enrollment has a School of fort wayne homestead?" }
### QUESTION What is the english title of the film before 1999 with a role of kim da-rim? ### CONTEXT CREATE TABLE table_name_80 (english_title VARCHAR, year VARCHAR, role VARCHAR) ### ANSWER SELECT english_title FROM table_name_80 WHERE year < 1999 AND role = "kim da-rim"
{ "answer": "SELECT english_title FROM table_name_80 WHERE year < 1999 AND role = \"kim da-rim\"", "context": "CREATE TABLE table_name_80 (english_title VARCHAR, year VARCHAR, role VARCHAR)", "question": "What is the english title of the film before 1999 with a role of kim da-rim?" }
### QUESTION who are all the players for mission viejo high school ### CONTEXT CREATE TABLE table_11677691_12 (player VARCHAR, school VARCHAR) ### ANSWER SELECT player FROM table_11677691_12 WHERE school = "Mission Viejo High school"
{ "answer": "SELECT player FROM table_11677691_12 WHERE school = \"Mission Viejo High school\"", "context": "CREATE TABLE table_11677691_12 (player VARCHAR, school VARCHAR)", "question": "who are all the players for mission viejo high school" }
### QUESTION How many datas were recorded on January 15-16 if August 21-22 is 155? ### CONTEXT CREATE TABLE table_25216791_3 (january_15_16 VARCHAR, august_21_22 VARCHAR) ### ANSWER SELECT COUNT(january_15_16) FROM table_25216791_3 WHERE august_21_22 = "155"
{ "answer": "SELECT COUNT(january_15_16) FROM table_25216791_3 WHERE august_21_22 = \"155\"", "context": "CREATE TABLE table_25216791_3 (january_15_16 VARCHAR, august_21_22 VARCHAR)", "question": "How many datas were recorded on January 15-16 if August 21-22 is 155?" }
### QUESTION Which Females (%) has an HIV awareness (males%) larger than 92, and Females Rank larger than 2, and Males Rank smaller than 3? ### CONTEXT CREATE TABLE table_name_71 (females___percentage_ INTEGER, males_rank VARCHAR, hiv_awareness__males_percentage_ VARCHAR, females_rank VARCHAR) ### ANSWER SELECT SUM(females___percentage_) FROM table_name_71 WHERE hiv_awareness__males_percentage_ > 92 AND females_rank > 2 AND males_rank < 3
{ "answer": "SELECT SUM(females___percentage_) FROM table_name_71 WHERE hiv_awareness__males_percentage_ > 92 AND females_rank > 2 AND males_rank < 3", "context": "CREATE TABLE table_name_71 (females___percentage_ INTEGER, males_rank VARCHAR, hiv_awareness__males_percentage_ VARCHAR, females_rank VARCHAR)", "question": "Which Females (%) has an HIV awareness (males%) larger than 92, and Females Rank larger than 2, and Males Rank smaller than 3?" }
### QUESTION What was the season number episode directed by John David Coles? ### CONTEXT CREATE TABLE table_21781578_2 (season_no VARCHAR, directed_by VARCHAR) ### ANSWER SELECT season_no FROM table_21781578_2 WHERE directed_by = "John David Coles"
{ "answer": "SELECT season_no FROM table_21781578_2 WHERE directed_by = \"John David Coles\"", "context": "CREATE TABLE table_21781578_2 (season_no VARCHAR, directed_by VARCHAR)", "question": "What was the season number episode directed by John David Coles?" }
### QUESTION what's the record with date being january 13 ### CONTEXT CREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR) ### ANSWER SELECT record FROM table_13480122_5 WHERE date = "January 13"
{ "answer": "SELECT record FROM table_13480122_5 WHERE date = \"January 13\"", "context": "CREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR)", "question": "what's the record with date being january 13" }
### QUESTION Show the date of the transcript which shows the least number of results, also list the id. ### CONTEXT CREATE TABLE Transcript_Contents (transcript_id VARCHAR); CREATE TABLE Transcripts (transcript_date VARCHAR, transcript_id VARCHAR) ### ANSWER SELECT T2.transcript_date, T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY COUNT(*) LIMIT 1
{ "answer": "SELECT T2.transcript_date, T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY COUNT(*) LIMIT 1", "context": "CREATE TABLE Transcript_Contents (transcript_id VARCHAR); CREATE TABLE Transcripts (transcript_date VARCHAR, transcript_id VARCHAR)", "question": "Show the date of the transcript which shows the least number of results, also list the id." }
### QUESTION What is the least first elected for jeff busby? ### CONTEXT CREATE TABLE table_1342393_23 (first_elected INTEGER, incumbent VARCHAR) ### ANSWER SELECT MIN(first_elected) FROM table_1342393_23 WHERE incumbent = "Jeff Busby"
{ "answer": "SELECT MIN(first_elected) FROM table_1342393_23 WHERE incumbent = \"Jeff Busby\"", "context": "CREATE TABLE table_1342393_23 (first_elected INTEGER, incumbent VARCHAR)", "question": "What is the least first elected for jeff busby?" }
### QUESTION What year were there less than 1.5 points and an Entrant of escuderia bandeirantes, and a maserati straight-4 engine? ### CONTEXT CREATE TABLE table_name_90 (year VARCHAR, engine VARCHAR, points VARCHAR, entrant VARCHAR) ### ANSWER SELECT year FROM table_name_90 WHERE points < 1.5 AND entrant = "escuderia bandeirantes" AND engine = "maserati straight-4"
{ "answer": "SELECT year FROM table_name_90 WHERE points < 1.5 AND entrant = \"escuderia bandeirantes\" AND engine = \"maserati straight-4\"", "context": "CREATE TABLE table_name_90 (year VARCHAR, engine VARCHAR, points VARCHAR, entrant VARCHAR)", "question": "What year were there less than 1.5 points and an Entrant of escuderia bandeirantes, and a maserati straight-4 engine?" }
### QUESTION What is the team 1 with cementarnica as team 2? ### CONTEXT CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR) ### ANSWER SELECT team_1 FROM table_name_20 WHERE team_2 = "cementarnica"
{ "answer": "SELECT team_1 FROM table_name_20 WHERE team_2 = \"cementarnica\"", "context": "CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR)", "question": "What is the team 1 with cementarnica as team 2?" }
### QUESTION What is Position, when School/Previous Club Team/Country is Kentucky? ### CONTEXT CREATE TABLE table_name_67 (position VARCHAR, school_previous_club_team_country VARCHAR) ### ANSWER SELECT position FROM table_name_67 WHERE school_previous_club_team_country = "kentucky"
{ "answer": "SELECT position FROM table_name_67 WHERE school_previous_club_team_country = \"kentucky\"", "context": "CREATE TABLE table_name_67 (position VARCHAR, school_previous_club_team_country VARCHAR)", "question": "What is Position, when School/Previous Club Team/Country is Kentucky?" }
### QUESTION When 380 g/mi (236 g/km) is the dirty electric grid rocky mountains (denver) what is the u.s national average electric mix? ### CONTEXT CREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, dirty_electric_grid_rocky_mountains__denver_ VARCHAR) ### ANSWER SELECT us_national_average_electric_mix FROM table_24620684_2 WHERE dirty_electric_grid_rocky_mountains__denver_ = "380 g/mi (236 g/km)"
{ "answer": "SELECT us_national_average_electric_mix FROM table_24620684_2 WHERE dirty_electric_grid_rocky_mountains__denver_ = \"380 g/mi (236 g/km)\"", "context": "CREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, dirty_electric_grid_rocky_mountains__denver_ VARCHAR)", "question": "When 380 g/mi (236 g/km) is the dirty electric grid rocky mountains (denver) what is the u.s national average electric mix?" }
### QUESTION What was the final episode credited of 187? ### CONTEXT CREATE TABLE table_name_72 (final_episode VARCHAR, episodes_credited VARCHAR) ### ANSWER SELECT final_episode FROM table_name_72 WHERE episodes_credited = 187
{ "answer": "SELECT final_episode FROM table_name_72 WHERE episodes_credited = 187", "context": "CREATE TABLE table_name_72 (final_episode VARCHAR, episodes_credited VARCHAR)", "question": "What was the final episode credited of 187?" }
### QUESTION Which Min press has none Death and seven Storm names? ### CONTEXT CREATE TABLE table_name_68 (min_press___mbar__ VARCHAR, deaths VARCHAR, storm_name VARCHAR) ### ANSWER SELECT min_press___mbar__ FROM table_name_68 WHERE deaths = "none" AND storm_name = "seven"
{ "answer": "SELECT min_press___mbar__ FROM table_name_68 WHERE deaths = \"none\" AND storm_name = \"seven\"", "context": "CREATE TABLE table_name_68 (min_press___mbar__ VARCHAR, deaths VARCHAR, storm_name VARCHAR)", "question": "Which Min press has none Death and seven Storm names?" }
### QUESTION What is the number for swimsuit when the evening gown number is larger than 9.257 and the interview number is 9.357? ### CONTEXT CREATE TABLE table_name_25 (swimsuit INTEGER, evening_gown VARCHAR, interview VARCHAR) ### ANSWER SELECT SUM(swimsuit) FROM table_name_25 WHERE evening_gown > 9.257 AND interview = 9.357
{ "answer": "SELECT SUM(swimsuit) FROM table_name_25 WHERE evening_gown > 9.257 AND interview = 9.357", "context": "CREATE TABLE table_name_25 (swimsuit INTEGER, evening_gown VARCHAR, interview VARCHAR)", "question": "What is the number for swimsuit when the evening gown number is larger than 9.257 and the interview number is 9.357?" }
### QUESTION What is the association agreement for bosnia and herzegovina? ### CONTEXT CREATE TABLE table_name_69 (association_agreement VARCHAR, state VARCHAR) ### ANSWER SELECT association_agreement FROM table_name_69 WHERE state = "bosnia and herzegovina"
{ "answer": "SELECT association_agreement FROM table_name_69 WHERE state = \"bosnia and herzegovina\"", "context": "CREATE TABLE table_name_69 (association_agreement VARCHAR, state VARCHAR)", "question": "What is the association agreement for bosnia and herzegovina?" }
### QUESTION What is the maximum fps HDRx with a height larger than 1080 with a compression at 24 fps of 6:1 with a compression at maximum fps of at least 7:1? ### CONTEXT CREATE TABLE table_name_47 (maximum_fps VARCHAR, least_compression_at_maximum_fps VARCHAR, height VARCHAR, least_compression_at_24_fps VARCHAR) ### ANSWER SELECT maximum_fps AS HDRx FROM table_name_47 WHERE height > 1080 AND least_compression_at_24_fps = "6:1" AND least_compression_at_maximum_fps = "7:1"
{ "answer": "SELECT maximum_fps AS HDRx FROM table_name_47 WHERE height > 1080 AND least_compression_at_24_fps = \"6:1\" AND least_compression_at_maximum_fps = \"7:1\"", "context": "CREATE TABLE table_name_47 (maximum_fps VARCHAR, least_compression_at_maximum_fps VARCHAR, height VARCHAR, least_compression_at_24_fps VARCHAR)", "question": "What is the maximum fps HDRx with a height larger than 1080 with a compression at 24 fps of 6:1 with a compression at maximum fps of at least 7:1?" }
### QUESTION What is the western title for the puzzle genre? ### CONTEXT CREATE TABLE table_name_56 (western_title VARCHAR, genre VARCHAR) ### ANSWER SELECT western_title FROM table_name_56 WHERE genre = "puzzle"
{ "answer": "SELECT western_title FROM table_name_56 WHERE genre = \"puzzle\"", "context": "CREATE TABLE table_name_56 (western_title VARCHAR, genre VARCHAR)", "question": "What is the western title for the puzzle genre?" }
### QUESTION Which venue has a Score of 1–0, and a Competition of 2002 world cup qualifier? ### CONTEXT CREATE TABLE table_name_91 (venue VARCHAR, score VARCHAR, competition VARCHAR) ### ANSWER SELECT venue FROM table_name_91 WHERE score = "1–0" AND competition = "2002 world cup qualifier"
{ "answer": "SELECT venue FROM table_name_91 WHERE score = \"1–0\" AND competition = \"2002 world cup qualifier\"", "context": "CREATE TABLE table_name_91 (venue VARCHAR, score VARCHAR, competition VARCHAR)", "question": "Which venue has a Score of 1–0, and a Competition of 2002 world cup qualifier?" }
### QUESTION What is the engine type when the max torque at rpm is n·m ( lbf·ft ) @ 4,800 Answers:? ### CONTEXT CREATE TABLE table_1147705_1 (engine_type VARCHAR, max_torque_at_rpm VARCHAR) ### ANSWER SELECT engine_type FROM table_1147705_1 WHERE max_torque_at_rpm = "N·m ( lbf·ft ) @ 4,800"
{ "answer": "SELECT engine_type FROM table_1147705_1 WHERE max_torque_at_rpm = \"N·m ( lbf·ft ) @ 4,800\"", "context": "CREATE TABLE table_1147705_1 (engine_type VARCHAR, max_torque_at_rpm VARCHAR)", "question": "What is the engine type when the max torque at rpm is n·m ( lbf·ft ) @ 4,800 Answers:?" }
### QUESTION What's the 69kg of Round 16? ### CONTEXT CREATE TABLE table_name_16 (round_of_16 VARCHAR, event VARCHAR) ### ANSWER SELECT round_of_16 FROM table_name_16 WHERE event = "69kg"
{ "answer": "SELECT round_of_16 FROM table_name_16 WHERE event = \"69kg\"", "context": "CREATE TABLE table_name_16 (round_of_16 VARCHAR, event VARCHAR)", "question": "What's the 69kg of Round 16?" }
### QUESTION Rank for viewers larger than 1.244? ### CONTEXT CREATE TABLE table_name_21 (nightly_rank VARCHAR, viewers__millions_ INTEGER) ### ANSWER SELECT nightly_rank FROM table_name_21 WHERE viewers__millions_ > 1.244
{ "answer": "SELECT nightly_rank FROM table_name_21 WHERE viewers__millions_ > 1.244", "context": "CREATE TABLE table_name_21 (nightly_rank VARCHAR, viewers__millions_ INTEGER)", "question": "Rank for viewers larger than 1.244?" }
### QUESTION What was the constructor when Jack Brabham was the driver at the Monaco Grand Prix? ### CONTEXT CREATE TABLE table_name_46 (constructor VARCHAR, winning_driver VARCHAR, race VARCHAR) ### ANSWER SELECT constructor FROM table_name_46 WHERE winning_driver = "jack brabham" AND race = "monaco grand prix"
{ "answer": "SELECT constructor FROM table_name_46 WHERE winning_driver = \"jack brabham\" AND race = \"monaco grand prix\"", "context": "CREATE TABLE table_name_46 (constructor VARCHAR, winning_driver VARCHAR, race VARCHAR)", "question": "What was the constructor when Jack Brabham was the driver at the Monaco Grand Prix?" }
### QUESTION Who proceeded to the quarter final when the london irish were eliminated from competition? ### CONTEXT CREATE TABLE table_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR) ### ANSWER SELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = "London Irish"
{ "answer": "SELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = \"London Irish\"", "context": "CREATE TABLE table_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR)", "question": "Who proceeded to the quarter final when the london irish were eliminated from competition?" }
### QUESTION How many ranks are in liverpool with more than 3 platforms and an annual interchange less than 0.778 million? ### CONTEXT CREATE TABLE table_name_91 (rank VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, location VARCHAR, number_of_platforms VARCHAR) ### ANSWER SELECT COUNT(rank) FROM table_name_91 WHERE location = "liverpool" AND number_of_platforms > 3 AND annual_interchanges__millions__2011_12 < 0.778
{ "answer": "SELECT COUNT(rank) FROM table_name_91 WHERE location = \"liverpool\" AND number_of_platforms > 3 AND annual_interchanges__millions__2011_12 < 0.778", "context": "CREATE TABLE table_name_91 (rank VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, location VARCHAR, number_of_platforms VARCHAR)", "question": "How many ranks are in liverpool with more than 3 platforms and an annual interchange less than 0.778 million?" }
### QUESTION Who directed Bunker Hill Bunny? ### CONTEXT CREATE TABLE table_name_77 (director VARCHAR, title VARCHAR) ### ANSWER SELECT director FROM table_name_77 WHERE title = "bunker hill bunny"
{ "answer": "SELECT director FROM table_name_77 WHERE title = \"bunker hill bunny\"", "context": "CREATE TABLE table_name_77 (director VARCHAR, title VARCHAR)", "question": "Who directed Bunker Hill Bunny?" }
### QUESTION Which Opponent has a Surface of hardcourt, an Outcome of runner-up, and a Tournament of honolulu? ### CONTEXT CREATE TABLE table_name_51 (opponent VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) ### ANSWER SELECT opponent FROM table_name_51 WHERE surface = "hardcourt" AND outcome = "runner-up" AND tournament = "honolulu"
{ "answer": "SELECT opponent FROM table_name_51 WHERE surface = \"hardcourt\" AND outcome = \"runner-up\" AND tournament = \"honolulu\"", "context": "CREATE TABLE table_name_51 (opponent VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)", "question": "Which Opponent has a Surface of hardcourt, an Outcome of runner-up, and a Tournament of honolulu?" }
### QUESTION Which Location has a Record of 5–2–1? ### CONTEXT CREATE TABLE table_name_31 (location VARCHAR, record VARCHAR) ### ANSWER SELECT location FROM table_name_31 WHERE record = "5–2–1"
{ "answer": "SELECT location FROM table_name_31 WHERE record = \"5–2–1\"", "context": "CREATE TABLE table_name_31 (location VARCHAR, record VARCHAR)", "question": "Which Location has a Record of 5–2–1?" }
### QUESTION What day did the VFL play Punt Road Oval? ### CONTEXT CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR) ### ANSWER SELECT date FROM table_name_59 WHERE venue = "punt road oval"
{ "answer": "SELECT date FROM table_name_59 WHERE venue = \"punt road oval\"", "context": "CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)", "question": "What day did the VFL play Punt Road Oval?" }
### QUESTION Who led sprints classification when Chris Horner led general classification? ### CONTEXT CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, general_classification VARCHAR) ### ANSWER SELECT sprints_classification FROM table_26257223_13 WHERE general_classification = "Chris Horner"
{ "answer": "SELECT sprints_classification FROM table_26257223_13 WHERE general_classification = \"Chris Horner\"", "context": "CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, general_classification VARCHAR)", "question": "Who led sprints classification when Chris Horner led general classification?" }
### QUESTION What is the highest Points, when Position is less than 4, when Equipment is Zabel - VMC, and when Bike No is less than 1? ### CONTEXT CREATE TABLE table_name_19 (points INTEGER, bike_no VARCHAR, position VARCHAR, equipment VARCHAR) ### ANSWER SELECT MAX(points) FROM table_name_19 WHERE position < 4 AND equipment = "zabel - vmc" AND bike_no < 1
{ "answer": "SELECT MAX(points) FROM table_name_19 WHERE position < 4 AND equipment = \"zabel - vmc\" AND bike_no < 1", "context": "CREATE TABLE table_name_19 (points INTEGER, bike_no VARCHAR, position VARCHAR, equipment VARCHAR)", "question": "What is the highest Points, when Position is less than 4, when Equipment is Zabel - VMC, and when Bike No is less than 1?" }
### QUESTION Opponent of @ edmonton oilers, and a Game larger than 1, and a Series of oilers lead 3–2 had what score? ### CONTEXT CREATE TABLE table_name_30 (score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR) ### ANSWER SELECT score FROM table_name_30 WHERE opponent = "@ edmonton oilers" AND game > 1 AND series = "oilers lead 3–2"
{ "answer": "SELECT score FROM table_name_30 WHERE opponent = \"@ edmonton oilers\" AND game > 1 AND series = \"oilers lead 3–2\"", "context": "CREATE TABLE table_name_30 (score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR)", "question": "Opponent of @ edmonton oilers, and a Game larger than 1, and a Series of oilers lead 3–2 had what score?" }
### QUESTION For the tournament played on 16 Jan 2011, what was the winning score? ### CONTEXT CREATE TABLE table_name_21 (winning_score VARCHAR, date VARCHAR) ### ANSWER SELECT winning_score FROM table_name_21 WHERE date = "16 jan 2011"
{ "answer": "SELECT winning_score FROM table_name_21 WHERE date = \"16 jan 2011\"", "context": "CREATE TABLE table_name_21 (winning_score VARCHAR, date VARCHAR)", "question": "For the tournament played on 16 Jan 2011, what was the winning score?" }