instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What locations did sid o'neill play football?
CREATE TABLE table_16527640_2 (location VARCHAR, player VARCHAR)
SELECT location FROM table_16527640_2 WHERE player = "Sid O'Neill"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16527640_2 (location VARCHAR, player VARCHAR) Question: What locations did sid o'neill play football? [/INST] SELECT location FROM table_16527640_2 WHERE player = "Sid O'Neill" </s>
What vfl club(s) for players ranked sergeant, 8th brigade australian field artillery at time of death?
CREATE TABLE table_16527640_2 (vfl_club_s_ VARCHAR, rank_held_at_time_of_death VARCHAR)
SELECT vfl_club_s_ FROM table_16527640_2 WHERE rank_held_at_time_of_death = "Sergeant, 8th Brigade Australian Field Artillery"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16527640_2 (vfl_club_s_ VARCHAR, rank_held_at_time_of_death VARCHAR) Question: What vfl club(s) for players ranked sergeant, 8th brigade australian field artillery at time of death? [/INST] SELECT vfl_club_s_ FROM table_16527640_2 WHERE rank_held_at_time_of_death = "Sergeant, 8th Brigade Australian Field Artillery" </s>
How many players named paddy rowan?
CREATE TABLE table_16527640_2 (rank_held_at_time_of_death VARCHAR, player VARCHAR)
SELECT COUNT(rank_held_at_time_of_death) FROM table_16527640_2 WHERE player = "Paddy Rowan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16527640_2 (rank_held_at_time_of_death VARCHAR, player VARCHAR) Question: How many players named paddy rowan? [/INST] SELECT COUNT(rank_held_at_time_of_death) FROM table_16527640_2 WHERE player = "Paddy Rowan" </s>
What was the score when Donald Bradman in 9 innings?
CREATE TABLE table_16570286_2 (highest_score VARCHAR, innings VARCHAR, player VARCHAR)
SELECT highest_score FROM table_16570286_2 WHERE innings = 9 AND player = "Donald Bradman"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16570286_2 (highest_score VARCHAR, innings VARCHAR, player VARCHAR) Question: What was the score when Donald Bradman in 9 innings? [/INST] SELECT highest_score FROM table_16570286_2 WHERE innings = 9 AND player = "Donald Bradman" </s>
What is the highest number of matches?
CREATE TABLE table_16570286_2 (matches INTEGER)
SELECT MAX(matches) FROM table_16570286_2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16570286_2 (matches INTEGER) Question: What is the highest number of matches? [/INST] SELECT MAX(matches) FROM table_16570286_2 </s>
How many numbers were recorded under matches with Arthur Morris?
CREATE TABLE table_16570286_2 (matches VARCHAR, player VARCHAR)
SELECT COUNT(matches) FROM table_16570286_2 WHERE player = "Arthur Morris"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16570286_2 (matches VARCHAR, player VARCHAR) Question: How many numbers were recorded under matches with Arthur Morris? [/INST] SELECT COUNT(matches) FROM table_16570286_2 WHERE player = "Arthur Morris" </s>
How many teams were there with a high score of 143?
CREATE TABLE table_16570286_2 (team VARCHAR, highest_score VARCHAR)
SELECT COUNT(team) FROM table_16570286_2 WHERE highest_score = "143"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16570286_2 (team VARCHAR, highest_score VARCHAR) Question: How many teams were there with a high score of 143? [/INST] SELECT COUNT(team) FROM table_16570286_2 WHERE highest_score = "143" </s>
How many titles does Episode 2 have
CREATE TABLE table_165732_2 (title VARCHAR, episode__number VARCHAR)
SELECT COUNT(title) FROM table_165732_2 WHERE episode__number = 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_165732_2 (title VARCHAR, episode__number VARCHAR) Question: How many titles does Episode 2 have [/INST] SELECT COUNT(title) FROM table_165732_2 WHERE episode__number = 2 </s>
What is the title of Episode #2
CREATE TABLE table_165732_2 (title VARCHAR, episode__number VARCHAR)
SELECT title FROM table_165732_2 WHERE episode__number = 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_165732_2 (title VARCHAR, episode__number VARCHAR) Question: What is the title of Episode #2 [/INST] SELECT title FROM table_165732_2 WHERE episode__number = 2 </s>
How many directors did Episode #3 have
CREATE TABLE table_165732_2 (directed_by VARCHAR, episode__number VARCHAR)
SELECT COUNT(directed_by) FROM table_165732_2 WHERE episode__number = 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_165732_2 (directed_by VARCHAR, episode__number VARCHAR) Question: How many directors did Episode #3 have [/INST] SELECT COUNT(directed_by) FROM table_165732_2 WHERE episode__number = 3 </s>
What position is the player drafted with pick 34?
CREATE TABLE table_16575609_5 (position VARCHAR, pick__number VARCHAR)
SELECT position FROM table_16575609_5 WHERE pick__number = 34
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16575609_5 (position VARCHAR, pick__number VARCHAR) Question: What position is the player drafted with pick 34? [/INST] SELECT position FROM table_16575609_5 WHERE pick__number = 34 </s>
How many colleges did the player drafted at 36 attend?
CREATE TABLE table_16575609_5 (college VARCHAR, pick__number VARCHAR)
SELECT COUNT(college) FROM table_16575609_5 WHERE pick__number = 36
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16575609_5 (college VARCHAR, pick__number VARCHAR) Question: How many colleges did the player drafted at 36 attend? [/INST] SELECT COUNT(college) FROM table_16575609_5 WHERE pick__number = 36 </s>
How many colleges did Jon Gott attend?
CREATE TABLE table_16575609_5 (college VARCHAR, player VARCHAR)
SELECT COUNT(college) FROM table_16575609_5 WHERE player = "Jon Gott"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16575609_5 (college VARCHAR, player VARCHAR) Question: How many colleges did Jon Gott attend? [/INST] SELECT COUNT(college) FROM table_16575609_5 WHERE player = "Jon Gott" </s>
Where did Dante Luciani attend college?
CREATE TABLE table_16575609_5 (college VARCHAR, player VARCHAR)
SELECT college FROM table_16575609_5 WHERE player = "Dante Luciani"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16575609_5 (college VARCHAR, player VARCHAR) Question: Where did Dante Luciani attend college? [/INST] SELECT college FROM table_16575609_5 WHERE player = "Dante Luciani" </s>
What teak was Brady Browne drafted onto?
CREATE TABLE table_16575609_5 (cfl_team VARCHAR, player VARCHAR)
SELECT cfl_team FROM table_16575609_5 WHERE player = "Brady Browne"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16575609_5 (cfl_team VARCHAR, player VARCHAR) Question: What teak was Brady Browne drafted onto? [/INST] SELECT cfl_team FROM table_16575609_5 WHERE player = "Brady Browne" </s>
Who was the writer of the episode number in series 4?
CREATE TABLE table_16581695_2 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_16581695_2 WHERE no_in_series = "4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16581695_2 (written_by VARCHAR, no_in_series VARCHAR) Question: Who was the writer of the episode number in series 4? [/INST] SELECT written_by FROM table_16581695_2 WHERE no_in_series = "4" </s>
What is the original air date for the episode written by Bob Goodman?
CREATE TABLE table_16581695_2 (original_airdate VARCHAR, written_by VARCHAR)
SELECT original_airdate FROM table_16581695_2 WHERE written_by = "Bob Goodman"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16581695_2 (original_airdate VARCHAR, written_by VARCHAR) Question: What is the original air date for the episode written by Bob Goodman? [/INST] SELECT original_airdate FROM table_16581695_2 WHERE written_by = "Bob Goodman" </s>
Name the number air date for 14.20 us viewers
CREATE TABLE table_16617011_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
SELECT COUNT(original_air_date) FROM table_16617011_1 WHERE us_viewers__millions_ = "14.20"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16617011_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) Question: Name the number air date for 14.20 us viewers [/INST] SELECT COUNT(original_air_date) FROM table_16617011_1 WHERE us_viewers__millions_ = "14.20" </s>
Name the directed by for 15.15 viewers
CREATE TABLE table_16617011_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT directed_by FROM table_16617011_1 WHERE us_viewers__millions_ = "15.15"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16617011_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) Question: Name the directed by for 15.15 viewers [/INST] SELECT directed_by FROM table_16617011_1 WHERE us_viewers__millions_ = "15.15" </s>
Name the number of giants points for opponents being 31
CREATE TABLE table_16661199_2 (giants_points VARCHAR, opponents VARCHAR)
SELECT COUNT(giants_points) FROM table_16661199_2 WHERE opponents = 31
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16661199_2 (giants_points VARCHAR, opponents VARCHAR) Question: Name the number of giants points for opponents being 31 [/INST] SELECT COUNT(giants_points) FROM table_16661199_2 WHERE opponents = 31 </s>
Name the most attendance for giants points of 10
CREATE TABLE table_16661199_2 (attendance INTEGER, giants_points VARCHAR)
SELECT MAX(attendance) FROM table_16661199_2 WHERE giants_points = 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16661199_2 (attendance INTEGER, giants_points VARCHAR) Question: Name the most attendance for giants points of 10 [/INST] SELECT MAX(attendance) FROM table_16661199_2 WHERE giants_points = 10 </s>
What is the distance for jockey Kent Desormeaux on 6/7/08?
CREATE TABLE table_16689920_1 (distance VARCHAR, jockey VARCHAR, date VARCHAR)
SELECT distance FROM table_16689920_1 WHERE jockey = "Kent Desormeaux" AND date = "6/7/08"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16689920_1 (distance VARCHAR, jockey VARCHAR, date VARCHAR) Question: What is the distance for jockey Kent Desormeaux on 6/7/08? [/INST] SELECT distance FROM table_16689920_1 WHERE jockey = "Kent Desormeaux" AND date = "6/7/08" </s>
At 1:48.16 what was the number of track time?
CREATE TABLE table_16689920_1 (track VARCHAR, time VARCHAR)
SELECT COUNT(track) FROM table_16689920_1 WHERE time = "1:48.16"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16689920_1 (track VARCHAR, time VARCHAR) Question: At 1:48.16 what was the number of track time? [/INST] SELECT COUNT(track) FROM table_16689920_1 WHERE time = "1:48.16" </s>
With a date of 8/3/08, what was the length of the victory margin?
CREATE TABLE table_16689920_1 (victory_margin__in_lengths_ VARCHAR, date VARCHAR)
SELECT COUNT(victory_margin__in_lengths_) FROM table_16689920_1 WHERE date = "8/3/08"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16689920_1 (victory_margin__in_lengths_ VARCHAR, date VARCHAR) Question: With a date of 8/3/08, what was the length of the victory margin? [/INST] SELECT COUNT(victory_margin__in_lengths_) FROM table_16689920_1 WHERE date = "8/3/08" </s>
On what date did the opponents win with 17 points?
CREATE TABLE table_16678052_2 (date VARCHAR, opponents VARCHAR, result VARCHAR)
SELECT date FROM table_16678052_2 WHERE opponents = 17 AND result = "Win"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16678052_2 (date VARCHAR, opponents VARCHAR, result VARCHAR) Question: On what date did the opponents win with 17 points? [/INST] SELECT date FROM table_16678052_2 WHERE opponents = 17 AND result = "Win" </s>
What record was reached when the Eagles played the Phoenix Cardinals?
CREATE TABLE table_16678052_2 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_16678052_2 WHERE opponent = "Phoenix Cardinals"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16678052_2 (record VARCHAR, opponent VARCHAR) Question: What record was reached when the Eagles played the Phoenix Cardinals? [/INST] SELECT record FROM table_16678052_2 WHERE opponent = "Phoenix Cardinals" </s>
How many times in 1984 did the Falcons play the Los Angeles Rams?
CREATE TABLE table_16710742_3 (opponents VARCHAR, opponent VARCHAR)
SELECT COUNT(opponents) FROM table_16710742_3 WHERE opponent = "Los Angeles Rams"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16710742_3 (opponents VARCHAR, opponent VARCHAR) Question: How many times in 1984 did the Falcons play the Los Angeles Rams? [/INST] SELECT COUNT(opponents) FROM table_16710742_3 WHERE opponent = "Los Angeles Rams" </s>
In 1984, Did the Falcons have a win or loss against the New Orleans Saints?
CREATE TABLE table_16710742_3 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_16710742_3 WHERE opponent = "New Orleans Saints"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16710742_3 (result VARCHAR, opponent VARCHAR) Question: In 1984, Did the Falcons have a win or loss against the New Orleans Saints? [/INST] SELECT result FROM table_16710742_3 WHERE opponent = "New Orleans Saints" </s>
Did the Falcons have a win or loss in the game when their record was 3-7?
CREATE TABLE table_16710742_3 (result VARCHAR, record VARCHAR)
SELECT result FROM table_16710742_3 WHERE record = "3-7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16710742_3 (result VARCHAR, record VARCHAR) Question: Did the Falcons have a win or loss in the game when their record was 3-7? [/INST] SELECT result FROM table_16710742_3 WHERE record = "3-7" </s>
what is the attendance where the game site is kingdome?
CREATE TABLE table_16729076_1 (attendance INTEGER, game_site VARCHAR)
SELECT MIN(attendance) FROM table_16729076_1 WHERE game_site = "Kingdome"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16729076_1 (attendance INTEGER, game_site VARCHAR) Question: what is the attendance where the game site is kingdome? [/INST] SELECT MIN(attendance) FROM table_16729076_1 WHERE game_site = "Kingdome" </s>
what date is the opponent is chicago bears?
CREATE TABLE table_16729076_1 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_16729076_1 WHERE opponent = "Chicago Bears"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16729076_1 (date VARCHAR, opponent VARCHAR) Question: what date is the opponent is chicago bears? [/INST] SELECT date FROM table_16729076_1 WHERE opponent = "Chicago Bears" </s>
What team has draft picks from Mississippi?
CREATE TABLE table_16729063_1 (nfl_team VARCHAR, college VARCHAR)
SELECT nfl_team FROM table_16729063_1 WHERE college = "Mississippi"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16729063_1 (nfl_team VARCHAR, college VARCHAR) Question: What team has draft picks from Mississippi? [/INST] SELECT nfl_team FROM table_16729063_1 WHERE college = "Mississippi" </s>
How many positions drafted players from Washington?
CREATE TABLE table_16729063_1 (position VARCHAR, college VARCHAR)
SELECT COUNT(position) FROM table_16729063_1 WHERE college = "Washington"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16729063_1 (position VARCHAR, college VARCHAR) Question: How many positions drafted players from Washington? [/INST] SELECT COUNT(position) FROM table_16729063_1 WHERE college = "Washington" </s>
How many draft picks are there at the Defensive End position?
CREATE TABLE table_16729063_1 (pick__number VARCHAR, position VARCHAR)
SELECT COUNT(pick__number) FROM table_16729063_1 WHERE position = "Defensive End"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16729063_1 (pick__number VARCHAR, position VARCHAR) Question: How many draft picks are there at the Defensive End position? [/INST] SELECT COUNT(pick__number) FROM table_16729063_1 WHERE position = "Defensive End" </s>
How many draft picks are there at the linebacker position?
CREATE TABLE table_16729063_1 (pick__number VARCHAR, position VARCHAR)
SELECT COUNT(pick__number) FROM table_16729063_1 WHERE position = "Linebacker"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16729063_1 (pick__number VARCHAR, position VARCHAR) Question: How many draft picks are there at the linebacker position? [/INST] SELECT COUNT(pick__number) FROM table_16729063_1 WHERE position = "Linebacker" </s>
What draft pick was Chris Brewer?
CREATE TABLE table_16729063_1 (pick__number INTEGER, player VARCHAR)
SELECT MIN(pick__number) FROM table_16729063_1 WHERE player = "Chris Brewer"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16729063_1 (pick__number INTEGER, player VARCHAR) Question: What draft pick was Chris Brewer? [/INST] SELECT MIN(pick__number) FROM table_16729063_1 WHERE player = "Chris Brewer" </s>
How many losses did the Michigan State Spartans have?
CREATE TABLE table_1672976_2 (loss INTEGER, institution VARCHAR)
SELECT MAX(loss) FROM table_1672976_2 WHERE institution = "Michigan State Spartans"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1672976_2 (loss INTEGER, institution VARCHAR) Question: How many losses did the Michigan State Spartans have? [/INST] SELECT MAX(loss) FROM table_1672976_2 WHERE institution = "Michigan State Spartans" </s>
How many wins did the Northwestern Wildcats?
CREATE TABLE table_1672976_2 (wins INTEGER, institution VARCHAR)
SELECT MAX(wins) FROM table_1672976_2 WHERE institution = "Northwestern Wildcats"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1672976_2 (wins INTEGER, institution VARCHAR) Question: How many wins did the Northwestern Wildcats? [/INST] SELECT MAX(wins) FROM table_1672976_2 WHERE institution = "Northwestern Wildcats" </s>
What institution had 6 wins and a current streak of won 2?
CREATE TABLE table_1672976_2 (institution VARCHAR, wins VARCHAR, current_streak VARCHAR)
SELECT institution FROM table_1672976_2 WHERE wins = 6 AND current_streak = "Won 2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1672976_2 (institution VARCHAR, wins VARCHAR, current_streak VARCHAR) Question: What institution had 6 wins and a current streak of won 2? [/INST] SELECT institution FROM table_1672976_2 WHERE wins = 6 AND current_streak = "Won 2" </s>
Who are all the opponents of Slovakia?
CREATE TABLE table_16741821_9 (opponents VARCHAR, against VARCHAR)
SELECT opponents FROM table_16741821_9 WHERE against = "Slovakia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16741821_9 (opponents VARCHAR, against VARCHAR) Question: Who are all the opponents of Slovakia? [/INST] SELECT opponents FROM table_16741821_9 WHERE against = "Slovakia" </s>
What is the name of the round against the opponents jesse huta galung peter wessels?
CREATE TABLE table_16741821_9 (round VARCHAR, opponents VARCHAR)
SELECT round FROM table_16741821_9 WHERE opponents = "Jesse Huta Galung Peter Wessels"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16741821_9 (round VARCHAR, opponents VARCHAR) Question: What is the name of the round against the opponents jesse huta galung peter wessels? [/INST] SELECT round FROM table_16741821_9 WHERE opponents = "Jesse Huta Galung Peter Wessels" </s>
Are there SPI on the number 7 cylinder?
CREATE TABLE table_16731248_1 (spi VARCHAR, number_on_cyl VARCHAR)
SELECT spi FROM table_16731248_1 WHERE number_on_cyl = "7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16731248_1 (spi VARCHAR, number_on_cyl VARCHAR) Question: Are there SPI on the number 7 cylinder? [/INST] SELECT spi FROM table_16731248_1 WHERE number_on_cyl = "7" </s>
What is the minimum number of bypass ports listed?
CREATE TABLE table_16731248_1 (bypass_ports INTEGER)
SELECT MIN(bypass_ports) FROM table_16731248_1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16731248_1 (bypass_ports INTEGER) Question: What is the minimum number of bypass ports listed? [/INST] SELECT MIN(bypass_ports) FROM table_16731248_1 </s>
Is there a tapered grind on the Surestart engine?
CREATE TABLE table_16731248_1 (tapered_grind VARCHAR, engine VARCHAR)
SELECT tapered_grind FROM table_16731248_1 WHERE engine = "SureStart"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16731248_1 (tapered_grind VARCHAR, engine VARCHAR) Question: Is there a tapered grind on the Surestart engine? [/INST] SELECT tapered_grind FROM table_16731248_1 WHERE engine = "SureStart" </s>
How many bypass boosters are there on the engine with slit exhaust ports and SPI is yes?
CREATE TABLE table_16731248_1 (bypass_boosters VARCHAR, spi VARCHAR, exhaust_ports VARCHAR)
SELECT bypass_boosters FROM table_16731248_1 WHERE spi = "Yes" AND exhaust_ports = "Slit"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16731248_1 (bypass_boosters VARCHAR, spi VARCHAR, exhaust_ports VARCHAR) Question: How many bypass boosters are there on the engine with slit exhaust ports and SPI is yes? [/INST] SELECT bypass_boosters FROM table_16731248_1 WHERE spi = "Yes" AND exhaust_ports = "Slit" </s>
How many times did Saxby Chambliss have a lead margin of 21?
CREATE TABLE table_16751596_16 (republican VARCHAR, lead_margin VARCHAR)
SELECT COUNT(republican) AS :_saxby_chambliss FROM table_16751596_16 WHERE lead_margin = 21
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16751596_16 (republican VARCHAR, lead_margin VARCHAR) Question: How many times did Saxby Chambliss have a lead margin of 21? [/INST] SELECT COUNT(republican) AS :_saxby_chambliss FROM table_16751596_16 WHERE lead_margin = 21 </s>
Name the least tries for when w is 4
CREATE TABLE table_16770037_4 (tries_for INTEGER, w VARCHAR)
SELECT MIN(tries_for) FROM table_16770037_4 WHERE w = 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16770037_4 (tries_for INTEGER, w VARCHAR) Question: Name the least tries for when w is 4 [/INST] SELECT MIN(tries_for) FROM table_16770037_4 WHERE w = 4 </s>
What is the total points when the point difference is +119?
CREATE TABLE table_1676073_13 (points VARCHAR, points_difference VARCHAR)
SELECT points FROM table_1676073_13 WHERE points_difference = "+119"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1676073_13 (points VARCHAR, points_difference VARCHAR) Question: What is the total points when the point difference is +119? [/INST] SELECT points FROM table_1676073_13 WHERE points_difference = "+119" </s>
What is the points for when the total points is 6?
CREATE TABLE table_1676073_13 (points_for VARCHAR, points VARCHAR)
SELECT points_for FROM table_1676073_13 WHERE points = "6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1676073_13 (points_for VARCHAR, points VARCHAR) Question: What is the points for when the total points is 6? [/INST] SELECT points_for FROM table_1676073_13 WHERE points = "6" </s>
What club has 693 points for?
CREATE TABLE table_1676073_13 (club VARCHAR, points_for VARCHAR)
SELECT club FROM table_1676073_13 WHERE points_for = "693"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1676073_13 (club VARCHAR, points_for VARCHAR) Question: What club has 693 points for? [/INST] SELECT club FROM table_1676073_13 WHERE points_for = "693" </s>
How many wins does the club with 565 points for have?
CREATE TABLE table_1676073_13 (won VARCHAR, points_for VARCHAR)
SELECT won FROM table_1676073_13 WHERE points_for = "565"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1676073_13 (won VARCHAR, points_for VARCHAR) Question: How many wins does the club with 565 points for have? [/INST] SELECT won FROM table_1676073_13 WHERE points_for = "565" </s>
How many losses does Cross Keys RFC have?
CREATE TABLE table_1676073_13 (lost VARCHAR, club VARCHAR)
SELECT COUNT(lost) FROM table_1676073_13 WHERE club = "Cross Keys RFC"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1676073_13 (lost VARCHAR, club VARCHAR) Question: How many losses does Cross Keys RFC have? [/INST] SELECT COUNT(lost) FROM table_1676073_13 WHERE club = "Cross Keys RFC" </s>
How many losses does the club with 539 points for have?
CREATE TABLE table_1676073_13 (lost VARCHAR, points_for VARCHAR)
SELECT lost FROM table_1676073_13 WHERE points_for = "539"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1676073_13 (lost VARCHAR, points_for VARCHAR) Question: How many losses does the club with 539 points for have? [/INST] SELECT lost FROM table_1676073_13 WHERE points_for = "539" </s>
How many hectars of land is in Kaxholmen?
CREATE TABLE table_16796625_1 (land_area__hectares_ VARCHAR, urban_area__locality_ VARCHAR)
SELECT land_area__hectares_ FROM table_16796625_1 WHERE urban_area__locality_ = "Kaxholmen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16796625_1 (land_area__hectares_ VARCHAR, urban_area__locality_ VARCHAR) Question: How many hectars of land is in Kaxholmen? [/INST] SELECT land_area__hectares_ FROM table_16796625_1 WHERE urban_area__locality_ = "Kaxholmen" </s>
How many codes have a population of 598 in Vellinge Municipality?
CREATE TABLE table_16796625_1 (code VARCHAR, municipality VARCHAR, population VARCHAR)
SELECT COUNT(code) FROM table_16796625_1 WHERE municipality = "Vellinge municipality" AND population = 598
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16796625_1 (code VARCHAR, municipality VARCHAR, population VARCHAR) Question: How many codes have a population of 598 in Vellinge Municipality? [/INST] SELECT COUNT(code) FROM table_16796625_1 WHERE municipality = "Vellinge municipality" AND population = 598 </s>
Which urban area has the code 4870?
CREATE TABLE table_16796625_1 (urban_area__locality_ VARCHAR, code VARCHAR)
SELECT urban_area__locality_ FROM table_16796625_1 WHERE code = 4870
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16796625_1 (urban_area__locality_ VARCHAR, code VARCHAR) Question: Which urban area has the code 4870? [/INST] SELECT urban_area__locality_ FROM table_16796625_1 WHERE code = 4870 </s>
How many people live in an area of 30.94 hectares?
CREATE TABLE table_16796625_1 (population VARCHAR, land_area__hectares_ VARCHAR)
SELECT COUNT(population) FROM table_16796625_1 WHERE land_area__hectares_ = "30.94"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16796625_1 (population VARCHAR, land_area__hectares_ VARCHAR) Question: How many people live in an area of 30.94 hectares? [/INST] SELECT COUNT(population) FROM table_16796625_1 WHERE land_area__hectares_ = "30.94" </s>
How many hectares of land area is Landsbro?
CREATE TABLE table_16796625_1 (land_area__hectares_ VARCHAR, urban_area__locality_ VARCHAR)
SELECT land_area__hectares_ FROM table_16796625_1 WHERE urban_area__locality_ = "Landsbro"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16796625_1 (land_area__hectares_ VARCHAR, urban_area__locality_ VARCHAR) Question: How many hectares of land area is Landsbro? [/INST] SELECT land_area__hectares_ FROM table_16796625_1 WHERE urban_area__locality_ = "Landsbro" </s>
Name the total with one hand clean and jerk is 87.5 and snatch is 87.5
CREATE TABLE table_16779068_5 (total VARCHAR, snatch VARCHAR, one_hand_clean_ VARCHAR, _jerk VARCHAR)
SELECT total FROM table_16779068_5 WHERE one_hand_clean_ & _jerk = "87.5" AND snatch = "87.5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16779068_5 (total VARCHAR, snatch VARCHAR, one_hand_clean_ VARCHAR, _jerk VARCHAR) Question: Name the total with one hand clean and jerk is 87.5 and snatch is 87.5 [/INST] SELECT total FROM table_16779068_5 WHERE one_hand_clean_ & _jerk = "87.5" AND snatch = "87.5" </s>
Name the snatch when body weight is 73.7
CREATE TABLE table_16779068_5 (snatch VARCHAR, body_weight VARCHAR)
SELECT snatch FROM table_16779068_5 WHERE body_weight = "737"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16779068_5 (snatch VARCHAR, body_weight VARCHAR) Question: Name the snatch when body weight is 73.7 [/INST] SELECT snatch FROM table_16779068_5 WHERE body_weight = "737" </s>
Name the 3 where weightlifter is m. van der goten ( bel )
CREATE TABLE table_16779068_5 (weightlifter VARCHAR)
SELECT 3 FROM table_16779068_5 WHERE weightlifter = "M. Van der Goten ( BEL )"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16779068_5 (weightlifter VARCHAR) Question: Name the 3 where weightlifter is m. van der goten ( bel ) [/INST] SELECT 3 FROM table_16779068_5 WHERE weightlifter = "M. Van der Goten ( BEL )" </s>
What are Wells Fargo's assets?
CREATE TABLE table_1682026_2 (assets__billion_$_ VARCHAR, company VARCHAR)
SELECT assets__billion_$_ FROM table_1682026_2 WHERE company = "Wells Fargo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682026_2 (assets__billion_$_ VARCHAR, company VARCHAR) Question: What are Wells Fargo's assets? [/INST] SELECT assets__billion_$_ FROM table_1682026_2 WHERE company = "Wells Fargo" </s>
Which company had profits of 26.9?
CREATE TABLE table_1682026_2 (company VARCHAR, profits__billion_$_ VARCHAR)
SELECT company FROM table_1682026_2 WHERE profits__billion_$_ = "26.9"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682026_2 (company VARCHAR, profits__billion_$_ VARCHAR) Question: Which company had profits of 26.9? [/INST] SELECT company FROM table_1682026_2 WHERE profits__billion_$_ = "26.9" </s>
Which company has a market value of 147.4?
CREATE TABLE table_1682026_2 (company VARCHAR, market_value__billion_$_ VARCHAR)
SELECT company FROM table_1682026_2 WHERE market_value__billion_$_ = "147.4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682026_2 (company VARCHAR, market_value__billion_$_ VARCHAR) Question: Which company has a market value of 147.4? [/INST] SELECT company FROM table_1682026_2 WHERE market_value__billion_$_ = "147.4" </s>
When the assets are 2,550, what is the Market Value?
CREATE TABLE table_1682026_2 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)
SELECT market_value__billion_$_ FROM table_1682026_2 WHERE assets__billion_$_ = "2,550"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682026_2 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) Question: When the assets are 2,550, what is the Market Value? [/INST] SELECT market_value__billion_$_ FROM table_1682026_2 WHERE assets__billion_$_ = "2,550" </s>
What are the assets for company who's headquarters are located in Brazil?
CREATE TABLE table_1682026_2 (assets__billion_$_ VARCHAR, headquarters VARCHAR)
SELECT assets__billion_$_ FROM table_1682026_2 WHERE headquarters = "Brazil"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682026_2 (assets__billion_$_ VARCHAR, headquarters VARCHAR) Question: What are the assets for company who's headquarters are located in Brazil? [/INST] SELECT assets__billion_$_ FROM table_1682026_2 WHERE headquarters = "Brazil" </s>
Name the population density when barangay is tiptip
CREATE TABLE table_1686313_1 (pop_density__per_km²_ VARCHAR, barangay VARCHAR)
SELECT pop_density__per_km²_ FROM table_1686313_1 WHERE barangay = "Tiptip"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1686313_1 (pop_density__per_km²_ VARCHAR, barangay VARCHAR) Question: Name the population density when barangay is tiptip [/INST] SELECT pop_density__per_km²_ FROM table_1686313_1 WHERE barangay = "Tiptip" </s>
Name the least population 2007 for barangay is poblacion ii
CREATE TABLE table_1686313_1 (population__2007_ INTEGER, barangay VARCHAR)
SELECT MIN(population__2007_) FROM table_1686313_1 WHERE barangay = "Poblacion II"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1686313_1 (population__2007_ INTEGER, barangay VARCHAR) Question: Name the least population 2007 for barangay is poblacion ii [/INST] SELECT MIN(population__2007_) FROM table_1686313_1 WHERE barangay = "Poblacion II" </s>
Name the score for philadelphia flyers
CREATE TABLE table_16864968_9 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_16864968_9 WHERE opponent = "Philadelphia Flyers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16864968_9 (score VARCHAR, opponent VARCHAR) Question: Name the score for philadelphia flyers [/INST] SELECT score FROM table_16864968_9 WHERE opponent = "Philadelphia Flyers" </s>
Nam the opponent for prudential center
CREATE TABLE table_16864968_9 (opponent VARCHAR, location VARCHAR)
SELECT opponent FROM table_16864968_9 WHERE location = "Prudential Center"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16864968_9 (opponent VARCHAR, location VARCHAR) Question: Nam the opponent for prudential center [/INST] SELECT opponent FROM table_16864968_9 WHERE location = "Prudential Center" </s>
Name the location for 15046 attendance
CREATE TABLE table_16864968_9 (location VARCHAR, attendance VARCHAR)
SELECT location FROM table_16864968_9 WHERE attendance = 15046
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16864968_9 (location VARCHAR, attendance VARCHAR) Question: Name the location for 15046 attendance [/INST] SELECT location FROM table_16864968_9 WHERE attendance = 15046 </s>
How many people attended the Edmonton Oilers game?
CREATE TABLE table_16864968_8 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_16864968_8 WHERE opponent = "Edmonton Oilers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16864968_8 (attendance VARCHAR, opponent VARCHAR) Question: How many people attended the Edmonton Oilers game? [/INST] SELECT attendance FROM table_16864968_8 WHERE opponent = "Edmonton Oilers" </s>
How many points were made in game 70?
CREATE TABLE table_16864968_8 (points VARCHAR, game VARCHAR)
SELECT COUNT(points) FROM table_16864968_8 WHERE game = 70
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16864968_8 (points VARCHAR, game VARCHAR) Question: How many points were made in game 70? [/INST] SELECT COUNT(points) FROM table_16864968_8 WHERE game = 70 </s>
Who was the opponent in the game where 19041 people attended?
CREATE TABLE table_16864968_8 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_16864968_8 WHERE attendance = 19041
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16864968_8 (opponent VARCHAR, attendance VARCHAR) Question: Who was the opponent in the game where 19041 people attended? [/INST] SELECT opponent FROM table_16864968_8 WHERE attendance = 19041 </s>
How many records were made on March 27, 2009?
CREATE TABLE table_16864968_8 (record VARCHAR, date VARCHAR)
SELECT COUNT(record) FROM table_16864968_8 WHERE date = "March 27, 2009"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16864968_8 (record VARCHAR, date VARCHAR) Question: How many records were made on March 27, 2009? [/INST] SELECT COUNT(record) FROM table_16864968_8 WHERE date = "March 27, 2009" </s>
What was the score on March 21, 2009?
CREATE TABLE table_16864968_8 (score VARCHAR, date VARCHAR)
SELECT score FROM table_16864968_8 WHERE date = "March 21, 2009"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16864968_8 (score VARCHAR, date VARCHAR) Question: What was the score on March 21, 2009? [/INST] SELECT score FROM table_16864968_8 WHERE date = "March 21, 2009" </s>
Name the date for margalita chakhnashvili salome devidze
CREATE TABLE table_16893837_4 (date VARCHAR, opponents VARCHAR)
SELECT date FROM table_16893837_4 WHERE opponents = "Margalita Chakhnashvili Salome Devidze"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16893837_4 (date VARCHAR, opponents VARCHAR) Question: Name the date for margalita chakhnashvili salome devidze [/INST] SELECT date FROM table_16893837_4 WHERE opponents = "Margalita Chakhnashvili Salome Devidze" </s>
Name the most points for independiente
CREATE TABLE table_16940409_1 (points INTEGER, team VARCHAR)
SELECT MAX(points) FROM table_16940409_1 WHERE team = "Independiente"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16940409_1 (points INTEGER, team VARCHAR) Question: Name the most points for independiente [/INST] SELECT MAX(points) FROM table_16940409_1 WHERE team = "Independiente" </s>
Name the original air date of 1/2 in season
CREATE TABLE table_16951593_1 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_16951593_1 WHERE no_in_season = "1/2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16951593_1 (original_air_date VARCHAR, no_in_season VARCHAR) Question: Name the original air date of 1/2 in season [/INST] SELECT original_air_date FROM table_16951593_1 WHERE no_in_season = "1/2" </s>
Name the original air date for number in season being 13
CREATE TABLE table_16951593_1 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_16951593_1 WHERE no_in_season = "13"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16951593_1 (original_air_date VARCHAR, no_in_season VARCHAR) Question: Name the original air date for number in season being 13 [/INST] SELECT original_air_date FROM table_16951593_1 WHERE no_in_season = "13" </s>
Namee the title for production code for 4014
CREATE TABLE table_16951593_1 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_16951593_1 WHERE production_code = "4014"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16951593_1 (title VARCHAR, production_code VARCHAR) Question: Namee the title for production code for 4014 [/INST] SELECT title FROM table_16951593_1 WHERE production_code = "4014" </s>
Name the title for number in season 9
CREATE TABLE table_16951593_1 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_16951593_1 WHERE no_in_season = "9"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16951593_1 (title VARCHAR, no_in_season VARCHAR) Question: Name the title for number in season 9 [/INST] SELECT title FROM table_16951593_1 WHERE no_in_season = "9" </s>
Name who wrote the episode that had 7.56 million viewers
CREATE TABLE table_16951593_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT written_by FROM table_16951593_1 WHERE us_viewers__millions_ = "7.56"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16951593_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) Question: Name who wrote the episode that had 7.56 million viewers [/INST] SELECT written_by FROM table_16951593_1 WHERE us_viewers__millions_ = "7.56" </s>
Name the wins for best finish being 2nd
CREATE TABLE table_1697190_1 (wins VARCHAR, best_finish VARCHAR)
SELECT wins FROM table_1697190_1 WHERE best_finish = "2nd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1697190_1 (wins VARCHAR, best_finish VARCHAR) Question: Name the wins for best finish being 2nd [/INST] SELECT wins FROM table_1697190_1 WHERE best_finish = "2nd" </s>
Name the most earnings for money list rank being 143
CREATE TABLE table_1697190_1 (earnings___ INTEGER, money_list_rank VARCHAR)
SELECT MAX(earnings___) AS $__ FROM table_1697190_1 WHERE money_list_rank = 143
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1697190_1 (earnings___ INTEGER, money_list_rank VARCHAR) Question: Name the most earnings for money list rank being 143 [/INST] SELECT MAX(earnings___) AS $__ FROM table_1697190_1 WHERE money_list_rank = 143 </s>
Nme the most cuts made for wins being 0
CREATE TABLE table_1697190_1 (cuts_made INTEGER, wins VARCHAR)
SELECT MAX(cuts_made) FROM table_1697190_1 WHERE wins = 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1697190_1 (cuts_made INTEGER, wins VARCHAR) Question: Nme the most cuts made for wins being 0 [/INST] SELECT MAX(cuts_made) FROM table_1697190_1 WHERE wins = 0 </s>
Name the wins for tournaments played being 14
CREATE TABLE table_1697190_1 (wins VARCHAR, tournaments_played VARCHAR)
SELECT wins FROM table_1697190_1 WHERE tournaments_played = 14
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1697190_1 (wins VARCHAR, tournaments_played VARCHAR) Question: Name the wins for tournaments played being 14 [/INST] SELECT wins FROM table_1697190_1 WHERE tournaments_played = 14 </s>
Against which team was game 21?
CREATE TABLE table_17001658_6 (team VARCHAR, game VARCHAR)
SELECT team FROM table_17001658_6 WHERE game = 21
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17001658_6 (team VARCHAR, game VARCHAR) Question: Against which team was game 21? [/INST] SELECT team FROM table_17001658_6 WHERE game = 21 </s>
Name the replaced by where date of vacancy is 31 december 2008 where position in table is 1st
CREATE TABLE table_17039232_3 (replaced_by VARCHAR, date_of_vacancy VARCHAR, position_in_table VARCHAR)
SELECT replaced_by FROM table_17039232_3 WHERE date_of_vacancy = "31 December 2008" AND position_in_table = "1st"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17039232_3 (replaced_by VARCHAR, date_of_vacancy VARCHAR, position_in_table VARCHAR) Question: Name the replaced by where date of vacancy is 31 december 2008 where position in table is 1st [/INST] SELECT replaced_by FROM table_17039232_3 WHERE date_of_vacancy = "31 December 2008" AND position_in_table = "1st" </s>
Name the replaced by for position in table is 1st
CREATE TABLE table_17039232_3 (replaced_by VARCHAR, position_in_table VARCHAR)
SELECT replaced_by FROM table_17039232_3 WHERE position_in_table = "1st"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17039232_3 (replaced_by VARCHAR, position_in_table VARCHAR) Question: Name the replaced by for position in table is 1st [/INST] SELECT replaced_by FROM table_17039232_3 WHERE position_in_table = "1st" </s>
Name the position in table for 1 july 2008 when manner of departure is resigned
CREATE TABLE table_17039232_3 (position_in_table VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR)
SELECT position_in_table FROM table_17039232_3 WHERE date_of_appointment = "1 July 2008" AND manner_of_departure = "Resigned"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17039232_3 (position_in_table VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR) Question: Name the position in table for 1 july 2008 when manner of departure is resigned [/INST] SELECT position_in_table FROM table_17039232_3 WHERE date_of_appointment = "1 July 2008" AND manner_of_departure = "Resigned" </s>
Name the replaced by when outgoing manager is kent nielsen
CREATE TABLE table_17039232_3 (replaced_by VARCHAR, outgoing_manager VARCHAR)
SELECT replaced_by FROM table_17039232_3 WHERE outgoing_manager = "Kent Nielsen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17039232_3 (replaced_by VARCHAR, outgoing_manager VARCHAR) Question: Name the replaced by when outgoing manager is kent nielsen [/INST] SELECT replaced_by FROM table_17039232_3 WHERE outgoing_manager = "Kent Nielsen" </s>
Name the outgoing manager for position in table being 11th
CREATE TABLE table_17039232_3 (outgoing_manager VARCHAR, position_in_table VARCHAR)
SELECT outgoing_manager FROM table_17039232_3 WHERE position_in_table = "11th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17039232_3 (outgoing_manager VARCHAR, position_in_table VARCHAR) Question: Name the outgoing manager for position in table being 11th [/INST] SELECT outgoing_manager FROM table_17039232_3 WHERE position_in_table = "11th" </s>
Name the most number of leitrim
CREATE TABLE table_1705429_1 (no INTEGER, constituency VARCHAR)
SELECT MAX(no) FROM table_1705429_1 WHERE constituency = "Leitrim"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1705429_1 (no INTEGER, constituency VARCHAR) Question: Name the most number of leitrim [/INST] SELECT MAX(no) FROM table_1705429_1 WHERE constituency = "Leitrim" </s>
Name the least yes for dublin south
CREATE TABLE table_1705429_1 (yes INTEGER, constituency VARCHAR)
SELECT MIN(yes) FROM table_1705429_1 WHERE constituency = "Dublin South"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1705429_1 (yes INTEGER, constituency VARCHAR) Question: Name the least yes for dublin south [/INST] SELECT MIN(yes) FROM table_1705429_1 WHERE constituency = "Dublin South" </s>
In how many game was the attendance at Staples Center 18,997?
CREATE TABLE table_17058151_5 (game VARCHAR, location_attendance VARCHAR)
SELECT COUNT(game) FROM table_17058151_5 WHERE location_attendance = "Staples Center 18,997"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17058151_5 (game VARCHAR, location_attendance VARCHAR) Question: In how many game was the attendance at Staples Center 18,997? [/INST] SELECT COUNT(game) FROM table_17058151_5 WHERE location_attendance = "Staples Center 18,997" </s>
How many different games had David Lee (13) with High rebounds?
CREATE TABLE table_17060277_6 (score VARCHAR, high_rebounds VARCHAR)
SELECT COUNT(score) FROM table_17060277_6 WHERE high_rebounds = "David Lee (13)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17060277_6 (score VARCHAR, high_rebounds VARCHAR) Question: How many different games had David Lee (13) with High rebounds? [/INST] SELECT COUNT(score) FROM table_17060277_6 WHERE high_rebounds = "David Lee (13)" </s>
Which date did Chris Duhon (13) receive high assists?
CREATE TABLE table_17060277_6 (date VARCHAR, high_assists VARCHAR)
SELECT date FROM table_17060277_6 WHERE high_assists = "Chris Duhon (13)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17060277_6 (date VARCHAR, high_assists VARCHAR) Question: Which date did Chris Duhon (13) receive high assists? [/INST] SELECT date FROM table_17060277_6 WHERE high_assists = "Chris Duhon (13)" </s>
Name the high rebounds for memphis
CREATE TABLE table_17060277_7 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_17060277_7 WHERE team = "Memphis"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17060277_7 (high_rebounds VARCHAR, team VARCHAR) Question: Name the high rebounds for memphis [/INST] SELECT high_rebounds FROM table_17060277_7 WHERE team = "Memphis" </s>
Name the team for chris duhon , nate robinson , david lee (3)
CREATE TABLE table_17060277_7 (team VARCHAR, high_assists VARCHAR)
SELECT team FROM table_17060277_7 WHERE high_assists = "Chris Duhon , Nate Robinson , David Lee (3)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17060277_7 (team VARCHAR, high_assists VARCHAR) Question: Name the team for chris duhon , nate robinson , david lee (3) [/INST] SELECT team FROM table_17060277_7 WHERE high_assists = "Chris Duhon , Nate Robinson , David Lee (3)" </s>