instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
How many tries had a losing bonus of 5, and were part of the Maesteg Celtic RFC club?
CREATE TABLE table_name_73 (tries_for VARCHAR, losing_bonus VARCHAR, club VARCHAR)
SELECT tries_for FROM table_name_73 WHERE losing_bonus = "5" AND club = "maesteg celtic rfc"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (tries_for VARCHAR, losing_bonus VARCHAR, club VARCHAR) Question: How many tries had a losing bonus of 5, and were part of the Maesteg Celtic RFC club? [/INST] SELECT tries_for FROM table_name_73 W...
What was lost against 383 points?
CREATE TABLE table_name_59 (lost VARCHAR, points_against VARCHAR)
SELECT lost FROM table_name_59 WHERE points_against = "383"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (lost VARCHAR, points_against VARCHAR) Question: What was lost against 383 points? [/INST] SELECT lost FROM table_name_59 WHERE points_against = "383" </s>
What's the rank for Daewoo Business Center when the notes are cancelled?
CREATE TABLE table_name_39 (rank VARCHAR, notes VARCHAR, name VARCHAR)
SELECT rank FROM table_name_39 WHERE notes = "cancelled" AND name = "daewoo business center"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (rank VARCHAR, notes VARCHAR, name VARCHAR) Question: What's the rank for Daewoo Business Center when the notes are cancelled? [/INST] SELECT rank FROM table_name_39 WHERE notes = "cancelled" AND n...
How many floors have a Height m / feet of 900 / 2,952?
CREATE TABLE table_name_58 (floors VARCHAR, height_m___feet VARCHAR)
SELECT floors FROM table_name_58 WHERE height_m___feet = "900 / 2,952"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (floors VARCHAR, height_m___feet VARCHAR) Question: How many floors have a Height m / feet of 900 / 2,952? [/INST] SELECT floors FROM table_name_58 WHERE height_m___feet = "900 / 2,952" </s>
What is the height for shanghai x-1 financial building?
CREATE TABLE table_name_97 (height_m___feet VARCHAR, name VARCHAR)
SELECT height_m___feet FROM table_name_97 WHERE name = "shanghai x-1 financial building"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (height_m___feet VARCHAR, name VARCHAR) Question: What is the height for shanghai x-1 financial building? [/INST] SELECT height_m___feet FROM table_name_97 WHERE name = "shanghai x-1 financial buil...
What is the rank for the 96 floors?
CREATE TABLE table_name_75 (rank VARCHAR, floors VARCHAR)
SELECT rank FROM table_name_75 WHERE floors = "96"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (rank VARCHAR, floors VARCHAR) Question: What is the rank for the 96 floors? [/INST] SELECT rank FROM table_name_75 WHERE floors = "96" </s>
On what Date is the Circuit at Sandown Raceway?
CREATE TABLE table_name_37 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_37 WHERE circuit = "sandown raceway"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (date VARCHAR, circuit VARCHAR) Question: On what Date is the Circuit at Sandown Raceway? [/INST] SELECT date FROM table_name_37 WHERE circuit = "sandown raceway" </s>
What is the City/State of the Oran Park race?
CREATE TABLE table_name_85 (city___state VARCHAR, race_title VARCHAR)
SELECT city___state FROM table_name_85 WHERE race_title = "oran park"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (city___state VARCHAR, race_title VARCHAR) Question: What is the City/State of the Oran Park race? [/INST] SELECT city___state FROM table_name_85 WHERE race_title = "oran park" </s>
In what City/State did John Bowe win at Phillip Island Grand Prix Circuit?
CREATE TABLE table_name_12 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)
SELECT city___state FROM table_name_12 WHERE winner = "john bowe" AND circuit = "phillip island grand prix circuit"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) Question: In what City/State did John Bowe win at Phillip Island Grand Prix Circuit? [/INST] SELECT city___state FROM table_name_12 WHERE win...
Which season has a percentage of 13.56%?
CREATE TABLE table_name_45 (seasons VARCHAR, percentage VARCHAR)
SELECT seasons FROM table_name_45 WHERE percentage = "13.56%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (seasons VARCHAR, percentage VARCHAR) Question: Which season has a percentage of 13.56%? [/INST] SELECT seasons FROM table_name_45 WHERE percentage = "13.56%" </s>
How many poles has a percentage of 22.08%?
CREATE TABLE table_name_57 (poles INTEGER, percentage VARCHAR)
SELECT SUM(poles) FROM table_name_57 WHERE percentage = "22.08%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (poles INTEGER, percentage VARCHAR) Question: How many poles has a percentage of 22.08%? [/INST] SELECT SUM(poles) FROM table_name_57 WHERE percentage = "22.08%" </s>
How many poles does driver Nelson Piquet have?
CREATE TABLE table_name_83 (poles INTEGER, driver VARCHAR)
SELECT SUM(poles) FROM table_name_83 WHERE driver = "nelson piquet"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (poles INTEGER, driver VARCHAR) Question: How many poles does driver Nelson Piquet have? [/INST] SELECT SUM(poles) FROM table_name_83 WHERE driver = "nelson piquet" </s>
How much Loss has an Avg/G larger than 129.2?
CREATE TABLE table_name_87 (loss VARCHAR, avg_g INTEGER)
SELECT COUNT(loss) FROM table_name_87 WHERE avg_g > 129.2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (loss VARCHAR, avg_g INTEGER) Question: How much Loss has an Avg/G larger than 129.2? [/INST] SELECT COUNT(loss) FROM table_name_87 WHERE avg_g > 129.2 </s>
Which Loss is the lowest one that has an Avg/G of 3.5, and a Gain smaller than 42?
CREATE TABLE table_name_83 (loss INTEGER, avg_g VARCHAR, gain VARCHAR)
SELECT MIN(loss) FROM table_name_83 WHERE avg_g = 3.5 AND gain < 42
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (loss INTEGER, avg_g VARCHAR, gain VARCHAR) Question: Which Loss is the lowest one that has an Avg/G of 3.5, and a Gain smaller than 42? [/INST] SELECT MIN(loss) FROM table_name_83 WHERE avg_g = 3....
How much Avg/G has a Loss larger than 117, and a Name of opponents, and a Gain smaller than 2444?
CREATE TABLE table_name_41 (avg_g VARCHAR, gain VARCHAR, loss VARCHAR, name VARCHAR)
SELECT COUNT(avg_g) FROM table_name_41 WHERE loss > 117 AND name = "opponents" AND gain < 2444
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (avg_g VARCHAR, gain VARCHAR, loss VARCHAR, name VARCHAR) Question: How much Avg/G has a Loss larger than 117, and a Name of opponents, and a Gain smaller than 2444? [/INST] SELECT COUNT(avg_g) FRO...
How much Avg/G has a Long of 51, and a Loss of 333, and a Gain larger than 2013?
CREATE TABLE table_name_51 (avg_g VARCHAR, gain VARCHAR, long VARCHAR, loss VARCHAR)
SELECT COUNT(avg_g) FROM table_name_51 WHERE long = 51 AND loss = 333 AND gain > 2013
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (avg_g VARCHAR, gain VARCHAR, long VARCHAR, loss VARCHAR) Question: How much Avg/G has a Long of 51, and a Loss of 333, and a Gain larger than 2013? [/INST] SELECT COUNT(avg_g) FROM table_name_51 W...
How much Avg/G has a Name of robert marve, and a Gain smaller than 236?
CREATE TABLE table_name_32 (avg_g INTEGER, name VARCHAR, gain VARCHAR)
SELECT SUM(avg_g) FROM table_name_32 WHERE name = "robert marve" AND gain < 236
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (avg_g INTEGER, name VARCHAR, gain VARCHAR) Question: How much Avg/G has a Name of robert marve, and a Gain smaller than 236? [/INST] SELECT SUM(avg_g) FROM table_name_32 WHERE name = "robert marve...
What is the score where Saint-Amant lost the match?
CREATE TABLE table_name_42 (score VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT score FROM table_name_42 WHERE opponent = "saint-amant" AND result = "lost"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (score VARCHAR, opponent VARCHAR, result VARCHAR) Question: What is the score where Saint-Amant lost the match? [/INST] SELECT score FROM table_name_42 WHERE opponent = "saint-amant" AND result = "...
Where was the match located when the odds were p + 1 and the score was 1/3?
CREATE TABLE table_name_98 (location VARCHAR, odds VARCHAR, score VARCHAR)
SELECT location FROM table_name_98 WHERE odds = "p + 1" AND score = "1/3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (location VARCHAR, odds VARCHAR, score VARCHAR) Question: Where was the match located when the odds were p + 1 and the score was 1/3? [/INST] SELECT location FROM table_name_98 WHERE odds = "p + 1"...
What was the score for an n/a location with the odds of p + 1?
CREATE TABLE table_name_61 (result VARCHAR, location VARCHAR, odds VARCHAR)
SELECT result FROM table_name_61 WHERE location = "n/a" AND odds = "p + 1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (result VARCHAR, location VARCHAR, odds VARCHAR) Question: What was the score for an n/a location with the odds of p + 1? [/INST] SELECT result FROM table_name_61 WHERE location = "n/a" AND odds = ...
What was the score for a game with the odds of p + 2 after 1847?
CREATE TABLE table_name_36 (score VARCHAR, odds VARCHAR, date VARCHAR)
SELECT score FROM table_name_36 WHERE odds = "p + 2" AND date > 1847
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (score VARCHAR, odds VARCHAR, date VARCHAR) Question: What was the score for a game with the odds of p + 2 after 1847? [/INST] SELECT score FROM table_name_36 WHERE odds = "p + 2" AND date > 1847 <...
What was the date of a game that had the odds of q rook?
CREATE TABLE table_name_33 (date INTEGER, odds VARCHAR)
SELECT AVG(date) FROM table_name_33 WHERE odds = "q rook"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (date INTEGER, odds VARCHAR) Question: What was the date of a game that had the odds of q rook? [/INST] SELECT AVG(date) FROM table_name_33 WHERE odds = "q rook" </s>
What is the nationality of the player in round 7?
CREATE TABLE table_name_33 (nationality VARCHAR, round VARCHAR)
SELECT nationality FROM table_name_33 WHERE round = "7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (nationality VARCHAR, round VARCHAR) Question: What is the nationality of the player in round 7? [/INST] SELECT nationality FROM table_name_33 WHERE round = "7" </s>
Which player is from the United States, and played for the Bowling Green Falcons (CCHA) as their College/Junior/Club Team (League)?
CREATE TABLE table_name_38 (player VARCHAR, nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT player FROM table_name_38 WHERE nationality = "united states" AND college_junior_club_team__league_ = "bowling green falcons (ccha)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (player VARCHAR, nationality VARCHAR, college_junior_club_team__league_ VARCHAR) Question: Which player is from the United States, and played for the Bowling Green Falcons (CCHA) as their College/J...
Which College/Junior/Club Team (League) did the player in round 6 play for?
CREATE TABLE table_name_98 (college_junior_club_team__league_ VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_98 WHERE round = "6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (college_junior_club_team__league_ VARCHAR, round VARCHAR) Question: Which College/Junior/Club Team (League) did the player in round 6 play for? [/INST] SELECT college_junior_club_team__league_ FRO...
What round did Jamie Cooke play in?
CREATE TABLE table_name_34 (round VARCHAR, player VARCHAR)
SELECT round FROM table_name_34 WHERE player = "jamie cooke"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (round VARCHAR, player VARCHAR) Question: What round did Jamie Cooke play in? [/INST] SELECT round FROM table_name_34 WHERE player = "jamie cooke" </s>
What are the average points White made with 0 extra points?
CREATE TABLE table_name_14 (points INTEGER, extra_points VARCHAR, player VARCHAR)
SELECT AVG(points) FROM table_name_14 WHERE extra_points = 0 AND player = "white"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (points INTEGER, extra_points VARCHAR, player VARCHAR) Question: What are the average points White made with 0 extra points? [/INST] SELECT AVG(points) FROM table_name_14 WHERE extra_points = 0 AND...
How many points does Sweeley have, with less than 0 Field goals?
CREATE TABLE table_name_45 (points INTEGER, player VARCHAR, field_goals VARCHAR)
SELECT SUM(points) FROM table_name_45 WHERE player = "sweeley" AND field_goals < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (points INTEGER, player VARCHAR, field_goals VARCHAR) Question: How many points does Sweeley have, with less than 0 Field goals? [/INST] SELECT SUM(points) FROM table_name_45 WHERE player = "sweele...
Who had the most touchdowns with more than 0 Field goals?
CREATE TABLE table_name_71 (touchdowns INTEGER, field_goals INTEGER)
SELECT MAX(touchdowns) FROM table_name_71 WHERE field_goals > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (touchdowns INTEGER, field_goals INTEGER) Question: Who had the most touchdowns with more than 0 Field goals? [/INST] SELECT MAX(touchdowns) FROM table_name_71 WHERE field_goals > 0 </s>
When was the game at the home of the Los Angeles Kings?
CREATE TABLE table_name_72 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_72 WHERE home = "los angeles kings"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (date VARCHAR, home VARCHAR) Question: When was the game at the home of the Los Angeles Kings? [/INST] SELECT date FROM table_name_72 WHERE home = "los angeles kings" </s>
On April 22 when the Los Angeles Kings where visitors what was the record?
CREATE TABLE table_name_59 (record VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT record FROM table_name_59 WHERE visitor = "los angeles kings" AND date = "april 22"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (record VARCHAR, visitor VARCHAR, date VARCHAR) Question: On April 22 when the Los Angeles Kings where visitors what was the record? [/INST] SELECT record FROM table_name_59 WHERE visitor = "los an...
Tell me the name for round of 1
CREATE TABLE table_name_33 (name VARCHAR, round VARCHAR)
SELECT name FROM table_name_33 WHERE round = 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (name VARCHAR, round VARCHAR) Question: Tell me the name for round of 1 [/INST] SELECT name FROM table_name_33 WHERE round = 1 </s>
Name the sum of pick # for round less than 1
CREATE TABLE table_name_92 (pick__number INTEGER, round INTEGER)
SELECT SUM(pick__number) FROM table_name_92 WHERE round < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (pick__number INTEGER, round INTEGER) Question: Name the sum of pick # for round less than 1 [/INST] SELECT SUM(pick__number) FROM table_name_92 WHERE round < 1 </s>
Name the total number of overall for brent hawkins and pick # more than 28
CREATE TABLE table_name_5 (overall VARCHAR, name VARCHAR, pick__number VARCHAR)
SELECT COUNT(overall) FROM table_name_5 WHERE name = "brent hawkins" AND pick__number > 28
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (overall VARCHAR, name VARCHAR, pick__number VARCHAR) Question: Name the total number of overall for brent hawkins and pick # more than 28 [/INST] SELECT COUNT(overall) FROM table_name_5 WHERE name ...
What is the value in 2012 if it is 2R in 2013, 1R in 2005, and 1R in 2008?
CREATE TABLE table_name_84 (Id VARCHAR)
SELECT 2012 FROM table_name_84 WHERE 2013 = "2r" AND 2005 = "1r" AND 2008 = "1r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (Id VARCHAR) Question: What is the value in 2012 if it is 2R in 2013, 1R in 2005, and 1R in 2008? [/INST] SELECT 2012 FROM table_name_84 WHERE 2013 = "2r" AND 2005 = "1r" AND 2008 = "1r" </s>
What is the value in 2006 when it is Grand Slam Tournaments in 2012?
CREATE TABLE table_name_37 (Id VARCHAR)
SELECT 2006 FROM table_name_37 WHERE 2012 = "grand slam tournaments"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (Id VARCHAR) Question: What is the value in 2006 when it is Grand Slam Tournaments in 2012? [/INST] SELECT 2006 FROM table_name_37 WHERE 2012 = "grand slam tournaments" </s>
Which tournament has a value of 2R in 2008?
CREATE TABLE table_name_54 (tournament VARCHAR)
SELECT tournament FROM table_name_54 WHERE 2008 = "2r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (tournament VARCHAR) Question: Which tournament has a value of 2R in 2008? [/INST] SELECT tournament FROM table_name_54 WHERE 2008 = "2r" </s>
What is the value in 2008 when 1R is 2009 and 3R?
CREATE TABLE table_name_77 (Id VARCHAR)
SELECT 2008 FROM table_name_77 WHERE 2009 = "1r" AND 2006 = "3r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (Id VARCHAR) Question: What is the value in 2008 when 1R is 2009 and 3R? [/INST] SELECT 2008 FROM table_name_77 WHERE 2009 = "1r" AND 2006 = "3r" </s>
Which tournament has a 1R value in 2007 and 2009?
CREATE TABLE table_name_91 (tournament VARCHAR)
SELECT tournament FROM table_name_91 WHERE 2007 = "1r" AND 2009 = "1r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (tournament VARCHAR) Question: Which tournament has a 1R value in 2007 and 2009? [/INST] SELECT tournament FROM table_name_91 WHERE 2007 = "1r" AND 2009 = "1r" </s>
What is the value in 2013 when it is 1R in 2007 and 2009?
CREATE TABLE table_name_38 (Id VARCHAR)
SELECT 2013 FROM table_name_38 WHERE 2007 = "1r" AND 2009 = "1r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (Id VARCHAR) Question: What is the value in 2013 when it is 1R in 2007 and 2009? [/INST] SELECT 2013 FROM table_name_38 WHERE 2007 = "1r" AND 2009 = "1r" </s>
How did michelle do in archery?
CREATE TABLE table_name_39 (michelle INTEGER, discipline VARCHAR)
SELECT AVG(michelle) FROM table_name_39 WHERE discipline = "archery"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (michelle INTEGER, discipline VARCHAR) Question: How did michelle do in archery? [/INST] SELECT AVG(michelle) FROM table_name_39 WHERE discipline = "archery" </s>
What City is the Jal hotel in?
CREATE TABLE table_name_77 (city VARCHAR, name VARCHAR)
SELECT city FROM table_name_77 WHERE name = "jal hotel"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (city VARCHAR, name VARCHAR) Question: What City is the Jal hotel in? [/INST] SELECT city FROM table_name_77 WHERE name = "jal hotel" </s>
How did he win with a time of 0:38?
CREATE TABLE table_name_41 (method VARCHAR, time VARCHAR)
SELECT method FROM table_name_41 WHERE time = "0:38"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (method VARCHAR, time VARCHAR) Question: How did he win with a time of 0:38? [/INST] SELECT method FROM table_name_41 WHERE time = "0:38" </s>
Who did he fight in Rumble of the Kings 6?
CREATE TABLE table_name_87 (opponent VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_87 WHERE event = "rumble of the kings 6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (opponent VARCHAR, event VARCHAR) Question: Who did he fight in Rumble of the Kings 6? [/INST] SELECT opponent FROM table_name_87 WHERE event = "rumble of the kings 6" </s>
How long was the match with Jaime Fletcher?
CREATE TABLE table_name_83 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_83 WHERE opponent = "jaime fletcher"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (time VARCHAR, opponent VARCHAR) Question: How long was the match with Jaime Fletcher? [/INST] SELECT time FROM table_name_83 WHERE opponent = "jaime fletcher" </s>
The team Glenn Seton Racing has a circuit at the lakeside international raceway, what is the location and state?
CREATE TABLE table_name_84 (location___state VARCHAR, team VARCHAR, circuit VARCHAR)
SELECT location___state FROM table_name_84 WHERE team = "glenn seton racing" AND circuit = "lakeside international raceway"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (location___state VARCHAR, team VARCHAR, circuit VARCHAR) Question: The team Glenn Seton Racing has a circuit at the lakeside international raceway, what is the location and state? [/INST] SELECT l...
What location and state has a circuit of Phillip Island Grand Prix Circuit?
CREATE TABLE table_name_59 (location___state VARCHAR, circuit VARCHAR)
SELECT location___state FROM table_name_59 WHERE circuit = "phillip island grand prix circuit"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (location___state VARCHAR, circuit VARCHAR) Question: What location and state has a circuit of Phillip Island Grand Prix Circuit? [/INST] SELECT location___state FROM table_name_59 WHERE circuit = ...
with race of ranvet stakes what is the group?
CREATE TABLE table_name_12 (group VARCHAR, race VARCHAR)
SELECT group FROM table_name_12 WHERE race = "ranvet stakes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (group VARCHAR, race VARCHAR) Question: with race of ranvet stakes what is the group? [/INST] SELECT group FROM table_name_12 WHERE race = "ranvet stakes" </s>
Which Slalom has a Downhill of 4?
CREATE TABLE table_name_36 (slalom VARCHAR, downhill VARCHAR)
SELECT slalom FROM table_name_36 WHERE downhill = "4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (slalom VARCHAR, downhill VARCHAR) Question: Which Slalom has a Downhill of 4? [/INST] SELECT slalom FROM table_name_36 WHERE downhill = "4" </s>
What Version has a Remixed by Perky Park with a Length of 6:38?
CREATE TABLE table_name_29 (version VARCHAR, remixed_by VARCHAR, length VARCHAR)
SELECT version FROM table_name_29 WHERE remixed_by = "perky park" AND length = "6:38"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (version VARCHAR, remixed_by VARCHAR, length VARCHAR) Question: What Version has a Remixed by Perky Park with a Length of 6:38? [/INST] SELECT version FROM table_name_29 WHERE remixed_by = "perky p...
What is the total number of Year that has an Album of Remixes?
CREATE TABLE table_name_52 (year INTEGER, album VARCHAR)
SELECT SUM(year) FROM table_name_52 WHERE album = "remixes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (year INTEGER, album VARCHAR) Question: What is the total number of Year that has an Album of Remixes? [/INST] SELECT SUM(year) FROM table_name_52 WHERE album = "remixes" </s>
What is listed for the Lengtht that has a Version of Single Version?
CREATE TABLE table_name_32 (length VARCHAR, version VARCHAR)
SELECT length FROM table_name_32 WHERE version = "single version"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (length VARCHAR, version VARCHAR) Question: What is listed for the Lengtht that has a Version of Single Version? [/INST] SELECT length FROM table_name_32 WHERE version = "single version" </s>
what is the sum of attendance of week 11
CREATE TABLE table_name_62 (attendance INTEGER, week VARCHAR)
SELECT SUM(attendance) FROM table_name_62 WHERE week = 11
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (attendance INTEGER, week VARCHAR) Question: what is the sum of attendance of week 11 [/INST] SELECT SUM(attendance) FROM table_name_62 WHERE week = 11 </s>
Which opponent had a result of 0:1?
CREATE TABLE table_name_27 (opponent VARCHAR, results¹ VARCHAR)
SELECT opponent FROM table_name_27 WHERE results¹ = "0:1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (opponent VARCHAR, results¹ VARCHAR) Question: Which opponent had a result of 0:1? [/INST] SELECT opponent FROM table_name_27 WHERE results¹ = "0:1" </s>
When was the game played in Zagreb?
CREATE TABLE table_name_79 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_79 WHERE city = "zagreb"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (date VARCHAR, city VARCHAR) Question: When was the game played in Zagreb? [/INST] SELECT date FROM table_name_79 WHERE city = "zagreb" </s>
Which opponent played a 1990 wcq type of game, where the results were 0:0?
CREATE TABLE table_name_99 (opponent VARCHAR, type_of_game VARCHAR, results¹ VARCHAR)
SELECT opponent FROM table_name_99 WHERE type_of_game = "1990 wcq" AND results¹ = "0:0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (opponent VARCHAR, type_of_game VARCHAR, results¹ VARCHAR) Question: Which opponent played a 1990 wcq type of game, where the results were 0:0? [/INST] SELECT opponent FROM table_name_99 WHERE type...
When was the game played against Norway with a result of 1:0?
CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR)
SELECT date FROM table_name_7 WHERE opponent = "norway" AND results¹ = "1:0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR) Question: When was the game played against Norway with a result of 1:0? [/INST] SELECT date FROM table_name_7 WHERE opponent = "norway" AND results...
the sum of Events that has a Rank larger than 5 is 3
CREATE TABLE table_name_97 (events INTEGER, rank INTEGER)
SELECT SUM(events) FROM table_name_97 WHERE rank > 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (events INTEGER, rank INTEGER) Question: the sum of Events that has a Rank larger than 5 is 3 [/INST] SELECT SUM(events) FROM table_name_97 WHERE rank > 5 </s>
Who was Alicja Rosolska Partnered with when the Score in Final was 4–6, 3–6?
CREATE TABLE table_name_97 (partnered_with VARCHAR, score_in_final VARCHAR)
SELECT partnered_with FROM table_name_97 WHERE score_in_final = "4–6, 3–6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (partnered_with VARCHAR, score_in_final VARCHAR) Question: Who was Alicja Rosolska Partnered with when the Score in Final was 4–6, 3–6? [/INST] SELECT partnered_with FROM table_name_97 WHERE score_...
On what Date was the Score in Final 6–3, 6–3?
CREATE TABLE table_name_70 (date VARCHAR, score_in_final VARCHAR)
SELECT date FROM table_name_70 WHERE score_in_final = "6–3, 6–3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (date VARCHAR, score_in_final VARCHAR) Question: On what Date was the Score in Final 6–3, 6–3? [/INST] SELECT date FROM table_name_70 WHERE score_in_final = "6–3, 6–3" </s>
What was the Opponents in Final during the match with a Score in Final of 6–4, 3–6, 5–7?
CREATE TABLE table_name_5 (opponents_in_final VARCHAR, score_in_final VARCHAR)
SELECT opponents_in_final FROM table_name_5 WHERE score_in_final = "6–4, 3–6, 5–7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (opponents_in_final VARCHAR, score_in_final VARCHAR) Question: What was the Opponents in Final during the match with a Score in Final of 6–4, 3–6, 5–7? [/INST] SELECT opponents_in_final FROM table_n...
How many seasons took place in aspen, usa?
CREATE TABLE table_name_34 (season VARCHAR, location VARCHAR)
SELECT COUNT(season) FROM table_name_34 WHERE location = "aspen, usa"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (season VARCHAR, location VARCHAR) Question: How many seasons took place in aspen, usa? [/INST] SELECT COUNT(season) FROM table_name_34 WHERE location = "aspen, usa" </s>
Which place was earned on 12 feb 2012?
CREATE TABLE table_name_93 (place VARCHAR, date VARCHAR)
SELECT place FROM table_name_93 WHERE date = "12 feb 2012"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (place VARCHAR, date VARCHAR) Question: Which place was earned on 12 feb 2012? [/INST] SELECT place FROM table_name_93 WHERE date = "12 feb 2012" </s>
Where was the race on 28 dec 2010 held?
CREATE TABLE table_name_69 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_69 WHERE date = "28 dec 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (location VARCHAR, date VARCHAR) Question: Where was the race on 28 dec 2010 held? [/INST] SELECT location FROM table_name_69 WHERE date = "28 dec 2010" </s>
What is the overall length with a designation of s-8ko?
CREATE TABLE table_name_38 (length_overall VARCHAR, designation VARCHAR)
SELECT length_overall FROM table_name_38 WHERE designation = "s-8ko"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (length_overall VARCHAR, designation VARCHAR) Question: What is the overall length with a designation of s-8ko? [/INST] SELECT length_overall FROM table_name_38 WHERE designation = "s-8ko" </s>
What designation has a launch weight of 11.3kg?
CREATE TABLE table_name_37 (designation VARCHAR, launch_weight VARCHAR)
SELECT designation FROM table_name_37 WHERE launch_weight = "11.3kg"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (designation VARCHAR, launch_weight VARCHAR) Question: What designation has a launch weight of 11.3kg? [/INST] SELECT designation FROM table_name_37 WHERE launch_weight = "11.3kg" </s>
What type has an overall length of 1.605 m?
CREATE TABLE table_name_92 (type VARCHAR, length_overall VARCHAR)
SELECT type FROM table_name_92 WHERE length_overall = "1.605 m"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (type VARCHAR, length_overall VARCHAR) Question: What type has an overall length of 1.605 m? [/INST] SELECT type FROM table_name_92 WHERE length_overall = "1.605 m" </s>
How many touchdowns were made where field goals were less than 0?
CREATE TABLE table_name_81 (touchdowns INTEGER, field_goals INTEGER)
SELECT SUM(touchdowns) FROM table_name_81 WHERE field_goals < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (touchdowns INTEGER, field_goals INTEGER) Question: How many touchdowns were made where field goals were less than 0? [/INST] SELECT SUM(touchdowns) FROM table_name_81 WHERE field_goals < 0 </s>
While Duncan Thompson played, how many points did he have where there were 0 field goals, 0 extra points, and more than 9 touchdowns?
CREATE TABLE table_name_86 (points INTEGER, player VARCHAR, extra_points VARCHAR, field_goals VARCHAR, touchdowns VARCHAR)
SELECT AVG(points) FROM table_name_86 WHERE field_goals = 0 AND touchdowns > 9 AND extra_points = 0 AND player = "duncan thompson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (points INTEGER, player VARCHAR, extra_points VARCHAR, field_goals VARCHAR, touchdowns VARCHAR) Question: While Duncan Thompson played, how many points did he have where there were 0 field goals, 0...
When Herb Graver played, how many field goals were made when there were more than 50 points, less than 15 touchdowns, and more than 0 extra points?
CREATE TABLE table_name_87 (field_goals INTEGER, touchdowns VARCHAR, player VARCHAR, points VARCHAR, extra_points VARCHAR)
SELECT AVG(field_goals) FROM table_name_87 WHERE points > 50 AND extra_points > 0 AND player = "herb graver" AND touchdowns < 15
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (field_goals INTEGER, touchdowns VARCHAR, player VARCHAR, points VARCHAR, extra_points VARCHAR) Question: When Herb Graver played, how many field goals were made when there were more than 50 points...
How many field goals were there, where the points where less than 45 and there were less than 15 touchdowns?
CREATE TABLE table_name_79 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR)
SELECT AVG(field_goals) FROM table_name_79 WHERE touchdowns < 15 AND points < 45
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR) Question: How many field goals were there, where the points where less than 45 and there were less than 15 touchdowns? [/INST] SELECT AVG(f...
What is the position of the race with a point of test driver?
CREATE TABLE table_name_70 (position VARCHAR, points VARCHAR)
SELECT position FROM table_name_70 WHERE points = "test driver"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (position VARCHAR, points VARCHAR) Question: What is the position of the race with a point of test driver? [/INST] SELECT position FROM table_name_70 WHERE points = "test driver" </s>
How many wins did team Kolles & Heinz union, with f/laps of 0, have in the Formula Three Euroseries?
CREATE TABLE table_name_16 (wins VARCHAR, team VARCHAR, f_laps VARCHAR, series VARCHAR)
SELECT wins FROM table_name_16 WHERE f_laps = "0" AND series = "formula three euroseries" AND team = "kolles & heinz union"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (wins VARCHAR, team VARCHAR, f_laps VARCHAR, series VARCHAR) Question: How many wins did team Kolles & Heinz union, with f/laps of 0, have in the Formula Three Euroseries? [/INST] SELECT wins FROM ...
Which series has 4 f/laps?
CREATE TABLE table_name_58 (series VARCHAR, f_laps VARCHAR)
SELECT series FROM table_name_58 WHERE f_laps = "4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (series VARCHAR, f_laps VARCHAR) Question: Which series has 4 f/laps? [/INST] SELECT series FROM table_name_58 WHERE f_laps = "4" </s>
How many wins did Team Autotecnica, with 0 podiums, have?
CREATE TABLE table_name_82 (wins VARCHAR, podiums VARCHAR, team VARCHAR)
SELECT wins FROM table_name_82 WHERE podiums = "0" AND team = "team autotecnica"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (wins VARCHAR, podiums VARCHAR, team VARCHAR) Question: How many wins did Team Autotecnica, with 0 podiums, have? [/INST] SELECT wins FROM table_name_82 WHERE podiums = "0" AND team = "team autotec...
How many races had 10.5 points?
CREATE TABLE table_name_99 (races VARCHAR, points VARCHAR)
SELECT races FROM table_name_99 WHERE points = "10.5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (races VARCHAR, points VARCHAR) Question: How many races had 10.5 points? [/INST] SELECT races FROM table_name_99 WHERE points = "10.5" </s>
How many wins did the team with 5 podiums have?
CREATE TABLE table_name_15 (wins VARCHAR, podiums VARCHAR)
SELECT wins FROM table_name_15 WHERE podiums = "5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (wins VARCHAR, podiums VARCHAR) Question: How many wins did the team with 5 podiums have? [/INST] SELECT wins FROM table_name_15 WHERE podiums = "5" </s>
What is recorded as the lowest Round for the Player Jim Thompson?
CREATE TABLE table_name_26 (round INTEGER, player VARCHAR)
SELECT MIN(round) FROM table_name_26 WHERE player = "jim thompson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (round INTEGER, player VARCHAR) Question: What is recorded as the lowest Round for the Player Jim Thompson? [/INST] SELECT MIN(round) FROM table_name_26 WHERE player = "jim thompson" </s>
What is the highest Round that has a Position of Tackle and the Player Fred Neilsen?
CREATE TABLE table_name_91 (round INTEGER, position VARCHAR, player VARCHAR)
SELECT MAX(round) FROM table_name_91 WHERE position = "tackle" AND player = "fred neilsen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (round INTEGER, position VARCHAR, player VARCHAR) Question: What is the highest Round that has a Position of Tackle and the Player Fred Neilsen? [/INST] SELECT MAX(round) FROM table_name_91 WHERE p...
What Position has a Round of 27?
CREATE TABLE table_name_95 (position VARCHAR, round VARCHAR)
SELECT position FROM table_name_95 WHERE round = 27
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (position VARCHAR, round VARCHAR) Question: What Position has a Round of 27? [/INST] SELECT position FROM table_name_95 WHERE round = 27 </s>
Name the sum of drawn for points less than 6 and games more than 8
CREATE TABLE table_name_85 (drawn INTEGER, points VARCHAR, games VARCHAR)
SELECT SUM(drawn) FROM table_name_85 WHERE points < 6 AND games > 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (drawn INTEGER, points VARCHAR, games VARCHAR) Question: Name the sum of drawn for points less than 6 and games more than 8 [/INST] SELECT SUM(drawn) FROM table_name_85 WHERE points < 6 AND games >...
How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)?
CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR)
SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = "2 x -inch (mm), 16 x -inch (mm)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR) Question: How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)? [/INST] SELECT COUNT(displacement__tons_) FROM table_name_...
Which Opponent has a Round larger than 1, and an Event of king of the cage 31?
CREATE TABLE table_name_3 (opponent VARCHAR, round VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_3 WHERE round > 1 AND event = "king of the cage 31"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (opponent VARCHAR, round VARCHAR, event VARCHAR) Question: Which Opponent has a Round larger than 1, and an Event of king of the cage 31? [/INST] SELECT opponent FROM table_name_3 WHERE round > 1 AN...
Which Time has a Round larger than 1, and an Event of total fighting alliance 2?
CREATE TABLE table_name_21 (time VARCHAR, round VARCHAR, event VARCHAR)
SELECT time FROM table_name_21 WHERE round > 1 AND event = "total fighting alliance 2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (time VARCHAR, round VARCHAR, event VARCHAR) Question: Which Time has a Round larger than 1, and an Event of total fighting alliance 2? [/INST] SELECT time FROM table_name_21 WHERE round > 1 AND ev...
Which res has a Record of 3-0?
CREATE TABLE table_name_35 (res VARCHAR, record VARCHAR)
SELECT res FROM table_name_35 WHERE record = "3-0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (res VARCHAR, record VARCHAR) Question: Which res has a Record of 3-0? [/INST] SELECT res FROM table_name_35 WHERE record = "3-0" </s>
Which Location has an Event of king of the cage: flash point?
CREATE TABLE table_name_16 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_16 WHERE event = "king of the cage: flash point"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (location VARCHAR, event VARCHAR) Question: Which Location has an Event of king of the cage: flash point? [/INST] SELECT location FROM table_name_16 WHERE event = "king of the cage: flash point" </...
Who were the opposing team when a Loss was listed with Lowe (1-4)?
CREATE TABLE table_name_63 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_63 WHERE loss = "lowe (1-4)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (opponent VARCHAR, loss VARCHAR) Question: Who were the opposing team when a Loss was listed with Lowe (1-4)? [/INST] SELECT opponent FROM table_name_63 WHERE loss = "lowe (1-4)" </s>
What body styles have 6/75 as the model?
CREATE TABLE table_name_4 (body_styles VARCHAR, model VARCHAR)
SELECT body_styles FROM table_name_4 WHERE model = "6/75"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (body_styles VARCHAR, model VARCHAR) Question: What body styles have 6/75 as the model? [/INST] SELECT body_styles FROM table_name_4 WHERE model = "6/75" </s>
What body styles have devaux-hall inline 6 as the engine?
CREATE TABLE table_name_9 (body_styles VARCHAR, engine VARCHAR)
SELECT body_styles FROM table_name_9 WHERE engine = "devaux-hall inline 6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (body_styles VARCHAR, engine VARCHAR) Question: What body styles have devaux-hall inline 6 as the engine? [/INST] SELECT body_styles FROM table_name_9 WHERE engine = "devaux-hall inline 6" </s>
What model has de vaux continental as the make?
CREATE TABLE table_name_50 (model VARCHAR, make VARCHAR)
SELECT model FROM table_name_50 WHERE make = "de vaux continental"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (model VARCHAR, make VARCHAR) Question: What model has de vaux continental as the make? [/INST] SELECT model FROM table_name_50 WHERE make = "de vaux continental" </s>
What wheelbase has sport coupe (4p.) as the body style?
CREATE TABLE table_name_20 (wheelbase VARCHAR, body_styles VARCHAR)
SELECT wheelbase FROM table_name_20 WHERE body_styles = "sport coupe (4p.)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (wheelbase VARCHAR, body_styles VARCHAR) Question: What wheelbase has sport coupe (4p.) as the body style? [/INST] SELECT wheelbase FROM table_name_20 WHERE body_styles = "sport coupe (4p.)" </s>
What was the score when the home team was Toronto?
CREATE TABLE table_name_89 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_89 WHERE home = "toronto"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (score VARCHAR, home VARCHAR) Question: What was the score when the home team was Toronto? [/INST] SELECT score FROM table_name_89 WHERE home = "toronto" </s>
What was the record when Minnesota was the home team?
CREATE TABLE table_name_64 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_64 WHERE home = "minnesota"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (record VARCHAR, home VARCHAR) Question: What was the record when Minnesota was the home team? [/INST] SELECT record FROM table_name_64 WHERE home = "minnesota" </s>
Which city held the game in Old Trafford before 1907 when the Opposition was sussex?
CREATE TABLE table_name_49 (city VARCHAR, opposition VARCHAR, year VARCHAR, venue VARCHAR)
SELECT city FROM table_name_49 WHERE year < 1907 AND venue = "old trafford" AND opposition = "sussex"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (city VARCHAR, opposition VARCHAR, year VARCHAR, venue VARCHAR) Question: Which city held the game in Old Trafford before 1907 when the Opposition was sussex? [/INST] SELECT city FROM table_name_49...
What was the score when the opposition was sussex after 1890?
CREATE TABLE table_name_49 (score VARCHAR, opposition VARCHAR, year VARCHAR)
SELECT score FROM table_name_49 WHERE opposition = "sussex" AND year > 1890
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (score VARCHAR, opposition VARCHAR, year VARCHAR) Question: What was the score when the opposition was sussex after 1890? [/INST] SELECT score FROM table_name_49 WHERE opposition = "sussex" AND yea...
What city had a score of 20 in aigburth after 1907?
CREATE TABLE table_name_76 (city VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR)
SELECT city FROM table_name_76 WHERE year > 1907 AND score > 20 AND venue = "aigburth"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (city VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR) Question: What city had a score of 20 in aigburth after 1907? [/INST] SELECT city FROM table_name_76 WHERE year > 1907 AND score > 20 AND ...
What was the score when the opposition was sussex in liverpool?
CREATE TABLE table_name_96 (score INTEGER, opposition VARCHAR, city VARCHAR)
SELECT SUM(score) FROM table_name_96 WHERE opposition = "sussex" AND city = "liverpool"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (score INTEGER, opposition VARCHAR, city VARCHAR) Question: What was the score when the opposition was sussex in liverpool? [/INST] SELECT SUM(score) FROM table_name_96 WHERE opposition = "sussex" ...
What is Director Erik Matti's Producer?
CREATE TABLE table_name_57 (producer VARCHAR, director VARCHAR)
SELECT producer FROM table_name_57 WHERE director = "erik matti"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (producer VARCHAR, director VARCHAR) Question: What is Director Erik Matti's Producer? [/INST] SELECT producer FROM table_name_57 WHERE director = "erik matti" </s>
What is Director Bona Fajardo's Producer?
CREATE TABLE table_name_32 (producer VARCHAR, director VARCHAR)
SELECT producer FROM table_name_32 WHERE director = "bona fajardo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (producer VARCHAR, director VARCHAR) Question: What is Director Bona Fajardo's Producer? [/INST] SELECT producer FROM table_name_32 WHERE director = "bona fajardo" </s>
What is the Producer on December 25, 2006?
CREATE TABLE table_name_77 (producer VARCHAR, year VARCHAR)
SELECT producer FROM table_name_77 WHERE year = "december 25, 2006"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (producer VARCHAR, year VARCHAR) Question: What is the Producer on December 25, 2006? [/INST] SELECT producer FROM table_name_77 WHERE year = "december 25, 2006" </s>