text
stringlengths
146
1.06k
source
dict
### QUESTION What are the names of races that were held after 2017 and the circuits were in the country of Spain? ### CONTEXT CREATE TABLE races (name VARCHAR, circuitid VARCHAR, year VARCHAR); CREATE TABLE circuits (circuitid VARCHAR, country VARCHAR) ### ANSWER SELECT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = "Spain" AND T1.year > 2017
{ "answer": "SELECT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = \"Spain\" AND T1.year > 2017", "context": "CREATE TABLE races (name VARCHAR, circuitid VARCHAR, year VARCHAR); CREATE TABLE circuits (circuitid VARCHAR, country VARCHAR)", "question": "What are the names of races that were held after 2017 and the circuits were in the country of Spain?" }
### QUESTION How much Drawn has a Name of erc lechbruck, and Points smaller than 17? ### CONTEXT CREATE TABLE table_name_13 (drawn VARCHAR, name VARCHAR, points VARCHAR) ### ANSWER SELECT COUNT(drawn) FROM table_name_13 WHERE name = "erc lechbruck" AND points < 17
{ "answer": "SELECT COUNT(drawn) FROM table_name_13 WHERE name = \"erc lechbruck\" AND points < 17", "context": "CREATE TABLE table_name_13 (drawn VARCHAR, name VARCHAR, points VARCHAR)", "question": "How much Drawn has a Name of erc lechbruck, and Points smaller than 17?" }
### QUESTION what is the wind speed when brenda morehead was in the united states? ### CONTEXT CREATE TABLE table_name_16 (wind__m_s_ INTEGER, nation VARCHAR, athlete VARCHAR) ### ANSWER SELECT MIN(wind__m_s_) FROM table_name_16 WHERE nation = "united states" AND athlete = "brenda morehead"
{ "answer": "SELECT MIN(wind__m_s_) FROM table_name_16 WHERE nation = \"united states\" AND athlete = \"brenda morehead\"", "context": "CREATE TABLE table_name_16 (wind__m_s_ INTEGER, nation VARCHAR, athlete VARCHAR)", "question": "what is the wind speed when brenda morehead was in the united states?" }
### QUESTION Who was the driver with less than 53 laps, Grid larger than 17, and a Time/Retired of spin? ### CONTEXT CREATE TABLE table_name_3 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR) ### ANSWER SELECT driver FROM table_name_3 WHERE laps < 53 AND grid > 17 AND time_retired = "spin"
{ "answer": "SELECT driver FROM table_name_3 WHERE laps < 53 AND grid > 17 AND time_retired = \"spin\"", "context": "CREATE TABLE table_name_3 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)", "question": "Who was the driver with less than 53 laps, Grid larger than 17, and a Time/Retired of spin?" }
### QUESTION What type of ship is a Kobben class vessel that has been in service longer than 2? ### CONTEXT CREATE TABLE table_name_18 (type VARCHAR, in_service VARCHAR, vessel VARCHAR) ### ANSWER SELECT type FROM table_name_18 WHERE in_service > 2 AND vessel = "kobben class"
{ "answer": "SELECT type FROM table_name_18 WHERE in_service > 2 AND vessel = \"kobben class\"", "context": "CREATE TABLE table_name_18 (type VARCHAR, in_service VARCHAR, vessel VARCHAR)", "question": "What type of ship is a Kobben class vessel that has been in service longer than 2?" }
### QUESTION List the name of all the distinct customers who have orders with status "Packing". ### CONTEXT CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR) ### ANSWER SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "Packing"
{ "answer": "SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"Packing\"", "context": "CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)", "question": "List the name of all the distinct customers who have orders with status \"Packing\"." }
### QUESTION Name the number of number in season for 26 ### CONTEXT CREATE TABLE table_22347090_5 (no_in_season VARCHAR, no_in_series VARCHAR) ### ANSWER SELECT COUNT(no_in_season) FROM table_22347090_5 WHERE no_in_series = 26
{ "answer": "SELECT COUNT(no_in_season) FROM table_22347090_5 WHERE no_in_series = 26", "context": "CREATE TABLE table_22347090_5 (no_in_season VARCHAR, no_in_series VARCHAR)", "question": "Name the number of number in season for 26" }
### QUESTION Which hanzi's launch is before 2009, when the language was tibetan, and the name was qinghai tibetian general channel? ### CONTEXT CREATE TABLE table_name_71 (hanzi VARCHAR, name VARCHAR, launch VARCHAR, language VARCHAR) ### ANSWER SELECT hanzi FROM table_name_71 WHERE launch < 2009 AND language = "tibetan" AND name = "qinghai tibetian general channel"
{ "answer": "SELECT hanzi FROM table_name_71 WHERE launch < 2009 AND language = \"tibetan\" AND name = \"qinghai tibetian general channel\"", "context": "CREATE TABLE table_name_71 (hanzi VARCHAR, name VARCHAR, launch VARCHAR, language VARCHAR)", "question": "Which hanzi's launch is before 2009, when the language was tibetan, and the name was qinghai tibetian general channel?" }
### QUESTION What is the match total for a score over 299 and under 412 innings? ### CONTEXT CREATE TABLE table_name_26 (matches INTEGER, high_score VARCHAR, innings VARCHAR) ### ANSWER SELECT SUM(matches) FROM table_name_26 WHERE high_score = "299" AND innings < 412
{ "answer": "SELECT SUM(matches) FROM table_name_26 WHERE high_score = \"299\" AND innings < 412", "context": "CREATE TABLE table_name_26 (matches INTEGER, high_score VARCHAR, innings VARCHAR)", "question": "What is the match total for a score over 299 and under 412 innings?" }
### QUESTION how many peaks where for the chinese episode named 萬凰之王 ### CONTEXT CREATE TABLE table_29633639_1 (peak VARCHAR, chinese_title VARCHAR) ### ANSWER SELECT COUNT(peak) FROM table_29633639_1 WHERE chinese_title = "萬凰之王"
{ "answer": "SELECT COUNT(peak) FROM table_29633639_1 WHERE chinese_title = \"萬凰之王\"", "context": "CREATE TABLE table_29633639_1 (peak VARCHAR, chinese_title VARCHAR)", "question": "how many peaks where for the chinese episode named 萬凰之王" }
### QUESTION What is the average Percentage when there are more than 0 wins, Points Against is more than 481, Losses of 8, and a Points For larger than 826? ### CONTEXT CREATE TABLE table_name_80 (percentage INTEGER, points_for VARCHAR, losses VARCHAR, wins VARCHAR, points_against VARCHAR) ### ANSWER SELECT AVG(percentage) FROM table_name_80 WHERE wins > 0 AND points_against > 481 AND losses = 8 AND points_for > 826
{ "answer": "SELECT AVG(percentage) FROM table_name_80 WHERE wins > 0 AND points_against > 481 AND losses = 8 AND points_for > 826", "context": "CREATE TABLE table_name_80 (percentage INTEGER, points_for VARCHAR, losses VARCHAR, wins VARCHAR, points_against VARCHAR)", "question": "What is the average Percentage when there are more than 0 wins, Points Against is more than 481, Losses of 8, and a Points For larger than 826?" }
### QUESTION Show id, first name and last name for all customers and the number of accounts. ### CONTEXT CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR) ### ANSWER SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name, COUNT(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id
{ "answer": "SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name, COUNT(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id", "context": "CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)", "question": "Show id, first name and last name for all customers and the number of accounts." }
### QUESTION What are the records when Elzbieta Urbanczik competed? ### CONTEXT CREATE TABLE table_14884844_2 (record VARCHAR, athletes VARCHAR) ### ANSWER SELECT record FROM table_14884844_2 WHERE athletes = "Elzbieta Urbanczik"
{ "answer": "SELECT record FROM table_14884844_2 WHERE athletes = \"Elzbieta Urbanczik\"", "context": "CREATE TABLE table_14884844_2 (record VARCHAR, athletes VARCHAR)", "question": "What are the records when Elzbieta Urbanczik competed?" }
### QUESTION What was the average attendance when the decision was price and montreal were the visitors? ### CONTEXT CREATE TABLE table_name_58 (attendance INTEGER, visitor VARCHAR, decision VARCHAR) ### ANSWER SELECT AVG(attendance) FROM table_name_58 WHERE visitor = "montreal" AND decision = "price"
{ "answer": "SELECT AVG(attendance) FROM table_name_58 WHERE visitor = \"montreal\" AND decision = \"price\"", "context": "CREATE TABLE table_name_58 (attendance INTEGER, visitor VARCHAR, decision VARCHAR)", "question": "What was the average attendance when the decision was price and montreal were the visitors?" }
### QUESTION For each country and airline name, how many routes are there? ### CONTEXT CREATE TABLE airlines (country VARCHAR, name VARCHAR, alid VARCHAR); CREATE TABLE routes (alid VARCHAR) ### ANSWER SELECT T1.country, T1.name, COUNT(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T1.country, T1.name
{ "answer": "SELECT T1.country, T1.name, COUNT(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T1.country, T1.name", "context": "CREATE TABLE airlines (country VARCHAR, name VARCHAR, alid VARCHAR); CREATE TABLE routes (alid VARCHAR)", "question": "For each country and airline name, how many routes are there?" }
### QUESTION Name the sec wins for .357 percentage and 4-3 home record ### CONTEXT CREATE TABLE table_22825679_1 (sec_wins VARCHAR, percentage VARCHAR, home_record VARCHAR) ### ANSWER SELECT sec_wins FROM table_22825679_1 WHERE percentage = ".357" AND home_record = "4-3"
{ "answer": "SELECT sec_wins FROM table_22825679_1 WHERE percentage = \".357\" AND home_record = \"4-3\"", "context": "CREATE TABLE table_22825679_1 (sec_wins VARCHAR, percentage VARCHAR, home_record VARCHAR)", "question": "Name the sec wins for .357 percentage and 4-3 home record" }
### QUESTION Find the name and account balance of the customers who have loans with a total amount of more than 5000. ### CONTEXT CREATE TABLE loan (cust_id VARCHAR, amount INTEGER); CREATE TABLE customer (cust_name VARCHAR, acc_type VARCHAR, cust_id VARCHAR) ### ANSWER SELECT T1.cust_name, T1.acc_type FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name HAVING SUM(T2.amount) > 5000
{ "answer": "SELECT T1.cust_name, T1.acc_type FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name HAVING SUM(T2.amount) > 5000", "context": "CREATE TABLE loan (cust_id VARCHAR, amount INTEGER); CREATE TABLE customer (cust_name VARCHAR, acc_type VARCHAR, cust_id VARCHAR)", "question": "Find the name and account balance of the customers who have loans with a total amount of more than 5000." }
### QUESTION What were highest points received from someone using a zabel-wsp with a position greater than 7? ### CONTEXT CREATE TABLE table_name_15 (points INTEGER, equipment VARCHAR, position VARCHAR) ### ANSWER SELECT MAX(points) FROM table_name_15 WHERE equipment = "zabel-wsp" AND position > 7
{ "answer": "SELECT MAX(points) FROM table_name_15 WHERE equipment = \"zabel-wsp\" AND position > 7", "context": "CREATE TABLE table_name_15 (points INTEGER, equipment VARCHAR, position VARCHAR)", "question": "What were highest points received from someone using a zabel-wsp with a position greater than 7?" }
### QUESTION How many rounds have an Overall larger than 17, and a Position of quarterback? ### CONTEXT CREATE TABLE table_name_66 (round VARCHAR, overall VARCHAR, position VARCHAR) ### ANSWER SELECT COUNT(round) FROM table_name_66 WHERE overall > 17 AND position = "quarterback"
{ "answer": "SELECT COUNT(round) FROM table_name_66 WHERE overall > 17 AND position = \"quarterback\"", "context": "CREATE TABLE table_name_66 (round VARCHAR, overall VARCHAR, position VARCHAR)", "question": "How many rounds have an Overall larger than 17, and a Position of quarterback?" }
### QUESTION What is the Staffel A that has a Staffel D of Energie Cottbus and a Staffel C of Chemie Leipzig and a Staffel B of 1. FC Union Berlin? ### CONTEXT CREATE TABLE table_name_75 (staffel_a VARCHAR, staffel_b VARCHAR, staffel_d VARCHAR, staffel_c VARCHAR) ### ANSWER SELECT staffel_a FROM table_name_75 WHERE staffel_d = "energie cottbus" AND staffel_c = "chemie leipzig" AND staffel_b = "1. fc union berlin"
{ "answer": "SELECT staffel_a FROM table_name_75 WHERE staffel_d = \"energie cottbus\" AND staffel_c = \"chemie leipzig\" AND staffel_b = \"1. fc union berlin\"", "context": "CREATE TABLE table_name_75 (staffel_a VARCHAR, staffel_b VARCHAR, staffel_d VARCHAR, staffel_c VARCHAR)", "question": "What is the Staffel A that has a Staffel D of Energie Cottbus and a Staffel C of Chemie Leipzig and a Staffel B of 1. FC Union Berlin?" }
### QUESTION Name the most losst for corinthians ### CONTEXT CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR) ### ANSWER SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians"
{ "answer": "SELECT MIN(lost) FROM table_15319684_1 WHERE team = \"Corinthians\"", "context": "CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR)", "question": "Name the most losst for corinthians" }
### QUESTION How many catches did Clifford McWatt have? ### CONTEXT CREATE TABLE table_27771406_1 (catches INTEGER, player VARCHAR) ### ANSWER SELECT MIN(catches) FROM table_27771406_1 WHERE player = "Clifford McWatt"
{ "answer": "SELECT MIN(catches) FROM table_27771406_1 WHERE player = \"Clifford McWatt\"", "context": "CREATE TABLE table_27771406_1 (catches INTEGER, player VARCHAR)", "question": "How many catches did Clifford McWatt have? " }
### QUESTION What driver has under 53 laps, a grid smaller than 14, and a time/retired of differential? ### CONTEXT CREATE TABLE table_name_28 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR) ### ANSWER SELECT driver FROM table_name_28 WHERE laps < 53 AND grid < 14 AND time_retired = "differential"
{ "answer": "SELECT driver FROM table_name_28 WHERE laps < 53 AND grid < 14 AND time_retired = \"differential\"", "context": "CREATE TABLE table_name_28 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)", "question": "What driver has under 53 laps, a grid smaller than 14, and a time/retired of differential?" }
### QUESTION Which track has a title : Just a little bit ### CONTEXT CREATE TABLE table_name_64 (track INTEGER, song_title VARCHAR) ### ANSWER SELECT MIN(track) FROM table_name_64 WHERE song_title = "just a little bit"
{ "answer": "SELECT MIN(track) FROM table_name_64 WHERE song_title = \"just a little bit\"", "context": "CREATE TABLE table_name_64 (track INTEGER, song_title VARCHAR)", "question": "Which track has a title : Just a little bit" }
### QUESTION How many countries had a per capita withdrawal (m 3 /p/yr) of 372? ### CONTEXT CREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR) ### ANSWER SELECT COUNT(country) FROM table_15909409_2 WHERE per_capita_withdrawal__m_3__p_yr_ = 372
{ "answer": "SELECT COUNT(country) FROM table_15909409_2 WHERE per_capita_withdrawal__m_3__p_yr_ = 372", "context": "CREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR)", "question": "How many countries had a per capita withdrawal (m 3 /p/yr) of 372?" }
### QUESTION What is the grid total for alain prost with over 14 laps? ### CONTEXT CREATE TABLE table_name_91 (grid INTEGER, laps VARCHAR, driver VARCHAR) ### ANSWER SELECT SUM(grid) FROM table_name_91 WHERE laps > 14 AND driver = "alain prost"
{ "answer": "SELECT SUM(grid) FROM table_name_91 WHERE laps > 14 AND driver = \"alain prost\"", "context": "CREATE TABLE table_name_91 (grid INTEGER, laps VARCHAR, driver VARCHAR)", "question": "What is the grid total for alain prost with over 14 laps?" }
### QUESTION What is the lowest total metals of a team with more than 6 silver, 6 bronze, and fewer than 16 gold medals? ### CONTEXT CREATE TABLE table_name_77 (total INTEGER, gold VARCHAR, silver VARCHAR, bronze VARCHAR) ### ANSWER SELECT MIN(total) FROM table_name_77 WHERE silver > 6 AND bronze = 6 AND gold < 16
{ "answer": "SELECT MIN(total) FROM table_name_77 WHERE silver > 6 AND bronze = 6 AND gold < 16", "context": "CREATE TABLE table_name_77 (total INTEGER, gold VARCHAR, silver VARCHAR, bronze VARCHAR)", "question": "What is the lowest total metals of a team with more than 6 silver, 6 bronze, and fewer than 16 gold medals?" }
### QUESTION What is Team, when Date of Appointment is "10 November 2008"? ### CONTEXT CREATE TABLE table_name_6 (team VARCHAR, date_of_appointment VARCHAR) ### ANSWER SELECT team FROM table_name_6 WHERE date_of_appointment = "10 november 2008"
{ "answer": "SELECT team FROM table_name_6 WHERE date_of_appointment = \"10 november 2008\"", "context": "CREATE TABLE table_name_6 (team VARCHAR, date_of_appointment VARCHAR)", "question": "What is Team, when Date of Appointment is \"10 November 2008\"?" }
### QUESTION How many distance places have brisbane at $3.80? ### CONTEXT CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR) ### ANSWER SELECT COUNT(distance) FROM table_2923917_4 WHERE brisbane = "$3.80"
{ "answer": "SELECT COUNT(distance) FROM table_2923917_4 WHERE brisbane = \"$3.80\"", "context": "CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR)", "question": "How many distance places have brisbane at $3.80?" }
### QUESTION Find the name of amenities of the dorm where the student with last name Smith is living in. ### CONTEXT CREATE TABLE student (stuid VARCHAR, lname VARCHAR); CREATE TABLE dorm (dormid VARCHAR); CREATE TABLE lives_in (dormid VARCHAR, stuid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR) ### ANSWER SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid JOIN lives_in AS T4 ON T4.dormid = T1.dormid JOIN student AS T5 ON T5.stuid = T4.stuid WHERE T5.lname = 'Smith'
{ "answer": "SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid JOIN lives_in AS T4 ON T4.dormid = T1.dormid JOIN student AS T5 ON T5.stuid = T4.stuid WHERE T5.lname = 'Smith'", "context": "CREATE TABLE student (stuid VARCHAR, lname VARCHAR); CREATE TABLE dorm (dormid VARCHAR); CREATE TABLE lives_in (dormid VARCHAR, stuid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR)", "question": "Find the name of amenities of the dorm where the student with last name Smith is living in." }
### QUESTION Name the title that was written by r. scott gemmill ### CONTEXT CREATE TABLE table_17356042_1 (title VARCHAR, written_by VARCHAR) ### ANSWER SELECT title FROM table_17356042_1 WHERE written_by = "R. Scott Gemmill"
{ "answer": "SELECT title FROM table_17356042_1 WHERE written_by = \"R. Scott Gemmill\"", "context": "CREATE TABLE table_17356042_1 (title VARCHAR, written_by VARCHAR)", "question": "Name the title that was written by r. scott gemmill" }
### QUESTION When the division is Division 2 men what is the champion score? ### CONTEXT CREATE TABLE table_15161170_1 (champion_score VARCHAR, division VARCHAR) ### ANSWER SELECT champion_score FROM table_15161170_1 WHERE division = "division 2 Men"
{ "answer": "SELECT champion_score FROM table_15161170_1 WHERE division = \"division 2 Men\"", "context": "CREATE TABLE table_15161170_1 (champion_score VARCHAR, division VARCHAR)", "question": "When the division is Division 2 men what is the champion score?" }
### QUESTION Who is the co-contestant (yaar vs. Pyaar) with Vishal Singh as the main contestant? ### CONTEXT CREATE TABLE table_name_90 (co_contestant__yaar_vs_pyaar_ VARCHAR, main_contestant VARCHAR) ### ANSWER SELECT co_contestant__yaar_vs_pyaar_ FROM table_name_90 WHERE main_contestant = "vishal singh"
{ "answer": "SELECT co_contestant__yaar_vs_pyaar_ FROM table_name_90 WHERE main_contestant = \"vishal singh\"", "context": "CREATE TABLE table_name_90 (co_contestant__yaar_vs_pyaar_ VARCHAR, main_contestant VARCHAR)", "question": "Who is the co-contestant (yaar vs. Pyaar) with Vishal Singh as the main contestant?" }
### QUESTION What is the date of debut that has a date of birth listed at 24-10-1887? ### CONTEXT CREATE TABLE table_11585313_1 (date_of_debut VARCHAR, date_of_birth VARCHAR) ### ANSWER SELECT date_of_debut FROM table_11585313_1 WHERE date_of_birth = "24-10-1887"
{ "answer": "SELECT date_of_debut FROM table_11585313_1 WHERE date_of_birth = \"24-10-1887\"", "context": "CREATE TABLE table_11585313_1 (date_of_debut VARCHAR, date_of_birth VARCHAR)", "question": "What is the date of debut that has a date of birth listed at 24-10-1887?" }
### QUESTION What is the total for 1984 for the team with 100 points total and more than 3 seasons? ### CONTEXT CREATE TABLE table_name_11 (total_points VARCHAR, seasons VARCHAR) ### ANSWER SELECT SUM(1984) FROM table_name_11 WHERE total_points = 100 AND seasons > 3
{ "answer": "SELECT SUM(1984) FROM table_name_11 WHERE total_points = 100 AND seasons > 3", "context": "CREATE TABLE table_name_11 (total_points VARCHAR, seasons VARCHAR)", "question": "What is the total for 1984 for the team with 100 points total and more than 3 seasons?" }
### QUESTION What was the winning score for the Andy Williams-San Diego Open Invitational tournament? ### CONTEXT CREATE TABLE table_name_60 (winning_score VARCHAR, tournament VARCHAR) ### ANSWER SELECT winning_score FROM table_name_60 WHERE tournament = "andy williams-san diego open invitational"
{ "answer": "SELECT winning_score FROM table_name_60 WHERE tournament = \"andy williams-san diego open invitational\"", "context": "CREATE TABLE table_name_60 (winning_score VARCHAR, tournament VARCHAR)", "question": "What was the winning score for the Andy Williams-San Diego Open Invitational tournament?" }
### QUESTION Find the average grade point of student whose last name is Smith. ### CONTEXT CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint INTEGER, lettergrade VARCHAR) ### ANSWER SELECT AVG(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.LName = "Smith"
{ "answer": "SELECT AVG(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.LName = \"Smith\"", "context": "CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint INTEGER, lettergrade VARCHAR)", "question": "Find the average grade point of student whose last name is Smith." }
### QUESTION What method of resolution was the fight that took place at hardcore championship fighting: destiny? ### CONTEXT CREATE TABLE table_name_41 (method VARCHAR, event VARCHAR) ### ANSWER SELECT method FROM table_name_41 WHERE event = "hardcore championship fighting: destiny"
{ "answer": "SELECT method FROM table_name_41 WHERE event = \"hardcore championship fighting: destiny\"", "context": "CREATE TABLE table_name_41 (method VARCHAR, event VARCHAR)", "question": "What method of resolution was the fight that took place at hardcore championship fighting: destiny?" }
### QUESTION Tell me the catalog for date larger than 2004 ### CONTEXT CREATE TABLE table_name_72 (catalog VARCHAR, date INTEGER) ### ANSWER SELECT catalog FROM table_name_72 WHERE date > 2004
{ "answer": "SELECT catalog FROM table_name_72 WHERE date > 2004", "context": "CREATE TABLE table_name_72 (catalog VARCHAR, date INTEGER)", "question": "Tell me the catalog for date larger than 2004" }
### QUESTION Name the least decile for state authority and area of eketahuna with roll more than 44 ### CONTEXT CREATE TABLE table_name_78 (decile INTEGER, roll VARCHAR, authority VARCHAR, area VARCHAR) ### ANSWER SELECT MIN(decile) FROM table_name_78 WHERE authority = "state" AND area = "eketahuna" AND roll > 44
{ "answer": "SELECT MIN(decile) FROM table_name_78 WHERE authority = \"state\" AND area = \"eketahuna\" AND roll > 44", "context": "CREATE TABLE table_name_78 (decile INTEGER, roll VARCHAR, authority VARCHAR, area VARCHAR)", "question": "Name the least decile for state authority and area of eketahuna with roll more than 44" }
### QUESTION Tell me the average year for rank more than 3 and 28 floors ### CONTEXT CREATE TABLE table_name_84 (year INTEGER, rank VARCHAR, floors VARCHAR) ### ANSWER SELECT AVG(year) FROM table_name_84 WHERE rank > 3 AND floors = 28
{ "answer": "SELECT AVG(year) FROM table_name_84 WHERE rank > 3 AND floors = 28", "context": "CREATE TABLE table_name_84 (year INTEGER, rank VARCHAR, floors VARCHAR)", "question": "Tell me the average year for rank more than 3 and 28 floors" }
### QUESTION Which round had Michael Schumacher in the pole position, David Coulthard with the fastest lap, and McLaren - Mercedes as the winning constructor? ### CONTEXT CREATE TABLE table_1132600_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) ### ANSWER SELECT COUNT(round) FROM table_1132600_3 WHERE pole_position = "Michael Schumacher" AND fastest_lap = "David Coulthard" AND winning_constructor = "McLaren - Mercedes"
{ "answer": "SELECT COUNT(round) FROM table_1132600_3 WHERE pole_position = \"Michael Schumacher\" AND fastest_lap = \"David Coulthard\" AND winning_constructor = \"McLaren - Mercedes\"", "context": "CREATE TABLE table_1132600_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)", "question": "Which round had Michael Schumacher in the pole position, David Coulthard with the fastest lap, and McLaren - Mercedes as the winning constructor?" }
### QUESTION Which Termination of Mission has a Presentation of Credentials on October 29, 1981 ### CONTEXT CREATE TABLE table_name_5 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR) ### ANSWER SELECT termination_of_mission FROM table_name_5 WHERE presentation_of_credentials = "october 29, 1981"
{ "answer": "SELECT termination_of_mission FROM table_name_5 WHERE presentation_of_credentials = \"october 29, 1981\"", "context": "CREATE TABLE table_name_5 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR)", "question": "Which Termination of Mission has a Presentation of Credentials on October 29, 1981" }
### QUESTION Which Total Cargo (Metric Tonnes) is the highest one that has a Rank smaller than 4, and an Airport of shanghai pudong international airport? ### CONTEXT CREATE TABLE table_name_66 (total_cargo__metric_tonnes_ INTEGER, rank VARCHAR, airport VARCHAR) ### ANSWER SELECT MAX(total_cargo__metric_tonnes_) FROM table_name_66 WHERE rank < 4 AND airport = "shanghai pudong international airport"
{ "answer": "SELECT MAX(total_cargo__metric_tonnes_) FROM table_name_66 WHERE rank < 4 AND airport = \"shanghai pudong international airport\"", "context": "CREATE TABLE table_name_66 (total_cargo__metric_tonnes_ INTEGER, rank VARCHAR, airport VARCHAR)", "question": "Which Total Cargo (Metric Tonnes) is the highest one that has a Rank smaller than 4, and an Airport of shanghai pudong international airport?" }
### QUESTION I want the director for heroes of the wild ### CONTEXT CREATE TABLE table_name_29 (director VARCHAR, serial_title VARCHAR) ### ANSWER SELECT director FROM table_name_29 WHERE serial_title = "heroes of the wild"
{ "answer": "SELECT director FROM table_name_29 WHERE serial_title = \"heroes of the wild\"", "context": "CREATE TABLE table_name_29 (director VARCHAR, serial_title VARCHAR)", "question": "I want the director for heroes of the wild" }
### QUESTION What is the simplified Chinese with a standard order over 4, and the transcription of Bei Hui Feng? ### CONTEXT CREATE TABLE table_name_43 (simplified_chinese VARCHAR, standard_order VARCHAR, transcription__based_on_pinyin_ VARCHAR) ### ANSWER SELECT simplified_chinese FROM table_name_43 WHERE standard_order > 4 AND transcription__based_on_pinyin_ = "bei hui feng"
{ "answer": "SELECT simplified_chinese FROM table_name_43 WHERE standard_order > 4 AND transcription__based_on_pinyin_ = \"bei hui feng\"", "context": "CREATE TABLE table_name_43 (simplified_chinese VARCHAR, standard_order VARCHAR, transcription__based_on_pinyin_ VARCHAR)", "question": "What is the simplified Chinese with a standard order over 4, and the transcription of Bei Hui Feng?" }
### QUESTION How many years was lynn muscarella the high school principal and charlie wiltse the superintendent? ### CONTEXT CREATE TABLE table_25037577_1 (year VARCHAR, high_school_principal VARCHAR, superintendent VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_25037577_1 WHERE high_school_principal = "Lynn Muscarella" AND superintendent = "Charlie Wiltse"
{ "answer": "SELECT COUNT(year) FROM table_25037577_1 WHERE high_school_principal = \"Lynn Muscarella\" AND superintendent = \"Charlie Wiltse\"", "context": "CREATE TABLE table_25037577_1 (year VARCHAR, high_school_principal VARCHAR, superintendent VARCHAR)", "question": "How many years was lynn muscarella the high school principal and charlie wiltse the superintendent?" }
### QUESTION How many home team scores have a time of 4:40 PM? ### CONTEXT CREATE TABLE table_14425454_1 (home_team VARCHAR, time VARCHAR) ### ANSWER SELECT COUNT(home_team) AS score FROM table_14425454_1 WHERE time = "4:40 PM"
{ "answer": "SELECT COUNT(home_team) AS score FROM table_14425454_1 WHERE time = \"4:40 PM\"", "context": "CREATE TABLE table_14425454_1 (home_team VARCHAR, time VARCHAR)", "question": "How many home team scores have a time of 4:40 PM?" }
### QUESTION In what Round was OL Player Richard Zulys picked? ### CONTEXT CREATE TABLE table_name_92 (round INTEGER, position VARCHAR, player VARCHAR) ### ANSWER SELECT SUM(round) FROM table_name_92 WHERE position = "ol" AND player = "richard zulys"
{ "answer": "SELECT SUM(round) FROM table_name_92 WHERE position = \"ol\" AND player = \"richard zulys\"", "context": "CREATE TABLE table_name_92 (round INTEGER, position VARCHAR, player VARCHAR)", "question": "In what Round was OL Player Richard Zulys picked?" }
### QUESTION Tell me the right ascension for open cluster and NGC number more than 2547 ### CONTEXT CREATE TABLE table_name_59 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR) ### ANSWER SELECT right_ascension___j2000__ FROM table_name_59 WHERE object_type = "open cluster" AND ngc_number > 2547
{ "answer": "SELECT right_ascension___j2000__ FROM table_name_59 WHERE object_type = \"open cluster\" AND ngc_number > 2547", "context": "CREATE TABLE table_name_59 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR)", "question": "Tell me the right ascension for open cluster and NGC number more than 2547" }
### QUESTION What is the earliest round where the gt winning car is max angelelli? ### CONTEXT CREATE TABLE table_28490105_1 (rnd INTEGER, gt_winning_car VARCHAR) ### ANSWER SELECT MIN(rnd) FROM table_28490105_1 WHERE gt_winning_car = "Max Angelelli"
{ "answer": "SELECT MIN(rnd) FROM table_28490105_1 WHERE gt_winning_car = \"Max Angelelli\"", "context": "CREATE TABLE table_28490105_1 (rnd INTEGER, gt_winning_car VARCHAR)", "question": "What is the earliest round where the gt winning car is max angelelli?" }
### QUESTION What person has the alma mater of Eastern Nazarene ('74), and greater than 19 experience? ### CONTEXT CREATE TABLE table_name_86 (name VARCHAR, experience VARCHAR, alma_mater VARCHAR) ### ANSWER SELECT name FROM table_name_86 WHERE experience > 19 AND alma_mater = "eastern nazarene ('74)"
{ "answer": "SELECT name FROM table_name_86 WHERE experience > 19 AND alma_mater = \"eastern nazarene ('74)\"", "context": "CREATE TABLE table_name_86 (name VARCHAR, experience VARCHAR, alma_mater VARCHAR)", "question": "What person has the alma mater of Eastern Nazarene ('74), and greater than 19 experience?" }
### QUESTION How much Quantity has a Type of 1′c1′ h2t? ### CONTEXT CREATE TABLE table_name_11 (quantity VARCHAR, type VARCHAR) ### ANSWER SELECT COUNT(quantity) FROM table_name_11 WHERE type = "1′c1′ h2t"
{ "answer": "SELECT COUNT(quantity) FROM table_name_11 WHERE type = \"1′c1′ h2t\"", "context": "CREATE TABLE table_name_11 (quantity VARCHAR, type VARCHAR)", "question": "How much Quantity has a Type of 1′c1′ h2t?" }
### QUESTION What is the wheel arrangement of the locomotive with number 6 or 4? ### CONTEXT CREATE TABLE table_name_95 (wheel_arrangement VARCHAR, number VARCHAR) ### ANSWER SELECT wheel_arrangement FROM table_name_95 WHERE number = "6 or 4"
{ "answer": "SELECT wheel_arrangement FROM table_name_95 WHERE number = \"6 or 4\"", "context": "CREATE TABLE table_name_95 (wheel_arrangement VARCHAR, number VARCHAR)", "question": "What is the wheel arrangement of the locomotive with number 6 or 4?" }
### QUESTION What is the specific impulse for the engine with a scenario of sr-71 at mach 3.2 (wet)? ### CONTEXT CREATE TABLE table_name_19 (specific_impulse__s_ VARCHAR, scenario VARCHAR) ### ANSWER SELECT specific_impulse__s_ FROM table_name_19 WHERE scenario = "sr-71 at mach 3.2 (wet)"
{ "answer": "SELECT specific_impulse__s_ FROM table_name_19 WHERE scenario = \"sr-71 at mach 3.2 (wet)\"", "context": "CREATE TABLE table_name_19 (specific_impulse__s_ VARCHAR, scenario VARCHAR)", "question": "What is the specific impulse for the engine with a scenario of sr-71 at mach 3.2 (wet)?" }
### QUESTION When Peter Sagan won the youth classification and Thomas Rabou won the most corageous, who won the sprint classification? ### CONTEXT CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, youth_classification VARCHAR, most_courageous VARCHAR) ### ANSWER SELECT sprint_classification FROM table_25055040_22 WHERE youth_classification = "Peter Sagan" AND most_courageous = "Thomas Rabou"
{ "answer": "SELECT sprint_classification FROM table_25055040_22 WHERE youth_classification = \"Peter Sagan\" AND most_courageous = \"Thomas Rabou\"", "context": "CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, youth_classification VARCHAR, most_courageous VARCHAR)", "question": "When Peter Sagan won the youth classification and Thomas Rabou won the most corageous, who won the sprint classification?" }
### QUESTION What district is the court located in Tolland? ### CONTEXT CREATE TABLE table_26758262_1 (district INTEGER, location_of_court VARCHAR) ### ANSWER SELECT MAX(district) FROM table_26758262_1 WHERE location_of_court = "Tolland"
{ "answer": "SELECT MAX(district) FROM table_26758262_1 WHERE location_of_court = \"Tolland\"", "context": "CREATE TABLE table_26758262_1 (district INTEGER, location_of_court VARCHAR)", "question": "What district is the court located in Tolland?" }
### QUESTION What is the col (m) of the Barurumea Ridge peak? ### CONTEXT CREATE TABLE table_18946749_2 (col__m_ INTEGER, peak VARCHAR) ### ANSWER SELECT MAX(col__m_) FROM table_18946749_2 WHERE peak = "Barurumea Ridge"
{ "answer": "SELECT MAX(col__m_) FROM table_18946749_2 WHERE peak = \"Barurumea Ridge\"", "context": "CREATE TABLE table_18946749_2 (col__m_ INTEGER, peak VARCHAR)", "question": "What is the col (m) of the Barurumea Ridge peak? " }
### QUESTION Return reviewer name, movie title, stars, and ratingDate. And sort the data first by reviewer name, then by movie title, and lastly by number of stars. ### CONTEXT CREATE TABLE Rating (stars VARCHAR, ratingDate VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) ### ANSWER SELECT T3.name, T2.title, T1.stars, T1.ratingDate FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID ORDER BY T3.name, T2.title, T1.stars
{ "answer": "SELECT T3.name, T2.title, T1.stars, T1.ratingDate FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID ORDER BY T3.name, T2.title, T1.stars", "context": "CREATE TABLE Rating (stars VARCHAR, ratingDate VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)", "question": "Return reviewer name, movie title, stars, and ratingDate. And sort the data first by reviewer name, then by movie title, and lastly by number of stars." }
### QUESTION What time was the kickoff when the miami dolphins were the opponent? ### CONTEXT CREATE TABLE table_name_31 (kickoff___et__ VARCHAR, opponent VARCHAR) ### ANSWER SELECT kickoff___et__ FROM table_name_31 WHERE opponent = "miami dolphins"
{ "answer": "SELECT kickoff___et__ FROM table_name_31 WHERE opponent = \"miami dolphins\"", "context": "CREATE TABLE table_name_31 (kickoff___et__ VARCHAR, opponent VARCHAR)", "question": "What time was the kickoff when the miami dolphins were the opponent?" }
### QUESTION What is the firefox value with a 22.0% internet explorer? ### CONTEXT CREATE TABLE table_name_56 (firefox VARCHAR, internet_explorer VARCHAR) ### ANSWER SELECT firefox FROM table_name_56 WHERE internet_explorer = "22.0%"
{ "answer": "SELECT firefox FROM table_name_56 WHERE internet_explorer = \"22.0%\"", "context": "CREATE TABLE table_name_56 (firefox VARCHAR, internet_explorer VARCHAR)", "question": "What is the firefox value with a 22.0% internet explorer?" }
### QUESTION what country is john nielsen from ### CONTEXT CREATE TABLE table_name_10 (country VARCHAR, driver VARCHAR) ### ANSWER SELECT country FROM table_name_10 WHERE driver = "john nielsen"
{ "answer": "SELECT country FROM table_name_10 WHERE driver = \"john nielsen\"", "context": "CREATE TABLE table_name_10 (country VARCHAR, driver VARCHAR)", "question": "what country is john nielsen from" }
### QUESTION What is the highest Amerindian (Hispanic/Non-Hispanic) value having a Black (Hispanic/Non-Hispanic) of 15.7 and White (Hispanic/Non-Hispanic) over 69.5? ### CONTEXT CREATE TABLE table_name_67 (amerindian__both_hispanic_and_non_hispanic_ INTEGER, black__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR) ### ANSWER SELECT MAX(amerindian__both_hispanic_and_non_hispanic_) FROM table_name_67 WHERE black__both_hispanic_and_non_hispanic_ = 15.7 AND white__both_hispanic_and_non_hispanic_ > 69.5
{ "answer": "SELECT MAX(amerindian__both_hispanic_and_non_hispanic_) FROM table_name_67 WHERE black__both_hispanic_and_non_hispanic_ = 15.7 AND white__both_hispanic_and_non_hispanic_ > 69.5", "context": "CREATE TABLE table_name_67 (amerindian__both_hispanic_and_non_hispanic_ INTEGER, black__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR)", "question": "What is the highest Amerindian (Hispanic/Non-Hispanic) value having a Black (Hispanic/Non-Hispanic) of 15.7 and White (Hispanic/Non-Hispanic) over 69.5?" }
### QUESTION Which Nanquan has a Nandao smaller than 9.44, and a Rank smaller than 9, and a Total larger than 18.68? ### CONTEXT CREATE TABLE table_name_27 (nanquan INTEGER, total VARCHAR, nandao VARCHAR, rank VARCHAR) ### ANSWER SELECT MIN(nanquan) FROM table_name_27 WHERE nandao < 9.44 AND rank < 9 AND total > 18.68
{ "answer": "SELECT MIN(nanquan) FROM table_name_27 WHERE nandao < 9.44 AND rank < 9 AND total > 18.68", "context": "CREATE TABLE table_name_27 (nanquan INTEGER, total VARCHAR, nandao VARCHAR, rank VARCHAR)", "question": "Which Nanquan has a Nandao smaller than 9.44, and a Rank smaller than 9, and a Total larger than 18.68?" }
### QUESTION What is the lowest Game where Inning is 6th, and the Opposing Pitcher is cliff curtis? ### CONTEXT CREATE TABLE table_name_14 (game INTEGER, inning VARCHAR, opposing_pitcher VARCHAR) ### ANSWER SELECT MIN(game) FROM table_name_14 WHERE inning = "6th" AND opposing_pitcher = "cliff curtis"
{ "answer": "SELECT MIN(game) FROM table_name_14 WHERE inning = \"6th\" AND opposing_pitcher = \"cliff curtis\"", "context": "CREATE TABLE table_name_14 (game INTEGER, inning VARCHAR, opposing_pitcher VARCHAR)", "question": "What is the lowest Game where Inning is 6th, and the Opposing Pitcher is cliff curtis?" }
### QUESTION what are all the report where winning constructor is williams - renault and grand prix is south african grand prix ### CONTEXT CREATE TABLE table_1137704_2 (report VARCHAR, winning_constructor VARCHAR, grand_prix VARCHAR) ### ANSWER SELECT report FROM table_1137704_2 WHERE winning_constructor = "Williams - Renault" AND grand_prix = "South African grand_prix"
{ "answer": "SELECT report FROM table_1137704_2 WHERE winning_constructor = \"Williams - Renault\" AND grand_prix = \"South African grand_prix\"", "context": "CREATE TABLE table_1137704_2 (report VARCHAR, winning_constructor VARCHAR, grand_prix VARCHAR)", "question": "what are all the report where winning constructor is williams - renault and grand prix is south african grand prix" }
### QUESTION What's the least mpg-UK combined when the mpg-UK urban is 25.4, the L/100km extra urban is less than 6.9 and the L/100km urban is more than 11.1? ### CONTEXT CREATE TABLE table_name_42 (mpg_uk_combined INTEGER, l_100km_urban__cold_ VARCHAR, mpg_uk_urban__cold_ VARCHAR, l_100km_extra_urban VARCHAR) ### ANSWER SELECT MIN(mpg_uk_combined) FROM table_name_42 WHERE mpg_uk_urban__cold_ = 25.4 AND l_100km_extra_urban < 6.9 AND l_100km_urban__cold_ > 11.1
{ "answer": "SELECT MIN(mpg_uk_combined) FROM table_name_42 WHERE mpg_uk_urban__cold_ = 25.4 AND l_100km_extra_urban < 6.9 AND l_100km_urban__cold_ > 11.1", "context": "CREATE TABLE table_name_42 (mpg_uk_combined INTEGER, l_100km_urban__cold_ VARCHAR, mpg_uk_urban__cold_ VARCHAR, l_100km_extra_urban VARCHAR)", "question": "What's the least mpg-UK combined when the mpg-UK urban is 25.4, the L/100km extra urban is less than 6.9 and the L/100km urban is more than 11.1?" }
### QUESTION What is the Japanese orthography for the English name National Farmers Academy? ### CONTEXT CREATE TABLE table_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR) ### ANSWER SELECT japanese_orthography FROM table_11390711_4 WHERE english_name = "National Farmers Academy"
{ "answer": "SELECT japanese_orthography FROM table_11390711_4 WHERE english_name = \"National Farmers Academy\"", "context": "CREATE TABLE table_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR)", "question": "What is the Japanese orthography for the English name National Farmers Academy?" }
### QUESTION How many wins have a Series of formula nippon, and a Position of 8th? ### CONTEXT CREATE TABLE table_name_78 (wins VARCHAR, series VARCHAR, position VARCHAR) ### ANSWER SELECT wins FROM table_name_78 WHERE series = "formula nippon" AND position = "8th"
{ "answer": "SELECT wins FROM table_name_78 WHERE series = \"formula nippon\" AND position = \"8th\"", "context": "CREATE TABLE table_name_78 (wins VARCHAR, series VARCHAR, position VARCHAR)", "question": "How many wins have a Series of formula nippon, and a Position of 8th?" }
### QUESTION List the name of tracks belongs to genre Rock or media type is MPEG audio file. ### CONTEXT CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR, media_type_id VARCHAR); CREATE TABLE media_types (id VARCHAR, name VARCHAR) ### ANSWER SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = "Rock" OR T3.name = "MPEG audio file"
{ "answer": "SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = \"Rock\" OR T3.name = \"MPEG audio file\"", "context": "CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR, media_type_id VARCHAR); CREATE TABLE media_types (id VARCHAR, name VARCHAR)", "question": "List the name of tracks belongs to genre Rock or media type is MPEG audio file." }
### QUESTION Which Seatshave a Share of votes of 18%, and a Share of seats of 3%, and a General election smaller than 1992? ### CONTEXT CREATE TABLE table_name_6 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR) ### ANSWER SELECT MIN(seats) FROM table_name_6 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election < 1992
{ "answer": "SELECT MIN(seats) FROM table_name_6 WHERE share_of_votes = \"18%\" AND share_of_seats = \"3%\" AND general_election < 1992", "context": "CREATE TABLE table_name_6 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR)", "question": "Which Seatshave a Share of votes of 18%, and a Share of seats of 3%, and a General election smaller than 1992?" }
### QUESTION What's the quantity made when the manufacturer was 4-6-2 — oooooo — pacific? ### CONTEXT CREATE TABLE table_name_7 (quantity_made VARCHAR, manufacturer VARCHAR) ### ANSWER SELECT quantity_made FROM table_name_7 WHERE manufacturer = "4-6-2 — oooooo — pacific"
{ "answer": "SELECT quantity_made FROM table_name_7 WHERE manufacturer = \"4-6-2 — oooooo — pacific\"", "context": "CREATE TABLE table_name_7 (quantity_made VARCHAR, manufacturer VARCHAR)", "question": "What's the quantity made when the manufacturer was 4-6-2 — oooooo — pacific?" }
### QUESTION How many total wins did the team ranked lower than 1 with a run ratio less than 5.85 and more than 4 losses have? ### CONTEXT CREATE TABLE table_name_87 (wins VARCHAR, losses VARCHAR, rank VARCHAR, run_ratio VARCHAR) ### ANSWER SELECT COUNT(wins) FROM table_name_87 WHERE rank > 1 AND run_ratio < 5.85 AND losses > 4
{ "answer": "SELECT COUNT(wins) FROM table_name_87 WHERE rank > 1 AND run_ratio < 5.85 AND losses > 4", "context": "CREATE TABLE table_name_87 (wins VARCHAR, losses VARCHAR, rank VARCHAR, run_ratio VARCHAR)", "question": "How many total wins did the team ranked lower than 1 with a run ratio less than 5.85 and more than 4 losses have?" }
### QUESTION What is the L2 cache with a release date on September 10, 2009, a 128-bit FPU width, and a 12x multi 1? ### CONTEXT CREATE TABLE table_name_80 (l2_cache VARCHAR, multi_1 VARCHAR, release_date VARCHAR, fpu_width VARCHAR) ### ANSWER SELECT l2_cache FROM table_name_80 WHERE release_date = "september 10, 2009" AND fpu_width = "128-bit" AND multi_1 = "12x"
{ "answer": "SELECT l2_cache FROM table_name_80 WHERE release_date = \"september 10, 2009\" AND fpu_width = \"128-bit\" AND multi_1 = \"12x\"", "context": "CREATE TABLE table_name_80 (l2_cache VARCHAR, multi_1 VARCHAR, release_date VARCHAR, fpu_width VARCHAR)", "question": "What is the L2 cache with a release date on September 10, 2009, a 128-bit FPU width, and a 12x multi 1?" }
### QUESTION Which opponent had a round of more than 1 and an even of PFP: ring of fire? ### CONTEXT CREATE TABLE table_name_45 (opponent VARCHAR, round VARCHAR, event VARCHAR) ### ANSWER SELECT opponent FROM table_name_45 WHERE round > 1 AND event = "pfp: ring of fire"
{ "answer": "SELECT opponent FROM table_name_45 WHERE round > 1 AND event = \"pfp: ring of fire\"", "context": "CREATE TABLE table_name_45 (opponent VARCHAR, round VARCHAR, event VARCHAR)", "question": "Which opponent had a round of more than 1 and an even of PFP: ring of fire?" }
### QUESTION How many viewers are the when the draw is 3? ### CONTEXT CREATE TABLE table_27994983_8 (viewers INTEGER, draw VARCHAR) ### ANSWER SELECT MAX(viewers) FROM table_27994983_8 WHERE draw = 3
{ "answer": "SELECT MAX(viewers) FROM table_27994983_8 WHERE draw = 3", "context": "CREATE TABLE table_27994983_8 (viewers INTEGER, draw VARCHAR)", "question": "How many viewers are the when the draw is 3?" }
### QUESTION what is drawn when the club is hirwaun rfc? ### CONTEXT CREATE TABLE table_name_80 (drawn VARCHAR, club VARCHAR) ### ANSWER SELECT drawn FROM table_name_80 WHERE club = "hirwaun rfc"
{ "answer": "SELECT drawn FROM table_name_80 WHERE club = \"hirwaun rfc\"", "context": "CREATE TABLE table_name_80 (drawn VARCHAR, club VARCHAR)", "question": "what is drawn when the club is hirwaun rfc?" }
### QUESTION What was the host city of the 8th edition in the the host country of Croatia? ### CONTEXT CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR) ### ANSWER SELECT host_city FROM table_26669939_1 WHERE host_country = "Croatia" AND edition = "8th"
{ "answer": "SELECT host_city FROM table_26669939_1 WHERE host_country = \"Croatia\" AND edition = \"8th\"", "context": "CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR)", "question": "What was the host city of the 8th edition in the the host country of Croatia?" }
### QUESTION Name the candidates for massachusetts 8 ### CONTEXT CREATE TABLE table_1341884_23 (candidates VARCHAR, district VARCHAR) ### ANSWER SELECT candidates FROM table_1341884_23 WHERE district = "Massachusetts 8"
{ "answer": "SELECT candidates FROM table_1341884_23 WHERE district = \"Massachusetts 8\"", "context": "CREATE TABLE table_1341884_23 (candidates VARCHAR, district VARCHAR)", "question": "Name the candidates for massachusetts 8" }
### QUESTION How many Placings have Points smaller than 330.84, and a Name of silvo svajger? ### CONTEXT CREATE TABLE table_name_1 (placings VARCHAR, points VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(placings) FROM table_name_1 WHERE points < 330.84 AND name = "silvo svajger"
{ "answer": "SELECT COUNT(placings) FROM table_name_1 WHERE points < 330.84 AND name = \"silvo svajger\"", "context": "CREATE TABLE table_name_1 (placings VARCHAR, points VARCHAR, name VARCHAR)", "question": "How many Placings have Points smaller than 330.84, and a Name of silvo svajger?" }
### QUESTION Show names of teachers and the courses they are arranged to teach in ascending alphabetical order of the teacher's name. ### CONTEXT CREATE TABLE course_arrange (Course_ID VARCHAR, Teacher_ID VARCHAR); CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course (Course VARCHAR, Course_ID VARCHAR) ### ANSWER SELECT T3.Name, T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID ORDER BY T3.Name
{ "answer": "SELECT T3.Name, T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID ORDER BY T3.Name", "context": "CREATE TABLE course_arrange (Course_ID VARCHAR, Teacher_ID VARCHAR); CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course (Course VARCHAR, Course_ID VARCHAR)", "question": "Show names of teachers and the courses they are arranged to teach in ascending alphabetical order of the teacher's name." }
### QUESTION What is the total of Industrial and Commercial Panels that have a Labour Panel greater than 1, a Nominated by the Taoiseach lesss than 11 and a Cultural and Educational Panel smaller than 0 ### CONTEXT CREATE TABLE table_name_45 (industrial_and_commercial_panel VARCHAR, cultural_and_educational_panel VARCHAR, labour_panel VARCHAR, nominated_by_the_taoiseach VARCHAR) ### ANSWER SELECT COUNT(industrial_and_commercial_panel) FROM table_name_45 WHERE labour_panel > 1 AND nominated_by_the_taoiseach < 11 AND cultural_and_educational_panel < 0
{ "answer": "SELECT COUNT(industrial_and_commercial_panel) FROM table_name_45 WHERE labour_panel > 1 AND nominated_by_the_taoiseach < 11 AND cultural_and_educational_panel < 0", "context": "CREATE TABLE table_name_45 (industrial_and_commercial_panel VARCHAR, cultural_and_educational_panel VARCHAR, labour_panel VARCHAR, nominated_by_the_taoiseach VARCHAR)", "question": "What is the total of Industrial and Commercial Panels that have a Labour Panel greater than 1, a Nominated by the Taoiseach lesss than 11 and a Cultural and Educational Panel smaller than 0" }
### QUESTION Who is the constructor for driver alan jones using a chassis of fw06 fw07? ### CONTEXT CREATE TABLE table_name_93 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR) ### ANSWER SELECT constructor FROM table_name_93 WHERE chassis = "fw06 fw07" AND driver = "alan jones"
{ "answer": "SELECT constructor FROM table_name_93 WHERE chassis = \"fw06 fw07\" AND driver = \"alan jones\"", "context": "CREATE TABLE table_name_93 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)", "question": "Who is the constructor for driver alan jones using a chassis of fw06 fw07?" }
### QUESTION What are the number in series of the pieces directed by Win Phelps and which number in season is 11? ### CONTEXT CREATE TABLE table_25604014_6 (no_in_series VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) ### ANSWER SELECT no_in_series FROM table_25604014_6 WHERE directed_by = "Win Phelps" AND no_in_season = 11
{ "answer": "SELECT no_in_series FROM table_25604014_6 WHERE directed_by = \"Win Phelps\" AND no_in_season = 11", "context": "CREATE TABLE table_25604014_6 (no_in_series VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)", "question": "What are the number in series of the pieces directed by Win Phelps and which number in season is 11?" }
### QUESTION Find the name of customers who do not have an saving account. ### CONTEXT CREATE TABLE customer (cust_name VARCHAR, acc_type VARCHAR) ### ANSWER SELECT cust_name FROM customer EXCEPT SELECT cust_name FROM customer WHERE acc_type = 'saving'
{ "answer": "SELECT cust_name FROM customer EXCEPT SELECT cust_name FROM customer WHERE acc_type = 'saving'", "context": "CREATE TABLE customer (cust_name VARCHAR, acc_type VARCHAR)", "question": "Find the name of customers who do not have an saving account." }
### QUESTION In the match against Marcus Aurélio with a method of decision (unanimous), what was the results? ### CONTEXT CREATE TABLE table_name_6 (res VARCHAR, method VARCHAR, opponent VARCHAR) ### ANSWER SELECT res FROM table_name_6 WHERE method = "decision (unanimous)" AND opponent = "marcus aurélio"
{ "answer": "SELECT res FROM table_name_6 WHERE method = \"decision (unanimous)\" AND opponent = \"marcus aurélio\"", "context": "CREATE TABLE table_name_6 (res VARCHAR, method VARCHAR, opponent VARCHAR)", "question": "In the match against Marcus Aurélio with a method of decision (unanimous), what was the results?" }
### QUESTION How many rounds were there in Karlskoga Motorstadion with Roger Eriksson at the pole position? ### CONTEXT CREATE TABLE table_20079931_4 (round VARCHAR, circuit_location VARCHAR, pole_position VARCHAR) ### ANSWER SELECT COUNT(round) FROM table_20079931_4 WHERE circuit_location = "Karlskoga Motorstadion" AND pole_position = "Roger Eriksson"
{ "answer": "SELECT COUNT(round) FROM table_20079931_4 WHERE circuit_location = \"Karlskoga Motorstadion\" AND pole_position = \"Roger Eriksson\"", "context": "CREATE TABLE table_20079931_4 (round VARCHAR, circuit_location VARCHAR, pole_position VARCHAR)", "question": "How many rounds were there in Karlskoga Motorstadion with Roger Eriksson at the pole position?" }
### QUESTION How many candidates were in the election featuring brooks hays (d) unopposed? ### CONTEXT CREATE TABLE table_1342256_5 (first_elected VARCHAR, candidates VARCHAR) ### ANSWER SELECT COUNT(first_elected) FROM table_1342256_5 WHERE candidates = "Brooks Hays (D) Unopposed"
{ "answer": "SELECT COUNT(first_elected) FROM table_1342256_5 WHERE candidates = \"Brooks Hays (D) Unopposed\"", "context": "CREATE TABLE table_1342256_5 (first_elected VARCHAR, candidates VARCHAR)", "question": "How many candidates were in the election featuring brooks hays (d) unopposed?" }
### QUESTION What was Cici Kelley's minimum season? ### CONTEXT CREATE TABLE table_2140071_8 (season INTEGER, coach VARCHAR) ### ANSWER SELECT MIN(season) FROM table_2140071_8 WHERE coach = "Cici Kelley"
{ "answer": "SELECT MIN(season) FROM table_2140071_8 WHERE coach = \"Cici Kelley\"", "context": "CREATE TABLE table_2140071_8 (season INTEGER, coach VARCHAR)", "question": "What was Cici Kelley's minimum season?" }
### QUESTION Who is the no. 4 team that has the no. 5 player Susana Telmo? ### CONTEXT CREATE TABLE table_name_46 (no4 VARCHAR, no5 VARCHAR) ### ANSWER SELECT no4 FROM table_name_46 WHERE no5 = "susana telmo"
{ "answer": "SELECT no4 FROM table_name_46 WHERE no5 = \"susana telmo\"", "context": "CREATE TABLE table_name_46 (no4 VARCHAR, no5 VARCHAR)", "question": "Who is the no. 4 team that has the no. 5 player Susana Telmo?" }
### QUESTION What is the lowest grid number that had a rider with KTM as the manufacturer who did more than 20 laps? ### CONTEXT CREATE TABLE table_name_74 (grid INTEGER, manufacturer VARCHAR, laps VARCHAR) ### ANSWER SELECT MIN(grid) FROM table_name_74 WHERE manufacturer = "ktm" AND laps > 20
{ "answer": "SELECT MIN(grid) FROM table_name_74 WHERE manufacturer = \"ktm\" AND laps > 20", "context": "CREATE TABLE table_name_74 (grid INTEGER, manufacturer VARCHAR, laps VARCHAR)", "question": "What is the lowest grid number that had a rider with KTM as the manufacturer who did more than 20 laps?" }
### QUESTION What is the displacement when the fuel system is carburettor, and a power of ps (kw; hp), and also has a model of 2000? ### CONTEXT CREATE TABLE table_name_20 (displacement VARCHAR, model VARCHAR, fuel_system VARCHAR, power VARCHAR) ### ANSWER SELECT displacement FROM table_name_20 WHERE fuel_system = "carburettor" AND power = "ps (kw; hp)" AND model = "2000"
{ "answer": "SELECT displacement FROM table_name_20 WHERE fuel_system = \"carburettor\" AND power = \"ps (kw; hp)\" AND model = \"2000\"", "context": "CREATE TABLE table_name_20 (displacement VARCHAR, model VARCHAR, fuel_system VARCHAR, power VARCHAR)", "question": "What is the displacement when the fuel system is carburettor, and a power of ps (kw; hp), and also has a model of 2000?" }
### QUESTION How many different values of clubs involved were there when the league entering at this round was allsvenskan? ### CONTEXT CREATE TABLE table_29566686_1 (clubs_involved VARCHAR, leagues_entering_at_this_round VARCHAR) ### ANSWER SELECT COUNT(clubs_involved) FROM table_29566686_1 WHERE leagues_entering_at_this_round = "Allsvenskan"
{ "answer": "SELECT COUNT(clubs_involved) FROM table_29566686_1 WHERE leagues_entering_at_this_round = \"Allsvenskan\"", "context": "CREATE TABLE table_29566686_1 (clubs_involved VARCHAR, leagues_entering_at_this_round VARCHAR)", "question": "How many different values of clubs involved were there when the league entering at this round was allsvenskan?" }
### QUESTION What is the sum of bronze when silver is greater than 3? ### CONTEXT CREATE TABLE table_name_45 (bronze INTEGER, silver INTEGER) ### ANSWER SELECT SUM(bronze) FROM table_name_45 WHERE silver > 3
{ "answer": "SELECT SUM(bronze) FROM table_name_45 WHERE silver > 3", "context": "CREATE TABLE table_name_45 (bronze INTEGER, silver INTEGER)", "question": "What is the sum of bronze when silver is greater than 3?" }
### QUESTION What open source movie has a CC License of by-nc-sa 1.0? ### CONTEXT CREATE TABLE table_name_90 (open_source_movie VARCHAR, cc_license VARCHAR) ### ANSWER SELECT open_source_movie FROM table_name_90 WHERE cc_license = "by-nc-sa 1.0"
{ "answer": "SELECT open_source_movie FROM table_name_90 WHERE cc_license = \"by-nc-sa 1.0\"", "context": "CREATE TABLE table_name_90 (open_source_movie VARCHAR, cc_license VARCHAR)", "question": "What open source movie has a CC License of by-nc-sa 1.0?" }
### QUESTION Find the product names that are colored 'white' but do not have unit of measurement "Handful". ### CONTEXT CREATE TABLE products (product_name VARCHAR, product_category_code VARCHAR, color_code VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE ref_product_categories (product_category_code VARCHAR, unit_of_measure VARCHAR) ### ANSWER SELECT t1.product_name FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code JOIN ref_colors AS t3 ON t1.color_code = t3.color_code WHERE t3.color_description = "white" AND t2.unit_of_measure <> "Handful"
{ "answer": "SELECT t1.product_name FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code JOIN ref_colors AS t3 ON t1.color_code = t3.color_code WHERE t3.color_description = \"white\" AND t2.unit_of_measure <> \"Handful\"", "context": "CREATE TABLE products (product_name VARCHAR, product_category_code VARCHAR, color_code VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE ref_product_categories (product_category_code VARCHAR, unit_of_measure VARCHAR)", "question": "Find the product names that are colored 'white' but do not have unit of measurement \"Handful\"." }
### QUESTION Give me the temperature of Shanghai in January. ### CONTEXT CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE temperature (Jan VARCHAR, city_id VARCHAR) ### ANSWER SELECT T2.Jan FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T1.city = "Shanghai"
{ "answer": "SELECT T2.Jan FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T1.city = \"Shanghai\"", "context": "CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE temperature (Jan VARCHAR, city_id VARCHAR)", "question": "Give me the temperature of Shanghai in January." }
### QUESTION List the names, color descriptions and product descriptions of products with category "Herbs". ### CONTEXT CREATE TABLE Ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_name VARCHAR, product_description VARCHAR, color_code VARCHAR) ### ANSWER SELECT T1.product_name, T2.color_description, T1.product_description FROM products AS T1 JOIN Ref_colors AS T2 ON T1.color_code = T2.color_code WHERE product_category_code = "Herbs"
{ "answer": "SELECT T1.product_name, T2.color_description, T1.product_description FROM products AS T1 JOIN Ref_colors AS T2 ON T1.color_code = T2.color_code WHERE product_category_code = \"Herbs\"", "context": "CREATE TABLE Ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_name VARCHAR, product_description VARCHAR, color_code VARCHAR)", "question": "List the names, color descriptions and product descriptions of products with category \"Herbs\"." }
### QUESTION What is the Surface of the match with a Score in the final of 5–7, 6–7 (2–7)? ### CONTEXT CREATE TABLE table_name_86 (surface VARCHAR, score_in_the_final VARCHAR) ### ANSWER SELECT surface FROM table_name_86 WHERE score_in_the_final = "5–7, 6–7 (2–7)"
{ "answer": "SELECT surface FROM table_name_86 WHERE score_in_the_final = \"5–7, 6–7 (2–7)\"", "context": "CREATE TABLE table_name_86 (surface VARCHAR, score_in_the_final VARCHAR)", "question": "What is the Surface of the match with a Score in the final of 5–7, 6–7 (2–7)?" }
### QUESTION How many years have an Award of venice film festival, and a Title of lust, caution? ### CONTEXT CREATE TABLE table_name_73 (year VARCHAR, award VARCHAR, title VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_73 WHERE award = "venice film festival" AND title = "lust, caution"
{ "answer": "SELECT COUNT(year) FROM table_name_73 WHERE award = \"venice film festival\" AND title = \"lust, caution\"", "context": "CREATE TABLE table_name_73 (year VARCHAR, award VARCHAR, title VARCHAR)", "question": "How many years have an Award of venice film festival, and a Title of lust, caution?" }