instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What is the highest total that has a bronze greater than 1, a gold greater than 1, with a silver less than 4?
CREATE TABLE table_name_34 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT MAX(total) FROM table_name_34 WHERE bronze > 1 AND gold > 1 AND silver < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR) Question: What is the highest total that has a bronze greater than 1, a gold greater than 1, with a silver less than 4? [/INST] SELECT MAX(total) FROM table_name_34 WHERE bronze > 1 AND gold > 1 AND silver < 4 </s>
Where was the birthplace of the person born on March 21, 1979?
CREATE TABLE table_name_92 (birthplace VARCHAR, birthdate VARCHAR)
SELECT birthplace FROM table_name_92 WHERE birthdate = "march 21, 1979"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (birthplace VARCHAR, birthdate VARCHAR) Question: Where was the birthplace of the person born on March 21, 1979? [/INST] SELECT birthplace FROM table_name_92 WHERE birthdate = "march 21, 1979" </s>
What is Scott Gomez's biggest weight?
CREATE TABLE table_name_57 (weight__kg_ INTEGER, name VARCHAR)
SELECT MAX(weight__kg_) FROM table_name_57 WHERE name = "scott gomez"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (weight__kg_ INTEGER, name VARCHAR) Question: What is Scott Gomez's biggest weight? [/INST] SELECT MAX(weight__kg_) FROM table_name_57 WHERE name = "scott gomez" </s>
What number pick was Paul Seymour in round 1?
CREATE TABLE table_name_31 (pick INTEGER, round VARCHAR, player VARCHAR)
SELECT SUM(pick) FROM table_name_31 WHERE round = 1 AND player = "paul seymour"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (pick INTEGER, round VARCHAR, player VARCHAR) Question: What number pick was Paul Seymour in round 1? [/INST] SELECT SUM(pick) FROM table_name_31 WHERE round = 1 AND player = "paul seymour" </s>
In how many rounds did USC participate in?
CREATE TABLE table_name_72 (round VARCHAR, college VARCHAR)
SELECT COUNT(round) FROM table_name_72 WHERE college = "usc"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (round VARCHAR, college VARCHAR) Question: In how many rounds did USC participate in? [/INST] SELECT COUNT(round) FROM table_name_72 WHERE college = "usc" </s>
What set 2 has 15:33 as the time?
CREATE TABLE table_name_14 (set_2 VARCHAR, time VARCHAR)
SELECT set_2 FROM table_name_14 WHERE time = "15:33"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (set_2 VARCHAR, time VARCHAR) Question: What set 2 has 15:33 as the time? [/INST] SELECT set_2 FROM table_name_14 WHERE time = "15:33" </s>
Where did they play against Clemson?
CREATE TABLE table_name_8 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_8 WHERE opponent = "clemson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (location VARCHAR, opponent VARCHAR) Question: Where did they play against Clemson? [/INST] SELECT location FROM table_name_8 WHERE opponent = "clemson" </s>
What was the total attendance on 10/05/1974?
CREATE TABLE table_name_10 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_10 WHERE date = "10/05/1974"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (attendance VARCHAR, date VARCHAR) Question: What was the total attendance on 10/05/1974? [/INST] SELECT COUNT(attendance) FROM table_name_10 WHERE date = "10/05/1974" </s>
What is the total number of Height(s), when Spike is less than 352, when Block is greater than 300, and when Name is Pablo Meana?
CREATE TABLE table_name_21 (height VARCHAR, name VARCHAR, spike VARCHAR, block VARCHAR)
SELECT COUNT(height) FROM table_name_21 WHERE spike < 352 AND block > 300 AND name = "pablo meana"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (height VARCHAR, name VARCHAR, spike VARCHAR, block VARCHAR) Question: What is the total number of Height(s), when Spike is less than 352, when Block is greater than 300, and when Name is Pablo Meana? [/INST] SELECT COUNT(height) FROM table_name_21 WHERE spike < 352 AND block > 300 AND name = "pablo meana" </s>
What is the total number of Weight(s), when Block is 300?
CREATE TABLE table_name_26 (weight VARCHAR, block VARCHAR)
SELECT COUNT(weight) FROM table_name_26 WHERE block = 300
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (weight VARCHAR, block VARCHAR) Question: What is the total number of Weight(s), when Block is 300? [/INST] SELECT COUNT(weight) FROM table_name_26 WHERE block = 300 </s>
What is the smallest Weight, when Spike is less than 330, when Block is 315, and when Height is greater than 187?
CREATE TABLE table_name_78 (weight INTEGER, height VARCHAR, spike VARCHAR, block VARCHAR)
SELECT MIN(weight) FROM table_name_78 WHERE spike < 330 AND block = 315 AND height > 187
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (weight INTEGER, height VARCHAR, spike VARCHAR, block VARCHAR) Question: What is the smallest Weight, when Spike is less than 330, when Block is 315, and when Height is greater than 187? [/INST] SELECT MIN(weight) FROM table_name_78 WHERE spike < 330 AND block = 315 AND height > 187 </s>
What is the average Spike, when Name is Gustavo Porporatto, and when Block is greater than 323?
CREATE TABLE table_name_67 (spike INTEGER, name VARCHAR, block VARCHAR)
SELECT AVG(spike) FROM table_name_67 WHERE name = "gustavo porporatto" AND block > 323
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (spike INTEGER, name VARCHAR, block VARCHAR) Question: What is the average Spike, when Name is Gustavo Porporatto, and when Block is greater than 323? [/INST] SELECT AVG(spike) FROM table_name_67 WHERE name = "gustavo porporatto" AND block > 323 </s>
What is the Match with Points that are 24?
CREATE TABLE table_name_11 (match VARCHAR, points VARCHAR)
SELECT match FROM table_name_11 WHERE points = 24
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (match VARCHAR, points VARCHAR) Question: What is the Match with Points that are 24? [/INST] SELECT match FROM table_name_11 WHERE points = 24 </s>
What is the Team 2 with a Team 1 that is milli piyango sk?
CREATE TABLE table_name_34 (team_2 VARCHAR, team_1 VARCHAR)
SELECT team_2 FROM table_name_34 WHERE team_1 = "milli piyango sk"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (team_2 VARCHAR, team_1 VARCHAR) Question: What is the Team 2 with a Team 1 that is milli piyango sk? [/INST] SELECT team_2 FROM table_name_34 WHERE team_1 = "milli piyango sk" </s>
What is the Team 1 with a Team 2 with brest hc meshkov?
CREATE TABLE table_name_69 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_69 WHERE team_2 = "brest hc meshkov"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (team_1 VARCHAR, team_2 VARCHAR) Question: What is the Team 1 with a Team 2 with brest hc meshkov? [/INST] SELECT team_1 FROM table_name_69 WHERE team_2 = "brest hc meshkov" </s>
What is the position number when there were 29 points, and less than 2 is lost?
CREATE TABLE table_name_86 (position VARCHAR, points VARCHAR, lost VARCHAR)
SELECT COUNT(position) FROM table_name_86 WHERE points = 29 AND lost < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (position VARCHAR, points VARCHAR, lost VARCHAR) Question: What is the position number when there were 29 points, and less than 2 is lost? [/INST] SELECT COUNT(position) FROM table_name_86 WHERE points = 29 AND lost < 2 </s>
What is the lowest Points with an against of 20 and less than 1 lost?
CREATE TABLE table_name_92 (points INTEGER, against VARCHAR, lost VARCHAR)
SELECT MIN(points) FROM table_name_92 WHERE against = 20 AND lost < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (points INTEGER, against VARCHAR, lost VARCHAR) Question: What is the lowest Points with an against of 20 and less than 1 lost? [/INST] SELECT MIN(points) FROM table_name_92 WHERE against = 20 AND lost < 1 </s>
What is the sum of Points when the against is less than 24 and played is less than 20?
CREATE TABLE table_name_66 (points INTEGER, against VARCHAR, played VARCHAR)
SELECT SUM(points) FROM table_name_66 WHERE against < 24 AND played < 20
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (points INTEGER, against VARCHAR, played VARCHAR) Question: What is the sum of Points when the against is less than 24 and played is less than 20? [/INST] SELECT SUM(points) FROM table_name_66 WHERE against < 24 AND played < 20 </s>
What region is dated April 30, 2004, and cataloged Nebdj058?
CREATE TABLE table_name_37 (region VARCHAR, date VARCHAR, catalog VARCHAR)
SELECT region FROM table_name_37 WHERE date = "april 30, 2004" AND catalog = "nebdj058"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (region VARCHAR, date VARCHAR, catalog VARCHAR) Question: What region is dated April 30, 2004, and cataloged Nebdj058? [/INST] SELECT region FROM table_name_37 WHERE date = "april 30, 2004" AND catalog = "nebdj058" </s>
What s the format for the catalog nebcd058?
CREATE TABLE table_name_3 (format VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_3 WHERE catalog = "nebcd058"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (format VARCHAR, catalog VARCHAR) Question: What s the format for the catalog nebcd058? [/INST] SELECT format FROM table_name_3 WHERE catalog = "nebcd058" </s>
What region has the catalog sir021-6?
CREATE TABLE table_name_93 (region VARCHAR, catalog VARCHAR)
SELECT region FROM table_name_93 WHERE catalog = "sir021-6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (region VARCHAR, catalog VARCHAR) Question: What region has the catalog sir021-6? [/INST] SELECT region FROM table_name_93 WHERE catalog = "sir021-6" </s>
What label has the catalog nebt058?
CREATE TABLE table_name_10 (label VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_10 WHERE catalog = "nebt058"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (label VARCHAR, catalog VARCHAR) Question: What label has the catalog nebt058? [/INST] SELECT label FROM table_name_10 WHERE catalog = "nebt058" </s>
What is the game number when the score was l 90–104 (ot)?
CREATE TABLE table_name_59 (game VARCHAR, score VARCHAR)
SELECT COUNT(game) FROM table_name_59 WHERE score = "l 90–104 (ot)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (game VARCHAR, score VARCHAR) Question: What is the game number when the score was l 90–104 (ot)? [/INST] SELECT COUNT(game) FROM table_name_59 WHERE score = "l 90–104 (ot)" </s>
What is the Score of the game with a Record of 12–12?
CREATE TABLE table_name_93 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_93 WHERE record = "12–12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (score VARCHAR, record VARCHAR) Question: What is the Score of the game with a Record of 12–12? [/INST] SELECT score FROM table_name_93 WHERE record = "12–12" </s>
What is the Score for the Game less than 21, and of antonio davis (12)had the High rebounds?
CREATE TABLE table_name_87 (score VARCHAR, game VARCHAR, high_rebounds VARCHAR)
SELECT score FROM table_name_87 WHERE game < 21 AND high_rebounds = "antonio davis (12)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (score VARCHAR, game VARCHAR, high_rebounds VARCHAR) Question: What is the Score for the Game less than 21, and of antonio davis (12)had the High rebounds? [/INST] SELECT score FROM table_name_87 WHERE game < 21 AND high_rebounds = "antonio davis (12)" </s>
What is the Record when antonio davis (14) had the high rebounds?
CREATE TABLE table_name_37 (record VARCHAR, high_rebounds VARCHAR)
SELECT record FROM table_name_37 WHERE high_rebounds = "antonio davis (14)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (record VARCHAR, high_rebounds VARCHAR) Question: What is the Record when antonio davis (14) had the high rebounds? [/INST] SELECT record FROM table_name_37 WHERE high_rebounds = "antonio davis (14)" </s>
What was the team when vince carter (19) had the high points?
CREATE TABLE table_name_52 (team VARCHAR, high_points VARCHAR)
SELECT team FROM table_name_52 WHERE high_points = "vince carter (19)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (team VARCHAR, high_points VARCHAR) Question: What was the team when vince carter (19) had the high points? [/INST] SELECT team FROM table_name_52 WHERE high_points = "vince carter (19)" </s>
What is the number for gold where there were total 1, and bronze 1?
CREATE TABLE table_name_86 (gold VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT COUNT(gold) FROM table_name_86 WHERE total = 1 AND bronze = 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (gold VARCHAR, total VARCHAR, bronze VARCHAR) Question: What is the number for gold where there were total 1, and bronze 1? [/INST] SELECT COUNT(gold) FROM table_name_86 WHERE total = 1 AND bronze = 1 </s>
Which player had a total of 152?
CREATE TABLE table_name_60 (player VARCHAR, total VARCHAR)
SELECT player FROM table_name_60 WHERE total = "152"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (player VARCHAR, total VARCHAR) Question: Which player had a total of 152? [/INST] SELECT player FROM table_name_60 WHERE total = "152" </s>
Which player won the Masters in 1976?
CREATE TABLE table_name_66 (player VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_66 WHERE year_s__won = "1976"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (player VARCHAR, year_s__won VARCHAR) Question: Which player won the Masters in 1976? [/INST] SELECT player FROM table_name_66 WHERE year_s__won = "1976" </s>
What was the total of the player from Spain?
CREATE TABLE table_name_24 (total VARCHAR, country VARCHAR)
SELECT total FROM table_name_24 WHERE country = "spain"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (total VARCHAR, country VARCHAR) Question: What was the total of the player from Spain? [/INST] SELECT total FROM table_name_24 WHERE country = "spain" </s>
Which player won in 1987 and ended with a score of +9?
CREATE TABLE table_name_75 (total VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
SELECT total FROM table_name_75 WHERE to_par = "+9" AND year_s__won = "1987"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (total VARCHAR, to_par VARCHAR, year_s__won VARCHAR) Question: Which player won in 1987 and ended with a score of +9? [/INST] SELECT total FROM table_name_75 WHERE to_par = "+9" AND year_s__won = "1987" </s>
What's the name of the award given to Team number 23?
CREATE TABLE table_name_77 (award_name VARCHAR, team_number VARCHAR)
SELECT award_name FROM table_name_77 WHERE team_number = 23
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (award_name VARCHAR, team_number VARCHAR) Question: What's the name of the award given to Team number 23? [/INST] SELECT award_name FROM table_name_77 WHERE team_number = 23 </s>
What is Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s) are 10 July - 24 July?
CREATE TABLE table_name_75 (volume VARCHAR, weeks_on_top VARCHAR, issue_date_s_ VARCHAR)
SELECT volume AS :issue FROM table_name_75 WHERE weeks_on_top < 5 AND issue_date_s_ = "10 july - 24 july"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (volume VARCHAR, weeks_on_top VARCHAR, issue_date_s_ VARCHAR) Question: What is Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s) are 10 July - 24 July? [/INST] SELECT volume AS :issue FROM table_name_75 WHERE weeks_on_top < 5 AND issue_date_s_ = "10 july - 24 july" </s>
Which text has traditional characters of 心如猨猴?
CREATE TABLE table_name_47 (text VARCHAR, traditional_characters VARCHAR)
SELECT text FROM table_name_47 WHERE traditional_characters = "心如猨猴"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (text VARCHAR, traditional_characters VARCHAR) Question: Which text has traditional characters of 心如猨猴? [/INST] SELECT text FROM table_name_47 WHERE traditional_characters = "心如猨猴" </s>
Which text has simplified characters of 心猿 … 意马?
CREATE TABLE table_name_42 (text VARCHAR, simplified_characters VARCHAR)
SELECT text FROM table_name_42 WHERE simplified_characters = "心猿 … 意马"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (text VARCHAR, simplified_characters VARCHAR) Question: Which text has simplified characters of 心猿 … 意马? [/INST] SELECT text FROM table_name_42 WHERE simplified_characters = "心猿 … 意马" </s>
Which text has Wade-Giles translation of ai-ma … hsin-yüan?
CREATE TABLE table_name_85 (text VARCHAR, wade_giles VARCHAR)
SELECT text FROM table_name_85 WHERE wade_giles = "ai-ma … hsin-yüan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (text VARCHAR, wade_giles VARCHAR) Question: Which text has Wade-Giles translation of ai-ma … hsin-yüan? [/INST] SELECT text FROM table_name_85 WHERE wade_giles = "ai-ma … hsin-yüan" </s>
What is the Pinyin translation of the Wade-Giles of hsin-yüan-i-ma?
CREATE TABLE table_name_4 (pinyin VARCHAR, wade_giles VARCHAR)
SELECT pinyin FROM table_name_4 WHERE wade_giles = "hsin-yüan-i-ma"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (pinyin VARCHAR, wade_giles VARCHAR) Question: What is the Pinyin translation of the Wade-Giles of hsin-yüan-i-ma? [/INST] SELECT pinyin FROM table_name_4 WHERE wade_giles = "hsin-yüan-i-ma" </s>
What is the Wade-Giles translation of the Pinyin xīn rú yuánhóu?
CREATE TABLE table_name_44 (wade_giles VARCHAR, pinyin VARCHAR)
SELECT wade_giles FROM table_name_44 WHERE pinyin = "xīn rú yuánhóu"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (wade_giles VARCHAR, pinyin VARCHAR) Question: What is the Wade-Giles translation of the Pinyin xīn rú yuánhóu? [/INST] SELECT wade_giles FROM table_name_44 WHERE pinyin = "xīn rú yuánhóu" </s>
Which text has a date of c. 1180?
CREATE TABLE table_name_13 (text VARCHAR, date__ce_ VARCHAR)
SELECT text FROM table_name_13 WHERE date__ce_ = "c. 1180"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (text VARCHAR, date__ce_ VARCHAR) Question: Which text has a date of c. 1180? [/INST] SELECT text FROM table_name_13 WHERE date__ce_ = "c. 1180" </s>
What is the fewest number of silvers have 0 golds?
CREATE TABLE table_name_42 (silver INTEGER, gold INTEGER)
SELECT MIN(silver) FROM table_name_42 WHERE gold < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (silver INTEGER, gold INTEGER) Question: What is the fewest number of silvers have 0 golds? [/INST] SELECT MIN(silver) FROM table_name_42 WHERE gold < 0 </s>
What is the smallest total that has 11 golds and bronzes over 2?
CREATE TABLE table_name_42 (total INTEGER, gold VARCHAR, bronze VARCHAR)
SELECT MIN(total) FROM table_name_42 WHERE gold = 11 AND bronze > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (total INTEGER, gold VARCHAR, bronze VARCHAR) Question: What is the smallest total that has 11 golds and bronzes over 2? [/INST] SELECT MIN(total) FROM table_name_42 WHERE gold = 11 AND bronze > 2 </s>
What is the total having a bronze value over 1, silver under 5, and ranked 9?
CREATE TABLE table_name_55 (total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT total FROM table_name_55 WHERE bronze > 1 AND silver < 5 AND rank = "9"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR) Question: What is the total having a bronze value over 1, silver under 5, and ranked 9? [/INST] SELECT total FROM table_name_55 WHERE bronze > 1 AND silver < 5 AND rank = "9" </s>
When did the Chargers play the Denver Broncos before Week 10?
CREATE TABLE table_name_87 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_87 WHERE week < 10 AND opponent = "denver broncos"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (date VARCHAR, week VARCHAR, opponent VARCHAR) Question: When did the Chargers play the Denver Broncos before Week 10? [/INST] SELECT date FROM table_name_87 WHERE week < 10 AND opponent = "denver broncos" </s>
What is the sum of Bronze when the rank is more than 11 and gold is less than 0?
CREATE TABLE table_name_47 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
SELECT SUM(bronze) FROM table_name_47 WHERE rank > 11 AND gold < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (bronze INTEGER, rank VARCHAR, gold VARCHAR) Question: What is the sum of Bronze when the rank is more than 11 and gold is less than 0? [/INST] SELECT SUM(bronze) FROM table_name_47 WHERE rank > 11 AND gold < 0 </s>
What is the total number of Total when Germany is the nation with less than 1 silver?
CREATE TABLE table_name_35 (total VARCHAR, nation VARCHAR, silver VARCHAR)
SELECT COUNT(total) FROM table_name_35 WHERE nation = "germany" AND silver < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (total VARCHAR, nation VARCHAR, silver VARCHAR) Question: What is the total number of Total when Germany is the nation with less than 1 silver? [/INST] SELECT COUNT(total) FROM table_name_35 WHERE nation = "germany" AND silver < 1 </s>
What is the average Total that has a Gold of 0, when the rank is less than 16, the nation is Georgia and there is more than 2 for Bronze?
CREATE TABLE table_name_70 (total INTEGER, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT AVG(total) FROM table_name_70 WHERE gold = 0 AND rank < 16 AND nation = "georgia" AND bronze > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (total INTEGER, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR) Question: What is the average Total that has a Gold of 0, when the rank is less than 16, the nation is Georgia and there is more than 2 for Bronze? [/INST] SELECT AVG(total) FROM table_name_70 WHERE gold = 0 AND rank < 16 AND nation = "georgia" AND bronze > 2 </s>
What is the highest Total when Georgia is the nation with less than 11 rank?
CREATE TABLE table_name_46 (total INTEGER, nation VARCHAR, rank VARCHAR)
SELECT MAX(total) FROM table_name_46 WHERE nation = "georgia" AND rank < 11
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (total INTEGER, nation VARCHAR, rank VARCHAR) Question: What is the highest Total when Georgia is the nation with less than 11 rank? [/INST] SELECT MAX(total) FROM table_name_46 WHERE nation = "georgia" AND rank < 11 </s>
What is the total number of Total with more than 16 rank for the nation of Romania with more than 0 for silver?
CREATE TABLE table_name_36 (total VARCHAR, silver VARCHAR, rank VARCHAR, nation VARCHAR)
SELECT COUNT(total) FROM table_name_36 WHERE rank > 16 AND nation = "romania" AND silver > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (total VARCHAR, silver VARCHAR, rank VARCHAR, nation VARCHAR) Question: What is the total number of Total with more than 16 rank for the nation of Romania with more than 0 for silver? [/INST] SELECT COUNT(total) FROM table_name_36 WHERE rank > 16 AND nation = "romania" AND silver > 0 </s>
What type of video coding has a format name of dvcam?
CREATE TABLE table_name_69 (video_coding VARCHAR, format_name VARCHAR)
SELECT video_coding FROM table_name_69 WHERE format_name = "dvcam"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (video_coding VARCHAR, format_name VARCHAR) Question: What type of video coding has a format name of dvcam? [/INST] SELECT video_coding FROM table_name_69 WHERE format_name = "dvcam" </s>
What format name has dv as video coding and 4:1:1 as the color sampling?
CREATE TABLE table_name_44 (format_name VARCHAR, video_coding VARCHAR, color_sampling VARCHAR)
SELECT format_name FROM table_name_44 WHERE video_coding = "dv" AND color_sampling = "4:1:1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (format_name VARCHAR, video_coding VARCHAR, color_sampling VARCHAR) Question: What format name has dv as video coding and 4:1:1 as the color sampling? [/INST] SELECT format_name FROM table_name_44 WHERE video_coding = "dv" AND color_sampling = "4:1:1" </s>
What bit depth has 4:1:1 as the color sampling?
CREATE TABLE table_name_38 (bit_depth INTEGER, color_sampling VARCHAR)
SELECT SUM(bit_depth) FROM table_name_38 WHERE color_sampling = "4:1:1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (bit_depth INTEGER, color_sampling VARCHAR) Question: What bit depth has 4:1:1 as the color sampling? [/INST] SELECT SUM(bit_depth) FROM table_name_38 WHERE color_sampling = "4:1:1" </s>
What frame size has pcm 4 ch/16 bit/48khz as audio coding and dvcam as the format name and 4:1:1 as the color sampling?
CREATE TABLE table_name_44 (frame_size VARCHAR, color_sampling VARCHAR, audio_coding VARCHAR, format_name VARCHAR)
SELECT frame_size FROM table_name_44 WHERE audio_coding = "pcm 4 ch/16 bit/48khz" AND format_name = "dvcam" AND color_sampling = "4:1:1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (frame_size VARCHAR, color_sampling VARCHAR, audio_coding VARCHAR, format_name VARCHAR) Question: What frame size has pcm 4 ch/16 bit/48khz as audio coding and dvcam as the format name and 4:1:1 as the color sampling? [/INST] SELECT frame_size FROM table_name_44 WHERE audio_coding = "pcm 4 ch/16 bit/48khz" AND format_name = "dvcam" AND color_sampling = "4:1:1" </s>
Where was the landing site when the duration on the lunar surface was 21:31?
CREATE TABLE table_name_52 (lunar_landing_site VARCHAR, duration_on_lunar_surface VARCHAR)
SELECT lunar_landing_site FROM table_name_52 WHERE duration_on_lunar_surface = "21:31"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (lunar_landing_site VARCHAR, duration_on_lunar_surface VARCHAR) Question: Where was the landing site when the duration on the lunar surface was 21:31? [/INST] SELECT lunar_landing_site FROM table_name_52 WHERE duration_on_lunar_surface = "21:31" </s>
Who were the crew for the Falcon?
CREATE TABLE table_name_87 (crew VARCHAR, lunar_lander VARCHAR)
SELECT crew FROM table_name_87 WHERE lunar_lander = "falcon"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (crew VARCHAR, lunar_lander VARCHAR) Question: Who were the crew for the Falcon? [/INST] SELECT crew FROM table_name_87 WHERE lunar_lander = "falcon" </s>
What is the average number of EVA for the Orion?
CREATE TABLE table_name_50 (number_of_s_eva INTEGER, lunar_lander VARCHAR)
SELECT AVG(number_of_s_eva) FROM table_name_50 WHERE lunar_lander = "orion"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (number_of_s_eva INTEGER, lunar_lander VARCHAR) Question: What is the average number of EVA for the Orion? [/INST] SELECT AVG(number_of_s_eva) FROM table_name_50 WHERE lunar_lander = "orion" </s>
What is the highest Year, when Rank is less than 28, and when Accolade is "The 100 greatest metal albums of the decade"?
CREATE TABLE table_name_59 (year INTEGER, rank VARCHAR, accolade VARCHAR)
SELECT MAX(year) FROM table_name_59 WHERE rank < 28 AND accolade = "the 100 greatest metal albums of the decade"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (year INTEGER, rank VARCHAR, accolade VARCHAR) Question: What is the highest Year, when Rank is less than 28, and when Accolade is "The 100 greatest metal albums of the decade"? [/INST] SELECT MAX(year) FROM table_name_59 WHERE rank < 28 AND accolade = "the 100 greatest metal albums of the decade" </s>
What is Accolade, when Year is less than 2009, and when Country is Germany?
CREATE TABLE table_name_3 (accolade VARCHAR, year VARCHAR, country VARCHAR)
SELECT accolade FROM table_name_3 WHERE year < 2009 AND country = "germany"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (accolade VARCHAR, year VARCHAR, country VARCHAR) Question: What is Accolade, when Year is less than 2009, and when Country is Germany? [/INST] SELECT accolade FROM table_name_3 WHERE year < 2009 AND country = "germany" </s>
What is the highest Rank, when Publication is Dagsavisen, and when Year is less than 2005?
CREATE TABLE table_name_81 (rank INTEGER, publication VARCHAR, year VARCHAR)
SELECT MAX(rank) FROM table_name_81 WHERE publication = "dagsavisen" AND year < 2005
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (rank INTEGER, publication VARCHAR, year VARCHAR) Question: What is the highest Rank, when Publication is Dagsavisen, and when Year is less than 2005? [/INST] SELECT MAX(rank) FROM table_name_81 WHERE publication = "dagsavisen" AND year < 2005 </s>
When has a Score of 0–0, and a Away team of scunthorpe united?
CREATE TABLE table_name_65 (date VARCHAR, score VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_65 WHERE score = "0–0" AND away_team = "scunthorpe united"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (date VARCHAR, score VARCHAR, away_team VARCHAR) Question: When has a Score of 0–0, and a Away team of scunthorpe united? [/INST] SELECT date FROM table_name_65 WHERE score = "0–0" AND away_team = "scunthorpe united" </s>
Which Tie has a Score of 5–1?
CREATE TABLE table_name_98 (tie_no VARCHAR, score VARCHAR)
SELECT tie_no FROM table_name_98 WHERE score = "5–1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (tie_no VARCHAR, score VARCHAR) Question: Which Tie has a Score of 5–1? [/INST] SELECT tie_no FROM table_name_98 WHERE score = "5–1" </s>
Which Home team that has a Tie no of 20?
CREATE TABLE table_name_74 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_74 WHERE tie_no = "20"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (home_team VARCHAR, tie_no VARCHAR) Question: Which Home team that has a Tie no of 20? [/INST] SELECT home_team FROM table_name_74 WHERE tie_no = "20" </s>
Which Home has a Tie no of 6?
CREATE TABLE table_name_26 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_26 WHERE tie_no = "6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (home_team VARCHAR, tie_no VARCHAR) Question: Which Home has a Tie no of 6? [/INST] SELECT home_team FROM table_name_26 WHERE tie_no = "6" </s>
Which Away team that has a Tie no of replay, and a Score of 1–2?
CREATE TABLE table_name_93 (away_team VARCHAR, tie_no VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_93 WHERE tie_no = "replay" AND score = "1–2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (away_team VARCHAR, tie_no VARCHAR, score VARCHAR) Question: Which Away team that has a Tie no of replay, and a Score of 1–2? [/INST] SELECT away_team FROM table_name_93 WHERE tie_no = "replay" AND score = "1–2" </s>
Which Score has a Away team of walthamstow avenue?
CREATE TABLE table_name_44 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_44 WHERE away_team = "walthamstow avenue"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (score VARCHAR, away_team VARCHAR) Question: Which Score has a Away team of walthamstow avenue? [/INST] SELECT score FROM table_name_44 WHERE away_team = "walthamstow avenue" </s>
How many gp-gs have 121.70 as an effic and an avg/g less than 218.7?
CREATE TABLE table_name_41 (gp_gs VARCHAR, effic VARCHAR, avg_g VARCHAR)
SELECT COUNT(gp_gs) FROM table_name_41 WHERE effic = "121.70" AND avg_g < 218.7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (gp_gs VARCHAR, effic VARCHAR, avg_g VARCHAR) Question: How many gp-gs have 121.70 as an effic and an avg/g less than 218.7? [/INST] SELECT COUNT(gp_gs) FROM table_name_41 WHERE effic = "121.70" AND avg_g < 218.7 </s>
What is the lowest gp-gs that has an avg/g less than 234.3, with 410.80 as the effic?
CREATE TABLE table_name_42 (gp_gs INTEGER, avg_g VARCHAR, effic VARCHAR)
SELECT MIN(gp_gs) FROM table_name_42 WHERE avg_g < 234.3 AND effic = "410.80"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (gp_gs INTEGER, avg_g VARCHAR, effic VARCHAR) Question: What is the lowest gp-gs that has an avg/g less than 234.3, with 410.80 as the effic? [/INST] SELECT MIN(gp_gs) FROM table_name_42 WHERE avg_g < 234.3 AND effic = "410.80" </s>
What is the last 10 meetings that have slu, 9-8 as the overall record?
CREATE TABLE table_name_52 (last_10_meetings VARCHAR, overall_record VARCHAR)
SELECT last_10_meetings FROM table_name_52 WHERE overall_record = "slu, 9-8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (last_10_meetings VARCHAR, overall_record VARCHAR) Question: What is the last 10 meetings that have slu, 9-8 as the overall record? [/INST] SELECT last_10_meetings FROM table_name_52 WHERE overall_record = "slu, 9-8" </s>
What is the last 5 meetings that has w 5 as the current streak, and 3/18/2010 as the last meeting?
CREATE TABLE table_name_69 (last_5_meetings VARCHAR, current_streak VARCHAR, last_meeting VARCHAR)
SELECT last_5_meetings FROM table_name_69 WHERE current_streak = "w 5" AND last_meeting = "3/18/2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (last_5_meetings VARCHAR, current_streak VARCHAR, last_meeting VARCHAR) Question: What is the last 5 meetings that has w 5 as the current streak, and 3/18/2010 as the last meeting? [/INST] SELECT last_5_meetings FROM table_name_69 WHERE current_streak = "w 5" AND last_meeting = "3/18/2010" </s>
What is the last 10 meetings that have 12 as the games played?
CREATE TABLE table_name_43 (last_10_meetings VARCHAR, games_played VARCHAR)
SELECT last_10_meetings FROM table_name_43 WHERE games_played = "12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (last_10_meetings VARCHAR, games_played VARCHAR) Question: What is the last 10 meetings that have 12 as the games played? [/INST] SELECT last_10_meetings FROM table_name_43 WHERE games_played = "12" </s>
What is the last 10 meetings that have 11/26/1988 as the lasr meeting?
CREATE TABLE table_name_32 (last_10_meetings VARCHAR, last_meeting VARCHAR)
SELECT last_10_meetings FROM table_name_32 WHERE last_meeting = "11/26/1988"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (last_10_meetings VARCHAR, last_meeting VARCHAR) Question: What is the last 10 meetings that have 11/26/1988 as the lasr meeting? [/INST] SELECT last_10_meetings FROM table_name_32 WHERE last_meeting = "11/26/1988" </s>
What kansas vs. that has w 2 as the current streak, and 31 as games played?
CREATE TABLE table_name_85 (kansas_state_vs VARCHAR, current_streak VARCHAR, games_played VARCHAR)
SELECT kansas_state_vs FROM table_name_85 WHERE current_streak = "w 2" AND games_played = "31"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (kansas_state_vs VARCHAR, current_streak VARCHAR, games_played VARCHAR) Question: What kansas vs. that has w 2 as the current streak, and 31 as games played? [/INST] SELECT kansas_state_vs FROM table_name_85 WHERE current_streak = "w 2" AND games_played = "31" </s>
What is the sum of the attendance during the game against the philadelphia eagles after week 9?
CREATE TABLE table_name_58 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
SELECT SUM(attendance) FROM table_name_58 WHERE opponent = "philadelphia eagles" AND week > 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (attendance INTEGER, opponent VARCHAR, week VARCHAR) Question: What is the sum of the attendance during the game against the philadelphia eagles after week 9? [/INST] SELECT SUM(attendance) FROM table_name_58 WHERE opponent = "philadelphia eagles" AND week > 9 </s>
What is the total number of fans attending the game on October 8, 1989 before week 5?
CREATE TABLE table_name_4 (attendance VARCHAR, date VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_4 WHERE date = "october 8, 1989" AND week < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (attendance VARCHAR, date VARCHAR, week VARCHAR) Question: What is the total number of fans attending the game on October 8, 1989 before week 5? [/INST] SELECT COUNT(attendance) FROM table_name_4 WHERE date = "october 8, 1989" AND week < 5 </s>
What is the qualities of the sign cancer?
CREATE TABLE table_name_59 (qualities VARCHAR, sign VARCHAR)
SELECT qualities FROM table_name_59 WHERE sign = "cancer"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (qualities VARCHAR, sign VARCHAR) Question: What is the qualities of the sign cancer? [/INST] SELECT qualities FROM table_name_59 WHERE sign = "cancer" </s>
What is the south season of the scorpio sign, which has cold & wet qualities?
CREATE TABLE table_name_88 (season VARCHAR, qualities VARCHAR, sign VARCHAR)
SELECT season AS :_south FROM table_name_88 WHERE qualities = "cold & wet" AND sign = "scorpio"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (season VARCHAR, qualities VARCHAR, sign VARCHAR) Question: What is the south season of the scorpio sign, which has cold & wet qualities? [/INST] SELECT season AS :_south FROM table_name_88 WHERE qualities = "cold & wet" AND sign = "scorpio" </s>
What is the average Prize fund ( US$ ), when OWGR pts is greater than 20, and when Dates is Nov 6-9?
CREATE TABLE table_name_56 (prize_fund___us INTEGER, owgr_pts VARCHAR, dates VARCHAR)
SELECT AVG(prize_fund___us) AS $__ FROM table_name_56 WHERE owgr_pts > 20 AND dates = "nov 6-9"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (prize_fund___us INTEGER, owgr_pts VARCHAR, dates VARCHAR) Question: What is the average Prize fund ( US$ ), when OWGR pts is greater than 20, and when Dates is Nov 6-9? [/INST] SELECT AVG(prize_fund___us) AS $__ FROM table_name_56 WHERE owgr_pts > 20 AND dates = "nov 6-9" </s>
What is Winner, when Dates is Dec 11-14?
CREATE TABLE table_name_18 (winner VARCHAR, dates VARCHAR)
SELECT winner FROM table_name_18 WHERE dates = "dec 11-14"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (winner VARCHAR, dates VARCHAR) Question: What is Winner, when Dates is Dec 11-14? [/INST] SELECT winner FROM table_name_18 WHERE dates = "dec 11-14" </s>
What is the lowest number of games with a rank less than 1?
CREATE TABLE table_name_48 (games INTEGER, rank INTEGER)
SELECT MIN(games) FROM table_name_48 WHERE rank < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (games INTEGER, rank INTEGER) Question: What is the lowest number of games with a rank less than 1? [/INST] SELECT MIN(games) FROM table_name_48 WHERE rank < 1 </s>
What is the name of the player with 305 points?
CREATE TABLE table_name_46 (name VARCHAR, points VARCHAR)
SELECT name FROM table_name_46 WHERE points = 305
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (name VARCHAR, points VARCHAR) Question: What is the name of the player with 305 points? [/INST] SELECT name FROM table_name_46 WHERE points = 305 </s>
What is the total rank of team roanne, which has less than 14 games?
CREATE TABLE table_name_58 (rank VARCHAR, team VARCHAR, games VARCHAR)
SELECT COUNT(rank) FROM table_name_58 WHERE team = "roanne" AND games < 14
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (rank VARCHAR, team VARCHAR, games VARCHAR) Question: What is the total rank of team roanne, which has less than 14 games? [/INST] SELECT COUNT(rank) FROM table_name_58 WHERE team = "roanne" AND games < 14 </s>
What is the lowest of Episode Number that has a Air Date on 20 july 2007?
CREATE TABLE table_name_79 (episode_number INTEGER, air_date VARCHAR)
SELECT MIN(episode_number) FROM table_name_79 WHERE air_date = "20 july 2007"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (episode_number INTEGER, air_date VARCHAR) Question: What is the lowest of Episode Number that has a Air Date on 20 july 2007? [/INST] SELECT MIN(episode_number) FROM table_name_79 WHERE air_date = "20 july 2007" </s>
What kind of Guest Host has a Episode Number of 7?
CREATE TABLE table_name_19 (guest_host VARCHAR, episode_number VARCHAR)
SELECT guest_host FROM table_name_19 WHERE episode_number = 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (guest_host VARCHAR, episode_number VARCHAR) Question: What kind of Guest Host has a Episode Number of 7? [/INST] SELECT guest_host FROM table_name_19 WHERE episode_number = 7 </s>
What kind of Episode Number has a Air Date on 29 june 2007?
CREATE TABLE table_name_41 (episode_number INTEGER, air_date VARCHAR)
SELECT AVG(episode_number) FROM table_name_41 WHERE air_date = "29 june 2007"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (episode_number INTEGER, air_date VARCHAR) Question: What kind of Episode Number has a Air Date on 29 june 2007? [/INST] SELECT AVG(episode_number) FROM table_name_41 WHERE air_date = "29 june 2007" </s>
What kind of Guest Host has a Episode Number of 7?
CREATE TABLE table_name_10 (guest_host VARCHAR, episode_number VARCHAR)
SELECT guest_host FROM table_name_10 WHERE episode_number = 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (guest_host VARCHAR, episode_number VARCHAR) Question: What kind of Guest Host has a Episode Number of 7? [/INST] SELECT guest_host FROM table_name_10 WHERE episode_number = 7 </s>
WHich Coat of Cash" Wearing Celebrity has a Episode Number larger than 1 and with amy macdonald ( mr rock & roll )?
CREATE TABLE table_name_92 (episode_number VARCHAR, musical_guest__song_performed_ VARCHAR)
SELECT "coat_of_cash" AS _wearing_celebrity FROM table_name_92 WHERE episode_number > 1 AND musical_guest__song_performed_ = "amy macdonald ( mr rock & roll )"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (episode_number VARCHAR, musical_guest__song_performed_ VARCHAR) Question: WHich Coat of Cash" Wearing Celebrity has a Episode Number larger than 1 and with amy macdonald ( mr rock & roll )? [/INST] SELECT "coat_of_cash" AS _wearing_celebrity FROM table_name_92 WHERE episode_number > 1 AND musical_guest__song_performed_ = "amy macdonald ( mr rock & roll )" </s>
What is the highest bronze when the silver was 3 and the total was larger than 5?
CREATE TABLE table_name_20 (bronze INTEGER, silver VARCHAR, total VARCHAR)
SELECT MAX(bronze) FROM table_name_20 WHERE silver = 3 AND total > 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (bronze INTEGER, silver VARCHAR, total VARCHAR) Question: What is the highest bronze when the silver was 3 and the total was larger than 5? [/INST] SELECT MAX(bronze) FROM table_name_20 WHERE silver = 3 AND total > 5 </s>
What is the highest bronze when the silver was 0, the gold was larger than 0, and the total was larger than 2?
CREATE TABLE table_name_67 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT MAX(bronze) FROM table_name_67 WHERE silver = 0 AND gold > 0 AND total > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) Question: What is the highest bronze when the silver was 0, the gold was larger than 0, and the total was larger than 2? [/INST] SELECT MAX(bronze) FROM table_name_67 WHERE silver = 0 AND gold > 0 AND total > 2 </s>
What is the lowest silver for France with a rank less than 5 and a total larger than 19?
CREATE TABLE table_name_43 (silver INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
SELECT MIN(silver) FROM table_name_43 WHERE rank < 5 AND nation = "france" AND total > 19
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (silver INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR) Question: What is the lowest silver for France with a rank less than 5 and a total larger than 19? [/INST] SELECT MIN(silver) FROM table_name_43 WHERE rank < 5 AND nation = "france" AND total > 19 </s>
How many bronze had a rank of less than 6 and a total less than 5?
CREATE TABLE table_name_43 (bronze VARCHAR, rank VARCHAR, total VARCHAR)
SELECT COUNT(bronze) FROM table_name_43 WHERE rank < 6 AND total < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (bronze VARCHAR, rank VARCHAR, total VARCHAR) Question: How many bronze had a rank of less than 6 and a total less than 5? [/INST] SELECT COUNT(bronze) FROM table_name_43 WHERE rank < 6 AND total < 5 </s>
Which date was the Winning Score 72-66-67-71=276?
CREATE TABLE table_name_87 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_87 WHERE winning_score = 72 - 66 - 67 - 71 = 276
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (date VARCHAR, winning_score VARCHAR) Question: Which date was the Winning Score 72-66-67-71=276? [/INST] SELECT date FROM table_name_87 WHERE winning_score = 72 - 66 - 67 - 71 = 276 </s>
What is the Margin of victory at the Bob Hope Desert Classic Tournament?
CREATE TABLE table_name_54 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_54 WHERE tournament = "bob hope desert classic"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (margin_of_victory VARCHAR, tournament VARCHAR) Question: What is the Margin of victory at the Bob Hope Desert Classic Tournament? [/INST] SELECT margin_of_victory FROM table_name_54 WHERE tournament = "bob hope desert classic" </s>
On what Date is the Winning Score 71-69-68-70=278?
CREATE TABLE table_name_60 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_60 WHERE winning_score = 71 - 69 - 68 - 70 = 278
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (date VARCHAR, winning_score VARCHAR) Question: On what Date is the Winning Score 71-69-68-70=278? [/INST] SELECT date FROM table_name_60 WHERE winning_score = 71 - 69 - 68 - 70 = 278 </s>
What draw did Nigel Connell?
CREATE TABLE table_name_95 (draw VARCHAR, performer VARCHAR)
SELECT draw FROM table_name_95 WHERE performer = "nigel connell"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (draw VARCHAR, performer VARCHAR) Question: What draw did Nigel Connell? [/INST] SELECT draw FROM table_name_95 WHERE performer = "nigel connell" </s>
Who scored 57 points?
CREATE TABLE table_name_22 (performer VARCHAR, points VARCHAR)
SELECT performer FROM table_name_22 WHERE points = 57
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (performer VARCHAR, points VARCHAR) Question: Who scored 57 points? [/INST] SELECT performer FROM table_name_22 WHERE points = 57 </s>
How many points did Nigel Connell have?
CREATE TABLE table_name_44 (points VARCHAR, performer VARCHAR)
SELECT points FROM table_name_44 WHERE performer = "nigel connell"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (points VARCHAR, performer VARCHAR) Question: How many points did Nigel Connell have? [/INST] SELECT points FROM table_name_44 WHERE performer = "nigel connell" </s>
How many draws did gary o'shaughnessy have?
CREATE TABLE table_name_91 (draw INTEGER, performer VARCHAR)
SELECT SUM(draw) FROM table_name_91 WHERE performer = "gary o'shaughnessy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (draw INTEGER, performer VARCHAR) Question: How many draws did gary o'shaughnessy have? [/INST] SELECT SUM(draw) FROM table_name_91 WHERE performer = "gary o'shaughnessy" </s>
What is the Attendance with a Week that is 18?
CREATE TABLE table_name_19 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_19 WHERE week = 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (attendance VARCHAR, week VARCHAR) Question: What is the Attendance with a Week that is 18? [/INST] SELECT attendance FROM table_name_19 WHERE week = 18 </s>
What Attendance has a Date that is november 1, 1993?
CREATE TABLE table_name_69 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_69 WHERE date = "november 1, 1993"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (attendance VARCHAR, date VARCHAR) Question: What Attendance has a Date that is november 1, 1993? [/INST] SELECT attendance FROM table_name_69 WHERE date = "november 1, 1993" </s>
What is the Record with a Game Site that is joe robbie stadium?
CREATE TABLE table_name_3 (record VARCHAR, game_site VARCHAR)
SELECT record FROM table_name_3 WHERE game_site = "joe robbie stadium"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (record VARCHAR, game_site VARCHAR) Question: What is the Record with a Game Site that is joe robbie stadium? [/INST] SELECT record FROM table_name_3 WHERE game_site = "joe robbie stadium" </s>