text
stringlengths 147
1.06k
| source
dict |
---|---|
### INSTRUCTION
What To par has a Place of t10, and a Score of 67-73=140?
### INPUT
CREATE TABLE table_name_74 (to_par VARCHAR, place VARCHAR, score VARCHAR)
### OUTPUT
SELECT to_par FROM table_name_74 WHERE place = "t10" AND score = 67 - 73 = 140 | {
"input": "CREATE TABLE table_name_74 (to_par VARCHAR, place VARCHAR, score VARCHAR)",
"instruction": "What To par has a Place of t10, and a Score of 67-73=140?",
"output": "SELECT to_par FROM table_name_74 WHERE place = \"t10\" AND score = 67 - 73 = 140"
} |
### INSTRUCTION
What is the difference related to 2 losses and fewer than 10 points?
### INPUT
CREATE TABLE table_name_51 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)
### OUTPUT
SELECT points_difference FROM table_name_51 WHERE lost = 2 AND points < 10 | {
"input": "CREATE TABLE table_name_51 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)",
"instruction": "What is the difference related to 2 losses and fewer than 10 points?",
"output": "SELECT points_difference FROM table_name_51 WHERE lost = 2 AND points < 10"
} |
### INSTRUCTION
What is Type, when Number of Bearers 2008 is greater than 12.376, when Rank is greater than 3, and when Etymology is Son of Jens?
### INPUT
CREATE TABLE table_name_68 (type VARCHAR, etymology VARCHAR, number_of_bearers_2008 VARCHAR, rank VARCHAR)
### OUTPUT
SELECT type FROM table_name_68 WHERE number_of_bearers_2008 > 12.376 AND rank > 3 AND etymology = "son of jens" | {
"input": "CREATE TABLE table_name_68 (type VARCHAR, etymology VARCHAR, number_of_bearers_2008 VARCHAR, rank VARCHAR)",
"instruction": "What is Type, when Number of Bearers 2008 is greater than 12.376, when Rank is greater than 3, and when Etymology is Son of Jens?",
"output": "SELECT type FROM table_name_68 WHERE number_of_bearers_2008 > 12.376 AND rank > 3 AND etymology = \"son of jens\""
} |
### INSTRUCTION
What is the name of the free transfer fee with a transfer status and an ENG country?
### INPUT
CREATE TABLE table_name_31 (name VARCHAR, country VARCHAR, transfer_fee VARCHAR, status VARCHAR)
### OUTPUT
SELECT name FROM table_name_31 WHERE transfer_fee = "free" AND status = "transfer" AND country = "eng" | {
"input": "CREATE TABLE table_name_31 (name VARCHAR, country VARCHAR, transfer_fee VARCHAR, status VARCHAR)",
"instruction": "What is the name of the free transfer fee with a transfer status and an ENG country?",
"output": "SELECT name FROM table_name_31 WHERE transfer_fee = \"free\" AND status = \"transfer\" AND country = \"eng\""
} |
### INSTRUCTION
List the number of ramsan-720 hard drives?
### INPUT
CREATE TABLE table_27615520_1 (storage_medium VARCHAR, product_name VARCHAR)
### OUTPUT
SELECT COUNT(storage_medium) FROM table_27615520_1 WHERE product_name = "RamSan-720" | {
"input": "CREATE TABLE table_27615520_1 (storage_medium VARCHAR, product_name VARCHAR)",
"instruction": "List the number of ramsan-720 hard drives?",
"output": "SELECT COUNT(storage_medium) FROM table_27615520_1 WHERE product_name = \"RamSan-720\""
} |
### INSTRUCTION
Who were the winning riders of the championship in Euer Valley, CA and whose horse was Magic Sirocco?
### INPUT
CREATE TABLE table_27833186_1 (rider_names VARCHAR, location VARCHAR, horse_name VARCHAR)
### OUTPUT
SELECT rider_names FROM table_27833186_1 WHERE location = "Euer Valley, CA" AND horse_name = "Magic Sirocco" | {
"input": "CREATE TABLE table_27833186_1 (rider_names VARCHAR, location VARCHAR, horse_name VARCHAR)",
"instruction": "Who were the winning riders of the championship in Euer Valley, CA and whose horse was Magic Sirocco?",
"output": "SELECT rider_names FROM table_27833186_1 WHERE location = \"Euer Valley, CA\" AND horse_name = \"Magic Sirocco\""
} |
### INSTRUCTION
What is the id, forname and surname of the driver who had the first position in terms of laptime at least twice?
### INPUT
CREATE TABLE drivers (driverid VARCHAR, forename VARCHAR, surname VARCHAR); CREATE TABLE laptimes (driverid VARCHAR)
### OUTPUT
SELECT T1.driverid, T1.forename, T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE POSITION = '1' GROUP BY T1.driverid HAVING COUNT(*) >= 2 | {
"input": "CREATE TABLE drivers (driverid VARCHAR, forename VARCHAR, surname VARCHAR); CREATE TABLE laptimes (driverid VARCHAR)",
"instruction": "What is the id, forname and surname of the driver who had the first position in terms of laptime at least twice?",
"output": "SELECT T1.driverid, T1.forename, T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE POSITION = '1' GROUP BY T1.driverid HAVING COUNT(*) >= 2"
} |
### INSTRUCTION
What was the class when adt champion racing ranked 1st with an audi r8 chassis, and less than 206 points?
### INPUT
CREATE TABLE table_name_2 (class VARCHAR, rank VARCHAR, entrant VARCHAR, points VARCHAR, chassis VARCHAR)
### OUTPUT
SELECT class FROM table_name_2 WHERE points < 206 AND chassis = "audi r8" AND entrant = "adt champion racing" AND rank = "1st" | {
"input": "CREATE TABLE table_name_2 (class VARCHAR, rank VARCHAR, entrant VARCHAR, points VARCHAR, chassis VARCHAR)",
"instruction": "What was the class when adt champion racing ranked 1st with an audi r8 chassis, and less than 206 points?",
"output": "SELECT class FROM table_name_2 WHERE points < 206 AND chassis = \"audi r8\" AND entrant = \"adt champion racing\" AND rank = \"1st\""
} |
### INSTRUCTION
What was the comment on the Denali area?
### INPUT
CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR)
### OUTPUT
SELECT comment FROM table_17978052_2 WHERE borough_or_census_area = "Denali" | {
"input": "CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR)",
"instruction": "What was the comment on the Denali area?",
"output": "SELECT comment FROM table_17978052_2 WHERE borough_or_census_area = \"Denali\""
} |
### INSTRUCTION
Who was the successor that was formally installed on March 30, 1870?
### INPUT
CREATE TABLE table_2417345_3 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)
### OUTPUT
SELECT successor FROM table_2417345_3 WHERE date_of_successors_formal_installation = "March 30, 1870" | {
"input": "CREATE TABLE table_2417345_3 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)",
"instruction": "Who was the successor that was formally installed on March 30, 1870?",
"output": "SELECT successor FROM table_2417345_3 WHERE date_of_successors_formal_installation = \"March 30, 1870\""
} |
### INSTRUCTION
Which gender has an Authority of state, Years of 1–8, and a Decile smaller than 10, and a Roll of 36?
### INPUT
CREATE TABLE table_name_76 (gender VARCHAR, roll VARCHAR, decile VARCHAR, authority VARCHAR, years VARCHAR)
### OUTPUT
SELECT gender FROM table_name_76 WHERE authority = "state" AND years = "1–8" AND decile < 10 AND roll = 36 | {
"input": "CREATE TABLE table_name_76 (gender VARCHAR, roll VARCHAR, decile VARCHAR, authority VARCHAR, years VARCHAR)",
"instruction": "Which gender has an Authority of state, Years of 1–8, and a Decile smaller than 10, and a Roll of 36?",
"output": "SELECT gender FROM table_name_76 WHERE authority = \"state\" AND years = \"1–8\" AND decile < 10 AND roll = 36"
} |
### INSTRUCTION
WHAT COLLEGE HAS A ROUND LARGER THAN 9, WITH BUTCH WEBSTER?
### INPUT
CREATE TABLE table_name_74 (college VARCHAR, round VARCHAR, player VARCHAR)
### OUTPUT
SELECT college FROM table_name_74 WHERE round > 9 AND player = "butch webster" | {
"input": "CREATE TABLE table_name_74 (college VARCHAR, round VARCHAR, player VARCHAR)",
"instruction": "WHAT COLLEGE HAS A ROUND LARGER THAN 9, WITH BUTCH WEBSTER?",
"output": "SELECT college FROM table_name_74 WHERE round > 9 AND player = \"butch webster\""
} |
### INSTRUCTION
What are the response received dates for the documents described as 'Regular' or granted with more than 100?
### INPUT
CREATE TABLE Documents (response_received_date VARCHAR, document_type_code VARCHAR, grant_id VARCHAR); CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR); CREATE TABLE Grants (grant_id VARCHAR, grant_amount VARCHAR)
### OUTPUT
SELECT T1.response_received_date FROM Documents AS T1 JOIN Document_Types AS T2 ON T1.document_type_code = T2.document_type_code JOIN Grants AS T3 ON T1.grant_id = T3.grant_id WHERE T2.document_description = 'Regular' OR T3.grant_amount > 100 | {
"input": "CREATE TABLE Documents (response_received_date VARCHAR, document_type_code VARCHAR, grant_id VARCHAR); CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR); CREATE TABLE Grants (grant_id VARCHAR, grant_amount VARCHAR)",
"instruction": "What are the response received dates for the documents described as 'Regular' or granted with more than 100?",
"output": "SELECT T1.response_received_date FROM Documents AS T1 JOIN Document_Types AS T2 ON T1.document_type_code = T2.document_type_code JOIN Grants AS T3 ON T1.grant_id = T3.grant_id WHERE T2.document_description = 'Regular' OR T3.grant_amount > 100"
} |
### INSTRUCTION
Which lane ranked less than 4 for the Netherlands?
### INPUT
CREATE TABLE table_name_4 (lane VARCHAR, rank VARCHAR, nationality VARCHAR)
### OUTPUT
SELECT lane FROM table_name_4 WHERE rank < 4 AND nationality = "netherlands" | {
"input": "CREATE TABLE table_name_4 (lane VARCHAR, rank VARCHAR, nationality VARCHAR)",
"instruction": "Which lane ranked less than 4 for the Netherlands?",
"output": "SELECT lane FROM table_name_4 WHERE rank < 4 AND nationality = \"netherlands\""
} |
### INSTRUCTION
What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10?
### INPUT
CREATE TABLE table_name_86 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)
### OUTPUT
SELECT SUM(gold) FROM table_name_86 WHERE silver = 1 AND bronze < 2 AND total = 1 AND rank < 10 | {
"input": "CREATE TABLE table_name_86 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)",
"instruction": "What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10?",
"output": "SELECT SUM(gold) FROM table_name_86 WHERE silver = 1 AND bronze < 2 AND total = 1 AND rank < 10"
} |
### INSTRUCTION
What is the title and credits of the course that is taught in the largest classroom (with the highest capacity)?
### INPUT
CREATE TABLE SECTION (course_id VARCHAR, building VARCHAR, room_number VARCHAR); CREATE TABLE course (title VARCHAR, credits VARCHAR, course_id VARCHAR); CREATE TABLE classroom (capacity INTEGER, building VARCHAR, room_number VARCHAR); CREATE TABLE classroom (capacity INTEGER)
### OUTPUT
SELECT T3.title, T3.credits FROM classroom AS T1 JOIN SECTION AS T2 ON T1.building = T2.building AND T1.room_number = T2.room_number JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T1.capacity = (SELECT MAX(capacity) FROM classroom) | {
"input": "CREATE TABLE SECTION (course_id VARCHAR, building VARCHAR, room_number VARCHAR); CREATE TABLE course (title VARCHAR, credits VARCHAR, course_id VARCHAR); CREATE TABLE classroom (capacity INTEGER, building VARCHAR, room_number VARCHAR); CREATE TABLE classroom (capacity INTEGER)",
"instruction": "What is the title and credits of the course that is taught in the largest classroom (with the highest capacity)?",
"output": "SELECT T3.title, T3.credits FROM classroom AS T1 JOIN SECTION AS T2 ON T1.building = T2.building AND T1.room_number = T2.room_number JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T1.capacity = (SELECT MAX(capacity) FROM classroom)"
} |
### INSTRUCTION
Which game modes have Pinyin of chāojí mǎlìōu shìjiè?
### INPUT
CREATE TABLE table_name_13 (game_modes VARCHAR, pinyin VARCHAR)
### OUTPUT
SELECT game_modes FROM table_name_13 WHERE pinyin = "chāojí mǎlìōu shìjiè" | {
"input": "CREATE TABLE table_name_13 (game_modes VARCHAR, pinyin VARCHAR)",
"instruction": "Which game modes have Pinyin of chāojí mǎlìōu shìjiè?",
"output": "SELECT game_modes FROM table_name_13 WHERE pinyin = \"chāojí mǎlìōu shìjiè\""
} |
### INSTRUCTION
Which category was william ivey long a nominee and nominated in?
### INPUT
CREATE TABLE table_name_55 (category VARCHAR, result VARCHAR, nominee VARCHAR)
### OUTPUT
SELECT category FROM table_name_55 WHERE result = "nominated" AND nominee = "william ivey long" | {
"input": "CREATE TABLE table_name_55 (category VARCHAR, result VARCHAR, nominee VARCHAR)",
"instruction": "Which category was william ivey long a nominee and nominated in?",
"output": "SELECT category FROM table_name_55 WHERE result = \"nominated\" AND nominee = \"william ivey long\""
} |
### INSTRUCTION
What is the most Champ Car wins for any driver with a USAC record of 2?
### INPUT
CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER, usac__1956_1995_ VARCHAR)
### OUTPUT
SELECT MAX(champ_car_world_series__2004_2007_) FROM table_19524523_1 WHERE usac__1956_1995_ = 2 | {
"input": "CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER, usac__1956_1995_ VARCHAR)",
"instruction": "What is the most Champ Car wins for any driver with a USAC record of 2?",
"output": "SELECT MAX(champ_car_world_series__2004_2007_) FROM table_19524523_1 WHERE usac__1956_1995_ = 2"
} |
### INSTRUCTION
Which HAAT has a Channels TV / RF of 31 (psip) 44 (uhf)
### INPUT
CREATE TABLE table_name_17 (haat VARCHAR, channels_tv___rf VARCHAR)
### OUTPUT
SELECT haat FROM table_name_17 WHERE channels_tv___rf = "31 (psip) 44 (uhf)" | {
"input": "CREATE TABLE table_name_17 (haat VARCHAR, channels_tv___rf VARCHAR)",
"instruction": "Which HAAT has a Channels TV / RF of 31 (psip) 44 (uhf)",
"output": "SELECT haat FROM table_name_17 WHERE channels_tv___rf = \"31 (psip) 44 (uhf)\""
} |
### INSTRUCTION
What was the guernsey record set with a fish caught at Bordeaux Harbour?
### INPUT
CREATE TABLE table_name_80 (guernsey_record VARCHAR, location VARCHAR)
### OUTPUT
SELECT guernsey_record FROM table_name_80 WHERE location = "bordeaux harbour" | {
"input": "CREATE TABLE table_name_80 (guernsey_record VARCHAR, location VARCHAR)",
"instruction": "What was the guernsey record set with a fish caught at Bordeaux Harbour?",
"output": "SELECT guernsey_record FROM table_name_80 WHERE location = \"bordeaux harbour\""
} |
### INSTRUCTION
What is the maximum L3 cache of the processor whose speed is 2.00 GHZ, has a QPI speed of 4.8 gt/s, and is model e5504?
### INPUT
CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR)
### OUTPUT
SELECT MAX(l3_cache__mb_) FROM table_269920_17 WHERE qpi_speed__gt_s_ = "4.8" AND speed__ghz_ = "2.00" AND model = "E5504" | {
"input": "CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR)",
"instruction": "What is the maximum L3 cache of the processor whose speed is 2.00 GHZ, has a QPI speed of 4.8 gt/s, and is model e5504?",
"output": "SELECT MAX(l3_cache__mb_) FROM table_269920_17 WHERE qpi_speed__gt_s_ = \"4.8\" AND speed__ghz_ = \"2.00\" AND model = \"E5504\""
} |
### INSTRUCTION
Who was the defensive award winner in February when the rookie award was given to Rhys Duch?
### INPUT
CREATE TABLE table_14132239_3 (defensive VARCHAR, month VARCHAR, rookie VARCHAR)
### OUTPUT
SELECT defensive FROM table_14132239_3 WHERE month = "February" AND rookie = "Rhys Duch" | {
"input": "CREATE TABLE table_14132239_3 (defensive VARCHAR, month VARCHAR, rookie VARCHAR)",
"instruction": "Who was the defensive award winner in February when the rookie award was given to Rhys Duch?",
"output": "SELECT defensive FROM table_14132239_3 WHERE month = \"February\" AND rookie = \"Rhys Duch\""
} |
### INSTRUCTION
Which venue did collingsworth play essendon in when they had the 3rd position on the ladder?
### INPUT
CREATE TABLE table_29033869_3 (venue VARCHAR, opponent VARCHAR, position_on_ladder VARCHAR)
### OUTPUT
SELECT venue FROM table_29033869_3 WHERE opponent = "Essendon" AND position_on_ladder = "3rd" | {
"input": "CREATE TABLE table_29033869_3 (venue VARCHAR, opponent VARCHAR, position_on_ladder VARCHAR)",
"instruction": "Which venue did collingsworth play essendon in when they had the 3rd position on the ladder?",
"output": "SELECT venue FROM table_29033869_3 WHERE opponent = \"Essendon\" AND position_on_ladder = \"3rd\""
} |
### INSTRUCTION
How many picks have charley sanders as the name, with a round greater than 22?
### INPUT
CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, round VARCHAR)
### OUTPUT
SELECT SUM(pick) FROM table_name_78 WHERE name = "charley sanders" AND round > 22 | {
"input": "CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, round VARCHAR)",
"instruction": "How many picks have charley sanders as the name, with a round greater than 22?",
"output": "SELECT SUM(pick) FROM table_name_78 WHERE name = \"charley sanders\" AND round > 22"
} |
### INSTRUCTION
Which position had 5 games played and a record of 1-2-2?
### INPUT
CREATE TABLE table_name_63 (position VARCHAR, games_played VARCHAR, w_l_d VARCHAR)
### OUTPUT
SELECT position FROM table_name_63 WHERE games_played = 5 AND w_l_d = "1-2-2" | {
"input": "CREATE TABLE table_name_63 (position VARCHAR, games_played VARCHAR, w_l_d VARCHAR)",
"instruction": "Which position had 5 games played and a record of 1-2-2?",
"output": "SELECT position FROM table_name_63 WHERE games_played = 5 AND w_l_d = \"1-2-2\""
} |
### INSTRUCTION
What is Series, when Launch Date is 23 February 2013?
### INPUT
CREATE TABLE table_name_16 (series VARCHAR, launch_date VARCHAR)
### OUTPUT
SELECT series FROM table_name_16 WHERE launch_date = "23 february 2013" | {
"input": "CREATE TABLE table_name_16 (series VARCHAR, launch_date VARCHAR)",
"instruction": "What is Series, when Launch Date is 23 February 2013?",
"output": "SELECT series FROM table_name_16 WHERE launch_date = \"23 february 2013\""
} |
### INSTRUCTION
In womens doubles and mens singles, what years did Arvind Bhat or Valiyaveetil Diju Jwala Gutta win?
### INPUT
CREATE TABLE table_12194021_1 (womens_doubles VARCHAR, mens_singles VARCHAR, mixed_doubles VARCHAR)
### OUTPUT
SELECT womens_doubles FROM table_12194021_1 WHERE mens_singles = "Arvind Bhat" AND mixed_doubles = "Valiyaveetil Diju Jwala Gutta" | {
"input": "CREATE TABLE table_12194021_1 (womens_doubles VARCHAR, mens_singles VARCHAR, mixed_doubles VARCHAR)",
"instruction": "In womens doubles and mens singles, what years did Arvind Bhat or Valiyaveetil Diju Jwala Gutta win?",
"output": "SELECT womens_doubles FROM table_12194021_1 WHERE mens_singles = \"Arvind Bhat\" AND mixed_doubles = \"Valiyaveetil Diju Jwala Gutta\""
} |
### INSTRUCTION
When did a Competition of friendly, and a Score of 2–1, and a Venue of philadelphia , pennsylvania occur?
### INPUT
CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR, competition VARCHAR, score VARCHAR)
### OUTPUT
SELECT date FROM table_name_4 WHERE competition = "friendly" AND score = "2–1" AND venue = "philadelphia , pennsylvania" | {
"input": "CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR, competition VARCHAR, score VARCHAR)",
"instruction": "When did a Competition of friendly, and a Score of 2–1, and a Venue of philadelphia , pennsylvania occur?",
"output": "SELECT date FROM table_name_4 WHERE competition = \"friendly\" AND score = \"2–1\" AND venue = \"philadelphia , pennsylvania\""
} |
### INSTRUCTION
What season did the player who had the number 26 play on who came from far eastern?
### INPUT
CREATE TABLE table_name_26 (season VARCHAR, school_club_team VARCHAR, number VARCHAR)
### OUTPUT
SELECT season FROM table_name_26 WHERE school_club_team = "far eastern" AND number = 26 | {
"input": "CREATE TABLE table_name_26 (season VARCHAR, school_club_team VARCHAR, number VARCHAR)",
"instruction": "What season did the player who had the number 26 play on who came from far eastern?",
"output": "SELECT season FROM table_name_26 WHERE school_club_team = \"far eastern\" AND number = 26"
} |
### INSTRUCTION
What the episode count for Ben 10: Alien Force Volume 8 on DVD?
### INPUT
CREATE TABLE table_name_90 (episode_count VARCHAR, dvd_title VARCHAR)
### OUTPUT
SELECT episode_count FROM table_name_90 WHERE dvd_title = "ben 10: alien force volume 8" | {
"input": "CREATE TABLE table_name_90 (episode_count VARCHAR, dvd_title VARCHAR)",
"instruction": "What the episode count for Ben 10: Alien Force Volume 8 on DVD?",
"output": "SELECT episode_count FROM table_name_90 WHERE dvd_title = \"ben 10: alien force volume 8\""
} |
### INSTRUCTION
What is the smallest bronze value for countries with totals over 2, golds of 0, silvers under 1, and ranks over 10?
### INPUT
CREATE TABLE table_name_45 (bronze INTEGER, gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)
### OUTPUT
SELECT MIN(bronze) FROM table_name_45 WHERE total > 2 AND silver < 1 AND rank > 10 AND gold < 0 | {
"input": "CREATE TABLE table_name_45 (bronze INTEGER, gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)",
"instruction": "What is the smallest bronze value for countries with totals over 2, golds of 0, silvers under 1, and ranks over 10?",
"output": "SELECT MIN(bronze) FROM table_name_45 WHERE total > 2 AND silver < 1 AND rank > 10 AND gold < 0"
} |
### INSTRUCTION
What is Position/ Eliminated, when Age¹ is less than 22, and when Full Name is "Muhammad Fairul Azreen Bin Mohd Zahid"?
### INPUT
CREATE TABLE table_name_29 (position__eliminated VARCHAR, age¹ VARCHAR, full_name VARCHAR)
### OUTPUT
SELECT position__eliminated FROM table_name_29 WHERE age¹ < 22 AND full_name = "muhammad fairul azreen bin mohd zahid" | {
"input": "CREATE TABLE table_name_29 (position__eliminated VARCHAR, age¹ VARCHAR, full_name VARCHAR)",
"instruction": "What is Position/ Eliminated, when Age¹ is less than 22, and when Full Name is \"Muhammad Fairul Azreen Bin Mohd Zahid\"?",
"output": "SELECT position__eliminated FROM table_name_29 WHERE age¹ < 22 AND full_name = \"muhammad fairul azreen bin mohd zahid\""
} |
### INSTRUCTION
What is the venue for batting partners Mahela Jayawardene and Prasanna Jayawardene
### INPUT
CREATE TABLE table_1670921_1 (venue VARCHAR, batting_partners VARCHAR)
### OUTPUT
SELECT venue FROM table_1670921_1 WHERE batting_partners = "Mahela Jayawardene and Prasanna Jayawardene" | {
"input": "CREATE TABLE table_1670921_1 (venue VARCHAR, batting_partners VARCHAR)",
"instruction": "What is the venue for batting partners Mahela Jayawardene and Prasanna Jayawardene",
"output": "SELECT venue FROM table_1670921_1 WHERE batting_partners = \"Mahela Jayawardene and Prasanna Jayawardene\""
} |
### INSTRUCTION
What is the assists for the Team of Florida and the total points of 75?
### INPUT
CREATE TABLE table_name_29 (assists VARCHAR, team VARCHAR, total_points VARCHAR)
### OUTPUT
SELECT assists FROM table_name_29 WHERE team = "florida" AND total_points = "75" | {
"input": "CREATE TABLE table_name_29 (assists VARCHAR, team VARCHAR, total_points VARCHAR)",
"instruction": "What is the assists for the Team of Florida and the total points of 75?",
"output": "SELECT assists FROM table_name_29 WHERE team = \"florida\" AND total_points = \"75\""
} |
### INSTRUCTION
COunt the EBIT (US $m) which has a Revenue (US $million) larger than 434.8 and a Net profit (US $m) larger than 96.4?
### INPUT
CREATE TABLE table_name_35 (ebit__us_ VARCHAR, revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)
### OUTPUT
SELECT COUNT(ebit__us_) AS $m_ FROM table_name_35 WHERE revenue__us_$million_ > 434.8 AND net_profit__us_$m_ > 96.4 | {
"input": "CREATE TABLE table_name_35 (ebit__us_ VARCHAR, revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)",
"instruction": "COunt the EBIT (US $m) which has a Revenue (US $million) larger than 434.8 and a Net profit (US $m) larger than 96.4?",
"output": "SELECT COUNT(ebit__us_) AS $m_ FROM table_name_35 WHERE revenue__us_$million_ > 434.8 AND net_profit__us_$m_ > 96.4"
} |
### INSTRUCTION
What is the number of English names that have a Traditional Chinese name of 全椒縣?
### INPUT
CREATE TABLE table_1982739_2 (english_name VARCHAR, traditional_chinese VARCHAR)
### OUTPUT
SELECT COUNT(english_name) FROM table_1982739_2 WHERE traditional_chinese = "全椒縣" | {
"input": "CREATE TABLE table_1982739_2 (english_name VARCHAR, traditional_chinese VARCHAR)",
"instruction": "What is the number of English names that have a Traditional Chinese name of 全椒縣?",
"output": "SELECT COUNT(english_name) FROM table_1982739_2 WHERE traditional_chinese = \"全椒縣\""
} |
### INSTRUCTION
What was the date of the game against Northwestern?
### INPUT
CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR)
### OUTPUT
SELECT date FROM table_name_62 WHERE opponent = "northwestern" | {
"input": "CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR)",
"instruction": "What was the date of the game against Northwestern?",
"output": "SELECT date FROM table_name_62 WHERE opponent = \"northwestern\""
} |
### INSTRUCTION
What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil?
### INPUT
CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)
### OUTPUT
SELECT score FROM table_name_56 WHERE tournament = "rabat" AND opponent_in_the_final = "frederico gil" | {
"input": "CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)",
"instruction": "What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil?",
"output": "SELECT score FROM table_name_56 WHERE tournament = \"rabat\" AND opponent_in_the_final = \"frederico gil\""
} |
### INSTRUCTION
Which money has a Country of united states, and a Place of t6?
### INPUT
CREATE TABLE table_name_23 (money___ INTEGER, country VARCHAR, place VARCHAR)
### OUTPUT
SELECT AVG(money___) AS $__ FROM table_name_23 WHERE country = "united states" AND place = "t6" | {
"input": "CREATE TABLE table_name_23 (money___ INTEGER, country VARCHAR, place VARCHAR)",
"instruction": "Which money has a Country of united states, and a Place of t6?",
"output": "SELECT AVG(money___) AS $__ FROM table_name_23 WHERE country = \"united states\" AND place = \"t6\""
} |
### INSTRUCTION
What is the college/junior/club team (league) of lw position player mark miller, from a round greater than 4?
### INPUT
CREATE TABLE table_name_7 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)
### OUTPUT
SELECT college_junior_club_team__league_ FROM table_name_7 WHERE round > 4 AND position = "lw" AND player = "mark miller" | {
"input": "CREATE TABLE table_name_7 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)",
"instruction": "What is the college/junior/club team (league) of lw position player mark miller, from a round greater than 4?",
"output": "SELECT college_junior_club_team__league_ FROM table_name_7 WHERE round > 4 AND position = \"lw\" AND player = \"mark miller\""
} |
### INSTRUCTION
What's the total points that Scuderia Ferrari with a Ferrari V12 engine have before 1971?
### INPUT
CREATE TABLE table_name_60 (points INTEGER, engine VARCHAR, year VARCHAR, entrant VARCHAR)
### OUTPUT
SELECT SUM(points) FROM table_name_60 WHERE year < 1971 AND entrant = "scuderia ferrari" AND engine = "ferrari v12" | {
"input": "CREATE TABLE table_name_60 (points INTEGER, engine VARCHAR, year VARCHAR, entrant VARCHAR)",
"instruction": "What's the total points that Scuderia Ferrari with a Ferrari V12 engine have before 1971?",
"output": "SELECT SUM(points) FROM table_name_60 WHERE year < 1971 AND entrant = \"scuderia ferrari\" AND engine = \"ferrari v12\""
} |
### INSTRUCTION
What is the total with a 25-19 set 2 on Jun 17?
### INPUT
CREATE TABLE table_name_57 (total VARCHAR, set_2 VARCHAR, date VARCHAR)
### OUTPUT
SELECT total FROM table_name_57 WHERE set_2 = "25-19" AND date = "jun 17" | {
"input": "CREATE TABLE table_name_57 (total VARCHAR, set_2 VARCHAR, date VARCHAR)",
"instruction": "What is the total with a 25-19 set 2 on Jun 17?",
"output": "SELECT total FROM table_name_57 WHERE set_2 = \"25-19\" AND date = \"jun 17\""
} |
### INSTRUCTION
how many teams had an appointment date of 11 april 2011
### INPUT
CREATE TABLE table_27495117_3 (team VARCHAR, date_of_appointment VARCHAR)
### OUTPUT
SELECT COUNT(team) FROM table_27495117_3 WHERE date_of_appointment = "11 April 2011" | {
"input": "CREATE TABLE table_27495117_3 (team VARCHAR, date_of_appointment VARCHAR)",
"instruction": "how many teams had an appointment date of 11 april 2011",
"output": "SELECT COUNT(team) FROM table_27495117_3 WHERE date_of_appointment = \"11 April 2011\""
} |
### INSTRUCTION
What is the total of the team with a T score greater than 8 and an E score less than 8.4?
### INPUT
CREATE TABLE table_name_57 (total INTEGER, t_score VARCHAR, e_score VARCHAR)
### OUTPUT
SELECT SUM(total) FROM table_name_57 WHERE t_score > 8 AND e_score < 8.4 | {
"input": "CREATE TABLE table_name_57 (total INTEGER, t_score VARCHAR, e_score VARCHAR)",
"instruction": "What is the total of the team with a T score greater than 8 and an E score less than 8.4?",
"output": "SELECT SUM(total) FROM table_name_57 WHERE t_score > 8 AND e_score < 8.4"
} |
### INSTRUCTION
Show the locations of parties and the names of the party hosts in ascending order of the age of the host.
### INPUT
CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR, Age VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR)
### OUTPUT
SELECT T3.Location, T2.Name 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 ORDER BY T2.Age | {
"input": "CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR, Age VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR)",
"instruction": "Show the locations of parties and the names of the party hosts in ascending order of the age of the host.",
"output": "SELECT T3.Location, T2.Name 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 ORDER BY T2.Age"
} |
### INSTRUCTION
Which Destination has a Stopping pattern of [2777] mciver station platforms?
### INPUT
CREATE TABLE table_name_47 (destination VARCHAR, stopping_pattern VARCHAR)
### OUTPUT
SELECT destination FROM table_name_47 WHERE stopping_pattern = "[2777] mciver station platforms" | {
"input": "CREATE TABLE table_name_47 (destination VARCHAR, stopping_pattern VARCHAR)",
"instruction": "Which Destination has a Stopping pattern of [2777] mciver station platforms?",
"output": "SELECT destination FROM table_name_47 WHERE stopping_pattern = \"[2777] mciver station platforms\""
} |
### INSTRUCTION
What is the L2 cache with ec number of slbmm(c2)slbsr(k0)?
### INPUT
CREATE TABLE table_name_92 (l2_cache VARCHAR, sspec_number VARCHAR)
### OUTPUT
SELECT l2_cache FROM table_name_92 WHERE sspec_number = "slbmm(c2)slbsr(k0)" | {
"input": "CREATE TABLE table_name_92 (l2_cache VARCHAR, sspec_number VARCHAR)",
"instruction": "What is the L2 cache with ec number of slbmm(c2)slbsr(k0)?",
"output": "SELECT l2_cache FROM table_name_92 WHERE sspec_number = \"slbmm(c2)slbsr(k0)\""
} |
### INSTRUCTION
When did chang myon (장면) leave office?
### INPUT
CREATE TABLE table_name_96 (left_office VARCHAR, romanized__hangul_ VARCHAR)
### OUTPUT
SELECT left_office FROM table_name_96 WHERE romanized__hangul_ = "chang myon (장면)" | {
"input": "CREATE TABLE table_name_96 (left_office VARCHAR, romanized__hangul_ VARCHAR)",
"instruction": "When did chang myon (장면) leave office?",
"output": "SELECT left_office FROM table_name_96 WHERE romanized__hangul_ = \"chang myon (장면)\""
} |
### INSTRUCTION
Show the names of pilots and models of aircrafts they have flied with.
### INPUT
CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE pilot (Pilot_name VARCHAR, Pilot_ID VARCHAR); CREATE TABLE aircraft (Model VARCHAR, Aircraft_ID VARCHAR)
### OUTPUT
SELECT T3.Pilot_name, T2.Model FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID = T3.Pilot_ID | {
"input": "CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE pilot (Pilot_name VARCHAR, Pilot_ID VARCHAR); CREATE TABLE aircraft (Model VARCHAR, Aircraft_ID VARCHAR)",
"instruction": "Show the names of pilots and models of aircrafts they have flied with.",
"output": "SELECT T3.Pilot_name, T2.Model FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID = T3.Pilot_ID"
} |
### INSTRUCTION
What film festival had the Best Male Actor?
### INPUT
CREATE TABLE table_26282750_1 (film_festival VARCHAR, category VARCHAR)
### OUTPUT
SELECT film_festival FROM table_26282750_1 WHERE category = "Best Male Actor" | {
"input": "CREATE TABLE table_26282750_1 (film_festival VARCHAR, category VARCHAR)",
"instruction": "What film festival had the Best Male Actor?",
"output": "SELECT film_festival FROM table_26282750_1 WHERE category = \"Best Male Actor\""
} |
### INSTRUCTION
Name the total number of total for rank of 7 and bronze less than 1
### INPUT
CREATE TABLE table_name_68 (total VARCHAR, rank VARCHAR, bronze VARCHAR)
### OUTPUT
SELECT COUNT(total) FROM table_name_68 WHERE rank = "7" AND bronze < 1 | {
"input": "CREATE TABLE table_name_68 (total VARCHAR, rank VARCHAR, bronze VARCHAR)",
"instruction": "Name the total number of total for rank of 7 and bronze less than 1",
"output": "SELECT COUNT(total) FROM table_name_68 WHERE rank = \"7\" AND bronze < 1"
} |
### INSTRUCTION
Which teams classification winners had a general classification winner of Allan Davis?
### INPUT
CREATE TABLE table_28092844_16 (teams_classification VARCHAR, general_classification_żółta_koszulka VARCHAR)
### OUTPUT
SELECT teams_classification FROM table_28092844_16 WHERE general_classification_żółta_koszulka = "Allan Davis" | {
"input": "CREATE TABLE table_28092844_16 (teams_classification VARCHAR, general_classification_żółta_koszulka VARCHAR)",
"instruction": "Which teams classification winners had a general classification winner of Allan Davis?",
"output": "SELECT teams_classification FROM table_28092844_16 WHERE general_classification_żółta_koszulka = \"Allan Davis\""
} |
### INSTRUCTION
What is the latest number of the guard position from the Wake Forest school team?
### INPUT
CREATE TABLE table_15621965_17 (no INTEGER, position VARCHAR, school_club_team VARCHAR)
### OUTPUT
SELECT MAX(no) FROM table_15621965_17 WHERE position = "Guard" AND school_club_team = "Wake Forest" | {
"input": "CREATE TABLE table_15621965_17 (no INTEGER, position VARCHAR, school_club_team VARCHAR)",
"instruction": "What is the latest number of the guard position from the Wake Forest school team?",
"output": "SELECT MAX(no) FROM table_15621965_17 WHERE position = \"Guard\" AND school_club_team = \"Wake Forest\""
} |
### INSTRUCTION
How many prisons is Joan Leaven connected with?
### INPUT
CREATE TABLE table_2933761_1 (prison_connection VARCHAR, name VARCHAR)
### OUTPUT
SELECT COUNT(prison_connection) FROM table_2933761_1 WHERE name = "Joan Leaven" | {
"input": "CREATE TABLE table_2933761_1 (prison_connection VARCHAR, name VARCHAR)",
"instruction": "How many prisons is Joan Leaven connected with?",
"output": "SELECT COUNT(prison_connection) FROM table_2933761_1 WHERE name = \"Joan Leaven\""
} |
### INSTRUCTION
What is the top goal for the result of 2–3?
### INPUT
CREATE TABLE table_name_39 (goal INTEGER, result VARCHAR)
### OUTPUT
SELECT MAX(goal) FROM table_name_39 WHERE result = "2–3" | {
"input": "CREATE TABLE table_name_39 (goal INTEGER, result VARCHAR)",
"instruction": "What is the top goal for the result of 2–3?",
"output": "SELECT MAX(goal) FROM table_name_39 WHERE result = \"2–3\""
} |
### INSTRUCTION
What is Syracuse, when Utica is Union Springs Shale And Limestone, and when Rochester is Union Springs Shale And Limestone?
### INPUT
CREATE TABLE table_name_20 (syracuse VARCHAR, utica VARCHAR, rochester VARCHAR)
### OUTPUT
SELECT syracuse FROM table_name_20 WHERE utica = "union springs shale and limestone" AND rochester = "union springs shale and limestone" | {
"input": "CREATE TABLE table_name_20 (syracuse VARCHAR, utica VARCHAR, rochester VARCHAR)",
"instruction": "What is Syracuse, when Utica is Union Springs Shale And Limestone, and when Rochester is Union Springs Shale And Limestone?",
"output": "SELECT syracuse FROM table_name_20 WHERE utica = \"union springs shale and limestone\" AND rochester = \"union springs shale and limestone\""
} |
### INSTRUCTION
What was the market share of the operator whose technology is CDMA EVDO GSM EDGE HSPA+?
### INPUT
CREATE TABLE table_23801721_1 (market_share VARCHAR, technology VARCHAR)
### OUTPUT
SELECT market_share FROM table_23801721_1 WHERE technology = "CDMA EVDO GSM EDGE HSPA+" | {
"input": "CREATE TABLE table_23801721_1 (market_share VARCHAR, technology VARCHAR)",
"instruction": "What was the market share of the operator whose technology is CDMA EVDO GSM EDGE HSPA+?",
"output": "SELECT market_share FROM table_23801721_1 WHERE technology = \"CDMA EVDO GSM EDGE HSPA+\""
} |
### INSTRUCTION
What was the earliest week when the New Orleans Saints were the opponents?
### INPUT
CREATE TABLE table_name_31 (week INTEGER, opponent VARCHAR)
### OUTPUT
SELECT MIN(week) FROM table_name_31 WHERE opponent = "new orleans saints" | {
"input": "CREATE TABLE table_name_31 (week INTEGER, opponent VARCHAR)",
"instruction": "What was the earliest week when the New Orleans Saints were the opponents?",
"output": "SELECT MIN(week) FROM table_name_31 WHERE opponent = \"new orleans saints\""
} |
### INSTRUCTION
Who had the most rebounds in the game against Chicago?
### INPUT
CREATE TABLE table_name_52 (high_rebounds VARCHAR, team VARCHAR)
### OUTPUT
SELECT high_rebounds FROM table_name_52 WHERE team = "chicago" | {
"input": "CREATE TABLE table_name_52 (high_rebounds VARCHAR, team VARCHAR)",
"instruction": "Who had the most rebounds in the game against Chicago?",
"output": "SELECT high_rebounds FROM table_name_52 WHERE team = \"chicago\""
} |
### INSTRUCTION
What was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ?
### INPUT
CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, alaska___juneau__ VARCHAR, southeast__atlanta_ VARCHAR)
### OUTPUT
SELECT california__san_francisco_ FROM table_16105186_2 WHERE alaska___juneau__ = "80 g/mi (50 g/km)" AND southeast__atlanta_ = "250 g/mi (155 g/km)" | {
"input": "CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, alaska___juneau__ VARCHAR, southeast__atlanta_ VARCHAR)",
"instruction": "What was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ?",
"output": "SELECT california__san_francisco_ FROM table_16105186_2 WHERE alaska___juneau__ = \"80 g/mi (50 g/km)\" AND southeast__atlanta_ = \"250 g/mi (155 g/km)\""
} |
### INSTRUCTION
What country has a total greater than 270, with sandy lyle as the player?
### INPUT
CREATE TABLE table_name_94 (country VARCHAR, total VARCHAR, player VARCHAR)
### OUTPUT
SELECT country FROM table_name_94 WHERE total > 270 AND player = "sandy lyle" | {
"input": "CREATE TABLE table_name_94 (country VARCHAR, total VARCHAR, player VARCHAR)",
"instruction": "What country has a total greater than 270, with sandy lyle as the player?",
"output": "SELECT country FROM table_name_94 WHERE total > 270 AND player = \"sandy lyle\""
} |
### INSTRUCTION
what is the sum of tonnage when the type of ship is twin screw ro-ro motorship and the date entered service is 11 february 1983?
### INPUT
CREATE TABLE table_name_73 (tonnage INTEGER, type_of_ship VARCHAR, date_entered_service VARCHAR)
### OUTPUT
SELECT SUM(tonnage) FROM table_name_73 WHERE type_of_ship = "twin screw ro-ro motorship" AND date_entered_service = "11 february 1983" | {
"input": "CREATE TABLE table_name_73 (tonnage INTEGER, type_of_ship VARCHAR, date_entered_service VARCHAR)",
"instruction": "what is the sum of tonnage when the type of ship is twin screw ro-ro motorship and the date entered service is 11 february 1983?",
"output": "SELECT SUM(tonnage) FROM table_name_73 WHERE type_of_ship = \"twin screw ro-ro motorship\" AND date_entered_service = \"11 february 1983\""
} |
### INSTRUCTION
display the department name, city, and state province for each department.
### INPUT
CREATE TABLE locations (city VARCHAR, state_province VARCHAR, location_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, location_id VARCHAR)
### OUTPUT
SELECT T1.department_name, T2.city, T2.state_province FROM departments AS T1 JOIN locations AS T2 ON T2.location_id = T1.location_id | {
"input": "CREATE TABLE locations (city VARCHAR, state_province VARCHAR, location_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, location_id VARCHAR)",
"instruction": "display the department name, city, and state province for each department.",
"output": "SELECT T1.department_name, T2.city, T2.state_province FROM departments AS T1 JOIN locations AS T2 ON T2.location_id = T1.location_id"
} |
### INSTRUCTION
For the Entrant of Sasol Jordan, add up all the points with a Year larger than 1993.
### INPUT
CREATE TABLE table_name_53 (points INTEGER, year VARCHAR, entrant VARCHAR)
### OUTPUT
SELECT SUM(points) FROM table_name_53 WHERE year > 1993 AND entrant = "sasol jordan" | {
"input": "CREATE TABLE table_name_53 (points INTEGER, year VARCHAR, entrant VARCHAR)",
"instruction": "For the Entrant of Sasol Jordan, add up all the points with a Year larger than 1993.",
"output": "SELECT SUM(points) FROM table_name_53 WHERE year > 1993 AND entrant = \"sasol jordan\""
} |
### INSTRUCTION
What episode number originally aired on November 21, 1993?
### INPUT
CREATE TABLE table_23982399_1 (overall_episode__number INTEGER, original_airdate VARCHAR)
### OUTPUT
SELECT MAX(overall_episode__number) FROM table_23982399_1 WHERE original_airdate = "November 21, 1993" | {
"input": "CREATE TABLE table_23982399_1 (overall_episode__number INTEGER, original_airdate VARCHAR)",
"instruction": "What episode number originally aired on November 21, 1993?",
"output": "SELECT MAX(overall_episode__number) FROM table_23982399_1 WHERE original_airdate = \"November 21, 1993\""
} |
### INSTRUCTION
what is the numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph?
### INPUT
CREATE TABLE table_14209455_1 (fri_30_may VARCHAR, mon_26_may VARCHAR)
### OUTPUT
SELECT fri_30_may FROM table_14209455_1 WHERE mon_26_may = "19' 02.890 118.847mph" | {
"input": "CREATE TABLE table_14209455_1 (fri_30_may VARCHAR, mon_26_may VARCHAR)",
"instruction": "what is the numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph?",
"output": "SELECT fri_30_may FROM table_14209455_1 WHERE mon_26_may = \"19' 02.890 118.847mph\""
} |
### INSTRUCTION
How many points were scored by the player with 79 goals and who played 38 games?
### INPUT
CREATE TABLE table_name_32 (points VARCHAR, goals VARCHAR, games VARCHAR)
### OUTPUT
SELECT points FROM table_name_32 WHERE goals = "79" AND games = "38" | {
"input": "CREATE TABLE table_name_32 (points VARCHAR, goals VARCHAR, games VARCHAR)",
"instruction": "How many points were scored by the player with 79 goals and who played 38 games?",
"output": "SELECT points FROM table_name_32 WHERE goals = \"79\" AND games = \"38\""
} |
### INSTRUCTION
Which title has the Translation of vesoul?
### INPUT
CREATE TABLE table_name_28 (title VARCHAR, translation VARCHAR)
### OUTPUT
SELECT title FROM table_name_28 WHERE translation = "vesoul" | {
"input": "CREATE TABLE table_name_28 (title VARCHAR, translation VARCHAR)",
"instruction": "Which title has the Translation of vesoul?",
"output": "SELECT title FROM table_name_28 WHERE translation = \"vesoul\""
} |
### INSTRUCTION
What was the home team's score at junction oval?
### INPUT
CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)
### OUTPUT
SELECT home_team AS score FROM table_name_17 WHERE venue = "junction oval" | {
"input": "CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)",
"instruction": "What was the home team's score at junction oval?",
"output": "SELECT home_team AS score FROM table_name_17 WHERE venue = \"junction oval\""
} |
### INSTRUCTION
What is the film title used in nomination for the film from South Korea?
### INPUT
CREATE TABLE table_name_26 (film_title_used_in_nomination VARCHAR, country VARCHAR)
### OUTPUT
SELECT film_title_used_in_nomination FROM table_name_26 WHERE country = "south korea" | {
"input": "CREATE TABLE table_name_26 (film_title_used_in_nomination VARCHAR, country VARCHAR)",
"instruction": "What is the film title used in nomination for the film from South Korea?",
"output": "SELECT film_title_used_in_nomination FROM table_name_26 WHERE country = \"south korea\""
} |
### INSTRUCTION
Show the names of editors and the theme of journals for which they serve on committees.
### INPUT
CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Theme VARCHAR, Journal_ID VARCHAR)
### OUTPUT
SELECT T2.Name, T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID | {
"input": "CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Theme VARCHAR, Journal_ID VARCHAR)",
"instruction": "Show the names of editors and the theme of journals for which they serve on committees.",
"output": "SELECT T2.Name, T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID"
} |
### INSTRUCTION
Which format had a United States region and a date of August 11, 2009?
### INPUT
CREATE TABLE table_name_92 (format VARCHAR, region VARCHAR, date VARCHAR)
### OUTPUT
SELECT format FROM table_name_92 WHERE region = "united states" AND date = "august 11, 2009" | {
"input": "CREATE TABLE table_name_92 (format VARCHAR, region VARCHAR, date VARCHAR)",
"instruction": "Which format had a United States region and a date of August 11, 2009?",
"output": "SELECT format FROM table_name_92 WHERE region = \"united states\" AND date = \"august 11, 2009\""
} |
### INSTRUCTION
What is the highest elevation in m of the bon irau peak, which has a col greater than 0 m and a prominence less than 1,900 m?
### INPUT
CREATE TABLE table_name_11 (elevation__m_ INTEGER, prominence__m_ VARCHAR, col__m_ VARCHAR, peak VARCHAR)
### OUTPUT
SELECT MAX(elevation__m_) FROM table_name_11 WHERE col__m_ > 0 AND peak = "bon irau" AND prominence__m_ < 1 OFFSET 900 | {
"input": "CREATE TABLE table_name_11 (elevation__m_ INTEGER, prominence__m_ VARCHAR, col__m_ VARCHAR, peak VARCHAR)",
"instruction": "What is the highest elevation in m of the bon irau peak, which has a col greater than 0 m and a prominence less than 1,900 m?",
"output": "SELECT MAX(elevation__m_) FROM table_name_11 WHERE col__m_ > 0 AND peak = \"bon irau\" AND prominence__m_ < 1 OFFSET 900"
} |
### INSTRUCTION
How many totals have a Player of ahmad fouzee masuri, and an FA Cup larger than 0?
### INPUT
CREATE TABLE table_name_37 (total VARCHAR, player VARCHAR, fa_cup VARCHAR)
### OUTPUT
SELECT COUNT(total) FROM table_name_37 WHERE player = "ahmad fouzee masuri" AND fa_cup > 0 | {
"input": "CREATE TABLE table_name_37 (total VARCHAR, player VARCHAR, fa_cup VARCHAR)",
"instruction": "How many totals have a Player of ahmad fouzee masuri, and an FA Cup larger than 0?",
"output": "SELECT COUNT(total) FROM table_name_37 WHERE player = \"ahmad fouzee masuri\" AND fa_cup > 0"
} |
### INSTRUCTION
With a Primary military speciality of astral assault tactics, what is the Secondary military speciality?
### INPUT
CREATE TABLE table_name_58 (secondary_military_speciality VARCHAR, primary_military_speciality VARCHAR)
### OUTPUT
SELECT secondary_military_speciality FROM table_name_58 WHERE primary_military_speciality = "astral assault tactics" | {
"input": "CREATE TABLE table_name_58 (secondary_military_speciality VARCHAR, primary_military_speciality VARCHAR)",
"instruction": "With a Primary military speciality of astral assault tactics, what is the Secondary military speciality?",
"output": "SELECT secondary_military_speciality FROM table_name_58 WHERE primary_military_speciality = \"astral assault tactics\""
} |
### INSTRUCTION
What is the average Bronze, when Rank is greater than 6, when Nation is Italy (ITA), and when Total is less than 1?
### INPUT
CREATE TABLE table_name_78 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
### OUTPUT
SELECT AVG(bronze) FROM table_name_78 WHERE rank > 6 AND nation = "italy (ita)" AND total < 1 | {
"input": "CREATE TABLE table_name_78 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)",
"instruction": "What is the average Bronze, when Rank is greater than 6, when Nation is Italy (ITA), and when Total is less than 1?",
"output": "SELECT AVG(bronze) FROM table_name_78 WHERE rank > 6 AND nation = \"italy (ita)\" AND total < 1"
} |
### INSTRUCTION
What is the location of game 7?
### INPUT
CREATE TABLE table_name_1 (location VARCHAR, game VARCHAR)
### OUTPUT
SELECT location FROM table_name_1 WHERE game = 7 | {
"input": "CREATE TABLE table_name_1 (location VARCHAR, game VARCHAR)",
"instruction": "What is the location of game 7?",
"output": "SELECT location FROM table_name_1 WHERE game = 7"
} |
### INSTRUCTION
What city in the east region in North Carolina was the round where the University of Richmond was the host?
### INPUT
CREATE TABLE table_name_20 (city VARCHAR, host VARCHAR, region VARCHAR, state VARCHAR)
### OUTPUT
SELECT city FROM table_name_20 WHERE region = "east" AND state = "north carolina" AND host = "university of richmond" | {
"input": "CREATE TABLE table_name_20 (city VARCHAR, host VARCHAR, region VARCHAR, state VARCHAR)",
"instruction": "What city in the east region in North Carolina was the round where the University of Richmond was the host?",
"output": "SELECT city FROM table_name_20 WHERE region = \"east\" AND state = \"north carolina\" AND host = \"university of richmond\""
} |
### INSTRUCTION
Show the names of phones and the districts of markets they are on.
### INPUT
CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR); CREATE TABLE market (District VARCHAR, Market_ID VARCHAR); CREATE TABLE phone_market (Market_ID VARCHAR, Phone_ID VARCHAR)
### OUTPUT
SELECT T3.Name, T2.District FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID | {
"input": "CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR); CREATE TABLE market (District VARCHAR, Market_ID VARCHAR); CREATE TABLE phone_market (Market_ID VARCHAR, Phone_ID VARCHAR)",
"instruction": "Show the names of phones and the districts of markets they are on.",
"output": "SELECT T3.Name, T2.District FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID"
} |
### INSTRUCTION
When Giovanni Gaetano Orsini was the elector who was the elevator?
### INPUT
CREATE TABLE table_name_63 (elevator VARCHAR, elector VARCHAR)
### OUTPUT
SELECT elevator FROM table_name_63 WHERE elector = "giovanni gaetano orsini" | {
"input": "CREATE TABLE table_name_63 (elevator VARCHAR, elector VARCHAR)",
"instruction": "When Giovanni Gaetano Orsini was the elector who was the elevator?",
"output": "SELECT elevator FROM table_name_63 WHERE elector = \"giovanni gaetano orsini\""
} |
### INSTRUCTION
Return the names of singers who are from UK and released an English song.
### INPUT
CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)
### OUTPUT
SELECT artist_name FROM artist WHERE country = "UK" INTERSECT SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = "english" | {
"input": "CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)",
"instruction": "Return the names of singers who are from UK and released an English song.",
"output": "SELECT artist_name FROM artist WHERE country = \"UK\" INTERSECT SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = \"english\""
} |
### INSTRUCTION
Show the name, phone, and payment method code for all customers in descending order of customer number.
### INPUT
CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, payment_method_code VARCHAR, customer_number VARCHAR)
### OUTPUT
SELECT customer_name, customer_phone, payment_method_code FROM customers ORDER BY customer_number DESC | {
"input": "CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, payment_method_code VARCHAR, customer_number VARCHAR)",
"instruction": "Show the name, phone, and payment method code for all customers in descending order of customer number.",
"output": "SELECT customer_name, customer_phone, payment_method_code FROM customers ORDER BY customer_number DESC"
} |
### INSTRUCTION
What was the average Points of the season driver Fernando Alonso had a percentage of possible points of 53.05%?
### INPUT
CREATE TABLE table_name_15 (points INTEGER, driver VARCHAR, percentage_of_possible_points VARCHAR)
### OUTPUT
SELECT AVG(points) FROM table_name_15 WHERE driver = "fernando alonso" AND percentage_of_possible_points = "53.05%" | {
"input": "CREATE TABLE table_name_15 (points INTEGER, driver VARCHAR, percentage_of_possible_points VARCHAR)",
"instruction": "What was the average Points of the season driver Fernando Alonso had a percentage of possible points of 53.05%?",
"output": "SELECT AVG(points) FROM table_name_15 WHERE driver = \"fernando alonso\" AND percentage_of_possible_points = \"53.05%\""
} |
### INSTRUCTION
Name the payout for espn for music city bowl
### INPUT
CREATE TABLE table_24427210_1 (payout___us$__ VARCHAR, tv VARCHAR, bowl_game VARCHAR)
### OUTPUT
SELECT payout___us$__ FROM table_24427210_1 WHERE tv = "ESPN" AND bowl_game = "Music City Bowl" | {
"input": "CREATE TABLE table_24427210_1 (payout___us$__ VARCHAR, tv VARCHAR, bowl_game VARCHAR)",
"instruction": "Name the payout for espn for music city bowl",
"output": "SELECT payout___us$__ FROM table_24427210_1 WHERE tv = \"ESPN\" AND bowl_game = \"Music City Bowl\""
} |
### INSTRUCTION
what is the average tries for the season 2008 warrington wolves with an appearance more than 7?
### INPUT
CREATE TABLE table_name_55 (tries INTEGER, season VARCHAR, appearance VARCHAR)
### OUTPUT
SELECT AVG(tries) FROM table_name_55 WHERE season = "2008 warrington wolves" AND appearance > 7 | {
"input": "CREATE TABLE table_name_55 (tries INTEGER, season VARCHAR, appearance VARCHAR)",
"instruction": "what is the average tries for the season 2008 warrington wolves with an appearance more than 7?",
"output": "SELECT AVG(tries) FROM table_name_55 WHERE season = \"2008 warrington wolves\" AND appearance > 7"
} |
### INSTRUCTION
Name the number of first elected for kentucky 3
### INPUT
CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)
### OUTPUT
SELECT COUNT(first_elected) FROM table_2668378_5 WHERE district = "Kentucky 3" | {
"input": "CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)",
"instruction": "Name the number of first elected for kentucky 3",
"output": "SELECT COUNT(first_elected) FROM table_2668378_5 WHERE district = \"Kentucky 3\""
} |
### INSTRUCTION
What was the main date of the round with 20 fixtures?
### INPUT
CREATE TABLE table_name_81 (main_date VARCHAR, number_of_fixtures VARCHAR)
### OUTPUT
SELECT main_date FROM table_name_81 WHERE number_of_fixtures = 20 | {
"input": "CREATE TABLE table_name_81 (main_date VARCHAR, number_of_fixtures VARCHAR)",
"instruction": "What was the main date of the round with 20 fixtures?",
"output": "SELECT main_date FROM table_name_81 WHERE number_of_fixtures = 20"
} |
### INSTRUCTION
What number is the player that played 1998-2001
### INPUT
CREATE TABLE table_10015132_21 (no INTEGER, years_in_toronto VARCHAR)
### OUTPUT
SELECT MIN(no) FROM table_10015132_21 WHERE years_in_toronto = "1998-2001" | {
"input": "CREATE TABLE table_10015132_21 (no INTEGER, years_in_toronto VARCHAR)",
"instruction": "What number is the player that played 1998-2001",
"output": "SELECT MIN(no) FROM table_10015132_21 WHERE years_in_toronto = \"1998-2001\""
} |
### INSTRUCTION
What was the placing of the race in which Chic won by 8gf?
### INPUT
CREATE TABLE table_name_58 (placing VARCHAR, beat_by VARCHAR, distance VARCHAR)
### OUTPUT
SELECT placing FROM table_name_58 WHERE beat_by = "won" AND distance = "8gf" | {
"input": "CREATE TABLE table_name_58 (placing VARCHAR, beat_by VARCHAR, distance VARCHAR)",
"instruction": "What was the placing of the race in which Chic won by 8gf?",
"output": "SELECT placing FROM table_name_58 WHERE beat_by = \"won\" AND distance = \"8gf\""
} |
### INSTRUCTION
What is the football conference for Henniker, New Hampshire>?
### INPUT
CREATE TABLE table_261927_2 (football_conference VARCHAR, location VARCHAR)
### OUTPUT
SELECT football_conference FROM table_261927_2 WHERE location = "Henniker, New Hampshire" | {
"input": "CREATE TABLE table_261927_2 (football_conference VARCHAR, location VARCHAR)",
"instruction": "What is the football conference for Henniker, New Hampshire>?",
"output": "SELECT football_conference FROM table_261927_2 WHERE location = \"Henniker, New Hampshire\""
} |
### INSTRUCTION
When the name is badnawar, and the reserved for (sc / st /none) of none what is the constituency number?
### INPUT
CREATE TABLE table_name_86 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
### OUTPUT
SELECT constituency_number FROM table_name_86 WHERE reserved_for___sc___st__none_ = "none" AND name = "badnawar" | {
"input": "CREATE TABLE table_name_86 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, name VARCHAR)",
"instruction": "When the name is badnawar, and the reserved for (sc / st /none) of none what is the constituency number?",
"output": "SELECT constituency_number FROM table_name_86 WHERE reserved_for___sc___st__none_ = \"none\" AND name = \"badnawar\""
} |
### INSTRUCTION
Which Title has a Length of 3:32, and a Producer(s) of hadise açıkgöz, yves jongen?
### INPUT
CREATE TABLE table_name_91 (title VARCHAR, length VARCHAR, producer_s_ VARCHAR)
### OUTPUT
SELECT title FROM table_name_91 WHERE length = "3:32" AND producer_s_ = "hadise açıkgöz, yves jongen" | {
"input": "CREATE TABLE table_name_91 (title VARCHAR, length VARCHAR, producer_s_ VARCHAR)",
"instruction": "Which Title has a Length of 3:32, and a Producer(s) of hadise açıkgöz, yves jongen?",
"output": "SELECT title FROM table_name_91 WHERE length = \"3:32\" AND producer_s_ = \"hadise açıkgöz, yves jongen\""
} |
### INSTRUCTION
How many papers have "Atsushi Ohori" published?
### INPUT
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE papers (paperid VARCHAR)
### OUTPUT
SELECT COUNT(*) FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = "Atsushi" AND t1.lname = "Ohori" | {
"input": "CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE papers (paperid VARCHAR)",
"instruction": "How many papers have \"Atsushi Ohori\" published?",
"output": "SELECT COUNT(*) FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = \"Atsushi\" AND t1.lname = \"Ohori\""
} |
### INSTRUCTION
Find the last names of teachers who are not involved in any detention.
### INPUT
CREATE TABLE Teachers (last_name VARCHAR); CREATE TABLE Teachers (last_name VARCHAR, teacher_id VARCHAR); CREATE TABLE Detention (teacher_id VARCHAR)
### OUTPUT
SELECT last_name FROM Teachers EXCEPT SELECT T1.last_name FROM Teachers AS T1 JOIN Detention AS T2 ON T1.teacher_id = T2.teacher_id | {
"input": "CREATE TABLE Teachers (last_name VARCHAR); CREATE TABLE Teachers (last_name VARCHAR, teacher_id VARCHAR); CREATE TABLE Detention (teacher_id VARCHAR)",
"instruction": "Find the last names of teachers who are not involved in any detention.",
"output": "SELECT last_name FROM Teachers EXCEPT SELECT T1.last_name FROM Teachers AS T1 JOIN Detention AS T2 ON T1.teacher_id = T2.teacher_id"
} |
### INSTRUCTION
During the competition at Port Elizabeth, where the opponent was Australia, what were the bowling figures?
### INPUT
CREATE TABLE table_name_43 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR, versus VARCHAR)
### OUTPUT
SELECT bowling_figures_wickets_runs__overs_ FROM table_name_43 WHERE venue = "port elizabeth" AND versus = "australia" | {
"input": "CREATE TABLE table_name_43 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR, versus VARCHAR)",
"instruction": "During the competition at Port Elizabeth, where the opponent was Australia, what were the bowling figures?",
"output": "SELECT bowling_figures_wickets_runs__overs_ FROM table_name_43 WHERE venue = \"port elizabeth\" AND versus = \"australia\""
} |
### INSTRUCTION
what is the turbo when the part number is cm8062300834302bx80623i72600bxc80623i72600?
### INPUT
CREATE TABLE table_name_62 (turbo VARCHAR, part_number_s_ VARCHAR)
### OUTPUT
SELECT turbo FROM table_name_62 WHERE part_number_s_ = "cm8062300834302bx80623i72600bxc80623i72600" | {
"input": "CREATE TABLE table_name_62 (turbo VARCHAR, part_number_s_ VARCHAR)",
"instruction": "what is the turbo when the part number is cm8062300834302bx80623i72600bxc80623i72600?",
"output": "SELECT turbo FROM table_name_62 WHERE part_number_s_ = \"cm8062300834302bx80623i72600bxc80623i72600\""
} |
### INSTRUCTION
What is the cmi cross reference id that is related to at least one council tax entry? List the cross reference id and source system code.
### INPUT
CREATE TABLE Council_Tax (cmi_cross_ref_id VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, source_system_code VARCHAR)
### OUTPUT
SELECT T1.cmi_cross_ref_id, T1.source_system_code FROM CMI_Cross_References AS T1 JOIN Council_Tax AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id GROUP BY T1.cmi_cross_ref_id HAVING COUNT(*) >= 1 | {
"input": "CREATE TABLE Council_Tax (cmi_cross_ref_id VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, source_system_code VARCHAR)",
"instruction": "What is the cmi cross reference id that is related to at least one council tax entry? List the cross reference id and source system code.",
"output": "SELECT T1.cmi_cross_ref_id, T1.source_system_code FROM CMI_Cross_References AS T1 JOIN Council_Tax AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id GROUP BY T1.cmi_cross_ref_id HAVING COUNT(*) >= 1"
} |
### INSTRUCTION
What batting style corresponds to a bowling style of right arm medium for Stuart Williams?
### INPUT
CREATE TABLE table_name_32 (batting_style VARCHAR, bowling_style VARCHAR, player VARCHAR)
### OUTPUT
SELECT batting_style FROM table_name_32 WHERE bowling_style = "right arm medium" AND player = "stuart williams" | {
"input": "CREATE TABLE table_name_32 (batting_style VARCHAR, bowling_style VARCHAR, player VARCHAR)",
"instruction": "What batting style corresponds to a bowling style of right arm medium for Stuart Williams?",
"output": "SELECT batting_style FROM table_name_32 WHERE bowling_style = \"right arm medium\" AND player = \"stuart williams\""
} |
### INSTRUCTION
What away team is playing at the Brunswick Street Oval Venue?
### INPUT
CREATE TABLE table_name_22 (away_team VARCHAR, venue VARCHAR)
### OUTPUT
SELECT away_team FROM table_name_22 WHERE venue = "brunswick street oval" | {
"input": "CREATE TABLE table_name_22 (away_team VARCHAR, venue VARCHAR)",
"instruction": "What away team is playing at the Brunswick Street Oval Venue?",
"output": "SELECT away_team FROM table_name_22 WHERE venue = \"brunswick street oval\""
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.