text
stringlengths
146
1.06k
source
dict
### QUESTION Name the population of maryborough when population of woocoo is 2700 ### CONTEXT CREATE TABLE table_12576536_1 (population__maryborough_ VARCHAR, population__woocoo_ VARCHAR) ### ANSWER SELECT population__maryborough_ FROM table_12576536_1 WHERE population__woocoo_ = 2700
{ "answer": "SELECT population__maryborough_ FROM table_12576536_1 WHERE population__woocoo_ = 2700", "context": "CREATE TABLE table_12576536_1 (population__maryborough_ VARCHAR, population__woocoo_ VARCHAR)", "question": "Name the population of maryborough when population of woocoo is 2700" }
### QUESTION In what venue was the Batting team India who featured partners Sachin Tendulkar and Rahul Dravid? ### CONTEXT CREATE TABLE table_name_15 (venue VARCHAR, batting_team VARCHAR, batting_partners VARCHAR) ### ANSWER SELECT venue FROM table_name_15 WHERE batting_team = "india" AND batting_partners = "sachin tendulkar and rahul dravid"
{ "answer": "SELECT venue FROM table_name_15 WHERE batting_team = \"india\" AND batting_partners = \"sachin tendulkar and rahul dravid\"", "context": "CREATE TABLE table_name_15 (venue VARCHAR, batting_team VARCHAR, batting_partners VARCHAR)", "question": "In what venue was the Batting team India who featured partners Sachin Tendulkar and Rahul Dravid?" }
### QUESTION Original airdate for #6 with 1.246 viewers? ### CONTEXT CREATE TABLE table_name_73 (original_airdate VARCHAR, nightly_rank VARCHAR, viewers__millions_ VARCHAR) ### ANSWER SELECT original_airdate FROM table_name_73 WHERE nightly_rank = "#6" AND viewers__millions_ = 1.246
{ "answer": "SELECT original_airdate FROM table_name_73 WHERE nightly_rank = \"#6\" AND viewers__millions_ = 1.246", "context": "CREATE TABLE table_name_73 (original_airdate VARCHAR, nightly_rank VARCHAR, viewers__millions_ VARCHAR)", "question": "Original airdate for #6 with 1.246 viewers?" }
### QUESTION Which LEMA/SUBLEMA that has Votes smaller than 218656, and a Ch of Deputies of 0? ### CONTEXT CREATE TABLE table_name_22 (lema_sublema VARCHAR, votes VARCHAR, ch_of_deputies VARCHAR) ### ANSWER SELECT lema_sublema FROM table_name_22 WHERE votes < 218656 AND ch_of_deputies = "0"
{ "answer": "SELECT lema_sublema FROM table_name_22 WHERE votes < 218656 AND ch_of_deputies = \"0\"", "context": "CREATE TABLE table_name_22 (lema_sublema VARCHAR, votes VARCHAR, ch_of_deputies VARCHAR)", "question": "Which LEMA/SUBLEMA that has Votes smaller than 218656, and a Ch of Deputies of 0?" }
### QUESTION On what date was the game more than 5? ### CONTEXT CREATE TABLE table_name_23 (date VARCHAR, game INTEGER) ### ANSWER SELECT date FROM table_name_23 WHERE game > 5
{ "answer": "SELECT date FROM table_name_23 WHERE game > 5", "context": "CREATE TABLE table_name_23 (date VARCHAR, game INTEGER)", "question": "On what date was the game more than 5?" }
### QUESTION Find all the forenames of distinct drivers who won in position 1 as driver standing and had more than 20 points? ### CONTEXT CREATE TABLE drivers (forename VARCHAR, driverid VARCHAR); CREATE TABLE driverstandings (driverid VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR) ### ANSWER SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1 AND T2.points > 20
{ "answer": "SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1 AND T2.points > 20", "context": "CREATE TABLE drivers (forename VARCHAR, driverid VARCHAR); CREATE TABLE driverstandings (driverid VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR)", "question": "Find all the forenames of distinct drivers who won in position 1 as driver standing and had more than 20 points?" }
### QUESTION Find the name, address, number of students in the departments that have the top 3 highest number of students. ### CONTEXT CREATE TABLE student (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_address VARCHAR, dept_code VARCHAR) ### ANSWER SELECT T2.dept_name, T2.dept_address, COUNT(*) FROM student AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY COUNT(*) DESC LIMIT 3
{ "answer": "SELECT T2.dept_name, T2.dept_address, COUNT(*) FROM student AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY COUNT(*) DESC LIMIT 3", "context": "CREATE TABLE student (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_address VARCHAR, dept_code VARCHAR)", "question": "Find the name, address, number of students in the departments that have the top 3 highest number of students." }
### QUESTION What is part 1 of the verb in class 4 ### CONTEXT CREATE TABLE table_1745843_10 (part_3 VARCHAR, class VARCHAR) ### ANSWER SELECT part_3 FROM table_1745843_10 WHERE class = "4"
{ "answer": "SELECT part_3 FROM table_1745843_10 WHERE class = \"4\"", "context": "CREATE TABLE table_1745843_10 (part_3 VARCHAR, class VARCHAR)", "question": "What is part 1 of the verb in class 4" }
### QUESTION What nation has a sport of weightlifting and a pinyin of kùkè qúndǎo? ### CONTEXT CREATE TABLE table_name_24 (nation VARCHAR, sport VARCHAR, pinyin VARCHAR) ### ANSWER SELECT nation FROM table_name_24 WHERE sport = "weightlifting" AND pinyin = "kùkè qúndǎo"
{ "answer": "SELECT nation FROM table_name_24 WHERE sport = \"weightlifting\" AND pinyin = \"kùkè qúndǎo\"", "context": "CREATE TABLE table_name_24 (nation VARCHAR, sport VARCHAR, pinyin VARCHAR)", "question": "What nation has a sport of weightlifting and a pinyin of kùkè qúndǎo?" }
### QUESTION How much Enrollment has a School of indianapolis tindley? ### CONTEXT CREATE TABLE table_name_32 (enrollment VARCHAR, school VARCHAR) ### ANSWER SELECT COUNT(enrollment) FROM table_name_32 WHERE school = "indianapolis tindley"
{ "answer": "SELECT COUNT(enrollment) FROM table_name_32 WHERE school = \"indianapolis tindley\"", "context": "CREATE TABLE table_name_32 (enrollment VARCHAR, school VARCHAR)", "question": "How much Enrollment has a School of indianapolis tindley?" }
### QUESTION Which mean interview number had an average of more than 9.233, a swimsuit stat of more than 9.473, and an evening gown score of more than 9.671? ### CONTEXT CREATE TABLE table_name_79 (interview INTEGER, evening_gown VARCHAR, average VARCHAR, swimsuit VARCHAR) ### ANSWER SELECT AVG(interview) FROM table_name_79 WHERE average > 9.233 AND swimsuit = 9.473 AND evening_gown > 9.671
{ "answer": "SELECT AVG(interview) FROM table_name_79 WHERE average > 9.233 AND swimsuit = 9.473 AND evening_gown > 9.671", "context": "CREATE TABLE table_name_79 (interview INTEGER, evening_gown VARCHAR, average VARCHAR, swimsuit VARCHAR)", "question": "Which mean interview number had an average of more than 9.233, a swimsuit stat of more than 9.473, and an evening gown score of more than 9.671?" }
### QUESTION What category was al pacino nominated for in the film, glengarry glen ross? ### CONTEXT CREATE TABLE table_name_51 (category VARCHAR, actor_actress VARCHAR, film_title_used_in_nomination VARCHAR) ### ANSWER SELECT category FROM table_name_51 WHERE actor_actress = "al pacino" AND film_title_used_in_nomination = "glengarry glen ross"
{ "answer": "SELECT category FROM table_name_51 WHERE actor_actress = \"al pacino\" AND film_title_used_in_nomination = \"glengarry glen ross\"", "context": "CREATE TABLE table_name_51 (category VARCHAR, actor_actress VARCHAR, film_title_used_in_nomination VARCHAR)", "question": "What category was al pacino nominated for in the film, glengarry glen ross?" }
### QUESTION What is the home team score that played at windy hill? ### CONTEXT CREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR) ### ANSWER SELECT home_team AS score FROM table_name_81 WHERE venue = "windy hill"
{ "answer": "SELECT home_team AS score FROM table_name_81 WHERE venue = \"windy hill\"", "context": "CREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR)", "question": "What is the home team score that played at windy hill?" }
### QUESTION Which analog channel has a digital channel of 4.1? ### CONTEXT CREATE TABLE table_name_31 (analog_channel VARCHAR, digital_channel VARCHAR) ### ANSWER SELECT analog_channel FROM table_name_31 WHERE digital_channel = "4.1"
{ "answer": "SELECT analog_channel FROM table_name_31 WHERE digital_channel = \"4.1\"", "context": "CREATE TABLE table_name_31 (analog_channel VARCHAR, digital_channel VARCHAR)", "question": "Which analog channel has a digital channel of 4.1?" }
### QUESTION How many Touchdowns have a rec of 10, and an Opponent of oregon state, and an Average smaller than 19.7? ### CONTEXT CREATE TABLE table_name_57 (s_touchdown VARCHAR, average VARCHAR, rec VARCHAR, opponent VARCHAR) ### ANSWER SELECT COUNT(s_touchdown) FROM table_name_57 WHERE rec = 10 AND opponent = "oregon state" AND average < 19.7
{ "answer": "SELECT COUNT(s_touchdown) FROM table_name_57 WHERE rec = 10 AND opponent = \"oregon state\" AND average < 19.7", "context": "CREATE TABLE table_name_57 (s_touchdown VARCHAR, average VARCHAR, rec VARCHAR, opponent VARCHAR)", "question": "How many Touchdowns have a rec of 10, and an Opponent of oregon state, and an Average smaller than 19.7?" }
### QUESTION What nation scored 7 in shooting in 1920? ### CONTEXT CREATE TABLE table_name_39 (nation VARCHAR, years VARCHAR, sport VARCHAR, total VARCHAR) ### ANSWER SELECT nation FROM table_name_39 WHERE sport = "shooting" AND total = 7 AND years = "1920"
{ "answer": "SELECT nation FROM table_name_39 WHERE sport = \"shooting\" AND total = 7 AND years = \"1920\"", "context": "CREATE TABLE table_name_39 (nation VARCHAR, years VARCHAR, sport VARCHAR, total VARCHAR)", "question": "What nation scored 7 in shooting in 1920?" }
### QUESTION What is essendon's away team score? ### CONTEXT CREATE TABLE table_name_1 (away_team VARCHAR) ### ANSWER SELECT away_team AS score FROM table_name_1 WHERE away_team = "essendon"
{ "answer": "SELECT away_team AS score FROM table_name_1 WHERE away_team = \"essendon\"", "context": "CREATE TABLE table_name_1 (away_team VARCHAR)", "question": "What is essendon's away team score?" }
### QUESTION What is the Record of the game with an Attendance of 70,604? ### CONTEXT CREATE TABLE table_name_92 (record VARCHAR, attendance VARCHAR) ### ANSWER SELECT record FROM table_name_92 WHERE attendance = "70,604"
{ "answer": "SELECT record FROM table_name_92 WHERE attendance = \"70,604\"", "context": "CREATE TABLE table_name_92 (record VARCHAR, attendance VARCHAR)", "question": "What is the Record of the game with an Attendance of 70,604?" }
### QUESTION What is the position when lost is less than 7? ### CONTEXT CREATE TABLE table_name_60 (position INTEGER, lost INTEGER) ### ANSWER SELECT AVG(position) FROM table_name_60 WHERE lost < 7
{ "answer": "SELECT AVG(position) FROM table_name_60 WHERE lost < 7", "context": "CREATE TABLE table_name_60 (position INTEGER, lost INTEGER)", "question": "What is the position when lost is less than 7?" }
### QUESTION What region has the date of 2005 and Playground Music Scandinavia as a label? ### CONTEXT CREATE TABLE table_name_16 (region VARCHAR, date VARCHAR, label VARCHAR) ### ANSWER SELECT region FROM table_name_16 WHERE date = "2005" AND label = "playground music scandinavia"
{ "answer": "SELECT region FROM table_name_16 WHERE date = \"2005\" AND label = \"playground music scandinavia\"", "context": "CREATE TABLE table_name_16 (region VARCHAR, date VARCHAR, label VARCHAR)", "question": "What region has the date of 2005 and Playground Music Scandinavia as a label?" }
### QUESTION What is the minimum D (max) when the Morse Taper number is less than 0? ### CONTEXT CREATE TABLE table_name_47 (d__max_ INTEGER, morse_taper_number INTEGER) ### ANSWER SELECT MIN(d__max_) FROM table_name_47 WHERE morse_taper_number < 0
{ "answer": "SELECT MIN(d__max_) FROM table_name_47 WHERE morse_taper_number < 0", "context": "CREATE TABLE table_name_47 (d__max_ INTEGER, morse_taper_number INTEGER)", "question": "What is the minimum D (max) when the Morse Taper number is less than 0?" }
### QUESTION Can you tell me the Place that has the Country of australia, and the Player of ian baker-finch? ### CONTEXT CREATE TABLE table_name_22 (place VARCHAR, country VARCHAR, player VARCHAR) ### ANSWER SELECT place FROM table_name_22 WHERE country = "australia" AND player = "ian baker-finch"
{ "answer": "SELECT place FROM table_name_22 WHERE country = \"australia\" AND player = \"ian baker-finch\"", "context": "CREATE TABLE table_name_22 (place VARCHAR, country VARCHAR, player VARCHAR)", "question": "Can you tell me the Place that has the Country of australia, and the Player of ian baker-finch?" }
### QUESTION What is Minister, when Portfolio is "Minister of Pubblic Administration", and when Took Office is "14 November 2002"? ### CONTEXT CREATE TABLE table_name_97 (minister VARCHAR, portfolio VARCHAR, took_office VARCHAR) ### ANSWER SELECT minister FROM table_name_97 WHERE portfolio = "minister of pubblic administration" AND took_office = "14 november 2002"
{ "answer": "SELECT minister FROM table_name_97 WHERE portfolio = \"minister of pubblic administration\" AND took_office = \"14 november 2002\"", "context": "CREATE TABLE table_name_97 (minister VARCHAR, portfolio VARCHAR, took_office VARCHAR)", "question": "What is Minister, when Portfolio is \"Minister of Pubblic Administration\", and when Took Office is \"14 November 2002\"?" }
### QUESTION What is the score in the 6 atlas stones event of the player who got 2 (6 in 30.89s) in the 3 dead lift event? ### CONTEXT CREATE TABLE table_24302700_6 (event_6_atlas_stones VARCHAR, event_3_dead_lift VARCHAR) ### ANSWER SELECT COUNT(event_6_atlas_stones) FROM table_24302700_6 WHERE event_3_dead_lift = "2 (6 in 30.89s)"
{ "answer": "SELECT COUNT(event_6_atlas_stones) FROM table_24302700_6 WHERE event_3_dead_lift = \"2 (6 in 30.89s)\"", "context": "CREATE TABLE table_24302700_6 (event_6_atlas_stones VARCHAR, event_3_dead_lift VARCHAR)", "question": "What is the score in the 6 atlas stones event of the player who got 2 (6 in 30.89s) in the 3 dead lift event?" }
### QUESTION What were the bleeding times when both the platelet count was unaffected and the partial thromboplastin time was unaffected ### CONTEXT CREATE TABLE table_1099080_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR) ### ANSWER SELECT bleeding_time FROM table_1099080_1 WHERE partial_thromboplastin_time = "Unaffected" AND platelet_count = "Unaffected"
{ "answer": "SELECT bleeding_time FROM table_1099080_1 WHERE partial_thromboplastin_time = \"Unaffected\" AND platelet_count = \"Unaffected\"", "context": "CREATE TABLE table_1099080_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)", "question": "What were the bleeding times when both the platelet count was unaffected and the partial thromboplastin time was unaffected" }
### QUESTION What is the most number of cuts made that had more than 7 events played and more than 2 top-25s? ### CONTEXT CREATE TABLE table_name_18 (cuts_made INTEGER, events VARCHAR, top_25 VARCHAR) ### ANSWER SELECT MAX(cuts_made) FROM table_name_18 WHERE events = 7 AND top_25 > 2
{ "answer": "SELECT MAX(cuts_made) FROM table_name_18 WHERE events = 7 AND top_25 > 2", "context": "CREATE TABLE table_name_18 (cuts_made INTEGER, events VARCHAR, top_25 VARCHAR)", "question": "What is the most number of cuts made that had more than 7 events played and more than 2 top-25s?" }
### QUESTION Who had the pole position in the August 15, 1981 race? ### CONTEXT CREATE TABLE table_22765887_1 (pole_position VARCHAR, date VARCHAR) ### ANSWER SELECT pole_position FROM table_22765887_1 WHERE date = "August 15, 1981"
{ "answer": "SELECT pole_position FROM table_22765887_1 WHERE date = \"August 15, 1981\"", "context": "CREATE TABLE table_22765887_1 (pole_position VARCHAR, date VARCHAR)", "question": "Who had the pole position in the August 15, 1981 race? " }
### QUESTION Tell me the lowest interview for oklahoma and swimsuit less than 8.8 ### CONTEXT CREATE TABLE table_name_46 (interview INTEGER, state VARCHAR, swimsuit VARCHAR) ### ANSWER SELECT MIN(interview) FROM table_name_46 WHERE state = "oklahoma" AND swimsuit < 8.8
{ "answer": "SELECT MIN(interview) FROM table_name_46 WHERE state = \"oklahoma\" AND swimsuit < 8.8", "context": "CREATE TABLE table_name_46 (interview INTEGER, state VARCHAR, swimsuit VARCHAR)", "question": "Tell me the lowest interview for oklahoma and swimsuit less than 8.8" }
### QUESTION What are Doug Davis' maximum pitching stats? ### CONTEXT CREATE TABLE table_19839391_3 (stats INTEGER, pitcher VARCHAR) ### ANSWER SELECT MAX(stats) FROM table_19839391_3 WHERE pitcher = "Doug Davis"
{ "answer": "SELECT MAX(stats) FROM table_19839391_3 WHERE pitcher = \"Doug Davis\"", "context": "CREATE TABLE table_19839391_3 (stats INTEGER, pitcher VARCHAR)", "question": "What are Doug Davis' maximum pitching stats?" }
### QUESTION What is the state having a contestant with a talent of classical piano and a hometown from Lancaster, NY? ### CONTEXT CREATE TABLE table_name_63 (state VARCHAR, talent VARCHAR, hometown VARCHAR) ### ANSWER SELECT state FROM table_name_63 WHERE talent = "classical piano" AND hometown = "lancaster, ny"
{ "answer": "SELECT state FROM table_name_63 WHERE talent = \"classical piano\" AND hometown = \"lancaster, ny\"", "context": "CREATE TABLE table_name_63 (state VARCHAR, talent VARCHAR, hometown VARCHAR)", "question": "What is the state having a contestant with a talent of classical piano and a hometown from Lancaster, NY?" }
### QUESTION What was the rank of the rider whose ascent time was 43:24 before the year 2002? ### CONTEXT CREATE TABLE table_name_87 (rank VARCHAR, year VARCHAR, ascent_time VARCHAR) ### ANSWER SELECT COUNT(rank) FROM table_name_87 WHERE year < 2002 AND ascent_time = "43:24"
{ "answer": "SELECT COUNT(rank) FROM table_name_87 WHERE year < 2002 AND ascent_time = \"43:24\"", "context": "CREATE TABLE table_name_87 (rank VARCHAR, year VARCHAR, ascent_time VARCHAR)", "question": "What was the rank of the rider whose ascent time was 43:24 before the year 2002?" }
### QUESTION Who's the Republican ticket with a Communist ticket of elizabeth gurley flynn? ### CONTEXT CREATE TABLE table_name_32 (republican_ticket VARCHAR, communist_ticket VARCHAR) ### ANSWER SELECT republican_ticket FROM table_name_32 WHERE communist_ticket = "elizabeth gurley flynn"
{ "answer": "SELECT republican_ticket FROM table_name_32 WHERE communist_ticket = \"elizabeth gurley flynn\"", "context": "CREATE TABLE table_name_32 (republican_ticket VARCHAR, communist_ticket VARCHAR)", "question": "Who's the Republican ticket with a Communist ticket of elizabeth gurley flynn?" }
### QUESTION What is the frequency of the radio station in Indiana that has a call sign of WGNR? ### CONTEXT CREATE TABLE table_name_70 (frequency VARCHAR, state VARCHAR, call_sign VARCHAR) ### ANSWER SELECT frequency FROM table_name_70 WHERE state = "indiana" AND call_sign = "wgnr"
{ "answer": "SELECT frequency FROM table_name_70 WHERE state = \"indiana\" AND call_sign = \"wgnr\"", "context": "CREATE TABLE table_name_70 (frequency VARCHAR, state VARCHAR, call_sign VARCHAR)", "question": "What is the frequency of the radio station in Indiana that has a call sign of WGNR?" }
### QUESTION Who is the youngest employee in the company? List employee's first and last name. ### CONTEXT CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, birth_date VARCHAR) ### ANSWER SELECT first_name, last_name FROM employees ORDER BY birth_date DESC LIMIT 1
{ "answer": "SELECT first_name, last_name FROM employees ORDER BY birth_date DESC LIMIT 1", "context": "CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, birth_date VARCHAR)", "question": "Who is the youngest employee in the company? List employee's first and last name." }
### QUESTION What is Second Vice President, when Third Vice President is "Gen. Juan Alonso", and when Inaugurated is "15 March 1940"? ### CONTEXT CREATE TABLE table_name_74 (second_vice_president VARCHAR, third_vice_president VARCHAR, inaugurated VARCHAR) ### ANSWER SELECT second_vice_president FROM table_name_74 WHERE third_vice_president = "gen. juan alonso" AND inaugurated = "15 march 1940"
{ "answer": "SELECT second_vice_president FROM table_name_74 WHERE third_vice_president = \"gen. juan alonso\" AND inaugurated = \"15 march 1940\"", "context": "CREATE TABLE table_name_74 (second_vice_president VARCHAR, third_vice_president VARCHAR, inaugurated VARCHAR)", "question": "What is Second Vice President, when Third Vice President is \"Gen. Juan Alonso\", and when Inaugurated is \"15 March 1940\"?" }
### QUESTION What was the date of the Paco Rabanne Open de France? ### CONTEXT CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR) ### ANSWER SELECT date FROM table_name_95 WHERE tournament = "paco rabanne open de france"
{ "answer": "SELECT date FROM table_name_95 WHERE tournament = \"paco rabanne open de france\"", "context": "CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR)", "question": "What was the date of the Paco Rabanne Open de France?" }
### QUESTION Show the attendances of the performances at location "TD Garden" or "Bell Centre" ### CONTEXT CREATE TABLE performance (Attendance VARCHAR, LOCATION VARCHAR) ### ANSWER SELECT Attendance FROM performance WHERE LOCATION = "TD Garden" OR LOCATION = "Bell Centre"
{ "answer": "SELECT Attendance FROM performance WHERE LOCATION = \"TD Garden\" OR LOCATION = \"Bell Centre\"", "context": "CREATE TABLE performance (Attendance VARCHAR, LOCATION VARCHAR)", "question": "Show the attendances of the performances at location \"TD Garden\" or \"Bell Centre\"" }
### QUESTION what is the highest gold when the rank is 12 for the nation vietnam? ### CONTEXT CREATE TABLE table_name_18 (gold INTEGER, rank VARCHAR, nation VARCHAR) ### ANSWER SELECT MAX(gold) FROM table_name_18 WHERE rank = "12" AND nation = "vietnam"
{ "answer": "SELECT MAX(gold) FROM table_name_18 WHERE rank = \"12\" AND nation = \"vietnam\"", "context": "CREATE TABLE table_name_18 (gold INTEGER, rank VARCHAR, nation VARCHAR)", "question": "what is the highest gold when the rank is 12 for the nation vietnam?" }
### QUESTION What Championship has a Date of 26 may 1986? ### CONTEXT CREATE TABLE table_name_66 (championship VARCHAR, date VARCHAR) ### ANSWER SELECT championship FROM table_name_66 WHERE date = "26 may 1986"
{ "answer": "SELECT championship FROM table_name_66 WHERE date = \"26 may 1986\"", "context": "CREATE TABLE table_name_66 (championship VARCHAR, date VARCHAR)", "question": "What Championship has a Date of 26 may 1986?" }
### QUESTION What Division III has Bishop Brady in Division V and Hanover in Division IV? ### CONTEXT CREATE TABLE table_name_97 (division_iII VARCHAR, division_v VARCHAR, division_iV VARCHAR, hanover VARCHAR) ### ANSWER SELECT division_iII FROM table_name_97 WHERE division_v = "bishop brady" AND division_iV = hanover
{ "answer": "SELECT division_iII FROM table_name_97 WHERE division_v = \"bishop brady\" AND division_iV = hanover", "context": "CREATE TABLE table_name_97 (division_iII VARCHAR, division_v VARCHAR, division_iV VARCHAR, hanover VARCHAR)", "question": "What Division III has Bishop Brady in Division V and Hanover in Division IV?" }
### QUESTION What is the customer last name, id and phone number with most number of orders? ### CONTEXT CREATE TABLE Orders (customer_id VARCHAR); CREATE TABLE Customers (customer_last_name VARCHAR, phone_number VARCHAR, customer_id VARCHAR) ### ANSWER SELECT T2.customer_last_name, T1.customer_id, T2.phone_number FROM Orders AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T2.customer_last_name, T1.customer_id, T2.phone_number FROM Orders AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Orders (customer_id VARCHAR); CREATE TABLE Customers (customer_last_name VARCHAR, phone_number VARCHAR, customer_id VARCHAR)", "question": "What is the customer last name, id and phone number with most number of orders?" }
### QUESTION Which Payments were processed with Visa? List the payment Id, the date and the amount. ### CONTEXT CREATE TABLE Payments (Payment_ID VARCHAR, Date_Payment_Made VARCHAR, Amount_Payment VARCHAR, Payment_Method_Code VARCHAR) ### ANSWER SELECT Payment_ID, Date_Payment_Made, Amount_Payment FROM Payments WHERE Payment_Method_Code = 'Visa'
{ "answer": "SELECT Payment_ID, Date_Payment_Made, Amount_Payment FROM Payments WHERE Payment_Method_Code = 'Visa'", "context": "CREATE TABLE Payments (Payment_ID VARCHAR, Date_Payment_Made VARCHAR, Amount_Payment VARCHAR, Payment_Method_Code VARCHAR)", "question": "Which Payments were processed with Visa? List the payment Id, the date and the amount." }
### QUESTION Winchester Community school, which plays IHSAA class AA football, is located where? ### CONTEXT CREATE TABLE table_name_99 (location VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR) ### ANSWER SELECT location FROM table_name_99 WHERE ihsaa_football_class = "aa" AND school = "winchester community"
{ "answer": "SELECT location FROM table_name_99 WHERE ihsaa_football_class = \"aa\" AND school = \"winchester community\"", "context": "CREATE TABLE table_name_99 (location VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR)", "question": "Winchester Community school, which plays IHSAA class AA football, is located where?" }
### QUESTION How many Seats 2005 has a Percentage in/de-crease of 50.0%, and a Governorate of dhi qar governorate, and a In/de-creased by larger than 6? ### CONTEXT CREATE TABLE table_name_14 (seats_2005 INTEGER, in_de_creased_by VARCHAR, percentage_in_de_crease VARCHAR, governorate VARCHAR) ### ANSWER SELECT SUM(seats_2005) FROM table_name_14 WHERE percentage_in_de_crease = "50.0%" AND governorate = "dhi qar governorate" AND in_de_creased_by > 6
{ "answer": "SELECT SUM(seats_2005) FROM table_name_14 WHERE percentage_in_de_crease = \"50.0%\" AND governorate = \"dhi qar governorate\" AND in_de_creased_by > 6", "context": "CREATE TABLE table_name_14 (seats_2005 INTEGER, in_de_creased_by VARCHAR, percentage_in_de_crease VARCHAR, governorate VARCHAR)", "question": "How many Seats 2005 has a Percentage in/de-crease of 50.0%, and a Governorate of dhi qar governorate, and a In/de-creased by larger than 6?" }
### QUESTION What is the record of the game with a game number greater than 7 at boston garden with the providence steam rollers as the opponent? ### CONTEXT CREATE TABLE table_name_46 (record VARCHAR, opponent VARCHAR, game VARCHAR, location VARCHAR) ### ANSWER SELECT record FROM table_name_46 WHERE game > 7 AND location = "boston garden" AND opponent = "providence steam rollers"
{ "answer": "SELECT record FROM table_name_46 WHERE game > 7 AND location = \"boston garden\" AND opponent = \"providence steam rollers\"", "context": "CREATE TABLE table_name_46 (record VARCHAR, opponent VARCHAR, game VARCHAR, location VARCHAR)", "question": "What is the record of the game with a game number greater than 7 at boston garden with the providence steam rollers as the opponent?" }
### QUESTION Name the No. 8 which has a No. 4 of benjamin, and a No. 3 of liam? ### CONTEXT CREATE TABLE table_name_23 (no_8 VARCHAR, no_4 VARCHAR, no_3 VARCHAR) ### ANSWER SELECT no_8 FROM table_name_23 WHERE no_4 = "benjamin" AND no_3 = "liam"
{ "answer": "SELECT no_8 FROM table_name_23 WHERE no_4 = \"benjamin\" AND no_3 = \"liam\"", "context": "CREATE TABLE table_name_23 (no_8 VARCHAR, no_4 VARCHAR, no_3 VARCHAR)", "question": "Name the No. 8 which has a No. 4 of benjamin, and a No. 3 of liam?" }
### QUESTION What is the name of the player with the High rebounds when there was a Score of l 108–114 (ot)? ### CONTEXT CREATE TABLE table_name_25 (high_rebounds VARCHAR, score VARCHAR) ### ANSWER SELECT high_rebounds FROM table_name_25 WHERE score = "l 108–114 (ot)"
{ "answer": "SELECT high_rebounds FROM table_name_25 WHERE score = \"l 108–114 (ot)\"", "context": "CREATE TABLE table_name_25 (high_rebounds VARCHAR, score VARCHAR)", "question": "What is the name of the player with the High rebounds when there was a Score of l 108–114 (ot)?" }
### QUESTION Find the number of medications prescribed for each brand. ### CONTEXT CREATE TABLE medication (name VARCHAR, brand VARCHAR, code VARCHAR); CREATE TABLE prescribes (medication VARCHAR) ### ANSWER SELECT COUNT(*), T1.name FROM medication AS T1 JOIN prescribes AS T2 ON T1.code = T2.medication GROUP BY T1.brand
{ "answer": "SELECT COUNT(*), T1.name FROM medication AS T1 JOIN prescribes AS T2 ON T1.code = T2.medication GROUP BY T1.brand", "context": "CREATE TABLE medication (name VARCHAR, brand VARCHAR, code VARCHAR); CREATE TABLE prescribes (medication VARCHAR)", "question": "Find the number of medications prescribed for each brand." }
### QUESTION How many games against for team guarani with under 3 draws? ### CONTEXT CREATE TABLE table_name_84 (against INTEGER, team VARCHAR, drawn VARCHAR) ### ANSWER SELECT SUM(against) FROM table_name_84 WHERE team = "guarani" AND drawn < 3
{ "answer": "SELECT SUM(against) FROM table_name_84 WHERE team = \"guarani\" AND drawn < 3", "context": "CREATE TABLE table_name_84 (against INTEGER, team VARCHAR, drawn VARCHAR)", "question": "How many games against for team guarani with under 3 draws?" }
### QUESTION What is the Elector with a Nationality with roman, and an Elevator of urban iv, and an Elevated with 1261, december 17? ### CONTEXT CREATE TABLE table_name_5 (elector VARCHAR, elevated VARCHAR, nationality VARCHAR, elevator VARCHAR) ### ANSWER SELECT elector FROM table_name_5 WHERE nationality = "roman" AND elevator = "urban iv" AND elevated = "1261, december 17"
{ "answer": "SELECT elector FROM table_name_5 WHERE nationality = \"roman\" AND elevator = \"urban iv\" AND elevated = \"1261, december 17\"", "context": "CREATE TABLE table_name_5 (elector VARCHAR, elevated VARCHAR, nationality VARCHAR, elevator VARCHAR)", "question": "What is the Elector with a Nationality with roman, and an Elevator of urban iv, and an Elevated with 1261, december 17?" }
### QUESTION What is the network that aired Star King prior to 2011? ### CONTEXT CREATE TABLE table_name_70 (network VARCHAR, year VARCHAR, title VARCHAR) ### ANSWER SELECT network FROM table_name_70 WHERE year < 2011 AND title = "star king"
{ "answer": "SELECT network FROM table_name_70 WHERE year < 2011 AND title = \"star king\"", "context": "CREATE TABLE table_name_70 (network VARCHAR, year VARCHAR, title VARCHAR)", "question": "What is the network that aired Star King prior to 2011?" }
### QUESTION What is the project id and detail for the project with at least two documents? ### CONTEXT CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR); CREATE TABLE Documents (project_id VARCHAR) ### ANSWER SELECT T1.project_id, T1.project_details FROM Projects AS T1 JOIN Documents AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id HAVING COUNT(*) > 2
{ "answer": "SELECT T1.project_id, T1.project_details FROM Projects AS T1 JOIN Documents AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id HAVING COUNT(*) > 2", "context": "CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR); CREATE TABLE Documents (project_id VARCHAR)", "question": "What is the project id and detail for the project with at least two documents?" }
### QUESTION How many times were Duke the opponents? ### CONTEXT CREATE TABLE table_20745444_1 (opponents VARCHAR, opponent VARCHAR) ### ANSWER SELECT COUNT(opponents) FROM table_20745444_1 WHERE opponent = "Duke"
{ "answer": "SELECT COUNT(opponents) FROM table_20745444_1 WHERE opponent = \"Duke\"", "context": "CREATE TABLE table_20745444_1 (opponents VARCHAR, opponent VARCHAR)", "question": "How many times were Duke the opponents?" }
### QUESTION Find the name of tracks which are in both Movies and music playlists. ### CONTEXT CREATE TABLE playlists (id VARCHAR, name VARCHAR); CREATE TABLE playlist_tracks (track_id VARCHAR, playlist_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR) ### ANSWER SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Movies' INTERSECT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Music'
{ "answer": "SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Movies' INTERSECT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Music'", "context": "CREATE TABLE playlists (id VARCHAR, name VARCHAR); CREATE TABLE playlist_tracks (track_id VARCHAR, playlist_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR)", "question": "Find the name of tracks which are in both Movies and music playlists." }
### QUESTION What is the average hexadecimal with a decimal less than 53, an octal less than 61, and a glyph greater than 0? ### CONTEXT CREATE TABLE table_name_62 (hexadecimal INTEGER, glyph VARCHAR, decimal VARCHAR, octal VARCHAR) ### ANSWER SELECT AVG(hexadecimal) FROM table_name_62 WHERE decimal < 53 AND octal < 61 AND glyph > 0
{ "answer": "SELECT AVG(hexadecimal) FROM table_name_62 WHERE decimal < 53 AND octal < 61 AND glyph > 0", "context": "CREATE TABLE table_name_62 (hexadecimal INTEGER, glyph VARCHAR, decimal VARCHAR, octal VARCHAR)", "question": "What is the average hexadecimal with a decimal less than 53, an octal less than 61, and a glyph greater than 0?" }
### QUESTION For the constellation scorpius and object of planetary nebula, what was the declination (J2000)? ### CONTEXT CREATE TABLE table_name_53 (declination___j2000__ VARCHAR, constellation VARCHAR, object_type VARCHAR) ### ANSWER SELECT declination___j2000__ FROM table_name_53 WHERE constellation = "scorpius" AND object_type = "planetary nebula"
{ "answer": "SELECT declination___j2000__ FROM table_name_53 WHERE constellation = \"scorpius\" AND object_type = \"planetary nebula\"", "context": "CREATE TABLE table_name_53 (declination___j2000__ VARCHAR, constellation VARCHAR, object_type VARCHAR)", "question": "For the constellation scorpius and object of planetary nebula, what was the declination (J2000)?" }
### QUESTION What year was she on a 350cc class bike, ranked 16th, with over 0 wins? ### CONTEXT CREATE TABLE table_name_85 (year INTEGER, wins VARCHAR, class VARCHAR, rank VARCHAR) ### ANSWER SELECT SUM(year) FROM table_name_85 WHERE class = "350cc" AND rank = "16th" AND wins > 0
{ "answer": "SELECT SUM(year) FROM table_name_85 WHERE class = \"350cc\" AND rank = \"16th\" AND wins > 0", "context": "CREATE TABLE table_name_85 (year INTEGER, wins VARCHAR, class VARCHAR, rank VARCHAR)", "question": "What year was she on a 350cc class bike, ranked 16th, with over 0 wins?" }
### QUESTION Which object has an Apparent magnitude larger than 9.6, and a Right ascension ( J2000 ) of 17h59m02.0s? ### CONTEXT CREATE TABLE table_name_56 (object_type VARCHAR, apparent_magnitude VARCHAR, right_ascension___j2000__ VARCHAR) ### ANSWER SELECT object_type FROM table_name_56 WHERE apparent_magnitude > 9.6 AND right_ascension___j2000__ = "17h59m02.0s"
{ "answer": "SELECT object_type FROM table_name_56 WHERE apparent_magnitude > 9.6 AND right_ascension___j2000__ = \"17h59m02.0s\"", "context": "CREATE TABLE table_name_56 (object_type VARCHAR, apparent_magnitude VARCHAR, right_ascension___j2000__ VARCHAR)", "question": "Which object has an Apparent magnitude larger than 9.6, and a Right ascension ( J2000 ) of 17h59m02.0s?" }
### QUESTION What attendance does 1-6 record have? ### CONTEXT CREATE TABLE table_name_46 (attendance INTEGER, record VARCHAR) ### ANSWER SELECT SUM(attendance) FROM table_name_46 WHERE record = "1-6"
{ "answer": "SELECT SUM(attendance) FROM table_name_46 WHERE record = \"1-6\"", "context": "CREATE TABLE table_name_46 (attendance INTEGER, record VARCHAR)", "question": "What attendance does 1-6 record have?" }
### QUESTION Who were the children of Benjamin Harrison? ### CONTEXT CREATE TABLE table_24143253_5 (children_together VARCHAR, name VARCHAR) ### ANSWER SELECT children_together FROM table_24143253_5 WHERE name = "Benjamin Harrison"
{ "answer": "SELECT children_together FROM table_24143253_5 WHERE name = \"Benjamin Harrison\"", "context": "CREATE TABLE table_24143253_5 (children_together VARCHAR, name VARCHAR)", "question": "Who were the children of Benjamin Harrison?" }
### QUESTION Opened prior to 1877 only 2.44km from Wellington, when did this station close? ### CONTEXT CREATE TABLE table_name_6 (closed VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR) ### ANSWER SELECT closed FROM table_name_6 WHERE opened < 1877 AND distance_from_wellington = "2.44km"
{ "answer": "SELECT closed FROM table_name_6 WHERE opened < 1877 AND distance_from_wellington = \"2.44km\"", "context": "CREATE TABLE table_name_6 (closed VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)", "question": "Opened prior to 1877 only 2.44km from Wellington, when did this station close?" }
### QUESTION How many times was the vote percentage 15.0%? ### CONTEXT CREATE TABLE table_26375386_20 (total VARCHAR, vote_percentage VARCHAR) ### ANSWER SELECT COUNT(total) FROM table_26375386_20 WHERE vote_percentage = "15.0%"
{ "answer": "SELECT COUNT(total) FROM table_26375386_20 WHERE vote_percentage = \"15.0%\"", "context": "CREATE TABLE table_26375386_20 (total VARCHAR, vote_percentage VARCHAR)", "question": "How many times was the vote percentage 15.0%?" }
### QUESTION What date was the circuit, snetterton, when riki christodoulou had the fastest lap? ### CONTEXT CREATE TABLE table_name_10 (date VARCHAR, circuit VARCHAR, fastest_lap VARCHAR) ### ANSWER SELECT date FROM table_name_10 WHERE circuit = "snetterton" AND fastest_lap = "riki christodoulou"
{ "answer": "SELECT date FROM table_name_10 WHERE circuit = \"snetterton\" AND fastest_lap = \"riki christodoulou\"", "context": "CREATE TABLE table_name_10 (date VARCHAR, circuit VARCHAR, fastest_lap VARCHAR)", "question": "What date was the circuit, snetterton, when riki christodoulou had the fastest lap?" }
### QUESTION List the organisation id with the maximum outcome count, and the count. ### CONTEXT CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Projects (organisation_id VARCHAR, project_id VARCHAR) ### ANSWER SELECT T1.organisation_id, COUNT(*) FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.organisation_id, COUNT(*) FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Projects (organisation_id VARCHAR, project_id VARCHAR)", "question": "List the organisation id with the maximum outcome count, and the count." }
### QUESTION Name the lelast decile for roll of 428 ### CONTEXT CREATE TABLE table_name_63 (decile INTEGER, roll VARCHAR) ### ANSWER SELECT MIN(decile) FROM table_name_63 WHERE roll = 428
{ "answer": "SELECT MIN(decile) FROM table_name_63 WHERE roll = 428", "context": "CREATE TABLE table_name_63 (decile INTEGER, roll VARCHAR)", "question": "Name the lelast decile for roll of 428" }
### QUESTION Who is the player from the United States with a 4 to par and a 74-73-72-69=288 score? ### CONTEXT CREATE TABLE table_name_20 (player VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR) ### ANSWER SELECT player FROM table_name_20 WHERE country = "united states" AND to_par = 4 AND score = 74 - 73 - 72 - 69 = 288
{ "answer": "SELECT player FROM table_name_20 WHERE country = \"united states\" AND to_par = 4 AND score = 74 - 73 - 72 - 69 = 288", "context": "CREATE TABLE table_name_20 (player VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR)", "question": "Who is the player from the United States with a 4 to par and a 74-73-72-69=288 score?" }
### QUESTION What is the name of the anti-ship missile that had a turbojet propulsion that was launched by a surface, sub after 1985? ### CONTEXT CREATE TABLE table_name_96 (name VARCHAR, launched_by VARCHAR, propulsion VARCHAR, year VARCHAR) ### ANSWER SELECT name FROM table_name_96 WHERE propulsion = "turbojet" AND year > 1985 AND launched_by = "surface, sub"
{ "answer": "SELECT name FROM table_name_96 WHERE propulsion = \"turbojet\" AND year > 1985 AND launched_by = \"surface, sub\"", "context": "CREATE TABLE table_name_96 (name VARCHAR, launched_by VARCHAR, propulsion VARCHAR, year VARCHAR)", "question": "What is the name of the anti-ship missile that had a turbojet propulsion that was launched by a surface, sub after 1985?" }
### QUESTION What is Original title, when Director is Veljko Bulajić category:articles with hcards, and when Film title used in nomination is Train Without A Timetable? ### CONTEXT CREATE TABLE table_name_35 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR) ### ANSWER SELECT original_title FROM table_name_35 WHERE director = "veljko bulajić category:articles with hcards" AND film_title_used_in_nomination = "train without a timetable"
{ "answer": "SELECT original_title FROM table_name_35 WHERE director = \"veljko bulajić category:articles with hcards\" AND film_title_used_in_nomination = \"train without a timetable\"", "context": "CREATE TABLE table_name_35 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)", "question": "What is Original title, when Director is Veljko Bulajić category:articles with hcards, and when Film title used in nomination is Train Without A Timetable?" }
### QUESTION Who is the written by when mark worthington is the director? ### CONTEXT CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR) ### ANSWER SELECT written_by FROM table_22570439_1 WHERE directed_by = "Mark Worthington"
{ "answer": "SELECT written_by FROM table_22570439_1 WHERE directed_by = \"Mark Worthington\"", "context": "CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR)", "question": "Who is the written by when mark worthington is the director?" }
### QUESTION Who's the Republican ticket with a Communist ticket of (none), and a Socialist ticket of joseph g. glass? ### CONTEXT CREATE TABLE table_name_8 (republican_ticket VARCHAR, communist_ticket VARCHAR, socialist_ticket VARCHAR) ### ANSWER SELECT republican_ticket FROM table_name_8 WHERE communist_ticket = "(none)" AND socialist_ticket = "joseph g. glass"
{ "answer": "SELECT republican_ticket FROM table_name_8 WHERE communist_ticket = \"(none)\" AND socialist_ticket = \"joseph g. glass\"", "context": "CREATE TABLE table_name_8 (republican_ticket VARCHAR, communist_ticket VARCHAR, socialist_ticket VARCHAR)", "question": "Who's the Republican ticket with a Communist ticket of (none), and a Socialist ticket of joseph g. glass?" }
### QUESTION When conjunction junction is the episode title and the music is by bob dorough who is the performer? ### CONTEXT CREATE TABLE table_191105_2 (performed_by VARCHAR, music_by VARCHAR, episode_title VARCHAR) ### ANSWER SELECT performed_by FROM table_191105_2 WHERE music_by = "Bob Dorough" AND episode_title = "Conjunction Junction"
{ "answer": "SELECT performed_by FROM table_191105_2 WHERE music_by = \"Bob Dorough\" AND episode_title = \"Conjunction Junction\"", "context": "CREATE TABLE table_191105_2 (performed_by VARCHAR, music_by VARCHAR, episode_title VARCHAR)", "question": "When conjunction junction is the episode title and the music is by bob dorough who is the performer?" }
### QUESTION What is the mpg-UK urban (cold) for a fuel type of diesel, extraurban MPG in the UK over 68.9, engine capacity of 1422, and L/100km urban (cold) over 5.1? ### CONTEXT CREATE TABLE table_name_8 (mpg_uk_urban__cold_ VARCHAR, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, fuel_type VARCHAR, mpg_uk_extra_urban VARCHAR) ### ANSWER SELECT mpg_uk_urban__cold_ FROM table_name_8 WHERE fuel_type = "diesel" AND mpg_uk_extra_urban > 68.9 AND engine_capacity = 1422 AND l_100km_urban__cold_ > 5.1
{ "answer": "SELECT mpg_uk_urban__cold_ FROM table_name_8 WHERE fuel_type = \"diesel\" AND mpg_uk_extra_urban > 68.9 AND engine_capacity = 1422 AND l_100km_urban__cold_ > 5.1", "context": "CREATE TABLE table_name_8 (mpg_uk_urban__cold_ VARCHAR, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, fuel_type VARCHAR, mpg_uk_extra_urban VARCHAR)", "question": "What is the mpg-UK urban (cold) for a fuel type of diesel, extraurban MPG in the UK over 68.9, engine capacity of 1422, and L/100km urban (cold) over 5.1?" }
### QUESTION How many freedom indices does the country of Austria have? ### CONTEXT CREATE TABLE table_1604579_2 (country VARCHAR) ### ANSWER SELECT COUNT(*) FROM table_1604579_2 WHERE country = "Austria"
{ "answer": "SELECT COUNT(*) FROM table_1604579_2 WHERE country = \"Austria\"", "context": "CREATE TABLE table_1604579_2 (country VARCHAR)", "question": "How many freedom indices does the country of Austria have?" }
### QUESTION What is Teleplay, when Season is greater than 1.1, and when First Broadcast is "February 20, 1981"? ### CONTEXT CREATE TABLE table_name_37 (teleplay VARCHAR, season VARCHAR, first_broadcast VARCHAR) ### ANSWER SELECT teleplay FROM table_name_37 WHERE season > 1.1 AND first_broadcast = "february 20, 1981"
{ "answer": "SELECT teleplay FROM table_name_37 WHERE season > 1.1 AND first_broadcast = \"february 20, 1981\"", "context": "CREATE TABLE table_name_37 (teleplay VARCHAR, season VARCHAR, first_broadcast VARCHAR)", "question": "What is Teleplay, when Season is greater than 1.1, and when First Broadcast is \"February 20, 1981\"?" }
### QUESTION The engine family MaxxForce 5 in the years produced 2007-current, have what cylinder layout? ### CONTEXT CREATE TABLE table_26352332_4 (cylinder_layout VARCHAR, years_produced VARCHAR, engine_family VARCHAR) ### ANSWER SELECT cylinder_layout FROM table_26352332_4 WHERE years_produced = "2007-current" AND engine_family = "MaxxForce 5"
{ "answer": "SELECT cylinder_layout FROM table_26352332_4 WHERE years_produced = \"2007-current\" AND engine_family = \"MaxxForce 5\"", "context": "CREATE TABLE table_26352332_4 (cylinder_layout VARCHAR, years_produced VARCHAR, engine_family VARCHAR)", "question": "The engine family MaxxForce 5\t in the years produced 2007-current, have what cylinder layout?" }
### QUESTION What is the average Against, when Status is "Five Nations", and when Date is "16/03/1996"? ### CONTEXT CREATE TABLE table_name_28 (against INTEGER, status VARCHAR, date VARCHAR) ### ANSWER SELECT AVG(against) FROM table_name_28 WHERE status = "five nations" AND date = "16/03/1996"
{ "answer": "SELECT AVG(against) FROM table_name_28 WHERE status = \"five nations\" AND date = \"16/03/1996\"", "context": "CREATE TABLE table_name_28 (against INTEGER, status VARCHAR, date VARCHAR)", "question": "What is the average Against, when Status is \"Five Nations\", and when Date is \"16/03/1996\"?" }
### QUESTION Name the least number of seasons in top division with position in 2012-13 of 001 1st ### CONTEXT CREATE TABLE table_name_46 (number_of_seasons_in_top_division INTEGER, position_in_2012_13 VARCHAR) ### ANSWER SELECT MIN(number_of_seasons_in_top_division) FROM table_name_46 WHERE position_in_2012_13 = "001 1st"
{ "answer": "SELECT MIN(number_of_seasons_in_top_division) FROM table_name_46 WHERE position_in_2012_13 = \"001 1st\"", "context": "CREATE TABLE table_name_46 (number_of_seasons_in_top_division INTEGER, position_in_2012_13 VARCHAR)", "question": "Name the least number of seasons in top division with position in 2012-13 of 001 1st" }
### QUESTION Who are all men's doubles when men's singles is Jean-Michel Saive? ### CONTEXT CREATE TABLE table_28211988_1 (mens_doubles VARCHAR, mens_singles VARCHAR) ### ANSWER SELECT mens_doubles FROM table_28211988_1 WHERE mens_singles = "Jean-Michel Saive"
{ "answer": "SELECT mens_doubles FROM table_28211988_1 WHERE mens_singles = \"Jean-Michel Saive\"", "context": "CREATE TABLE table_28211988_1 (mens_doubles VARCHAR, mens_singles VARCHAR)", "question": "Who are all men's doubles when men's singles is Jean-Michel Saive?" }
### QUESTION What place is United States player Corey Pavin in? ### CONTEXT CREATE TABLE table_name_25 (place VARCHAR, country VARCHAR, player VARCHAR) ### ANSWER SELECT place FROM table_name_25 WHERE country = "united states" AND player = "corey pavin"
{ "answer": "SELECT place FROM table_name_25 WHERE country = \"united states\" AND player = \"corey pavin\"", "context": "CREATE TABLE table_name_25 (place VARCHAR, country VARCHAR, player VARCHAR)", "question": "What place is United States player Corey Pavin in?" }
### QUESTION Who was in third place when Guy Sebastian was the winning mentor and Andrew Wishart was the runner-up? ### CONTEXT CREATE TABLE table_name_59 (third_place VARCHAR, winning_mentor VARCHAR, runner_up VARCHAR) ### ANSWER SELECT third_place FROM table_name_59 WHERE winning_mentor = "guy sebastian" AND runner_up = "andrew wishart"
{ "answer": "SELECT third_place FROM table_name_59 WHERE winning_mentor = \"guy sebastian\" AND runner_up = \"andrew wishart\"", "context": "CREATE TABLE table_name_59 (third_place VARCHAR, winning_mentor VARCHAR, runner_up VARCHAR)", "question": "Who was in third place when Guy Sebastian was the winning mentor and Andrew Wishart was the runner-up?" }
### QUESTION What is the least attendance that has 3-5 as a record? ### CONTEXT CREATE TABLE table_name_25 (attendance INTEGER, record VARCHAR) ### ANSWER SELECT MIN(attendance) FROM table_name_25 WHERE record = "3-5"
{ "answer": "SELECT MIN(attendance) FROM table_name_25 WHERE record = \"3-5\"", "context": "CREATE TABLE table_name_25 (attendance INTEGER, record VARCHAR)", "question": "What is the least attendance that has 3-5 as a record?" }
### QUESTION Which of V/Line Passenger's pre-conversions re-entered service on 23 November 1984? ### CONTEXT CREATE TABLE table_name_16 (pre_conversion VARCHAR, owner VARCHAR, re_entered_service__p_ VARCHAR) ### ANSWER SELECT pre_conversion FROM table_name_16 WHERE owner = "v/line passenger" AND re_entered_service__p_ = "23 november 1984"
{ "answer": "SELECT pre_conversion FROM table_name_16 WHERE owner = \"v/line passenger\" AND re_entered_service__p_ = \"23 november 1984\"", "context": "CREATE TABLE table_name_16 (pre_conversion VARCHAR, owner VARCHAR, re_entered_service__p_ VARCHAR)", "question": "Which of V/Line Passenger's pre-conversions re-entered service on 23 November 1984?" }
### QUESTION Find the names of all directors whose movies are rated by Sarah Martinez. ### CONTEXT CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (director VARCHAR, mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR) ### ANSWER SELECT DISTINCT T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T3.name = 'Sarah Martinez'
{ "answer": "SELECT DISTINCT T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T3.name = 'Sarah Martinez'", "context": "CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (director VARCHAR, mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)", "question": "Find the names of all directors whose movies are rated by Sarah Martinez." }
### QUESTION How many Inhabitants were there after 2009 in the Municipality with a Party of union for trentino? ### CONTEXT CREATE TABLE table_name_7 (inhabitants INTEGER, party VARCHAR, election VARCHAR) ### ANSWER SELECT AVG(inhabitants) FROM table_name_7 WHERE party = "union for trentino" AND election > 2009
{ "answer": "SELECT AVG(inhabitants) FROM table_name_7 WHERE party = \"union for trentino\" AND election > 2009", "context": "CREATE TABLE table_name_7 (inhabitants INTEGER, party VARCHAR, election VARCHAR)", "question": "How many Inhabitants were there after 2009 in the Municipality with a Party of union for trentino?" }
### QUESTION What city had tickets available since March 28, 2008 and went on sale on September 4, 2009? ### CONTEXT CREATE TABLE table_name_23 (city VARCHAR, tickets_available_since VARCHAR, date VARCHAR) ### ANSWER SELECT city FROM table_name_23 WHERE tickets_available_since = "march 28, 2008" AND date = "september 4, 2009"
{ "answer": "SELECT city FROM table_name_23 WHERE tickets_available_since = \"march 28, 2008\" AND date = \"september 4, 2009\"", "context": "CREATE TABLE table_name_23 (city VARCHAR, tickets_available_since VARCHAR, date VARCHAR)", "question": "What city had tickets available since March 28, 2008 and went on sale on September 4, 2009?" }
### QUESTION Which date has the tom gullikson butch walts final, and who was the runner-up? ### CONTEXT CREATE TABLE table_name_74 (date VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR) ### ANSWER SELECT date FROM table_name_74 WHERE outcome = "runner-up" AND opponents_in_the_final = "tom gullikson butch walts"
{ "answer": "SELECT date FROM table_name_74 WHERE outcome = \"runner-up\" AND opponents_in_the_final = \"tom gullikson butch walts\"", "context": "CREATE TABLE table_name_74 (date VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR)", "question": "Which date has the tom gullikson butch walts final, and who was the runner-up?" }
### QUESTION What was the location when the winning driver was Nathanaël Berthon? ### CONTEXT CREATE TABLE table_25572068_1 (location VARCHAR, winning_driver VARCHAR) ### ANSWER SELECT location FROM table_25572068_1 WHERE winning_driver = "Nathanaël Berthon"
{ "answer": "SELECT location FROM table_25572068_1 WHERE winning_driver = \"Nathanaël Berthon\"", "context": "CREATE TABLE table_25572068_1 (location VARCHAR, winning_driver VARCHAR)", "question": "What was the location when the winning driver was Nathanaël Berthon?" }
### QUESTION How many total units were built of Model ds-4-4-660 with a b-b wheel arrangement and a PRR Class of bs6? ### CONTEXT CREATE TABLE table_name_13 (total_produced INTEGER, builder’s_model VARCHAR, wheel_arrangement VARCHAR, prr_class VARCHAR) ### ANSWER SELECT SUM(total_produced) FROM table_name_13 WHERE wheel_arrangement = "b-b" AND prr_class = "bs6" AND builder’s_model = "ds-4-4-660"
{ "answer": "SELECT SUM(total_produced) FROM table_name_13 WHERE wheel_arrangement = \"b-b\" AND prr_class = \"bs6\" AND builder’s_model = \"ds-4-4-660\"", "context": "CREATE TABLE table_name_13 (total_produced INTEGER, builder’s_model VARCHAR, wheel_arrangement VARCHAR, prr_class VARCHAR)", "question": "How many total units were built of Model ds-4-4-660 with a b-b wheel arrangement and a PRR Class of bs6?" }
### QUESTION What is the Badge/Serial Number of the Policeman who died in Gunfire on 1919-02-18? ### CONTEXT CREATE TABLE table_name_58 (badge_serial_number VARCHAR, date_of_death VARCHAR, rank VARCHAR, cause_of_death VARCHAR) ### ANSWER SELECT badge_serial_number FROM table_name_58 WHERE rank = "policeman" AND cause_of_death = "gunfire" AND date_of_death = "1919-02-18"
{ "answer": "SELECT badge_serial_number FROM table_name_58 WHERE rank = \"policeman\" AND cause_of_death = \"gunfire\" AND date_of_death = \"1919-02-18\"", "context": "CREATE TABLE table_name_58 (badge_serial_number VARCHAR, date_of_death VARCHAR, rank VARCHAR, cause_of_death VARCHAR)", "question": "What is the Badge/Serial Number of the Policeman who died in Gunfire on 1919-02-18?" }
### QUESTION Show names for all employees who do not have certificate of Boeing 737-800. ### CONTEXT CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR); CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Employee (name VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR) ### ANSWER SELECT name FROM Employee EXCEPT SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.name = "Boeing 737-800"
{ "answer": "SELECT name FROM Employee EXCEPT SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.name = \"Boeing 737-800\"", "context": "CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR); CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Employee (name VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR)", "question": "Show names for all employees who do not have certificate of Boeing 737-800." }
### QUESTION What province has the Chinese translation 重庆? ### CONTEXT CREATE TABLE table_16489766_2 (province VARCHAR, chinese VARCHAR) ### ANSWER SELECT COUNT(province) FROM table_16489766_2 WHERE chinese = "重庆"
{ "answer": "SELECT COUNT(province) FROM table_16489766_2 WHERE chinese = \"重庆\"", "context": "CREATE TABLE table_16489766_2 (province VARCHAR, chinese VARCHAR)", "question": "What province has the Chinese translation 重庆?" }
### QUESTION How much Area (km 2) has a Common of collegno, and a Population smaller than 50137? ### CONTEXT CREATE TABLE table_name_60 (area__km_2__ VARCHAR, common_of VARCHAR, population VARCHAR) ### ANSWER SELECT COUNT(area__km_2__) FROM table_name_60 WHERE common_of = "collegno" AND population < 50137
{ "answer": "SELECT COUNT(area__km_2__) FROM table_name_60 WHERE common_of = \"collegno\" AND population < 50137", "context": "CREATE TABLE table_name_60 (area__km_2__ VARCHAR, common_of VARCHAR, population VARCHAR)", "question": "How much Area (km 2) has a Common of collegno, and a Population smaller than 50137?" }
### QUESTION What is the average word count with crs and subframes lesser than 2? ### CONTEXT CREATE TABLE table_name_9 (word__number INTEGER, name VARCHAR, subframe__number VARCHAR) ### ANSWER SELECT AVG(word__number) FROM table_name_9 WHERE name = "crs" AND subframe__number < 2
{ "answer": "SELECT AVG(word__number) FROM table_name_9 WHERE name = \"crs\" AND subframe__number < 2", "context": "CREATE TABLE table_name_9 (word__number INTEGER, name VARCHAR, subframe__number VARCHAR)", "question": "What is the average word count with crs and subframes lesser than 2?" }
### QUESTION What is the name of the only route that runs to bhavnagar? ### CONTEXT CREATE TABLE table_26745820_5 (vivek_express__15905_15906 VARCHAR, kanyakumari VARCHAR) ### ANSWER SELECT vivek_express__15905_15906 FROM table_26745820_5 WHERE kanyakumari = "Bhavnagar"
{ "answer": "SELECT vivek_express__15905_15906 FROM table_26745820_5 WHERE kanyakumari = \"Bhavnagar\"", "context": "CREATE TABLE table_26745820_5 (vivek_express__15905_15906 VARCHAR, kanyakumari VARCHAR)", "question": "What is the name of the only route that runs to bhavnagar?" }
### QUESTION What is the lambda function without a pseudorandom number generation, no s default argument, no functions, and no eval function? ### CONTEXT CREATE TABLE table_name_10 (lambda_functions VARCHAR, eval_function VARCHAR, functions VARCHAR, pseudorandom_number_generation VARCHAR, s_default_argument VARCHAR) ### ANSWER SELECT lambda_functions FROM table_name_10 WHERE pseudorandom_number_generation = "no" AND s_default_argument = "no" AND functions = "no" AND eval_function = "no"
{ "answer": "SELECT lambda_functions FROM table_name_10 WHERE pseudorandom_number_generation = \"no\" AND s_default_argument = \"no\" AND functions = \"no\" AND eval_function = \"no\"", "context": "CREATE TABLE table_name_10 (lambda_functions VARCHAR, eval_function VARCHAR, functions VARCHAR, pseudorandom_number_generation VARCHAR, s_default_argument VARCHAR)", "question": "What is the lambda function without a pseudorandom number generation, no s default argument, no functions, and no eval function?" }
### QUESTION Show all flight numbers with aircraft Airbus A340-300. ### CONTEXT CREATE TABLE Flight (flno VARCHAR, aid VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR) ### ANSWER SELECT T1.flno FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid WHERE T2.name = "Airbus A340-300"
{ "answer": "SELECT T1.flno FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid WHERE T2.name = \"Airbus A340-300\"", "context": "CREATE TABLE Flight (flno VARCHAR, aid VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR)", "question": "Show all flight numbers with aircraft Airbus A340-300." }
### QUESTION How many total earnings are recorded when her best finish is t2 with a 71.25 scoring average? ### CONTEXT CREATE TABLE table_14853156_2 (earnings___ VARCHAR, best_finish VARCHAR, scoring_average VARCHAR) ### ANSWER SELECT COUNT(earnings___) AS $__ FROM table_14853156_2 WHERE best_finish = "T2" AND scoring_average = "71.25"
{ "answer": "SELECT COUNT(earnings___) AS $__ FROM table_14853156_2 WHERE best_finish = \"T2\" AND scoring_average = \"71.25\"", "context": "CREATE TABLE table_14853156_2 (earnings___ VARCHAR, best_finish VARCHAR, scoring_average VARCHAR)", "question": "How many total earnings are recorded when her best finish is t2 with a 71.25 scoring average?" }
### QUESTION Name the original air date for harry hannigan directed by adam weissman ### CONTEXT CREATE TABLE table_23937219_2 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR) ### ANSWER SELECT original_air_date FROM table_23937219_2 WHERE written_by = "Harry Hannigan" AND directed_by = "Adam Weissman"
{ "answer": "SELECT original_air_date FROM table_23937219_2 WHERE written_by = \"Harry Hannigan\" AND directed_by = \"Adam Weissman\"", "context": "CREATE TABLE table_23937219_2 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR)", "question": "Name the original air date for harry hannigan directed by adam weissman" }
### QUESTION Show each school name, its budgeted amount, and invested amount in year 2002 or after. ### CONTEXT CREATE TABLE budget (budgeted VARCHAR, invested VARCHAR, school_id VARCHAR, year VARCHAR); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR) ### ANSWER SELECT T2.school_name, T1.budgeted, T1.invested FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.year >= 2002
{ "answer": "SELECT T2.school_name, T1.budgeted, T1.invested FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.year >= 2002", "context": "CREATE TABLE budget (budgeted VARCHAR, invested VARCHAR, school_id VARCHAR, year VARCHAR); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR)", "question": "Show each school name, its budgeted amount, and invested amount in year 2002 or after." }
### QUESTION During the voting order 11, when the commentator was pierre tchernia, who was the spokesperson? ### CONTEXT CREATE TABLE table_name_7 (spokespersons VARCHAR, commentator VARCHAR, voting_order VARCHAR) ### ANSWER SELECT spokespersons FROM table_name_7 WHERE commentator = "pierre tchernia" AND voting_order = 11
{ "answer": "SELECT spokespersons FROM table_name_7 WHERE commentator = \"pierre tchernia\" AND voting_order = 11", "context": "CREATE TABLE table_name_7 (spokespersons VARCHAR, commentator VARCHAR, voting_order VARCHAR)", "question": "During the voting order 11, when the commentator was pierre tchernia, who was the spokesperson?" }