text
stringlengths 147
1.06k
| source
dict |
---|---|
### INSTRUCTION
What is the purpose for Frequency of 102.3?
### INPUT
CREATE TABLE table_name_65 (purpose VARCHAR, frequency VARCHAR)
### OUTPUT
SELECT purpose FROM table_name_65 WHERE frequency = "102.3" | {
"input": "CREATE TABLE table_name_65 (purpose VARCHAR, frequency VARCHAR)",
"instruction": "What is the purpose for Frequency of 102.3?",
"output": "SELECT purpose FROM table_name_65 WHERE frequency = \"102.3\""
} |
### INSTRUCTION
What is the production code of the episode written by Cathryn Humphris?
### INPUT
CREATE TABLE table_24938621_3 (production_code VARCHAR, written_by VARCHAR)
### OUTPUT
SELECT production_code FROM table_24938621_3 WHERE written_by = "Cathryn Humphris" | {
"input": "CREATE TABLE table_24938621_3 (production_code VARCHAR, written_by VARCHAR)",
"instruction": "What is the production code of the episode written by Cathryn Humphris?",
"output": "SELECT production_code FROM table_24938621_3 WHERE written_by = \"Cathryn Humphris\""
} |
### INSTRUCTION
Find the name and salary of instructors whose salary is below the average salary of the instructors in the Physics department.
### INPUT
CREATE TABLE instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR)
### OUTPUT
SELECT name, salary FROM instructor WHERE salary < (SELECT AVG(salary) FROM instructor WHERE dept_name = 'Physics') | {
"input": "CREATE TABLE instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR)",
"instruction": "Find the name and salary of instructors whose salary is below the average salary of the instructors in the Physics department.",
"output": "SELECT name, salary FROM instructor WHERE salary < (SELECT AVG(salary) FROM instructor WHERE dept_name = 'Physics')"
} |
### INSTRUCTION
Which party experienced a result of lost re-election democratic-republican hold?
### INPUT
CREATE TABLE table_2668352_16 (party VARCHAR, result VARCHAR)
### OUTPUT
SELECT party FROM table_2668352_16 WHERE result = "Lost re-election Democratic-Republican hold" | {
"input": "CREATE TABLE table_2668352_16 (party VARCHAR, result VARCHAR)",
"instruction": "Which party experienced a result of lost re-election democratic-republican hold?",
"output": "SELECT party FROM table_2668352_16 WHERE result = \"Lost re-election Democratic-Republican hold\""
} |
### INSTRUCTION
What is Manufacturer, when Finish is greater than 29, when Start is less than 23, and when Year is "1973"?
### INPUT
CREATE TABLE table_name_97 (manufacturer VARCHAR, year VARCHAR, finish VARCHAR, start VARCHAR)
### OUTPUT
SELECT manufacturer FROM table_name_97 WHERE finish > 29 AND start < 23 AND year = 1973 | {
"input": "CREATE TABLE table_name_97 (manufacturer VARCHAR, year VARCHAR, finish VARCHAR, start VARCHAR)",
"instruction": "What is Manufacturer, when Finish is greater than 29, when Start is less than 23, and when Year is \"1973\"?",
"output": "SELECT manufacturer FROM table_name_97 WHERE finish > 29 AND start < 23 AND year = 1973"
} |
### INSTRUCTION
How many season did the team lost in round 1 with a GP of 64?
### INPUT
CREATE TABLE table_2233872_1 (COUNt VARCHAR, gp VARCHAR, result VARCHAR)
### OUTPUT
SELECT COUNt AS season FROM table_2233872_1 WHERE gp = 64 AND result = "lost in round 1" | {
"input": "CREATE TABLE table_2233872_1 (COUNt VARCHAR, gp VARCHAR, result VARCHAR)",
"instruction": "How many season did the team lost in round 1 with a GP of 64?",
"output": "SELECT COUNt AS season FROM table_2233872_1 WHERE gp = 64 AND result = \"lost in round 1\""
} |
### INSTRUCTION
Find the last name of the individuals that have been contact individuals of an organization.
### INPUT
CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organization_contact_individuals (individual_id VARCHAR)
### OUTPUT
SELECT DISTINCT t1.individual_last_name FROM individuals AS t1 JOIN organization_contact_individuals AS t2 ON t1.individual_id = t2.individual_id | {
"input": "CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organization_contact_individuals (individual_id VARCHAR)",
"instruction": "Find the last name of the individuals that have been contact individuals of an organization.",
"output": "SELECT DISTINCT t1.individual_last_name FROM individuals AS t1 JOIN organization_contact_individuals AS t2 ON t1.individual_id = t2.individual_id"
} |
### INSTRUCTION
Name the launch vehicle with Institutional authority of ndc
### INPUT
CREATE TABLE table_name_59 (launch_vehicle VARCHAR, institutional_authority VARCHAR)
### OUTPUT
SELECT launch_vehicle FROM table_name_59 WHERE institutional_authority = "ndc" | {
"input": "CREATE TABLE table_name_59 (launch_vehicle VARCHAR, institutional_authority VARCHAR)",
"instruction": "Name the launch vehicle with Institutional authority of ndc",
"output": "SELECT launch_vehicle FROM table_name_59 WHERE institutional_authority = \"ndc\""
} |
### INSTRUCTION
Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%?
### INPUT
CREATE TABLE table_1341577_43 (incumbent VARCHAR, candidates VARCHAR)
### OUTPUT
SELECT incumbent FROM table_1341577_43 WHERE candidates = "Marilyn Lloyd (D) 57.4% Harold W. Coker (R) 42.6%" | {
"input": "CREATE TABLE table_1341577_43 (incumbent VARCHAR, candidates VARCHAR)",
"instruction": "Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%?",
"output": "SELECT incumbent FROM table_1341577_43 WHERE candidates = \"Marilyn Lloyd (D) 57.4% Harold W. Coker (R) 42.6%\""
} |
### INSTRUCTION
What is the percentage democrats with democratic plurality of -3, and 2/5 democrat/republican?
### INPUT
CREATE TABLE table_name_45 (percentage_democrats VARCHAR, democratic_seat_plurality VARCHAR, democratic__republican VARCHAR)
### OUTPUT
SELECT percentage_democrats FROM table_name_45 WHERE democratic_seat_plurality = "-3" AND democratic__republican = "2/5" | {
"input": "CREATE TABLE table_name_45 (percentage_democrats VARCHAR, democratic_seat_plurality VARCHAR, democratic__republican VARCHAR)",
"instruction": "What is the percentage democrats with democratic plurality of -3, and 2/5 democrat/republican?",
"output": "SELECT percentage_democrats FROM table_name_45 WHERE democratic_seat_plurality = \"-3\" AND democratic__republican = \"2/5\""
} |
### INSTRUCTION
Who is the MVP finals that includes Detroit shock from the eastern championship and Sacramento monarchs from western championship?
### INPUT
CREATE TABLE table_name_26 (finals_mvp VARCHAR, eastern_champion VARCHAR, western_champion VARCHAR)
### OUTPUT
SELECT finals_mvp FROM table_name_26 WHERE eastern_champion = "detroit shock" AND western_champion = "sacramento monarchs" | {
"input": "CREATE TABLE table_name_26 (finals_mvp VARCHAR, eastern_champion VARCHAR, western_champion VARCHAR)",
"instruction": "Who is the MVP finals that includes Detroit shock from the eastern championship and Sacramento monarchs from western championship?",
"output": "SELECT finals_mvp FROM table_name_26 WHERE eastern_champion = \"detroit shock\" AND western_champion = \"sacramento monarchs\""
} |
### INSTRUCTION
What is the name of the baseball stadium for the school with the Murray Center basketball arena?
### INPUT
CREATE TABLE table_1974545_3 (baseball_stadium VARCHAR, basketball_arena VARCHAR)
### OUTPUT
SELECT baseball_stadium FROM table_1974545_3 WHERE basketball_arena = "The Murray Center" | {
"input": "CREATE TABLE table_1974545_3 (baseball_stadium VARCHAR, basketball_arena VARCHAR)",
"instruction": "What is the name of the baseball stadium for the school with the Murray Center basketball arena?",
"output": "SELECT baseball_stadium FROM table_1974545_3 WHERE basketball_arena = \"The Murray Center\""
} |
### INSTRUCTION
What's greatest attendance on May 7?
### INPUT
CREATE TABLE table_name_89 (attendance INTEGER, date VARCHAR)
### OUTPUT
SELECT MAX(attendance) FROM table_name_89 WHERE date = "may 7" | {
"input": "CREATE TABLE table_name_89 (attendance INTEGER, date VARCHAR)",
"instruction": "What's greatest attendance on May 7?",
"output": "SELECT MAX(attendance) FROM table_name_89 WHERE date = \"may 7\""
} |
### INSTRUCTION
Which name has a Roll of 270?
### INPUT
CREATE TABLE table_name_97 (name VARCHAR, roll VARCHAR)
### OUTPUT
SELECT name FROM table_name_97 WHERE roll = 270 | {
"input": "CREATE TABLE table_name_97 (name VARCHAR, roll VARCHAR)",
"instruction": "Which name has a Roll of 270?",
"output": "SELECT name FROM table_name_97 WHERE roll = 270"
} |
### INSTRUCTION
What is the area where population in 2010 is 38062?
### INPUT
CREATE TABLE table_255602_1 (area__km²_ VARCHAR, population__2010_ VARCHAR)
### OUTPUT
SELECT area__km²_ FROM table_255602_1 WHERE population__2010_ = 38062 | {
"input": "CREATE TABLE table_255602_1 (area__km²_ VARCHAR, population__2010_ VARCHAR)",
"instruction": "What is the area where population in 2010 is 38062?",
"output": "SELECT area__km²_ FROM table_255602_1 WHERE population__2010_ = 38062"
} |
### INSTRUCTION
What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, and Lampre-Fondital?
### INPUT
CREATE TABLE table_name_74 (general_classification_yellow_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR)
### OUTPUT
SELECT general_classification_yellow_jersey FROM table_name_74 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND team_classification = "lampre-fondital" | {
"input": "CREATE TABLE table_name_74 (general_classification_yellow_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR)",
"instruction": "What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, and Lampre-Fondital?",
"output": "SELECT general_classification_yellow_jersey FROM table_name_74 WHERE mountains_classification_green_jersey = \"murilo antonio fischer\" AND team_classification = \"lampre-fondital\""
} |
### INSTRUCTION
which is the maximun serie episode number when the millions of North American spectators is 3.14?
### INPUT
CREATE TABLE table_22580855_1 (series_no INTEGER, us_viewers__millions_ VARCHAR)
### OUTPUT
SELECT MAX(series_no) FROM table_22580855_1 WHERE us_viewers__millions_ = "3.14" | {
"input": "CREATE TABLE table_22580855_1 (series_no INTEGER, us_viewers__millions_ VARCHAR)",
"instruction": "which is the maximun serie episode number when the millions of North American spectators is 3.14?",
"output": "SELECT MAX(series_no) FROM table_22580855_1 WHERE us_viewers__millions_ = \"3.14\""
} |
### INSTRUCTION
How many rounds did Pierre Bland have a pick larger than 148?
### INPUT
CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR)
### OUTPUT
SELECT COUNT(round) FROM table_name_13 WHERE pick > 148 AND player = "pierre bland" | {
"input": "CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR)",
"instruction": "How many rounds did Pierre Bland have a pick larger than 148?",
"output": "SELECT COUNT(round) FROM table_name_13 WHERE pick > 148 AND player = \"pierre bland\""
} |
### INSTRUCTION
What was the time for Jean Luc Razakarivony with less than 3 heat and more than 2 lanes?
### INPUT
CREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, heat VARCHAR, lane VARCHAR)
### OUTPUT
SELECT time FROM table_name_44 WHERE heat < 3 AND lane > 2 AND name = "jean luc razakarivony" | {
"input": "CREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, heat VARCHAR, lane VARCHAR)",
"instruction": "What was the time for Jean Luc Razakarivony with less than 3 heat and more than 2 lanes?",
"output": "SELECT time FROM table_name_44 WHERE heat < 3 AND lane > 2 AND name = \"jean luc razakarivony\""
} |
### INSTRUCTION
What is Name, when Weight is "kg (lb)", when Club is "Gezira", and when Date of Birth is "1974-02-18"?
### INPUT
CREATE TABLE table_name_83 (name VARCHAR, date_of_birth VARCHAR, weight VARCHAR, club VARCHAR)
### OUTPUT
SELECT name FROM table_name_83 WHERE weight = "kg (lb)" AND club = "gezira" AND date_of_birth = "1974-02-18" | {
"input": "CREATE TABLE table_name_83 (name VARCHAR, date_of_birth VARCHAR, weight VARCHAR, club VARCHAR)",
"instruction": "What is Name, when Weight is \"kg (lb)\", when Club is \"Gezira\", and when Date of Birth is \"1974-02-18\"?",
"output": "SELECT name FROM table_name_83 WHERE weight = \"kg (lb)\" AND club = \"gezira\" AND date_of_birth = \"1974-02-18\""
} |
### INSTRUCTION
Who was the winner with a mountain stage type on 22 May?
### INPUT
CREATE TABLE table_name_81 (winner VARCHAR, type VARCHAR, date VARCHAR)
### OUTPUT
SELECT winner FROM table_name_81 WHERE type = "mountain stage" AND date = "22 may" | {
"input": "CREATE TABLE table_name_81 (winner VARCHAR, type VARCHAR, date VARCHAR)",
"instruction": "Who was the winner with a mountain stage type on 22 May?",
"output": "SELECT winner FROM table_name_81 WHERE type = \"mountain stage\" AND date = \"22 may\""
} |
### INSTRUCTION
What's the rank of the Tau Cerámica that has 377 points and more than 21 games?
### INPUT
CREATE TABLE table_name_62 (rank VARCHAR, games VARCHAR, team VARCHAR, points VARCHAR)
### OUTPUT
SELECT COUNT(rank) FROM table_name_62 WHERE team = "tau cerámica" AND points = 377 AND games > 21 | {
"input": "CREATE TABLE table_name_62 (rank VARCHAR, games VARCHAR, team VARCHAR, points VARCHAR)",
"instruction": "What's the rank of the Tau Cerámica that has 377 points and more than 21 games?",
"output": "SELECT COUNT(rank) FROM table_name_62 WHERE team = \"tau cerámica\" AND points = 377 AND games > 21"
} |
### INSTRUCTION
What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28?
### INPUT
CREATE TABLE table_name_86 (team VARCHAR, high_rebounds VARCHAR, record VARCHAR)
### OUTPUT
SELECT team FROM table_name_86 WHERE high_rebounds = "popeye jones (14)" AND record = "16-28" | {
"input": "CREATE TABLE table_name_86 (team VARCHAR, high_rebounds VARCHAR, record VARCHAR)",
"instruction": "What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28?",
"output": "SELECT team FROM table_name_86 WHERE high_rebounds = \"popeye jones (14)\" AND record = \"16-28\""
} |
### INSTRUCTION
What was the earliest year where USL PDL played in 3rd, Southeast season?
### INPUT
CREATE TABLE table_2402864_1 (year INTEGER, regular_season VARCHAR, league VARCHAR)
### OUTPUT
SELECT MIN(year) FROM table_2402864_1 WHERE regular_season = "3rd, Southeast" AND league = "USL PDL" | {
"input": "CREATE TABLE table_2402864_1 (year INTEGER, regular_season VARCHAR, league VARCHAR)",
"instruction": "What was the earliest year where USL PDL played in 3rd, Southeast season?",
"output": "SELECT MIN(year) FROM table_2402864_1 WHERE regular_season = \"3rd, Southeast\" AND league = \"USL PDL\""
} |
### INSTRUCTION
Who was the player with a debut of age 18 v plymouth , 14 august 2012, and born in Portsmouth?
### INPUT
CREATE TABLE table_name_97 (player VARCHAR, debut VARCHAR, born VARCHAR)
### OUTPUT
SELECT player FROM table_name_97 WHERE debut = "age 18 v plymouth , 14 august 2012" AND born = "portsmouth" | {
"input": "CREATE TABLE table_name_97 (player VARCHAR, debut VARCHAR, born VARCHAR)",
"instruction": "Who was the player with a debut of age 18 v plymouth , 14 august 2012, and born in Portsmouth?",
"output": "SELECT player FROM table_name_97 WHERE debut = \"age 18 v plymouth , 14 august 2012\" AND born = \"portsmouth\""
} |
### INSTRUCTION
what is the name and position of the head whose department has least number of employees?
### INPUT
CREATE TABLE department (head VARCHAR); CREATE TABLE physician (name VARCHAR, position VARCHAR, EmployeeID VARCHAR)
### OUTPUT
SELECT T2.name, T2.position FROM department AS T1 JOIN physician AS T2 ON T1.head = T2.EmployeeID GROUP BY departmentID ORDER BY COUNT(departmentID) LIMIT 1 | {
"input": "CREATE TABLE department (head VARCHAR); CREATE TABLE physician (name VARCHAR, position VARCHAR, EmployeeID VARCHAR)",
"instruction": "what is the name and position of the head whose department has least number of employees?",
"output": "SELECT T2.name, T2.position FROM department AS T1 JOIN physician AS T2 ON T1.head = T2.EmployeeID GROUP BY departmentID ORDER BY COUNT(departmentID) LIMIT 1"
} |
### INSTRUCTION
who directed with original air date being november18,1995
### INPUT
CREATE TABLE table_14637853_3 (directed_by VARCHAR, original_air_date VARCHAR)
### OUTPUT
SELECT directed_by FROM table_14637853_3 WHERE original_air_date = "November18,1995" | {
"input": "CREATE TABLE table_14637853_3 (directed_by VARCHAR, original_air_date VARCHAR)",
"instruction": "who directed with original air date being november18,1995",
"output": "SELECT directed_by FROM table_14637853_3 WHERE original_air_date = \"November18,1995\""
} |
### INSTRUCTION
What is the highest average with less than 3 places, less than 433 total points, and a rank less than 2?
### INPUT
CREATE TABLE table_name_62 (average INTEGER, rank_by_average VARCHAR, place VARCHAR, total_points VARCHAR)
### OUTPUT
SELECT MAX(average) FROM table_name_62 WHERE place < 3 AND total_points < 433 AND rank_by_average < 2 | {
"input": "CREATE TABLE table_name_62 (average INTEGER, rank_by_average VARCHAR, place VARCHAR, total_points VARCHAR)",
"instruction": "What is the highest average with less than 3 places, less than 433 total points, and a rank less than 2?",
"output": "SELECT MAX(average) FROM table_name_62 WHERE place < 3 AND total_points < 433 AND rank_by_average < 2"
} |
### INSTRUCTION
What year was the role nan taylor, alias of nan ellis, aka mrs. andrews and directed by William keighley?
### INPUT
CREATE TABLE table_name_56 (year INTEGER, role VARCHAR, director VARCHAR)
### OUTPUT
SELECT SUM(year) FROM table_name_56 WHERE role = "nan taylor, alias of nan ellis, aka mrs. andrews" AND director = "william keighley" | {
"input": "CREATE TABLE table_name_56 (year INTEGER, role VARCHAR, director VARCHAR)",
"instruction": "What year was the role nan taylor, alias of nan ellis, aka mrs. andrews and directed by William keighley?",
"output": "SELECT SUM(year) FROM table_name_56 WHERE role = \"nan taylor, alias of nan ellis, aka mrs. andrews\" AND director = \"william keighley\""
} |
### INSTRUCTION
Name the maximum year built for holmedal kyrkje
### INPUT
CREATE TABLE table_178399_1 (year_built INTEGER, church_name VARCHAR)
### OUTPUT
SELECT MAX(year_built) FROM table_178399_1 WHERE church_name = "Holmedal kyrkje" | {
"input": "CREATE TABLE table_178399_1 (year_built INTEGER, church_name VARCHAR)",
"instruction": "Name the maximum year built for holmedal kyrkje",
"output": "SELECT MAX(year_built) FROM table_178399_1 WHERE church_name = \"Holmedal kyrkje\""
} |
### INSTRUCTION
What are the highest points with a Chassis of gordini t16, and a Year smaller than 1954?
### INPUT
CREATE TABLE table_name_41 (points INTEGER, chassis VARCHAR, year VARCHAR)
### OUTPUT
SELECT MAX(points) FROM table_name_41 WHERE chassis = "gordini t16" AND year < 1954 | {
"input": "CREATE TABLE table_name_41 (points INTEGER, chassis VARCHAR, year VARCHAR)",
"instruction": "What are the highest points with a Chassis of gordini t16, and a Year smaller than 1954?",
"output": "SELECT MAX(points) FROM table_name_41 WHERE chassis = \"gordini t16\" AND year < 1954"
} |
### INSTRUCTION
WHAT ARE THE BYES WITH A DRAWS OF 1, SMW ROVERS, AND WINS LARGER THAN 6?
### INPUT
CREATE TABLE table_name_76 (byes INTEGER, wins VARCHAR, draws VARCHAR, mininera_dfl VARCHAR)
### OUTPUT
SELECT AVG(byes) FROM table_name_76 WHERE draws = 1 AND mininera_dfl = "smw rovers" AND wins > 6 | {
"input": "CREATE TABLE table_name_76 (byes INTEGER, wins VARCHAR, draws VARCHAR, mininera_dfl VARCHAR)",
"instruction": "WHAT ARE THE BYES WITH A DRAWS OF 1, SMW ROVERS, AND WINS LARGER THAN 6?",
"output": "SELECT AVG(byes) FROM table_name_76 WHERE draws = 1 AND mininera_dfl = \"smw rovers\" AND wins > 6"
} |
### INSTRUCTION
What products are available at store named "Miramichi"?
### INPUT
CREATE TABLE store_product (product_id VARCHAR, store_id VARCHAR); CREATE TABLE store (store_id VARCHAR, store_name VARCHAR); CREATE TABLE product (product VARCHAR, product_id VARCHAR)
### OUTPUT
SELECT t1.product FROM product AS t1 JOIN store_product AS t2 ON t1.product_id = t2.product_id JOIN store AS t3 ON t2.store_id = t3.store_id WHERE t3.store_name = "Miramichi" | {
"input": "CREATE TABLE store_product (product_id VARCHAR, store_id VARCHAR); CREATE TABLE store (store_id VARCHAR, store_name VARCHAR); CREATE TABLE product (product VARCHAR, product_id VARCHAR)",
"instruction": "What products are available at store named \"Miramichi\"?",
"output": "SELECT t1.product FROM product AS t1 JOIN store_product AS t2 ON t1.product_id = t2.product_id JOIN store AS t3 ON t2.store_id = t3.store_id WHERE t3.store_name = \"Miramichi\""
} |
### INSTRUCTION
What is the Birthdate for the person with a height less than 191, and weight of 84 kg?
### INPUT
CREATE TABLE table_name_23 (birthdate VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR)
### OUTPUT
SELECT birthdate FROM table_name_23 WHERE height__cm_ < 191 AND weight__kg_ = 84 | {
"input": "CREATE TABLE table_name_23 (birthdate VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR)",
"instruction": "What is the Birthdate for the person with a height less than 191, and weight of 84 kg?",
"output": "SELECT birthdate FROM table_name_23 WHERE height__cm_ < 191 AND weight__kg_ = 84"
} |
### INSTRUCTION
what is the launched date when the builder is john brown, clydebank?
### INPUT
CREATE TABLE table_name_57 (launched VARCHAR, builder VARCHAR)
### OUTPUT
SELECT launched FROM table_name_57 WHERE builder = "john brown, clydebank" | {
"input": "CREATE TABLE table_name_57 (launched VARCHAR, builder VARCHAR)",
"instruction": "what is the launched date when the builder is john brown, clydebank?",
"output": "SELECT launched FROM table_name_57 WHERE builder = \"john brown, clydebank\""
} |
### INSTRUCTION
What is the first name of the student whose last name starting with the letter S and is taking ACCT-211 class?
### INPUT
CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR, stu_lname VARCHAR)
### OUTPUT
SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code WHERE T3.crs_code = 'ACCT-211' AND T1.stu_lname LIKE 'S%' | {
"input": "CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR, stu_lname VARCHAR)",
"instruction": "What is the first name of the student whose last name starting with the letter S and is taking ACCT-211 class?",
"output": "SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code WHERE T3.crs_code = 'ACCT-211' AND T1.stu_lname LIKE 'S%'"
} |
### INSTRUCTION
What is the round of the pf position player from 1996 and the college/high school/club mississippi state?
### INPUT
CREATE TABLE table_name_37 (round VARCHAR, college_high_school_club VARCHAR, position VARCHAR, year VARCHAR)
### OUTPUT
SELECT round FROM table_name_37 WHERE position = "pf" AND year = 1996 AND college_high_school_club = "mississippi state" | {
"input": "CREATE TABLE table_name_37 (round VARCHAR, college_high_school_club VARCHAR, position VARCHAR, year VARCHAR)",
"instruction": "What is the round of the pf position player from 1996 and the college/high school/club mississippi state?",
"output": "SELECT round FROM table_name_37 WHERE position = \"pf\" AND year = 1996 AND college_high_school_club = \"mississippi state\""
} |
### INSTRUCTION
In the disaster in which 1,000 people were helped, what was the nature of help?
### INPUT
CREATE TABLE table_name_31 (nature_of_help VARCHAR, people_assisted VARCHAR)
### OUTPUT
SELECT nature_of_help FROM table_name_31 WHERE people_assisted = "1,000" | {
"input": "CREATE TABLE table_name_31 (nature_of_help VARCHAR, people_assisted VARCHAR)",
"instruction": "In the disaster in which 1,000 people were helped, what was the nature of help?",
"output": "SELECT nature_of_help FROM table_name_31 WHERE people_assisted = \"1,000\""
} |
### INSTRUCTION
Which name has an overall number of more than 164, when the pick number is more than 2, the position is running back, and the round is 16?
### INPUT
CREATE TABLE table_name_9 (name VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR, pick__number VARCHAR)
### OUTPUT
SELECT name FROM table_name_9 WHERE overall > 164 AND pick__number > 2 AND position = "running back" AND round = 16 | {
"input": "CREATE TABLE table_name_9 (name VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR, pick__number VARCHAR)",
"instruction": "Which name has an overall number of more than 164, when the pick number is more than 2, the position is running back, and the round is 16?",
"output": "SELECT name FROM table_name_9 WHERE overall > 164 AND pick__number > 2 AND position = \"running back\" AND round = 16"
} |
### INSTRUCTION
What is the lowest total from slovenia with a Gold smaller than 0?
### INPUT
CREATE TABLE table_name_79 (total INTEGER, nation VARCHAR, gold VARCHAR)
### OUTPUT
SELECT MIN(total) FROM table_name_79 WHERE nation = "slovenia" AND gold < 0 | {
"input": "CREATE TABLE table_name_79 (total INTEGER, nation VARCHAR, gold VARCHAR)",
"instruction": "What is the lowest total from slovenia with a Gold smaller than 0?",
"output": "SELECT MIN(total) FROM table_name_79 WHERE nation = \"slovenia\" AND gold < 0"
} |
### INSTRUCTION
Operation of find-min has what Fibonacci?
### INPUT
CREATE TABLE table_name_18 (fibonacci VARCHAR, operation VARCHAR)
### OUTPUT
SELECT fibonacci FROM table_name_18 WHERE operation = "find-min" | {
"input": "CREATE TABLE table_name_18 (fibonacci VARCHAR, operation VARCHAR)",
"instruction": "Operation of find-min has what Fibonacci?",
"output": "SELECT fibonacci FROM table_name_18 WHERE operation = \"find-min\""
} |
### INSTRUCTION
Show the locations of parties with hosts older than 50.
### INPUT
CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Host_ID VARCHAR, Age INTEGER)
### OUTPUT
SELECT T3.Location FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID WHERE T2.Age > 50 | {
"input": "CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Host_ID VARCHAR, Age INTEGER)",
"instruction": "Show the locations of parties with hosts older than 50.",
"output": "SELECT T3.Location FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID WHERE T2.Age > 50"
} |
### INSTRUCTION
What is the sum of Wins, when Against is less than 1033, when Golden Rivers is "Nullawil", and when Byes is less than 2?
### INPUT
CREATE TABLE table_name_85 (wins INTEGER, byes VARCHAR, against VARCHAR, golden_rivers VARCHAR)
### OUTPUT
SELECT SUM(wins) FROM table_name_85 WHERE against < 1033 AND golden_rivers = "nullawil" AND byes < 2 | {
"input": "CREATE TABLE table_name_85 (wins INTEGER, byes VARCHAR, against VARCHAR, golden_rivers VARCHAR)",
"instruction": "What is the sum of Wins, when Against is less than 1033, when Golden Rivers is \"Nullawil\", and when Byes is less than 2?",
"output": "SELECT SUM(wins) FROM table_name_85 WHERE against < 1033 AND golden_rivers = \"nullawil\" AND byes < 2"
} |
### INSTRUCTION
Show names for all aircrafts of which John Williams has certificates.
### INPUT
CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Employee (eid VARCHAR, name VARCHAR); CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR)
### OUTPUT
SELECT T3.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T1.name = "John Williams" | {
"input": "CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Employee (eid VARCHAR, name VARCHAR); CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR)",
"instruction": "Show names for all aircrafts of which John Williams has certificates.",
"output": "SELECT T3.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T1.name = \"John Williams\""
} |
### INSTRUCTION
Participation as of actor, film editor has what average year?
### INPUT
CREATE TABLE table_name_11 (year INTEGER, participation_as VARCHAR)
### OUTPUT
SELECT AVG(year) FROM table_name_11 WHERE participation_as = "actor, film editor" | {
"input": "CREATE TABLE table_name_11 (year INTEGER, participation_as VARCHAR)",
"instruction": "Participation as of actor, film editor has what average year?",
"output": "SELECT AVG(year) FROM table_name_11 WHERE participation_as = \"actor, film editor\""
} |
### INSTRUCTION
What was the report for the Sunday race where the winner had an average speed of 128.27 mph?
### INPUT
CREATE TABLE table_22298383_1 (report VARCHAR, day VARCHAR, average_speed__mph_ VARCHAR)
### OUTPUT
SELECT report FROM table_22298383_1 WHERE day = "Sunday" AND average_speed__mph_ = "128.27" | {
"input": "CREATE TABLE table_22298383_1 (report VARCHAR, day VARCHAR, average_speed__mph_ VARCHAR)",
"instruction": "What was the report for the Sunday race where the winner had an average speed of 128.27 mph?",
"output": "SELECT report FROM table_22298383_1 WHERE day = \"Sunday\" AND average_speed__mph_ = \"128.27\""
} |
### INSTRUCTION
What is the lyric fm for rnag 93.2?
### INPUT
CREATE TABLE table_18475946_2 (lyric_fm__mhz_ VARCHAR, rnag__mhz_ VARCHAR)
### OUTPUT
SELECT lyric_fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = "93.2" | {
"input": "CREATE TABLE table_18475946_2 (lyric_fm__mhz_ VARCHAR, rnag__mhz_ VARCHAR)",
"instruction": "What is the lyric fm for rnag 93.2?",
"output": "SELECT lyric_fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = \"93.2\""
} |
### INSTRUCTION
What was the launch date for the sattelite with ado that was 4 kg and 3 meters in diameter?
### INPUT
CREATE TABLE table_2150068_1 (launch_date__utc_ VARCHAR, diameter_m_ VARCHAR, usage VARCHAR, mass_kg_ VARCHAR)
### OUTPUT
SELECT launch_date__utc_ FROM table_2150068_1 WHERE usage = "ado" AND mass_kg_ = "4" AND diameter_m_ = "3" | {
"input": "CREATE TABLE table_2150068_1 (launch_date__utc_ VARCHAR, diameter_m_ VARCHAR, usage VARCHAR, mass_kg_ VARCHAR)",
"instruction": "What was the launch date for the sattelite with ado that was 4 kg and 3 meters in diameter?",
"output": "SELECT launch_date__utc_ FROM table_2150068_1 WHERE usage = \"ado\" AND mass_kg_ = \"4\" AND diameter_m_ = \"3\""
} |
### INSTRUCTION
Which nationality do the Montreal Canadiens belong to with a pick# of 25?
### INPUT
CREATE TABLE table_name_55 (nationality VARCHAR, nhl_team VARCHAR, pick__number VARCHAR)
### OUTPUT
SELECT nationality FROM table_name_55 WHERE nhl_team = "montreal canadiens" AND pick__number = "25" | {
"input": "CREATE TABLE table_name_55 (nationality VARCHAR, nhl_team VARCHAR, pick__number VARCHAR)",
"instruction": "Which nationality do the Montreal Canadiens belong to with a pick# of 25?",
"output": "SELECT nationality FROM table_name_55 WHERE nhl_team = \"montreal canadiens\" AND pick__number = \"25\""
} |
### INSTRUCTION
What is the minimum stage where Sergei Smetanine won?
### INPUT
CREATE TABLE table_15088557_1 (stage INTEGER, winner VARCHAR)
### OUTPUT
SELECT MIN(stage) FROM table_15088557_1 WHERE winner = "Sergei Smetanine" | {
"input": "CREATE TABLE table_15088557_1 (stage INTEGER, winner VARCHAR)",
"instruction": "What is the minimum stage where Sergei Smetanine won?",
"output": "SELECT MIN(stage) FROM table_15088557_1 WHERE winner = \"Sergei Smetanine\""
} |
### INSTRUCTION
How many rushing yards are listed when the passing yards are 244?
### INPUT
CREATE TABLE table_28697228_4 (rushing_yards VARCHAR, passing_yards VARCHAR)
### OUTPUT
SELECT rushing_yards FROM table_28697228_4 WHERE passing_yards = 244 | {
"input": "CREATE TABLE table_28697228_4 (rushing_yards VARCHAR, passing_yards VARCHAR)",
"instruction": "How many rushing yards are listed when the passing yards are 244?",
"output": "SELECT rushing_yards FROM table_28697228_4 WHERE passing_yards = 244"
} |
### INSTRUCTION
what are all the percent (1990) where state is united states
### INPUT
CREATE TABLE table_1182314_5 (percent__1990_ VARCHAR, state VARCHAR)
### OUTPUT
SELECT percent__1990_ FROM table_1182314_5 WHERE state = "United states" | {
"input": "CREATE TABLE table_1182314_5 (percent__1990_ VARCHAR, state VARCHAR)",
"instruction": "what are all the percent (1990) where state is united states",
"output": "SELECT percent__1990_ FROM table_1182314_5 WHERE state = \"United states\""
} |
### INSTRUCTION
What is Position, when Year is less than 2000, and when Player is "Radek Dvorak Category:Articles with hCards"?
### INPUT
CREATE TABLE table_name_81 (position VARCHAR, year VARCHAR, player VARCHAR)
### OUTPUT
SELECT position FROM table_name_81 WHERE year < 2000 AND player = "radek dvorak category:articles with hcards" | {
"input": "CREATE TABLE table_name_81 (position VARCHAR, year VARCHAR, player VARCHAR)",
"instruction": "What is Position, when Year is less than 2000, and when Player is \"Radek Dvorak Category:Articles with hCards\"?",
"output": "SELECT position FROM table_name_81 WHERE year < 2000 AND player = \"radek dvorak category:articles with hcards\""
} |
### INSTRUCTION
What was the population of сурдук in 2011?
### INPUT
CREATE TABLE table_2562572_53 (population__2011_ VARCHAR, cyrillic_name VARCHAR)
### OUTPUT
SELECT COUNT(population__2011_) FROM table_2562572_53 WHERE cyrillic_name = "Сурдук" | {
"input": "CREATE TABLE table_2562572_53 (population__2011_ VARCHAR, cyrillic_name VARCHAR)",
"instruction": "What was the population of сурдук in 2011?",
"output": "SELECT COUNT(population__2011_) FROM table_2562572_53 WHERE cyrillic_name = \"Сурдук\""
} |
### INSTRUCTION
How long is the total lesson time took by customer with first name as Rylan and last name as Goodwin?
### INPUT
CREATE TABLE Lessons (lesson_time INTEGER, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
### OUTPUT
SELECT SUM(T1.lesson_time) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Rylan" AND T2.last_name = "Goodwin" | {
"input": "CREATE TABLE Lessons (lesson_time INTEGER, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR)",
"instruction": "How long is the total lesson time took by customer with first name as Rylan and last name as Goodwin?",
"output": "SELECT SUM(T1.lesson_time) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = \"Rylan\" AND T2.last_name = \"Goodwin\""
} |
### INSTRUCTION
While the original 1st us tour cast included nicci claspell, who was in the original tokyo/seoul tour cast?
### INPUT
CREATE TABLE table_24353141_1 (original_tokyo___seoul_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR)
### OUTPUT
SELECT original_tokyo___seoul_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Nicci Claspell" | {
"input": "CREATE TABLE table_24353141_1 (original_tokyo___seoul_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR)",
"instruction": "While the original 1st us tour cast included nicci claspell, who was in the original tokyo/seoul tour cast?",
"output": "SELECT original_tokyo___seoul_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = \"Nicci Claspell\""
} |
### INSTRUCTION
What year did team Yamaha have 0 wins, a rank of 8th, and more than 22 points?
### INPUT
CREATE TABLE table_name_96 (year VARCHAR, points VARCHAR, rank VARCHAR, team VARCHAR, wins VARCHAR)
### OUTPUT
SELECT COUNT(year) FROM table_name_96 WHERE team = "yamaha" AND wins = 0 AND rank = "8th" AND points > 22 | {
"input": "CREATE TABLE table_name_96 (year VARCHAR, points VARCHAR, rank VARCHAR, team VARCHAR, wins VARCHAR)",
"instruction": "What year did team Yamaha have 0 wins, a rank of 8th, and more than 22 points?",
"output": "SELECT COUNT(year) FROM table_name_96 WHERE team = \"yamaha\" AND wins = 0 AND rank = \"8th\" AND points > 22"
} |
### INSTRUCTION
What are the name and payment method of customers who have both mailshots in 'Order' outcome and mailshots in 'No Response' outcome.
### INPUT
CREATE TABLE customers (customer_name VARCHAR, payment_method VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR, outcome_code VARCHAR)
### OUTPUT
SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'Order' INTERSECT SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'No Response' | {
"input": "CREATE TABLE customers (customer_name VARCHAR, payment_method VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR, outcome_code VARCHAR)",
"instruction": "What are the name and payment method of customers who have both mailshots in 'Order' outcome and mailshots in 'No Response' outcome.",
"output": "SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'Order' INTERSECT SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'No Response'"
} |
### INSTRUCTION
Which Senior status has a Chief Judge of —, a Reason for termination of death, and Active service of 1967–1983?
### INPUT
CREATE TABLE table_name_18 (senior_status VARCHAR, active_service VARCHAR, chief_judge VARCHAR, reason_for_termination VARCHAR)
### OUTPUT
SELECT senior_status FROM table_name_18 WHERE chief_judge = "—" AND reason_for_termination = "death" AND active_service = "1967–1983" | {
"input": "CREATE TABLE table_name_18 (senior_status VARCHAR, active_service VARCHAR, chief_judge VARCHAR, reason_for_termination VARCHAR)",
"instruction": "Which Senior status has a Chief Judge of —, a Reason for termination of death, and Active service of 1967–1983?",
"output": "SELECT senior_status FROM table_name_18 WHERE chief_judge = \"—\" AND reason_for_termination = \"death\" AND active_service = \"1967–1983\""
} |
### INSTRUCTION
How many were in attendance at Griffith Stadium with Philadelphia Eagles as an opponent?
### INPUT
CREATE TABLE table_name_78 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR)
### OUTPUT
SELECT attendance FROM table_name_78 WHERE game_site = "griffith stadium" AND opponent = "philadelphia eagles" | {
"input": "CREATE TABLE table_name_78 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR)",
"instruction": "How many were in attendance at Griffith Stadium with Philadelphia Eagles as an opponent?",
"output": "SELECT attendance FROM table_name_78 WHERE game_site = \"griffith stadium\" AND opponent = \"philadelphia eagles\""
} |
### INSTRUCTION
Which country won in 1988?
### INPUT
CREATE TABLE table_name_19 (country VARCHAR, year_s__won VARCHAR)
### OUTPUT
SELECT country FROM table_name_19 WHERE year_s__won = "1988" | {
"input": "CREATE TABLE table_name_19 (country VARCHAR, year_s__won VARCHAR)",
"instruction": "Which country won in 1988?",
"output": "SELECT country FROM table_name_19 WHERE year_s__won = \"1988\""
} |
### INSTRUCTION
Find the male friend of Alice whose job is a doctor?
### INPUT
CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR, job VARCHAR, gender VARCHAR)
### OUTPUT
SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Alice' AND T1.gender = 'male' AND T1.job = 'doctor' | {
"input": "CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR, job VARCHAR, gender VARCHAR)",
"instruction": "Find the male friend of Alice whose job is a doctor?",
"output": "SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Alice' AND T1.gender = 'male' AND T1.job = 'doctor'"
} |
### INSTRUCTION
What are the names and descriptions of the photos taken at the tourist attraction "film festival"?
### INPUT
CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, Name VARCHAR); CREATE TABLE PHOTOS (Name VARCHAR, Description VARCHAR, Tourist_Attraction_ID VARCHAR)
### OUTPUT
SELECT T1.Name, T1.Description FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T2.Name = "film festival" | {
"input": "CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, Name VARCHAR); CREATE TABLE PHOTOS (Name VARCHAR, Description VARCHAR, Tourist_Attraction_ID VARCHAR)",
"instruction": "What are the names and descriptions of the photos taken at the tourist attraction \"film festival\"?",
"output": "SELECT T1.Name, T1.Description FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T2.Name = \"film festival\""
} |
### INSTRUCTION
What is the total surface area of the continents Asia and Europe?
### INPUT
CREATE TABLE country (SurfaceArea INTEGER, Continent VARCHAR)
### OUTPUT
SELECT SUM(SurfaceArea) FROM country WHERE Continent = "Asia" OR Continent = "Europe" | {
"input": "CREATE TABLE country (SurfaceArea INTEGER, Continent VARCHAR)",
"instruction": "What is the total surface area of the continents Asia and Europe?",
"output": "SELECT SUM(SurfaceArea) FROM country WHERE Continent = \"Asia\" OR Continent = \"Europe\""
} |
### INSTRUCTION
What is the average of points for 8th place with draw more than 8?
### INPUT
CREATE TABLE table_name_55 (points INTEGER, place VARCHAR, draw VARCHAR)
### OUTPUT
SELECT AVG(points) FROM table_name_55 WHERE place = "8th" AND draw > 8 | {
"input": "CREATE TABLE table_name_55 (points INTEGER, place VARCHAR, draw VARCHAR)",
"instruction": "What is the average of points for 8th place with draw more than 8?",
"output": "SELECT AVG(points) FROM table_name_55 WHERE place = \"8th\" AND draw > 8"
} |
### INSTRUCTION
What is the smoke point when the polyunsaturated fat is 69g (4g in high oleic variety)?
### INPUT
CREATE TABLE table_name_24 (smoke_point VARCHAR, polyunsaturated_fat VARCHAR)
### OUTPUT
SELECT smoke_point FROM table_name_24 WHERE polyunsaturated_fat = "69g (4g in high oleic variety)" | {
"input": "CREATE TABLE table_name_24 (smoke_point VARCHAR, polyunsaturated_fat VARCHAR)",
"instruction": "What is the smoke point when the polyunsaturated fat is 69g (4g in high oleic variety)?",
"output": "SELECT smoke_point FROM table_name_24 WHERE polyunsaturated_fat = \"69g (4g in high oleic variety)\""
} |
### INSTRUCTION
Which Run 4 has a Country of united states, and an Athlete of bree schaaf emily azevedo, and a Run 3 smaller than 58.04?
### INPUT
CREATE TABLE table_name_78 (run_4 INTEGER, run_3 VARCHAR, country VARCHAR, athlete VARCHAR)
### OUTPUT
SELECT SUM(run_4) FROM table_name_78 WHERE country = "united states" AND athlete = "bree schaaf emily azevedo" AND run_3 < 58.04 | {
"input": "CREATE TABLE table_name_78 (run_4 INTEGER, run_3 VARCHAR, country VARCHAR, athlete VARCHAR)",
"instruction": "Which Run 4 has a Country of united states, and an Athlete of bree schaaf emily azevedo, and a Run 3 smaller than 58.04?",
"output": "SELECT SUM(run_4) FROM table_name_78 WHERE country = \"united states\" AND athlete = \"bree schaaf emily azevedo\" AND run_3 < 58.04"
} |
### INSTRUCTION
find the location and Representative name of the gas stations owned by the companies with top 3 Asset amounts.
### INPUT
CREATE TABLE gas_station (location VARCHAR, Representative_Name VARCHAR, station_id VARCHAR); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, Assets_billion VARCHAR)
### OUTPUT
SELECT T3.location, T3.Representative_Name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id ORDER BY T2.Assets_billion DESC LIMIT 3 | {
"input": "CREATE TABLE gas_station (location VARCHAR, Representative_Name VARCHAR, station_id VARCHAR); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, Assets_billion VARCHAR)",
"instruction": "find the location and Representative name of the gas stations owned by the companies with top 3 Asset amounts.",
"output": "SELECT T3.location, T3.Representative_Name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id ORDER BY T2.Assets_billion DESC LIMIT 3"
} |
### INSTRUCTION
what is the gpu model when the frequency is 3.4 ghz and the sspec number is sr00b(d2)?
### INPUT
CREATE TABLE table_name_8 (gpu_model VARCHAR, frequency VARCHAR, sspec_number VARCHAR)
### OUTPUT
SELECT gpu_model FROM table_name_8 WHERE frequency = "3.4 ghz" AND sspec_number = "sr00b(d2)" | {
"input": "CREATE TABLE table_name_8 (gpu_model VARCHAR, frequency VARCHAR, sspec_number VARCHAR)",
"instruction": "what is the gpu model when the frequency is 3.4 ghz and the sspec number is sr00b(d2)?",
"output": "SELECT gpu_model FROM table_name_8 WHERE frequency = \"3.4 ghz\" AND sspec_number = \"sr00b(d2)\""
} |
### INSTRUCTION
Which Format has a Label of eagle records, and a Catalogue number(s) of edgcd391?
### INPUT
CREATE TABLE table_name_23 (format VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR)
### OUTPUT
SELECT format FROM table_name_23 WHERE label = "eagle records" AND catalogue_number_s_ = "edgcd391" | {
"input": "CREATE TABLE table_name_23 (format VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR)",
"instruction": "Which Format has a Label of eagle records, and a Catalogue number(s) of edgcd391?",
"output": "SELECT format FROM table_name_23 WHERE label = \"eagle records\" AND catalogue_number_s_ = \"edgcd391\""
} |
### INSTRUCTION
What is the to par of United States' Cristie Kerr?
### INPUT
CREATE TABLE table_name_66 (to_par VARCHAR, country VARCHAR, player VARCHAR)
### OUTPUT
SELECT to_par FROM table_name_66 WHERE country = "united states" AND player = "cristie kerr" | {
"input": "CREATE TABLE table_name_66 (to_par VARCHAR, country VARCHAR, player VARCHAR)",
"instruction": "What is the to par of United States' Cristie Kerr?",
"output": "SELECT to_par FROM table_name_66 WHERE country = \"united states\" AND player = \"cristie kerr\""
} |
### INSTRUCTION
What is the memory when release date is January 2010 and socket is BGA-1288?
### INPUT
CREATE TABLE table_name_13 (memory VARCHAR, release_date VARCHAR, socket VARCHAR)
### OUTPUT
SELECT memory FROM table_name_13 WHERE release_date = "january 2010" AND socket = "bga-1288" | {
"input": "CREATE TABLE table_name_13 (memory VARCHAR, release_date VARCHAR, socket VARCHAR)",
"instruction": "What is the memory when release date is January 2010 and socket is BGA-1288?",
"output": "SELECT memory FROM table_name_13 WHERE release_date = \"january 2010\" AND socket = \"bga-1288\""
} |
### INSTRUCTION
What are the songs in album "A Kiss Before You Go: Live in Hamburg"?
### INPUT
CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR, title VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR)
### OUTPUT
SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE T1.title = "A Kiss Before You Go: Live in Hamburg" | {
"input": "CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR, title VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR)",
"instruction": "What are the songs in album \"A Kiss Before You Go: Live in Hamburg\"?",
"output": "SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE T1.title = \"A Kiss Before You Go: Live in Hamburg\""
} |
### INSTRUCTION
How many NBA years did the player from the United States who was previously on the los angeles lakers have?
### INPUT
CREATE TABLE table_name_58 (nba_years_ VARCHAR, a_ VARCHAR, nationality VARCHAR, previous_team VARCHAR)
### OUTPUT
SELECT nba_years_[a_] FROM table_name_58 WHERE nationality = "united states" AND previous_team = "los angeles lakers" | {
"input": "CREATE TABLE table_name_58 (nba_years_ VARCHAR, a_ VARCHAR, nationality VARCHAR, previous_team VARCHAR)",
"instruction": "How many NBA years did the player from the United States who was previously on the los angeles lakers have?",
"output": "SELECT nba_years_[a_] FROM table_name_58 WHERE nationality = \"united states\" AND previous_team = \"los angeles lakers\""
} |
### INSTRUCTION
Successes smaller than 6, and Launches larger than 1, and a Failures of 2 is what sum of the partial failures?
### INPUT
CREATE TABLE table_name_35 (partial_failures INTEGER, failures VARCHAR, successes VARCHAR, launches VARCHAR)
### OUTPUT
SELECT SUM(partial_failures) FROM table_name_35 WHERE successes < 6 AND launches > 1 AND failures = 2 | {
"input": "CREATE TABLE table_name_35 (partial_failures INTEGER, failures VARCHAR, successes VARCHAR, launches VARCHAR)",
"instruction": "Successes smaller than 6, and Launches larger than 1, and a Failures of 2 is what sum of the partial failures?",
"output": "SELECT SUM(partial_failures) FROM table_name_35 WHERE successes < 6 AND launches > 1 AND failures = 2"
} |
### INSTRUCTION
What score did the home team of north melbourne get?
### INPUT
CREATE TABLE table_name_59 (home_team VARCHAR)
### OUTPUT
SELECT home_team AS score FROM table_name_59 WHERE home_team = "north melbourne" | {
"input": "CREATE TABLE table_name_59 (home_team VARCHAR)",
"instruction": "What score did the home team of north melbourne get?",
"output": "SELECT home_team AS score FROM table_name_59 WHERE home_team = \"north melbourne\""
} |
### INSTRUCTION
How many points did the Ford V8 with a Tyrrell 007 have?
### INPUT
CREATE TABLE table_name_3 (points VARCHAR, engine VARCHAR, chassis VARCHAR)
### OUTPUT
SELECT points FROM table_name_3 WHERE engine = "ford v8" AND chassis = "tyrrell 007" | {
"input": "CREATE TABLE table_name_3 (points VARCHAR, engine VARCHAR, chassis VARCHAR)",
"instruction": "How many points did the Ford V8 with a Tyrrell 007 have?",
"output": "SELECT points FROM table_name_3 WHERE engine = \"ford v8\" AND chassis = \"tyrrell 007\""
} |
### INSTRUCTION
What is the smallest Year with a Binibining Pilipinas-International of jessie alice salones dixson?
### INPUT
CREATE TABLE table_name_90 (year INTEGER, binibining_pilipinas_international VARCHAR)
### OUTPUT
SELECT MIN(year) FROM table_name_90 WHERE binibining_pilipinas_international = "jessie alice salones dixson" | {
"input": "CREATE TABLE table_name_90 (year INTEGER, binibining_pilipinas_international VARCHAR)",
"instruction": "What is the smallest Year with a Binibining Pilipinas-International of jessie alice salones dixson?",
"output": "SELECT MIN(year) FROM table_name_90 WHERE binibining_pilipinas_international = \"jessie alice salones dixson\""
} |
### INSTRUCTION
What is Player, when Pick is greater than 24, and when NBA years [a ] is "9"?
### INPUT
CREATE TABLE table_name_2 (player VARCHAR, pick VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)
### OUTPUT
SELECT player FROM table_name_2 WHERE pick > 24 AND nba_years_[a_] = "9" | {
"input": "CREATE TABLE table_name_2 (player VARCHAR, pick VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)",
"instruction": "What is Player, when Pick is greater than 24, and when NBA years [a ] is \"9\"?",
"output": "SELECT player FROM table_name_2 WHERE pick > 24 AND nba_years_[a_] = \"9\""
} |
### INSTRUCTION
College of san diego state, and a Pick # smaller than 30 has what lowest overall?
### INPUT
CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR)
### OUTPUT
SELECT MIN(overall) FROM table_name_46 WHERE college = "san diego state" AND pick__number < 30 | {
"input": "CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR)",
"instruction": "College of san diego state, and a Pick # smaller than 30 has what lowest overall?",
"output": "SELECT MIN(overall) FROM table_name_46 WHERE college = \"san diego state\" AND pick__number < 30"
} |
### INSTRUCTION
how many people are there whose weight is higher than 85 for each gender?
### INPUT
CREATE TABLE people (sex VARCHAR, weight INTEGER)
### OUTPUT
SELECT COUNT(*), sex FROM people WHERE weight > 85 GROUP BY sex | {
"input": "CREATE TABLE people (sex VARCHAR, weight INTEGER)",
"instruction": "how many people are there whose weight is higher than 85 for each gender?",
"output": "SELECT COUNT(*), sex FROM people WHERE weight > 85 GROUP BY sex"
} |
### INSTRUCTION
Show the names of people, and dates and venues of debates they are on the affirmative side.
### INPUT
CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE debate (Date VARCHAR, Venue VARCHAR, Debate_ID VARCHAR); CREATE TABLE debate_people (Debate_ID VARCHAR, Affirmative VARCHAR)
### OUTPUT
SELECT T3.Name, T2.Date, T2.Venue FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID | {
"input": "CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE debate (Date VARCHAR, Venue VARCHAR, Debate_ID VARCHAR); CREATE TABLE debate_people (Debate_ID VARCHAR, Affirmative VARCHAR)",
"instruction": "Show the names of people, and dates and venues of debates they are on the affirmative side.",
"output": "SELECT T3.Name, T2.Date, T2.Venue FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID"
} |
### INSTRUCTION
Name the average econ for runs more than 703 and ovrs more than 25.5
### INPUT
CREATE TABLE table_name_2 (econ INTEGER, ovrs VARCHAR, runs VARCHAR)
### OUTPUT
SELECT AVG(econ) FROM table_name_2 WHERE ovrs > 25.5 AND runs > 703 | {
"input": "CREATE TABLE table_name_2 (econ INTEGER, ovrs VARCHAR, runs VARCHAR)",
"instruction": "Name the average econ for runs more than 703 and ovrs more than 25.5",
"output": "SELECT AVG(econ) FROM table_name_2 WHERE ovrs > 25.5 AND runs > 703"
} |
### INSTRUCTION
When james brooks (d) is the vacator what is the date the successor was seated?
### INPUT
CREATE TABLE table_2147588_4 (date_successor_seated VARCHAR, vacator VARCHAR)
### OUTPUT
SELECT date_successor_seated FROM table_2147588_4 WHERE vacator = "James Brooks (D)" | {
"input": "CREATE TABLE table_2147588_4 (date_successor_seated VARCHAR, vacator VARCHAR)",
"instruction": "When james brooks (d) is the vacator what is the date the successor was seated?",
"output": "SELECT date_successor_seated FROM table_2147588_4 WHERE vacator = \"James Brooks (D)\""
} |
### INSTRUCTION
Which player is in round 5?
### INPUT
CREATE TABLE table_11803648_20 (player VARCHAR, round VARCHAR)
### OUTPUT
SELECT player FROM table_11803648_20 WHERE round = 5 | {
"input": "CREATE TABLE table_11803648_20 (player VARCHAR, round VARCHAR)",
"instruction": "Which player is in round 5?",
"output": "SELECT player FROM table_11803648_20 WHERE round = 5"
} |
### INSTRUCTION
For boozer (13) what is the high assists and high rebounds?
### INPUT
CREATE TABLE table_name_41 (high_assists VARCHAR, high_rebounds VARCHAR)
### OUTPUT
SELECT high_assists FROM table_name_41 WHERE high_rebounds = "boozer (13)" | {
"input": "CREATE TABLE table_name_41 (high_assists VARCHAR, high_rebounds VARCHAR)",
"instruction": "For boozer (13) what is the high assists and high rebounds?",
"output": "SELECT high_assists FROM table_name_41 WHERE high_rebounds = \"boozer (13)\""
} |
### INSTRUCTION
What is the place of player sergio garcía, who has £77,500?
### INPUT
CREATE TABLE table_name_45 (place VARCHAR, money___£__ VARCHAR, player VARCHAR)
### OUTPUT
SELECT place FROM table_name_45 WHERE money___£__ = "77,500" AND player = "sergio garcía" | {
"input": "CREATE TABLE table_name_45 (place VARCHAR, money___£__ VARCHAR, player VARCHAR)",
"instruction": "What is the place of player sergio garcía, who has £77,500?",
"output": "SELECT place FROM table_name_45 WHERE money___£__ = \"77,500\" AND player = \"sergio garcía\""
} |
### INSTRUCTION
Name the highest laps for time/retired of engine and grid of 5
### INPUT
CREATE TABLE table_name_37 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
### OUTPUT
SELECT MAX(laps) FROM table_name_37 WHERE time_retired = "engine" AND grid = 5 | {
"input": "CREATE TABLE table_name_37 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)",
"instruction": "Name the highest laps for time/retired of engine and grid of 5",
"output": "SELECT MAX(laps) FROM table_name_37 WHERE time_retired = \"engine\" AND grid = 5"
} |
### INSTRUCTION
How many people attended the game with a kickoff time of cbs 1:00pm, in a week earlier than 8, on September 15, 2002?
### INPUT
CREATE TABLE table_name_56 (attendance VARCHAR, date VARCHAR, kickoff_time VARCHAR, week VARCHAR)
### OUTPUT
SELECT attendance FROM table_name_56 WHERE kickoff_time = "cbs 1:00pm" AND week < 8 AND date = "september 15, 2002" | {
"input": "CREATE TABLE table_name_56 (attendance VARCHAR, date VARCHAR, kickoff_time VARCHAR, week VARCHAR)",
"instruction": "How many people attended the game with a kickoff time of cbs 1:00pm, in a week earlier than 8, on September 15, 2002?",
"output": "SELECT attendance FROM table_name_56 WHERE kickoff_time = \"cbs 1:00pm\" AND week < 8 AND date = \"september 15, 2002\""
} |
### INSTRUCTION
Which Loss has a Last 5 of 4-1, a Streak of w2, and a PA per game smaller than 88.43?
### INPUT
CREATE TABLE table_name_80 (loss INTEGER, pa_per_game VARCHAR, last_5 VARCHAR, streak VARCHAR)
### OUTPUT
SELECT AVG(loss) FROM table_name_80 WHERE last_5 = "4-1" AND streak = "w2" AND pa_per_game < 88.43 | {
"input": "CREATE TABLE table_name_80 (loss INTEGER, pa_per_game VARCHAR, last_5 VARCHAR, streak VARCHAR)",
"instruction": "Which Loss has a Last 5 of 4-1, a Streak of w2, and a PA per game smaller than 88.43?",
"output": "SELECT AVG(loss) FROM table_name_80 WHERE last_5 = \"4-1\" AND streak = \"w2\" AND pa_per_game < 88.43"
} |
### INSTRUCTION
What is the largest number of households with median family income of $52,106 with less than 21,403 in population?
### INPUT
CREATE TABLE table_name_88 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR)
### OUTPUT
SELECT MAX(number_of_households) FROM table_name_88 WHERE median_family_income = "$52,106" AND population < 21 OFFSET 403 | {
"input": "CREATE TABLE table_name_88 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR)",
"instruction": "What is the largest number of households with median family income of $52,106 with less than 21,403 in population?",
"output": "SELECT MAX(number_of_households) FROM table_name_88 WHERE median_family_income = \"$52,106\" AND population < 21 OFFSET 403"
} |
### INSTRUCTION
who is the the mens singles with mens doubles being kaj lindfors kaj osterberg
### INPUT
CREATE TABLE table_13857700_1 (mens_singles VARCHAR, mens_doubles VARCHAR)
### OUTPUT
SELECT mens_singles FROM table_13857700_1 WHERE mens_doubles = "Kaj Lindfors Kaj Osterberg" | {
"input": "CREATE TABLE table_13857700_1 (mens_singles VARCHAR, mens_doubles VARCHAR)",
"instruction": "who is the the mens singles with mens doubles being kaj lindfors kaj osterberg",
"output": "SELECT mens_singles FROM table_13857700_1 WHERE mens_doubles = \"Kaj Lindfors Kaj Osterberg\""
} |
### INSTRUCTION
Name the genre for release-year of first charted record of 1988
### INPUT
CREATE TABLE table_name_98 (genre VARCHAR, release_year_of_first_charted_record VARCHAR)
### OUTPUT
SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988 | {
"input": "CREATE TABLE table_name_98 (genre VARCHAR, release_year_of_first_charted_record VARCHAR)",
"instruction": "Name the genre for release-year of first charted record of 1988",
"output": "SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988"
} |
### INSTRUCTION
What is the first year that Mario Lemieux from Canada won playing center?
### INPUT
CREATE TABLE table_name_21 (year INTEGER, player VARCHAR, country VARCHAR, position VARCHAR)
### OUTPUT
SELECT MIN(year) FROM table_name_21 WHERE country = "canada" AND position = "center" AND player = "mario lemieux" | {
"input": "CREATE TABLE table_name_21 (year INTEGER, player VARCHAR, country VARCHAR, position VARCHAR)",
"instruction": "What is the first year that Mario Lemieux from Canada won playing center?",
"output": "SELECT MIN(year) FROM table_name_21 WHERE country = \"canada\" AND position = \"center\" AND player = \"mario lemieux\""
} |
### INSTRUCTION
What was the air date when the team guest captain was john bishop?
### INPUT
CREATE TABLE table_25816476_2 (air_date VARCHAR, team_guest_captain VARCHAR)
### OUTPUT
SELECT air_date FROM table_25816476_2 WHERE team_guest_captain = "John Bishop" | {
"input": "CREATE TABLE table_25816476_2 (air_date VARCHAR, team_guest_captain VARCHAR)",
"instruction": "What was the air date when the team guest captain was john bishop?",
"output": "SELECT air_date FROM table_25816476_2 WHERE team_guest_captain = \"John Bishop\""
} |
### INSTRUCTION
Show the official names of the cities that have hosted more than one competition.
### INPUT
CREATE TABLE farm_competition (Host_city_ID VARCHAR); CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR)
### OUTPUT
SELECT T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID GROUP BY T2.Host_city_ID HAVING COUNT(*) > 1 | {
"input": "CREATE TABLE farm_competition (Host_city_ID VARCHAR); CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR)",
"instruction": "Show the official names of the cities that have hosted more than one competition.",
"output": "SELECT T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID GROUP BY T2.Host_city_ID HAVING COUNT(*) > 1"
} |
### INSTRUCTION
What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8?
### INPUT
CREATE TABLE table_name_17 (game INTEGER, october VARCHAR, opponent VARCHAR, record VARCHAR)
### OUTPUT
SELECT AVG(game) FROM table_name_17 WHERE opponent = "@ florida panthers" AND record = "0-1-2" AND october > 8 | {
"input": "CREATE TABLE table_name_17 (game INTEGER, october VARCHAR, opponent VARCHAR, record VARCHAR)",
"instruction": "What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8?",
"output": "SELECT AVG(game) FROM table_name_17 WHERE opponent = \"@ florida panthers\" AND record = \"0-1-2\" AND october > 8"
} |
### INSTRUCTION
What is the To par and holds the t8 place of the United States player Tiger Woods?
### INPUT
CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
### OUTPUT
SELECT to_par FROM table_name_62 WHERE country = "united states" AND place = "t8" AND player = "tiger woods" | {
"input": "CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)",
"instruction": "What is the To par and holds the t8 place of the United States player Tiger Woods?",
"output": "SELECT to_par FROM table_name_62 WHERE country = \"united states\" AND place = \"t8\" AND player = \"tiger woods\""
} |
### INSTRUCTION
How many league cups associated with under 10 championships and a total of under 3?
### INPUT
CREATE TABLE table_name_36 (league_cup INTEGER, championship VARCHAR, total VARCHAR)
### OUTPUT
SELECT SUM(league_cup) FROM table_name_36 WHERE championship < 10 AND total < 3 | {
"input": "CREATE TABLE table_name_36 (league_cup INTEGER, championship VARCHAR, total VARCHAR)",
"instruction": "How many league cups associated with under 10 championships and a total of under 3?",
"output": "SELECT SUM(league_cup) FROM table_name_36 WHERE championship < 10 AND total < 3"
} |
### INSTRUCTION
Which river had 26 points?
### INPUT
CREATE TABLE table_name_72 (driver VARCHAR, points VARCHAR)
### OUTPUT
SELECT driver FROM table_name_72 WHERE points = 26 | {
"input": "CREATE TABLE table_name_72 (driver VARCHAR, points VARCHAR)",
"instruction": "Which river had 26 points?",
"output": "SELECT driver FROM table_name_72 WHERE points = 26"
} |