instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What is the largest decile with a Roll larger than 34, a Gender of coed, and an Authority of state integrated, and an Area of georgetown?
CREATE TABLE table_name_47 (decile INTEGER, area VARCHAR, authority VARCHAR, roll VARCHAR, gender VARCHAR)
SELECT MAX(decile) FROM table_name_47 WHERE roll > 34 AND gender = "coed" AND authority = "state integrated" AND area = "georgetown"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (decile INTEGER, area VARCHAR, authority VARCHAR, roll VARCHAR, gender VARCHAR) Question: What is the largest decile with a Roll larger than 34, a Gender of coed, and an Authority of state integrat...
What is the smallest roll with an Authority of state, a Name of newfield park school, and a Decile smaller than 2?
CREATE TABLE table_name_97 (roll INTEGER, decile VARCHAR, authority VARCHAR, name VARCHAR)
SELECT MIN(roll) FROM table_name_97 WHERE authority = "state" AND name = "newfield park school" AND decile < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (roll INTEGER, decile VARCHAR, authority VARCHAR, name VARCHAR) Question: What is the smallest roll with an Authority of state, a Name of newfield park school, and a Decile smaller than 2? [/INST] ...
Which name has an Area of makarewa?
CREATE TABLE table_name_65 (name VARCHAR, area VARCHAR)
SELECT name FROM table_name_65 WHERE area = "makarewa"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (name VARCHAR, area VARCHAR) Question: Which name has an Area of makarewa? [/INST] SELECT name FROM table_name_65 WHERE area = "makarewa" </s>
Which name has a Gender of coed, and a Decile larger than 5, and a Roll of 131?
CREATE TABLE table_name_35 (name VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR)
SELECT name FROM table_name_35 WHERE gender = "coed" AND decile > 5 AND roll = 131
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (name VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR) Question: Which name has a Gender of coed, and a Decile larger than 5, and a Roll of 131? [/INST] SELECT name FROM table_name_35 WHERE g...
Add up all the Ends columns that have goals smaller than 0.
CREATE TABLE table_name_65 (ends INTEGER, goals INTEGER)
SELECT SUM(ends) FROM table_name_65 WHERE goals < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (ends INTEGER, goals INTEGER) Question: Add up all the Ends columns that have goals smaller than 0. [/INST] SELECT SUM(ends) FROM table_name_65 WHERE goals < 0 </s>
What was the competition in 2003?
CREATE TABLE table_name_43 (competition VARCHAR, year VARCHAR)
SELECT competition FROM table_name_43 WHERE year = 2003
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (competition VARCHAR, year VARCHAR) Question: What was the competition in 2003? [/INST] SELECT competition FROM table_name_43 WHERE year = 2003 </s>
What was the competition in 2003?
CREATE TABLE table_name_76 (competition VARCHAR, year VARCHAR)
SELECT competition FROM table_name_76 WHERE year = 2003
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (competition VARCHAR, year VARCHAR) Question: What was the competition in 2003? [/INST] SELECT competition FROM table_name_76 WHERE year = 2003 </s>
Which position has 50+12 points and fewer than 10 draws?
CREATE TABLE table_name_92 (position INTEGER, points VARCHAR, draws VARCHAR)
SELECT MAX(position) FROM table_name_92 WHERE points = "50+12" AND draws < 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (position INTEGER, points VARCHAR, draws VARCHAR) Question: Which position has 50+12 points and fewer than 10 draws? [/INST] SELECT MAX(position) FROM table_name_92 WHERE points = "50+12" AND draws...
How many positions have goals of fewer than 40 and more than 38 played?
CREATE TABLE table_name_62 (position VARCHAR, goals_for VARCHAR, played VARCHAR)
SELECT COUNT(position) FROM table_name_62 WHERE goals_for < 40 AND played > 38
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (position VARCHAR, goals_for VARCHAR, played VARCHAR) Question: How many positions have goals of fewer than 40 and more than 38 played? [/INST] SELECT COUNT(position) FROM table_name_62 WHERE goals...
How many losses are there in the CD Sabadell club with a goal difference less than -2, and more than 38 played?
CREATE TABLE table_name_26 (losses INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)
SELECT SUM(losses) FROM table_name_26 WHERE goal_difference < -2 AND club = "cd sabadell" AND played > 38
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (losses INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) Question: How many losses are there in the CD Sabadell club with a goal difference less than -2, and more than 38 played? [/I...
What are the average number of played with goals of less than 43, more than 9 draws, a higher position than 17 and 30-8 points?
CREATE TABLE table_name_64 (played INTEGER, points VARCHAR, position VARCHAR, goals_for VARCHAR, draws VARCHAR)
SELECT AVG(played) FROM table_name_64 WHERE goals_for < 43 AND draws > 9 AND position > 17 AND points = "30-8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (played INTEGER, points VARCHAR, position VARCHAR, goals_for VARCHAR, draws VARCHAR) Question: What are the average number of played with goals of less than 43, more than 9 draws, a higher position...
What is the total number of losses of the player with an avg/g smaller than -3.3 and a gain larger than 126?
CREATE TABLE table_name_86 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR)
SELECT COUNT(loss) FROM table_name_86 WHERE avg_g < -3.3 AND gain > 126
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR) Question: What is the total number of losses of the player with an avg/g smaller than -3.3 and a gain larger than 126? [/INST] SELECT COUNT(loss) FROM ta...
What is the total number of losses Jackson, T., who had more than 27 gain, an avg/g smaller than 55.9, and a long less than 34, had?
CREATE TABLE table_name_41 (loss VARCHAR, long VARCHAR, name VARCHAR, gain VARCHAR, avg_g VARCHAR)
SELECT COUNT(loss) FROM table_name_41 WHERE gain > 27 AND avg_g < 55.9 AND name = "jackson, t." AND long < 34
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (loss VARCHAR, long VARCHAR, name VARCHAR, gain VARCHAR, avg_g VARCHAR) Question: What is the total number of losses Jackson, T., who had more than 27 gain, an avg/g smaller than 55.9, and a long l...
What is the total number of long Dubose, E., who had 0 losses, a gain less than 17, and an avg/g bigger than 0, had?
CREATE TABLE table_name_45 (long VARCHAR, name VARCHAR, avg_g VARCHAR, loss VARCHAR, gain VARCHAR)
SELECT COUNT(long) FROM table_name_45 WHERE loss = 0 AND gain < 17 AND avg_g > 0 AND name = "dubose, e."
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (long VARCHAR, name VARCHAR, avg_g VARCHAR, loss VARCHAR, gain VARCHAR) Question: What is the total number of long Dubose, E., who had 0 losses, a gain less than 17, and an avg/g bigger than 0, had...
What date was the record 20–16?
CREATE TABLE table_name_38 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_38 WHERE record = "20–16"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (date VARCHAR, record VARCHAR) Question: What date was the record 20–16? [/INST] SELECT date FROM table_name_38 WHERE record = "20–16" </s>
What was the attendance in the gave versus the Brewers with a score of 9–6?
CREATE TABLE table_name_43 (attendance VARCHAR, opponent VARCHAR, score VARCHAR)
SELECT attendance FROM table_name_43 WHERE opponent = "brewers" AND score = "9–6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (attendance VARCHAR, opponent VARCHAR, score VARCHAR) Question: What was the attendance in the gave versus the Brewers with a score of 9–6? [/INST] SELECT attendance FROM table_name_43 WHERE oppone...
What was the attendance on May 26?
CREATE TABLE table_name_90 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_90 WHERE date = "may 26"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (attendance VARCHAR, date VARCHAR) Question: What was the attendance on May 26? [/INST] SELECT attendance FROM table_name_90 WHERE date = "may 26" </s>
Matches of 127 has how many total number of inns?
CREATE TABLE table_name_56 (inns VARCHAR, matches VARCHAR)
SELECT COUNT(inns) FROM table_name_56 WHERE matches = 127
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (inns VARCHAR, matches VARCHAR) Question: Matches of 127 has how many total number of inns? [/INST] SELECT COUNT(inns) FROM table_name_56 WHERE matches = 127 </s>
Name of clem hill, and Inns larger than 126 has the lowest runs?
CREATE TABLE table_name_83 (runs INTEGER, name VARCHAR, inns VARCHAR)
SELECT MIN(runs) FROM table_name_83 WHERE name = "clem hill" AND inns > 126
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (runs INTEGER, name VARCHAR, inns VARCHAR) Question: Name of clem hill, and Inns larger than 126 has the lowest runs? [/INST] SELECT MIN(runs) FROM table_name_83 WHERE name = "clem hill" AND inns >...
Runs smaller than 6106, and Inns smaller than 146 has what total number of matches?
CREATE TABLE table_name_24 (matches VARCHAR, runs VARCHAR, inns VARCHAR)
SELECT COUNT(matches) FROM table_name_24 WHERE runs < 6106 AND inns < 146
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (matches VARCHAR, runs VARCHAR, inns VARCHAR) Question: Runs smaller than 6106, and Inns smaller than 146 has what total number of matches? [/INST] SELECT COUNT(matches) FROM table_name_24 WHERE ru...
Seasons of 1987–2007, and a Runs larger than 11622 is the highest inns?
CREATE TABLE table_name_64 (inns INTEGER, seasons VARCHAR, runs VARCHAR)
SELECT MAX(inns) FROM table_name_64 WHERE seasons = "1987–2007" AND runs > 11622
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (inns INTEGER, seasons VARCHAR, runs VARCHAR) Question: Seasons of 1987–2007, and a Runs larger than 11622 is the highest inns? [/INST] SELECT MAX(inns) FROM table_name_64 WHERE seasons = "1987–200...
Name the partner for opponents of františek čermák michal mertiňák
CREATE TABLE table_name_46 (partner VARCHAR, opponents_in_the_final VARCHAR)
SELECT partner FROM table_name_46 WHERE opponents_in_the_final = "františek čermák michal mertiňák"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (partner VARCHAR, opponents_in_the_final VARCHAR) Question: Name the partner for opponents of františek čermák michal mertiňák [/INST] SELECT partner FROM table_name_46 WHERE opponents_in_the_final...
Name the score in the final for january 12, 2013
CREATE TABLE table_name_63 (score_in_the_final VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_63 WHERE date = "january 12, 2013"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (score_in_the_final VARCHAR, date VARCHAR) Question: Name the score in the final for january 12, 2013 [/INST] SELECT score_in_the_final FROM table_name_63 WHERE date = "january 12, 2013" </s>
Name the opponents for outcome of runner-up and date of august 7, 2011
CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)
SELECT opponents_in_the_final FROM table_name_19 WHERE outcome = "runner-up" AND date = "august 7, 2011"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) Question: Name the opponents for outcome of runner-up and date of august 7, 2011 [/INST] SELECT opponents_in_the_final FROM table_nam...
Name the partner for surface of grass and opponents of jürgen melzer philipp petzschner
CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR)
SELECT partner FROM table_name_22 WHERE surface = "grass" AND opponents_in_the_final = "jürgen melzer philipp petzschner"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR) Question: Name the partner for surface of grass and opponents of jürgen melzer philipp petzschner [/INST] SELECT partner FROM tabl...
Name the score in the final for runner-up and hard surface with opponents being michaël llodra nenad zimonjić
CREATE TABLE table_name_1 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT score_in_the_final FROM table_name_1 WHERE outcome = "runner-up" AND surface = "hard" AND opponents_in_the_final = "michaël llodra nenad zimonjić"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR) Question: Name the score in the final for runner-up and hard surface with opponents being michaël llodr...
What date was the ship 'Wyandotte' launched?
CREATE TABLE table_name_45 (launched VARCHAR, ship VARCHAR)
SELECT launched FROM table_name_45 WHERE ship = "wyandotte"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (launched VARCHAR, ship VARCHAR) Question: What date was the ship 'Wyandotte' launched? [/INST] SELECT launched FROM table_name_45 WHERE ship = "wyandotte" </s>
What was the original name of the ship 'Ajax'?
CREATE TABLE table_name_58 (renamed VARCHAR, ship VARCHAR)
SELECT renamed FROM table_name_58 WHERE ship = "ajax"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (renamed VARCHAR, ship VARCHAR) Question: What was the original name of the ship 'Ajax'? [/INST] SELECT renamed FROM table_name_58 WHERE ship = "ajax" </s>
What date was the ship named Manhattan completed?
CREATE TABLE table_name_60 (commissioned_or_completed_ VARCHAR, _ VARCHAR, ship VARCHAR)
SELECT commissioned_or_completed_ * _ FROM table_name_60 WHERE ship = "manhattan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (commissioned_or_completed_ VARCHAR, _ VARCHAR, ship VARCHAR) Question: What date was the ship named Manhattan completed? [/INST] SELECT commissioned_or_completed_ * _ FROM table_name_60 WHERE ship...
What class had fewer than 336 laps in 2004?
CREATE TABLE table_name_77 (class VARCHAR, laps VARCHAR, year VARCHAR)
SELECT class FROM table_name_77 WHERE laps < 336 AND year = 2004
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (class VARCHAR, laps VARCHAR, year VARCHAR) Question: What class had fewer than 336 laps in 2004? [/INST] SELECT class FROM table_name_77 WHERE laps < 336 AND year = 2004 </s>
What is the average attendance of game 1?
CREATE TABLE table_name_72 (attendance INTEGER, game INTEGER)
SELECT AVG(attendance) FROM table_name_72 WHERE game < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (attendance INTEGER, game INTEGER) Question: What is the average attendance of game 1? [/INST] SELECT AVG(attendance) FROM table_name_72 WHERE game < 1 </s>
What is the attendance amount of the race with a time of 2:07?
CREATE TABLE table_name_38 (attendance INTEGER, time VARCHAR)
SELECT MAX(attendance) FROM table_name_38 WHERE time = "2:07"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (attendance INTEGER, time VARCHAR) Question: What is the attendance amount of the race with a time of 2:07? [/INST] SELECT MAX(attendance) FROM table_name_38 WHERE time = "2:07" </s>
What club has less than 61 goals for and 55 goals against?
CREATE TABLE table_name_33 (club VARCHAR, goals_for VARCHAR, goals_against VARCHAR)
SELECT club FROM table_name_33 WHERE goals_for < 61 AND goals_against = 55
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (club VARCHAR, goals_for VARCHAR, goals_against VARCHAR) Question: What club has less than 61 goals for and 55 goals against? [/INST] SELECT club FROM table_name_33 WHERE goals_for < 61 AND goals_a...
What is the amount of Draws for the game that had a score of 45+7 and a position below 3?
CREATE TABLE table_name_29 (draws VARCHAR, points VARCHAR, position VARCHAR)
SELECT COUNT(draws) FROM table_name_29 WHERE points = "45+7" AND position < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (draws VARCHAR, points VARCHAR, position VARCHAR) Question: What is the amount of Draws for the game that had a score of 45+7 and a position below 3? [/INST] SELECT COUNT(draws) FROM table_name_29 ...
What was the number of draws when the Elche CF club played 38 and had a goal difference of -16?
CREATE TABLE table_name_86 (draws INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)
SELECT MIN(draws) FROM table_name_86 WHERE goal_difference > -16 AND club = "elche cf" AND played > 38
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (draws INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) Question: What was the number of draws when the Elche CF club played 38 and had a goal difference of -16? [/INST] SELECT MIN(d...
Who was the recipient for Outstanding actress television series prior to 2008?
CREATE TABLE table_name_7 (recipient VARCHAR, year INTEGER)
SELECT recipient FROM table_name_7 WHERE year < 2008
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (recipient VARCHAR, year INTEGER) Question: Who was the recipient for Outstanding actress television series prior to 2008? [/INST] SELECT recipient FROM table_name_7 WHERE year < 2008 </s>
Who was the opponent at the game when the record was 71-78?
CREATE TABLE table_name_67 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_67 WHERE record = "71-78"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent at the game when the record was 71-78? [/INST] SELECT opponent FROM table_name_67 WHERE record = "71-78" </s>
What was the date of the game that had a loss of Risley (0-1)?
CREATE TABLE table_name_2 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_2 WHERE loss = "risley (0-1)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, loss VARCHAR) Question: What was the date of the game that had a loss of Risley (0-1)? [/INST] SELECT date FROM table_name_2 WHERE loss = "risley (0-1)" </s>
What was the date of the game when the record was 70-74?
CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_86 WHERE record = "70-74"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR) Question: What was the date of the game when the record was 70-74? [/INST] SELECT date FROM table_name_86 WHERE record = "70-74" </s>
What player was moving from manchester united?
CREATE TABLE table_name_78 (name VARCHAR, moving_from VARCHAR)
SELECT name FROM table_name_78 WHERE moving_from = "manchester united"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (name VARCHAR, moving_from VARCHAR) Question: What player was moving from manchester united? [/INST] SELECT name FROM table_name_78 WHERE moving_from = "manchester united" </s>
What player costs £210k to transfer?
CREATE TABLE table_name_92 (name VARCHAR, transfer_fee VARCHAR)
SELECT name FROM table_name_92 WHERE transfer_fee = "£210k"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (name VARCHAR, transfer_fee VARCHAR) Question: What player costs £210k to transfer? [/INST] SELECT name FROM table_name_92 WHERE transfer_fee = "£210k" </s>
Who is moving during winter from wal?
CREATE TABLE table_name_28 (moving_from VARCHAR, transfer_window VARCHAR, country VARCHAR)
SELECT moving_from FROM table_name_28 WHERE transfer_window = "winter" AND country = "wal"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (moving_from VARCHAR, transfer_window VARCHAR, country VARCHAR) Question: Who is moving during winter from wal? [/INST] SELECT moving_from FROM table_name_28 WHERE transfer_window = "winter" AND co...
Which original artist has a Episode of workshop #1?
CREATE TABLE table_name_32 (original_artist VARCHAR, episode VARCHAR)
SELECT original_artist FROM table_name_32 WHERE episode = "workshop #1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (original_artist VARCHAR, episode VARCHAR) Question: Which original artist has a Episode of workshop #1? [/INST] SELECT original_artist FROM table_name_32 WHERE episode = "workshop #1" </s>
Which theme has a Episode of top 6?
CREATE TABLE table_name_79 (theme VARCHAR, episode VARCHAR)
SELECT theme FROM table_name_79 WHERE episode = "top 6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (theme VARCHAR, episode VARCHAR) Question: Which theme has a Episode of top 6? [/INST] SELECT theme FROM table_name_79 WHERE episode = "top 6" </s>
Which Theme has a Order # of 9?
CREATE TABLE table_name_5 (theme VARCHAR, order__number VARCHAR)
SELECT theme FROM table_name_5 WHERE order__number = "9"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (theme VARCHAR, order__number VARCHAR) Question: Which Theme has a Order # of 9? [/INST] SELECT theme FROM table_name_5 WHERE order__number = "9" </s>
What was the score on August 19?
CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_65 WHERE date = "august 19"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) Question: What was the score on August 19? [/INST] SELECT score FROM table_name_65 WHERE date = "august 19" </s>
Where the time is 2:46, what is the record?
CREATE TABLE table_name_83 (record VARCHAR, time VARCHAR)
SELECT record FROM table_name_83 WHERE time = "2:46"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (record VARCHAR, time VARCHAR) Question: Where the time is 2:46, what is the record? [/INST] SELECT record FROM table_name_83 WHERE time = "2:46" </s>
What is the Date, when the home team is the NY Rangers?
CREATE TABLE table_name_22 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_22 WHERE home = "ny rangers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (date VARCHAR, home VARCHAR) Question: What is the Date, when the home team is the NY Rangers? [/INST] SELECT date FROM table_name_22 WHERE home = "ny rangers" </s>
Power of 220kw (299hp) @ 4000 has what torque?
CREATE TABLE table_name_38 (torque VARCHAR, power VARCHAR)
SELECT torque FROM table_name_38 WHERE power = "220kw (299hp) @ 4000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (torque VARCHAR, power VARCHAR) Question: Power of 220kw (299hp) @ 4000 has what torque? [/INST] SELECT torque FROM table_name_38 WHERE power = "220kw (299hp) @ 4000" </s>
What is the Displacement that has Power of 220kw (299hp) @ 4000, and a year larger than 2002?
CREATE TABLE table_name_95 (displacement VARCHAR, year VARCHAR, power VARCHAR)
SELECT displacement FROM table_name_95 WHERE year > 2002 AND power = "220kw (299hp) @ 4000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (displacement VARCHAR, year VARCHAR, power VARCHAR) Question: What is the Displacement that has Power of 220kw (299hp) @ 4000, and a year larger than 2002? [/INST] SELECT displacement FROM table_na...
Displacement of 4.4l (4423cc/269in³) and a Power of 220kw (299hp) @ 4000 belongs to what engine?
CREATE TABLE table_name_21 (engine VARCHAR, displacement VARCHAR, power VARCHAR)
SELECT engine FROM table_name_21 WHERE displacement = "4.4l (4423cc/269in³)" AND power = "220kw (299hp) @ 4000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (engine VARCHAR, displacement VARCHAR, power VARCHAR) Question: Displacement of 4.4l (4423cc/269in³) and a Power of 220kw (299hp) @ 4000 belongs to what engine? [/INST] SELECT engine FROM table_nam...
What week was the Original artist, the police ?
CREATE TABLE table_name_5 (week VARCHAR, original_artist VARCHAR)
SELECT week FROM table_name_5 WHERE original_artist = "the police"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (week VARCHAR, original_artist VARCHAR) Question: What week was the Original artist, the police ? [/INST] SELECT week FROM table_name_5 WHERE original_artist = "the police" </s>
Which song garnered an advanced result during top 20 week ?
CREATE TABLE table_name_38 (song_choice VARCHAR, result VARCHAR, week VARCHAR)
SELECT song_choice FROM table_name_38 WHERE result = "advanced" AND week = "top 20"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (song_choice VARCHAR, result VARCHAR, week VARCHAR) Question: Which song garnered an advanced result during top 20 week ? [/INST] SELECT song_choice FROM table_name_38 WHERE result = "advanced" AND...
Which Malaysia Satellite tournaments were played after 1998?
CREATE TABLE table_name_52 (outcome VARCHAR, year VARCHAR, tournament VARCHAR)
SELECT outcome FROM table_name_52 WHERE year > 1998 AND tournament = "malaysia satellite"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (outcome VARCHAR, year VARCHAR, tournament VARCHAR) Question: Which Malaysia Satellite tournaments were played after 1998? [/INST] SELECT outcome FROM table_name_52 WHERE year > 1998 AND tournament...
Who was the runner-up for the Bulgaria Open, before 2007?
CREATE TABLE table_name_40 (score VARCHAR, tournament VARCHAR, year VARCHAR, outcome VARCHAR)
SELECT score FROM table_name_40 WHERE year < 2007 AND outcome = "runner-up" AND tournament = "bulgaria open"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (score VARCHAR, tournament VARCHAR, year VARCHAR, outcome VARCHAR) Question: Who was the runner-up for the Bulgaria Open, before 2007? [/INST] SELECT score FROM table_name_40 WHERE year < 2007 AND ...
What was the score of the player who played against Wong Choong Hann in the Dutch Open?
CREATE TABLE table_name_47 (score VARCHAR, tournament VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_47 WHERE tournament = "dutch open" AND opponent = "wong choong hann"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (score VARCHAR, tournament VARCHAR, opponent VARCHAR) Question: What was the score of the player who played against Wong Choong Hann in the Dutch Open? [/INST] SELECT score FROM table_name_47 WHERE...
What was the outcome of the match against Nguyen Tien Minh in the Bulgaria Open?
CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR, tournament VARCHAR)
SELECT outcome FROM table_name_51 WHERE opponent = "nguyen tien minh" AND tournament = "bulgaria open"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR, tournament VARCHAR) Question: What was the outcome of the match against Nguyen Tien Minh in the Bulgaria Open? [/INST] SELECT outcome FROM table_name_51 WHERE op...
What was the final score when the New York Jets were the Visiting Team?
CREATE TABLE table_name_86 (final_score VARCHAR, visiting_team VARCHAR)
SELECT final_score FROM table_name_86 WHERE visiting_team = "new york jets"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (final_score VARCHAR, visiting_team VARCHAR) Question: What was the final score when the New York Jets were the Visiting Team? [/INST] SELECT final_score FROM table_name_86 WHERE visiting_team = "n...
When were the Cleveland Browns the visiting team?
CREATE TABLE table_name_62 (date VARCHAR, visiting_team VARCHAR)
SELECT date FROM table_name_62 WHERE visiting_team = "cleveland browns"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (date VARCHAR, visiting_team VARCHAR) Question: When were the Cleveland Browns the visiting team? [/INST] SELECT date FROM table_name_62 WHERE visiting_team = "cleveland browns" </s>
Where were the New York Jets visiting?
CREATE TABLE table_name_65 (stadium VARCHAR, visiting_team VARCHAR)
SELECT stadium FROM table_name_65 WHERE visiting_team = "new york jets"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (stadium VARCHAR, visiting_team VARCHAR) Question: Where were the New York Jets visiting? [/INST] SELECT stadium FROM table_name_65 WHERE visiting_team = "new york jets" </s>
What was the final score in Robert F. Kennedy Memorial Stadium?
CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR)
SELECT final_score FROM table_name_26 WHERE stadium = "robert f. kennedy memorial stadium"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR) Question: What was the final score in Robert F. Kennedy Memorial Stadium? [/INST] SELECT final_score FROM table_name_26 WHERE stadium = "robert f. kennedy mem...
What was the visiting team on November 12?
CREATE TABLE table_name_12 (visiting_team VARCHAR, date VARCHAR)
SELECT visiting_team FROM table_name_12 WHERE date = "november 12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (visiting_team VARCHAR, date VARCHAR) Question: What was the visiting team on November 12? [/INST] SELECT visiting_team FROM table_name_12 WHERE date = "november 12" </s>
In what stadium were the New England Patriots the visiting team?
CREATE TABLE table_name_13 (stadium VARCHAR, visiting_team VARCHAR)
SELECT stadium FROM table_name_13 WHERE visiting_team = "new england patriots"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (stadium VARCHAR, visiting_team VARCHAR) Question: In what stadium were the New England Patriots the visiting team? [/INST] SELECT stadium FROM table_name_13 WHERE visiting_team = "new england patr...
If the games played are smaller than 18, what are the lowest goals conceded?
CREATE TABLE table_name_72 (goals_conceded INTEGER, played INTEGER)
SELECT MIN(goals_conceded) FROM table_name_72 WHERE played < 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (goals_conceded INTEGER, played INTEGER) Question: If the games played are smaller than 18, what are the lowest goals conceded? [/INST] SELECT MIN(goals_conceded) FROM table_name_72 WHERE played < ...
If the place is smaller than 8 and they played more than 18, what is the total number of goals conceded?
CREATE TABLE table_name_54 (goals_conceded VARCHAR, place VARCHAR, played VARCHAR)
SELECT COUNT(goals_conceded) FROM table_name_54 WHERE place < 8 AND played > 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (goals_conceded VARCHAR, place VARCHAR, played VARCHAR) Question: If the place is smaller than 8 and they played more than 18, what is the total number of goals conceded? [/INST] SELECT COUNT(goals...
What is the sum of the place that has less than 2 losses?
CREATE TABLE table_name_60 (place INTEGER, lost INTEGER)
SELECT SUM(place) FROM table_name_60 WHERE lost < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (place INTEGER, lost INTEGER) Question: What is the sum of the place that has less than 2 losses? [/INST] SELECT SUM(place) FROM table_name_60 WHERE lost < 2 </s>
What is the smallest width for a frame size of 5k and a height shorter than 2700?
CREATE TABLE table_name_18 (width INTEGER, frame_size VARCHAR, height VARCHAR)
SELECT MIN(width) FROM table_name_18 WHERE frame_size = "5k" AND height < 2700
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (width INTEGER, frame_size VARCHAR, height VARCHAR) Question: What is the smallest width for a frame size of 5k and a height shorter than 2700? [/INST] SELECT MIN(width) FROM table_name_18 WHERE fr...
What was the opponent on August 29?
CREATE TABLE table_name_57 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_57 WHERE date = "august 29"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (opponent VARCHAR, date VARCHAR) Question: What was the opponent on August 29? [/INST] SELECT opponent FROM table_name_57 WHERE date = "august 29" </s>
Which team had the attendance of 16,468 and lost?
CREATE TABLE table_name_61 (loss VARCHAR, attendance VARCHAR)
SELECT loss FROM table_name_61 WHERE attendance = "16,468"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (loss VARCHAR, attendance VARCHAR) Question: Which team had the attendance of 16,468 and lost? [/INST] SELECT loss FROM table_name_61 WHERE attendance = "16,468" </s>
What opponent has a loss of Trachsel (10-11)?
CREATE TABLE table_name_12 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_12 WHERE loss = "trachsel (10-11)"
<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: What opponent has a loss of Trachsel (10-11)? [/INST] SELECT opponent FROM table_name_12 WHERE loss = "trachsel (10-11)" </s>
What was the attendance on August 8?
CREATE TABLE table_name_47 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_47 WHERE date = "august 8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (attendance VARCHAR, date VARCHAR) Question: What was the attendance on August 8? [/INST] SELECT attendance FROM table_name_47 WHERE date = "august 8" </s>
Which rapid has a distance in km smaller than 14.2, and a Station of kōmyōji?
CREATE TABLE table_name_91 (rapid VARCHAR, distance__km_ VARCHAR, station VARCHAR)
SELECT rapid FROM table_name_91 WHERE distance__km_ < 14.2 AND station = "kōmyōji"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (rapid VARCHAR, distance__km_ VARCHAR, station VARCHAR) Question: Which rapid has a distance in km smaller than 14.2, and a Station of kōmyōji? [/INST] SELECT rapid FROM table_name_91 WHERE distanc...
What is the sum of Other, when the Name is Simon Gillett Category:Articles with hCards, and when the Total is less than 34?
CREATE TABLE table_name_14 (other INTEGER, name VARCHAR, total VARCHAR)
SELECT SUM(other) FROM table_name_14 WHERE name = "simon gillett category:articles with hcards" AND total < 34
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (other INTEGER, name VARCHAR, total VARCHAR) Question: What is the sum of Other, when the Name is Simon Gillett Category:Articles with hCards, and when the Total is less than 34? [/INST] SELECT SUM...
What is the sum of the value "League Cup", when the Total is less than 1, and when the League is less than 0?
CREATE TABLE table_name_7 (league INTEGER, total VARCHAR)
SELECT SUM(league) AS Cup FROM table_name_7 WHERE total < 1 AND league < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (league INTEGER, total VARCHAR) Question: What is the sum of the value "League Cup", when the Total is less than 1, and when the League is less than 0? [/INST] SELECT SUM(league) AS Cup FROM table_n...
What is the average Total, when the Name is Simon Gillett Category:Articles with hCards, and when the Other is greater than 3?
CREATE TABLE table_name_60 (total INTEGER, name VARCHAR, other VARCHAR)
SELECT AVG(total) FROM table_name_60 WHERE name = "simon gillett category:articles with hcards" AND other > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (total INTEGER, name VARCHAR, other VARCHAR) Question: What is the average Total, when the Name is Simon Gillett Category:Articles with hCards, and when the Other is greater than 3? [/INST] SELECT ...
What is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1?
CREATE TABLE table_name_68 (league INTEGER, other VARCHAR, name VARCHAR)
SELECT SUM(league) AS Cup FROM table_name_68 WHERE other < 1 AND name = "gareth farrelly category:articles with hcards" AND league > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (league INTEGER, other VARCHAR, name VARCHAR) Question: What is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the Le...
Name the champion for christopher miles runner-up
CREATE TABLE table_name_52 (champion VARCHAR, runner_up VARCHAR)
SELECT champion FROM table_name_52 WHERE runner_up = "christopher miles"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (champion VARCHAR, runner_up VARCHAR) Question: Name the champion for christopher miles runner-up [/INST] SELECT champion FROM table_name_52 WHERE runner_up = "christopher miles" </s>
Name the champion for 2000
CREATE TABLE table_name_52 (champion VARCHAR, year VARCHAR)
SELECT champion FROM table_name_52 WHERE year = "2000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (champion VARCHAR, year VARCHAR) Question: Name the champion for 2000 [/INST] SELECT champion FROM table_name_52 WHERE year = "2000" </s>
Name the location for 1998
CREATE TABLE table_name_26 (location VARCHAR, year VARCHAR)
SELECT location FROM table_name_26 WHERE year = "1998"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (location VARCHAR, year VARCHAR) Question: Name the location for 1998 [/INST] SELECT location FROM table_name_26 WHERE year = "1998" </s>
How many gold medals correspond with a total over 4?
CREATE TABLE table_name_42 (gold VARCHAR, total INTEGER)
SELECT gold FROM table_name_42 WHERE total > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (gold VARCHAR, total INTEGER) Question: How many gold medals correspond with a total over 4? [/INST] SELECT gold FROM table_name_42 WHERE total > 4 </s>
What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals?
CREATE TABLE table_name_72 (gold INTEGER, total VARCHAR, bronze VARCHAR)
SELECT SUM(gold) FROM table_name_72 WHERE total = 12 AND bronze < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (gold INTEGER, total VARCHAR, bronze VARCHAR) Question: What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals? [/INST] SELECT SUM(gold) FROM table_name_72 WHERE tot...
What is the smallest number of gold medals corresponding to the total rank with more than 4 bronze medals?
CREATE TABLE table_name_7 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MIN(gold) FROM table_name_7 WHERE rank = "total" AND bronze > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (gold INTEGER, rank VARCHAR, bronze VARCHAR) Question: What is the smallest number of gold medals corresponding to the total rank with more than 4 bronze medals? [/INST] SELECT MIN(gold) FROM table_...
What is the smallest number of bronze medals with more than 4 gold medals?
CREATE TABLE table_name_7 (bronze INTEGER, gold INTEGER)
SELECT MIN(bronze) FROM table_name_7 WHERE gold > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (bronze INTEGER, gold INTEGER) Question: What is the smallest number of bronze medals with more than 4 gold medals? [/INST] SELECT MIN(bronze) FROM table_name_7 WHERE gold > 4 </s>
The candidate with Riding of st. john's south—mount pearl is what gender?
CREATE TABLE table_name_3 (gender VARCHAR, riding VARCHAR)
SELECT gender FROM table_name_3 WHERE riding = "st. john's south—mount pearl"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (gender VARCHAR, riding VARCHAR) Question: The candidate with Riding of st. john's south—mount pearl is what gender? [/INST] SELECT gender FROM table_name_3 WHERE riding = "st. john's south—mount pe...
Which number has a 0.35 percentage?
CREATE TABLE table_name_26 (number VARCHAR, percentage___percentage_ VARCHAR)
SELECT number FROM table_name_26 WHERE percentage___percentage_ = "0.35"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (number VARCHAR, percentage___percentage_ VARCHAR) Question: Which number has a 0.35 percentage? [/INST] SELECT number FROM table_name_26 WHERE percentage___percentage_ = "0.35" </s>
What is the percentage for Russian?
CREATE TABLE table_name_90 (percentage___percentage_ VARCHAR, language VARCHAR)
SELECT percentage___percentage_ FROM table_name_90 WHERE language = "russian"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (percentage___percentage_ VARCHAR, language VARCHAR) Question: What is the percentage for Russian? [/INST] SELECT percentage___percentage_ FROM table_name_90 WHERE language = "russian" </s>
How many males speak Russian?
CREATE TABLE table_name_3 (males VARCHAR, language VARCHAR)
SELECT males FROM table_name_3 WHERE language = "russian"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (males VARCHAR, language VARCHAR) Question: How many males speak Russian? [/INST] SELECT males FROM table_name_3 WHERE language = "russian" </s>
Who is the writer for Red Rose Chain LTD?
CREATE TABLE table_name_4 (writer_s_ VARCHAR, recipient VARCHAR)
SELECT writer_s_ FROM table_name_4 WHERE recipient = "red rose chain ltd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (writer_s_ VARCHAR, recipient VARCHAR) Question: Who is the writer for Red Rose Chain LTD? [/INST] SELECT writer_s_ FROM table_name_4 WHERE recipient = "red rose chain ltd" </s>
Which producer did Daniel Cormack direct?
CREATE TABLE table_name_50 (producer_s_ VARCHAR, director_s_ VARCHAR)
SELECT producer_s_ FROM table_name_50 WHERE director_s_ = "daniel cormack"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (producer_s_ VARCHAR, director_s_ VARCHAR) Question: Which producer did Daniel Cormack direct? [/INST] SELECT producer_s_ FROM table_name_50 WHERE director_s_ = "daniel cormack" </s>
Who produced Laura Tunstall?
CREATE TABLE table_name_91 (producer_s_ VARCHAR, recipient VARCHAR)
SELECT producer_s_ FROM table_name_91 WHERE recipient = "laura tunstall"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (producer_s_ VARCHAR, recipient VARCHAR) Question: Who produced Laura Tunstall? [/INST] SELECT producer_s_ FROM table_name_91 WHERE recipient = "laura tunstall" </s>
Who wrote the film Jehovah's Witness?
CREATE TABLE table_name_5 (writer_s_ VARCHAR, film VARCHAR)
SELECT writer_s_ FROM table_name_5 WHERE film = "jehovah's witness"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (writer_s_ VARCHAR, film VARCHAR) Question: Who wrote the film Jehovah's Witness? [/INST] SELECT writer_s_ FROM table_name_5 WHERE film = "jehovah's witness" </s>
When did Hein Vergeer have a distance of 5,000m?
CREATE TABLE table_name_7 (date VARCHAR, distance VARCHAR)
SELECT date FROM table_name_7 WHERE distance = "5,000m"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (date VARCHAR, distance VARCHAR) Question: When did Hein Vergeer have a distance of 5,000m? [/INST] SELECT date FROM table_name_7 WHERE distance = "5,000m" </s>
What were the notes during the distance of Men's Speed Skating?
CREATE TABLE table_name_57 (notes VARCHAR, distance VARCHAR)
SELECT notes FROM table_name_57 WHERE distance = "men's speed skating"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (notes VARCHAR, distance VARCHAR) Question: What were the notes during the distance of Men's Speed Skating? [/INST] SELECT notes FROM table_name_57 WHERE distance = "men's speed skating" </s>
What date has the competition of uefa euro 2012 qualifying?
CREATE TABLE table_name_77 (date VARCHAR, competition VARCHAR)
SELECT date FROM table_name_77 WHERE competition = "uefa euro 2012 qualifying"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (date VARCHAR, competition VARCHAR) Question: What date has the competition of uefa euro 2012 qualifying? [/INST] SELECT date FROM table_name_77 WHERE competition = "uefa euro 2012 qualifying" </s>
What is the Grade that has Turf 1600m?
CREATE TABLE table_name_27 (grade VARCHAR, priority_entry_rights_to_derby VARCHAR)
SELECT grade FROM table_name_27 WHERE priority_entry_rights_to_derby = "turf 1600m"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (grade VARCHAR, priority_entry_rights_to_derby VARCHAR) Question: What is the Grade that has Turf 1600m? [/INST] SELECT grade FROM table_name_27 WHERE priority_entry_rights_to_derby = "turf 1600m" ...
What is the Priority-entry-rights to Derby in rank 4?
CREATE TABLE table_name_51 (priority_entry_rights_to_derby VARCHAR, race_name VARCHAR)
SELECT priority_entry_rights_to_derby FROM table_name_51 WHERE NOT race_name = 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (priority_entry_rights_to_derby VARCHAR, race_name VARCHAR) Question: What is the Priority-entry-rights to Derby in rank 4? [/INST] SELECT priority_entry_rights_to_derby FROM table_name_51 WHERE NO...
How many Baia Mare have an Electrica North Transylvania under 14.476, Bistrita of 643, and Zalau under 737?
CREATE TABLE table_name_59 (baia_mare VARCHAR, zalau VARCHAR, electrica_north_transylvania VARCHAR, bistrita VARCHAR)
SELECT COUNT(baia_mare) FROM table_name_59 WHERE electrica_north_transylvania < 14.476 AND bistrita = 643 AND zalau < 737
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (baia_mare VARCHAR, zalau VARCHAR, electrica_north_transylvania VARCHAR, bistrita VARCHAR) Question: How many Baia Mare have an Electrica North Transylvania under 14.476, Bistrita of 643, and Zalau...
What is the smallest Satu Mare value associated with Baia Mare over 523?
CREATE TABLE table_name_37 (satu_mare INTEGER, baia_mare INTEGER)
SELECT MIN(satu_mare) FROM table_name_37 WHERE baia_mare > 523
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (satu_mare INTEGER, baia_mare INTEGER) Question: What is the smallest Satu Mare value associated with Baia Mare over 523? [/INST] SELECT MIN(satu_mare) FROM table_name_37 WHERE baia_mare > 523 </s>
Which Word wrap support has a Format of mobipocket?
CREATE TABLE table_name_65 (word_wrap_support VARCHAR, format VARCHAR)
SELECT word_wrap_support FROM table_name_65 WHERE format = "mobipocket"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (word_wrap_support VARCHAR, format VARCHAR) Question: Which Word wrap support has a Format of mobipocket? [/INST] SELECT word_wrap_support FROM table_name_65 WHERE format = "mobipocket" </s>
Which Interactivity support has a Format of fictionbook?
CREATE TABLE table_name_75 (interactivity_support VARCHAR, format VARCHAR)
SELECT interactivity_support FROM table_name_75 WHERE format = "fictionbook"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (interactivity_support VARCHAR, format VARCHAR) Question: Which Interactivity support has a Format of fictionbook? [/INST] SELECT interactivity_support FROM table_name_75 WHERE format = "fictionboo...