text
stringlengths
146
1.06k
source
dict
### QUESTION What is the total sum of the player from the United States who won in 1986? ### CONTEXT CREATE TABLE table_name_52 (total INTEGER, country VARCHAR, year_s__won VARCHAR) ### ANSWER SELECT SUM(total) FROM table_name_52 WHERE country = "united states" AND year_s__won = "1986"
{ "answer": "SELECT SUM(total) FROM table_name_52 WHERE country = \"united states\" AND year_s__won = \"1986\"", "context": "CREATE TABLE table_name_52 (total INTEGER, country VARCHAR, year_s__won VARCHAR)", "question": "What is the total sum of the player from the United States who won in 1986?" }
### QUESTION How many colleges did pick number 269 attend? ### CONTEXT CREATE TABLE table_14650162_1 (college VARCHAR, pick__number VARCHAR) ### ANSWER SELECT COUNT(college) FROM table_14650162_1 WHERE pick__number = 269
{ "answer": "SELECT COUNT(college) FROM table_14650162_1 WHERE pick__number = 269", "context": "CREATE TABLE table_14650162_1 (college VARCHAR, pick__number VARCHAR)", "question": "How many colleges did pick number 269 attend?" }
### QUESTION Which chassis used by the entrant Automobiles Gonfaronnaises Sportives scored 0 points? ### CONTEXT CREATE TABLE table_name_65 (chassis VARCHAR, points VARCHAR, entrant VARCHAR) ### ANSWER SELECT chassis FROM table_name_65 WHERE points = 0 AND entrant = "automobiles gonfaronnaises sportives"
{ "answer": "SELECT chassis FROM table_name_65 WHERE points = 0 AND entrant = \"automobiles gonfaronnaises sportives\"", "context": "CREATE TABLE table_name_65 (chassis VARCHAR, points VARCHAR, entrant VARCHAR)", "question": "Which chassis used by the entrant Automobiles Gonfaronnaises Sportives scored 0 points?" }
### QUESTION What is the assists for the Team of Florida and the total points of 75? ### CONTEXT CREATE TABLE table_name_29 (assists VARCHAR, team VARCHAR, total_points VARCHAR) ### ANSWER SELECT assists FROM table_name_29 WHERE team = "florida" AND total_points = "75"
{ "answer": "SELECT assists FROM table_name_29 WHERE team = \"florida\" AND total_points = \"75\"", "context": "CREATE TABLE table_name_29 (assists VARCHAR, team VARCHAR, total_points VARCHAR)", "question": "What is the assists for the Team of Florida and the total points of 75?" }
### QUESTION Find the first name of student who is taking classes from accounting and Computer Info. Systems departments ### CONTEXT CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR) ### ANSWER SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code JOIN department AS T5 ON T5.dept_code = T4.dept_code WHERE T5.dept_name = 'Accounting' INTERSECT SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code JOIN department AS T5 ON T5.dept_code = T4.dept_code WHERE T5.dept_name = 'Computer Info. Systems'
{ "answer": "SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code JOIN department AS T5 ON T5.dept_code = T4.dept_code WHERE T5.dept_name = 'Accounting' INTERSECT SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code JOIN department AS T5 ON T5.dept_code = T4.dept_code WHERE T5.dept_name = 'Computer Info. Systems'", "context": "CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR)", "question": "Find the first name of student who is taking classes from accounting and Computer Info. Systems departments" }
### QUESTION What is the time when the race was in Kenya and Lineth Chepkurui was the athlete? ### CONTEXT CREATE TABLE table_name_50 (time VARCHAR, nation VARCHAR, athlete VARCHAR) ### ANSWER SELECT time FROM table_name_50 WHERE nation = "kenya" AND athlete = "lineth chepkurui"
{ "answer": "SELECT time FROM table_name_50 WHERE nation = \"kenya\" AND athlete = \"lineth chepkurui\"", "context": "CREATE TABLE table_name_50 (time VARCHAR, nation VARCHAR, athlete VARCHAR)", "question": "What is the time when the race was in Kenya and Lineth Chepkurui was the athlete?" }
### QUESTION Show the names of products that are in at least two events in ascending alphabetical order of product name. ### CONTEXT CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR); CREATE TABLE Products_in_Events (Product_ID VARCHAR) ### ANSWER SELECT T1.Product_Name FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID = T2.Product_ID GROUP BY T1.Product_Name HAVING COUNT(*) >= 2 ORDER BY T1.Product_Name
{ "answer": "SELECT T1.Product_Name FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID = T2.Product_ID GROUP BY T1.Product_Name HAVING COUNT(*) >= 2 ORDER BY T1.Product_Name", "context": "CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR); CREATE TABLE Products_in_Events (Product_ID VARCHAR)", "question": "Show the names of products that are in at least two events in ascending alphabetical order of product name." }
### QUESTION On how many locations is there a church named Askrova Bedehuskapell, built in 1957? ### CONTEXT CREATE TABLE table_178381_1 (location_of_the_church VARCHAR, year_built VARCHAR, church_name VARCHAR) ### ANSWER SELECT COUNT(location_of_the_church) FROM table_178381_1 WHERE year_built = "1957" AND church_name = "Askrova bedehuskapell"
{ "answer": "SELECT COUNT(location_of_the_church) FROM table_178381_1 WHERE year_built = \"1957\" AND church_name = \"Askrova bedehuskapell\"", "context": "CREATE TABLE table_178381_1 (location_of_the_church VARCHAR, year_built VARCHAR, church_name VARCHAR)", "question": "On how many locations is there a church named Askrova Bedehuskapell, built in 1957?" }
### QUESTION What are the name and id of the team with the most victories in 2008 postseason? ### CONTEXT CREATE TABLE postseason (team_id_winner VARCHAR, year VARCHAR); CREATE TABLE team (name VARCHAR, team_id_br VARCHAR) ### ANSWER SELECT T2.name, T1.team_id_winner FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T1.year = 2008 GROUP BY T1.team_id_winner ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T2.name, T1.team_id_winner FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T1.year = 2008 GROUP BY T1.team_id_winner ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE postseason (team_id_winner VARCHAR, year VARCHAR); CREATE TABLE team (name VARCHAR, team_id_br VARCHAR)", "question": "What are the name and id of the team with the most victories in 2008 postseason?" }
### QUESTION Name the broadcast for 7:00pm and mississippi state ### CONTEXT CREATE TABLE table_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR) ### ANSWER SELECT broadcast FROM table_26842217_18 WHERE time = "7:00pm" AND home_team = "Mississippi State"
{ "answer": "SELECT broadcast FROM table_26842217_18 WHERE time = \"7:00pm\" AND home_team = \"Mississippi State\"", "context": "CREATE TABLE table_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR)", "question": "Name the broadcast for 7:00pm and mississippi state" }
### QUESTION Which Opponents in Final has an Outcome of winner, and a Surface of hard, and a Date of april 17, 1994? ### CONTEXT CREATE TABLE table_name_15 (opponents_in_final VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR) ### ANSWER SELECT opponents_in_final FROM table_name_15 WHERE outcome = "winner" AND surface = "hard" AND date = "april 17, 1994"
{ "answer": "SELECT opponents_in_final FROM table_name_15 WHERE outcome = \"winner\" AND surface = \"hard\" AND date = \"april 17, 1994\"", "context": "CREATE TABLE table_name_15 (opponents_in_final VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)", "question": "Which Opponents in Final has an Outcome of winner, and a Surface of hard, and a Date of april 17, 1994?" }
### QUESTION Who is the MVP finals that includes Detroit shock from the eastern championship and Sacramento monarchs from western championship? ### CONTEXT CREATE TABLE table_name_26 (finals_mvp VARCHAR, eastern_champion VARCHAR, western_champion VARCHAR) ### ANSWER SELECT finals_mvp FROM table_name_26 WHERE eastern_champion = "detroit shock" AND western_champion = "sacramento monarchs"
{ "answer": "SELECT finals_mvp FROM table_name_26 WHERE eastern_champion = \"detroit shock\" AND western_champion = \"sacramento monarchs\"", "context": "CREATE TABLE table_name_26 (finals_mvp VARCHAR, eastern_champion VARCHAR, western_champion VARCHAR)", "question": "Who is the MVP finals that includes Detroit shock from the eastern championship and Sacramento monarchs from western championship?" }
### QUESTION Show the statement detail and the corresponding document name for the statement with detail 'Private Project'. ### CONTEXT CREATE TABLE Statements (statement_details VARCHAR, statement_id VARCHAR); CREATE TABLE Documents (document_name VARCHAR, document_id VARCHAR) ### ANSWER SELECT T1.statement_details, T2.document_name FROM Statements AS T1 JOIN Documents AS T2 ON T1.statement_id = T2.document_id WHERE T1.statement_details = 'Private Project'
{ "answer": "SELECT T1.statement_details, T2.document_name FROM Statements AS T1 JOIN Documents AS T2 ON T1.statement_id = T2.document_id WHERE T1.statement_details = 'Private Project'", "context": "CREATE TABLE Statements (statement_details VARCHAR, statement_id VARCHAR); CREATE TABLE Documents (document_name VARCHAR, document_id VARCHAR)", "question": "Show the statement detail and the corresponding document name for the statement with detail 'Private Project'." }
### QUESTION What was the placing of the race in which Chic won by 8gf? ### CONTEXT CREATE TABLE table_name_58 (placing VARCHAR, beat_by VARCHAR, distance VARCHAR) ### ANSWER SELECT placing FROM table_name_58 WHERE beat_by = "won" AND distance = "8gf"
{ "answer": "SELECT placing FROM table_name_58 WHERE beat_by = \"won\" AND distance = \"8gf\"", "context": "CREATE TABLE table_name_58 (placing VARCHAR, beat_by VARCHAR, distance VARCHAR)", "question": "What was the placing of the race in which Chic won by 8gf?" }
### QUESTION What is the debut year for the player with fewer than 54 games, fewer than 8 goals and 1989 at club? ### CONTEXT CREATE TABLE table_name_6 (debut_year INTEGER, goals VARCHAR, games VARCHAR, years_at_club VARCHAR) ### ANSWER SELECT AVG(debut_year) FROM table_name_6 WHERE games < 54 AND years_at_club = "1989" AND goals < 8
{ "answer": "SELECT AVG(debut_year) FROM table_name_6 WHERE games < 54 AND years_at_club = \"1989\" AND goals < 8", "context": "CREATE TABLE table_name_6 (debut_year INTEGER, goals VARCHAR, games VARCHAR, years_at_club VARCHAR)", "question": "What is the debut year for the player with fewer than 54 games, fewer than 8 goals and 1989 at club?" }
### QUESTION how many times is the money list rank 221 and cuts more than 2? ### CONTEXT CREATE TABLE table_name_97 (tournaments_played VARCHAR, money_list_rank VARCHAR, cuts_made VARCHAR) ### ANSWER SELECT COUNT(tournaments_played) FROM table_name_97 WHERE money_list_rank = "221" AND cuts_made > 2
{ "answer": "SELECT COUNT(tournaments_played) FROM table_name_97 WHERE money_list_rank = \"221\" AND cuts_made > 2", "context": "CREATE TABLE table_name_97 (tournaments_played VARCHAR, money_list_rank VARCHAR, cuts_made VARCHAR)", "question": "how many times is the money list rank 221 and cuts more than 2?" }
### QUESTION When france had a rank larger than 2, what was their time? ### CONTEXT CREATE TABLE table_name_94 (time VARCHAR, rank VARCHAR, country VARCHAR) ### ANSWER SELECT time FROM table_name_94 WHERE rank > 2 AND country = "france"
{ "answer": "SELECT time FROM table_name_94 WHERE rank > 2 AND country = \"france\"", "context": "CREATE TABLE table_name_94 (time VARCHAR, rank VARCHAR, country VARCHAR)", "question": "When france had a rank larger than 2, what was their time?" }
### QUESTION What country are the new orleans shell shockers from? ### CONTEXT CREATE TABLE table_28005160_2 (country VARCHAR, sponsored_name VARCHAR) ### ANSWER SELECT country FROM table_28005160_2 WHERE sponsored_name = "New Orleans Shell Shockers"
{ "answer": "SELECT country FROM table_28005160_2 WHERE sponsored_name = \"New Orleans Shell Shockers\"", "context": "CREATE TABLE table_28005160_2 (country VARCHAR, sponsored_name VARCHAR)", "question": "What country are the new orleans shell shockers from?" }
### QUESTION What is the high 10 profile number when the high profile is 80? ### CONTEXT CREATE TABLE table_237036_2 (high_10_profile INTEGER, high_profile VARCHAR) ### ANSWER SELECT MAX(high_10_profile) FROM table_237036_2 WHERE high_profile = 80
{ "answer": "SELECT MAX(high_10_profile) FROM table_237036_2 WHERE high_profile = 80", "context": "CREATE TABLE table_237036_2 (high_10_profile INTEGER, high_profile VARCHAR)", "question": "What is the high 10 profile number when the high profile is 80?" }
### QUESTION What are the name and typical buying and selling prices of the products that have color described as "yellow"? ### CONTEXT CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR, typical_selling_price VARCHAR, color_code VARCHAR) ### ANSWER SELECT t1.product_name, t1.typical_buying_price, t1.typical_selling_price FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t2.color_description = "yellow"
{ "answer": "SELECT t1.product_name, t1.typical_buying_price, t1.typical_selling_price FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t2.color_description = \"yellow\"", "context": "CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR, typical_selling_price VARCHAR, color_code VARCHAR)", "question": "What are the name and typical buying and selling prices of the products that have color described as \"yellow\"?" }
### QUESTION What is the coverage area of muzik fm station, which has a music genre? ### CONTEXT CREATE TABLE table_name_65 (coverage_area VARCHAR, genre VARCHAR, station VARCHAR) ### ANSWER SELECT coverage_area FROM table_name_65 WHERE genre = "music" AND station = "muzik fm"
{ "answer": "SELECT coverage_area FROM table_name_65 WHERE genre = \"music\" AND station = \"muzik fm\"", "context": "CREATE TABLE table_name_65 (coverage_area VARCHAR, genre VARCHAR, station VARCHAR)", "question": "What is the coverage area of muzik fm station, which has a music genre?" }
### QUESTION Who was the player with a debut of age 18 v plymouth , 14 august 2012, and born in Portsmouth? ### CONTEXT CREATE TABLE table_name_97 (player VARCHAR, debut VARCHAR, born VARCHAR) ### ANSWER SELECT player FROM table_name_97 WHERE debut = "age 18 v plymouth , 14 august 2012" AND born = "portsmouth"
{ "answer": "SELECT player FROM table_name_97 WHERE debut = \"age 18 v plymouth , 14 august 2012\" AND born = \"portsmouth\"", "context": "CREATE TABLE table_name_97 (player VARCHAR, debut VARCHAR, born VARCHAR)", "question": "Who was the player with a debut of age 18 v plymouth , 14 august 2012, and born in Portsmouth?" }
### QUESTION When the position in 2012-13 is 13th, third division what is the location? ### CONTEXT CREATE TABLE table_name_68 (location VARCHAR, position_in_2012_13 VARCHAR) ### ANSWER SELECT location FROM table_name_68 WHERE position_in_2012_13 = "13th, third division"
{ "answer": "SELECT location FROM table_name_68 WHERE position_in_2012_13 = \"13th, third division\"", "context": "CREATE TABLE table_name_68 (location VARCHAR, position_in_2012_13 VARCHAR)", "question": "When the position in 2012-13 is 13th, third division what is the location?" }
### QUESTION what is the highest clean & jerk when total (kg) is 200.0 and snatch is more than 87.5? ### CONTEXT CREATE TABLE table_name_92 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR) ### ANSWER SELECT MAX(clean_) & _jerk FROM table_name_92 WHERE total__kg_ = "200.0" AND snatch > 87.5
{ "answer": "SELECT MAX(clean_) & _jerk FROM table_name_92 WHERE total__kg_ = \"200.0\" AND snatch > 87.5", "context": "CREATE TABLE table_name_92 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR)", "question": "what is the highest clean & jerk when total (kg) is 200.0 and snatch is more than 87.5?" }
### QUESTION What is the Opponent in the final with an outcome of winner on 14-may-2007? ### CONTEXT CREATE TABLE table_name_92 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) ### ANSWER SELECT opponent_in_the_final FROM table_name_92 WHERE outcome = "winner" AND date = "14-may-2007"
{ "answer": "SELECT opponent_in_the_final FROM table_name_92 WHERE outcome = \"winner\" AND date = \"14-may-2007\"", "context": "CREATE TABLE table_name_92 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)", "question": "What is the Opponent in the final with an outcome of winner on 14-may-2007?" }
### QUESTION What's the total attendance in rink hockey when the average attendance was smaller than 4850? ### CONTEXT CREATE TABLE table_name_80 (total_attendance VARCHAR, average_attendance VARCHAR, sport VARCHAR) ### ANSWER SELECT total_attendance FROM table_name_80 WHERE average_attendance < 4850 AND sport = "rink hockey"
{ "answer": "SELECT total_attendance FROM table_name_80 WHERE average_attendance < 4850 AND sport = \"rink hockey\"", "context": "CREATE TABLE table_name_80 (total_attendance VARCHAR, average_attendance VARCHAR, sport VARCHAR)", "question": "What's the total attendance in rink hockey when the average attendance was smaller than 4850?" }
### QUESTION what's the maximum purse( $ ) with score value of 204 (-9) ### CONTEXT CREATE TABLE table_11621915_1 (purse__ INTEGER, score VARCHAR) ### ANSWER SELECT MAX(purse__) AS $__ FROM table_11621915_1 WHERE score = "204 (-9)"
{ "answer": "SELECT MAX(purse__) AS $__ FROM table_11621915_1 WHERE score = \"204 (-9)\"", "context": "CREATE TABLE table_11621915_1 (purse__ INTEGER, score VARCHAR)", "question": "what's the maximum purse( $ ) with score value of 204 (-9)" }
### QUESTION How many different genres appear for the Jimi Hendrix Experience? ### CONTEXT CREATE TABLE table_26488540_1 (genre VARCHAR, artist VARCHAR) ### ANSWER SELECT COUNT(genre) FROM table_26488540_1 WHERE artist = "The Jimi Hendrix Experience"
{ "answer": "SELECT COUNT(genre) FROM table_26488540_1 WHERE artist = \"The Jimi Hendrix Experience\"", "context": "CREATE TABLE table_26488540_1 (genre VARCHAR, artist VARCHAR)", "question": "How many different genres appear for the Jimi Hendrix Experience?" }
### QUESTION List the area codes in which voters voted both for the contestant 'Tabatha Gehling' and the contestant 'Kelly Clauss'. ### CONTEXT CREATE TABLE votes (contestant_number VARCHAR, state VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR); CREATE TABLE area_code_state (area_code VARCHAR, state VARCHAR) ### ANSWER SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Tabatha Gehling' INTERSECT SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Kelly Clauss'
{ "answer": "SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Tabatha Gehling' INTERSECT SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Kelly Clauss'", "context": "CREATE TABLE votes (contestant_number VARCHAR, state VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR); CREATE TABLE area_code_state (area_code VARCHAR, state VARCHAR)", "question": "List the area codes in which voters voted both for the contestant 'Tabatha Gehling' and the contestant 'Kelly Clauss'." }
### QUESTION Who was the winning driver driving the winning car March - Honda 86j, with the winning team Team Nova? ### CONTEXT CREATE TABLE table_name_84 (winning_driver VARCHAR, winning_car VARCHAR, winning_team VARCHAR) ### ANSWER SELECT winning_driver FROM table_name_84 WHERE winning_car = "march - honda 86j" AND winning_team = "team nova"
{ "answer": "SELECT winning_driver FROM table_name_84 WHERE winning_car = \"march - honda 86j\" AND winning_team = \"team nova\"", "context": "CREATE TABLE table_name_84 (winning_driver VARCHAR, winning_car VARCHAR, winning_team VARCHAR)", "question": "Who was the winning driver driving the winning car March - Honda 86j, with the winning team Team Nova?" }
### QUESTION When james brooks (d) is the vacator what is the date the successor was seated? ### CONTEXT CREATE TABLE table_2147588_4 (date_successor_seated VARCHAR, vacator VARCHAR) ### ANSWER SELECT date_successor_seated FROM table_2147588_4 WHERE vacator = "James Brooks (D)"
{ "answer": "SELECT date_successor_seated FROM table_2147588_4 WHERE vacator = \"James Brooks (D)\"", "context": "CREATE TABLE table_2147588_4 (date_successor_seated VARCHAR, vacator VARCHAR)", "question": "When james brooks (d) is the vacator what is the date the successor was seated?" }
### QUESTION What is the smallest frequency (kHz) that is in the location of Longview? ### CONTEXT CREATE TABLE table_name_61 (frequency__khz_ INTEGER, licensed_location VARCHAR) ### ANSWER SELECT MIN(frequency__khz_) FROM table_name_61 WHERE licensed_location = "longview"
{ "answer": "SELECT MIN(frequency__khz_) FROM table_name_61 WHERE licensed_location = \"longview\"", "context": "CREATE TABLE table_name_61 (frequency__khz_ INTEGER, licensed_location VARCHAR)", "question": "What is the smallest frequency (kHz) that is in the location of Longview?" }
### QUESTION How many Points have a Name of stephen myler, and Tries smaller than 0? ### CONTEXT CREATE TABLE table_name_3 (points INTEGER, name VARCHAR, tries VARCHAR) ### ANSWER SELECT SUM(points) FROM table_name_3 WHERE name = "stephen myler" AND tries < 0
{ "answer": "SELECT SUM(points) FROM table_name_3 WHERE name = \"stephen myler\" AND tries < 0", "context": "CREATE TABLE table_name_3 (points INTEGER, name VARCHAR, tries VARCHAR)", "question": "How many Points have a Name of stephen myler, and Tries smaller than 0?" }
### QUESTION What is the number of AIDS Orphans as % of Orphans when the Double (AIDS Related) number is 41,000, and the Paternal (Total) is larger than 442,000? ### CONTEXT CREATE TABLE table_name_41 (aids_orphans_as__percentage_of_orphans INTEGER, double__aids_related_ VARCHAR, paternal__total_ VARCHAR) ### ANSWER SELECT SUM(aids_orphans_as__percentage_of_orphans) FROM table_name_41 WHERE double__aids_related_ = "41,000" AND paternal__total_ > 442 OFFSET 000
{ "answer": "SELECT SUM(aids_orphans_as__percentage_of_orphans) FROM table_name_41 WHERE double__aids_related_ = \"41,000\" AND paternal__total_ > 442 OFFSET 000", "context": "CREATE TABLE table_name_41 (aids_orphans_as__percentage_of_orphans INTEGER, double__aids_related_ VARCHAR, paternal__total_ VARCHAR)", "question": "What is the number of AIDS Orphans as % of Orphans when the Double (AIDS Related) number is 41,000, and the Paternal (Total) is larger than 442,000?" }
### QUESTION In what year has a Post of designer? ### CONTEXT CREATE TABLE table_name_91 (year INTEGER, post VARCHAR) ### ANSWER SELECT SUM(year) FROM table_name_91 WHERE post = "designer"
{ "answer": "SELECT SUM(year) FROM table_name_91 WHERE post = \"designer\"", "context": "CREATE TABLE table_name_91 (year INTEGER, post VARCHAR)", "question": "In what year has a Post of designer?" }
### QUESTION How many overall values have a college of Notre Dame and rounds over 2? ### CONTEXT CREATE TABLE table_name_97 (overall VARCHAR, college VARCHAR, round VARCHAR) ### ANSWER SELECT COUNT(overall) FROM table_name_97 WHERE college = "notre dame" AND round > 2
{ "answer": "SELECT COUNT(overall) FROM table_name_97 WHERE college = \"notre dame\" AND round > 2", "context": "CREATE TABLE table_name_97 (overall VARCHAR, college VARCHAR, round VARCHAR)", "question": "How many overall values have a college of Notre Dame and rounds over 2?" }
### QUESTION Name the other for chironius multiventris septentrionalis ### CONTEXT CREATE TABLE table_1850282_7 (other VARCHAR, species VARCHAR) ### ANSWER SELECT other FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis"
{ "answer": "SELECT other FROM table_1850282_7 WHERE species = \"Chironius multiventris septentrionalis\"", "context": "CREATE TABLE table_1850282_7 (other VARCHAR, species VARCHAR)", "question": "Name the other for chironius multiventris septentrionalis" }
### QUESTION What is the highest number of doctorates the college of informatics and systems, which has 0 specialists and less than 2 master's degrees, have? ### CONTEXT CREATE TABLE table_name_10 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR) ### ANSWER SELECT MAX(doctorate) FROM table_name_10 WHERE specialist = 0 AND college = "informatics and systems" AND masters < 2
{ "answer": "SELECT MAX(doctorate) FROM table_name_10 WHERE specialist = 0 AND college = \"informatics and systems\" AND masters < 2", "context": "CREATE TABLE table_name_10 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR)", "question": "What is the highest number of doctorates the college of informatics and systems, which has 0 specialists and less than 2 master's degrees, have?" }
### QUESTION What language is telemarket for you with a content of televendita? ### CONTEXT CREATE TABLE table_name_59 (language VARCHAR, content VARCHAR, television_service VARCHAR) ### ANSWER SELECT language FROM table_name_59 WHERE content = "televendita" AND television_service = "telemarket for you"
{ "answer": "SELECT language FROM table_name_59 WHERE content = \"televendita\" AND television_service = \"telemarket for you\"", "context": "CREATE TABLE table_name_59 (language VARCHAR, content VARCHAR, television_service VARCHAR)", "question": "What language is telemarket for you with a content of televendita?" }
### QUESTION If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features? ### CONTEXT CREATE TABLE table_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR) ### ANSWER SELECT features FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website"
{ "answer": "SELECT features FROM table_2263152_1 WHERE security_issues = \"98-004\" AND distribution_mechanism = \"Microsoft website\"", "context": "CREATE TABLE table_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)", "question": "If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features?" }
### QUESTION Who was the participant or recipient for the Best Female Actor? ### CONTEXT CREATE TABLE table_26282750_1 (participants_recipients VARCHAR, category VARCHAR) ### ANSWER SELECT participants_recipients FROM table_26282750_1 WHERE category = "Best Female Actor"
{ "answer": "SELECT participants_recipients FROM table_26282750_1 WHERE category = \"Best Female Actor\"", "context": "CREATE TABLE table_26282750_1 (participants_recipients VARCHAR, category VARCHAR)", "question": "Who was the participant or recipient for the Best Female Actor?" }
### QUESTION What school/club team is Amir Johnson on? ### CONTEXT CREATE TABLE table_10015132_9 (school_club_team VARCHAR, player VARCHAR) ### ANSWER SELECT school_club_team FROM table_10015132_9 WHERE player = "Amir Johnson"
{ "answer": "SELECT school_club_team FROM table_10015132_9 WHERE player = \"Amir Johnson\"", "context": "CREATE TABLE table_10015132_9 (school_club_team VARCHAR, player VARCHAR)", "question": "What school/club team is Amir Johnson on?" }
### QUESTION find the program owners that have some programs in both morning and night time. ### CONTEXT CREATE TABLE broadcast (program_id VARCHAR, Time_of_day VARCHAR); CREATE TABLE program (owner VARCHAR, program_id VARCHAR) ### ANSWER SELECT t1.owner FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id WHERE t2.Time_of_day = "Morning" INTERSECT SELECT t1.owner FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id WHERE t2.Time_of_day = "Night"
{ "answer": "SELECT t1.owner FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id WHERE t2.Time_of_day = \"Morning\" INTERSECT SELECT t1.owner FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id WHERE t2.Time_of_day = \"Night\"", "context": "CREATE TABLE broadcast (program_id VARCHAR, Time_of_day VARCHAR); CREATE TABLE program (owner VARCHAR, program_id VARCHAR)", "question": "find the program owners that have some programs in both morning and night time." }
### QUESTION What is the average value for 2005, when the value for 2008 is greater than 0, when the value for 2007 is greater than 310, when the Average annual is 767, and when the Total is greater than 4,597? ### CONTEXT CREATE TABLE table_name_38 (total VARCHAR, average_annual VARCHAR) ### ANSWER SELECT AVG(2005) FROM table_name_38 WHERE 2008 > 0 AND 2007 > 310 AND average_annual = 767 AND total > 4 OFFSET 597
{ "answer": "SELECT AVG(2005) FROM table_name_38 WHERE 2008 > 0 AND 2007 > 310 AND average_annual = 767 AND total > 4 OFFSET 597", "context": "CREATE TABLE table_name_38 (total VARCHAR, average_annual VARCHAR)", "question": "What is the average value for 2005, when the value for 2008 is greater than 0, when the value for 2007 is greater than 310, when the Average annual is 767, and when the Total is greater than 4,597?" }
### QUESTION Which average games played number has the Ottawa Hockey Club as a team and a number of wins bigger than 5? ### CONTEXT CREATE TABLE table_name_57 (games_played INTEGER, team VARCHAR, wins VARCHAR) ### ANSWER SELECT AVG(games_played) FROM table_name_57 WHERE team = "ottawa hockey club" AND wins > 5
{ "answer": "SELECT AVG(games_played) FROM table_name_57 WHERE team = \"ottawa hockey club\" AND wins > 5", "context": "CREATE TABLE table_name_57 (games_played INTEGER, team VARCHAR, wins VARCHAR)", "question": "Which average games played number has the Ottawa Hockey Club as a team and a number of wins bigger than 5?" }
### QUESTION Find the the name of the customers who have a loan with amount more than 3000. ### CONTEXT CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR) ### ANSWER SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE amount > 3000
{ "answer": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE amount > 3000", "context": "CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR)", "question": "Find the the name of the customers who have a loan with amount more than 3000." }
### QUESTION What score has Leicestershire as the opponent after 1906? ### CONTEXT CREATE TABLE table_name_58 (score VARCHAR, opposition VARCHAR, year VARCHAR) ### ANSWER SELECT score FROM table_name_58 WHERE opposition = "leicestershire" AND year > 1906
{ "answer": "SELECT score FROM table_name_58 WHERE opposition = \"leicestershire\" AND year > 1906", "context": "CREATE TABLE table_name_58 (score VARCHAR, opposition VARCHAR, year VARCHAR)", "question": "What score has Leicestershire as the opponent after 1906?" }
### QUESTION Which Events have a Player of tom kite, and Earnings ($) smaller than 760,405? ### CONTEXT CREATE TABLE table_name_60 (events INTEGER, player VARCHAR, earnings___$__ VARCHAR) ### ANSWER SELECT AVG(events) FROM table_name_60 WHERE player = "tom kite" AND earnings___$__ < 760 OFFSET 405
{ "answer": "SELECT AVG(events) FROM table_name_60 WHERE player = \"tom kite\" AND earnings___$__ < 760 OFFSET 405", "context": "CREATE TABLE table_name_60 (events INTEGER, player VARCHAR, earnings___$__ VARCHAR)", "question": "Which Events have a Player of tom kite, and Earnings ($) smaller than 760,405?" }
### QUESTION When cabarita river is the hydrographic basin what is the lowest groundwater discharge (million m 3)? ### CONTEXT CREATE TABLE table_26609958_1 (groundwater_discharge__million_m_3__ INTEGER, hydrographic_basin VARCHAR) ### ANSWER SELECT MIN(groundwater_discharge__million_m_3__) FROM table_26609958_1 WHERE hydrographic_basin = "Cabarita River"
{ "answer": "SELECT MIN(groundwater_discharge__million_m_3__) FROM table_26609958_1 WHERE hydrographic_basin = \"Cabarita River\"", "context": "CREATE TABLE table_26609958_1 (groundwater_discharge__million_m_3__ INTEGER, hydrographic_basin VARCHAR)", "question": "When cabarita river is the hydrographic basin what is the lowest groundwater discharge (million m 3)?" }
### QUESTION Which college does the player jon hameister-ries play for? ### CONTEXT CREATE TABLE table_name_93 (college VARCHAR, player VARCHAR) ### ANSWER SELECT college FROM table_name_93 WHERE player = "jon hameister-ries"
{ "answer": "SELECT college FROM table_name_93 WHERE player = \"jon hameister-ries\"", "context": "CREATE TABLE table_name_93 (college VARCHAR, player VARCHAR)", "question": "Which college does the player jon hameister-ries play for?" }
### QUESTION What is the Release date of the Filmography directed by Robert McKimson in MM Series with Production Number 1665? ### CONTEXT CREATE TABLE table_name_16 (release_date VARCHAR, production_number VARCHAR, director VARCHAR, series VARCHAR) ### ANSWER SELECT release_date FROM table_name_16 WHERE director = "robert mckimson" AND series = "mm" AND production_number = "1665"
{ "answer": "SELECT release_date FROM table_name_16 WHERE director = \"robert mckimson\" AND series = \"mm\" AND production_number = \"1665\"", "context": "CREATE TABLE table_name_16 (release_date VARCHAR, production_number VARCHAR, director VARCHAR, series VARCHAR)", "question": "What is the Release date of the Filmography directed by Robert McKimson in MM Series with Production Number 1665?" }
### QUESTION Are there any Teams after 1997? ### CONTEXT CREATE TABLE table_name_21 (team VARCHAR, year INTEGER) ### ANSWER SELECT team FROM table_name_21 WHERE year > 1997
{ "answer": "SELECT team FROM table_name_21 WHERE year > 1997", "context": "CREATE TABLE table_name_21 (team VARCHAR, year INTEGER)", "question": "Are there any Teams after 1997?" }
### QUESTION What is the venue of the competition "1994 FIFA World Cup qualification" hosted by "Nanjing ( Jiangsu )"? ### CONTEXT CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE MATCH (venue VARCHAR, match_id VARCHAR, competition VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR, match_id VARCHAR) ### ANSWER SELECT T3.venue FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city JOIN MATCH AS T3 ON T2.match_id = T3.match_id WHERE T1.city = "Nanjing ( Jiangsu )" AND T3.competition = "1994 FIFA World Cup qualification"
{ "answer": "SELECT T3.venue FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city JOIN MATCH AS T3 ON T2.match_id = T3.match_id WHERE T1.city = \"Nanjing ( Jiangsu )\" AND T3.competition = \"1994 FIFA World Cup qualification\"", "context": "CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE MATCH (venue VARCHAR, match_id VARCHAR, competition VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR, match_id VARCHAR)", "question": "What is the venue of the competition \"1994 FIFA World Cup qualification\" hosted by \"Nanjing ( Jiangsu )\"?" }
### QUESTION What is the average number of rounds for winner Rafael Cavalcante? ### CONTEXT CREATE TABLE table_name_37 (round INTEGER, winner VARCHAR) ### ANSWER SELECT AVG(round) FROM table_name_37 WHERE winner = "rafael cavalcante"
{ "answer": "SELECT AVG(round) FROM table_name_37 WHERE winner = \"rafael cavalcante\"", "context": "CREATE TABLE table_name_37 (round INTEGER, winner VARCHAR)", "question": "What is the average number of rounds for winner Rafael Cavalcante?" }
### QUESTION Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoise? ### CONTEXT CREATE TABLE table_name_53 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR) ### ANSWER SELECT constructor FROM table_name_53 WHERE grid < 24 AND laps > 77 AND driver = "jean-pierre beltoise"
{ "answer": "SELECT constructor FROM table_name_53 WHERE grid < 24 AND laps > 77 AND driver = \"jean-pierre beltoise\"", "context": "CREATE TABLE table_name_53 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)", "question": "Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoise?" }
### QUESTION Name the district for newtown square ### CONTEXT CREATE TABLE table_1979619_3 (district INTEGER, residence VARCHAR) ### ANSWER SELECT MIN(district) FROM table_1979619_3 WHERE residence = "Newtown Square"
{ "answer": "SELECT MIN(district) FROM table_1979619_3 WHERE residence = \"Newtown Square\"", "context": "CREATE TABLE table_1979619_3 (district INTEGER, residence VARCHAR)", "question": "Name the district for newtown square" }
### QUESTION What is the height in ft for the rockets from 1973-78? ### CONTEXT CREATE TABLE table_11734041_16 (height_in_ft VARCHAR, years_for_rockets VARCHAR) ### ANSWER SELECT height_in_ft FROM table_11734041_16 WHERE years_for_rockets = "1973-78"
{ "answer": "SELECT height_in_ft FROM table_11734041_16 WHERE years_for_rockets = \"1973-78\"", "context": "CREATE TABLE table_11734041_16 (height_in_ft VARCHAR, years_for_rockets VARCHAR)", "question": "What is the height in ft for the rockets from 1973-78?" }
### QUESTION What is the average pick for Florida State? ### CONTEXT CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR) ### ANSWER SELECT AVG(pick) FROM table_name_70 WHERE school_club_team = "florida state"
{ "answer": "SELECT AVG(pick) FROM table_name_70 WHERE school_club_team = \"florida state\"", "context": "CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR)", "question": "What is the average pick for Florida State?" }
### QUESTION Name the number of traditional chinese for album number 6th ### CONTEXT CREATE TABLE table_1893815_1 (chinese__traditional_ VARCHAR, album_number VARCHAR) ### ANSWER SELECT COUNT(chinese__traditional_) FROM table_1893815_1 WHERE album_number = "6th"
{ "answer": "SELECT COUNT(chinese__traditional_) FROM table_1893815_1 WHERE album_number = \"6th\"", "context": "CREATE TABLE table_1893815_1 (chinese__traditional_ VARCHAR, album_number VARCHAR)", "question": "Name the number of traditional chinese for album number 6th" }
### QUESTION When did the web accelerator 'CACHEbox' and browser 'Internet Explorer' become compatible? ### CONTEXT CREATE TABLE accelerator_compatible_browser (compatible_since_year VARCHAR, browser_id VARCHAR, accelerator_id VARCHAR); CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR) ### ANSWER SELECT T1.compatible_since_year FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id WHERE T3.name = 'CACHEbox' AND T2.name = 'Internet Explorer'
{ "answer": "SELECT T1.compatible_since_year FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id WHERE T3.name = 'CACHEbox' AND T2.name = 'Internet Explorer'", "context": "CREATE TABLE accelerator_compatible_browser (compatible_since_year VARCHAR, browser_id VARCHAR, accelerator_id VARCHAR); CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR)", "question": "When did the web accelerator 'CACHEbox' and browser 'Internet Explorer' become compatible?" }
### QUESTION What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823? ### CONTEXT CREATE TABLE table_name_68 (rank INTEGER, area VARCHAR, density VARCHAR, province VARCHAR) ### ANSWER SELECT MAX(rank) FROM table_name_68 WHERE density < 376.37 AND province = "valverde" AND area > 823
{ "answer": "SELECT MAX(rank) FROM table_name_68 WHERE density < 376.37 AND province = \"valverde\" AND area > 823", "context": "CREATE TABLE table_name_68 (rank INTEGER, area VARCHAR, density VARCHAR, province VARCHAR)", "question": "What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823?" }
### QUESTION What was the date of appointment for the manager of the 23rd team? ### CONTEXT CREATE TABLE table_18795125_6 (date_of_appointment VARCHAR, position_in_table VARCHAR) ### ANSWER SELECT date_of_appointment FROM table_18795125_6 WHERE position_in_table = "23rd"
{ "answer": "SELECT date_of_appointment FROM table_18795125_6 WHERE position_in_table = \"23rd\"", "context": "CREATE TABLE table_18795125_6 (date_of_appointment VARCHAR, position_in_table VARCHAR)", "question": "What was the date of appointment for the manager of the 23rd team?" }
### QUESTION give the location of subtrate coproporphyrinogen iii ### CONTEXT CREATE TABLE table_182499_1 (location VARCHAR, substrate VARCHAR) ### ANSWER SELECT location FROM table_182499_1 WHERE substrate = "Coproporphyrinogen III"
{ "answer": "SELECT location FROM table_182499_1 WHERE substrate = \"Coproporphyrinogen III\"", "context": "CREATE TABLE table_182499_1 (location VARCHAR, substrate VARCHAR)", "question": "give the location of subtrate coproporphyrinogen iii" }
### QUESTION What is the Score of the game with the New York Rangers Home team with a Record of 8–27–5? ### CONTEXT CREATE TABLE table_name_48 (score VARCHAR, home VARCHAR, record VARCHAR) ### ANSWER SELECT score FROM table_name_48 WHERE home = "new york rangers" AND record = "8–27–5"
{ "answer": "SELECT score FROM table_name_48 WHERE home = \"new york rangers\" AND record = \"8–27–5\"", "context": "CREATE TABLE table_name_48 (score VARCHAR, home VARCHAR, record VARCHAR)", "question": "What is the Score of the game with the New York Rangers Home team with a Record of 8–27–5?" }
### QUESTION Nation of bulgaria, and a Place larger than 1 had what highest 3 Balls, 2 Ribbons? ### CONTEXT ### ANSWER SELECT MAX(_3_balls_2_ribbons) FROM table_name_16 WHERE nation = "bulgaria" AND place > 1
{ "answer": "SELECT MAX(_3_balls_2_ribbons) FROM table_name_16 WHERE nation = \"bulgaria\" AND place > 1", "context": "", "question": "Nation of bulgaria, and a Place larger than 1 had what highest 3 Balls, 2 Ribbons?" }
### QUESTION What was the event when suárez ( tri ) w 16–6 was round of 32? ### CONTEXT CREATE TABLE table_27294107_11 (event VARCHAR, round_of_32 VARCHAR) ### ANSWER SELECT event FROM table_27294107_11 WHERE round_of_32 = "Suárez ( TRI ) W 16–6"
{ "answer": "SELECT event FROM table_27294107_11 WHERE round_of_32 = \"Suárez ( TRI ) W 16–6\"", "context": "CREATE TABLE table_27294107_11 (event VARCHAR, round_of_32 VARCHAR)", "question": "What was the event when suárez ( tri ) w 16–6 was round of 32?" }
### QUESTION How many branches where have more than average number of memberships are there? ### CONTEXT CREATE TABLE branch (membership_amount INTEGER) ### ANSWER SELECT COUNT(*) FROM branch WHERE membership_amount > (SELECT AVG(membership_amount) FROM branch)
{ "answer": "SELECT COUNT(*) FROM branch WHERE membership_amount > (SELECT AVG(membership_amount) FROM branch)", "context": "CREATE TABLE branch (membership_amount INTEGER)", "question": "How many branches where have more than average number of memberships are there?" }
### QUESTION What Aspect has a Programming of Saigon Network Television? ### CONTEXT CREATE TABLE table_name_12 (aspect VARCHAR, programming VARCHAR) ### ANSWER SELECT aspect FROM table_name_12 WHERE programming = "saigon network television"
{ "answer": "SELECT aspect FROM table_name_12 WHERE programming = \"saigon network television\"", "context": "CREATE TABLE table_name_12 (aspect VARCHAR, programming VARCHAR)", "question": "What Aspect has a Programming of Saigon Network Television?" }
### QUESTION What is the original title of the Gypsy Magic film title used in nomination? ### CONTEXT CREATE TABLE table_name_67 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) ### ANSWER SELECT original_title FROM table_name_67 WHERE film_title_used_in_nomination = "gypsy magic"
{ "answer": "SELECT original_title FROM table_name_67 WHERE film_title_used_in_nomination = \"gypsy magic\"", "context": "CREATE TABLE table_name_67 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)", "question": "What is the original title of the Gypsy Magic film title used in nomination?" }
### QUESTION Which Condition has an unaffected Prothrombin time and a Bleeding time, and a Partial thromboplastin time of prolonged? ### CONTEXT CREATE TABLE table_name_73 (condition VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR) ### ANSWER SELECT condition FROM table_name_73 WHERE prothrombin_time = "unaffected" AND bleeding_time = "unaffected" AND partial_thromboplastin_time = "prolonged"
{ "answer": "SELECT condition FROM table_name_73 WHERE prothrombin_time = \"unaffected\" AND bleeding_time = \"unaffected\" AND partial_thromboplastin_time = \"prolonged\"", "context": "CREATE TABLE table_name_73 (condition VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)", "question": "Which Condition has an unaffected Prothrombin time and a Bleeding time, and a Partial thromboplastin time of prolonged?" }
### QUESTION What is the lowest pick # of John Ayres? ### CONTEXT CREATE TABLE table_name_15 (pick__number INTEGER, name VARCHAR) ### ANSWER SELECT MIN(pick__number) FROM table_name_15 WHERE name = "john ayres"
{ "answer": "SELECT MIN(pick__number) FROM table_name_15 WHERE name = \"john ayres\"", "context": "CREATE TABLE table_name_15 (pick__number INTEGER, name VARCHAR)", "question": "What is the lowest pick # of John Ayres?" }
### QUESTION Which Score has a Visitor of toronto st. pats, and a Home of montreal canadiens, and a Record of 3–2–0? ### CONTEXT CREATE TABLE table_name_83 (score VARCHAR, record VARCHAR, visitor VARCHAR, home VARCHAR) ### ANSWER SELECT score FROM table_name_83 WHERE visitor = "toronto st. pats" AND home = "montreal canadiens" AND record = "3–2–0"
{ "answer": "SELECT score FROM table_name_83 WHERE visitor = \"toronto st. pats\" AND home = \"montreal canadiens\" AND record = \"3–2–0\"", "context": "CREATE TABLE table_name_83 (score VARCHAR, record VARCHAR, visitor VARCHAR, home VARCHAR)", "question": "Which Score has a Visitor of toronto st. pats, and a Home of montreal canadiens, and a Record of 3–2–0?" }
### QUESTION What was the population in 2011 of the settlement with the cyrillic name of ватин? ### CONTEXT CREATE TABLE table_2562572_46 (population__2011_ INTEGER, cyrillic_name_other_names VARCHAR) ### ANSWER SELECT MAX(population__2011_) FROM table_2562572_46 WHERE cyrillic_name_other_names = "Ватин"
{ "answer": "SELECT MAX(population__2011_) FROM table_2562572_46 WHERE cyrillic_name_other_names = \"Ватин\"", "context": "CREATE TABLE table_2562572_46 (population__2011_ INTEGER, cyrillic_name_other_names VARCHAR)", "question": "What was the population in 2011 of the settlement with the cyrillic name of ватин?" }
### QUESTION What is the lowest 1st prize for florida tournaments and a Score of 200 (-16)? ### CONTEXT ### ANSWER SELECT MIN(*) AS lowest_1st_prize FROM table_name_65 WHERE location = "florida" AND score = "200 (-16)"
{ "answer": "SELECT MIN(*) AS lowest_1st_prize FROM table_name_65 WHERE location = \"florida\" AND score = \"200 (-16)\"", "context": "", "question": "What is the lowest 1st prize for florida tournaments and a Score of 200 (-16)?" }
### QUESTION Show all template type codes and number of templates for each. ### CONTEXT CREATE TABLE Templates (template_type_code VARCHAR) ### ANSWER SELECT template_type_code, COUNT(*) FROM Templates GROUP BY template_type_code
{ "answer": "SELECT template_type_code, COUNT(*) FROM Templates GROUP BY template_type_code", "context": "CREATE TABLE Templates (template_type_code VARCHAR)", "question": "Show all template type codes and number of templates for each." }
### QUESTION What turbo has a L2 cache of 4 × 256 kb, a release date of June 2013, and a Model number of core i7-4770s? ### CONTEXT CREATE TABLE table_name_78 (turbo VARCHAR, model_number VARCHAR, l2_cache VARCHAR, release_date VARCHAR) ### ANSWER SELECT turbo FROM table_name_78 WHERE l2_cache = "4 × 256 kb" AND release_date = "june 2013" AND model_number = "core i7-4770s"
{ "answer": "SELECT turbo FROM table_name_78 WHERE l2_cache = \"4 × 256 kb\" AND release_date = \"june 2013\" AND model_number = \"core i7-4770s\"", "context": "CREATE TABLE table_name_78 (turbo VARCHAR, model_number VARCHAR, l2_cache VARCHAR, release_date VARCHAR)", "question": "What turbo has a L2 cache of 4 × 256 kb, a release date of June 2013, and a Model number of core i7-4770s?" }
### QUESTION Tell me the object type which has an apparent magnitude more than 10.6 and declination of °44′07″ ### CONTEXT CREATE TABLE table_name_28 (object_type VARCHAR, apparent_magnitude VARCHAR, declination___j2000__ VARCHAR) ### ANSWER SELECT object_type FROM table_name_28 WHERE apparent_magnitude > 10.6 AND declination___j2000__ = "°44′07″"
{ "answer": "SELECT object_type FROM table_name_28 WHERE apparent_magnitude > 10.6 AND declination___j2000__ = \"°44′07″\"", "context": "CREATE TABLE table_name_28 (object_type VARCHAR, apparent_magnitude VARCHAR, declination___j2000__ VARCHAR)", "question": "Tell me the object type which has an apparent magnitude more than 10.6 and declination of °44′07″" }
### QUESTION What was the Population (2011) when the Population (2006) was less than 7083, and the Population density less than 342.8, and the Change (%) of 5, and an Area (km²) larger than 4.5? ### CONTEXT CREATE TABLE table_name_2 (population__2011_ VARCHAR, area__km²_ VARCHAR, change___percentage_ VARCHAR, population__2006_ VARCHAR, population_density VARCHAR) ### ANSWER SELECT COUNT(population__2011_) FROM table_name_2 WHERE population__2006_ < 7083 AND population_density < 342.8 AND change___percentage_ = 5 AND area__km²_ > 4.5
{ "answer": "SELECT COUNT(population__2011_) FROM table_name_2 WHERE population__2006_ < 7083 AND population_density < 342.8 AND change___percentage_ = 5 AND area__km²_ > 4.5", "context": "CREATE TABLE table_name_2 (population__2011_ VARCHAR, area__km²_ VARCHAR, change___percentage_ VARCHAR, population__2006_ VARCHAR, population_density VARCHAR)", "question": "What was the Population (2011) when the Population (2006) was less than 7083, and the Population density less than 342.8, and the Change (%) of 5, and an Area (km²) larger than 4.5?" }
### QUESTION What is the average % of population Tunisia, which has an average relative annual growth smaller than 1.03? ### CONTEXT CREATE TABLE table_name_17 (_percentage_of_pop INTEGER, country__or_dependent_territory_ VARCHAR, average_relative_annual_growth___percentage_ VARCHAR) ### ANSWER SELECT AVG(_percentage_of_pop) FROM table_name_17 WHERE country__or_dependent_territory_ = "tunisia" AND average_relative_annual_growth___percentage_ < 1.03
{ "answer": "SELECT AVG(_percentage_of_pop) FROM table_name_17 WHERE country__or_dependent_territory_ = \"tunisia\" AND average_relative_annual_growth___percentage_ < 1.03", "context": "CREATE TABLE table_name_17 (_percentage_of_pop INTEGER, country__or_dependent_territory_ VARCHAR, average_relative_annual_growth___percentage_ VARCHAR)", "question": "What is the average % of population Tunisia, which has an average relative annual growth smaller than 1.03?" }
### QUESTION Name the least attendance for opponent of new orleans saints and week more than 2 ### CONTEXT CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, opponent VARCHAR) ### ANSWER SELECT MIN(attendance) FROM table_name_5 WHERE week > 2 AND opponent = "new orleans saints"
{ "answer": "SELECT MIN(attendance) FROM table_name_5 WHERE week > 2 AND opponent = \"new orleans saints\"", "context": "CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, opponent VARCHAR)", "question": "Name the least attendance for opponent of new orleans saints and week more than 2" }
### QUESTION Show the manager name with most number of gas stations opened after 2000. ### CONTEXT CREATE TABLE gas_station (manager_name VARCHAR, open_year INTEGER) ### ANSWER SELECT manager_name FROM gas_station WHERE open_year > 2000 GROUP BY manager_name ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT manager_name FROM gas_station WHERE open_year > 2000 GROUP BY manager_name ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE gas_station (manager_name VARCHAR, open_year INTEGER)", "question": "Show the manager name with most number of gas stations opened after 2000." }
### QUESTION How many site entries are there at 3:30pm and the visiting team is coastal carolina? ### CONTEXT CREATE TABLE table_28298589_2 (site VARCHAR, time VARCHAR, visiting_team VARCHAR) ### ANSWER SELECT COUNT(site) FROM table_28298589_2 WHERE time = "3:30pm" AND visiting_team = "Coastal Carolina"
{ "answer": "SELECT COUNT(site) FROM table_28298589_2 WHERE time = \"3:30pm\" AND visiting_team = \"Coastal Carolina\"", "context": "CREATE TABLE table_28298589_2 (site VARCHAR, time VARCHAR, visiting_team VARCHAR)", "question": "How many site entries are there at 3:30pm and the visiting team is coastal carolina?" }
### QUESTION What was the lowest week at Ralph Wilson Stadium on October 7, 2001? ### CONTEXT CREATE TABLE table_name_72 (week INTEGER, game_site VARCHAR, date VARCHAR) ### ANSWER SELECT MIN(week) FROM table_name_72 WHERE game_site = "ralph wilson stadium" AND date = "october 7, 2001"
{ "answer": "SELECT MIN(week) FROM table_name_72 WHERE game_site = \"ralph wilson stadium\" AND date = \"october 7, 2001\"", "context": "CREATE TABLE table_name_72 (week INTEGER, game_site VARCHAR, date VARCHAR)", "question": "What was the lowest week at Ralph Wilson Stadium on October 7, 2001?" }
### QUESTION What Representative has a Presentation of Credentails of April 10, 1855? ### CONTEXT CREATE TABLE table_name_42 (representative VARCHAR, presentation_of_credentials VARCHAR) ### ANSWER SELECT representative FROM table_name_42 WHERE presentation_of_credentials = "april 10, 1855"
{ "answer": "SELECT representative FROM table_name_42 WHERE presentation_of_credentials = \"april 10, 1855\"", "context": "CREATE TABLE table_name_42 (representative VARCHAR, presentation_of_credentials VARCHAR)", "question": "What Representative has a Presentation of Credentails of April 10, 1855?" }
### QUESTION Which Run 4 has a Run 1 of 57.37, and a Run 3 smaller than 57.45? ### CONTEXT CREATE TABLE table_name_32 (run_4 INTEGER, run_1 VARCHAR, run_3 VARCHAR) ### ANSWER SELECT SUM(run_4) FROM table_name_32 WHERE run_1 = 57.37 AND run_3 < 57.45
{ "answer": "SELECT SUM(run_4) FROM table_name_32 WHERE run_1 = 57.37 AND run_3 < 57.45", "context": "CREATE TABLE table_name_32 (run_4 INTEGER, run_1 VARCHAR, run_3 VARCHAR)", "question": "Which Run 4 has a Run 1 of 57.37, and a Run 3 smaller than 57.45?" }
### QUESTION Which Result has an Opponent of washington redskins? ### CONTEXT CREATE TABLE table_name_3 (result VARCHAR, opponent VARCHAR) ### ANSWER SELECT result FROM table_name_3 WHERE opponent = "washington redskins"
{ "answer": "SELECT result FROM table_name_3 WHERE opponent = \"washington redskins\"", "context": "CREATE TABLE table_name_3 (result VARCHAR, opponent VARCHAR)", "question": "Which Result has an Opponent of washington redskins?" }
### QUESTION What is the lowest amount of money a player from South Africa with a to par less than 8 has? ### CONTEXT CREATE TABLE table_name_13 (money___ INTEGER, country VARCHAR, to_par VARCHAR) ### ANSWER SELECT MIN(money___) AS $__ FROM table_name_13 WHERE country = "south africa" AND to_par < 8
{ "answer": "SELECT MIN(money___) AS $__ FROM table_name_13 WHERE country = \"south africa\" AND to_par < 8", "context": "CREATE TABLE table_name_13 (money___ INTEGER, country VARCHAR, to_par VARCHAR)", "question": "What is the lowest amount of money a player from South Africa with a to par less than 8 has?" }
### QUESTION WHAT COMPETITION HAS MARIAN SANDU? ### CONTEXT CREATE TABLE table_name_66 (competition VARCHAR, res VARCHAR) ### ANSWER SELECT competition FROM table_name_66 WHERE res = "marian sandu"
{ "answer": "SELECT competition FROM table_name_66 WHERE res = \"marian sandu\"", "context": "CREATE TABLE table_name_66 (competition VARCHAR, res VARCHAR)", "question": "WHAT COMPETITION HAS MARIAN SANDU?" }
### QUESTION It has a FA Cup Goals smaller than 4, and a FA Cup Apps larger than 7, what is the total number of total apps? ### CONTEXT CREATE TABLE table_name_6 (total_apps VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR) ### ANSWER SELECT COUNT(total_apps) FROM table_name_6 WHERE fa_cup_goals < 4 AND fa_cup_apps > 7
{ "answer": "SELECT COUNT(total_apps) FROM table_name_6 WHERE fa_cup_goals < 4 AND fa_cup_apps > 7", "context": "CREATE TABLE table_name_6 (total_apps VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)", "question": "It has a FA Cup Goals smaller than 4, and a FA Cup Apps larger than 7, what is the total number of total apps?" }
### QUESTION What is the party affiliation for senator mark Wagoner? ### CONTEXT CREATE TABLE table_26129220_2 (party VARCHAR, senator VARCHAR) ### ANSWER SELECT party FROM table_26129220_2 WHERE senator = "Mark Wagoner"
{ "answer": "SELECT party FROM table_26129220_2 WHERE senator = \"Mark Wagoner\"", "context": "CREATE TABLE table_26129220_2 (party VARCHAR, senator VARCHAR)", "question": "What is the party affiliation for senator mark Wagoner? " }
### QUESTION What is the Tyres with a ford dfz v8 engine(s) with a chassis of coloni fc187? ### CONTEXT CREATE TABLE table_name_27 (tyres VARCHAR, engine_s_ VARCHAR, chassis VARCHAR) ### ANSWER SELECT tyres FROM table_name_27 WHERE engine_s_ = "ford dfz v8" AND chassis = "coloni fc187"
{ "answer": "SELECT tyres FROM table_name_27 WHERE engine_s_ = \"ford dfz v8\" AND chassis = \"coloni fc187\"", "context": "CREATE TABLE table_name_27 (tyres VARCHAR, engine_s_ VARCHAR, chassis VARCHAR)", "question": "What is the Tyres with a ford dfz v8 engine(s) with a chassis of coloni fc187?" }
### QUESTION Which Adelaide has a Sydney of yes, a Perth of no, a Melbourne of yes, and an Auckland of no? ### CONTEXT CREATE TABLE table_name_30 (adelaide VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR, perth VARCHAR) ### ANSWER SELECT adelaide FROM table_name_30 WHERE sydney = "yes" AND perth = "no" AND melbourne = "yes" AND auckland = "no"
{ "answer": "SELECT adelaide FROM table_name_30 WHERE sydney = \"yes\" AND perth = \"no\" AND melbourne = \"yes\" AND auckland = \"no\"", "context": "CREATE TABLE table_name_30 (adelaide VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR, perth VARCHAR)", "question": "Which Adelaide has a Sydney of yes, a Perth of no, a Melbourne of yes, and an Auckland of no?" }
### QUESTION Which venue hosted the 2004 AFC Asian Cup qualification on November 18, 2003? ### CONTEXT CREATE TABLE table_name_11 (venue VARCHAR, competition VARCHAR, date VARCHAR) ### ANSWER SELECT venue FROM table_name_11 WHERE competition = "2004 afc asian cup qualification" AND date = "november 18, 2003"
{ "answer": "SELECT venue FROM table_name_11 WHERE competition = \"2004 afc asian cup qualification\" AND date = \"november 18, 2003\"", "context": "CREATE TABLE table_name_11 (venue VARCHAR, competition VARCHAR, date VARCHAR)", "question": "Which venue hosted the 2004 AFC Asian Cup qualification on November 18, 2003?" }
### QUESTION How many seasons are there with Formula Holden? ### CONTEXT CREATE TABLE table_2822193_1 (seasons VARCHAR, series VARCHAR) ### ANSWER SELECT COUNT(seasons) FROM table_2822193_1 WHERE series = "Formula Holden"
{ "answer": "SELECT COUNT(seasons) FROM table_2822193_1 WHERE series = \"Formula Holden\"", "context": "CREATE TABLE table_2822193_1 (seasons VARCHAR, series VARCHAR)", "question": "How many seasons are there with Formula Holden?" }
### QUESTION Name the to par for 20 feb 2005 ### CONTEXT CREATE TABLE table_21469545_2 (to_par VARCHAR, date VARCHAR) ### ANSWER SELECT to_par FROM table_21469545_2 WHERE date = "20 Feb 2005"
{ "answer": "SELECT to_par FROM table_21469545_2 WHERE date = \"20 Feb 2005\"", "context": "CREATE TABLE table_21469545_2 (to_par VARCHAR, date VARCHAR)", "question": "Name the to par for 20 feb 2005" }
### QUESTION What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008? ### CONTEXT CREATE TABLE table_name_98 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR) ### ANSWER SELECT title FROM table_name_98 WHERE episode__number > 2 AND part_6 = "january 6, 2008"
{ "answer": "SELECT title FROM table_name_98 WHERE episode__number > 2 AND part_6 = \"january 6, 2008\"", "context": "CREATE TABLE table_name_98 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR)", "question": "What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008?" }
### QUESTION When is the earliest season at waverley park, a Score of 15.12 (102) – 9.14 (68), and a Margin larger than 34? ### CONTEXT CREATE TABLE table_name_46 (season INTEGER, margin VARCHAR, venue VARCHAR, score VARCHAR) ### ANSWER SELECT MIN(season) FROM table_name_46 WHERE venue = "waverley park" AND score = "15.12 (102) – 9.14 (68)" AND margin > 34
{ "answer": "SELECT MIN(season) FROM table_name_46 WHERE venue = \"waverley park\" AND score = \"15.12 (102) – 9.14 (68)\" AND margin > 34", "context": "CREATE TABLE table_name_46 (season INTEGER, margin VARCHAR, venue VARCHAR, score VARCHAR)", "question": "When is the earliest season at waverley park, a Score of 15.12 (102) – 9.14 (68), and a Margin larger than 34?" }
### QUESTION What was the earliest year that Yvette Alexander took office and was up for reelection after 2016? ### CONTEXT CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR) ### ANSWER SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016
{ "answer": "SELECT MIN(took_office) FROM table_name_70 WHERE name = \"yvette alexander\" AND up_for_reelection > 2016", "context": "CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR)", "question": "What was the earliest year that Yvette Alexander took office and was up for reelection after 2016?" }
### QUESTION Who are the UK co-presenters that have Joe Swash as a co-presenter and Russell Kane as a comedian? ### CONTEXT CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, comedian VARCHAR) ### ANSWER SELECT COUNT(uk_co_presenter) FROM table_14345690_15 WHERE co_presenter = "Joe Swash" AND comedian = "Russell Kane"
{ "answer": "SELECT COUNT(uk_co_presenter) FROM table_14345690_15 WHERE co_presenter = \"Joe Swash\" AND comedian = \"Russell Kane\"", "context": "CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, comedian VARCHAR)", "question": "Who are the UK co-presenters that have Joe Swash as a co-presenter and Russell Kane as a comedian?" }
### QUESTION What is the subdivision name (BE) where subdivision name (RU) (BGN) is Grodnenskaya Oblast'? ### CONTEXT CREATE TABLE table_290017_1 (subdivision_name___be____bgn_pcgn_ VARCHAR, subdivision_name___ru____bgn_pcgn_ VARCHAR) ### ANSWER SELECT subdivision_name___be____bgn_pcgn_ FROM table_290017_1 WHERE subdivision_name___ru____bgn_pcgn_ = "Grodnenskaya oblast'"
{ "answer": "SELECT subdivision_name___be____bgn_pcgn_ FROM table_290017_1 WHERE subdivision_name___ru____bgn_pcgn_ = \"Grodnenskaya oblast'\"", "context": "CREATE TABLE table_290017_1 (subdivision_name___be____bgn_pcgn_ VARCHAR, subdivision_name___ru____bgn_pcgn_ VARCHAR)", "question": "What is the subdivision name (BE) where subdivision name (RU) (BGN) is Grodnenskaya Oblast'?" }