instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
Which Result has a Date of 7 june 2000?
CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_36 WHERE date = "7 june 2000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR) Question: Which Result has a Date of 7 june 2000? [/INST] SELECT result FROM table_name_36 WHERE date = "7 june 2000" </s>
Which Venue has a Date of 21 june 2000?
CREATE TABLE table_name_46 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_46 WHERE date = "21 june 2000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (venue VARCHAR, date VARCHAR) Question: Which Venue has a Date of 21 june 2000? [/INST] SELECT venue FROM table_name_46 WHERE date = "21 june 2000" </s>
Which Competition has a Venue of jan breydel, bruges, belgium?
CREATE TABLE table_name_37 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_37 WHERE venue = "jan breydel, bruges, belgium"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (competition VARCHAR, venue VARCHAR) Question: Which Competition has a Venue of jan breydel, bruges, belgium? [/INST] SELECT competition FROM table_name_37 WHERE venue = "jan breydel, bruges, belgi...
Which Date has a Result of 3–4?
CREATE TABLE table_name_11 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_11 WHERE result = "3–4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (date VARCHAR, result VARCHAR) Question: Which Date has a Result of 3–4? [/INST] SELECT date FROM table_name_11 WHERE result = "3–4" </s>
Game site of shea stadium, and a Week smaller than 10, and a Opponent of baltimore colts happened on what date?
CREATE TABLE table_name_13 (date VARCHAR, opponent VARCHAR, game_site VARCHAR, week VARCHAR)
SELECT date FROM table_name_13 WHERE game_site = "shea stadium" AND week < 10 AND opponent = "baltimore colts"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (date VARCHAR, opponent VARCHAR, game_site VARCHAR, week VARCHAR) Question: Game site of shea stadium, and a Week smaller than 10, and a Opponent of baltimore colts happened on what date? [/INST] S...
Game site of candlestick park had what opponent?
CREATE TABLE table_name_57 (opponent VARCHAR, game_site VARCHAR)
SELECT opponent FROM table_name_57 WHERE game_site = "candlestick park"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (opponent VARCHAR, game_site VARCHAR) Question: Game site of candlestick park had what opponent? [/INST] SELECT opponent FROM table_name_57 WHERE game_site = "candlestick park" </s>
Game site of miami orange bowl, and a Attendance larger than 49,754 happened on what highest week?
CREATE TABLE table_name_60 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
SELECT MAX(week) FROM table_name_60 WHERE game_site = "miami orange bowl" AND attendance > 49 OFFSET 754 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (week INTEGER, game_site VARCHAR, attendance VARCHAR) Question: Game site of miami orange bowl, and a Attendance larger than 49,754 happened on what highest week? [/INST] SELECT MAX(week) FROM tabl...
Opponent of denver broncos happened on what date?
CREATE TABLE table_name_88 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_88 WHERE opponent = "denver broncos"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (date VARCHAR, opponent VARCHAR) Question: Opponent of denver broncos happened on what date? [/INST] SELECT date FROM table_name_88 WHERE opponent = "denver broncos" </s>
Name the score when february is more than 24 and has a record of 9-8-2
CREATE TABLE table_name_60 (score VARCHAR, february VARCHAR, record VARCHAR)
SELECT score FROM table_name_60 WHERE february > 24 AND record = "9-8-2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (score VARCHAR, february VARCHAR, record VARCHAR) Question: Name the score when february is more than 24 and has a record of 9-8-2 [/INST] SELECT score FROM table_name_60 WHERE february > 24 AND re...
Name the most game with opponent of hartford whalers
CREATE TABLE table_name_75 (game INTEGER, opponent VARCHAR)
SELECT MAX(game) FROM table_name_75 WHERE opponent = "hartford whalers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (game INTEGER, opponent VARCHAR) Question: Name the most game with opponent of hartford whalers [/INST] SELECT MAX(game) FROM table_name_75 WHERE opponent = "hartford whalers" </s>
What is the distance for the course Civitavecchia to San Vincenzo?
CREATE TABLE table_name_72 (distance VARCHAR, course VARCHAR)
SELECT distance FROM table_name_72 WHERE course = "civitavecchia to san vincenzo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (distance VARCHAR, course VARCHAR) Question: What is the distance for the course Civitavecchia to San Vincenzo? [/INST] SELECT distance FROM table_name_72 WHERE course = "civitavecchia to san vince...
Who won at course Forlì to Carpi?
CREATE TABLE table_name_47 (winner VARCHAR, course VARCHAR)
SELECT winner FROM table_name_47 WHERE course = "forlì to carpi"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (winner VARCHAR, course VARCHAR) Question: Who won at course Forlì to Carpi? [/INST] SELECT winner FROM table_name_47 WHERE course = "forlì to carpi" </s>
What was the distance on 24 May?
CREATE TABLE table_name_83 (distance VARCHAR, date VARCHAR)
SELECT distance FROM table_name_83 WHERE date = "24 may"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (distance VARCHAR, date VARCHAR) Question: What was the distance on 24 May? [/INST] SELECT distance FROM table_name_83 WHERE date = "24 may" </s>
what is the runner-up for the intercontinental cup
CREATE TABLE table_name_67 (intercontinental_cup_1998 VARCHAR, copa_mercosur_1998 VARCHAR)
SELECT intercontinental_cup_1998 FROM table_name_67 WHERE copa_mercosur_1998 = "runner-up"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (intercontinental_cup_1998 VARCHAR, copa_mercosur_1998 VARCHAR) Question: what is the runner-up for the intercontinental cup [/INST] SELECT intercontinental_cup_1998 FROM table_name_67 WHERE copa_m...
Which average attendance has stoneman (0-2) as the loss?
CREATE TABLE table_name_18 (attendance INTEGER, loss VARCHAR)
SELECT AVG(attendance) FROM table_name_18 WHERE loss = "stoneman (0-2)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (attendance INTEGER, loss VARCHAR) Question: Which average attendance has stoneman (0-2) as the loss? [/INST] SELECT AVG(attendance) FROM table_name_18 WHERE loss = "stoneman (0-2)" </s>
What is the average attendance that has april 12 as the date?
CREATE TABLE table_name_14 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_14 WHERE date = "april 12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (attendance INTEGER, date VARCHAR) Question: What is the average attendance that has april 12 as the date? [/INST] SELECT AVG(attendance) FROM table_name_14 WHERE date = "april 12" </s>
Clock rate (MHz) smaller than 400, and a Bandwidth (MB/s) of 1420 has what channels?
CREATE TABLE table_name_93 (channels VARCHAR, clock_rate__mhz_ VARCHAR, bandwidth__mb_s_ VARCHAR)
SELECT channels FROM table_name_93 WHERE clock_rate__mhz_ < 400 AND bandwidth__mb_s_ = 1420
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (channels VARCHAR, clock_rate__mhz_ VARCHAR, bandwidth__mb_s_ VARCHAR) Question: Clock rate (MHz) smaller than 400, and a Bandwidth (MB/s) of 1420 has what channels? [/INST] SELECT channels FROM ta...
Bandwidth (MB/s) smaller than 4800, and a Bus width (bits) smaller than 16 has what highest Clock rate (MHz)?
CREATE TABLE table_name_75 (clock_rate__mhz_ INTEGER, bandwidth__mb_s_ VARCHAR, bus_width__bits_ VARCHAR)
SELECT MAX(clock_rate__mhz_) FROM table_name_75 WHERE bandwidth__mb_s_ < 4800 AND bus_width__bits_ < 16
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (clock_rate__mhz_ INTEGER, bandwidth__mb_s_ VARCHAR, bus_width__bits_ VARCHAR) Question: Bandwidth (MB/s) smaller than 4800, and a Bus width (bits) smaller than 16 has what highest Clock rate (MHz)...
Designation of pc800 has which highest Bus width (bits)?
CREATE TABLE table_name_51 (bus_width__bits_ INTEGER, designation VARCHAR)
SELECT MAX(bus_width__bits_) FROM table_name_51 WHERE designation = "pc800"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (bus_width__bits_ INTEGER, designation VARCHAR) Question: Designation of pc800 has which highest Bus width (bits)? [/INST] SELECT MAX(bus_width__bits_) FROM table_name_51 WHERE designation = "pc800...
Which Year has a Start of 14?
CREATE TABLE table_name_66 (year INTEGER, start VARCHAR)
SELECT AVG(year) FROM table_name_66 WHERE start = "14"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (year INTEGER, start VARCHAR) Question: Which Year has a Start of 14? [/INST] SELECT AVG(year) FROM table_name_66 WHERE start = "14" </s>
Which Year has a Finish of 22, and a Team of swan?
CREATE TABLE table_name_37 (year INTEGER, finish VARCHAR, team VARCHAR)
SELECT AVG(year) FROM table_name_37 WHERE finish = "22" AND team = "swan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (year INTEGER, finish VARCHAR, team VARCHAR) Question: Which Year has a Finish of 22, and a Team of swan? [/INST] SELECT AVG(year) FROM table_name_37 WHERE finish = "22" AND team = "swan" </s>
Which Finish has a Start of 15, and a Team of bahari?
CREATE TABLE table_name_49 (finish VARCHAR, start VARCHAR, team VARCHAR)
SELECT finish FROM table_name_49 WHERE start = "15" AND team = "bahari"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (finish VARCHAR, start VARCHAR, team VARCHAR) Question: Which Finish has a Start of 15, and a Team of bahari? [/INST] SELECT finish FROM table_name_49 WHERE start = "15" AND team = "bahari" </s>
Which Team has a Year of 2000?
CREATE TABLE table_name_45 (team VARCHAR, year VARCHAR)
SELECT team FROM table_name_45 WHERE year = 2000
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (team VARCHAR, year VARCHAR) Question: Which Team has a Year of 2000? [/INST] SELECT team FROM table_name_45 WHERE year = 2000 </s>
What is the info for the year 2010, for the Australian Open tournament?
CREATE TABLE table_name_33 (tournament VARCHAR)
SELECT 2010 FROM table_name_33 WHERE tournament = "australian open"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (tournament VARCHAR) Question: What is the info for the year 2010, for the Australian Open tournament? [/INST] SELECT 2010 FROM table_name_33 WHERE tournament = "australian open" </s>
Which Android has anOther Unix of unknown?
CREATE TABLE table_name_42 (android VARCHAR, other_unix VARCHAR)
SELECT android FROM table_name_42 WHERE other_unix = "unknown"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (android VARCHAR, other_unix VARCHAR) Question: Which Android has anOther Unix of unknown? [/INST] SELECT android FROM table_name_42 WHERE other_unix = "unknown" </s>
Which Mac OS X has an AmigaOS of partial?
CREATE TABLE table_name_66 (mac_os_x VARCHAR, amigaos VARCHAR)
SELECT mac_os_x FROM table_name_66 WHERE amigaos = "partial"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (mac_os_x VARCHAR, amigaos VARCHAR) Question: Which Mac OS X has an AmigaOS of partial? [/INST] SELECT mac_os_x FROM table_name_66 WHERE amigaos = "partial" </s>
Which Mac OS X has a Linux of no, and an AmigaOS of no, and an Android of unknown?
CREATE TABLE table_name_88 (mac_os_x VARCHAR, android VARCHAR, linux VARCHAR, amigaos VARCHAR)
SELECT mac_os_x FROM table_name_88 WHERE linux = "no" AND amigaos = "no" AND android = "unknown"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (mac_os_x VARCHAR, android VARCHAR, linux VARCHAR, amigaos VARCHAR) Question: Which Mac OS X has a Linux of no, and an AmigaOS of no, and an Android of unknown? [/INST] SELECT mac_os_x FROM table_n...
What was the score for the game against the Golden State Warriors?
CREATE TABLE table_name_54 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_54 WHERE opponent = "golden state warriors"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (score VARCHAR, opponent VARCHAR) Question: What was the score for the game against the Golden State Warriors? [/INST] SELECT score FROM table_name_54 WHERE opponent = "golden state warriors" </s>
What was the score of game 43?
CREATE TABLE table_name_57 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_57 WHERE game = 43
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (score VARCHAR, game VARCHAR) Question: What was the score of game 43? [/INST] SELECT score FROM table_name_57 WHERE game = 43 </s>
Who was the opposing team for the February 1 game?
CREATE TABLE table_name_70 (team VARCHAR, date VARCHAR)
SELECT team FROM table_name_70 WHERE date = "february 1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (team VARCHAR, date VARCHAR) Question: Who was the opposing team for the February 1 game? [/INST] SELECT team FROM table_name_70 WHERE date = "february 1" </s>
What's the total of Year that's got a Team of Porsche Kremer Racing?
CREATE TABLE table_name_37 (year INTEGER, team VARCHAR)
SELECT SUM(year) FROM table_name_37 WHERE team = "porsche kremer racing"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (year INTEGER, team VARCHAR) Question: What's the total of Year that's got a Team of Porsche Kremer Racing? [/INST] SELECT SUM(year) FROM table_name_37 WHERE team = "porsche kremer racing" </s>
Which Class has a Chassis of Mazda 787B?
CREATE TABLE table_name_16 (class VARCHAR, chassis VARCHAR)
SELECT class FROM table_name_16 WHERE chassis = "mazda 787b"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (class VARCHAR, chassis VARCHAR) Question: Which Class has a Chassis of Mazda 787B? [/INST] SELECT class FROM table_name_16 WHERE chassis = "mazda 787b" </s>
What Year has a Tyre of D, and Chassis of Mazda 787?
CREATE TABLE table_name_55 (year VARCHAR, tyre VARCHAR, chassis VARCHAR)
SELECT year FROM table_name_55 WHERE tyre = "d" AND chassis = "mazda 787"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (year VARCHAR, tyre VARCHAR, chassis VARCHAR) Question: What Year has a Tyre of D, and Chassis of Mazda 787? [/INST] SELECT year FROM table_name_55 WHERE tyre = "d" AND chassis = "mazda 787" </s>
What is the total number of Laps that's got a Year less than 1987?
CREATE TABLE table_name_16 (laps INTEGER, year INTEGER)
SELECT SUM(laps) FROM table_name_16 WHERE year < 1987
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (laps INTEGER, year INTEGER) Question: What is the total number of Laps that's got a Year less than 1987? [/INST] SELECT SUM(laps) FROM table_name_16 WHERE year < 1987 </s>
In what week was the Result L 35-10?
CREATE TABLE table_name_76 (week INTEGER, result VARCHAR)
SELECT MIN(week) FROM table_name_76 WHERE result = "l 35-10"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (week INTEGER, result VARCHAR) Question: In what week was the Result L 35-10? [/INST] SELECT MIN(week) FROM table_name_76 WHERE result = "l 35-10" </s>
What is listed for Played that has Points against of 263?
CREATE TABLE table_name_33 (played VARCHAR, points_against VARCHAR)
SELECT played FROM table_name_33 WHERE points_against = "263"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (played VARCHAR, points_against VARCHAR) Question: What is listed for Played that has Points against of 263? [/INST] SELECT played FROM table_name_33 WHERE points_against = "263" </s>
What is listed under Played that has a Club of Morriston RFC?
CREATE TABLE table_name_35 (played VARCHAR, club VARCHAR)
SELECT played FROM table_name_35 WHERE club = "morriston rfc"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (played VARCHAR, club VARCHAR) Question: What is listed under Played that has a Club of Morriston RFC? [/INST] SELECT played FROM table_name_35 WHERE club = "morriston rfc" </s>
What is listed for the Tries against that has a Played of 22, along with a Club of Ystalyfera RFC?
CREATE TABLE table_name_95 (tries_against VARCHAR, played VARCHAR, club VARCHAR)
SELECT tries_against FROM table_name_95 WHERE played = "22" AND club = "ystalyfera rfc"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (tries_against VARCHAR, played VARCHAR, club VARCHAR) Question: What is listed for the Tries against that has a Played of 22, along with a Club of Ystalyfera RFC? [/INST] SELECT tries_against FROM ...
What is listed for Points for that has a Club of Club?
CREATE TABLE table_name_14 (points_for VARCHAR)
SELECT points_for FROM table_name_14 WHERE "club" = "club"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (points_for VARCHAR) Question: What is listed for Points for that has a Club of Club? [/INST] SELECT points_for FROM table_name_14 WHERE "club" = "club" </s>
Which Losing Bonus has a Try Bonus of 8?
CREATE TABLE table_name_29 (losing_bonus VARCHAR, try_bonus VARCHAR)
SELECT losing_bonus FROM table_name_29 WHERE try_bonus = "8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (losing_bonus VARCHAR, try_bonus VARCHAR) Question: Which Losing Bonus has a Try Bonus of 8? [/INST] SELECT losing_bonus FROM table_name_29 WHERE try_bonus = "8" </s>
What is listed for the Drawn that has a Tray bonus of 5 wiht Points for of 517?
CREATE TABLE table_name_23 (drawn VARCHAR, try_bonus VARCHAR, points_for VARCHAR)
SELECT drawn FROM table_name_23 WHERE try_bonus = "5" AND points_for = "517"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (drawn VARCHAR, try_bonus VARCHAR, points_for VARCHAR) Question: What is listed for the Drawn that has a Tray bonus of 5 wiht Points for of 517? [/INST] SELECT drawn FROM table_name_23 WHERE try_bo...
Name the average top-10 for cuts made of 10 and top-25 more than 6
CREATE TABLE table_name_57 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR)
SELECT AVG(top_10) FROM table_name_57 WHERE cuts_made = 10 AND top_25 > 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR) Question: Name the average top-10 for cuts made of 10 and top-25 more than 6 [/INST] SELECT AVG(top_10) FROM table_name_57 WHERE cuts_made = 10 A...
Name the most top-5 for wins less than 0 and events less than 16
CREATE TABLE table_name_88 (top_5 INTEGER, events VARCHAR, wins VARCHAR)
SELECT MAX(top_5) FROM table_name_88 WHERE events < 16 AND wins < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (top_5 INTEGER, events VARCHAR, wins VARCHAR) Question: Name the most top-5 for wins less than 0 and events less than 16 [/INST] SELECT MAX(top_5) FROM table_name_88 WHERE events < 16 AND wins < 0 ...
Name the least top-10 for cuts made less than 11 and wins more than 0
CREATE TABLE table_name_10 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR)
SELECT MIN(top_10) FROM table_name_10 WHERE cuts_made < 11 AND wins > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR) Question: Name the least top-10 for cuts made less than 11 and wins more than 0 [/INST] SELECT MIN(top_10) FROM table_name_10 WHERE cuts_made < 11 ...
Name the least cuts for top-5 more than 2 with top 25 less than 6 and top 10 less than 11
CREATE TABLE table_name_90 (cuts_made INTEGER, top_25 VARCHAR, top_10 VARCHAR, top_5 VARCHAR)
SELECT MIN(cuts_made) FROM table_name_90 WHERE top_10 < 11 AND top_5 > 2 AND top_25 < 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (cuts_made INTEGER, top_25 VARCHAR, top_10 VARCHAR, top_5 VARCHAR) Question: Name the least cuts for top-5 more than 2 with top 25 less than 6 and top 10 less than 11 [/INST] SELECT MIN(cuts_made) ...
Has Episode 1b-16 (42) been preserved?
CREATE TABLE table_name_16 (preservation VARCHAR, episode VARCHAR)
SELECT preservation FROM table_name_16 WHERE episode = "1b-16 (42)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (preservation VARCHAR, episode VARCHAR) Question: Has Episode 1b-16 (42) been preserved? [/INST] SELECT preservation FROM table_name_16 WHERE episode = "1b-16 (42)" </s>
What is the sum of all domestic passengers with 10.9% change and less than 4,022 tonnes in freight?
CREATE TABLE table_name_38 (domestic_passengers INTEGER, _percentage_change_2005_2006 VARCHAR, freight__metric_tonnes_ VARCHAR)
SELECT SUM(domestic_passengers) FROM table_name_38 WHERE _percentage_change_2005_2006 = "10.9%" AND freight__metric_tonnes_ < 4 OFFSET 022 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (domestic_passengers INTEGER, _percentage_change_2005_2006 VARCHAR, freight__metric_tonnes_ VARCHAR) Question: What is the sum of all domestic passengers with 10.9% change and less than 4,022 tonne...
Which in 2004 has a 2003 of 1r and Wimbledon Tournament
CREATE TABLE table_name_34 (tournament VARCHAR)
SELECT 2004 FROM table_name_34 WHERE 2003 = "1r" AND tournament = "wimbledon"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (tournament VARCHAR) Question: Which in 2004 has a 2003 of 1r and Wimbledon Tournament [/INST] SELECT 2004 FROM table_name_34 WHERE 2003 = "1r" AND tournament = "wimbledon" </s>
What is in 2007 has 2004 olympic games?
CREATE TABLE table_name_16 (Id VARCHAR)
SELECT 2007 FROM table_name_16 WHERE 2004 = "olympic games"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (Id VARCHAR) Question: What is in 2007 has 2004 olympic games? [/INST] SELECT 2007 FROM table_name_16 WHERE 2004 = "olympic games" </s>
What is in 2002 has a 2001 score 1–0, and a 2000 of 3–0?
CREATE TABLE table_name_85 (Id VARCHAR)
SELECT 2002 FROM table_name_85 WHERE 2001 = "1–0" AND 2000 = "3–0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (Id VARCHAR) Question: What is in 2002 has a 2001 score 1–0, and a 2000 of 3–0? [/INST] SELECT 2002 FROM table_name_85 WHERE 2001 = "1–0" AND 2000 = "3–0" </s>
What is in 2003 that has a Career Win-Loss of 6–7
CREATE TABLE table_name_84 (career_win_loss VARCHAR)
SELECT 2003 FROM table_name_84 WHERE career_win_loss = "6–7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (career_win_loss VARCHAR) Question: What is in 2003 that has a Career Win-Loss of 6–7 [/INST] SELECT 2003 FROM table_name_84 WHERE career_win_loss = "6–7" </s>
What is the score of the game that had a decision of Parent, home team of Philadelphia, and visitor of Pittsburgh?
CREATE TABLE table_name_11 (score VARCHAR, visitor VARCHAR, decision VARCHAR, home VARCHAR)
SELECT score FROM table_name_11 WHERE decision = "parent" AND home = "philadelphia" AND visitor = "pittsburgh"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (score VARCHAR, visitor VARCHAR, decision VARCHAR, home VARCHAR) Question: What is the score of the game that had a decision of Parent, home team of Philadelphia, and visitor of Pittsburgh? [/INST]...
Which Top-5 is the lowest one that has Wins smaller than 0?
CREATE TABLE table_name_27 (top_5 INTEGER, wins INTEGER)
SELECT MIN(top_5) FROM table_name_27 WHERE wins < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (top_5 INTEGER, wins INTEGER) Question: Which Top-5 is the lowest one that has Wins smaller than 0? [/INST] SELECT MIN(top_5) FROM table_name_27 WHERE wins < 0 </s>
Which Cuts made is the highest one that has a Top-5 of 1, and a Top-25 larger than 16?
CREATE TABLE table_name_89 (cuts_made INTEGER, top_5 VARCHAR, top_25 VARCHAR)
SELECT MAX(cuts_made) FROM table_name_89 WHERE top_5 = 1 AND top_25 > 16
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (cuts_made INTEGER, top_5 VARCHAR, top_25 VARCHAR) Question: Which Cuts made is the highest one that has a Top-5 of 1, and a Top-25 larger than 16? [/INST] SELECT MAX(cuts_made) FROM table_name_89 ...
Which Events is the highest one that has a Top-5 larger than 5, and a Top-10 larger than 28?
CREATE TABLE table_name_93 (events INTEGER, top_5 VARCHAR, top_10 VARCHAR)
SELECT MAX(events) FROM table_name_93 WHERE top_5 > 5 AND top_10 > 28
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (events INTEGER, top_5 VARCHAR, top_10 VARCHAR) Question: Which Events is the highest one that has a Top-5 larger than 5, and a Top-10 larger than 28? [/INST] SELECT MAX(events) FROM table_name_93 ...
When was the earliest that New England Patriots played?
CREATE TABLE table_name_80 (week INTEGER, opponent VARCHAR)
SELECT MIN(week) FROM table_name_80 WHERE opponent = "new england patriots"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (week INTEGER, opponent VARCHAR) Question: When was the earliest that New England Patriots played? [/INST] SELECT MIN(week) FROM table_name_80 WHERE opponent = "new england patriots" </s>
What is the average week with St. Louis Cardinals with less than 80,010 attendance?
CREATE TABLE table_name_99 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT AVG(week) FROM table_name_99 WHERE opponent = "st. louis cardinals" AND attendance < 80 OFFSET 010 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (week INTEGER, opponent VARCHAR, attendance VARCHAR) Question: What is the average week with St. Louis Cardinals with less than 80,010 attendance? [/INST] SELECT AVG(week) FROM table_name_99 WHERE ...
Which Runs is the highest one that has a Match larger than 63, and a Venue of national stadium, karachi, and a Year smaller than 1996?
CREATE TABLE table_name_75 (runs INTEGER, year VARCHAR, match VARCHAR, venue VARCHAR)
SELECT MAX(runs) FROM table_name_75 WHERE match > 63 AND venue = "national stadium, karachi" AND year < 1996
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (runs INTEGER, year VARCHAR, match VARCHAR, venue VARCHAR) Question: Which Runs is the highest one that has a Match larger than 63, and a Venue of national stadium, karachi, and a Year smaller than...
Which Year has a Match of 63?
CREATE TABLE table_name_82 (year VARCHAR, match VARCHAR)
SELECT year FROM table_name_82 WHERE match = 63
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (year VARCHAR, match VARCHAR) Question: Which Year has a Match of 63? [/INST] SELECT year FROM table_name_82 WHERE match = 63 </s>
Which Match has Runs of 100, and a Year larger than 1994?
CREATE TABLE table_name_14 (match INTEGER, runs VARCHAR, year VARCHAR)
SELECT SUM(match) FROM table_name_14 WHERE runs = 100 AND year > 1994
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (match INTEGER, runs VARCHAR, year VARCHAR) Question: Which Match has Runs of 100, and a Year larger than 1994? [/INST] SELECT SUM(match) FROM table_name_14 WHERE runs = 100 AND year > 1994 </s>
How many matches have a City/Country of karachi, pakistan, and a Year larger than 1996?
CREATE TABLE table_name_63 (match VARCHAR, city_country VARCHAR, year VARCHAR)
SELECT COUNT(match) FROM table_name_63 WHERE city_country = "karachi, pakistan" AND year > 1996
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (match VARCHAR, city_country VARCHAR, year VARCHAR) Question: How many matches have a City/Country of karachi, pakistan, and a Year larger than 1996? [/INST] SELECT COUNT(match) FROM table_name_63 ...
What is the highest number of Silvers for rank 7 teams with 1 gold and under 1 bronze?
CREATE TABLE table_name_37 (silver INTEGER, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT MAX(silver) FROM table_name_37 WHERE bronze < 1 AND gold = 1 AND rank = "7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (silver INTEGER, rank VARCHAR, bronze VARCHAR, gold VARCHAR) Question: What is the highest number of Silvers for rank 7 teams with 1 gold and under 1 bronze? [/INST] SELECT MAX(silver) FROM table_n...
What is the fewest number of silvers for teams with more than 21 gold and more than 4 bronze?
CREATE TABLE table_name_56 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT MIN(silver) FROM table_name_56 WHERE bronze > 4 AND gold > 21
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (silver INTEGER, bronze VARCHAR, gold VARCHAR) Question: What is the fewest number of silvers for teams with more than 21 gold and more than 4 bronze? [/INST] SELECT MIN(silver) FROM table_name_56 ...
What is the average number of silvers for teams ranked 5 with 0 bronze?
CREATE TABLE table_name_31 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT AVG(silver) FROM table_name_31 WHERE rank = "5" AND bronze < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (silver INTEGER, rank VARCHAR, bronze VARCHAR) Question: What is the average number of silvers for teams ranked 5 with 0 bronze? [/INST] SELECT AVG(silver) FROM table_name_31 WHERE rank = "5" AND b...
Where was the game with a result of won 5-0?
CREATE TABLE table_name_6 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_6 WHERE result = "won 5-0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (venue VARCHAR, result VARCHAR) Question: Where was the game with a result of won 5-0? [/INST] SELECT venue FROM table_name_6 WHERE result = "won 5-0" </s>
What was the date of the game with a result of won 4-2?
CREATE TABLE table_name_15 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_15 WHERE result = "won 4-2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (date VARCHAR, result VARCHAR) Question: What was the date of the game with a result of won 4-2? [/INST] SELECT date FROM table_name_15 WHERE result = "won 4-2" </s>
What was the date of the game against Hayes & Yeading United?
CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_60 WHERE opponent = "hayes & yeading united"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR) Question: What was the date of the game against Hayes & Yeading United? [/INST] SELECT date FROM table_name_60 WHERE opponent = "hayes & yeading united" </s>
Where was the game with a result of won 5-0?
CREATE TABLE table_name_25 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_25 WHERE result = "won 5-0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (venue VARCHAR, result VARCHAR) Question: Where was the game with a result of won 5-0? [/INST] SELECT venue FROM table_name_25 WHERE result = "won 5-0" </s>
If the RR Rate is less than 0.75 with a result of RR:08,09, what is the average appeared?
CREATE TABLE table_name_56 (appeared INTEGER, rr_w_rate VARCHAR, result VARCHAR)
SELECT AVG(appeared) FROM table_name_56 WHERE rr_w_rate < 0.75 AND result = "rr:08,09"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (appeared INTEGER, rr_w_rate VARCHAR, result VARCHAR) Question: If the RR Rate is less than 0.75 with a result of RR:08,09, what is the average appeared? [/INST] SELECT AVG(appeared) FROM table_nam...
What's the total appeared that has an RR Rate less than 0.17?
CREATE TABLE table_name_95 (appeared INTEGER, rr_w_rate INTEGER)
SELECT SUM(appeared) FROM table_name_95 WHERE rr_w_rate < 0.17
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (appeared INTEGER, rr_w_rate INTEGER) Question: What's the total appeared that has an RR Rate less than 0.17? [/INST] SELECT SUM(appeared) FROM table_name_95 WHERE rr_w_rate < 0.17 </s>
For Angelique Kerber who had an RR Rate of less than 0.33, what's the appeared?
CREATE TABLE table_name_87 (appeared INTEGER, rr_w_rate VARCHAR, player VARCHAR)
SELECT SUM(appeared) FROM table_name_87 WHERE rr_w_rate < 0.33 AND player = "angelique kerber"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (appeared INTEGER, rr_w_rate VARCHAR, player VARCHAR) Question: For Angelique Kerber who had an RR Rate of less than 0.33, what's the appeared? [/INST] SELECT SUM(appeared) FROM table_name_87 WHERE...
What is the area (km²) of Nairnshire county, which has a population less than 11,050?
CREATE TABLE table_name_34 (area__km²_ INTEGER, county VARCHAR, population VARCHAR)
SELECT SUM(area__km²_) FROM table_name_34 WHERE county = "nairnshire" AND population < 11 OFFSET 050 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (area__km²_ INTEGER, county VARCHAR, population VARCHAR) Question: What is the area (km²) of Nairnshire county, which has a population less than 11,050? [/INST] SELECT SUM(area__km²_) FROM table_na...
What was the Attendance of August 26?
CREATE TABLE table_name_14 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_14 WHERE date = "august 26"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (attendance VARCHAR, date VARCHAR) Question: What was the Attendance of August 26? [/INST] SELECT attendance FROM table_name_14 WHERE date = "august 26" </s>
What is the highest number of severe tropical cyclones when there are 10 tropical cyclones and 14 tropical lows?
CREATE TABLE table_name_78 (Severe INTEGER, tropical_cyclones VARCHAR, tropical_lows VARCHAR)
SELECT MAX(Severe) AS tropical_cyclones FROM table_name_78 WHERE tropical_cyclones = 10 AND tropical_lows = 14
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (Severe INTEGER, tropical_cyclones VARCHAR, tropical_lows VARCHAR) Question: What is the highest number of severe tropical cyclones when there are 10 tropical cyclones and 14 tropical lows? [/INST]...
Which track in Austria has Bobsleigh-skeleton curves with a grade of 14%?
CREATE TABLE table_name_82 (track VARCHAR, bobsleigh_skeleton_curves VARCHAR, country VARCHAR)
SELECT track FROM table_name_82 WHERE bobsleigh_skeleton_curves = "14" AND country = "austria"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (track VARCHAR, bobsleigh_skeleton_curves VARCHAR, country VARCHAR) Question: Which track in Austria has Bobsleigh-skeleton curves with a grade of 14%? [/INST] SELECT track FROM table_name_82 WHERE...
What is the shortest length of a track in Norway that has a maximum grade of 15% and a vertical drop less than 122.22 m?
CREATE TABLE table_name_72 (length__m_ INTEGER, country VARCHAR, maximum_grade___percentage_ VARCHAR, vertical_drop__m_ VARCHAR)
SELECT MIN(length__m_) FROM table_name_72 WHERE maximum_grade___percentage_ = "15" AND vertical_drop__m_ < 122.22 AND country = "norway"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (length__m_ INTEGER, country VARCHAR, maximum_grade___percentage_ VARCHAR, vertical_drop__m_ VARCHAR) Question: What is the shortest length of a track in Norway that has a maximum grade of 15% and ...
What is the highest vertical drop among the 1,200 meter long tracks?
CREATE TABLE table_name_9 (vertical_drop__m_ INTEGER, length__m_ VARCHAR)
SELECT MAX(vertical_drop__m_) FROM table_name_9 WHERE length__m_ = 1 OFFSET 200 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (vertical_drop__m_ INTEGER, length__m_ VARCHAR) Question: What is the highest vertical drop among the 1,200 meter long tracks? [/INST] SELECT MAX(vertical_drop__m_) FROM table_name_9 WHERE length__m...
How many Attendance has a Opponent of west bromwich albion, and a Result of 3 – 3, and a Match larger than 20?
CREATE TABLE table_name_79 (attendance INTEGER, match VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT SUM(attendance) FROM table_name_79 WHERE opponent = "west bromwich albion" AND result = "3 – 3" AND match > 20
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (attendance INTEGER, match VARCHAR, opponent VARCHAR, result VARCHAR) Question: How many Attendance has a Opponent of west bromwich albion, and a Result of 3 – 3, and a Match larger than 20? [/INST...
WHich Match has a Venue of h on 22 september 1888 with Attendances smaller than 4,000?
CREATE TABLE table_name_99 (match INTEGER, attendance VARCHAR, venue VARCHAR, date VARCHAR)
SELECT MAX(match) FROM table_name_99 WHERE venue = "h" AND date = "22 september 1888" AND attendance < 4 OFFSET 000 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (match INTEGER, attendance VARCHAR, venue VARCHAR, date VARCHAR) Question: WHich Match has a Venue of h on 22 september 1888 with Attendances smaller than 4,000? [/INST] SELECT MAX(match) FROM tabl...
What is the venue of the match on 5 April 2000?
CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_45 WHERE date = "5 april 2000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR) Question: What is the venue of the match on 5 April 2000? [/INST] SELECT venue FROM table_name_45 WHERE date = "5 april 2000" </s>
What is the round number of the match with Michael Buell as the opponent?
CREATE TABLE table_name_66 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_66 WHERE opponent = "michael buell"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (round VARCHAR, opponent VARCHAR) Question: What is the round number of the match with Michael Buell as the opponent? [/INST] SELECT round FROM table_name_66 WHERE opponent = "michael buell" </s>
What is the time of the match with a win result, more than 2 rounds, and Makoto Ishikawa as the opponent?
CREATE TABLE table_name_74 (time VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR)
SELECT time FROM table_name_74 WHERE res = "win" AND round > 2 AND opponent = "makoto ishikawa"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (time VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR) Question: What is the time of the match with a win result, more than 2 rounds, and Makoto Ishikawa as the opponent? [/INST] SELECT time ...
what team scored 65-87
CREATE TABLE table_name_83 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_83 WHERE record = "65-87"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (date VARCHAR, record VARCHAR) Question: what team scored 65-87 [/INST] SELECT date FROM table_name_83 WHERE record = "65-87" </s>
what was the score on september 14
CREATE TABLE table_name_43 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_43 WHERE date = "september 14"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (score VARCHAR, date VARCHAR) Question: what was the score on september 14 [/INST] SELECT score FROM table_name_43 WHERE date = "september 14" </s>
What form factor has capacities at 60/120/180/240?
CREATE TABLE table_name_65 (form_factor VARCHAR, capacities__gb_ VARCHAR)
SELECT form_factor FROM table_name_65 WHERE capacities__gb_ = "60/120/180/240"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (form_factor VARCHAR, capacities__gb_ VARCHAR) Question: What form factor has capacities at 60/120/180/240? [/INST] SELECT form_factor FROM table_name_65 WHERE capacities__gb_ = "60/120/180/240" </...
Which value for Form factor has Sandforce with Capacity 80/120/180/240/360/480 introduced in July 2013?
CREATE TABLE table_name_84 (form_factor VARCHAR, introduced VARCHAR, controller VARCHAR, capacities__gb_ VARCHAR)
SELECT form_factor FROM table_name_84 WHERE controller = "sandforce" AND capacities__gb_ = "80/120/180/240/360/480" AND introduced = "july 2013"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (form_factor VARCHAR, introduced VARCHAR, controller VARCHAR, capacities__gb_ VARCHAR) Question: Which value for Form factor has Sandforce with Capacity 80/120/180/240/360/480 introduced in July 20...
Which controller has an interface of pcie 2.0 × 8?
CREATE TABLE table_name_37 (controller VARCHAR, interface VARCHAR)
SELECT controller FROM table_name_37 WHERE interface = "pcie 2.0 × 8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (controller VARCHAR, interface VARCHAR) Question: Which controller has an interface of pcie 2.0 × 8? [/INST] SELECT controller FROM table_name_37 WHERE interface = "pcie 2.0 × 8" </s>
Which controller is NAND type 25nm mlc-het with sequential read/write MB/s of 270/210?
CREATE TABLE table_name_67 (controller VARCHAR, nand_type VARCHAR, seq_read_write_mb_s VARCHAR)
SELECT controller FROM table_name_67 WHERE nand_type = "25nm mlc-het" AND seq_read_write_mb_s = "270/210"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (controller VARCHAR, nand_type VARCHAR, seq_read_write_mb_s VARCHAR) Question: Which controller is NAND type 25nm mlc-het with sequential read/write MB/s of 270/210? [/INST] SELECT controller FROM ...
Which interface uses Sandforce with a code name of Sierra Star?
CREATE TABLE table_name_27 (interface VARCHAR, controller VARCHAR, codename VARCHAR)
SELECT interface FROM table_name_27 WHERE controller = "sandforce" AND codename = "sierra star"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (interface VARCHAR, controller VARCHAR, codename VARCHAR) Question: Which interface uses Sandforce with a code name of Sierra Star? [/INST] SELECT interface FROM table_name_27 WHERE controller = "s...
What is the Highest finish with a Most recent finish that was 2nd?
CREATE TABLE table_name_48 (highest_finish VARCHAR, most_recent_finish VARCHAR)
SELECT highest_finish FROM table_name_48 WHERE most_recent_finish = "2nd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (highest_finish VARCHAR, most_recent_finish VARCHAR) Question: What is the Highest finish with a Most recent finish that was 2nd? [/INST] SELECT highest_finish FROM table_name_48 WHERE most_recent_...
What is the result of the game at the Shea Stadium at 12:30pm (ET)?
CREATE TABLE table_name_94 (result VARCHAR, time___et__ VARCHAR, location VARCHAR)
SELECT result FROM table_name_94 WHERE time___et__ = "12:30pm" AND location = "shea stadium"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (result VARCHAR, time___et__ VARCHAR, location VARCHAR) Question: What is the result of the game at the Shea Stadium at 12:30pm (ET)? [/INST] SELECT result FROM table_name_94 WHERE time___et__ = "1...
Which Played is the lowest one that has a Blackpool smaller than 0?
CREATE TABLE table_name_57 (played INTEGER, blackpool INTEGER)
SELECT MIN(played) FROM table_name_57 WHERE blackpool < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (played INTEGER, blackpool INTEGER) Question: Which Played is the lowest one that has a Blackpool smaller than 0? [/INST] SELECT MIN(played) FROM table_name_57 WHERE blackpool < 0 </s>
Which Blackpool is the highest one that has a Draw larger than 18?
CREATE TABLE table_name_82 (blackpool INTEGER, draw INTEGER)
SELECT MAX(blackpool) FROM table_name_82 WHERE draw > 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (blackpool INTEGER, draw INTEGER) Question: Which Blackpool is the highest one that has a Draw larger than 18? [/INST] SELECT MAX(blackpool) FROM table_name_82 WHERE draw > 18 </s>
How much Preston North End has a Blackpool smaller than 0?
CREATE TABLE table_name_90 (preston_north_end VARCHAR, blackpool INTEGER)
SELECT COUNT(preston_north_end) FROM table_name_90 WHERE blackpool < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (preston_north_end VARCHAR, blackpool INTEGER) Question: How much Preston North End has a Blackpool smaller than 0? [/INST] SELECT COUNT(preston_north_end) FROM table_name_90 WHERE blackpool < 0 </...
Which Blackpool has a Preston North End smaller than 46, and a Competition of other, and a Draw larger than 1?
CREATE TABLE table_name_94 (blackpool INTEGER, draw VARCHAR, preston_north_end VARCHAR, competition VARCHAR)
SELECT SUM(blackpool) FROM table_name_94 WHERE preston_north_end < 46 AND competition = "other" AND draw > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (blackpool INTEGER, draw VARCHAR, preston_north_end VARCHAR, competition VARCHAR) Question: Which Blackpool has a Preston North End smaller than 46, and a Competition of other, and a Draw larger th...
What is the finish for the chip ganassi racing team that was later than 2010 and a Start of 17?
CREATE TABLE table_name_82 (finish VARCHAR, start VARCHAR, team VARCHAR, year VARCHAR)
SELECT finish FROM table_name_82 WHERE team = "chip ganassi racing" AND year > 2010 AND start = "17"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (finish VARCHAR, start VARCHAR, team VARCHAR, year VARCHAR) Question: What is the finish for the chip ganassi racing team that was later than 2010 and a Start of 17? [/INST] SELECT finish FROM tabl...
What is shown for Chassis for the year of 2007?
CREATE TABLE table_name_70 (chassis VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_70 WHERE year = 2007
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (chassis VARCHAR, year VARCHAR) Question: What is shown for Chassis for the year of 2007? [/INST] SELECT chassis FROM table_name_70 WHERE year = 2007 </s>
What is the name of the team with a finish of 19?
CREATE TABLE table_name_48 (team VARCHAR, finish VARCHAR)
SELECT team FROM table_name_48 WHERE finish = "19"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (team VARCHAR, finish VARCHAR) Question: What is the name of the team with a finish of 19? [/INST] SELECT team FROM table_name_48 WHERE finish = "19" </s>
What is the Finish when the start shows 3 in the year of 2010?
CREATE TABLE table_name_74 (finish VARCHAR, start VARCHAR, year VARCHAR)
SELECT finish FROM table_name_74 WHERE start = "3" AND year = 2010
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (finish VARCHAR, start VARCHAR, year VARCHAR) Question: What is the Finish when the start shows 3 in the year of 2010? [/INST] SELECT finish FROM table_name_74 WHERE start = "3" AND year = 2010 </s...
What is the Engine with 3 as the start in the year of 2007?
CREATE TABLE table_name_8 (engine VARCHAR, start VARCHAR, year VARCHAR)
SELECT engine FROM table_name_8 WHERE start = "3" AND year = 2007
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (engine VARCHAR, start VARCHAR, year VARCHAR) Question: What is the Engine with 3 as the start in the year of 2007? [/INST] SELECT engine FROM table_name_8 WHERE start = "3" AND year = 2007 </s>