instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
Which venue did the match where Collingwood was the home team take place?
CREATE TABLE table_name_32 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_32 WHERE home_team = "collingwood"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (venue VARCHAR, home_team VARCHAR) Question: Which venue did the match where Collingwood was the home team take place? [/INST] SELECT venue FROM table_name_32 WHERE home_team = "collingwood" </s>
Who is the away side when north melbourne is the home side?
CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_79 WHERE home_team = "north melbourne"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR) Question: Who is the away side when north melbourne is the home side? [/INST] SELECT away_team FROM table_name_79 WHERE home_team = "north melbourne" </s>
How many games feature hawthorn as the away squad?
CREATE TABLE table_name_8 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_8 WHERE away_team = "hawthorn"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (crowd VARCHAR, away_team VARCHAR) Question: How many games feature hawthorn as the away squad? [/INST] SELECT COUNT(crowd) FROM table_name_8 WHERE away_team = "hawthorn" </s>
What Nationality has a Time of 9:01.70?
CREATE TABLE table_name_58 (nationality VARCHAR, time VARCHAR)
SELECT nationality FROM table_name_58 WHERE time = "9:01.70"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (nationality VARCHAR, time VARCHAR) Question: What Nationality has a Time of 9:01.70? [/INST] SELECT nationality FROM table_name_58 WHERE time = "9:01.70" </s>
What is sun yang's lowest rank?
CREATE TABLE table_name_20 (rank INTEGER, name VARCHAR)
SELECT MIN(rank) FROM table_name_20 WHERE name = "sun yang"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (rank INTEGER, name VARCHAR) Question: What is sun yang's lowest rank? [/INST] SELECT MIN(rank) FROM table_name_20 WHERE name = "sun yang" </s>
How many ranks have a ationality of canada, and a Time of dns?
CREATE TABLE table_name_12 (rank VARCHAR, nationality VARCHAR, time VARCHAR)
SELECT COUNT(rank) FROM table_name_12 WHERE nationality = "canada" AND time = "dns"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (rank VARCHAR, nationality VARCHAR, time VARCHAR) Question: How many ranks have a ationality of canada, and a Time of dns? [/INST] SELECT COUNT(rank) FROM table_name_12 WHERE nationality = "canada" AND time = "dns" </s>
Who played Fitzroy at their own home?
CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_42 WHERE away_team = "fitzroy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR) Question: Who played Fitzroy at their own home? [/INST] SELECT home_team AS score FROM table_name_42 WHERE away_team = "fitzroy" </s>
What team plays at home at Lake Oval?
CREATE TABLE table_name_2 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_2 WHERE venue = "lake oval"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (home_team VARCHAR, venue VARCHAR) Question: What team plays at home at Lake Oval? [/INST] SELECT home_team FROM table_name_2 WHERE venue = "lake oval" </s>
What was Melbourne's score as the away team?
CREATE TABLE table_name_17 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_17 WHERE away_team = "melbourne"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (away_team VARCHAR) Question: What was Melbourne's score as the away team? [/INST] SELECT away_team AS score FROM table_name_17 WHERE away_team = "melbourne" </s>
On what date was the match played in Victoria Park?
CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_78 WHERE venue = "victoria park"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR) Question: On what date was the match played in Victoria Park? [/INST] SELECT date FROM table_name_78 WHERE venue = "victoria park" </s>
What is the away team's score when geelong is the away team?
CREATE TABLE table_name_73 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_73 WHERE away_team = "geelong"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (away_team VARCHAR) Question: What is the away team's score when geelong is the away team? [/INST] SELECT away_team AS score FROM table_name_73 WHERE away_team = "geelong" </s>
What is the away team's score when south melbourne is the away team?
CREATE TABLE table_name_36 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_36 WHERE away_team = "south melbourne"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (away_team VARCHAR) Question: What is the away team's score when south melbourne is the away team? [/INST] SELECT away_team AS score FROM table_name_36 WHERE away_team = "south melbourne" </s>
What was the result of the film made before 2005, winner of the robert award, in the category of best actress?
CREATE TABLE table_name_89 (result VARCHAR, award VARCHAR, category VARCHAR, year VARCHAR)
SELECT result FROM table_name_89 WHERE category = "best actress" AND year < 2005 AND award = "robert award"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (result VARCHAR, award VARCHAR, category VARCHAR, year VARCHAR) Question: What was the result of the film made before 2005, winner of the robert award, in the category of best actress? [/INST] SELECT result FROM table_name_89 WHERE category = "best actress" AND year < 2005 AND award = "robert award" </s>
What was the result of the bodil award winning film from before 2005 in the best actress category?
CREATE TABLE table_name_37 (result VARCHAR, year VARCHAR, award VARCHAR, category VARCHAR)
SELECT result FROM table_name_37 WHERE award = "bodil award" AND category = "best actress" AND year = 2005
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (result VARCHAR, year VARCHAR, award VARCHAR, category VARCHAR) Question: What was the result of the bodil award winning film from before 2005 in the best actress category? [/INST] SELECT result FROM table_name_37 WHERE award = "bodil award" AND category = "best actress" AND year = 2005 </s>
What category is the nominated work of cecilie, winner of the robert award?
CREATE TABLE table_name_43 (category VARCHAR, nominated_work VARCHAR, award VARCHAR)
SELECT category FROM table_name_43 WHERE nominated_work = "cecilie" AND award = "robert award"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (category VARCHAR, nominated_work VARCHAR, award VARCHAR) Question: What category is the nominated work of cecilie, winner of the robert award? [/INST] SELECT category FROM table_name_43 WHERE nominated_work = "cecilie" AND award = "robert award" </s>
Who was the away team at Victoria Park?
CREATE TABLE table_name_1 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_1 WHERE venue = "victoria park"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (away_team VARCHAR, venue VARCHAR) Question: Who was the away team at Victoria Park? [/INST] SELECT away_team FROM table_name_1 WHERE venue = "victoria park" </s>
What is the date of the game where Footscray was the away team?
CREATE TABLE table_name_2 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_2 WHERE away_team = "footscray"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, away_team VARCHAR) Question: What is the date of the game where Footscray was the away team? [/INST] SELECT date FROM table_name_2 WHERE away_team = "footscray" </s>
What week did they have a bye?
CREATE TABLE table_name_66 (week VARCHAR, opponent VARCHAR)
SELECT week FROM table_name_66 WHERE opponent = "bye"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (week VARCHAR, opponent VARCHAR) Question: What week did they have a bye? [/INST] SELECT week FROM table_name_66 WHERE opponent = "bye" </s>
How many people watch at Western Oval venue?
CREATE TABLE table_name_4 (crowd VARCHAR, venue VARCHAR)
SELECT COUNT(crowd) FROM table_name_4 WHERE venue = "western oval"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (crowd VARCHAR, venue VARCHAR) Question: How many people watch at Western Oval venue? [/INST] SELECT COUNT(crowd) FROM table_name_4 WHERE venue = "western oval" </s>
How many people are in the crowd in south melbourne?
CREATE TABLE table_name_66 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_66 WHERE home_team = "south melbourne"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (crowd VARCHAR, home_team VARCHAR) Question: How many people are in the crowd in south melbourne? [/INST] SELECT COUNT(crowd) FROM table_name_66 WHERE home_team = "south melbourne" </s>
What was the highest crowd at Windy Hill?
CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_56 WHERE venue = "windy hill"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR) Question: What was the highest crowd at Windy Hill? [/INST] SELECT MAX(crowd) FROM table_name_56 WHERE venue = "windy hill" </s>
How many people at Arden Street Oval?
CREATE TABLE table_name_21 (crowd VARCHAR, venue VARCHAR)
SELECT COUNT(crowd) FROM table_name_21 WHERE venue = "arden street oval"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (crowd VARCHAR, venue VARCHAR) Question: How many people at Arden Street Oval? [/INST] SELECT COUNT(crowd) FROM table_name_21 WHERE venue = "arden street oval" </s>
Which Neck has a Bullet of 10.566 (.416), and a Base of 14.78 (.582)?
CREATE TABLE table_name_48 (neck VARCHAR, bullet VARCHAR, base VARCHAR)
SELECT neck FROM table_name_48 WHERE bullet = "10.566 (.416)" AND base = "14.78 (.582)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (neck VARCHAR, bullet VARCHAR, base VARCHAR) Question: Which Neck has a Bullet of 10.566 (.416), and a Base of 14.78 (.582)? [/INST] SELECT neck FROM table_name_48 WHERE bullet = "10.566 (.416)" AND base = "14.78 (.582)" </s>
Which Case Length has a Base of 14.96 (.589)?
CREATE TABLE table_name_57 (case_length VARCHAR, base VARCHAR)
SELECT case_length FROM table_name_57 WHERE base = "14.96 (.589)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (case_length VARCHAR, base VARCHAR) Question: Which Case Length has a Base of 14.96 (.589)? [/INST] SELECT case_length FROM table_name_57 WHERE base = "14.96 (.589)" </s>
A .416 barrett has which Case Length?
CREATE TABLE table_name_9 (case_length VARCHAR, name VARCHAR)
SELECT case_length FROM table_name_9 WHERE name = ".416 barrett"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (case_length VARCHAR, name VARCHAR) Question: A .416 barrett has which Case Length? [/INST] SELECT case_length FROM table_name_9 WHERE name = ".416 barrett" </s>
Which Name has a Case Length of 73.99 (2.913)?
CREATE TABLE table_name_16 (name VARCHAR, case_length VARCHAR)
SELECT name FROM table_name_16 WHERE case_length = "73.99 (2.913)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (name VARCHAR, case_length VARCHAR) Question: Which Name has a Case Length of 73.99 (2.913)? [/INST] SELECT name FROM table_name_16 WHERE case_length = "73.99 (2.913)" </s>
Which Base has a Name of .44 wcf?
CREATE TABLE table_name_2 (base VARCHAR, name VARCHAR)
SELECT base FROM table_name_2 WHERE name = ".44 wcf"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (base VARCHAR, name VARCHAR) Question: Which Base has a Name of .44 wcf? [/INST] SELECT base FROM table_name_2 WHERE name = ".44 wcf" </s>
Which Name has a Bullett of 10.57 (.416) and a Base of 14.96 (.589)?
CREATE TABLE table_name_86 (name VARCHAR, bullet VARCHAR, base VARCHAR)
SELECT name FROM table_name_86 WHERE bullet = "10.57 (.416)" AND base = "14.96 (.589)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (name VARCHAR, bullet VARCHAR, base VARCHAR) Question: Which Name has a Bullett of 10.57 (.416) and a Base of 14.96 (.589)? [/INST] SELECT name FROM table_name_86 WHERE bullet = "10.57 (.416)" AND base = "14.96 (.589)" </s>
When Richmond was the home team, what was the home team score?
CREATE TABLE table_name_24 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_24 WHERE home_team = "richmond"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (home_team VARCHAR) Question: When Richmond was the home team, what was the home team score? [/INST] SELECT home_team AS score FROM table_name_24 WHERE home_team = "richmond" </s>
What was the highest crowd size at Windy Hill?
CREATE TABLE table_name_50 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_50 WHERE venue = "windy hill"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (crowd INTEGER, venue VARCHAR) Question: What was the highest crowd size at Windy Hill? [/INST] SELECT MAX(crowd) FROM table_name_50 WHERE venue = "windy hill" </s>
When the away team was Geelong, what was the home team score?
CREATE TABLE table_name_97 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_97 WHERE away_team = "geelong"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (home_team VARCHAR, away_team VARCHAR) Question: When the away team was Geelong, what was the home team score? [/INST] SELECT home_team AS score FROM table_name_97 WHERE away_team = "geelong" </s>
When did the home team of Richmond play?
CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_89 WHERE home_team = "richmond"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR) Question: When did the home team of Richmond play? [/INST] SELECT date FROM table_name_89 WHERE home_team = "richmond" </s>
How many golds for Canada (12 total)?
CREATE TABLE table_name_7 (gold VARCHAR, total VARCHAR, nation VARCHAR)
SELECT gold FROM table_name_7 WHERE total > 12 AND nation = "canada"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (gold VARCHAR, total VARCHAR, nation VARCHAR) Question: How many golds for Canada (12 total)? [/INST] SELECT gold FROM table_name_7 WHERE total > 12 AND nation = "canada" </s>
What was the team's record after week 7 with 28,161 attending?
CREATE TABLE table_name_58 (record VARCHAR, week VARCHAR, attenmdance VARCHAR)
SELECT record FROM table_name_58 WHERE week > 7 AND attenmdance = "28,161"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (record VARCHAR, week VARCHAR, attenmdance VARCHAR) Question: What was the team's record after week 7 with 28,161 attending? [/INST] SELECT record FROM table_name_58 WHERE week > 7 AND attenmdance = "28,161" </s>
What was the attendance at war memorial stadium?
CREATE TABLE table_name_8 (attenmdance VARCHAR, stadium VARCHAR)
SELECT attenmdance FROM table_name_8 WHERE stadium = "war memorial stadium"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (attenmdance VARCHAR, stadium VARCHAR) Question: What was the attendance at war memorial stadium? [/INST] SELECT attenmdance FROM table_name_8 WHERE stadium = "war memorial stadium" </s>
How many silver medals did the country that won 20 gold medals win in the 1955 Pan American Games?
CREATE TABLE table_name_62 (silver INTEGER, gold VARCHAR)
SELECT SUM(silver) FROM table_name_62 WHERE gold = 20
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (silver INTEGER, gold VARCHAR) Question: How many silver medals did the country that won 20 gold medals win in the 1955 Pan American Games? [/INST] SELECT SUM(silver) FROM table_name_62 WHERE gold = 20 </s>
What team had 159 laps and a Time/Retired of 6:30:02.3733?
CREATE TABLE table_name_75 (team VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT team FROM table_name_75 WHERE laps = 159 AND time_retired = "6:30:02.3733"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (team VARCHAR, laps VARCHAR, time_retired VARCHAR) Question: What team had 159 laps and a Time/Retired of 6:30:02.3733? [/INST] SELECT team FROM table_name_75 WHERE laps = 159 AND time_retired = "6:30:02.3733" </s>
What team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fire)?
CREATE TABLE table_name_14 (name VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT name FROM table_name_14 WHERE laps < 159 AND time_retired = "4:00:30.7537 (retired - fire)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (name VARCHAR, laps VARCHAR, time_retired VARCHAR) Question: What team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fire)? [/INST] SELECT name FROM table_name_14 WHERE laps < 159 AND time_retired = "4:00:30.7537 (retired - fire)" </s>
What was the score of the Browns game against the San Francisco 49ers?
CREATE TABLE table_name_7 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_7 WHERE opponent = "san francisco 49ers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (result VARCHAR, opponent VARCHAR) Question: What was the score of the Browns game against the San Francisco 49ers? [/INST] SELECT result FROM table_name_7 WHERE opponent = "san francisco 49ers" </s>
What was the final score for Aguilar when he played Hans Podlipnik on clay and was runner-up?
CREATE TABLE table_name_47 (score VARCHAR, outcome VARCHAR, surface VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_47 WHERE surface = "clay" AND opponent = "hans podlipnik" AND outcome = "runner-up"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (score VARCHAR, outcome VARCHAR, surface VARCHAR, opponent VARCHAR) Question: What was the final score for Aguilar when he played Hans Podlipnik on clay and was runner-up? [/INST] SELECT score FROM table_name_47 WHERE surface = "clay" AND opponent = "hans podlipnik" AND outcome = "runner-up" </s>
What round is highest and has a defensive tackle position and overall lower than 282?
CREATE TABLE table_name_12 (round INTEGER, position VARCHAR, overall VARCHAR)
SELECT MAX(round) FROM table_name_12 WHERE position = "defensive tackle" AND overall < 282
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (round INTEGER, position VARCHAR, overall VARCHAR) Question: What round is highest and has a defensive tackle position and overall lower than 282? [/INST] SELECT MAX(round) FROM table_name_12 WHERE position = "defensive tackle" AND overall < 282 </s>
What position is the round higher than 15 and has an overall of 411.
CREATE TABLE table_name_82 (position VARCHAR, round VARCHAR, overall VARCHAR)
SELECT position FROM table_name_82 WHERE round > 15 AND overall = 411
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (position VARCHAR, round VARCHAR, overall VARCHAR) Question: What position is the round higher than 15 and has an overall of 411. [/INST] SELECT position FROM table_name_82 WHERE round > 15 AND overall = 411 </s>
What is the name of the away team with glenferrie oval venue?
CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_72 WHERE venue = "glenferrie oval"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR) Question: What is the name of the away team with glenferrie oval venue? [/INST] SELECT away_team FROM table_name_72 WHERE venue = "glenferrie oval" </s>
What stadium is in penrith?
CREATE TABLE table_name_11 (stadium VARCHAR, city VARCHAR)
SELECT stadium FROM table_name_11 WHERE city = "penrith"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (stadium VARCHAR, city VARCHAR) Question: What stadium is in penrith? [/INST] SELECT stadium FROM table_name_11 WHERE city = "penrith" </s>
What day did they play in central park stadium?
CREATE TABLE table_name_50 (date VARCHAR, stadium VARCHAR)
SELECT date FROM table_name_50 WHERE stadium = "central park"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (date VARCHAR, stadium VARCHAR) Question: What day did they play in central park stadium? [/INST] SELECT date FROM table_name_50 WHERE stadium = "central park" </s>
What is the lowest attendance when footscray is the away team?
CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "footscray"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR) Question: What is the lowest attendance when footscray is the away team? [/INST] SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "footscray" </s>
What venue featured essendon as home team?
CREATE TABLE table_name_25 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_25 WHERE home_team = "essendon"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (venue VARCHAR, home_team VARCHAR) Question: What venue featured essendon as home team? [/INST] SELECT venue FROM table_name_25 WHERE home_team = "essendon" </s>
What is the sum of crowd(s) at princes park?
CREATE TABLE table_name_45 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_45 WHERE venue = "princes park"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (crowd INTEGER, venue VARCHAR) Question: What is the sum of crowd(s) at princes park? [/INST] SELECT SUM(crowd) FROM table_name_45 WHERE venue = "princes park" </s>
What is the away team that features a home team of south melbourne?
CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_53 WHERE home_team = "south melbourne"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR) Question: What is the away team that features a home team of south melbourne? [/INST] SELECT away_team AS score FROM table_name_53 WHERE home_team = "south melbourne" </s>
What is the smallest crowd when collingwood is home team?
CREATE TABLE table_name_91 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_91 WHERE home_team = "collingwood"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (crowd INTEGER, home_team VARCHAR) Question: What is the smallest crowd when collingwood is home team? [/INST] SELECT MIN(crowd) FROM table_name_91 WHERE home_team = "collingwood" </s>
During which round was the first defensive end with an overall rank larger than 186 drafted?
CREATE TABLE table_name_65 (round INTEGER, overall VARCHAR, position VARCHAR)
SELECT MIN(round) FROM table_name_65 WHERE overall > 186 AND position = "defensive end"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (round INTEGER, overall VARCHAR, position VARCHAR) Question: During which round was the first defensive end with an overall rank larger than 186 drafted? [/INST] SELECT MIN(round) FROM table_name_65 WHERE overall > 186 AND position = "defensive end" </s>
What is the highest number of losses with 23 points and 22 plays?
CREATE TABLE table_name_58 (lost INTEGER, points VARCHAR, played VARCHAR)
SELECT MAX(lost) FROM table_name_58 WHERE points = 23 AND played > 22
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (lost INTEGER, points VARCHAR, played VARCHAR) Question: What is the highest number of losses with 23 points and 22 plays? [/INST] SELECT MAX(lost) FROM table_name_58 WHERE points = 23 AND played > 22 </s>
What is the sum of goals scored for the Al Wahda team with less than 4 drawn and more than 22 plays?
CREATE TABLE table_name_6 (goals_for INTEGER, played VARCHAR, drawn VARCHAR, team VARCHAR)
SELECT SUM(goals_for) FROM table_name_6 WHERE drawn < 4 AND team = "al wahda" AND played > 22
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (goals_for INTEGER, played VARCHAR, drawn VARCHAR, team VARCHAR) Question: What is the sum of goals scored for the Al Wahda team with less than 4 drawn and more than 22 plays? [/INST] SELECT SUM(goals_for) FROM table_name_6 WHERE drawn < 4 AND team = "al wahda" AND played > 22 </s>
How many goals scored against the opposing team occurred with more than 7 losses, less than 27 goals scored for the team and drawn more than 1?
CREATE TABLE table_name_85 (goals_against VARCHAR, drawn VARCHAR, lost VARCHAR, goals_for VARCHAR)
SELECT COUNT(goals_against) FROM table_name_85 WHERE lost > 7 AND goals_for < 27 AND drawn > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (goals_against VARCHAR, drawn VARCHAR, lost VARCHAR, goals_for VARCHAR) Question: How many goals scored against the opposing team occurred with more than 7 losses, less than 27 goals scored for the team and drawn more than 1? [/INST] SELECT COUNT(goals_against) FROM table_name_85 WHERE lost > 7 AND goals_for < 27 AND drawn > 1 </s>
What is the highest number of plays when drawn is more than 4, more than 30 points were earned, and 37 goals scored for the team?
CREATE TABLE table_name_91 (played INTEGER, points VARCHAR, drawn VARCHAR, goals_for VARCHAR)
SELECT MAX(played) FROM table_name_91 WHERE drawn > 4 AND goals_for = 37 AND points > 30
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (played INTEGER, points VARCHAR, drawn VARCHAR, goals_for VARCHAR) Question: What is the highest number of plays when drawn is more than 4, more than 30 points were earned, and 37 goals scored for the team? [/INST] SELECT MAX(played) FROM table_name_91 WHERE drawn > 4 AND goals_for = 37 AND points > 30 </s>
What was Geelong's score when they were the away team?
CREATE TABLE table_name_62 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_62 WHERE away_team = "geelong"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (away_team VARCHAR) Question: What was Geelong's score when they were the away team? [/INST] SELECT away_team AS score FROM table_name_62 WHERE away_team = "geelong" </s>
What was the score of Richmond when they were the away team?
CREATE TABLE table_name_62 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_62 WHERE away_team = "richmond"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (away_team VARCHAR) Question: What was the score of Richmond when they were the away team? [/INST] SELECT away_team AS score FROM table_name_62 WHERE away_team = "richmond" </s>
What is the away team's score at brunswick street oval?
CREATE TABLE table_name_80 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_80 WHERE venue = "brunswick street oval"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (away_team VARCHAR, venue VARCHAR) Question: What is the away team's score at brunswick street oval? [/INST] SELECT away_team AS score FROM table_name_80 WHERE venue = "brunswick street oval" </s>
What is the smallest crowd at punt road oval?
CREATE TABLE table_name_10 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_10 WHERE venue = "punt road oval"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (crowd INTEGER, venue VARCHAR) Question: What is the smallest crowd at punt road oval? [/INST] SELECT MIN(crowd) FROM table_name_10 WHERE venue = "punt road oval" </s>
What was the earliest year that had more than 105,579 flying hours and a seat factor of 68%?
CREATE TABLE table_name_41 (year INTEGER, seat_factor VARCHAR, flying_hours VARCHAR)
SELECT MIN(year) FROM table_name_41 WHERE seat_factor = "68%" AND flying_hours > 105 OFFSET 579 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (year INTEGER, seat_factor VARCHAR, flying_hours VARCHAR) Question: What was the earliest year that had more than 105,579 flying hours and a seat factor of 68%? [/INST] SELECT MIN(year) FROM table_name_41 WHERE seat_factor = "68%" AND flying_hours > 105 OFFSET 579 ROWS </s>
What player played for the Balmain Tigers?
CREATE TABLE table_name_98 (player VARCHAR, club VARCHAR)
SELECT player FROM table_name_98 WHERE club = "balmain tigers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (player VARCHAR, club VARCHAR) Question: What player played for the Balmain Tigers? [/INST] SELECT player FROM table_name_98 WHERE club = "balmain tigers" </s>
What was the nationality of five-eighth player Darren Lockyer?
CREATE TABLE table_name_96 (nationality VARCHAR, player VARCHAR, position VARCHAR)
SELECT nationality FROM table_name_96 WHERE player = "darren lockyer" AND position = "five-eighth"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (nationality VARCHAR, player VARCHAR, position VARCHAR) Question: What was the nationality of five-eighth player Darren Lockyer? [/INST] SELECT nationality FROM table_name_96 WHERE player = "darren lockyer" AND position = "five-eighth" </s>
What nationality did Greg Inglis hold?
CREATE TABLE table_name_21 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_21 WHERE player = "greg inglis"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (nationality VARCHAR, player VARCHAR) Question: What nationality did Greg Inglis hold? [/INST] SELECT nationality FROM table_name_21 WHERE player = "greg inglis" </s>
Where was the match played in 1998?
CREATE TABLE table_name_40 (location VARCHAR, year VARCHAR)
SELECT location FROM table_name_40 WHERE year = 1998
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (location VARCHAR, year VARCHAR) Question: Where was the match played in 1998? [/INST] SELECT location FROM table_name_40 WHERE year = 1998 </s>
What was Footscray's Home team score?
CREATE TABLE table_name_62 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_62 WHERE home_team = "footscray"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (home_team VARCHAR) Question: What was Footscray's Home team score? [/INST] SELECT home_team AS score FROM table_name_62 WHERE home_team = "footscray" </s>
Who faced Collingwood as an away team?
CREATE TABLE table_name_54 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_54 WHERE home_team = "collingwood"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (away_team VARCHAR, home_team VARCHAR) Question: Who faced Collingwood as an away team? [/INST] SELECT away_team FROM table_name_54 WHERE home_team = "collingwood" </s>
How many total points belong to the team with a goal difference of 8?
CREATE TABLE table_name_94 (points INTEGER, goal_difference VARCHAR)
SELECT SUM(points) FROM table_name_94 WHERE goal_difference = 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (points INTEGER, goal_difference VARCHAR) Question: How many total points belong to the team with a goal difference of 8? [/INST] SELECT SUM(points) FROM table_name_94 WHERE goal_difference = 8 </s>
What K League classic had less than 10 teams?
CREATE TABLE table_name_3 (k_league_classic VARCHAR, teams INTEGER)
SELECT k_league_classic FROM table_name_3 WHERE teams < 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (k_league_classic VARCHAR, teams INTEGER) Question: What K League classic had less than 10 teams? [/INST] SELECT k_league_classic FROM table_name_3 WHERE teams < 10 </s>
How many teams played before 2008, had a K League Classic of runners-up, and a Manager of kim ho?
CREATE TABLE table_name_48 (teams INTEGER, manager VARCHAR, season VARCHAR, k_league_classic VARCHAR)
SELECT SUM(teams) FROM table_name_48 WHERE season < 2008 AND k_league_classic = "runners-up" AND manager = "kim ho"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (teams INTEGER, manager VARCHAR, season VARCHAR, k_league_classic VARCHAR) Question: How many teams played before 2008, had a K League Classic of runners-up, and a Manager of kim ho? [/INST] SELECT SUM(teams) FROM table_name_48 WHERE season < 2008 AND k_league_classic = "runners-up" AND manager = "kim ho" </s>
What was the score of the away team at Junction Oval venue?
CREATE TABLE table_name_8 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_8 WHERE venue = "junction oval"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (away_team VARCHAR, venue VARCHAR) Question: What was the score of the away team at Junction Oval venue? [/INST] SELECT away_team AS score FROM table_name_8 WHERE venue = "junction oval" </s>
When Collingwood was the home team who was the opposing away team?
CREATE TABLE table_name_52 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_52 WHERE home_team = "collingwood"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (away_team VARCHAR, home_team VARCHAR) Question: When Collingwood was the home team who was the opposing away team? [/INST] SELECT away_team FROM table_name_52 WHERE home_team = "collingwood" </s>
What is the team score of the away team at Junction Oval?
CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_35 WHERE venue = "junction oval"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR) Question: What is the team score of the away team at Junction Oval? [/INST] SELECT away_team AS score FROM table_name_35 WHERE venue = "junction oval" </s>
What team is from Lake Oval?
CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_93 WHERE venue = "lake oval"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR) Question: What team is from Lake Oval? [/INST] SELECT home_team FROM table_name_93 WHERE venue = "lake oval" </s>
Who is the runner-up for Ilhwa Chunma?
CREATE TABLE table_name_81 (runner_up VARCHAR, winner VARCHAR)
SELECT runner_up FROM table_name_81 WHERE winner = "ilhwa chunma"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (runner_up VARCHAR, winner VARCHAR) Question: Who is the runner-up for Ilhwa Chunma? [/INST] SELECT runner_up FROM table_name_81 WHERE winner = "ilhwa chunma" </s>
What was the attendance when Collingwood was the away team?
CREATE TABLE table_name_45 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_45 WHERE away_team = "collingwood"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (crowd INTEGER, away_team VARCHAR) Question: What was the attendance when Collingwood was the away team? [/INST] SELECT MIN(crowd) FROM table_name_45 WHERE away_team = "collingwood" </s>
What was the attendance of the Hawthorn as the away team?
CREATE TABLE table_name_92 (crowd INTEGER, away_team VARCHAR)
SELECT SUM(crowd) FROM table_name_92 WHERE away_team = "hawthorn"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (crowd INTEGER, away_team VARCHAR) Question: What was the attendance of the Hawthorn as the away team? [/INST] SELECT SUM(crowd) FROM table_name_92 WHERE away_team = "hawthorn" </s>
Where did Richmond play as the home team?
CREATE TABLE table_name_43 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_43 WHERE home_team = "richmond"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (venue VARCHAR, home_team VARCHAR) Question: Where did Richmond play as the home team? [/INST] SELECT venue FROM table_name_43 WHERE home_team = "richmond" </s>
What is the home team score for the game with the away team Carlton?
CREATE TABLE table_name_25 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_25 WHERE away_team = "carlton"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (home_team VARCHAR, away_team VARCHAR) Question: What is the home team score for the game with the away team Carlton? [/INST] SELECT home_team AS score FROM table_name_25 WHERE away_team = "carlton" </s>
What is the away team for the game at Windy Hill?
CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_72 WHERE venue = "windy hill"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR) Question: What is the away team for the game at Windy Hill? [/INST] SELECT away_team FROM table_name_72 WHERE venue = "windy hill" </s>
For the race held on 10/08/86, what was the circuit?
CREATE TABLE table_name_11 (circuit VARCHAR, date VARCHAR)
SELECT circuit FROM table_name_11 WHERE date = "10/08/86"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (circuit VARCHAR, date VARCHAR) Question: For the race held on 10/08/86, what was the circuit? [/INST] SELECT circuit FROM table_name_11 WHERE date = "10/08/86" </s>
What circuit saw Cabin Racing as the winning team?
CREATE TABLE table_name_41 (circuit VARCHAR, winning_team VARCHAR)
SELECT circuit FROM table_name_41 WHERE winning_team = "cabin racing"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (circuit VARCHAR, winning_team VARCHAR) Question: What circuit saw Cabin Racing as the winning team? [/INST] SELECT circuit FROM table_name_41 WHERE winning_team = "cabin racing" </s>
Who was the winning driver driving the winning car March - Honda 86j, with the winning team Team Nova?
CREATE TABLE table_name_84 (winning_driver VARCHAR, winning_car VARCHAR, winning_team VARCHAR)
SELECT winning_driver FROM table_name_84 WHERE winning_car = "march - honda 86j" AND winning_team = "team nova"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (winning_driver VARCHAR, winning_car VARCHAR, winning_team VARCHAR) Question: Who was the winning driver driving the winning car March - Honda 86j, with the winning team Team Nova? [/INST] SELECT winning_driver FROM table_name_84 WHERE winning_car = "march - honda 86j" AND winning_team = "team nova" </s>
Who was in Lane 5?
CREATE TABLE table_name_84 (name VARCHAR, lane VARCHAR)
SELECT name FROM table_name_84 WHERE lane = 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (name VARCHAR, lane VARCHAR) Question: Who was in Lane 5? [/INST] SELECT name FROM table_name_84 WHERE lane = 5 </s>
What was Arkady Vyatchanin's time?
CREATE TABLE table_name_86 (time VARCHAR, name VARCHAR)
SELECT time FROM table_name_86 WHERE name = "arkady vyatchanin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (time VARCHAR, name VARCHAR) Question: What was Arkady Vyatchanin's time? [/INST] SELECT time FROM table_name_86 WHERE name = "arkady vyatchanin" </s>
What is the away team's score when north melbourne is the home team?
CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_28 WHERE home_team = "north melbourne"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR) Question: What is the away team's score when north melbourne is the home team? [/INST] SELECT away_team AS score FROM table_name_28 WHERE home_team = "north melbourne" </s>
What is the smallest crowd with fitzroy as the home team?
CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_8 WHERE away_team = "fitzroy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR) Question: What is the smallest crowd with fitzroy as the home team? [/INST] SELECT MIN(crowd) FROM table_name_8 WHERE away_team = "fitzroy" </s>
What school did the linebacker who was drafted after round 8 come from?
CREATE TABLE table_name_36 (school_club_team VARCHAR, round VARCHAR, position VARCHAR)
SELECT school_club_team FROM table_name_36 WHERE round > 8 AND position = "linebacker"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (school_club_team VARCHAR, round VARCHAR, position VARCHAR) Question: What school did the linebacker who was drafted after round 8 come from? [/INST] SELECT school_club_team FROM table_name_36 WHERE round > 8 AND position = "linebacker" </s>
How many pens does Siaosi Atiola have?
CREATE TABLE table_name_80 (pens VARCHAR, player VARCHAR)
SELECT pens FROM table_name_80 WHERE player = "siaosi atiola"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (pens VARCHAR, player VARCHAR) Question: How many pens does Siaosi Atiola have? [/INST] SELECT pens FROM table_name_80 WHERE player = "siaosi atiola" </s>
What pens have a draw of 0 when the player is sione mafi pahulu?
CREATE TABLE table_name_17 (pens VARCHAR, draw VARCHAR, player VARCHAR)
SELECT pens FROM table_name_17 WHERE draw = "0" AND player = "sione mafi pahulu"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (pens VARCHAR, draw VARCHAR, player VARCHAR) Question: What pens have a draw of 0 when the player is sione mafi pahulu? [/INST] SELECT pens FROM table_name_17 WHERE draw = "0" AND player = "sione mafi pahulu" </s>
What is the lost for span 2006- when conv is 0?
CREATE TABLE table_name_63 (lost VARCHAR, conv VARCHAR, span VARCHAR)
SELECT lost FROM table_name_63 WHERE conv = "0" AND span = "2006-"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (lost VARCHAR, conv VARCHAR, span VARCHAR) Question: What is the lost for span 2006- when conv is 0? [/INST] SELECT lost FROM table_name_63 WHERE conv = "0" AND span = "2006-" </s>
How many tries does Fakahau Valu have?
CREATE TABLE table_name_83 (tries VARCHAR, player VARCHAR)
SELECT tries FROM table_name_83 WHERE player = "fakahau valu"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (tries VARCHAR, player VARCHAR) Question: How many tries does Fakahau Valu have? [/INST] SELECT tries FROM table_name_83 WHERE player = "fakahau valu" </s>
What school did the punter picked after 101 attend?
CREATE TABLE table_name_62 (college VARCHAR, pick VARCHAR, position VARCHAR)
SELECT college FROM table_name_62 WHERE pick > 101 AND position = "punter"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (college VARCHAR, pick VARCHAR, position VARCHAR) Question: What school did the punter picked after 101 attend? [/INST] SELECT college FROM table_name_62 WHERE pick > 101 AND position = "punter" </s>
What player was picked 176?
CREATE TABLE table_name_51 (player VARCHAR, pick VARCHAR)
SELECT player FROM table_name_51 WHERE pick = 176
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (player VARCHAR, pick VARCHAR) Question: What player was picked 176? [/INST] SELECT player FROM table_name_51 WHERE pick = 176 </s>
What player was drafted 252?
CREATE TABLE table_name_52 (player VARCHAR, pick VARCHAR)
SELECT player FROM table_name_52 WHERE pick = 252
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (player VARCHAR, pick VARCHAR) Question: What player was drafted 252? [/INST] SELECT player FROM table_name_52 WHERE pick = 252 </s>
What is the venue where Collingwood played as the away team?
CREATE TABLE table_name_26 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_26 WHERE away_team = "collingwood"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (venue VARCHAR, away_team VARCHAR) Question: What is the venue where Collingwood played as the away team? [/INST] SELECT venue FROM table_name_26 WHERE away_team = "collingwood" </s>
What is the date of the game where South Melbourne was the away team?
CREATE TABLE table_name_58 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_58 WHERE away_team = "south melbourne"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (date VARCHAR, away_team VARCHAR) Question: What is the date of the game where South Melbourne was the away team? [/INST] SELECT date FROM table_name_58 WHERE away_team = "south melbourne" </s>
What is the average number of laps when the country was NL and the race number was smaller than 8?
CREATE TABLE table_name_96 (laps INTEGER, race_number VARCHAR, country VARCHAR)
SELECT AVG(laps) FROM table_name_96 WHERE race_number < 8 AND country = "nl"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (laps INTEGER, race_number VARCHAR, country VARCHAR) Question: What is the average number of laps when the country was NL and the race number was smaller than 8? [/INST] SELECT AVG(laps) FROM table_name_96 WHERE race_number < 8 AND country = "nl" </s>
What is the total number of E edges of the polyhedra with vertices V greater than 20?
CREATE TABLE table_name_32 (edges_e VARCHAR, vertices_v INTEGER)
SELECT COUNT(edges_e) FROM table_name_32 WHERE vertices_v > 20
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (edges_e VARCHAR, vertices_v INTEGER) Question: What is the total number of E edges of the polyhedra with vertices V greater than 20? [/INST] SELECT COUNT(edges_e) FROM table_name_32 WHERE vertices_v > 20 </s>
What are the points for the Seven Sisters RFC club?
CREATE TABLE table_name_71 (points VARCHAR, club VARCHAR)
SELECT points FROM table_name_71 WHERE club = "seven sisters rfc"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (points VARCHAR, club VARCHAR) Question: What are the points for the Seven Sisters RFC club? [/INST] SELECT points FROM table_name_71 WHERE club = "seven sisters rfc" </s>
How many tries were for the 7 lost?
CREATE TABLE table_name_87 (tries_for VARCHAR, lost VARCHAR)
SELECT tries_for FROM table_name_87 WHERE lost = "7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (tries_for VARCHAR, lost VARCHAR) Question: How many tries were for the 7 lost? [/INST] SELECT tries_for FROM table_name_87 WHERE lost = "7" </s>