instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What is the Call sign of the Omni television network with a Digitial PSIP of 14.1?
CREATE TABLE table_name_52 (call_sign VARCHAR, network VARCHAR, digital_psip VARCHAR)
SELECT call_sign FROM table_name_52 WHERE network = "omni television" AND digital_psip = 14.1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (call_sign VARCHAR, network VARCHAR, digital_psip VARCHAR) Question: What is the Call sign of the Omni television network with a Digitial PSIP of 14.1? [/INST] SELECT call_sign FROM table_name_52 WHERE network = "omni television" AND digital_psip = 14.1 </s>
What's the total number of Rogers Cable (Ottawa) channels that have a Digital PSIP greater than 9.1, and a Vidéotron (Gatineau) of channel 14?
CREATE TABLE table_name_58 (rogers_cable__ottawa_ VARCHAR, digital_psip VARCHAR, vidéotron__gatineau_ VARCHAR)
SELECT COUNT(rogers_cable__ottawa_) FROM table_name_58 WHERE digital_psip > 9.1 AND vidéotron__gatineau_ = 14
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (rogers_cable__ottawa_ VARCHAR, digital_psip VARCHAR, vidéotron__gatineau_ VARCHAR) Question: What's the total number of Rogers Cable (Ottawa) channels that have a Digital PSIP greater than 9.1, and a Vidéotron (Gatineau) of channel 14? [/INST] SELECT COUNT(rogers_cable__ottawa_) FROM table_name_58 WHERE digital_psip > 9.1 AND vidéotron__gatineau_ = 14 </s>
Which Network is on a Vidéotron (Gatineau) channel lower than 8 and a Rogers Cable (Ottawa) channel lower than 8 and has a Call Sign of cjoh-dt?
CREATE TABLE table_name_26 (network VARCHAR, call_sign VARCHAR, vidéotron__gatineau_ VARCHAR, rogers_cable__ottawa_ VARCHAR)
SELECT network FROM table_name_26 WHERE vidéotron__gatineau_ < 8 AND rogers_cable__ottawa_ < 8 AND call_sign = "cjoh-dt"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (network VARCHAR, call_sign VARCHAR, vidéotron__gatineau_ VARCHAR, rogers_cable__ottawa_ VARCHAR) Question: Which Network is on a Vidéotron (Gatineau) channel lower than 8 and a Rogers Cable (Ottawa) channel lower than 8 and has a Call Sign of cjoh-dt? [/INST] SELECT network FROM table_name_26 WHERE vidéotron__gatineau_ < 8 AND rogers_cable__ottawa_ < 8 AND call_sign = "cjoh-dt" </s>
What was the record after the fight that lasted 8:17?
CREATE TABLE table_name_35 (record VARCHAR, time VARCHAR)
SELECT record FROM table_name_35 WHERE time = "8:17"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (record VARCHAR, time VARCHAR) Question: What was the record after the fight that lasted 8:17? [/INST] SELECT record FROM table_name_35 WHERE time = "8:17" </s>
What was the result of the fight with Tony Halme?
CREATE TABLE table_name_27 (res VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_27 WHERE opponent = "tony halme"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (res VARCHAR, opponent VARCHAR) Question: What was the result of the fight with Tony Halme? [/INST] SELECT res FROM table_name_27 WHERE opponent = "tony halme" </s>
Who did they play on August 26?
CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_44 WHERE date = "august 26"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR) Question: Who did they play on August 26? [/INST] SELECT opponent FROM table_name_44 WHERE date = "august 26" </s>
What was the attendance for the game on August 16?
CREATE TABLE table_name_74 (attendance INTEGER, date VARCHAR)
SELECT SUM(attendance) FROM table_name_74 WHERE date = "august 16"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (attendance INTEGER, date VARCHAR) Question: What was the attendance for the game on August 16? [/INST] SELECT SUM(attendance) FROM table_name_74 WHERE date = "august 16" </s>
What team did Johnson (11-7) play for?
CREATE TABLE table_name_60 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_60 WHERE loss = "johnson (11-7)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (opponent VARCHAR, loss VARCHAR) Question: What team did Johnson (11-7) play for? [/INST] SELECT opponent FROM table_name_60 WHERE loss = "johnson (11-7)" </s>
What is the highest number of points the cosworth straight-4 engine scored?
CREATE TABLE table_name_51 (pts INTEGER, engine VARCHAR)
SELECT MAX(pts) FROM table_name_51 WHERE engine = "cosworth straight-4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (pts INTEGER, engine VARCHAR) Question: What is the highest number of points the cosworth straight-4 engine scored? [/INST] SELECT MAX(pts) FROM table_name_51 WHERE engine = "cosworth straight-4" </s>
What is the latest year that shadow racing team scored more than 0 points?
CREATE TABLE table_name_13 (year INTEGER, entrant VARCHAR, pts VARCHAR)
SELECT MAX(year) FROM table_name_13 WHERE entrant = "shadow racing team" AND pts > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (year INTEGER, entrant VARCHAR, pts VARCHAR) Question: What is the latest year that shadow racing team scored more than 0 points? [/INST] SELECT MAX(year) FROM table_name_13 WHERE entrant = "shadow racing team" AND pts > 0 </s>
What round was held in palavas-les-flots , herault , france?
CREATE TABLE table_name_43 (round VARCHAR, location VARCHAR)
SELECT round FROM table_name_43 WHERE location = "palavas-les-flots , herault , france"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (round VARCHAR, location VARCHAR) Question: What round was held in palavas-les-flots , herault , france? [/INST] SELECT round FROM table_name_43 WHERE location = "palavas-les-flots , herault , france" </s>
What is the second leg that Valencia was on?
CREATE TABLE table_name_33 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_33 WHERE team_2 = "valencia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (team_2 VARCHAR) Question: What is the second leg that Valencia was on? [/INST] SELECT 2 AS nd_leg FROM table_name_33 WHERE team_2 = "valencia" </s>
Name the loss with record of 14-19
CREATE TABLE table_name_68 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_68 WHERE record = "14-19"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (loss VARCHAR, record VARCHAR) Question: Name the loss with record of 14-19 [/INST] SELECT loss FROM table_name_68 WHERE record = "14-19" </s>
Name the score with record of 17-27
CREATE TABLE table_name_6 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_6 WHERE record = "17-27"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (score VARCHAR, record VARCHAR) Question: Name the score with record of 17-27 [/INST] SELECT score FROM table_name_6 WHERE record = "17-27" </s>
Name the opponent with record of 12-18
CREATE TABLE table_name_20 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_20 WHERE record = "12-18"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (opponent VARCHAR, record VARCHAR) Question: Name the opponent with record of 12-18 [/INST] SELECT opponent FROM table_name_20 WHERE record = "12-18" </s>
Who was the General classification when Pascal Richard was the winner?
CREATE TABLE table_name_90 (general_classification VARCHAR, winner VARCHAR)
SELECT general_classification FROM table_name_90 WHERE winner = "pascal richard"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (general_classification VARCHAR, winner VARCHAR) Question: Who was the General classification when Pascal Richard was the winner? [/INST] SELECT general_classification FROM table_name_90 WHERE winner = "pascal richard" </s>
Who had the Points classification for Stage 13?
CREATE TABLE table_name_20 (points_classification VARCHAR, stage VARCHAR)
SELECT points_classification FROM table_name_20 WHERE stage = "13"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (points_classification VARCHAR, stage VARCHAR) Question: Who had the Points classification for Stage 13? [/INST] SELECT points_classification FROM table_name_20 WHERE stage = "13" </s>
What was the Stage when Pascal Richard had the Mountains classification and Vladimir Poulnikov won?
CREATE TABLE table_name_71 (stage VARCHAR, mountains_classification VARCHAR, winner VARCHAR)
SELECT stage FROM table_name_71 WHERE mountains_classification = "pascal richard" AND winner = "vladimir poulnikov"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (stage VARCHAR, mountains_classification VARCHAR, winner VARCHAR) Question: What was the Stage when Pascal Richard had the Mountains classification and Vladimir Poulnikov won? [/INST] SELECT stage FROM table_name_71 WHERE mountains_classification = "pascal richard" AND winner = "vladimir poulnikov" </s>
What's the total score of Danny Edwards?
CREATE TABLE table_name_39 (score INTEGER, player VARCHAR)
SELECT SUM(score) FROM table_name_39 WHERE player = "danny edwards"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (score INTEGER, player VARCHAR) Question: What's the total score of Danny Edwards? [/INST] SELECT SUM(score) FROM table_name_39 WHERE player = "danny edwards" </s>
Where was the place in Australia that had a score of 70?
CREATE TABLE table_name_20 (place VARCHAR, score VARCHAR, country VARCHAR)
SELECT place FROM table_name_20 WHERE score = 70 AND country = "australia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (place VARCHAR, score VARCHAR, country VARCHAR) Question: Where was the place in Australia that had a score of 70? [/INST] SELECT place FROM table_name_20 WHERE score = 70 AND country = "australia" </s>
The entrepreneur Adam Weaver was featured in which episode?
CREATE TABLE table_name_28 (episode VARCHAR, entrepreneur_s_ VARCHAR)
SELECT episode FROM table_name_28 WHERE entrepreneur_s_ = "adam weaver"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (episode VARCHAR, entrepreneur_s_ VARCHAR) Question: The entrepreneur Adam Weaver was featured in which episode? [/INST] SELECT episode FROM table_name_28 WHERE entrepreneur_s_ = "adam weaver" </s>
The entrepreneur Layla Bennett was featured in which episode?
CREATE TABLE table_name_60 (episode VARCHAR, entrepreneur_s_ VARCHAR)
SELECT episode FROM table_name_60 WHERE entrepreneur_s_ = "layla bennett"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (episode VARCHAR, entrepreneur_s_ VARCHAR) Question: The entrepreneur Layla Bennett was featured in which episode? [/INST] SELECT episode FROM table_name_60 WHERE entrepreneur_s_ = "layla bennett" </s>
What is the highest population of the region with a rank bigger than 9?
CREATE TABLE table_name_29 (population INTEGER, rank INTEGER)
SELECT MAX(population) FROM table_name_29 WHERE rank > 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (population INTEGER, rank INTEGER) Question: What is the highest population of the region with a rank bigger than 9? [/INST] SELECT MAX(population) FROM table_name_29 WHERE rank > 9 </s>
What is the average population of the region with a density less than 487, a rank of 9, and an area larger than 377,944?
CREATE TABLE table_name_24 (population INTEGER, area__km_2__ VARCHAR, density__pop_per_km_2__ VARCHAR, rank VARCHAR)
SELECT AVG(population) FROM table_name_24 WHERE density__pop_per_km_2__ < 487 AND rank = 9 AND area__km_2__ > 377 OFFSET 944 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (population INTEGER, area__km_2__ VARCHAR, density__pop_per_km_2__ VARCHAR, rank VARCHAR) Question: What is the average population of the region with a density less than 487, a rank of 9, and an area larger than 377,944? [/INST] SELECT AVG(population) FROM table_name_24 WHERE density__pop_per_km_2__ < 487 AND rank = 9 AND area__km_2__ > 377 OFFSET 944 ROWS </s>
What is the TDP (w) of the chipset with a codename sb850?
CREATE TABLE table_name_3 (tdp___w__ VARCHAR, codename VARCHAR)
SELECT COUNT(tdp___w__) FROM table_name_3 WHERE codename = "sb850"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (tdp___w__ VARCHAR, codename VARCHAR) Question: What is the TDP (w) of the chipset with a codename sb850? [/INST] SELECT COUNT(tdp___w__) FROM table_name_3 WHERE codename = "sb850" </s>
Which round is a lower score than 21.5?
CREATE TABLE table_name_46 (round VARCHAR, score INTEGER)
SELECT round FROM table_name_46 WHERE score < 21.5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (round VARCHAR, score INTEGER) Question: Which round is a lower score than 21.5? [/INST] SELECT round FROM table_name_46 WHERE score < 21.5 </s>
Which round status is in with this song: 叶良俊 - 爱你不是爱给别人看?
CREATE TABLE table_name_25 (round VARCHAR, status VARCHAR, song VARCHAR)
SELECT round FROM table_name_25 WHERE status = "in" AND song = "叶良俊 - 爱你不是爱给别人看"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (round VARCHAR, status VARCHAR, song VARCHAR) Question: Which round status is in with this song: 叶良俊 - 爱你不是爱给别人看? [/INST] SELECT round FROM table_name_25 WHERE status = "in" AND song = "叶良俊 - 爱你不是爱给别人看" </s>
Which status accompanies the score 21.5?
CREATE TABLE table_name_94 (status VARCHAR, score VARCHAR)
SELECT status FROM table_name_94 WHERE score = 21.5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (status VARCHAR, score VARCHAR) Question: Which status accompanies the score 21.5? [/INST] SELECT status FROM table_name_94 WHERE score = 21.5 </s>
Wjat score is greater than 22 with this song: 林俊杰 - 木乃伊?
CREATE TABLE table_name_86 (name VARCHAR, score VARCHAR, song VARCHAR)
SELECT name FROM table_name_86 WHERE score > 22 AND song = "林俊杰 - 木乃伊"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (name VARCHAR, score VARCHAR, song VARCHAR) Question: Wjat score is greater than 22 with this song: 林俊杰 - 木乃伊? [/INST] SELECT name FROM table_name_86 WHERE score > 22 AND song = "林俊杰 - 木乃伊" </s>
What round has this song: 陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你?
CREATE TABLE table_name_18 (round VARCHAR, song VARCHAR)
SELECT round FROM table_name_18 WHERE song = "陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (round VARCHAR, song VARCHAR) Question: What round has this song: 陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你? [/INST] SELECT round FROM table_name_18 WHERE song = "陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你" </s>
What is the artist with less than a 2 draw?
CREATE TABLE table_name_88 (artist VARCHAR, draw INTEGER)
SELECT artist FROM table_name_88 WHERE draw < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (artist VARCHAR, draw INTEGER) Question: What is the artist with less than a 2 draw? [/INST] SELECT artist FROM table_name_88 WHERE draw < 2 </s>
What is the average issue price with from Toronto maple leafs gift set, and a Mintage of 3527?
CREATE TABLE table_name_73 (issue_price INTEGER, special_notes VARCHAR, mintage VARCHAR)
SELECT AVG(issue_price) FROM table_name_73 WHERE special_notes = "from toronto maple leafs gift set" AND mintage = "3527"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (issue_price INTEGER, special_notes VARCHAR, mintage VARCHAR) Question: What is the average issue price with from Toronto maple leafs gift set, and a Mintage of 3527? [/INST] SELECT AVG(issue_price) FROM table_name_73 WHERE special_notes = "from toronto maple leafs gift set" AND mintage = "3527" </s>
What theme has a mintage of 3527?
CREATE TABLE table_name_91 (theme VARCHAR, mintage VARCHAR)
SELECT theme FROM table_name_91 WHERE mintage = "3527"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (theme VARCHAR, mintage VARCHAR) Question: What theme has a mintage of 3527? [/INST] SELECT theme FROM table_name_91 WHERE mintage = "3527" </s>
When was a mintage of 1264 with more than 24.95 issued?
CREATE TABLE table_name_45 (year INTEGER, mintage VARCHAR, issue_price VARCHAR)
SELECT MAX(year) FROM table_name_45 WHERE mintage = "1264" AND issue_price > 24.95
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (year INTEGER, mintage VARCHAR, issue_price VARCHAR) Question: When was a mintage of 1264 with more than 24.95 issued? [/INST] SELECT MAX(year) FROM table_name_45 WHERE mintage = "1264" AND issue_price > 24.95 </s>
Name the most year for team motul brm and chassis of brm p201 and points less than 0
CREATE TABLE table_name_96 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR)
SELECT MAX(year) FROM table_name_96 WHERE entrant = "team motul brm" AND chassis = "brm p201" AND points < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR) Question: Name the most year for team motul brm and chassis of brm p201 and points less than 0 [/INST] SELECT MAX(year) FROM table_name_96 WHERE entrant = "team motul brm" AND chassis = "brm p201" AND points < 0 </s>
Name the entrant for 1975 and chassis of hill gh1
CREATE TABLE table_name_25 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_25 WHERE year = 1975 AND chassis = "hill gh1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) Question: Name the entrant for 1975 and chassis of hill gh1 [/INST] SELECT entrant FROM table_name_25 WHERE year = 1975 AND chassis = "hill gh1" </s>
Name the chassis for engine of brm v12
CREATE TABLE table_name_49 (chassis VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_49 WHERE engine = "brm v12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (chassis VARCHAR, engine VARCHAR) Question: Name the chassis for engine of brm v12 [/INST] SELECT chassis FROM table_name_49 WHERE engine = "brm v12" </s>
Name the most year for points more than 0
CREATE TABLE table_name_96 (year INTEGER, points INTEGER)
SELECT MAX(year) FROM table_name_96 WHERE points > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (year INTEGER, points INTEGER) Question: Name the most year for points more than 0 [/INST] SELECT MAX(year) FROM table_name_96 WHERE points > 0 </s>
Name the sum of points for chassis of brm p160e and year more than 1974
CREATE TABLE table_name_32 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT SUM(points) FROM table_name_32 WHERE chassis = "brm p160e" AND year > 1974
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (points INTEGER, chassis VARCHAR, year VARCHAR) Question: Name the sum of points for chassis of brm p160e and year more than 1974 [/INST] SELECT SUM(points) FROM table_name_32 WHERE chassis = "brm p160e" AND year > 1974 </s>
What is the chassis after 1991?
CREATE TABLE table_name_64 (chassis VARCHAR, year INTEGER)
SELECT chassis FROM table_name_64 WHERE year > 1991
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (chassis VARCHAR, year INTEGER) Question: What is the chassis after 1991? [/INST] SELECT chassis FROM table_name_64 WHERE year > 1991 </s>
What are the average points after 1992?
CREATE TABLE table_name_54 (points INTEGER, year INTEGER)
SELECT AVG(points) FROM table_name_54 WHERE year > 1992
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (points INTEGER, year INTEGER) Question: What are the average points after 1992? [/INST] SELECT AVG(points) FROM table_name_54 WHERE year > 1992 </s>
What is the sum of points in 1991, for footwork a11c chassis?
CREATE TABLE table_name_29 (points INTEGER, year VARCHAR, chassis VARCHAR)
SELECT SUM(points) FROM table_name_29 WHERE year = 1991 AND chassis = "footwork a11c"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (points INTEGER, year VARCHAR, chassis VARCHAR) Question: What is the sum of points in 1991, for footwork a11c chassis? [/INST] SELECT SUM(points) FROM table_name_29 WHERE year = 1991 AND chassis = "footwork a11c" </s>
How many points does an entrant of Martini Racing, the engine of an Alfa Romeo flat-12 a chassis of brabham bt45, and the year 1976 have?
CREATE TABLE table_name_43 (points VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR, engine VARCHAR)
SELECT COUNT(points) FROM table_name_43 WHERE entrant = "martini racing" AND engine = "alfa romeo flat-12" AND chassis = "brabham bt45" AND year = 1976
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (points VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR, engine VARCHAR) Question: How many points does an entrant of Martini Racing, the engine of an Alfa Romeo flat-12 a chassis of brabham bt45, and the year 1976 have? [/INST] SELECT COUNT(points) FROM table_name_43 WHERE entrant = "martini racing" AND engine = "alfa romeo flat-12" AND chassis = "brabham bt45" AND year = 1976 </s>
Which chassis is from 1974 and was an entrant of Goldie Hexagon racing?
CREATE TABLE table_name_35 (chassis VARCHAR, year VARCHAR, entrant VARCHAR)
SELECT chassis FROM table_name_35 WHERE year = 1974 AND entrant = "goldie hexagon racing"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (chassis VARCHAR, year VARCHAR, entrant VARCHAR) Question: Which chassis is from 1974 and was an entrant of Goldie Hexagon racing? [/INST] SELECT chassis FROM table_name_35 WHERE year = 1974 AND entrant = "goldie hexagon racing" </s>
What is the average points of a Cosworth v8 engine in 1973.
CREATE TABLE table_name_23 (points INTEGER, engine VARCHAR, year VARCHAR)
SELECT AVG(points) FROM table_name_23 WHERE engine = "cosworth v8" AND year = 1973
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (points INTEGER, engine VARCHAR, year VARCHAR) Question: What is the average points of a Cosworth v8 engine in 1973. [/INST] SELECT AVG(points) FROM table_name_23 WHERE engine = "cosworth v8" AND year = 1973 </s>
Which chassis has an Alfa Romeo flat-12 engine.
CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_76 WHERE engine = "alfa romeo flat-12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR) Question: Which chassis has an Alfa Romeo flat-12 engine. [/INST] SELECT chassis FROM table_name_76 WHERE engine = "alfa romeo flat-12" </s>
What was the score of the game that had an attendance of 32,036?
CREATE TABLE table_name_87 (score VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_87 WHERE attendance = "32,036"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (score VARCHAR, attendance VARCHAR) Question: What was the score of the game that had an attendance of 32,036? [/INST] SELECT score FROM table_name_87 WHERE attendance = "32,036" </s>
On what date did the result leave the team with a record of 46-34?
CREATE TABLE table_name_4 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_4 WHERE record = "46-34"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (date VARCHAR, record VARCHAR) Question: On what date did the result leave the team with a record of 46-34? [/INST] SELECT date FROM table_name_4 WHERE record = "46-34" </s>
Name the opponent with round of 1 and time of n/a
CREATE TABLE table_name_37 (opponent VARCHAR, round VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_37 WHERE round = "1" AND time = "n/a"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (opponent VARCHAR, round VARCHAR, time VARCHAR) Question: Name the opponent with round of 1 and time of n/a [/INST] SELECT opponent FROM table_name_37 WHERE round = "1" AND time = "n/a" </s>
Name the record with opponent of christian nielson
CREATE TABLE table_name_71 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_71 WHERE opponent = "christian nielson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (record VARCHAR, opponent VARCHAR) Question: Name the record with opponent of christian nielson [/INST] SELECT record FROM table_name_71 WHERE opponent = "christian nielson" </s>
Name the opponent with decision
CREATE TABLE table_name_59 (opponent VARCHAR, method VARCHAR)
SELECT opponent FROM table_name_59 WHERE method = "decision"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (opponent VARCHAR, method VARCHAR) Question: Name the opponent with decision [/INST] SELECT opponent FROM table_name_59 WHERE method = "decision" </s>
What was the 3rd place value in 2011?
CREATE TABLE table_name_53 (year VARCHAR)
SELECT 3 AS rd_place FROM table_name_53 WHERE year = "2011"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (year VARCHAR) Question: What was the 3rd place value in 2011? [/INST] SELECT 3 AS rd_place FROM table_name_53 WHERE year = "2011" </s>
Name the tries for points against of 583
CREATE TABLE table_name_92 (tries_for VARCHAR, points_against VARCHAR)
SELECT tries_for FROM table_name_92 WHERE points_against = "583"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (tries_for VARCHAR, points_against VARCHAR) Question: Name the tries for points against of 583 [/INST] SELECT tries_for FROM table_name_92 WHERE points_against = "583" </s>
Nam the points for when tries for is 91 and played of 22
CREATE TABLE table_name_73 (points_for VARCHAR, played VARCHAR, tries_for VARCHAR)
SELECT points_for FROM table_name_73 WHERE played = "22" AND tries_for = "91"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (points_for VARCHAR, played VARCHAR, tries_for VARCHAR) Question: Nam the points for when tries for is 91 and played of 22 [/INST] SELECT points_for FROM table_name_73 WHERE played = "22" AND tries_for = "91" </s>
Name the drawn for tries for of 42
CREATE TABLE table_name_95 (drawn VARCHAR, tries_for VARCHAR)
SELECT drawn FROM table_name_95 WHERE tries_for = "42"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (drawn VARCHAR, tries_for VARCHAR) Question: Name the drawn for tries for of 42 [/INST] SELECT drawn FROM table_name_95 WHERE tries_for = "42" </s>
Name the Drawn for tries against of 36 and points of 66
CREATE TABLE table_name_60 (drawn VARCHAR, tries_against VARCHAR, points VARCHAR)
SELECT drawn FROM table_name_60 WHERE tries_against = "36" AND points = "66"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (drawn VARCHAR, tries_against VARCHAR, points VARCHAR) Question: Name the Drawn for tries against of 36 and points of 66 [/INST] SELECT drawn FROM table_name_60 WHERE tries_against = "36" AND points = "66" </s>
Name the Try bonus with lost of 10
CREATE TABLE table_name_92 (try_bonus VARCHAR, lost VARCHAR)
SELECT try_bonus FROM table_name_92 WHERE lost = "10"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (try_bonus VARCHAR, lost VARCHAR) Question: Name the Try bonus with lost of 10 [/INST] SELECT try_bonus FROM table_name_92 WHERE lost = "10" </s>
Name the points for when points against is of 450
CREATE TABLE table_name_97 (points_for VARCHAR, points_against VARCHAR)
SELECT points_for FROM table_name_97 WHERE points_against = "450"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (points_for VARCHAR, points_against VARCHAR) Question: Name the points for when points against is of 450 [/INST] SELECT points_for FROM table_name_97 WHERE points_against = "450" </s>
What was the 1st leg when Team 2 was Aurora?
CREATE TABLE table_name_3 (team_2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_3 WHERE team_2 = "aurora"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (team_2 VARCHAR) Question: What was the 1st leg when Team 2 was Aurora? [/INST] SELECT 1 AS st_leg FROM table_name_3 WHERE team_2 = "aurora" </s>
What was the 2nd leg when Team 1 was Chicago Croatian?
CREATE TABLE table_name_57 (team_1 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_57 WHERE team_1 = "chicago croatian"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (team_1 VARCHAR) Question: What was the 2nd leg when Team 1 was Chicago Croatian? [/INST] SELECT 2 AS nd_leg FROM table_name_57 WHERE team_1 = "chicago croatian" </s>
Who was Team 2 when Team 1 was América?
CREATE TABLE table_name_88 (team_2 VARCHAR, team_1 VARCHAR)
SELECT team_2 FROM table_name_88 WHERE team_1 = "américa"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (team_2 VARCHAR, team_1 VARCHAR) Question: Who was Team 2 when Team 1 was América? [/INST] SELECT team_2 FROM table_name_88 WHERE team_1 = "américa" </s>
Which nationality do the Montreal Canadiens belong to with a pick# of 25?
CREATE TABLE table_name_55 (nationality VARCHAR, nhl_team VARCHAR, pick__number VARCHAR)
SELECT nationality FROM table_name_55 WHERE nhl_team = "montreal canadiens" AND pick__number = "25"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (nationality VARCHAR, nhl_team VARCHAR, pick__number VARCHAR) Question: Which nationality do the Montreal Canadiens belong to with a pick# of 25? [/INST] SELECT nationality FROM table_name_55 WHERE nhl_team = "montreal canadiens" AND pick__number = "25" </s>
What is the pick# for the California Golden Seals?
CREATE TABLE table_name_92 (pick__number VARCHAR, nhl_team VARCHAR)
SELECT pick__number FROM table_name_92 WHERE nhl_team = "california golden seals"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (pick__number VARCHAR, nhl_team VARCHAR) Question: What is the pick# for the California Golden Seals? [/INST] SELECT pick__number FROM table_name_92 WHERE nhl_team = "california golden seals" </s>
What was the Goal in Stade Roi Baudouin, Brussels?
CREATE TABLE table_name_81 (goal INTEGER, venue VARCHAR)
SELECT AVG(goal) FROM table_name_81 WHERE venue = "stade roi baudouin, brussels"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (goal INTEGER, venue VARCHAR) Question: What was the Goal in Stade Roi Baudouin, Brussels? [/INST] SELECT AVG(goal) FROM table_name_81 WHERE venue = "stade roi baudouin, brussels" </s>
What Venue had 2 or more Goals in a Friendly Competition?
CREATE TABLE table_name_48 (venue VARCHAR, competition VARCHAR, goal VARCHAR)
SELECT venue FROM table_name_48 WHERE competition = "friendly" AND goal > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (venue VARCHAR, competition VARCHAR, goal VARCHAR) Question: What Venue had 2 or more Goals in a Friendly Competition? [/INST] SELECT venue FROM table_name_48 WHERE competition = "friendly" AND goal > 2 </s>
Which Site that has a Sex and other data of old male?
CREATE TABLE table_name_42 (site INTEGER, sex_and_other_data VARCHAR)
SELECT MAX(site) FROM table_name_42 WHERE sex_and_other_data = "old male"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (site INTEGER, sex_and_other_data VARCHAR) Question: Which Site that has a Sex and other data of old male? [/INST] SELECT MAX(site) FROM table_name_42 WHERE sex_and_other_data = "old male" </s>
What is the age group for figure skating?
CREATE TABLE table_name_40 (age_groups VARCHAR, sport VARCHAR)
SELECT age_groups FROM table_name_40 WHERE sport = "figure skating"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (age_groups VARCHAR, sport VARCHAR) Question: What is the age group for figure skating? [/INST] SELECT age_groups FROM table_name_40 WHERE sport = "figure skating" </s>
what is the sport when the age group is 21 or younger and the competition name is world youth netball championships?
CREATE TABLE table_name_58 (sport VARCHAR, age_groups VARCHAR, competition_name VARCHAR)
SELECT sport FROM table_name_58 WHERE age_groups = "21 or younger" AND competition_name = "world youth netball championships"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (sport VARCHAR, age_groups VARCHAR, competition_name VARCHAR) Question: what is the sport when the age group is 21 or younger and the competition name is world youth netball championships? [/INST] SELECT sport FROM table_name_58 WHERE age_groups = "21 or younger" AND competition_name = "world youth netball championships" </s>
what is the competition name when the age group is 17 or younger for athletics?
CREATE TABLE table_name_42 (competition_name VARCHAR, age_groups VARCHAR, sport VARCHAR)
SELECT competition_name FROM table_name_42 WHERE age_groups = "17 or younger" AND sport = "athletics"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (competition_name VARCHAR, age_groups VARCHAR, sport VARCHAR) Question: what is the competition name when the age group is 17 or younger for athletics? [/INST] SELECT competition_name FROM table_name_42 WHERE age_groups = "17 or younger" AND sport = "athletics" </s>
what is the competing entities when the age group is 18 or younger, held every is one year and the sport is table tennis?
CREATE TABLE table_name_37 (competing_entities VARCHAR, sport VARCHAR, age_groups VARCHAR, held_every VARCHAR)
SELECT competing_entities FROM table_name_37 WHERE age_groups = "18 or younger" AND held_every = "one year" AND sport = "table tennis"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (competing_entities VARCHAR, sport VARCHAR, age_groups VARCHAR, held_every VARCHAR) Question: what is the competing entities when the age group is 18 or younger, held every is one year and the sport is table tennis? [/INST] SELECT competing_entities FROM table_name_37 WHERE age_groups = "18 or younger" AND held_every = "one year" AND sport = "table tennis" </s>
What result did Janis Ian have in the episode of top 3?
CREATE TABLE table_name_9 (result VARCHAR, episode VARCHAR, original_artist VARCHAR)
SELECT result FROM table_name_9 WHERE episode = "top 3" AND original_artist = "janis ian"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (result VARCHAR, episode VARCHAR, original_artist VARCHAR) Question: What result did Janis Ian have in the episode of top 3? [/INST] SELECT result FROM table_name_9 WHERE episode = "top 3" AND original_artist = "janis ian" </s>
What was the result of the singer with the top 8?
CREATE TABLE table_name_39 (result VARCHAR, episode VARCHAR)
SELECT result FROM table_name_39 WHERE episode = "top 8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (result VARCHAR, episode VARCHAR) Question: What was the result of the singer with the top 8? [/INST] SELECT result FROM table_name_39 WHERE episode = "top 8" </s>
What song was chosen for the episode with the top 8?
CREATE TABLE table_name_72 (song_choice VARCHAR, episode VARCHAR)
SELECT song_choice FROM table_name_72 WHERE episode = "top 8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (song_choice VARCHAR, episode VARCHAR) Question: What song was chosen for the episode with the top 8? [/INST] SELECT song_choice FROM table_name_72 WHERE episode = "top 8" </s>
Which episode had Hoagy carmichael safe with an order of 5?
CREATE TABLE table_name_10 (episode VARCHAR, original_artist VARCHAR, result VARCHAR, order__number VARCHAR)
SELECT episode FROM table_name_10 WHERE result = "safe" AND order__number = "5" AND original_artist = "hoagy carmichael"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (episode VARCHAR, original_artist VARCHAR, result VARCHAR, order__number VARCHAR) Question: Which episode had Hoagy carmichael safe with an order of 5? [/INST] SELECT episode FROM table_name_10 WHERE result = "safe" AND order__number = "5" AND original_artist = "hoagy carmichael" </s>
In what order were the Bee Gees as the artist when it was a result of bottom 3?
CREATE TABLE table_name_30 (order__number VARCHAR, result VARCHAR, original_artist VARCHAR)
SELECT order__number FROM table_name_30 WHERE result = "bottom 3" AND original_artist = "bee gees"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (order__number VARCHAR, result VARCHAR, original_artist VARCHAR) Question: In what order were the Bee Gees as the artist when it was a result of bottom 3? [/INST] SELECT order__number FROM table_name_30 WHERE result = "bottom 3" AND original_artist = "bee gees" </s>
Name the total number of drawn for danish and mathias
CREATE TABLE table_name_37 (draw VARCHAR, language VARCHAR, artist VARCHAR)
SELECT COUNT(draw) FROM table_name_37 WHERE language = "danish" AND artist = "mathias"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (draw VARCHAR, language VARCHAR, artist VARCHAR) Question: Name the total number of drawn for danish and mathias [/INST] SELECT COUNT(draw) FROM table_name_37 WHERE language = "danish" AND artist = "mathias" </s>
Name the result for linn nygård
CREATE TABLE table_name_63 (result VARCHAR, artist VARCHAR)
SELECT result FROM table_name_63 WHERE artist = "linn nygård"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (result VARCHAR, artist VARCHAR) Question: Name the result for linn nygård [/INST] SELECT result FROM table_name_63 WHERE artist = "linn nygård" </s>
Name the song for draw less than 7 and artists of martin & johannes
CREATE TABLE table_name_42 (song VARCHAR, draw VARCHAR, artist VARCHAR)
SELECT song FROM table_name_42 WHERE draw < 7 AND artist = "martin & johannes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (song VARCHAR, draw VARCHAR, artist VARCHAR) Question: Name the song for draw less than 7 and artists of martin & johannes [/INST] SELECT song FROM table_name_42 WHERE draw < 7 AND artist = "martin & johannes" </s>
Name the NP/NNP for ACDP of 1 and others of 1 and DP/DA of 5
CREATE TABLE table_name_73 (np___nnp VARCHAR, dp___da VARCHAR, acdp VARCHAR, others VARCHAR)
SELECT np___nnp FROM table_name_73 WHERE acdp = 1 AND others = 1 AND dp___da = 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (np___nnp VARCHAR, dp___da VARCHAR, acdp VARCHAR, others VARCHAR) Question: Name the NP/NNP for ACDP of 1 and others of 1 and DP/DA of 5 [/INST] SELECT np___nnp FROM table_name_73 WHERE acdp = 1 AND others = 1 AND dp___da = 5 </s>
Which player won less than $335?
CREATE TABLE table_name_43 (player VARCHAR, money___$__ INTEGER)
SELECT player FROM table_name_43 WHERE money___$__ < 335
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (player VARCHAR, money___$__ INTEGER) Question: Which player won less than $335? [/INST] SELECT player FROM table_name_43 WHERE money___$__ < 335 </s>
What was the place ranking for the player from Australia?
CREATE TABLE table_name_43 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_43 WHERE country = "australia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (place VARCHAR, country VARCHAR) Question: What was the place ranking for the player from Australia? [/INST] SELECT place FROM table_name_43 WHERE country = "australia" </s>
How much money did the player Ed Oliver win?
CREATE TABLE table_name_74 (money___ INTEGER, player VARCHAR)
SELECT SUM(money___) AS $__ FROM table_name_74 WHERE player = "ed oliver"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (money___ INTEGER, player VARCHAR) Question: How much money did the player Ed Oliver win? [/INST] SELECT SUM(money___) AS $__ FROM table_name_74 WHERE player = "ed oliver" </s>
What competition did Parramatta Eels join after 1982?
CREATE TABLE table_name_54 (competition VARCHAR, year VARCHAR, opponent VARCHAR)
SELECT competition FROM table_name_54 WHERE year > 1982 AND opponent = "parramatta eels"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (competition VARCHAR, year VARCHAR, opponent VARCHAR) Question: What competition did Parramatta Eels join after 1982? [/INST] SELECT competition FROM table_name_54 WHERE year > 1982 AND opponent = "parramatta eels" </s>
When did nswrfl has a score of 8-21?
CREATE TABLE table_name_34 (year VARCHAR, competition VARCHAR, score VARCHAR)
SELECT year FROM table_name_34 WHERE competition = "nswrfl" AND score = "8-21"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (year VARCHAR, competition VARCHAR, score VARCHAR) Question: When did nswrfl has a score of 8-21? [/INST] SELECT year FROM table_name_34 WHERE competition = "nswrfl" AND score = "8-21" </s>
How many years have less than 28,505 attendance?
CREATE TABLE table_name_80 (year INTEGER, attendance INTEGER)
SELECT AVG(year) FROM table_name_80 WHERE attendance < 28 OFFSET 505 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (year INTEGER, attendance INTEGER) Question: How many years have less than 28,505 attendance? [/INST] SELECT AVG(year) FROM table_name_80 WHERE attendance < 28 OFFSET 505 ROWS </s>
What Date is listed for the Region of France and Catalog of 82876-70291-2?
CREATE TABLE table_name_48 (date VARCHAR, region VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_48 WHERE region = "france" AND catalog = "82876-70291-2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, region VARCHAR, catalog VARCHAR) Question: What Date is listed for the Region of France and Catalog of 82876-70291-2? [/INST] SELECT date FROM table_name_48 WHERE region = "france" AND catalog = "82876-70291-2" </s>
Which Format is listed that has a Region of China?
CREATE TABLE table_name_93 (format VARCHAR, region VARCHAR)
SELECT format FROM table_name_93 WHERE region = "china"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (format VARCHAR, region VARCHAR) Question: Which Format is listed that has a Region of China? [/INST] SELECT format FROM table_name_93 WHERE region = "china" </s>
What's the Date for the Label of Bertelsmann Music group and has a Region of Europe?
CREATE TABLE table_name_36 (date VARCHAR, label VARCHAR, region VARCHAR)
SELECT date FROM table_name_36 WHERE label = "bertelsmann music group" AND region = "europe"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (date VARCHAR, label VARCHAR, region VARCHAR) Question: What's the Date for the Label of Bertelsmann Music group and has a Region of Europe? [/INST] SELECT date FROM table_name_36 WHERE label = "bertelsmann music group" AND region = "europe" </s>
How many people attended the Royals game with a score of 17 - 6?
CREATE TABLE table_name_17 (attendance INTEGER, opponent VARCHAR, score VARCHAR)
SELECT SUM(attendance) FROM table_name_17 WHERE opponent = "royals" AND score = "17 - 6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (attendance INTEGER, opponent VARCHAR, score VARCHAR) Question: How many people attended the Royals game with a score of 17 - 6? [/INST] SELECT SUM(attendance) FROM table_name_17 WHERE opponent = "royals" AND score = "17 - 6" </s>
What was the result of April 27's game?
CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_21 WHERE date = "april 27"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR) Question: What was the result of April 27's game? [/INST] SELECT score FROM table_name_21 WHERE date = "april 27" </s>
For the strategy game in 1992, how many players were allowed per console?
CREATE TABLE table_name_51 (players_per_console VARCHAR, genre VARCHAR, year VARCHAR)
SELECT players_per_console FROM table_name_51 WHERE genre = "strategy" AND year = 1992
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (players_per_console VARCHAR, genre VARCHAR, year VARCHAR) Question: For the strategy game in 1992, how many players were allowed per console? [/INST] SELECT players_per_console FROM table_name_51 WHERE genre = "strategy" AND year = 1992 </s>
Which Genre was published by Atari and developed by NuFX in 1991?
CREATE TABLE table_name_72 (genre VARCHAR, developer VARCHAR, publisher VARCHAR, year VARCHAR)
SELECT genre FROM table_name_72 WHERE publisher = "atari" AND year = 1991 AND developer = "nufx"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (genre VARCHAR, developer VARCHAR, publisher VARCHAR, year VARCHAR) Question: Which Genre was published by Atari and developed by NuFX in 1991? [/INST] SELECT genre FROM table_name_72 WHERE publisher = "atari" AND year = 1991 AND developer = "nufx" </s>
Which year was the game developed by Music Comp in?
CREATE TABLE table_name_88 (year VARCHAR, developer VARCHAR)
SELECT year FROM table_name_88 WHERE developer = "music comp"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (year VARCHAR, developer VARCHAR) Question: Which year was the game developed by Music Comp in? [/INST] SELECT year FROM table_name_88 WHERE developer = "music comp" </s>
Name the record for august 31
CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_65 WHERE date = "august 31"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR) Question: Name the record for august 31 [/INST] SELECT record FROM table_name_65 WHERE date = "august 31" </s>
Name the opponent for august 6
CREATE TABLE table_name_79 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_79 WHERE date = "august 6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (opponent VARCHAR, date VARCHAR) Question: Name the opponent for august 6 [/INST] SELECT opponent FROM table_name_79 WHERE date = "august 6" </s>
Name the opponent with record of 52-58
CREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_10 WHERE record = "52-58"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR) Question: Name the opponent with record of 52-58 [/INST] SELECT opponent FROM table_name_10 WHERE record = "52-58" </s>
What Class has a Quantity made of 5?
CREATE TABLE table_name_68 (class VARCHAR, quantity_made VARCHAR)
SELECT class FROM table_name_68 WHERE quantity_made = 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (class VARCHAR, quantity_made VARCHAR) Question: What Class has a Quantity made of 5? [/INST] SELECT class FROM table_name_68 WHERE quantity_made = 5 </s>
What is listed as the Date made with a Quantity made of 13?
CREATE TABLE table_name_5 (date_made VARCHAR, quantity_made VARCHAR)
SELECT date_made FROM table_name_5 WHERE quantity_made = 13
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (date_made VARCHAR, quantity_made VARCHAR) Question: What is listed as the Date made with a Quantity made of 13? [/INST] SELECT date_made FROM table_name_5 WHERE quantity_made = 13 </s>
What year shows 4 points?
CREATE TABLE table_name_65 (year VARCHAR, points VARCHAR)
SELECT year FROM table_name_65 WHERE points = 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (year VARCHAR, points VARCHAR) Question: What year shows 4 points? [/INST] SELECT year FROM table_name_65 WHERE points = 4 </s>
What is the most points when the entrant was Jaguar racing earlier than 2001?
CREATE TABLE table_name_25 (points INTEGER, entrant VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_25 WHERE entrant = "jaguar racing" AND year < 2001
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (points INTEGER, entrant VARCHAR, year VARCHAR) Question: What is the most points when the entrant was Jaguar racing earlier than 2001? [/INST] SELECT MAX(points) FROM table_name_25 WHERE entrant = "jaguar racing" AND year < 2001 </s>