text
stringlengths 147
1.06k
| source
dict |
---|---|
### INSTRUCTION
The series titled dragon laws i: the undercover has what role?
### INPUT
CREATE TABLE table_name_73 (role VARCHAR, series_title VARCHAR)
### OUTPUT
SELECT role FROM table_name_73 WHERE series_title = "dragon laws i: the undercover" | {
"input": "CREATE TABLE table_name_73 (role VARCHAR, series_title VARCHAR)",
"instruction": "The series titled dragon laws i: the undercover has what role?",
"output": "SELECT role FROM table_name_73 WHERE series_title = \"dragon laws i: the undercover\""
} |
### INSTRUCTION
How many totals have a Premier League smaller than 6, and a League Cup larger than 0?
### INPUT
CREATE TABLE table_name_9 (total INTEGER, premier_league VARCHAR, league_cup VARCHAR)
### OUTPUT
SELECT SUM(total) FROM table_name_9 WHERE premier_league < 6 AND league_cup > 0 | {
"input": "CREATE TABLE table_name_9 (total INTEGER, premier_league VARCHAR, league_cup VARCHAR)",
"instruction": "How many totals have a Premier League smaller than 6, and a League Cup larger than 0?",
"output": "SELECT SUM(total) FROM table_name_9 WHERE premier_league < 6 AND league_cup > 0"
} |
### INSTRUCTION
What is the total pick# played by Anton Rodin with a Reg GP over 0?
### INPUT
CREATE TABLE table_name_32 (pick__number VARCHAR, player VARCHAR, reg_gp VARCHAR)
### OUTPUT
SELECT COUNT(pick__number) FROM table_name_32 WHERE player = "anton rodin" AND reg_gp > 0 | {
"input": "CREATE TABLE table_name_32 (pick__number VARCHAR, player VARCHAR, reg_gp VARCHAR)",
"instruction": "What is the total pick# played by Anton Rodin with a Reg GP over 0?",
"output": "SELECT COUNT(pick__number) FROM table_name_32 WHERE player = \"anton rodin\" AND reg_gp > 0"
} |
### INSTRUCTION
List all singer names in concerts in year 2014.
### INPUT
CREATE TABLE singer_in_concert (singer_id VARCHAR, concert_id VARCHAR); CREATE TABLE concert (concert_id VARCHAR, year VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)
### OUTPUT
SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014 | {
"input": "CREATE TABLE singer_in_concert (singer_id VARCHAR, concert_id VARCHAR); CREATE TABLE concert (concert_id VARCHAR, year VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)",
"instruction": "List all singer names in concerts in year 2014.",
"output": "SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014"
} |
### INSTRUCTION
What is the coinage metal for a KM number of S75?
### INPUT
CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, km_number VARCHAR)
### OUTPUT
SELECT coinage_metal FROM table_26336060_19 WHERE km_number = "S75" | {
"input": "CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, km_number VARCHAR)",
"instruction": "What is the coinage metal for a KM number of S75?",
"output": "SELECT coinage_metal FROM table_26336060_19 WHERE km_number = \"S75\""
} |
### INSTRUCTION
List the language used least number of TV Channel. List language and number of TV Channel.
### INPUT
CREATE TABLE TV_Channel (LANGUAGE VARCHAR)
### OUTPUT
SELECT LANGUAGE, COUNT(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY COUNT(*) LIMIT 1 | {
"input": "CREATE TABLE TV_Channel (LANGUAGE VARCHAR)",
"instruction": "List the language used least number of TV Channel. List language and number of TV Channel.",
"output": "SELECT LANGUAGE, COUNT(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY COUNT(*) LIMIT 1"
} |
### INSTRUCTION
Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?
### INPUT
CREATE TABLE management (department_id VARCHAR, temporary_acting VARCHAR); CREATE TABLE department (name VARCHAR, num_employees VARCHAR, department_id VARCHAR)
### OUTPUT
SELECT T1.name, T1.num_employees FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id WHERE T2.temporary_acting = 'Yes' | {
"input": "CREATE TABLE management (department_id VARCHAR, temporary_acting VARCHAR); CREATE TABLE department (name VARCHAR, num_employees VARCHAR, department_id VARCHAR)",
"instruction": "Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?",
"output": "SELECT T1.name, T1.num_employees FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id WHERE T2.temporary_acting = 'Yes'"
} |
### INSTRUCTION
Which Adelaide has an Auckland of no and a Melbourne of no?
### INPUT
CREATE TABLE table_name_76 (adelaide VARCHAR, auckland VARCHAR, melbourne VARCHAR)
### OUTPUT
SELECT adelaide FROM table_name_76 WHERE auckland = "no" AND melbourne = "no" | {
"input": "CREATE TABLE table_name_76 (adelaide VARCHAR, auckland VARCHAR, melbourne VARCHAR)",
"instruction": "Which Adelaide has an Auckland of no and a Melbourne of no?",
"output": "SELECT adelaide FROM table_name_76 WHERE auckland = \"no\" AND melbourne = \"no\""
} |
### INSTRUCTION
List the names and phone numbers of all the distinct suppliers who supply red jeans.
### INPUT
CREATE TABLE product_suppliers (supplier_id VARCHAR, product_id VARCHAR); CREATE TABLE suppliers (supplier_name VARCHAR, supplier_phone VARCHAR, supplier_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR)
### OUTPUT
SELECT DISTINCT T1.supplier_name, T1.supplier_phone FROM suppliers AS T1 JOIN product_suppliers AS T2 ON T1.supplier_id = T2.supplier_id JOIN products AS T3 ON T2.product_id = T3.product_id WHERE T3.product_name = "red jeans" | {
"input": "CREATE TABLE product_suppliers (supplier_id VARCHAR, product_id VARCHAR); CREATE TABLE suppliers (supplier_name VARCHAR, supplier_phone VARCHAR, supplier_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR)",
"instruction": "List the names and phone numbers of all the distinct suppliers who supply red jeans.",
"output": "SELECT DISTINCT T1.supplier_name, T1.supplier_phone FROM suppliers AS T1 JOIN product_suppliers AS T2 ON T1.supplier_id = T2.supplier_id JOIN products AS T3 ON T2.product_id = T3.product_id WHERE T3.product_name = \"red jeans\""
} |
### INSTRUCTION
Studio host of john ryder, and a Year of 2007-08 had what play by play?
### INPUT
CREATE TABLE table_name_38 (play_by_play VARCHAR, studio_host VARCHAR, year VARCHAR)
### OUTPUT
SELECT play_by_play FROM table_name_38 WHERE studio_host = "john ryder" AND year = "2007-08" | {
"input": "CREATE TABLE table_name_38 (play_by_play VARCHAR, studio_host VARCHAR, year VARCHAR)",
"instruction": "Studio host of john ryder, and a Year of 2007-08 had what play by play?",
"output": "SELECT play_by_play FROM table_name_38 WHERE studio_host = \"john ryder\" AND year = \"2007-08\""
} |
### INSTRUCTION
When John Harkes was the color commentator, and Alexi Lalas and Steve McManaman were the pregame analysts, who were the sideline reporters?
### INPUT
CREATE TABLE table_name_84 (sideline_reporters VARCHAR, color_commentator VARCHAR, pregame_analysts VARCHAR)
### OUTPUT
SELECT sideline_reporters FROM table_name_84 WHERE color_commentator = "john harkes" AND pregame_analysts = "alexi lalas and steve mcmanaman" | {
"input": "CREATE TABLE table_name_84 (sideline_reporters VARCHAR, color_commentator VARCHAR, pregame_analysts VARCHAR)",
"instruction": "When John Harkes was the color commentator, and Alexi Lalas and Steve McManaman were the pregame analysts, who were the sideline reporters?",
"output": "SELECT sideline_reporters FROM table_name_84 WHERE color_commentator = \"john harkes\" AND pregame_analysts = \"alexi lalas and steve mcmanaman\""
} |
### INSTRUCTION
Find the distinct Advisor of students who have treasurer votes in the spring election cycle.
### INPUT
CREATE TABLE STUDENT (Advisor VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (Treasurer_Vote VARCHAR, Election_Cycle VARCHAR)
### OUTPUT
SELECT DISTINCT T1.Advisor FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.Treasurer_Vote WHERE T2.Election_Cycle = "Spring" | {
"input": "CREATE TABLE STUDENT (Advisor VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (Treasurer_Vote VARCHAR, Election_Cycle VARCHAR)",
"instruction": "Find the distinct Advisor of students who have treasurer votes in the spring election cycle.",
"output": "SELECT DISTINCT T1.Advisor FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.Treasurer_Vote WHERE T2.Election_Cycle = \"Spring\""
} |
### INSTRUCTION
What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2–0?
### INPUT
CREATE TABLE table_name_17 (result VARCHAR, score VARCHAR, venue VARCHAR, date VARCHAR)
### OUTPUT
SELECT result FROM table_name_17 WHERE venue = "dakar , senegal" AND date = "3 september 2011" AND score = "2–0" | {
"input": "CREATE TABLE table_name_17 (result VARCHAR, score VARCHAR, venue VARCHAR, date VARCHAR)",
"instruction": "What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2–0?",
"output": "SELECT result FROM table_name_17 WHERE venue = \"dakar , senegal\" AND date = \"3 september 2011\" AND score = \"2–0\""
} |
### INSTRUCTION
Which region had a life expectancy at birth of 77.9 from 2001-2002?
### INPUT
CREATE TABLE table_25042332_33 (region VARCHAR, life_expectancy_at_birth__2001_2002_ VARCHAR)
### OUTPUT
SELECT region FROM table_25042332_33 WHERE life_expectancy_at_birth__2001_2002_ = "77.9" | {
"input": "CREATE TABLE table_25042332_33 (region VARCHAR, life_expectancy_at_birth__2001_2002_ VARCHAR)",
"instruction": "Which region had a life expectancy at birth of 77.9 from 2001-2002?",
"output": "SELECT region FROM table_25042332_33 WHERE life_expectancy_at_birth__2001_2002_ = \"77.9\""
} |
### INSTRUCTION
What is the smallest preliminary when swimsuit is less than 8.822, interview is more than 8.744 and gown is more than 9.333?
### INPUT
CREATE TABLE table_name_50 (preliminary INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, interview VARCHAR)
### OUTPUT
SELECT MIN(preliminary) FROM table_name_50 WHERE swimsuit < 8.822 AND interview > 8.744 AND evening_gown > 9.333 | {
"input": "CREATE TABLE table_name_50 (preliminary INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, interview VARCHAR)",
"instruction": "What is the smallest preliminary when swimsuit is less than 8.822, interview is more than 8.744 and gown is more than 9.333?",
"output": "SELECT MIN(preliminary) FROM table_name_50 WHERE swimsuit < 8.822 AND interview > 8.744 AND evening_gown > 9.333"
} |
### INSTRUCTION
What is the Sr. number of Banikhet Dalhouse Khajiar?
### INPUT
CREATE TABLE table_26036389_1 (sr_no INTEGER, name_of_road VARCHAR)
### OUTPUT
SELECT MAX(sr_no) FROM table_26036389_1 WHERE name_of_road = "Banikhet Dalhouse Khajiar" | {
"input": "CREATE TABLE table_26036389_1 (sr_no INTEGER, name_of_road VARCHAR)",
"instruction": "What is the Sr. number of Banikhet Dalhouse Khajiar?",
"output": "SELECT MAX(sr_no) FROM table_26036389_1 WHERE name_of_road = \"Banikhet Dalhouse Khajiar\""
} |
### INSTRUCTION
How many years Joined have a Size smaller than 417, and an IHSAA Class of A, and a School of jac-cen-del?
### INPUT
CREATE TABLE table_name_68 (year_joined VARCHAR, school VARCHAR, size VARCHAR, ihsaa_class VARCHAR)
### OUTPUT
SELECT COUNT(year_joined) FROM table_name_68 WHERE size < 417 AND ihsaa_class = "a" AND school = "jac-cen-del" | {
"input": "CREATE TABLE table_name_68 (year_joined VARCHAR, school VARCHAR, size VARCHAR, ihsaa_class VARCHAR)",
"instruction": "How many years Joined have a Size smaller than 417, and an IHSAA Class of A, and a School of jac-cen-del?",
"output": "SELECT COUNT(year_joined) FROM table_name_68 WHERE size < 417 AND ihsaa_class = \"a\" AND school = \"jac-cen-del\""
} |
### INSTRUCTION
Which college did the player picked number 136 go to?
### INPUT
CREATE TABLE table_name_54 (college VARCHAR, pick VARCHAR)
### OUTPUT
SELECT college FROM table_name_54 WHERE pick = 136 | {
"input": "CREATE TABLE table_name_54 (college VARCHAR, pick VARCHAR)",
"instruction": "Which college did the player picked number 136 go to?",
"output": "SELECT college FROM table_name_54 WHERE pick = 136"
} |
### INSTRUCTION
What is Owner, when Finished is less than 15, when Trainer is "Steve Asmussen", and when Horse is "Z Fortune"?
### INPUT
CREATE TABLE table_name_77 (owner VARCHAR, horse VARCHAR, finished VARCHAR, trainer VARCHAR)
### OUTPUT
SELECT owner FROM table_name_77 WHERE finished < 15 AND trainer = "steve asmussen" AND horse = "z fortune" | {
"input": "CREATE TABLE table_name_77 (owner VARCHAR, horse VARCHAR, finished VARCHAR, trainer VARCHAR)",
"instruction": "What is Owner, when Finished is less than 15, when Trainer is \"Steve Asmussen\", and when Horse is \"Z Fortune\"?",
"output": "SELECT owner FROM table_name_77 WHERE finished < 15 AND trainer = \"steve asmussen\" AND horse = \"z fortune\""
} |
### INSTRUCTION
What team does bobby hillin jr. (r) drive a buick regal for?
### INPUT
CREATE TABLE table_name_8 (team VARCHAR, make VARCHAR, driver VARCHAR)
### OUTPUT
SELECT team FROM table_name_8 WHERE make = "buick regal" AND driver = "bobby hillin jr. (r)" | {
"input": "CREATE TABLE table_name_8 (team VARCHAR, make VARCHAR, driver VARCHAR)",
"instruction": "What team does bobby hillin jr. (r) drive a buick regal for?",
"output": "SELECT team FROM table_name_8 WHERE make = \"buick regal\" AND driver = \"bobby hillin jr. (r)\""
} |
### INSTRUCTION
What was the final score for Aguilar when he played Hans Podlipnik on clay and was runner-up?
### INPUT
CREATE TABLE table_name_47 (score VARCHAR, outcome VARCHAR, surface VARCHAR, opponent VARCHAR)
### OUTPUT
SELECT score FROM table_name_47 WHERE surface = "clay" AND opponent = "hans podlipnik" AND outcome = "runner-up" | {
"input": "CREATE TABLE table_name_47 (score VARCHAR, outcome VARCHAR, surface VARCHAR, opponent VARCHAR)",
"instruction": "What was the final score for Aguilar when he played Hans Podlipnik on clay and was runner-up?",
"output": "SELECT score FROM table_name_47 WHERE surface = \"clay\" AND opponent = \"hans podlipnik\" AND outcome = \"runner-up\""
} |
### INSTRUCTION
What is China's International tourism expenditure (2011)?
### INPUT
CREATE TABLE table_name_4 (international_tourism_expenditure__2011_ VARCHAR, country VARCHAR)
### OUTPUT
SELECT international_tourism_expenditure__2011_ FROM table_name_4 WHERE country = "china" | {
"input": "CREATE TABLE table_name_4 (international_tourism_expenditure__2011_ VARCHAR, country VARCHAR)",
"instruction": "What is China's International tourism expenditure (2011)?",
"output": "SELECT international_tourism_expenditure__2011_ FROM table_name_4 WHERE country = \"china\""
} |
### INSTRUCTION
Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand?
### INPUT
CREATE TABLE table_name_61 (year_s__won VARCHAR, country VARCHAR, total VARCHAR, to_par VARCHAR)
### OUTPUT
SELECT year_s__won FROM table_name_61 WHERE total > 148 AND to_par < 17 AND country = "new zealand" | {
"input": "CREATE TABLE table_name_61 (year_s__won VARCHAR, country VARCHAR, total VARCHAR, to_par VARCHAR)",
"instruction": "Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand?",
"output": "SELECT year_s__won FROM table_name_61 WHERE total > 148 AND to_par < 17 AND country = \"new zealand\""
} |
### INSTRUCTION
Which Round is the lowest one that has a Position of wide receiver, and an Overall smaller than 222?
### INPUT
CREATE TABLE table_name_34 (round INTEGER, position VARCHAR, overall VARCHAR)
### OUTPUT
SELECT MIN(round) FROM table_name_34 WHERE position = "wide receiver" AND overall < 222 | {
"input": "CREATE TABLE table_name_34 (round INTEGER, position VARCHAR, overall VARCHAR)",
"instruction": "Which Round is the lowest one that has a Position of wide receiver, and an Overall smaller than 222?",
"output": "SELECT MIN(round) FROM table_name_34 WHERE position = \"wide receiver\" AND overall < 222"
} |
### INSTRUCTION
What open source movie has a CC License of by-nc-sa 1.0?
### INPUT
CREATE TABLE table_name_90 (open_source_movie VARCHAR, cc_license VARCHAR)
### OUTPUT
SELECT open_source_movie FROM table_name_90 WHERE cc_license = "by-nc-sa 1.0" | {
"input": "CREATE TABLE table_name_90 (open_source_movie VARCHAR, cc_license VARCHAR)",
"instruction": "What open source movie has a CC License of by-nc-sa 1.0?",
"output": "SELECT open_source_movie FROM table_name_90 WHERE cc_license = \"by-nc-sa 1.0\""
} |
### INSTRUCTION
When dwhr-tv is the call sign how many station types are there?
### INPUT
CREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR)
### OUTPUT
SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = "DWHR-TV" | {
"input": "CREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR)",
"instruction": "When dwhr-tv is the call sign how many station types are there?",
"output": "SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = \"DWHR-TV\""
} |
### INSTRUCTION
What was the attendence of the game on 26 April 1948 and an away team of Hawthorn?
### INPUT
CREATE TABLE table_name_12 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)
### OUTPUT
SELECT crowd FROM table_name_12 WHERE date = "26 april 1948" AND away_team = "hawthorn" | {
"input": "CREATE TABLE table_name_12 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)",
"instruction": "What was the attendence of the game on 26 April 1948 and an away team of Hawthorn?",
"output": "SELECT crowd FROM table_name_12 WHERE date = \"26 april 1948\" AND away_team = \"hawthorn\""
} |
### INSTRUCTION
Name the sprint classification for michael barry
### INPUT
CREATE TABLE table_23944514_15 (sprint_classification VARCHAR, aggressive_rider VARCHAR)
### OUTPUT
SELECT sprint_classification FROM table_23944514_15 WHERE aggressive_rider = "Michael Barry" | {
"input": "CREATE TABLE table_23944514_15 (sprint_classification VARCHAR, aggressive_rider VARCHAR)",
"instruction": "Name the sprint classification for michael barry",
"output": "SELECT sprint_classification FROM table_23944514_15 WHERE aggressive_rider = \"Michael Barry\""
} |
### INSTRUCTION
what is the venue when the competition is asian games, the event is 4x400 m relay and the year is 2002?
### INPUT
CREATE TABLE table_name_93 (venue VARCHAR, year VARCHAR, competition VARCHAR, event VARCHAR)
### OUTPUT
SELECT venue FROM table_name_93 WHERE competition = "asian games" AND event = "4x400 m relay" AND year = 2002 | {
"input": "CREATE TABLE table_name_93 (venue VARCHAR, year VARCHAR, competition VARCHAR, event VARCHAR)",
"instruction": "what is the venue when the competition is asian games, the event is 4x400 m relay and the year is 2002?",
"output": "SELECT venue FROM table_name_93 WHERE competition = \"asian games\" AND event = \"4x400 m relay\" AND year = 2002"
} |
### INSTRUCTION
If the special weapon is glass egg, what is the close ranged weapon?
### INPUT
CREATE TABLE table_27704991_1 (close_ranged_weapons VARCHAR, special_weapon VARCHAR)
### OUTPUT
SELECT close_ranged_weapons FROM table_27704991_1 WHERE special_weapon = "Glass egg" | {
"input": "CREATE TABLE table_27704991_1 (close_ranged_weapons VARCHAR, special_weapon VARCHAR)",
"instruction": "If the special weapon is glass egg, what is the close ranged weapon?",
"output": "SELECT close_ranged_weapons FROM table_27704991_1 WHERE special_weapon = \"Glass egg\""
} |
### INSTRUCTION
what is the score when the partner is florencia labat, the surface is clay, the opponents is laura golarsa ann grossman?
### INPUT
CREATE TABLE table_name_43 (score VARCHAR, opponents VARCHAR, partner VARCHAR, surface VARCHAR)
### OUTPUT
SELECT score FROM table_name_43 WHERE partner = "florencia labat" AND surface = "clay" AND opponents = "laura golarsa ann grossman" | {
"input": "CREATE TABLE table_name_43 (score VARCHAR, opponents VARCHAR, partner VARCHAR, surface VARCHAR)",
"instruction": "what is the score when the partner is florencia labat, the surface is clay, the opponents is laura golarsa ann grossman?",
"output": "SELECT score FROM table_name_43 WHERE partner = \"florencia labat\" AND surface = \"clay\" AND opponents = \"laura golarsa ann grossman\""
} |
### INSTRUCTION
Where was the game that the Indianapolis Colts lost 24-14?
### INPUT
CREATE TABLE table_name_23 (location VARCHAR, loser VARCHAR, result VARCHAR)
### OUTPUT
SELECT location FROM table_name_23 WHERE loser = "indianapolis colts" AND result = "24-14" | {
"input": "CREATE TABLE table_name_23 (location VARCHAR, loser VARCHAR, result VARCHAR)",
"instruction": "Where was the game that the Indianapolis Colts lost 24-14?",
"output": "SELECT location FROM table_name_23 WHERE loser = \"indianapolis colts\" AND result = \"24-14\""
} |
### INSTRUCTION
What are the details of the lots which are not used in any transactions?
### INPUT
CREATE TABLE Lots (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE Lots (lot_details VARCHAR); CREATE TABLE transactions_lots (lot_id VARCHAR)
### OUTPUT
SELECT lot_details FROM Lots EXCEPT SELECT T1.lot_details FROM Lots AS T1 JOIN transactions_lots AS T2 ON T1.lot_id = T2.lot_id | {
"input": "CREATE TABLE Lots (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE Lots (lot_details VARCHAR); CREATE TABLE transactions_lots (lot_id VARCHAR)",
"instruction": "What are the details of the lots which are not used in any transactions?",
"output": "SELECT lot_details FROM Lots EXCEPT SELECT T1.lot_details FROM Lots AS T1 JOIN transactions_lots AS T2 ON T1.lot_id = T2.lot_id"
} |
### INSTRUCTION
What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils?
### INPUT
CREATE TABLE table_name_48 (institution VARCHAR, nickname VARCHAR, classification VARCHAR, current_conference VARCHAR)
### OUTPUT
SELECT institution FROM table_name_48 WHERE classification = "ncaa division i" AND current_conference = "nec" AND nickname = "blue devils" | {
"input": "CREATE TABLE table_name_48 (institution VARCHAR, nickname VARCHAR, classification VARCHAR, current_conference VARCHAR)",
"instruction": "What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils?",
"output": "SELECT institution FROM table_name_48 WHERE classification = \"ncaa division i\" AND current_conference = \"nec\" AND nickname = \"blue devils\""
} |
### INSTRUCTION
What was the score on February 14, 1999?
### INPUT
CREATE TABLE table_name_32 (score_in_final VARCHAR, date VARCHAR)
### OUTPUT
SELECT score_in_final FROM table_name_32 WHERE date = "february 14, 1999" | {
"input": "CREATE TABLE table_name_32 (score_in_final VARCHAR, date VARCHAR)",
"instruction": "What was the score on February 14, 1999?",
"output": "SELECT score_in_final FROM table_name_32 WHERE date = \"february 14, 1999\""
} |
### INSTRUCTION
Name the 2013 club which has a Name of ana grbac category:articles with hcards?
### INPUT
CREATE TABLE table_name_62 (name VARCHAR)
### OUTPUT
SELECT 2013 AS _club FROM table_name_62 WHERE name = "ana grbac category:articles with hcards" | {
"input": "CREATE TABLE table_name_62 (name VARCHAR)",
"instruction": "Name the 2013 club which has a Name of ana grbac category:articles with hcards?",
"output": "SELECT 2013 AS _club FROM table_name_62 WHERE name = \"ana grbac category:articles with hcards\""
} |
### INSTRUCTION
What week did the Jets play in the meadowlands with and attendance of 78,161?
### INPUT
CREATE TABLE table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
### OUTPUT
SELECT SUM(week) FROM table_name_13 WHERE game_site = "the meadowlands" AND attendance = "78,161" | {
"input": "CREATE TABLE table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR)",
"instruction": "What week did the Jets play in the meadowlands with and attendance of 78,161?",
"output": "SELECT SUM(week) FROM table_name_13 WHERE game_site = \"the meadowlands\" AND attendance = \"78,161\""
} |
### INSTRUCTION
Name the location attendance for l 93-105
### INPUT
CREATE TABLE table_27882867_4 (location_attendance VARCHAR, score VARCHAR)
### OUTPUT
SELECT location_attendance FROM table_27882867_4 WHERE score = "L 93-105" | {
"input": "CREATE TABLE table_27882867_4 (location_attendance VARCHAR, score VARCHAR)",
"instruction": "Name the location attendance for l 93-105",
"output": "SELECT location_attendance FROM table_27882867_4 WHERE score = \"L 93-105\""
} |
### INSTRUCTION
Which week has a Kickoff time of 1:00 with a record of 4-5-1?
### INPUT
CREATE TABLE table_name_85 (week VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
### OUTPUT
SELECT week FROM table_name_85 WHERE kickoff_[a_] = "1:00" AND record = "4-5-1" | {
"input": "CREATE TABLE table_name_85 (week VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)",
"instruction": "Which week has a Kickoff time of 1:00 with a record of 4-5-1?",
"output": "SELECT week FROM table_name_85 WHERE kickoff_[a_] = \"1:00\" AND record = \"4-5-1\""
} |
### INSTRUCTION
What is the Republican seat plurality of North Carolina?
### INPUT
CREATE TABLE table_name_18 (republican_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR)
### OUTPUT
SELECT republican_seat_plurality FROM table_name_18 WHERE state_ranked_in_partisan_order = "north carolina" | {
"input": "CREATE TABLE table_name_18 (republican_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR)",
"instruction": "What is the Republican seat plurality of North Carolina?",
"output": "SELECT republican_seat_plurality FROM table_name_18 WHERE state_ranked_in_partisan_order = \"north carolina\""
} |
### INSTRUCTION
Who wins the clive churchill medal when the losing team is the sydney roosters in 2010?
### INPUT
CREATE TABLE table_name_27 (clive_churchill_medal VARCHAR, losingteam VARCHAR, season VARCHAR)
### OUTPUT
SELECT clive_churchill_medal FROM table_name_27 WHERE losingteam = "sydney roosters" AND season = 2010 | {
"input": "CREATE TABLE table_name_27 (clive_churchill_medal VARCHAR, losingteam VARCHAR, season VARCHAR)",
"instruction": "Who wins the clive churchill medal when the losing team is the sydney roosters in 2010?",
"output": "SELECT clive_churchill_medal FROM table_name_27 WHERE losingteam = \"sydney roosters\" AND season = 2010"
} |
### INSTRUCTION
What game has a platform(s) of playstation 3, when the genre is platform game?
### INPUT
CREATE TABLE table_name_33 (game VARCHAR, platform_s_ VARCHAR, genre VARCHAR)
### OUTPUT
SELECT game FROM table_name_33 WHERE platform_s_ = "playstation 3" AND genre = "platform game" | {
"input": "CREATE TABLE table_name_33 (game VARCHAR, platform_s_ VARCHAR, genre VARCHAR)",
"instruction": "What game has a platform(s) of playstation 3, when the genre is platform game?",
"output": "SELECT game FROM table_name_33 WHERE platform_s_ = \"playstation 3\" AND genre = \"platform game\""
} |
### INSTRUCTION
What is the 2007 value with 1r in 2009 and 2r in 2011 at the Tournament of Wimbledon?
### INPUT
CREATE TABLE table_name_36 (tournament VARCHAR)
### OUTPUT
SELECT 2007 FROM table_name_36 WHERE 2009 = "1r" AND 2011 = "2r" AND tournament = "wimbledon" | {
"input": "CREATE TABLE table_name_36 (tournament VARCHAR)",
"instruction": "What is the 2007 value with 1r in 2009 and 2r in 2011 at the Tournament of Wimbledon?",
"output": "SELECT 2007 FROM table_name_36 WHERE 2009 = \"1r\" AND 2011 = \"2r\" AND tournament = \"wimbledon\""
} |
### INSTRUCTION
Who was the womens singles winnerwhen the mens doubles were stefan karlsson claes nordin , bk aura gbk?
### INPUT
CREATE TABLE table_12266757_1 (womens_singles VARCHAR, mens_doubles VARCHAR)
### OUTPUT
SELECT womens_singles FROM table_12266757_1 WHERE mens_doubles = "Stefan Karlsson Claes Nordin , BK Aura GBK" | {
"input": "CREATE TABLE table_12266757_1 (womens_singles VARCHAR, mens_doubles VARCHAR)",
"instruction": "Who was the womens singles winnerwhen the mens doubles were stefan karlsson claes nordin , bk aura gbk?",
"output": "SELECT womens_singles FROM table_12266757_1 WHERE mens_doubles = \"Stefan Karlsson Claes Nordin , BK Aura GBK\""
} |
### INSTRUCTION
What is the result of Chris Gratton and Philadelphia Flyers as the Offer Team?
### INPUT
CREATE TABLE table_name_73 (result VARCHAR, offer_team VARCHAR, player VARCHAR)
### OUTPUT
SELECT result FROM table_name_73 WHERE offer_team = "philadelphia flyers" AND player = "chris gratton" | {
"input": "CREATE TABLE table_name_73 (result VARCHAR, offer_team VARCHAR, player VARCHAR)",
"instruction": "What is the result of Chris Gratton and Philadelphia Flyers as the Offer Team?",
"output": "SELECT result FROM table_name_73 WHERE offer_team = \"philadelphia flyers\" AND player = \"chris gratton\""
} |
### INSTRUCTION
What is the ends with a free transfer fee and was moved from middlesbrough?
### INPUT
CREATE TABLE table_name_5 (ends VARCHAR, transfer_fee VARCHAR, moving_from VARCHAR)
### OUTPUT
SELECT ends FROM table_name_5 WHERE transfer_fee = "free" AND moving_from = "middlesbrough" | {
"input": "CREATE TABLE table_name_5 (ends VARCHAR, transfer_fee VARCHAR, moving_from VARCHAR)",
"instruction": "What is the ends with a free transfer fee and was moved from middlesbrough?",
"output": "SELECT ends FROM table_name_5 WHERE transfer_fee = \"free\" AND moving_from = \"middlesbrough\""
} |
### INSTRUCTION
What is To par, when Score is "70-68-68-71=277"?
### INPUT
CREATE TABLE table_name_18 (to_par VARCHAR, score VARCHAR)
### OUTPUT
SELECT to_par FROM table_name_18 WHERE score = 70 - 68 - 68 - 71 = 277 | {
"input": "CREATE TABLE table_name_18 (to_par VARCHAR, score VARCHAR)",
"instruction": "What is To par, when Score is \"70-68-68-71=277\"?",
"output": "SELECT to_par FROM table_name_18 WHERE score = 70 - 68 - 68 - 71 = 277"
} |
### INSTRUCTION
What is the record when the decision was valiquette on November 23?
### INPUT
CREATE TABLE table_name_46 (record VARCHAR, decision VARCHAR, november VARCHAR)
### OUTPUT
SELECT record FROM table_name_46 WHERE decision = "valiquette" AND november = 23 | {
"input": "CREATE TABLE table_name_46 (record VARCHAR, decision VARCHAR, november VARCHAR)",
"instruction": "What is the record when the decision was valiquette on November 23?",
"output": "SELECT record FROM table_name_46 WHERE decision = \"valiquette\" AND november = 23"
} |
### INSTRUCTION
How many Laps have a Driver of satrio hermanto?
### INPUT
CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR)
### OUTPUT
SELECT SUM(laps) FROM table_name_76 WHERE driver = "satrio hermanto" | {
"input": "CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR)",
"instruction": "How many Laps have a Driver of satrio hermanto?",
"output": "SELECT SUM(laps) FROM table_name_76 WHERE driver = \"satrio hermanto\""
} |
### INSTRUCTION
What is the minimum stations owned since kero-tv?
### INPUT
CREATE TABLE table_1847523_2 (owned_since INTEGER, station VARCHAR)
### OUTPUT
SELECT MIN(owned_since) FROM table_1847523_2 WHERE station = "KERO-TV" | {
"input": "CREATE TABLE table_1847523_2 (owned_since INTEGER, station VARCHAR)",
"instruction": "What is the minimum stations owned since kero-tv?",
"output": "SELECT MIN(owned_since) FROM table_1847523_2 WHERE station = \"KERO-TV\""
} |
### INSTRUCTION
What Home team plays at the princes park Venue?
### INPUT
CREATE TABLE table_name_29 (home_team VARCHAR, venue VARCHAR)
### OUTPUT
SELECT home_team FROM table_name_29 WHERE venue = "princes park" | {
"input": "CREATE TABLE table_name_29 (home_team VARCHAR, venue VARCHAR)",
"instruction": "What Home team plays at the princes park Venue?",
"output": "SELECT home_team FROM table_name_29 WHERE venue = \"princes park\""
} |
### INSTRUCTION
What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007?
### INPUT
CREATE TABLE table_name_39 (result VARCHAR, champions VARCHAR, year VARCHAR, runners_up VARCHAR)
### OUTPUT
SELECT result FROM table_name_39 WHERE year > 2007 AND runners_up = "seoul samsung thunders" AND champions = "jeonju kcc egis" | {
"input": "CREATE TABLE table_name_39 (result VARCHAR, champions VARCHAR, year VARCHAR, runners_up VARCHAR)",
"instruction": "What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007?",
"output": "SELECT result FROM table_name_39 WHERE year > 2007 AND runners_up = \"seoul samsung thunders\" AND champions = \"jeonju kcc egis\""
} |
### INSTRUCTION
At Position of guard, from the School/Club Team Notre Dame, how many Years for Jazz did that person play?
### INPUT
CREATE TABLE table_name_43 (years_for_jazz VARCHAR, position VARCHAR, school_club_team VARCHAR)
### OUTPUT
SELECT years_for_jazz FROM table_name_43 WHERE position = "guard" AND school_club_team = "notre dame" | {
"input": "CREATE TABLE table_name_43 (years_for_jazz VARCHAR, position VARCHAR, school_club_team VARCHAR)",
"instruction": "At Position of guard, from the School/Club Team Notre Dame, how many Years for Jazz did that person play?",
"output": "SELECT years_for_jazz FROM table_name_43 WHERE position = \"guard\" AND school_club_team = \"notre dame\""
} |
### INSTRUCTION
1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]?
### INPUT
CREATE TABLE table_name_80 (Id VARCHAR)
### OUTPUT
SELECT MIN(1996)[2] FROM table_name_80 WHERE 1950 > 80 AND 1960 = 196 AND 1990 > 131 | {
"input": "CREATE TABLE table_name_80 (Id VARCHAR)",
"instruction": "1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]?",
"output": "SELECT MIN(1996)[2] FROM table_name_80 WHERE 1950 > 80 AND 1960 = 196 AND 1990 > 131"
} |
### INSTRUCTION
What date did Episode 22 originally air?
### INPUT
CREATE TABLE table_23392257_4 (original_airdate VARCHAR, _number VARCHAR)
### OUTPUT
SELECT COUNT(original_airdate) FROM table_23392257_4 WHERE _number = 22 | {
"input": "CREATE TABLE table_23392257_4 (original_airdate VARCHAR, _number VARCHAR)",
"instruction": "What date did Episode 22 originally air?",
"output": "SELECT COUNT(original_airdate) FROM table_23392257_4 WHERE _number = 22"
} |
### INSTRUCTION
Who was seat no 6 when seat no 1 and seat no 5 were jacques lachapelle and donald s. dutton
### INPUT
CREATE TABLE table_2231241_1 (seat_no_6 VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR)
### OUTPUT
SELECT seat_no_6 FROM table_2231241_1 WHERE seat_no_1 = "Jacques Lachapelle" AND seat_no_5 = "Donald S. Dutton" | {
"input": "CREATE TABLE table_2231241_1 (seat_no_6 VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR)",
"instruction": "Who was seat no 6 when seat no 1 and seat no 5 were jacques lachapelle and donald s. dutton",
"output": "SELECT seat_no_6 FROM table_2231241_1 WHERE seat_no_1 = \"Jacques Lachapelle\" AND seat_no_5 = \"Donald S. Dutton\""
} |
### INSTRUCTION
What is the names of the physicians who prescribe medication Thesisin?
### INPUT
CREATE TABLE physician (name VARCHAR, employeeid VARCHAR); CREATE TABLE prescribes (physician VARCHAR, medication VARCHAR); CREATE TABLE medication (code VARCHAR, name VARCHAR)
### OUTPUT
SELECT DISTINCT T1.name FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician JOIN medication AS T3 ON T3.code = T2.medication WHERE T3.name = "Thesisin" | {
"input": "CREATE TABLE physician (name VARCHAR, employeeid VARCHAR); CREATE TABLE prescribes (physician VARCHAR, medication VARCHAR); CREATE TABLE medication (code VARCHAR, name VARCHAR)",
"instruction": "What is the names of the physicians who prescribe medication Thesisin?",
"output": "SELECT DISTINCT T1.name FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician JOIN medication AS T3 ON T3.code = T2.medication WHERE T3.name = \"Thesisin\""
} |
### INSTRUCTION
Which country earned place T3 with a score of 70-68=138?
### INPUT
CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR)
### OUTPUT
SELECT country FROM table_name_18 WHERE place = "t3" AND score = 70 - 68 = 138 | {
"input": "CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR)",
"instruction": "Which country earned place T3 with a score of 70-68=138?",
"output": "SELECT country FROM table_name_18 WHERE place = \"t3\" AND score = 70 - 68 = 138"
} |
### INSTRUCTION
What is the name of the customer who has the most policies listed?
### INPUT
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR)
### OUTPUT
SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_name ORDER BY COUNT(*) DESC LIMIT 1 | {
"input": "CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR)",
"instruction": "What is the name of the customer who has the most policies listed?",
"output": "SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_name ORDER BY COUNT(*) DESC LIMIT 1"
} |
### INSTRUCTION
What genre is the Banpresto game tittled Ranma ½: netsuretsu kakutouhen?
### INPUT
CREATE TABLE table_name_34 (genre VARCHAR, developer VARCHAR, japanese_title VARCHAR)
### OUTPUT
SELECT genre FROM table_name_34 WHERE developer = "banpresto" AND japanese_title = "ranma ½: netsuretsu kakutouhen" | {
"input": "CREATE TABLE table_name_34 (genre VARCHAR, developer VARCHAR, japanese_title VARCHAR)",
"instruction": "What genre is the Banpresto game tittled Ranma ½: netsuretsu kakutouhen?",
"output": "SELECT genre FROM table_name_34 WHERE developer = \"banpresto\" AND japanese_title = \"ranma ½: netsuretsu kakutouhen\""
} |
### INSTRUCTION
What episode number was directed by Craig Ross, Jr.
### INPUT
CREATE TABLE table_21550897_1 (_number VARCHAR, directed_by VARCHAR)
### OUTPUT
SELECT _number FROM table_21550897_1 WHERE directed_by = "Craig Ross, Jr." | {
"input": "CREATE TABLE table_21550897_1 (_number VARCHAR, directed_by VARCHAR)",
"instruction": "What episode number was directed by Craig Ross, Jr.",
"output": "SELECT _number FROM table_21550897_1 WHERE directed_by = \"Craig Ross, Jr.\""
} |
### INSTRUCTION
List the names of the browser that are compatible with both 'CACHEbox' and 'Fasterfox'.
### INPUT
CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR, browser_id VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR); CREATE TABLE browser (name VARCHAR, id VARCHAR)
### OUTPUT
SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T1.name = 'CACHEbox' INTERSECT SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T1.name = 'Fasterfox' | {
"input": "CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR, browser_id VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR); CREATE TABLE browser (name VARCHAR, id VARCHAR)",
"instruction": "List the names of the browser that are compatible with both 'CACHEbox' and 'Fasterfox'.",
"output": "SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T1.name = 'CACHEbox' INTERSECT SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T1.name = 'Fasterfox'"
} |
### INSTRUCTION
Which Longitude has a Latitude of 73.0s, and a Name of aibarchin planitia?
### INPUT
CREATE TABLE table_name_87 (longitude VARCHAR, latitude VARCHAR, name VARCHAR)
### OUTPUT
SELECT longitude FROM table_name_87 WHERE latitude = "73.0s" AND name = "aibarchin planitia" | {
"input": "CREATE TABLE table_name_87 (longitude VARCHAR, latitude VARCHAR, name VARCHAR)",
"instruction": "Which Longitude has a Latitude of 73.0s, and a Name of aibarchin planitia?",
"output": "SELECT longitude FROM table_name_87 WHERE latitude = \"73.0s\" AND name = \"aibarchin planitia\""
} |
### INSTRUCTION
Name the name of the state
### INPUT
CREATE TABLE table_15463188_7 (name VARCHAR, school_club_team VARCHAR)
### OUTPUT
SELECT name FROM table_15463188_7 WHERE school_club_team = "State" | {
"input": "CREATE TABLE table_15463188_7 (name VARCHAR, school_club_team VARCHAR)",
"instruction": "Name the name of the state",
"output": "SELECT name FROM table_15463188_7 WHERE school_club_team = \"State\""
} |
### INSTRUCTION
what is the episode # for production code 227
### INPUT
CREATE TABLE table_10269427_3 (episode__number VARCHAR, production_code VARCHAR)
### OUTPUT
SELECT episode__number FROM table_10269427_3 WHERE production_code = 227 | {
"input": "CREATE TABLE table_10269427_3 (episode__number VARCHAR, production_code VARCHAR)",
"instruction": "what is the episode # for production code 227",
"output": "SELECT episode__number FROM table_10269427_3 WHERE production_code = 227"
} |
### INSTRUCTION
Which University students and adults have minimum diameter of Sakigawa for female gender?
### INPUT
CREATE TABLE table_name_86 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, specification VARCHAR, gender VARCHAR)
### OUTPUT
SELECT university_students_and_adults__18yrs + _ FROM table_name_86 WHERE specification = "minimum diameter of sakigawa" AND gender = "female" | {
"input": "CREATE TABLE table_name_86 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, specification VARCHAR, gender VARCHAR)",
"instruction": "Which University students and adults have minimum diameter of Sakigawa for female gender?",
"output": "SELECT university_students_and_adults__18yrs + _ FROM table_name_86 WHERE specification = \"minimum diameter of sakigawa\" AND gender = \"female\""
} |
### INSTRUCTION
What are the register ids of electoral registries that have the cross reference source system code 'Electoral' or 'Tax'?
### INPUT
CREATE TABLE Electoral_Register (electoral_register_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, source_system_code VARCHAR)
### OUTPUT
SELECT T1.electoral_register_id FROM Electoral_Register AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id WHERE T2.source_system_code = 'Electoral' OR T2.source_system_code = 'Tax' | {
"input": "CREATE TABLE Electoral_Register (electoral_register_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, source_system_code VARCHAR)",
"instruction": "What are the register ids of electoral registries that have the cross reference source system code 'Electoral' or 'Tax'?",
"output": "SELECT T1.electoral_register_id FROM Electoral_Register AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id WHERE T2.source_system_code = 'Electoral' OR T2.source_system_code = 'Tax'"
} |
### INSTRUCTION
How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis?
### INPUT
CREATE TABLE table_name_10 (year VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR)
### OUTPUT
SELECT COUNT(year) FROM table_name_10 WHERE engine = "audi 3.6l turbo v8" AND rank = "1st" AND chassis = "audi r8r" | {
"input": "CREATE TABLE table_name_10 (year VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR)",
"instruction": "How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis?",
"output": "SELECT COUNT(year) FROM table_name_10 WHERE engine = \"audi 3.6l turbo v8\" AND rank = \"1st\" AND chassis = \"audi r8r\""
} |
### INSTRUCTION
When Kabwe Warriors (team 1) played, what was the result of the 1st leg?
### INPUT
CREATE TABLE table_name_66 (team_1 VARCHAR)
### OUTPUT
SELECT 1 AS st_leg FROM table_name_66 WHERE team_1 = "kabwe warriors" | {
"input": "CREATE TABLE table_name_66 (team_1 VARCHAR)",
"instruction": "When Kabwe Warriors (team 1) played, what was the result of the 1st leg?",
"output": "SELECT 1 AS st_leg FROM table_name_66 WHERE team_1 = \"kabwe warriors\""
} |
### INSTRUCTION
Name the simplified charaacters being hsin-yüan … i-ma
### INPUT
CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)
### OUTPUT
SELECT simplified_characters FROM table_16162581_1 WHERE wade_giles = "hsin-yüan … i-ma" | {
"input": "CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)",
"instruction": "Name the simplified charaacters being hsin-yüan … i-ma",
"output": "SELECT simplified_characters FROM table_16162581_1 WHERE wade_giles = \"hsin-yüan … i-ma\""
} |
### INSTRUCTION
What is the smallest ANSI code for adler township when Longitude is more than -101.333926, GEO ID is less than 3806700900, and Land ( sqmi ) is more than 35.84?
### INPUT
CREATE TABLE table_name_18 (ansi_code INTEGER, land___sqmi__ VARCHAR, township VARCHAR, longitude VARCHAR, geo_id VARCHAR)
### OUTPUT
SELECT MIN(ansi_code) FROM table_name_18 WHERE longitude > -101.333926 AND geo_id < 3806700900 AND township = "adler" AND land___sqmi__ > 35.84 | {
"input": "CREATE TABLE table_name_18 (ansi_code INTEGER, land___sqmi__ VARCHAR, township VARCHAR, longitude VARCHAR, geo_id VARCHAR)",
"instruction": "What is the smallest ANSI code for adler township when Longitude is more than -101.333926, GEO ID is less than 3806700900, and Land ( sqmi ) is more than 35.84?",
"output": "SELECT MIN(ansi_code) FROM table_name_18 WHERE longitude > -101.333926 AND geo_id < 3806700900 AND township = \"adler\" AND land___sqmi__ > 35.84"
} |
### INSTRUCTION
What day in January was the game greater than 49 and had @ Montreal Canadiens as opponents?
### INPUT
CREATE TABLE table_name_70 (january INTEGER, opponent VARCHAR, game VARCHAR)
### OUTPUT
SELECT SUM(january) FROM table_name_70 WHERE opponent = "@ montreal canadiens" AND game > 49 | {
"input": "CREATE TABLE table_name_70 (january INTEGER, opponent VARCHAR, game VARCHAR)",
"instruction": "What day in January was the game greater than 49 and had @ Montreal Canadiens as opponents?",
"output": "SELECT SUM(january) FROM table_name_70 WHERE opponent = \"@ montreal canadiens\" AND game > 49"
} |
### INSTRUCTION
What episode was the last appearance of the character, rikki sandoval?
### INPUT
CREATE TABLE table_11240028_3 (last_appearance VARCHAR, character VARCHAR)
### OUTPUT
SELECT last_appearance FROM table_11240028_3 WHERE character = "Rikki Sandoval" | {
"input": "CREATE TABLE table_11240028_3 (last_appearance VARCHAR, character VARCHAR)",
"instruction": "What episode was the last appearance of the character, rikki sandoval?",
"output": "SELECT last_appearance FROM table_11240028_3 WHERE character = \"Rikki Sandoval\""
} |
### INSTRUCTION
What is the name of the softball stadium for the school that has Eastern Baseball Stadium?
### INPUT
CREATE TABLE table_1974545_3 (softball_stadium VARCHAR, baseball_stadium VARCHAR)
### OUTPUT
SELECT softball_stadium FROM table_1974545_3 WHERE baseball_stadium = "Eastern Baseball Stadium" | {
"input": "CREATE TABLE table_1974545_3 (softball_stadium VARCHAR, baseball_stadium VARCHAR)",
"instruction": "What is the name of the softball stadium for the school that has Eastern Baseball Stadium?",
"output": "SELECT softball_stadium FROM table_1974545_3 WHERE baseball_stadium = \"Eastern Baseball Stadium\""
} |
### INSTRUCTION
Name the religion for Former Experience of commissioner of health and assumed office before 2005
### INPUT
CREATE TABLE table_name_73 (religion VARCHAR, assumed_office VARCHAR, former_experience VARCHAR)
### OUTPUT
SELECT religion FROM table_name_73 WHERE assumed_office < 2005 AND former_experience = "commissioner of health" | {
"input": "CREATE TABLE table_name_73 (religion VARCHAR, assumed_office VARCHAR, former_experience VARCHAR)",
"instruction": "Name the religion for Former Experience of commissioner of health and assumed office before 2005",
"output": "SELECT religion FROM table_name_73 WHERE assumed_office < 2005 AND former_experience = \"commissioner of health\""
} |
### INSTRUCTION
What is the highest year that Europe won, when the USA's Captain was Kathy Whitworth?
### INPUT
CREATE TABLE table_name_93 (year INTEGER, winning_team VARCHAR, usa_captain VARCHAR)
### OUTPUT
SELECT MAX(year) FROM table_name_93 WHERE winning_team = "europe" AND usa_captain = "kathy whitworth" | {
"input": "CREATE TABLE table_name_93 (year INTEGER, winning_team VARCHAR, usa_captain VARCHAR)",
"instruction": "What is the highest year that Europe won, when the USA's Captain was Kathy Whitworth?",
"output": "SELECT MAX(year) FROM table_name_93 WHERE winning_team = \"europe\" AND usa_captain = \"kathy whitworth\""
} |
### INSTRUCTION
display those employees who contain a letter z to their first name and also display their last name, city.
### INPUT
CREATE TABLE locations (city VARCHAR, location_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR); CREATE TABLE departments (department_id VARCHAR, location_id VARCHAR)
### OUTPUT
SELECT T1.first_name, T1.last_name, T3.city FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id WHERE T1.first_name LIKE '%z%' | {
"input": "CREATE TABLE locations (city VARCHAR, location_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR); CREATE TABLE departments (department_id VARCHAR, location_id VARCHAR)",
"instruction": "display those employees who contain a letter z to their first name and also display their last name, city.",
"output": "SELECT T1.first_name, T1.last_name, T3.city FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id WHERE T1.first_name LIKE '%z%'"
} |
### INSTRUCTION
What is the coverage area of muzik fm station, which has a music genre?
### INPUT
CREATE TABLE table_name_65 (coverage_area VARCHAR, genre VARCHAR, station VARCHAR)
### OUTPUT
SELECT coverage_area FROM table_name_65 WHERE genre = "music" AND station = "muzik fm" | {
"input": "CREATE TABLE table_name_65 (coverage_area VARCHAR, genre VARCHAR, station VARCHAR)",
"instruction": "What is the coverage area of muzik fm station, which has a music genre?",
"output": "SELECT coverage_area FROM table_name_65 WHERE genre = \"music\" AND station = \"muzik fm\""
} |
### INSTRUCTION
Find the name of the department that offers the largest number of credits of all classes.
### INPUT
CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR, crs_credit INTEGER)
### OUTPUT
SELECT T3.dept_name FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code JOIN department AS T3 ON T1.dept_code = T3.dept_code GROUP BY T1.dept_code ORDER BY SUM(T1.crs_credit) DESC LIMIT 1 | {
"input": "CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR, crs_credit INTEGER)",
"instruction": "Find the name of the department that offers the largest number of credits of all classes.",
"output": "SELECT T3.dept_name FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code JOIN department AS T3 ON T1.dept_code = T3.dept_code GROUP BY T1.dept_code ORDER BY SUM(T1.crs_credit) DESC LIMIT 1"
} |
### INSTRUCTION
Find the last name of the first ever contact person of the organization with the highest UK Vat number.
### INPUT
CREATE TABLE organizations (uk_vat_number INTEGER); CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organizations (organization_id VARCHAR, uk_vat_number INTEGER); CREATE TABLE organization_contact_individuals (organization_id VARCHAR, individual_id VARCHAR, date_contact_to VARCHAR)
### OUTPUT
SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.uk_vat_number = (SELECT MAX(uk_vat_number) FROM organizations) ORDER BY t2.date_contact_to LIMIT 1 | {
"input": "CREATE TABLE organizations (uk_vat_number INTEGER); CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organizations (organization_id VARCHAR, uk_vat_number INTEGER); CREATE TABLE organization_contact_individuals (organization_id VARCHAR, individual_id VARCHAR, date_contact_to VARCHAR)",
"instruction": "Find the last name of the first ever contact person of the organization with the highest UK Vat number.",
"output": "SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.uk_vat_number = (SELECT MAX(uk_vat_number) FROM organizations) ORDER BY t2.date_contact_to LIMIT 1"
} |
### INSTRUCTION
Which Place has Phil Mickelson as the Player?
### INPUT
CREATE TABLE table_name_67 (place VARCHAR, player VARCHAR)
### OUTPUT
SELECT place FROM table_name_67 WHERE player = "phil mickelson" | {
"input": "CREATE TABLE table_name_67 (place VARCHAR, player VARCHAR)",
"instruction": "Which Place has Phil Mickelson as the Player?",
"output": "SELECT place FROM table_name_67 WHERE player = \"phil mickelson\""
} |
### INSTRUCTION
What is the autonomous community with television channels tpa tpa2 rtpa internacional?
### INPUT
CREATE TABLE table_23143607_1 (autonomous_community VARCHAR, television_channels VARCHAR)
### OUTPUT
SELECT autonomous_community FROM table_23143607_1 WHERE television_channels = "TPA TPA2 RTPA Internacional" | {
"input": "CREATE TABLE table_23143607_1 (autonomous_community VARCHAR, television_channels VARCHAR)",
"instruction": "What is the autonomous community with television channels tpa tpa2 rtpa internacional?",
"output": "SELECT autonomous_community FROM table_23143607_1 WHERE television_channels = \"TPA TPA2 RTPA Internacional\""
} |
### INSTRUCTION
What is the id and type code for the template used by the most documents?
### INPUT
CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (Template_Type_Code VARCHAR, template_id VARCHAR)
### OUTPUT
SELECT T1.template_id, T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY COUNT(*) DESC LIMIT 1 | {
"input": "CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (Template_Type_Code VARCHAR, template_id VARCHAR)",
"instruction": "What is the id and type code for the template used by the most documents?",
"output": "SELECT T1.template_id, T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY COUNT(*) DESC LIMIT 1"
} |
### INSTRUCTION
How did he place in 1970?
### INPUT
CREATE TABLE table_name_58 (result VARCHAR, year VARCHAR)
### OUTPUT
SELECT result FROM table_name_58 WHERE year = 1970 | {
"input": "CREATE TABLE table_name_58 (result VARCHAR, year VARCHAR)",
"instruction": "How did he place in 1970?",
"output": "SELECT result FROM table_name_58 WHERE year = 1970"
} |
### INSTRUCTION
What is the length of the highway with junctions i-35 us 83 and named us 83 bus.?
### INPUT
CREATE TABLE table_name_25 (length VARCHAR, junctions VARCHAR, route_name VARCHAR)
### OUTPUT
SELECT length FROM table_name_25 WHERE junctions = "i-35 us 83" AND route_name = "us 83 bus." | {
"input": "CREATE TABLE table_name_25 (length VARCHAR, junctions VARCHAR, route_name VARCHAR)",
"instruction": "What is the length of the highway with junctions i-35 us 83 and named us 83 bus.?",
"output": "SELECT length FROM table_name_25 WHERE junctions = \"i-35 us 83\" AND route_name = \"us 83 bus.\""
} |
### INSTRUCTION
How many times was the high assists andre miller (7)?
### INPUT
CREATE TABLE table_27734769_8 (date VARCHAR, high_assists VARCHAR)
### OUTPUT
SELECT COUNT(date) FROM table_27734769_8 WHERE high_assists = "Andre Miller (7)" | {
"input": "CREATE TABLE table_27734769_8 (date VARCHAR, high_assists VARCHAR)",
"instruction": "How many times was the high assists andre miller (7)?",
"output": "SELECT COUNT(date) FROM table_27734769_8 WHERE high_assists = \"Andre Miller (7)\""
} |
### INSTRUCTION
Which Result has an Opponent of washington redskins?
### INPUT
CREATE TABLE table_name_3 (result VARCHAR, opponent VARCHAR)
### OUTPUT
SELECT result FROM table_name_3 WHERE opponent = "washington redskins" | {
"input": "CREATE TABLE table_name_3 (result VARCHAR, opponent VARCHAR)",
"instruction": "Which Result has an Opponent of washington redskins?",
"output": "SELECT result FROM table_name_3 WHERE opponent = \"washington redskins\""
} |
### INSTRUCTION
When middle assyrian empire is the ubaid period in mesopotamia what is the copper age?
### INPUT
CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR)
### OUTPUT
SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Middle Assyrian Empire" | {
"input": "CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR)",
"instruction": "When middle assyrian empire is the ubaid period in mesopotamia what is the copper age?",
"output": "SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = \"Middle Assyrian Empire\""
} |
### INSTRUCTION
What date was the race at the Symmons Plains Raceway?
### INPUT
CREATE TABLE table_22905641_2 (date VARCHAR, circuit VARCHAR)
### OUTPUT
SELECT date FROM table_22905641_2 WHERE circuit = "Symmons Plains Raceway" | {
"input": "CREATE TABLE table_22905641_2 (date VARCHAR, circuit VARCHAR)",
"instruction": "What date was the race at the Symmons Plains Raceway?",
"output": "SELECT date FROM table_22905641_2 WHERE circuit = \"Symmons Plains Raceway\""
} |
### INSTRUCTION
Who wrote the episode for s02 e07?
### INPUT
CREATE TABLE table_16384596_4 (written_by VARCHAR, broadcast_order VARCHAR)
### OUTPUT
SELECT written_by FROM table_16384596_4 WHERE broadcast_order = "S02 E07" | {
"input": "CREATE TABLE table_16384596_4 (written_by VARCHAR, broadcast_order VARCHAR)",
"instruction": "Who wrote the episode for s02 e07?",
"output": "SELECT written_by FROM table_16384596_4 WHERE broadcast_order = \"S02 E07\""
} |
### INSTRUCTION
How many different production codes are there for the episode with 4.69 million US viewers?
### INPUT
CREATE TABLE table_26429543_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
### OUTPUT
SELECT COUNT(production_code) FROM table_26429543_1 WHERE us_viewers__millions_ = "4.69" | {
"input": "CREATE TABLE table_26429543_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)",
"instruction": "How many different production codes are there for the episode with 4.69 million US viewers?",
"output": "SELECT COUNT(production_code) FROM table_26429543_1 WHERE us_viewers__millions_ = \"4.69\""
} |
### INSTRUCTION
What are the names of the county that the delegates on "Appropriations" committee belong to?
### INPUT
CREATE TABLE election (District VARCHAR, Committee VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR)
### OUTPUT
SELECT T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District WHERE T2.Committee = "Appropriations" | {
"input": "CREATE TABLE election (District VARCHAR, Committee VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR)",
"instruction": "What are the names of the county that the delegates on \"Appropriations\" committee belong to?",
"output": "SELECT T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District WHERE T2.Committee = \"Appropriations\""
} |
### INSTRUCTION
Who is the player born before 1985 who is less than 2.02 tall?
### INPUT
CREATE TABLE table_name_2 (player VARCHAR, year_born VARCHAR, height VARCHAR)
### OUTPUT
SELECT player FROM table_name_2 WHERE year_born < 1985 AND height < 2.02 | {
"input": "CREATE TABLE table_name_2 (player VARCHAR, year_born VARCHAR, height VARCHAR)",
"instruction": "Who is the player born before 1985 who is less than 2.02 tall?",
"output": "SELECT player FROM table_name_2 WHERE year_born < 1985 AND height < 2.02"
} |
### INSTRUCTION
Which Round has a School/Club Team of cal-poly slo, and a Pick smaller than 238?
### INPUT
CREATE TABLE table_name_67 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
### OUTPUT
SELECT MAX(round) FROM table_name_67 WHERE school_club_team = "cal-poly slo" AND pick < 238 | {
"input": "CREATE TABLE table_name_67 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)",
"instruction": "Which Round has a School/Club Team of cal-poly slo, and a Pick smaller than 238?",
"output": "SELECT MAX(round) FROM table_name_67 WHERE school_club_team = \"cal-poly slo\" AND pick < 238"
} |
### INSTRUCTION
Tell me the highest Grid for Maurice Trintignant and laps less than 87
### INPUT
CREATE TABLE table_name_14 (grid INTEGER, driver VARCHAR, laps VARCHAR)
### OUTPUT
SELECT MAX(grid) FROM table_name_14 WHERE driver = "maurice trintignant" AND laps < 87 | {
"input": "CREATE TABLE table_name_14 (grid INTEGER, driver VARCHAR, laps VARCHAR)",
"instruction": "Tell me the highest Grid for Maurice Trintignant and laps less than 87",
"output": "SELECT MAX(grid) FROM table_name_14 WHERE driver = \"maurice trintignant\" AND laps < 87"
} |
### INSTRUCTION
Before 2008, if the Manufacturer is dodge and the start is under 9, what's the highest finish time?
### INPUT
CREATE TABLE table_name_17 (finish INTEGER, year VARCHAR, manufacturer VARCHAR, start VARCHAR)
### OUTPUT
SELECT MAX(finish) FROM table_name_17 WHERE manufacturer = "dodge" AND start < 9 AND year < 2008 | {
"input": "CREATE TABLE table_name_17 (finish INTEGER, year VARCHAR, manufacturer VARCHAR, start VARCHAR)",
"instruction": "Before 2008, if the Manufacturer is dodge and the start is under 9, what's the highest finish time?",
"output": "SELECT MAX(finish) FROM table_name_17 WHERE manufacturer = \"dodge\" AND start < 9 AND year < 2008"
} |
### INSTRUCTION
What is the smallest year when Ubisoft Montreal was the developer (s)?
### INPUT
CREATE TABLE table_name_38 (year INTEGER, developer_s_ VARCHAR)
### OUTPUT
SELECT MIN(year) FROM table_name_38 WHERE developer_s_ = "ubisoft montreal" | {
"input": "CREATE TABLE table_name_38 (year INTEGER, developer_s_ VARCHAR)",
"instruction": "What is the smallest year when Ubisoft Montreal was the developer (s)?",
"output": "SELECT MIN(year) FROM table_name_38 WHERE developer_s_ = \"ubisoft montreal\""
} |
### INSTRUCTION
What was the emission rating in Mid-Atlantic South for the vehicle that was rated 90 g/mi (56 g/km) in Alaska and 110 g/mi (68 g/km) in California?
### INPUT
CREATE TABLE table_16105186_2 (mid_atlantic_south__washington VARCHAR, _dc_ VARCHAR, alaska___juneau__ VARCHAR, california__san_francisco_ VARCHAR)
### OUTPUT
SELECT mid_atlantic_south__washington, _dc_ FROM table_16105186_2 WHERE alaska___juneau__ = "90 g/mi (56 g/km)" AND california__san_francisco_ = "110 g/mi (68 g/km)" | {
"input": "CREATE TABLE table_16105186_2 (mid_atlantic_south__washington VARCHAR, _dc_ VARCHAR, alaska___juneau__ VARCHAR, california__san_francisco_ VARCHAR)",
"instruction": "What was the emission rating in Mid-Atlantic South for the vehicle that was rated 90 g/mi (56 g/km) in Alaska and 110 g/mi (68 g/km) in California?",
"output": "SELECT mid_atlantic_south__washington, _dc_ FROM table_16105186_2 WHERE alaska___juneau__ = \"90 g/mi (56 g/km)\" AND california__san_francisco_ = \"110 g/mi (68 g/km)\""
} |
### INSTRUCTION
What was the winning score when Steve Stricker was runner-up?
### INPUT
CREATE TABLE table_name_1 (winning_score VARCHAR, runner_s__up VARCHAR)
### OUTPUT
SELECT winning_score FROM table_name_1 WHERE runner_s__up = "steve stricker" | {
"input": "CREATE TABLE table_name_1 (winning_score VARCHAR, runner_s__up VARCHAR)",
"instruction": "What was the winning score when Steve Stricker was runner-up?",
"output": "SELECT winning_score FROM table_name_1 WHERE runner_s__up = \"steve stricker\""
} |
### INSTRUCTION
What is Record, when Opponent is San Francisco Warriors?
### INPUT
CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR)
### OUTPUT
SELECT record FROM table_name_78 WHERE opponent = "san francisco warriors" | {
"input": "CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR)",
"instruction": "What is Record, when Opponent is San Francisco Warriors?",
"output": "SELECT record FROM table_name_78 WHERE opponent = \"san francisco warriors\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.