instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
Which of the opponents has a record of 17-25?
CREATE TABLE table_name_52 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_52 WHERE record = "17-25"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (opponent VARCHAR, record VARCHAR) Question: Which of the opponents has a record of 17-25? [/INST] SELECT opponent FROM table_name_52 WHERE record = "17-25" </s>
Who was the opponent that played on may 12?
CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_32 WHERE date = "may 12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR) Question: Who was the opponent that played on may 12? [/INST] SELECT opponent FROM table_name_32 WHERE date = "may 12" </s>
When in the 1st league position, how many people watch as they faced West Ham United?
CREATE TABLE table_name_18 (attendance INTEGER, league_position VARCHAR, opponents VARCHAR)
SELECT MIN(attendance) FROM table_name_18 WHERE league_position = "1st" AND opponents = "west ham united"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (attendance INTEGER, league_position VARCHAR, opponents VARCHAR) Question: When in the 1st league position, how many people watch as they faced West Ham United? [/INST] SELECT MIN(attendance) FROM ...
What is the average bronze medals of Uganda's swimmers when they earned over 2 medals?
CREATE TABLE table_name_29 (bronze INTEGER, nation VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_29 WHERE nation = "uganda" AND total > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (bronze INTEGER, nation VARCHAR, total VARCHAR) Question: What is the average bronze medals of Uganda's swimmers when they earned over 2 medals? [/INST] SELECT AVG(bronze) FROM table_name_29 WHERE ...
What is the highest number of silver medals that Ireland earned when they scored less than 3 bronze medals and earned 1 medal?
CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT MAX(silver) FROM table_name_95 WHERE bronze < 3 AND gold < 1 AND total = 1 AND nation = "ireland"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR) Question: What is the highest number of silver medals that Ireland earned when they scored less than 3 bronze medals an...
What's the highest silver and 1 gold that the nation of djibouti received with a total less than 3?
CREATE TABLE table_name_25 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT MAX(silver) FROM table_name_25 WHERE gold = 1 AND nation = "djibouti" AND total < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) Question: What's the highest silver and 1 gold that the nation of djibouti received with a total less than 3? [/INST] SELECT MAX(silver...
What's the total number that had a rank larger than 17 and a gold greater than 0?
CREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, gold VARCHAR)
SELECT COUNT(total) FROM table_name_73 WHERE rank > 17 AND gold > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, gold VARCHAR) Question: What's the total number that had a rank larger than 17 and a gold greater than 0? [/INST] SELECT COUNT(total) FROM table_name_73 WHERE rank > 1...
Which opponent was faced before week 2?
CREATE TABLE table_name_44 (opponent VARCHAR, week INTEGER)
SELECT opponent FROM table_name_44 WHERE week < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (opponent VARCHAR, week INTEGER) Question: Which opponent was faced before week 2? [/INST] SELECT opponent FROM table_name_44 WHERE week < 2 </s>
Name the least total for 1978 years won
CREATE TABLE table_name_30 (total INTEGER, year_s__won VARCHAR)
SELECT MIN(total) FROM table_name_30 WHERE year_s__won = "1978"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (total INTEGER, year_s__won VARCHAR) Question: Name the least total for 1978 years won [/INST] SELECT MIN(total) FROM table_name_30 WHERE year_s__won = "1978" </s>
Name the total with finish of t22
CREATE TABLE table_name_24 (total VARCHAR, finish VARCHAR)
SELECT total FROM table_name_24 WHERE finish = "t22"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (total VARCHAR, finish VARCHAR) Question: Name the total with finish of t22 [/INST] SELECT total FROM table_name_24 WHERE finish = "t22" </s>
Name the average total for years won of 1975
CREATE TABLE table_name_47 (total INTEGER, year_s__won VARCHAR)
SELECT AVG(total) FROM table_name_47 WHERE year_s__won = "1975"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (total INTEGER, year_s__won VARCHAR) Question: Name the average total for years won of 1975 [/INST] SELECT AVG(total) FROM table_name_47 WHERE year_s__won = "1975" </s>
Name the finish with player lou graham
CREATE TABLE table_name_26 (finish VARCHAR, player VARCHAR)
SELECT finish FROM table_name_26 WHERE player = "lou graham"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (finish VARCHAR, player VARCHAR) Question: Name the finish with player lou graham [/INST] SELECT finish FROM table_name_26 WHERE player = "lou graham" </s>
Name the total number of total with finish of t45
CREATE TABLE table_name_7 (total VARCHAR, finish VARCHAR)
SELECT COUNT(total) FROM table_name_7 WHERE finish = "t45"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (total VARCHAR, finish VARCHAR) Question: Name the total number of total with finish of t45 [/INST] SELECT COUNT(total) FROM table_name_7 WHERE finish = "t45" </s>
What year was the League the malaysian super league, and a Malaysia Cup of group stage?
CREATE TABLE table_name_73 (year VARCHAR, league VARCHAR, malaysia_cup VARCHAR)
SELECT year FROM table_name_73 WHERE league = "malaysian super league" AND malaysia_cup = "group stage"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (year VARCHAR, league VARCHAR, malaysia_cup VARCHAR) Question: What year was the League the malaysian super league, and a Malaysia Cup of group stage? [/INST] SELECT year FROM table_name_73 WHERE l...
What is the position when the League is the malaysian super league, and a Year of 2011?
CREATE TABLE table_name_85 (position VARCHAR, league VARCHAR, year VARCHAR)
SELECT position FROM table_name_85 WHERE league = "malaysian super league" AND year = "2011"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (position VARCHAR, league VARCHAR, year VARCHAR) Question: What is the position when the League is the malaysian super league, and a Year of 2011? [/INST] SELECT position FROM table_name_85 WHERE l...
What year was the position 6/13?
CREATE TABLE table_name_75 (year VARCHAR, position VARCHAR)
SELECT year FROM table_name_75 WHERE position = "6/13"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (year VARCHAR, position VARCHAR) Question: What year was the position 6/13? [/INST] SELECT year FROM table_name_75 WHERE position = "6/13" </s>
What year was the League of malaysian super league, and the Position was 10/14?
CREATE TABLE table_name_38 (year VARCHAR, league VARCHAR, position VARCHAR)
SELECT year FROM table_name_38 WHERE league = "malaysian super league" AND position = "10/14"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (year VARCHAR, league VARCHAR, position VARCHAR) Question: What year was the League of malaysian super league, and the Position was 10/14? [/INST] SELECT year FROM table_name_38 WHERE league = "mal...
tell me the average roll for the featherston area and integrated authority.
CREATE TABLE table_name_48 (roll INTEGER, area VARCHAR, authority VARCHAR)
SELECT AVG(roll) FROM table_name_48 WHERE area = "featherston" AND authority = "integrated"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (roll INTEGER, area VARCHAR, authority VARCHAR) Question: tell me the average roll for the featherston area and integrated authority. [/INST] SELECT AVG(roll) FROM table_name_48 WHERE area = "feath...
tell me the authority that has a decile less than 6 and roll less than 65.
CREATE TABLE table_name_43 (authority VARCHAR, decile VARCHAR, roll VARCHAR)
SELECT authority FROM table_name_43 WHERE decile < 6 AND roll < 65
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (authority VARCHAR, decile VARCHAR, roll VARCHAR) Question: tell me the authority that has a decile less than 6 and roll less than 65. [/INST] SELECT authority FROM table_name_43 WHERE decile < 6 A...
tell me the average roll for pirinoa school.
CREATE TABLE table_name_83 (roll INTEGER, name VARCHAR)
SELECT AVG(roll) FROM table_name_83 WHERE name = "pirinoa school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (roll INTEGER, name VARCHAR) Question: tell me the average roll for pirinoa school. [/INST] SELECT AVG(roll) FROM table_name_83 WHERE name = "pirinoa school" </s>
tell me the total number of decile with a roll showing 251.
CREATE TABLE table_name_90 (decile VARCHAR, roll VARCHAR)
SELECT COUNT(decile) FROM table_name_90 WHERE roll = 251
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (decile VARCHAR, roll VARCHAR) Question: tell me the total number of decile with a roll showing 251. [/INST] SELECT COUNT(decile) FROM table_name_90 WHERE roll = 251 </s>
What is the score for 2004?
CREATE TABLE table_name_69 (score VARCHAR, year VARCHAR)
SELECT score FROM table_name_69 WHERE year = 2004
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (score VARCHAR, year VARCHAR) Question: What is the score for 2004? [/INST] SELECT score FROM table_name_69 WHERE year = 2004 </s>
what is the location when the champion is brigham young-hawaii, defeated is western oregon and the score is 3-0 (15-5, 15-9, 15-6)?
CREATE TABLE table_name_72 (location VARCHAR, score VARCHAR, champion VARCHAR, defeated VARCHAR)
SELECT location FROM table_name_72 WHERE champion = "brigham young-hawaii" AND defeated = "western oregon" AND score = "3-0 (15-5, 15-9, 15-6)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (location VARCHAR, score VARCHAR, champion VARCHAR, defeated VARCHAR) Question: what is the location when the champion is brigham young-hawaii, defeated is western oregon and the score is 3-0 (15-5...
what is the year when the location is san diego, california and defeated is houston baptist (texas)?
CREATE TABLE table_name_96 (year VARCHAR, location VARCHAR, defeated VARCHAR)
SELECT COUNT(year) FROM table_name_96 WHERE location = "san diego, california" AND defeated = "houston baptist (texas)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (year VARCHAR, location VARCHAR, defeated VARCHAR) Question: what is the year when the location is san diego, california and defeated is houston baptist (texas)? [/INST] SELECT COUNT(year) FROM tab...
Operation start of 2015 has what gross mw?
CREATE TABLE table_name_56 (gross_mw VARCHAR, operation_start VARCHAR)
SELECT gross_mw FROM table_name_56 WHERE operation_start = "2015"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (gross_mw VARCHAR, operation_start VARCHAR) Question: Operation start of 2015 has what gross mw? [/INST] SELECT gross_mw FROM table_name_56 WHERE operation_start = "2015" </s>
Gross MW of 220, and a Unit of kakrapar 1 involves what operation start?
CREATE TABLE table_name_44 (operation_start VARCHAR, gross_mw VARCHAR, unit VARCHAR)
SELECT operation_start FROM table_name_44 WHERE gross_mw = "220" AND unit = "kakrapar 1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (operation_start VARCHAR, gross_mw VARCHAR, unit VARCHAR) Question: Gross MW of 220, and a Unit of kakrapar 1 involves what operation start? [/INST] SELECT operation_start FROM table_name_44 WHERE ...
Type of phase ii has what gross mw?
CREATE TABLE table_name_94 (gross_mw VARCHAR, type VARCHAR)
SELECT gross_mw FROM table_name_94 WHERE type = "phase ii"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (gross_mw VARCHAR, type VARCHAR) Question: Type of phase ii has what gross mw? [/INST] SELECT gross_mw FROM table_name_94 WHERE type = "phase ii" </s>
Construction start of phase i includes what type?
CREATE TABLE table_name_61 (type VARCHAR, construction_start VARCHAR)
SELECT type FROM table_name_61 WHERE construction_start = "phase i"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (type VARCHAR, construction_start VARCHAR) Question: Construction start of phase i includes what type? [/INST] SELECT type FROM table_name_61 WHERE construction_start = "phase i" </s>
Construction start of 1 december 1984 is what unit?
CREATE TABLE table_name_75 (unit VARCHAR, construction_start VARCHAR)
SELECT unit FROM table_name_75 WHERE construction_start = "1 december 1984"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (unit VARCHAR, construction_start VARCHAR) Question: Construction start of 1 december 1984 is what unit? [/INST] SELECT unit FROM table_name_75 WHERE construction_start = "1 december 1984" </s>
Construction start of phase ii has what operation start?
CREATE TABLE table_name_51 (operation_start VARCHAR, construction_start VARCHAR)
SELECT operation_start FROM table_name_51 WHERE construction_start = "phase ii"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (operation_start VARCHAR, construction_start VARCHAR) Question: Construction start of phase ii has what operation start? [/INST] SELECT operation_start FROM table_name_51 WHERE construction_start =...
what's the ungen for αžαŸ’αžšαžΈαž‘αžŸ?
CREATE TABLE table_name_70 (ungegn VARCHAR, word_form VARCHAR)
SELECT ungegn FROM table_name_70 WHERE word_form = "αžαŸ’αžšαžΈαž‘αžŸ"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (ungegn VARCHAR, word_form VARCHAR) Question: what's the ungen for αžαŸ’αžšαžΈαž‘αžŸ? [/INST] SELECT ungegn FROM table_name_70 WHERE word_form = "αžαŸ’αžšαžΈαž‘αžŸ" </s>
what notes have the khmer ្៨?
CREATE TABLE table_name_59 (notes VARCHAR, khmer VARCHAR)
SELECT notes FROM table_name_59 WHERE khmer = "្៨"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (notes VARCHAR, khmer VARCHAR) Question: what notes have the khmer ្៨? [/INST] SELECT notes FROM table_name_59 WHERE khmer = "្៨" </s>
what's the ungegn for the ៑០០ khmer?
CREATE TABLE table_name_23 (ungegn VARCHAR, khmer VARCHAR)
SELECT ungegn FROM table_name_23 WHERE khmer = "៑០០"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (ungegn VARCHAR, khmer VARCHAR) Question: what's the ungegn for the ៑០០ khmer? [/INST] SELECT ungegn FROM table_name_23 WHERE khmer = "៑០០" </s>
What was the population of Puerto Rico in 2010?
CREATE TABLE table_name_22 (population___2010__ INTEGER, territory VARCHAR)
SELECT MAX(population___2010__) FROM table_name_22 WHERE territory = "puerto rico"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (population___2010__ INTEGER, territory VARCHAR) Question: What was the population of Puerto Rico in 2010? [/INST] SELECT MAX(population___2010__) FROM table_name_22 WHERE territory = "puerto rico"...
What is the territory that was acquired past 1899 and has a capital of saipan?
CREATE TABLE table_name_37 (territory VARCHAR, acquired VARCHAR, capital VARCHAR)
SELECT territory FROM table_name_37 WHERE acquired > 1899 AND capital = "saipan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (territory VARCHAR, acquired VARCHAR, capital VARCHAR) Question: What is the territory that was acquired past 1899 and has a capital of saipan? [/INST] SELECT territory FROM table_name_37 WHERE acq...
Name the termination of mission for appointed by of franklin pierce
CREATE TABLE table_name_76 (termination_of_mission VARCHAR, appointed_by VARCHAR)
SELECT termination_of_mission FROM table_name_76 WHERE appointed_by = "franklin pierce"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (termination_of_mission VARCHAR, appointed_by VARCHAR) Question: Name the termination of mission for appointed by of franklin pierce [/INST] SELECT termination_of_mission FROM table_name_76 WHERE a...
Name the representative with presentation of credentials of august 16, 1928
CREATE TABLE table_name_45 (representative VARCHAR, presentation_of_credentials VARCHAR)
SELECT representative FROM table_name_45 WHERE presentation_of_credentials = "august 16, 1928"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (representative VARCHAR, presentation_of_credentials VARCHAR) Question: Name the representative with presentation of credentials of august 16, 1928 [/INST] SELECT representative FROM table_name_45 ...
Name the representative appointed by george w. bush with presentation of credentials 9 november 2007
CREATE TABLE table_name_65 (representative VARCHAR, appointed_by VARCHAR, presentation_of_credentials VARCHAR)
SELECT representative FROM table_name_65 WHERE appointed_by = "george w. bush" AND presentation_of_credentials = "9 november 2007"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (representative VARCHAR, appointed_by VARCHAR, presentation_of_credentials VARCHAR) Question: Name the representative appointed by george w. bush with presentation of credentials 9 november 2007 [/...
Name the title with representative edward h. strobel
CREATE TABLE table_name_21 (title VARCHAR, representative VARCHAR)
SELECT title FROM table_name_21 WHERE representative = "edward h. strobel"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (title VARCHAR, representative VARCHAR) Question: Name the title with representative edward h. strobel [/INST] SELECT title FROM table_name_21 WHERE representative = "edward h. strobel" </s>
Which Country that has 600?
CREATE TABLE table_name_43 (country VARCHAR, money___$__ VARCHAR)
SELECT country FROM table_name_43 WHERE money___$__ = 600
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (country VARCHAR, money___$__ VARCHAR) Question: Which Country that has 600? [/INST] SELECT country FROM table_name_43 WHERE money___$__ = 600 </s>
What is the to par that has macdonald smith as the player?
CREATE TABLE table_name_41 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_41 WHERE player = "macdonald smith"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (to_par VARCHAR, player VARCHAR) Question: What is the to par that has macdonald smith as the player? [/INST] SELECT to_par FROM table_name_41 WHERE player = "macdonald smith" </s>
Which country has t6 as a place and 75-70=145 as the score?
CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_9 WHERE place = "t6" AND score = 75 - 70 = 145
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, score VARCHAR) Question: Which country has t6 as a place and 75-70=145 as the score? [/INST] SELECT country FROM table_name_9 WHERE place = "t6" AND score = 75 - 70 ...
What is the to par that has jimmy hines as the player?
CREATE TABLE table_name_46 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_46 WHERE player = "jimmy hines"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (to_par VARCHAR, player VARCHAR) Question: What is the to par that has jimmy hines as the player? [/INST] SELECT to_par FROM table_name_46 WHERE player = "jimmy hines" </s>
Which score has t3 as the place?
CREATE TABLE table_name_27 (score VARCHAR, place VARCHAR)
SELECT score FROM table_name_27 WHERE place = "t3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (score VARCHAR, place VARCHAR) Question: Which score has t3 as the place? [/INST] SELECT score FROM table_name_27 WHERE place = "t3" </s>
Which place has horton smith as the player?
CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_10 WHERE player = "horton smith"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR) Question: Which place has horton smith as the player? [/INST] SELECT place FROM table_name_10 WHERE player = "horton smith" </s>
Which place has United States as the country and Craig Wood as the player?
CREATE TABLE table_name_88 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT place FROM table_name_88 WHERE country = "united states" AND player = "craig wood"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (place VARCHAR, country VARCHAR, player VARCHAR) Question: Which place has United States as the country and Craig Wood as the player? [/INST] SELECT place FROM table_name_88 WHERE country = "united...
What was the 2013 finish for the tournament that had a 2007 finish of A?
CREATE TABLE table_name_94 (Id VARCHAR)
SELECT 2013 FROM table_name_94 WHERE 2007 = "a"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (Id VARCHAR) Question: What was the 2013 finish for the tournament that had a 2007 finish of A? [/INST] SELECT 2013 FROM table_name_94 WHERE 2007 = "a" </s>
What was the 2012 finish in the US Open?
CREATE TABLE table_name_62 (tournament VARCHAR)
SELECT 2012 FROM table_name_62 WHERE tournament = "us open"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (tournament VARCHAR) Question: What was the 2012 finish in the US Open? [/INST] SELECT 2012 FROM table_name_62 WHERE tournament = "us open" </s>
Which tournament had a 2010 finish of 4R?
CREATE TABLE table_name_42 (tournament VARCHAR)
SELECT tournament FROM table_name_42 WHERE 2010 = "4r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (tournament VARCHAR) Question: Which tournament had a 2010 finish of 4R? [/INST] SELECT tournament FROM table_name_42 WHERE 2010 = "4r" </s>
What is the qualification for rank of 29 in 1957?
CREATE TABLE table_name_70 (qual VARCHAR, rank VARCHAR, year VARCHAR)
SELECT qual FROM table_name_70 WHERE rank = "29" AND year = "1957"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (qual VARCHAR, rank VARCHAR, year VARCHAR) Question: What is the qualification for rank of 29 in 1957? [/INST] SELECT qual FROM table_name_70 WHERE rank = "29" AND year = "1957" </s>
What is the Place when the To par was +3 and Score was 74-73=147?
CREATE TABLE table_name_46 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_46 WHERE to_par = "+3" AND score = 74 - 73 = 147
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (place VARCHAR, to_par VARCHAR, score VARCHAR) Question: What is the Place when the To par was +3 and Score was 74-73=147? [/INST] SELECT place FROM table_name_46 WHERE to_par = "+3" AND score = 74...
When the To par is E, what is the Score?
CREATE TABLE table_name_62 (score VARCHAR, to_par VARCHAR)
SELECT score FROM table_name_62 WHERE to_par = "e"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (score VARCHAR, to_par VARCHAR) Question: When the To par is E, what is the Score? [/INST] SELECT score FROM table_name_62 WHERE to_par = "e" </s>
What was Lloyd Mangrum's Score?
CREATE TABLE table_name_63 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_63 WHERE player = "lloyd mangrum"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (score VARCHAR, player VARCHAR) Question: What was Lloyd Mangrum's Score? [/INST] SELECT score FROM table_name_63 WHERE player = "lloyd mangrum" </s>
What Dave Douglas' Place?
CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_66 WHERE player = "dave douglas"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR) Question: What Dave Douglas' Place? [/INST] SELECT place FROM table_name_66 WHERE player = "dave douglas" </s>
What's Chick Harbert's To par?
CREATE TABLE table_name_21 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_21 WHERE player = "chick harbert"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (to_par VARCHAR, player VARCHAR) Question: What's Chick Harbert's To par? [/INST] SELECT to_par FROM table_name_21 WHERE player = "chick harbert" </s>
What United States Player has a To par of +4 and a Score of 71-77=148?
CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_67 WHERE country = "united states" AND to_par = "+4" AND score = 71 - 77 = 148
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR) Question: What United States Player has a To par of +4 and a Score of 71-77=148? [/INST] SELECT player FROM table_name_67 WHERE coun...
What is South Korea's to par value?
CREATE TABLE table_name_69 (to_par VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_69 WHERE country = "south korea"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (to_par VARCHAR, country VARCHAR) Question: What is South Korea's to par value? [/INST] SELECT to_par FROM table_name_69 WHERE country = "south korea" </s>
What are Tiger Woods' average earnings?
CREATE TABLE table_name_86 (money___ INTEGER, player VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_86 WHERE player = "tiger woods"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (money___ INTEGER, player VARCHAR) Question: What are Tiger Woods' average earnings? [/INST] SELECT AVG(money___) AS $__ FROM table_name_86 WHERE player = "tiger woods" </s>
What's the method for a record of 4-2 and round smaller than 3?
CREATE TABLE table_name_78 (method VARCHAR, round VARCHAR, record VARCHAR)
SELECT method FROM table_name_78 WHERE round < 3 AND record = "4-2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (method VARCHAR, round VARCHAR, record VARCHAR) Question: What's the method for a record of 4-2 and round smaller than 3? [/INST] SELECT method FROM table_name_78 WHERE round < 3 AND record = "4-2"...
Where's the location for the opponent James Zikic and 3 rounds?
CREATE TABLE table_name_99 (location VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_99 WHERE round = 3 AND opponent = "james zikic"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (location VARCHAR, round VARCHAR, opponent VARCHAR) Question: Where's the location for the opponent James Zikic and 3 rounds? [/INST] SELECT location FROM table_name_99 WHERE round = 3 AND opponent...
Name the spouse for louise of hesse-kassel
CREATE TABLE table_name_83 (spouse VARCHAR, name VARCHAR)
SELECT spouse FROM table_name_83 WHERE name = "louise of hesse-kassel"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (spouse VARCHAR, name VARCHAR) Question: Name the spouse for louise of hesse-kassel [/INST] SELECT spouse FROM table_name_83 WHERE name = "louise of hesse-kassel" </s>
Name the became consort for christian ix spouse
CREATE TABLE table_name_31 (became_consort VARCHAR, spouse VARCHAR)
SELECT became_consort FROM table_name_31 WHERE spouse = "christian ix"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (became_consort VARCHAR, spouse VARCHAR) Question: Name the became consort for christian ix spouse [/INST] SELECT became_consort FROM table_name_31 WHERE spouse = "christian ix" </s>
Name the marriagefor ceased to be consort of 29 september 1898
CREATE TABLE table_name_6 (marriage VARCHAR, ceased_to_be_consort VARCHAR)
SELECT marriage FROM table_name_6 WHERE ceased_to_be_consort = "29 september 1898"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (marriage VARCHAR, ceased_to_be_consort VARCHAR) Question: Name the marriagefor ceased to be consort of 29 september 1898 [/INST] SELECT marriage FROM table_name_6 WHERE ceased_to_be_consort = "29 s...
Tell me the name of the person married to frederick ix
CREATE TABLE table_name_71 (name VARCHAR, spouse VARCHAR)
SELECT name FROM table_name_71 WHERE spouse = "frederick ix"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (name VARCHAR, spouse VARCHAR) Question: Tell me the name of the person married to frederick ix [/INST] SELECT name FROM table_name_71 WHERE spouse = "frederick ix" </s>
Name the birth of the person married 24 may 1935
CREATE TABLE table_name_8 (birth VARCHAR, marriage VARCHAR)
SELECT birth FROM table_name_8 WHERE marriage = "24 may 1935"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (birth VARCHAR, marriage VARCHAR) Question: Name the birth of the person married 24 may 1935 [/INST] SELECT birth FROM table_name_8 WHERE marriage = "24 may 1935" </s>
What was the rank of the player in lane 6?
CREATE TABLE table_name_73 (rank INTEGER, lane VARCHAR)
SELECT AVG(rank) FROM table_name_73 WHERE lane = 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (rank INTEGER, lane VARCHAR) Question: What was the rank of the player in lane 6? [/INST] SELECT AVG(rank) FROM table_name_73 WHERE lane = 6 </s>
Name the average year with Laps of 6
CREATE TABLE table_name_11 (year INTEGER, laps VARCHAR)
SELECT AVG(year) FROM table_name_11 WHERE laps = 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (year INTEGER, laps VARCHAR) Question: Name the average year with Laps of 6 [/INST] SELECT AVG(year) FROM table_name_11 WHERE laps = 6 </s>
Which Language has a Number of 553 633?
CREATE TABLE table_name_64 (language VARCHAR, number VARCHAR)
SELECT language FROM table_name_64 WHERE number = "553 633"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (language VARCHAR, number VARCHAR) Question: Which Language has a Number of 553 633? [/INST] SELECT language FROM table_name_64 WHERE number = "553 633" </s>
Which Males have a percentage of 0.42?
CREATE TABLE table_name_76 (males VARCHAR, percentage___percentage_ VARCHAR)
SELECT males FROM table_name_76 WHERE percentage___percentage_ = "0.42"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (males VARCHAR, percentage___percentage_ VARCHAR) Question: Which Males have a percentage of 0.42? [/INST] SELECT males FROM table_name_76 WHERE percentage___percentage_ = "0.42" </s>
What's the Language with a percentage of 6.49?
CREATE TABLE table_name_69 (language VARCHAR, percentage___percentage_ VARCHAR)
SELECT language FROM table_name_69 WHERE percentage___percentage_ = "6.49"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (language VARCHAR, percentage___percentage_ VARCHAR) Question: What's the Language with a percentage of 6.49? [/INST] SELECT language FROM table_name_69 WHERE percentage___percentage_ = "6.49" </s>
What Number has a Language listed as other?
CREATE TABLE table_name_33 (number VARCHAR, language VARCHAR)
SELECT number FROM table_name_33 WHERE language = "other"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (number VARCHAR, language VARCHAR) Question: What Number has a Language listed as other? [/INST] SELECT number FROM table_name_33 WHERE language = "other" </s>
what is the highest gold count when total is more than 3, bronze less than 3, and nation of belarus with silver count more than 2?
CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT MAX(gold) FROM table_name_28 WHERE total > 3 AND bronze < 3 AND nation = "belarus" AND silver > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR) Question: what is the highest gold count when total is more than 3, bronze less than 3, and nation of belarus with silv...
with silver count at 0, what is the lowest bronze count?
CREATE TABLE table_name_82 (bronze INTEGER, silver INTEGER)
SELECT MIN(bronze) FROM table_name_82 WHERE silver < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (bronze INTEGER, silver INTEGER) Question: with silver count at 0, what is the lowest bronze count? [/INST] SELECT MIN(bronze) FROM table_name_82 WHERE silver < 0 </s>
what is the gold count with total less than 3 and more than 1 silver?
CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR)
SELECT MIN(gold) FROM table_name_68 WHERE total < 3 AND silver > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR) Question: what is the gold count with total less than 3 and more than 1 silver? [/INST] SELECT MIN(gold) FROM table_name_68 WHERE total < 3 AND silver ...
Who built the ship that is 42.8 m long and was delivered in 2007?
CREATE TABLE table_name_83 (builder VARCHAR, length VARCHAR, delivery VARCHAR)
SELECT builder FROM table_name_83 WHERE length = "42.8 m" AND delivery = 2007
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (builder VARCHAR, length VARCHAR, delivery VARCHAR) Question: Who built the ship that is 42.8 m long and was delivered in 2007? [/INST] SELECT builder FROM table_name_83 WHERE length = "42.8 m" AND...
Who was the Human Resources & Operations person between 2003-2004?
CREATE TABLE table_name_14 (human_resources_ VARCHAR, _operations VARCHAR, year VARCHAR)
SELECT human_resources_ & _operations FROM table_name_14 WHERE year = "2003-2004"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (human_resources_ VARCHAR, _operations VARCHAR, year VARCHAR) Question: Who was the Human Resources & Operations person between 2003-2004? [/INST] SELECT human_resources_ & _operations FROM table_n...
Who was in local affairs when the Human Resources & Operations was N. Charles Hamilton?
CREATE TABLE table_name_9 (local_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR)
SELECT local_affairs FROM table_name_9 WHERE human_resources_ & _operations = "n. charles hamilton"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (local_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) Question: Who was in local affairs when the Human Resources & Operations was N. Charles Hamilton? [/INST] SELECT local_affairs ...
Who was in Human Resources & Operations when David Hornsby was in Academic & University Affairs?
CREATE TABLE table_name_56 (human_resources_ VARCHAR, _operations VARCHAR, academic_ VARCHAR, _university_affairs VARCHAR)
SELECT human_resources_ & _operations FROM table_name_56 WHERE academic_ & _university_affairs = "david hornsby"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (human_resources_ VARCHAR, _operations VARCHAR, academic_ VARCHAR, _university_affairs VARCHAR) Question: Who was in Human Resources & Operations when David Hornsby was in Academic & University Aff...
Who was in external affairs when Jakki Doyle was in Human Resources & Operations?
CREATE TABLE table_name_81 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR)
SELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = "jakki doyle"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) Question: Who was in external affairs when Jakki Doyle was in Human Resources & Operations? [/INST] SELECT external_affairs...
Who was in local affairs in 2012-2013?
CREATE TABLE table_name_9 (local_affairs VARCHAR, year VARCHAR)
SELECT local_affairs FROM table_name_9 WHERE year = "2012-2013"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (local_affairs VARCHAR, year VARCHAR) Question: Who was in local affairs in 2012-2013? [/INST] SELECT local_affairs FROM table_name_9 WHERE year = "2012-2013" </s>
Who was in Academic & University Affairs when Andrew Langille was in local affairs?
CREATE TABLE table_name_72 (academic_ VARCHAR, _university_affairs VARCHAR, local_affairs VARCHAR)
SELECT academic_ & _university_affairs FROM table_name_72 WHERE local_affairs = "andrew langille"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (academic_ VARCHAR, _university_affairs VARCHAR, local_affairs VARCHAR) Question: Who was in Academic & University Affairs when Andrew Langille was in local affairs? [/INST] SELECT academic_ & _un...
Which Perth's gold coast and Adelaide were yes when Auckland was no?
CREATE TABLE table_name_51 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)
SELECT perth FROM table_name_51 WHERE gold_coast = "yes" AND adelaide = "yes" AND auckland = "no"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) Question: Which Perth's gold coast and Adelaide were yes when Auckland was no? [/INST] SELECT perth FROM table_name_51 WHERE ...
Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no?
CREATE TABLE table_name_59 (melbourne VARCHAR, sydney VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)
SELECT melbourne FROM table_name_59 WHERE gold_coast = "yes" AND adelaide = "no" AND sydney = "yes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (melbourne VARCHAR, sydney VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) Question: Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no? [/INST] SELECT melbourne...
Which Adelaide's Melbourne and Perth were yes when Auckland was no?
CREATE TABLE table_name_20 (adelaide VARCHAR, perth VARCHAR, melbourne VARCHAR, auckland VARCHAR)
SELECT adelaide FROM table_name_20 WHERE melbourne = "yes" AND auckland = "no" AND perth = "yes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (adelaide VARCHAR, perth VARCHAR, melbourne VARCHAR, auckland VARCHAR) Question: Which Adelaide's Melbourne and Perth were yes when Auckland was no? [/INST] SELECT adelaide FROM table_name_20 WHERE...
Which Sydney's Melbourne was no, when Auckland was yes?
CREATE TABLE table_name_94 (sydney VARCHAR, melbourne VARCHAR, auckland VARCHAR)
SELECT sydney FROM table_name_94 WHERE melbourne = "no" AND auckland = "yes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (sydney VARCHAR, melbourne VARCHAR, auckland VARCHAR) Question: Which Sydney's Melbourne was no, when Auckland was yes? [/INST] SELECT sydney FROM table_name_94 WHERE melbourne = "no" AND auckland ...
Which Syndney's Gold coast, Adelaide, Melbourne, and Auckland were all no?
CREATE TABLE table_name_47 (sydney VARCHAR, auckland VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)
SELECT sydney FROM table_name_47 WHERE gold_coast = "no" AND adelaide = "no" AND melbourne = "no" AND auckland = "no"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (sydney VARCHAR, auckland VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) Question: Which Syndney's Gold coast, Adelaide, Melbourne, and Auckland were all no? [/INST] SELECT sydne...
Which Adelaide's Melbourne, Sydney, and Gold Coast were all no?
CREATE TABLE table_name_30 (adelaide VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, sydney VARCHAR)
SELECT adelaide FROM table_name_30 WHERE melbourne = "no" AND sydney = "no" AND gold_coast = "no"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (adelaide VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, sydney VARCHAR) Question: Which Adelaide's Melbourne, Sydney, and Gold Coast were all no? [/INST] SELECT adelaide FROM table_name_30 WHERE ...
Name the date which has type of plain stage
CREATE TABLE table_name_2 (date VARCHAR, type VARCHAR)
SELECT date FROM table_name_2 WHERE type = "plain stage"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, type VARCHAR) Question: Name the date which has type of plain stage [/INST] SELECT date FROM table_name_2 WHERE type = "plain stage" </s>
Name the distance for Course of vittorio veneto to marina romea
CREATE TABLE table_name_3 (distance VARCHAR, course VARCHAR)
SELECT distance FROM table_name_3 WHERE course = "vittorio veneto to marina romea"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (distance VARCHAR, course VARCHAR) Question: Name the distance for Course of vittorio veneto to marina romea [/INST] SELECT distance FROM table_name_3 WHERE course = "vittorio veneto to marina romea...
Who was the partner that played a match on a grass court?
CREATE TABLE table_name_52 (partner VARCHAR, surface VARCHAR)
SELECT partner FROM table_name_52 WHERE surface = "grass"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (partner VARCHAR, surface VARCHAR) Question: Who was the partner that played a match on a grass court? [/INST] SELECT partner FROM table_name_52 WHERE surface = "grass" </s>
What was the score of the match in which mardy fish was the partner?
CREATE TABLE table_name_72 (score VARCHAR, partner VARCHAR)
SELECT score FROM table_name_72 WHERE partner = "mardy fish"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (score VARCHAR, partner VARCHAR) Question: What was the score of the match in which mardy fish was the partner? [/INST] SELECT score FROM table_name_72 WHERE partner = "mardy fish" </s>
Who were the opponents in the match that was played on a hard court and had a runner-up outcome?
CREATE TABLE table_name_84 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR)
SELECT opponents FROM table_name_84 WHERE surface = "hard" AND outcome = "runner-up"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR) Question: Who were the opponents in the match that was played on a hard court and had a runner-up outcome? [/INST] SELECT opponents FROM table_...
What is the time when the opponent is phil collins?
CREATE TABLE table_name_86 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_86 WHERE opponent = "phil collins"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (time VARCHAR, opponent VARCHAR) Question: What is the time when the opponent is phil collins? [/INST] SELECT time FROM table_name_86 WHERE opponent = "phil collins" </s>
what is the total number of rounds when method is tko (punches) and time is 0:40?
CREATE TABLE table_name_22 (round VARCHAR, method VARCHAR, time VARCHAR)
SELECT COUNT(round) FROM table_name_22 WHERE method = "tko (punches)" AND time = "0:40"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (round VARCHAR, method VARCHAR, time VARCHAR) Question: what is the total number of rounds when method is tko (punches) and time is 0:40? [/INST] SELECT COUNT(round) FROM table_name_22 WHERE method...
what is the method when the time is 0:51?
CREATE TABLE table_name_5 (method VARCHAR, time VARCHAR)
SELECT method FROM table_name_5 WHERE time = "0:51"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (method VARCHAR, time VARCHAR) Question: what is the method when the time is 0:51? [/INST] SELECT method FROM table_name_5 WHERE time = "0:51" </s>
what is the time when the event is bellator 89?
CREATE TABLE table_name_15 (time VARCHAR, event VARCHAR)
SELECT time FROM table_name_15 WHERE event = "bellator 89"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (time VARCHAR, event VARCHAR) Question: what is the time when the event is bellator 89? [/INST] SELECT time FROM table_name_15 WHERE event = "bellator 89" </s>
Name the average debt as % of value for operating income more than -16 and % change on year being 62
CREATE TABLE table_name_7 (debt_as__percentage_of_value INTEGER, _percentage_change_on_year VARCHAR, operating_income__$m_ VARCHAR)
SELECT AVG(debt_as__percentage_of_value) FROM table_name_7 WHERE _percentage_change_on_year = "62" AND operating_income__$m_ > -16
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (debt_as__percentage_of_value INTEGER, _percentage_change_on_year VARCHAR, operating_income__$m_ VARCHAR) Question: Name the average debt as % of value for operating income more than -16 and % chang...
Name the country where % change on year is 21 and value is less than 86
CREATE TABLE table_name_12 (country VARCHAR, debt_as__percentage_of_value VARCHAR, _percentage_change_on_year VARCHAR)
SELECT country FROM table_name_12 WHERE debt_as__percentage_of_value < 86 AND _percentage_change_on_year = "21"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (country VARCHAR, debt_as__percentage_of_value VARCHAR, _percentage_change_on_year VARCHAR) Question: Name the country where % change on year is 21 and value is less than 86 [/INST] SELECT country ...
Name the total number of revenue for italy with team of internazionale with operating income less than 27
CREATE TABLE table_name_21 (revenue__ VARCHAR, operating_income__$m_ VARCHAR, country VARCHAR, team VARCHAR)
SELECT COUNT(revenue__) AS $m_ FROM table_name_21 WHERE country = "italy" AND team = "internazionale" AND operating_income__$m_ < 27
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (revenue__ VARCHAR, operating_income__$m_ VARCHAR, country VARCHAR, team VARCHAR) Question: Name the total number of revenue for italy with team of internazionale with operating income less than 27...
Name the most revenue for operating income more than 27 for hamburg and debt as % of value less than 0
CREATE TABLE table_name_92 (revenue__ INTEGER, debt_as__percentage_of_value VARCHAR, operating_income__$m_ VARCHAR, team VARCHAR)
SELECT MAX(revenue__) AS $m_ FROM table_name_92 WHERE operating_income__$m_ > 27 AND team = "hamburg" AND debt_as__percentage_of_value < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (revenue__ INTEGER, debt_as__percentage_of_value VARCHAR, operating_income__$m_ VARCHAR, team VARCHAR) Question: Name the most revenue for operating income more than 27 for hamburg and debt as % of...