instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What are the school colors for the college whose main campus is overland park?
CREATE TABLE table_name_66 (school_colors VARCHAR, main_campus_location VARCHAR)
SELECT school_colors FROM table_name_66 WHERE main_campus_location = "overland park"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (school_colors VARCHAR, main_campus_location VARCHAR) Question: What are the school colors for the college whose main campus is overland park? [/INST] SELECT school_colors FROM table_name_66 WHERE main_campus_location = "overland park" </s>
What is independence community college's newest campus?
CREATE TABLE table_name_37 (founded INTEGER, institution VARCHAR)
SELECT MIN(founded) FROM table_name_37 WHERE institution = "independence community college"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (founded INTEGER, institution VARCHAR) Question: What is independence community college's newest campus? [/INST] SELECT MIN(founded) FROM table_name_37 WHERE institution = "independence community college" </s>
What college was founded in 1967?
CREATE TABLE table_name_61 (main_campus_location VARCHAR, founded VARCHAR)
SELECT main_campus_location FROM table_name_61 WHERE founded = 1967
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (main_campus_location VARCHAR, founded VARCHAR) Question: What college was founded in 1967? [/INST] SELECT main_campus_location FROM table_name_61 WHERE founded = 1967 </s>
Who had a function of explorator?
CREATE TABLE table_name_9 (name VARCHAR, function VARCHAR)
SELECT name FROM table_name_9 WHERE function = "explorator"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (name VARCHAR, function VARCHAR) Question: Who had a function of explorator? [/INST] SELECT name FROM table_name_9 WHERE function = "explorator" </s>
Can you tell me the Competing entities that has the First held smaller than 1970?
CREATE TABLE table_name_4 (competing_entities VARCHAR, first_held INTEGER)
SELECT competing_entities FROM table_name_4 WHERE first_held < 1970
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (competing_entities VARCHAR, first_held INTEGER) Question: Can you tell me the Competing entities that has the First held smaller than 1970? [/INST] SELECT competing_entities FROM table_name_4 WHERE first_held < 1970 </s>
What surface was played on on October 3, 2010?
CREATE TABLE table_name_42 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_42 WHERE date = "october 3, 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (surface VARCHAR, date VARCHAR) Question: What surface was played on on October 3, 2010? [/INST] SELECT surface FROM table_name_42 WHERE date = "october 3, 2010" </s>
What was the tier versus Manana Shapakidze?
CREATE TABLE table_name_5 (tier VARCHAR, opponent_in_the_final VARCHAR)
SELECT tier FROM table_name_5 WHERE opponent_in_the_final = "manana shapakidze"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (tier VARCHAR, opponent_in_the_final VARCHAR) Question: What was the tier versus Manana Shapakidze? [/INST] SELECT tier FROM table_name_5 WHERE opponent_in_the_final = "manana shapakidze" </s>
What was the score versus Michaela PochabovΓ‘?
CREATE TABLE table_name_85 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_85 WHERE opponent_in_the_final = "michaela pochabovΓ‘"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (score VARCHAR, opponent_in_the_final VARCHAR) Question: What was the score versus Michaela PochabovΓ‘? [/INST] SELECT score FROM table_name_85 WHERE opponent_in_the_final = "michaela pochabovΓ‘" </s>
Who was the opponent on May 8, 2006?
CREATE TABLE table_name_75 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_75 WHERE date = "may 8, 2006"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (opponent_in_the_final VARCHAR, date VARCHAR) Question: Who was the opponent on May 8, 2006? [/INST] SELECT opponent_in_the_final FROM table_name_75 WHERE date = "may 8, 2006" </s>
What was the tier versus Annalisa bona?
CREATE TABLE table_name_59 (tier VARCHAR, opponent_in_the_final VARCHAR)
SELECT tier FROM table_name_59 WHERE opponent_in_the_final = "annalisa bona"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (tier VARCHAR, opponent_in_the_final VARCHAR) Question: What was the tier versus Annalisa bona? [/INST] SELECT tier FROM table_name_59 WHERE opponent_in_the_final = "annalisa bona" </s>
Which song has votes greater than 640 and a draw of 1?
CREATE TABLE table_name_62 (song VARCHAR, votes VARCHAR, draw VARCHAR)
SELECT song FROM table_name_62 WHERE votes > 640 AND draw = 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (song VARCHAR, votes VARCHAR, draw VARCHAR) Question: Which song has votes greater than 640 and a draw of 1? [/INST] SELECT song FROM table_name_62 WHERE votes > 640 AND draw = 1 </s>
When Keey has 58.1% what % does Bush have?
CREATE TABLE table_name_39 (bush_percentage VARCHAR, kerry_percentage VARCHAR)
SELECT bush_percentage FROM table_name_39 WHERE kerry_percentage = "58.1%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (bush_percentage VARCHAR, kerry_percentage VARCHAR) Question: When Keey has 58.1% what % does Bush have? [/INST] SELECT bush_percentage FROM table_name_39 WHERE kerry_percentage = "58.1%" </s>
Which of Real Betis career had appearances smaller than 98, nationality of Spain, and goals greater than 15?
CREATE TABLE table_name_63 (real_betis_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR)
SELECT real_betis_career FROM table_name_63 WHERE appearances < 98 AND nationality = "spain" AND goals > 15
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (real_betis_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR) Question: Which of Real Betis career had appearances smaller than 98, nationality of Spain, and goals greater than 15? [/INST] SELECT real_betis_career FROM table_name_63 WHERE appearances < 98 AND nationality = "spain" AND goals > 15 </s>
What Decile has State Authority and Raumati South Area?
CREATE TABLE table_name_67 (decile VARCHAR, authority VARCHAR, area VARCHAR)
SELECT decile FROM table_name_67 WHERE authority = "state" AND area = "raumati south"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (decile VARCHAR, authority VARCHAR, area VARCHAR) Question: What Decile has State Authority and Raumati South Area? [/INST] SELECT decile FROM table_name_67 WHERE authority = "state" AND area = "raumati south" </s>
What is the total Decile with Waikanae Area?
CREATE TABLE table_name_6 (decile INTEGER, area VARCHAR)
SELECT SUM(decile) FROM table_name_6 WHERE area = "waikanae"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (decile INTEGER, area VARCHAR) Question: What is the total Decile with Waikanae Area? [/INST] SELECT SUM(decile) FROM table_name_6 WHERE area = "waikanae" </s>
What Player with a Place of T10 had a Score of 80-70-72-72=294?
CREATE TABLE table_name_8 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_8 WHERE place = "t10" AND score = 80 - 70 - 72 - 72 = 294
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (player VARCHAR, place VARCHAR, score VARCHAR) Question: What Player with a Place of T10 had a Score of 80-70-72-72=294? [/INST] SELECT player FROM table_name_8 WHERE place = "t10" AND score = 80 - 70 - 72 - 72 = 294 </s>
What was the Money ($) amount for Lloyd Mangrum?
CREATE TABLE table_name_19 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_19 WHERE player = "lloyd mangrum"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (money___$__ VARCHAR, player VARCHAR) Question: What was the Money ($) amount for Lloyd Mangrum? [/INST] SELECT money___$__ FROM table_name_19 WHERE player = "lloyd mangrum" </s>
What was the Money ($) amount for Cary Middlecoff?
CREATE TABLE table_name_20 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_20 WHERE player = "cary middlecoff"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (money___$__ VARCHAR, player VARCHAR) Question: What was the Money ($) amount for Cary Middlecoff? [/INST] SELECT money___$__ FROM table_name_20 WHERE player = "cary middlecoff" </s>
What date was the game with a score of 5–2, and a Loss of lilly (9–9)?
CREATE TABLE table_name_98 (date VARCHAR, score VARCHAR, loss VARCHAR)
SELECT date FROM table_name_98 WHERE score = "5–2" AND loss = "lilly (9–9)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (date VARCHAR, score VARCHAR, loss VARCHAR) Question: What date was the game with a score of 5–2, and a Loss of lilly (9–9)? [/INST] SELECT date FROM table_name_98 WHERE score = "5–2" AND loss = "lilly (9–9)" </s>
What team was the opponent when there was a score of 5–4 (11)?
CREATE TABLE table_name_38 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_38 WHERE score = "5–4 (11)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (opponent VARCHAR, score VARCHAR) Question: What team was the opponent when there was a score of 5–4 (11)? [/INST] SELECT opponent FROM table_name_38 WHERE score = "5–4 (11)" </s>
What date was the game with a record of 47–39?
CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_93 WHERE record = "47–39"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR) Question: What date was the game with a record of 47–39? [/INST] SELECT date FROM table_name_93 WHERE record = "47–39" </s>
What year did Tom Watson win?
CREATE TABLE table_name_78 (year_s__won VARCHAR, player VARCHAR)
SELECT year_s__won FROM table_name_78 WHERE player = "tom watson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (year_s__won VARCHAR, player VARCHAR) Question: What year did Tom Watson win? [/INST] SELECT year_s__won FROM table_name_78 WHERE player = "tom watson" </s>
What is the total number that Tom Watson parred larger than 10?
CREATE TABLE table_name_93 (total VARCHAR, player VARCHAR, to_par VARCHAR)
SELECT COUNT(total) FROM table_name_93 WHERE player = "tom watson" AND to_par > 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (total VARCHAR, player VARCHAR, to_par VARCHAR) Question: What is the total number that Tom Watson parred larger than 10? [/INST] SELECT COUNT(total) FROM table_name_93 WHERE player = "tom watson" AND to_par > 10 </s>
Which date has a Record of 4-5?
CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_71 WHERE record = "4-5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR) Question: Which date has a Record of 4-5? [/INST] SELECT date FROM table_name_71 WHERE record = "4-5" </s>
Which score has a Loss of gubicza (0-1)?
CREATE TABLE table_name_66 (score VARCHAR, loss VARCHAR)
SELECT score FROM table_name_66 WHERE loss = "gubicza (0-1)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (score VARCHAR, loss VARCHAR) Question: Which score has a Loss of gubicza (0-1)? [/INST] SELECT score FROM table_name_66 WHERE loss = "gubicza (0-1)" </s>
Which loss happened april 18?
CREATE TABLE table_name_87 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_87 WHERE date = "april 18"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (loss VARCHAR, date VARCHAR) Question: Which loss happened april 18? [/INST] SELECT loss FROM table_name_87 WHERE date = "april 18" </s>
Which record has an Opponent of orioles and a Date of april 14?
CREATE TABLE table_name_9 (record VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT record FROM table_name_9 WHERE opponent = "orioles" AND date = "april 14"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (record VARCHAR, opponent VARCHAR, date VARCHAR) Question: Which record has an Opponent of orioles and a Date of april 14? [/INST] SELECT record FROM table_name_9 WHERE opponent = "orioles" AND date = "april 14" </s>
Which record has a Date of april 25?
CREATE TABLE table_name_96 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_96 WHERE date = "april 25"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (record VARCHAR, date VARCHAR) Question: Which record has a Date of april 25? [/INST] SELECT record FROM table_name_96 WHERE date = "april 25" </s>
Which opponent has a Record of 4-5?
CREATE TABLE table_name_31 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_31 WHERE record = "4-5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (opponent VARCHAR, record VARCHAR) Question: Which opponent has a Record of 4-5? [/INST] SELECT opponent FROM table_name_31 WHERE record = "4-5" </s>
Name the country which has prix uip venezia
CREATE TABLE table_name_9 (country VARCHAR, nominating_festival VARCHAR)
SELECT country FROM table_name_9 WHERE nominating_festival = "prix uip venezia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (country VARCHAR, nominating_festival VARCHAR) Question: Name the country which has prix uip venezia [/INST] SELECT country FROM table_name_9 WHERE nominating_festival = "prix uip venezia" </s>
Name the nominating festival for director of 2004
CREATE TABLE table_name_1 (nominating_festival VARCHAR, director_s_ VARCHAR)
SELECT nominating_festival FROM table_name_1 WHERE director_s_ = "2004"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (nominating_festival VARCHAR, director_s_ VARCHAR) Question: Name the nominating festival for director of 2004 [/INST] SELECT nominating_festival FROM table_name_1 WHERE director_s_ = "2004" </s>
Name the category for prix uip berlin
CREATE TABLE table_name_66 (category VARCHAR, nominating_festival VARCHAR)
SELECT category FROM table_name_66 WHERE nominating_festival = "prix uip berlin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (category VARCHAR, nominating_festival VARCHAR) Question: Name the category for prix uip berlin [/INST] SELECT category FROM table_name_66 WHERE nominating_festival = "prix uip berlin" </s>
Name the nominating festival for un cartus de kent si un pachet de cafea
CREATE TABLE table_name_93 (nominating_festival VARCHAR, film VARCHAR)
SELECT nominating_festival FROM table_name_93 WHERE film = "un cartus de kent si un pachet de cafea"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (nominating_festival VARCHAR, film VARCHAR) Question: Name the nominating festival for un cartus de kent si un pachet de cafea [/INST] SELECT nominating_festival FROM table_name_93 WHERE film = "un cartus de kent si un pachet de cafea" </s>
Name the director of alt i alt
CREATE TABLE table_name_92 (director_s_ VARCHAR, film VARCHAR)
SELECT director_s_ FROM table_name_92 WHERE film = "alt i alt"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (director_s_ VARCHAR, film VARCHAR) Question: Name the director of alt i alt [/INST] SELECT director_s_ FROM table_name_92 WHERE film = "alt i alt" </s>
What's the score of the game they played against a team with a record of 81-54?
CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_95 WHERE record = "81-54"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR) Question: What's the score of the game they played against a team with a record of 81-54? [/INST] SELECT score FROM table_name_95 WHERE record = "81-54" </s>
What game score was there for the team with a record of 84-56?
CREATE TABLE table_name_51 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_51 WHERE record = "84-56"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (score VARCHAR, record VARCHAR) Question: What game score was there for the team with a record of 84-56? [/INST] SELECT score FROM table_name_51 WHERE record = "84-56" </s>
Who is the Winner for the City of Loutraki?
CREATE TABLE table_name_65 (winner VARCHAR, city VARCHAR)
SELECT winner FROM table_name_65 WHERE city = "loutraki"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (winner VARCHAR, city VARCHAR) Question: Who is the Winner for the City of Loutraki? [/INST] SELECT winner FROM table_name_65 WHERE city = "loutraki" </s>
What is the Date for the Event ept copenhagen?
CREATE TABLE table_name_71 (date VARCHAR, event VARCHAR)
SELECT date FROM table_name_71 WHERE event = "ept copenhagen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (date VARCHAR, event VARCHAR) Question: What is the Date for the Event ept copenhagen? [/INST] SELECT date FROM table_name_71 WHERE event = "ept copenhagen" </s>
What Event did John dibella win?
CREATE TABLE table_name_56 (event VARCHAR, winner VARCHAR)
SELECT event FROM table_name_56 WHERE winner = "john dibella"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (event VARCHAR, winner VARCHAR) Question: What Event did John dibella win? [/INST] SELECT event FROM table_name_56 WHERE winner = "john dibella" </s>
What was the prize for winner benny spindler?
CREATE TABLE table_name_11 (prize VARCHAR, winner VARCHAR)
SELECT prize FROM table_name_11 WHERE winner = "benny spindler"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (prize VARCHAR, winner VARCHAR) Question: What was the prize for winner benny spindler? [/INST] SELECT prize FROM table_name_11 WHERE winner = "benny spindler" </s>
What was the Event in the city of copenhagen?
CREATE TABLE table_name_32 (event VARCHAR, city VARCHAR)
SELECT event FROM table_name_32 WHERE city = "copenhagen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (event VARCHAR, city VARCHAR) Question: What was the Event in the city of copenhagen? [/INST] SELECT event FROM table_name_32 WHERE city = "copenhagen" </s>
What was the Event for the prize of €850,000?
CREATE TABLE table_name_45 (event VARCHAR, prize VARCHAR)
SELECT event FROM table_name_45 WHERE prize = "€850,000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (event VARCHAR, prize VARCHAR) Question: What was the Event for the prize of €850,000? [/INST] SELECT event FROM table_name_45 WHERE prize = "€850,000" </s>
In which place is Emmet French?
CREATE TABLE table_name_2 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_2 WHERE player = "emmet french"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (place VARCHAR, player VARCHAR) Question: In which place is Emmet French? [/INST] SELECT place FROM table_name_2 WHERE player = "emmet french" </s>
What is the result for Gold Coast when Melbourne and Adelaide are yes, but Perth is no?
CREATE TABLE table_name_73 (gold_coast VARCHAR, adelaide VARCHAR, melbourne VARCHAR, perth VARCHAR)
SELECT gold_coast FROM table_name_73 WHERE melbourne = "yes" AND perth = "no" AND adelaide = "yes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (gold_coast VARCHAR, adelaide VARCHAR, melbourne VARCHAR, perth VARCHAR) Question: What is the result for Gold Coast when Melbourne and Adelaide are yes, but Perth is no? [/INST] SELECT gold_coast FROM table_name_73 WHERE melbourne = "yes" AND perth = "no" AND adelaide = "yes" </s>
What is the result for Melbourne when Adelaide, Sydney, and Perth are yes, and Gold Coast is no?
CREATE TABLE table_name_52 (melbourne VARCHAR, gold_coast VARCHAR, perth VARCHAR, adelaide VARCHAR, sydney VARCHAR)
SELECT melbourne FROM table_name_52 WHERE adelaide = "yes" AND sydney = "yes" AND perth = "yes" AND gold_coast = "no"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (melbourne VARCHAR, gold_coast VARCHAR, perth VARCHAR, adelaide VARCHAR, sydney VARCHAR) Question: What is the result for Melbourne when Adelaide, Sydney, and Perth are yes, and Gold Coast is no? [/INST] SELECT melbourne FROM table_name_52 WHERE adelaide = "yes" AND sydney = "yes" AND perth = "yes" AND gold_coast = "no" </s>
What is the result for Melbourne when Gold Coast, Perth, Auckland, and Sydney are no?
CREATE TABLE table_name_1 (melbourne VARCHAR, sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, perth VARCHAR)
SELECT melbourne FROM table_name_1 WHERE gold_coast = "no" AND perth = "no" AND auckland = "no" AND sydney = "no"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (melbourne VARCHAR, sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, perth VARCHAR) Question: What is the result for Melbourne when Gold Coast, Perth, Auckland, and Sydney are no? [/INST] SELECT melbourne FROM table_name_1 WHERE gold_coast = "no" AND perth = "no" AND auckland = "no" AND sydney = "no" </s>
What is the result for Gold Coast when Adelaide and Perth are yes, but Auckland is no?
CREATE TABLE table_name_6 (gold_coast VARCHAR, perth VARCHAR, adelaide VARCHAR, auckland VARCHAR)
SELECT gold_coast FROM table_name_6 WHERE adelaide = "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_6 (gold_coast VARCHAR, perth VARCHAR, adelaide VARCHAR, auckland VARCHAR) Question: What is the result for Gold Coast when Adelaide and Perth are yes, but Auckland is no? [/INST] SELECT gold_coast FROM table_name_6 WHERE adelaide = "yes" AND auckland = "no" AND perth = "yes" </s>
What is the result for Gold Coast when Melbourne and Sydney are yes, while Auckland and Perth are no?
CREATE TABLE table_name_8 (gold_coast VARCHAR, perth VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR)
SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND sydney = "yes" AND auckland = "no" AND perth = "no"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (gold_coast VARCHAR, perth VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR) Question: What is the result for Gold Coast when Melbourne and Sydney are yes, while Auckland and Perth are no? [/INST] SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND sydney = "yes" AND auckland = "no" AND perth = "no" </s>
What is the result for Melbourne when Adelaide is no, and Auckland is yes?
CREATE TABLE table_name_56 (melbourne VARCHAR, adelaide VARCHAR, auckland VARCHAR)
SELECT melbourne FROM table_name_56 WHERE adelaide = "no" AND auckland = "yes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (melbourne VARCHAR, adelaide VARCHAR, auckland VARCHAR) Question: What is the result for Melbourne when Adelaide is no, and Auckland is yes? [/INST] SELECT melbourne FROM table_name_56 WHERE adelaide = "no" AND auckland = "yes" </s>
Who won on 3 june?
CREATE TABLE table_name_35 (winner VARCHAR, date VARCHAR)
SELECT winner FROM table_name_35 WHERE date = "3 june"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (winner VARCHAR, date VARCHAR) Question: Who won on 3 june? [/INST] SELECT winner FROM table_name_35 WHERE date = "3 june" </s>
Which date has a Race Leader of hermann buse ( ger ), and a Stage of 5?
CREATE TABLE table_name_83 (date VARCHAR, race_leader VARCHAR, stage VARCHAR)
SELECT date FROM table_name_83 WHERE race_leader = "hermann buse ( ger )" AND stage = "5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (date VARCHAR, race_leader VARCHAR, stage VARCHAR) Question: Which date has a Race Leader of hermann buse ( ger ), and a Stage of 5? [/INST] SELECT date FROM table_name_83 WHERE race_leader = "hermann buse ( ger )" AND stage = "5" </s>
Which race Leader has a Stage of 7?
CREATE TABLE table_name_33 (race_leader VARCHAR, stage VARCHAR)
SELECT race_leader FROM table_name_33 WHERE stage = "7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (race_leader VARCHAR, stage VARCHAR) Question: Which race Leader has a Stage of 7? [/INST] SELECT race_leader FROM table_name_33 WHERE stage = "7" </s>
Which date has a Stage of 12?
CREATE TABLE table_name_68 (date VARCHAR, stage VARCHAR)
SELECT date FROM table_name_68 WHERE stage = "12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (date VARCHAR, stage VARCHAR) Question: Which date has a Stage of 12? [/INST] SELECT date FROM table_name_68 WHERE stage = "12" </s>
What was the result for song of the year award in 1994?
CREATE TABLE table_name_69 (result VARCHAR, year VARCHAR, award VARCHAR)
SELECT result FROM table_name_69 WHERE year = 1994 AND award = "song of the year"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (result VARCHAR, year VARCHAR, award VARCHAR) Question: What was the result for song of the year award in 1994? [/INST] SELECT result FROM table_name_69 WHERE year = 1994 AND award = "song of the year" </s>
What was the result for work made by Neil Finn?
CREATE TABLE table_name_10 (result VARCHAR, nominated_work VARCHAR)
SELECT result FROM table_name_10 WHERE nominated_work = "neil finn"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (result VARCHAR, nominated_work VARCHAR) Question: What was the result for work made by Neil Finn? [/INST] SELECT result FROM table_name_10 WHERE nominated_work = "neil finn" </s>
what is the money for argentina?
CREATE TABLE table_name_34 (money___ VARCHAR, country VARCHAR)
SELECT COUNT(money___) AS $__ FROM table_name_34 WHERE country = "argentina"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (money___ VARCHAR, country VARCHAR) Question: what is the money for argentina? [/INST] SELECT COUNT(money___) AS $__ FROM table_name_34 WHERE country = "argentina" </s>
what is the money for trevor immelman?
CREATE TABLE table_name_77 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_77 WHERE player = "trevor immelman"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (money___$__ VARCHAR, player VARCHAR) Question: what is the money for trevor immelman? [/INST] SELECT money___$__ FROM table_name_77 WHERE player = "trevor immelman" </s>
what is the place for ireland?
CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_64 WHERE country = "ireland"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR) Question: what is the place for ireland? [/INST] SELECT place FROM table_name_64 WHERE country = "ireland" </s>
What result was a date of 20/03/2008 with leeds as the opponent
CREATE TABLE table_name_59 (result VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT result FROM table_name_59 WHERE opponent = "leeds" AND date = "20/03/2008"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (result VARCHAR, opponent VARCHAR, date VARCHAR) Question: What result was a date of 20/03/2008 with leeds as the opponent [/INST] SELECT result FROM table_name_59 WHERE opponent = "leeds" AND date = "20/03/2008" </s>
What was the HT for the game at Stadio Luigi Ferraris?
CREATE TABLE table_name_31 (ht VARCHAR, venue VARCHAR)
SELECT ht FROM table_name_31 WHERE venue = "stadio luigi ferraris"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (ht VARCHAR, venue VARCHAR) Question: What was the HT for the game at Stadio Luigi Ferraris? [/INST] SELECT ht FROM table_name_31 WHERE venue = "stadio luigi ferraris" </s>
What was the HT for the game at Zagreb, with a full-time score of 0-2?
CREATE TABLE table_name_54 (ht VARCHAR, venue VARCHAR, score VARCHAR)
SELECT ht FROM table_name_54 WHERE venue = "zagreb" AND score = "0-2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (ht VARCHAR, venue VARCHAR, score VARCHAR) Question: What was the HT for the game at Zagreb, with a full-time score of 0-2? [/INST] SELECT ht FROM table_name_54 WHERE venue = "zagreb" AND score = "0-2" </s>
What was the competition that was played in Zurich?
CREATE TABLE table_name_96 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_96 WHERE venue = "zurich"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (competition VARCHAR, venue VARCHAR) Question: What was the competition that was played in Zurich? [/INST] SELECT competition FROM table_name_96 WHERE venue = "zurich" </s>
When was the first game associated with over 4 losses?
CREATE TABLE table_name_89 (first_game VARCHAR, lost INTEGER)
SELECT first_game FROM table_name_89 WHERE lost > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (first_game VARCHAR, lost INTEGER) Question: When was the first game associated with over 4 losses? [/INST] SELECT first_game FROM table_name_89 WHERE lost > 4 </s>
What is the lowest number of games drawn associated with over 39 games played?
CREATE TABLE table_name_39 (drawn INTEGER, played INTEGER)
SELECT MIN(drawn) FROM table_name_39 WHERE played > 39
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (drawn INTEGER, played INTEGER) Question: What is the lowest number of games drawn associated with over 39 games played? [/INST] SELECT MIN(drawn) FROM table_name_39 WHERE played > 39 </s>
What is the highest number of losses when there are under 1 games played?
CREATE TABLE table_name_43 (lost INTEGER, played INTEGER)
SELECT MAX(lost) FROM table_name_43 WHERE played < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (lost INTEGER, played INTEGER) Question: What is the highest number of losses when there are under 1 games played? [/INST] SELECT MAX(lost) FROM table_name_43 WHERE played < 1 </s>
What location has more than 2 games with 2:56?
CREATE TABLE table_name_67 (location VARCHAR, game VARCHAR, time VARCHAR)
SELECT location FROM table_name_67 WHERE game > 2 AND time = "2:56"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (location VARCHAR, game VARCHAR, time VARCHAR) Question: What location has more than 2 games with 2:56? [/INST] SELECT location FROM table_name_67 WHERE game > 2 AND time = "2:56" </s>
What location has October 10 as date?
CREATE TABLE table_name_64 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_64 WHERE date = "october 10"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (location VARCHAR, date VARCHAR) Question: What location has October 10 as date? [/INST] SELECT location FROM table_name_64 WHERE date = "october 10" </s>
what is the seats 2006 total with %2001 of 39 and seats 2001 less than 12?
CREATE TABLE table_name_64 (seats_2006 INTEGER, _percentage_2001 VARCHAR, seats_2001 VARCHAR)
SELECT MAX(seats_2006) FROM table_name_64 WHERE _percentage_2001 = 39 AND seats_2001 < 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (seats_2006 INTEGER, _percentage_2001 VARCHAR, seats_2001 VARCHAR) Question: what is the seats 2006 total with %2001 of 39 and seats 2001 less than 12? [/INST] SELECT MAX(seats_2006) FROM table_name_64 WHERE _percentage_2001 = 39 AND seats_2001 < 12 </s>
what is the total number of seats 2006 that has parties and voter turnout in % and whose %2006 is greater than 51.5?
CREATE TABLE table_name_33 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)
SELECT SUM(seats_2006) FROM table_name_33 WHERE parties_and_voter_communities = "voter turnout in %" AND _percentage_2006 > 51.5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR) Question: what is the total number of seats 2006 that has parties and voter turnout in % and whose %2006 is greater than 51.5? [/INST] SELECT SUM(seats_2006) FROM table_name_33 WHERE parties_and_voter_communities = "voter turnout in %" AND _percentage_2006 > 51.5 </s>
what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu?
CREATE TABLE table_name_91 (seats_2001 INTEGER, parties_and_voter_communities VARCHAR, seats_2006 VARCHAR)
SELECT SUM(seats_2001) FROM table_name_91 WHERE parties_and_voter_communities = "cdu" AND seats_2006 > 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (seats_2001 INTEGER, parties_and_voter_communities VARCHAR, seats_2006 VARCHAR) Question: what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu? [/INST] SELECT SUM(seats_2001) FROM table_name_91 WHERE parties_and_voter_communities = "cdu" AND seats_2006 > 10 </s>
What was the loss of the game when the record was 3–2?
CREATE TABLE table_name_56 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_56 WHERE record = "3–2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (loss VARCHAR, record VARCHAR) Question: What was the loss of the game when the record was 3–2? [/INST] SELECT loss FROM table_name_56 WHERE record = "3–2" </s>
Who was the opponent at the game that had a loss of Shields (1–1)?
CREATE TABLE table_name_12 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_12 WHERE loss = "shields (1–1)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (opponent VARCHAR, loss VARCHAR) Question: Who was the opponent at the game that had a loss of Shields (1–1)? [/INST] SELECT opponent FROM table_name_12 WHERE loss = "shields (1–1)" </s>
Who is the opponent for Andrew Symonds in the 2004 season?
CREATE TABLE table_name_75 (opponent VARCHAR, player VARCHAR, season VARCHAR)
SELECT opponent FROM table_name_75 WHERE player = "andrew symonds" AND season = "2004"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (opponent VARCHAR, player VARCHAR, season VARCHAR) Question: Who is the opponent for Andrew Symonds in the 2004 season? [/INST] SELECT opponent FROM table_name_75 WHERE player = "andrew symonds" AND season = "2004" </s>
Name th country of origin for journey
CREATE TABLE table_name_81 (country_of_origin VARCHAR, artist VARCHAR)
SELECT country_of_origin FROM table_name_81 WHERE artist = "journey"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (country_of_origin VARCHAR, artist VARCHAR) Question: Name th country of origin for journey [/INST] SELECT country_of_origin FROM table_name_81 WHERE artist = "journey" </s>
Name the period active for enya
CREATE TABLE table_name_42 (period_active VARCHAR, artist VARCHAR)
SELECT period_active FROM table_name_42 WHERE artist = "enya"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (period_active VARCHAR, artist VARCHAR) Question: Name the period active for enya [/INST] SELECT period_active FROM table_name_42 WHERE artist = "enya" </s>
Name the genre for release-year of firsst charted less than 1980 and origin of jamaica
CREATE TABLE table_name_92 (genre VARCHAR, release_year_of_first_charted_record VARCHAR, country_of_origin VARCHAR)
SELECT genre FROM table_name_92 WHERE release_year_of_first_charted_record < 1980 AND country_of_origin = "jamaica"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (genre VARCHAR, release_year_of_first_charted_record VARCHAR, country_of_origin VARCHAR) Question: Name the genre for release-year of firsst charted less than 1980 and origin of jamaica [/INST] SELECT genre FROM table_name_92 WHERE release_year_of_first_charted_record < 1980 AND country_of_origin = "jamaica" </s>
Who is the 2nd member during 1885 election?
CREATE TABLE table_name_31 (election VARCHAR)
SELECT 2 AS nd_member FROM table_name_31 WHERE election = "1885"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (election VARCHAR) Question: Who is the 2nd member during 1885 election? [/INST] SELECT 2 AS nd_member FROM table_name_31 WHERE election = "1885" </s>
What is the 1st party during the 1857 election?
CREATE TABLE table_name_34 (election VARCHAR)
SELECT 1 AS st_party FROM table_name_34 WHERE election = "1857"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (election VARCHAR) Question: What is the 1st party during the 1857 election? [/INST] SELECT 1 AS st_party FROM table_name_34 WHERE election = "1857" </s>
Which language has the percentage of 2.54?
CREATE TABLE table_name_8 (language VARCHAR, percentage___percentage_ VARCHAR)
SELECT language FROM table_name_8 WHERE percentage___percentage_ = "2.54"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (language VARCHAR, percentage___percentage_ VARCHAR) Question: Which language has the percentage of 2.54? [/INST] SELECT language FROM table_name_8 WHERE percentage___percentage_ = "2.54" </s>
What is the number of females that has the Polish language?
CREATE TABLE table_name_66 (females VARCHAR, language VARCHAR)
SELECT females FROM table_name_66 WHERE language = "polish"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (females VARCHAR, language VARCHAR) Question: What is the number of females that has the Polish language? [/INST] SELECT females FROM table_name_66 WHERE language = "polish" </s>
What was the number of males that had the number females 62 331?
CREATE TABLE table_name_13 (males VARCHAR, females VARCHAR)
SELECT males FROM table_name_13 WHERE females = "62 331"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (males VARCHAR, females VARCHAR) Question: What was the number of males that had the number females 62 331? [/INST] SELECT males FROM table_name_13 WHERE females = "62 331" </s>
Which position has a sophomore class?
CREATE TABLE table_name_31 (position VARCHAR, class VARCHAR)
SELECT position FROM table_name_31 WHERE class = "sophomore"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (position VARCHAR, class VARCHAR) Question: Which position has a sophomore class? [/INST] SELECT position FROM table_name_31 WHERE class = "sophomore" </s>
What is the lowest Preliminary score of a contestant that has an Evening Gown score of 8.472?
CREATE TABLE table_name_94 (preliminaries INTEGER, evening_gown VARCHAR)
SELECT MIN(preliminaries) FROM table_name_94 WHERE evening_gown = 8.472
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (preliminaries INTEGER, evening_gown VARCHAR) Question: What is the lowest Preliminary score of a contestant that has an Evening Gown score of 8.472? [/INST] SELECT MIN(preliminaries) FROM table_name_94 WHERE evening_gown = 8.472 </s>
Which Set 3 has a Set 1 of 25–20?
CREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR)
SELECT set_3 FROM table_name_9 WHERE set_1 = "25–20"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR) Question: Which Set 3 has a Set 1 of 25–20? [/INST] SELECT set_3 FROM table_name_9 WHERE set_1 = "25–20" </s>
Which Set 3 has a Time of 10:00, and a Set 2 of 25–19?
CREATE TABLE table_name_22 (set_3 VARCHAR, time VARCHAR, set_2 VARCHAR)
SELECT set_3 FROM table_name_22 WHERE time = "10:00" AND set_2 = "25–19"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (set_3 VARCHAR, time VARCHAR, set_2 VARCHAR) Question: Which Set 3 has a Time of 10:00, and a Set 2 of 25–19? [/INST] SELECT set_3 FROM table_name_22 WHERE time = "10:00" AND set_2 = "25–19" </s>
Which Set 1 has a Set 3 of 16–25?
CREATE TABLE table_name_25 (set_1 VARCHAR, set_3 VARCHAR)
SELECT set_1 FROM table_name_25 WHERE set_3 = "16–25"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (set_1 VARCHAR, set_3 VARCHAR) Question: Which Set 1 has a Set 3 of 16–25? [/INST] SELECT set_1 FROM table_name_25 WHERE set_3 = "16–25" </s>
Which Set 3 has a Score of 0–3, a Time of 18:30, and a Date of july 10?
CREATE TABLE table_name_56 (set_3 VARCHAR, date VARCHAR, score VARCHAR, time VARCHAR)
SELECT set_3 FROM table_name_56 WHERE score = "0–3" AND time = "18:30" AND date = "july 10"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (set_3 VARCHAR, date VARCHAR, score VARCHAR, time VARCHAR) Question: Which Set 3 has a Score of 0–3, a Time of 18:30, and a Date of july 10? [/INST] SELECT set_3 FROM table_name_56 WHERE score = "0–3" AND time = "18:30" AND date = "july 10" </s>
Which score has a Set 2 of 17–25, and a Total of 48–75?
CREATE TABLE table_name_10 (score VARCHAR, set_2 VARCHAR, total VARCHAR)
SELECT score FROM table_name_10 WHERE set_2 = "17–25" AND total = "48–75"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (score VARCHAR, set_2 VARCHAR, total VARCHAR) Question: Which score has a Set 2 of 17–25, and a Total of 48–75? [/INST] SELECT score FROM table_name_10 WHERE set_2 = "17–25" AND total = "48–75" </s>
Which set 3 has a Time of 10:00, and a Score of 3–2, and a Total of 113–102?
CREATE TABLE table_name_61 (set_3 VARCHAR, total VARCHAR, time VARCHAR, score VARCHAR)
SELECT set_3 FROM table_name_61 WHERE time = "10:00" AND score = "3–2" AND total = "113–102"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (set_3 VARCHAR, total VARCHAR, time VARCHAR, score VARCHAR) Question: Which set 3 has a Time of 10:00, and a Score of 3–2, and a Total of 113–102? [/INST] SELECT set_3 FROM table_name_61 WHERE time = "10:00" AND score = "3–2" AND total = "113–102" </s>
Is it live or studio before 1983?
CREATE TABLE table_name_98 (live___studio VARCHAR, year INTEGER)
SELECT live___studio FROM table_name_98 WHERE year < 1983
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (live___studio VARCHAR, year INTEGER) Question: Is it live or studio before 1983? [/INST] SELECT live___studio FROM table_name_98 WHERE year < 1983 </s>
What is the round for marcus howard?
CREATE TABLE table_name_32 (round INTEGER, name VARCHAR)
SELECT SUM(round) FROM table_name_32 WHERE name = "marcus howard"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (round INTEGER, name VARCHAR) Question: What is the round for marcus howard? [/INST] SELECT SUM(round) FROM table_name_32 WHERE name = "marcus howard" </s>
What is the highest laps with a 30 finish?
CREATE TABLE table_name_89 (laps INTEGER, finish VARCHAR)
SELECT MAX(laps) FROM table_name_89 WHERE finish = "30"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (laps INTEGER, finish VARCHAR) Question: What is the highest laps with a 30 finish? [/INST] SELECT MAX(laps) FROM table_name_89 WHERE finish = "30" </s>
What is the rank of the 150.163 qual?
CREATE TABLE table_name_34 (rank VARCHAR, qual VARCHAR)
SELECT rank FROM table_name_34 WHERE qual = "150.163"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (rank VARCHAR, qual VARCHAR) Question: What is the rank of the 150.163 qual? [/INST] SELECT rank FROM table_name_34 WHERE qual = "150.163" </s>
What is the lowest laps with a 142.744 qual?
CREATE TABLE table_name_34 (laps INTEGER, qual VARCHAR)
SELECT MIN(laps) FROM table_name_34 WHERE qual = "142.744"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (laps INTEGER, qual VARCHAR) Question: What is the lowest laps with a 142.744 qual? [/INST] SELECT MIN(laps) FROM table_name_34 WHERE qual = "142.744" </s>
What year had less than 160 laps and a rank of 26?
CREATE TABLE table_name_25 (year VARCHAR, laps VARCHAR, rank VARCHAR)
SELECT year FROM table_name_25 WHERE laps < 160 AND rank = "26"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (year VARCHAR, laps VARCHAR, rank VARCHAR) Question: What year had less than 160 laps and a rank of 26? [/INST] SELECT year FROM table_name_25 WHERE laps < 160 AND rank = "26" </s>
for the other of soun, what's the khmer?
CREATE TABLE table_name_40 (khmer VARCHAR, other VARCHAR)
SELECT khmer FROM table_name_40 WHERE other = "soun"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (khmer VARCHAR, other VARCHAR) Question: for the other of soun, what's the khmer? [/INST] SELECT khmer FROM table_name_40 WHERE other = "soun" </s>
for the other of mouy, what's the khmer?
CREATE TABLE table_name_20 (khmer VARCHAR, other VARCHAR)
SELECT khmer FROM table_name_20 WHERE other = "mouy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (khmer VARCHAR, other VARCHAR) Question: for the other of mouy, what's the khmer? [/INST] SELECT khmer FROM table_name_20 WHERE other = "mouy" </s>
What is the language of the film directed by Hans Kristensen?
CREATE TABLE table_name_14 (language VARCHAR, director VARCHAR)
SELECT language FROM table_name_14 WHERE director = "hans kristensen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (language VARCHAR, director VARCHAR) Question: What is the language of the film directed by Hans Kristensen? [/INST] SELECT language FROM table_name_14 WHERE director = "hans kristensen" </s>
What is the original title of the film for which Dersu Uzala was nominated?
CREATE TABLE table_name_10 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_name_10 WHERE film_title_used_in_nomination = "dersu uzala"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) Question: What is the original title of the film for which Dersu Uzala was nominated? [/INST] SELECT original_title FROM table_name_10 WHERE film_title_used_in_nomination = "dersu uzala" </s>
What is Argentina's language?
CREATE TABLE table_name_41 (language VARCHAR, country VARCHAR)
SELECT language FROM table_name_41 WHERE country = "argentina"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (language VARCHAR, country VARCHAR) Question: What is Argentina's language? [/INST] SELECT language FROM table_name_41 WHERE country = "argentina" </s>