instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
Name the number of cfl teams for jeff traversy
CREATE TABLE table_28059992_2 (cfl_team VARCHAR, player VARCHAR)
SELECT COUNT(cfl_team) FROM table_28059992_2 WHERE player = "Jeff Traversy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28059992_2 (cfl_team VARCHAR, player VARCHAR) Question: Name the number of cfl teams for jeff traversy [/INST] SELECT COUNT(cfl_team) FROM table_28059992_2 WHERE player = "Jeff Traversy" </s>
Name the position for british columbia
CREATE TABLE table_28059992_2 (position VARCHAR, college VARCHAR)
SELECT position FROM table_28059992_2 WHERE college = "British Columbia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28059992_2 (position VARCHAR, college VARCHAR) Question: Name the position for british columbia [/INST] SELECT position FROM table_28059992_2 WHERE college = "British Columbia" </s>
What original air date was the episode with production code of 5.05?
CREATE TABLE table_28089666_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_28089666_1 WHERE production_code = "5.05"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28089666_1 (original_air_date VARCHAR, production_code VARCHAR) Question: What original air date was the episode with production code of 5.05? [/INST] SELECT original_air_date FROM table_28089666_1 WHERE production_code = "5.05" </s>
Who wrote episode with production code 1.01?
CREATE TABLE table_28089666_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_28089666_1 WHERE production_code = "1.01"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28089666_1 (written_by VARCHAR, production_code VARCHAR) Question: Who wrote episode with production code 1.01? [/INST] SELECT written_by FROM table_28089666_1 WHERE production_code = "1.01" </s>
What is the title when the director is Maynard C. Virgil i ?
CREATE TABLE table_28140588_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_28140588_1 WHERE directed_by = "Maynard C. Virgil I"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28140588_1 (title VARCHAR, directed_by VARCHAR) Question: What is the title when the director is Maynard C. Virgil i ? [/INST] SELECT title FROM table_28140588_1 WHERE directed_by = "Maynard C. Virgil I" </s>
Who is the director when the production code is 60034?
CREATE TABLE table_28140588_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_28140588_1 WHERE production_code = 60034
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28140588_1 (directed_by VARCHAR, production_code VARCHAR) Question: Who is the director when the production code is 60034? [/INST] SELECT directed_by FROM table_28140588_1 WHERE production_code = 60034 </s>
What is the name of the episode with 418 as the production code?
CREATE TABLE table_2818164_5 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_2818164_5 WHERE production_code = 418
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2818164_5 (title VARCHAR, production_code VARCHAR) Question: What is the name of the episode with 418 as the production code? [/INST] SELECT title FROM table_2818164_5 WHERE production_code = 418 </s>
What episoe number in the season originally aired on February 11, 1988?
CREATE TABLE table_2818164_5 (no_in_season VARCHAR, original_air_date VARCHAR)
SELECT no_in_season FROM table_2818164_5 WHERE original_air_date = "February 11, 1988"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2818164_5 (no_in_season VARCHAR, original_air_date VARCHAR) Question: What episoe number in the season originally aired on February 11, 1988? [/INST] SELECT no_in_season FROM table_2818164_5 WHERE original_air_date = "February 11, 1988" </s>
What episode number in the series is also number 17 in the season?
CREATE TABLE table_2818164_5 (no_in_series VARCHAR, no_in_season VARCHAR)
SELECT no_in_series FROM table_2818164_5 WHERE no_in_season = "17"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2818164_5 (no_in_series VARCHAR, no_in_season VARCHAR) Question: What episode number in the series is also number 17 in the season? [/INST] SELECT no_in_series FROM table_2818164_5 WHERE no_in_season = "17" </s>
What is the production code for episode 96 in the series?
CREATE TABLE table_2818164_5 (production_code INTEGER, no_in_series VARCHAR)
SELECT MIN(production_code) FROM table_2818164_5 WHERE no_in_series = "96"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2818164_5 (production_code INTEGER, no_in_series VARCHAR) Question: What is the production code for episode 96 in the series? [/INST] SELECT MIN(production_code) FROM table_2818164_5 WHERE no_in_series = "96" </s>
What is the production code that was written by matt robinson?
CREATE TABLE table_2818164_7 (production_code VARCHAR, written_by VARCHAR)
SELECT production_code FROM table_2818164_7 WHERE written_by = "Matt Robinson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2818164_7 (production_code VARCHAR, written_by VARCHAR) Question: What is the production code that was written by matt robinson? [/INST] SELECT production_code FROM table_2818164_7 WHERE written_by = "Matt Robinson" </s>
Which title has 147 as no. in series?
CREATE TABLE table_2818164_7 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_2818164_7 WHERE no_in_series = 147
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2818164_7 (title VARCHAR, no_in_series VARCHAR) Question: Which title has 147 as no. in series? [/INST] SELECT title FROM table_2818164_7 WHERE no_in_series = 147 </s>
What is the original air date the was written by mark st. germain and direct by jay sandrich?
CREATE TABLE table_2818164_7 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR)
SELECT original_air_date FROM table_2818164_7 WHERE written_by = "Mark St. Germain" AND directed_by = "Jay Sandrich"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2818164_7 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR) Question: What is the original air date the was written by mark st. germain and direct by jay sandrich? [/INST] SELECT original_air_date FROM table_2818164_7 WHERE written_by = "Mark St. Germain" AND directed_by = "Jay Sandrich" </s>
What are the networks whose version of the show includes the judges batuhan zeynioğlu piatti murat bozok erol kaynar?
CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR)
SELECT network FROM table_28190363_1 WHERE judges = "Batuhan Zeynioğlu Piatti Murat Bozok Erol Kaynar"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR) Question: What are the networks whose version of the show includes the judges batuhan zeynioğlu piatti murat bozok erol kaynar? [/INST] SELECT network FROM table_28190363_1 WHERE judges = "Batuhan Zeynioğlu Piatti Murat Bozok Erol Kaynar" </s>
How many networks are there that include the judges pete goffe-wood andrew atkinson benny masekwameng?
CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR)
SELECT COUNT(network) FROM table_28190363_1 WHERE judges = "Pete Goffe-Wood Andrew Atkinson Benny Masekwameng"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR) Question: How many networks are there that include the judges pete goffe-wood andrew atkinson benny masekwameng? [/INST] SELECT COUNT(network) FROM table_28190363_1 WHERE judges = "Pete Goffe-Wood Andrew Atkinson Benny Masekwameng" </s>
How many networks are there whose version of the shows includes judges tba and the presenter is Arbana Osmani?
CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR, presenter_s_ VARCHAR)
SELECT COUNT(network) FROM table_28190363_1 WHERE judges = "TBA" AND presenter_s_ = "Arbana Osmani"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR, presenter_s_ VARCHAR) Question: How many networks are there whose version of the shows includes judges tba and the presenter is Arbana Osmani? [/INST] SELECT COUNT(network) FROM table_28190363_1 WHERE judges = "TBA" AND presenter_s_ = "Arbana Osmani" </s>
How many sets of presenters are there for the version of the show named Celebrity Masterchef?
CREATE TABLE table_28190363_1 (presenter_s_ VARCHAR, name VARCHAR)
SELECT COUNT(presenter_s_) FROM table_28190363_1 WHERE name = "Celebrity MasterChef"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28190363_1 (presenter_s_ VARCHAR, name VARCHAR) Question: How many sets of presenters are there for the version of the show named Celebrity Masterchef? [/INST] SELECT COUNT(presenter_s_) FROM table_28190363_1 WHERE name = "Celebrity MasterChef" </s>
Who is the incumbent of district pa-8?
CREATE TABLE table_28188239_1 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_28188239_1 WHERE district = "PA-8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28188239_1 (incumbent VARCHAR, district VARCHAR) Question: Who is the incumbent of district pa-8? [/INST] SELECT incumbent FROM table_28188239_1 WHERE district = "PA-8" </s>
How many incumbents are in district la-1?
CREATE TABLE table_28188239_1 (incumbent VARCHAR, district VARCHAR)
SELECT COUNT(incumbent) FROM table_28188239_1 WHERE district = "LA-1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28188239_1 (incumbent VARCHAR, district VARCHAR) Question: How many incumbents are in district la-1? [/INST] SELECT COUNT(incumbent) FROM table_28188239_1 WHERE district = "LA-1" </s>
Who directed the episode whose production code is pabf05?
CREATE TABLE table_28194879_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_28194879_1 WHERE production_code = "PABF05"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28194879_1 (directed_by VARCHAR, production_code VARCHAR) Question: Who directed the episode whose production code is pabf05? [/INST] SELECT directed_by FROM table_28194879_1 WHERE production_code = "PABF05" </s>
What is the last number in season of the episodes written by Dan Vebber?
CREATE TABLE table_28194879_1 (_number INTEGER, written_by VARCHAR)
SELECT MAX(_number) FROM table_28194879_1 WHERE written_by = "Dan Vebber"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28194879_1 (_number INTEGER, written_by VARCHAR) Question: What is the last number in season of the episodes written by Dan Vebber? [/INST] SELECT MAX(_number) FROM table_28194879_1 WHERE written_by = "Dan Vebber" </s>
What is the number in season of the episode whose production code is pabf05?
CREATE TABLE table_28194879_1 (_number VARCHAR, production_code VARCHAR)
SELECT _number FROM table_28194879_1 WHERE production_code = "PABF05"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28194879_1 (_number VARCHAR, production_code VARCHAR) Question: What is the number in season of the episode whose production code is pabf05? [/INST] SELECT _number FROM table_28194879_1 WHERE production_code = "PABF05" </s>
When were the Spartans founded?
CREATE TABLE table_28211213_1 (founded INTEGER, team_nickname VARCHAR)
SELECT MAX(founded) FROM table_28211213_1 WHERE team_nickname = "Spartans"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28211213_1 (founded INTEGER, team_nickname VARCHAR) Question: When were the Spartans founded? [/INST] SELECT MAX(founded) FROM table_28211213_1 WHERE team_nickname = "Spartans" </s>
How many affiliations does the University of Toledo have?
CREATE TABLE table_28211213_1 (affiliation VARCHAR, institution VARCHAR)
SELECT COUNT(affiliation) FROM table_28211213_1 WHERE institution = "University of Toledo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28211213_1 (affiliation VARCHAR, institution VARCHAR) Question: How many affiliations does the University of Toledo have? [/INST] SELECT COUNT(affiliation) FROM table_28211213_1 WHERE institution = "University of Toledo" </s>
What is the affiliation of Davenport University?
CREATE TABLE table_28211213_1 (affiliation VARCHAR, institution VARCHAR)
SELECT affiliation FROM table_28211213_1 WHERE institution = "Davenport University"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28211213_1 (affiliation VARCHAR, institution VARCHAR) Question: What is the affiliation of Davenport University? [/INST] SELECT affiliation FROM table_28211213_1 WHERE institution = "Davenport University" </s>
Name the affiliation for 27209 enrollment
CREATE TABLE table_28253870_1 (affiliation VARCHAR, enrollment VARCHAR)
SELECT affiliation FROM table_28253870_1 WHERE enrollment = 27209
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28253870_1 (affiliation VARCHAR, enrollment VARCHAR) Question: Name the affiliation for 27209 enrollment [/INST] SELECT affiliation FROM table_28253870_1 WHERE enrollment = 27209 </s>
Name the least founded
CREATE TABLE table_28253870_1 (founded INTEGER)
SELECT MIN(founded) FROM table_28253870_1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28253870_1 (founded INTEGER) Question: Name the least founded [/INST] SELECT MIN(founded) FROM table_28253870_1 </s>
Name the founded for florida state university
CREATE TABLE table_28253870_1 (founded VARCHAR, institution VARCHAR)
SELECT founded FROM table_28253870_1 WHERE institution = "Florida State University"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28253870_1 (founded VARCHAR, institution VARCHAR) Question: Name the founded for florida state university [/INST] SELECT founded FROM table_28253870_1 WHERE institution = "Florida State University" </s>
Name the location for yellow jackets
CREATE TABLE table_28253870_1 (location VARCHAR, team_nickname VARCHAR)
SELECT location FROM table_28253870_1 WHERE team_nickname = "Yellow Jackets"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28253870_1 (location VARCHAR, team_nickname VARCHAR) Question: Name the location for yellow jackets [/INST] SELECT location FROM table_28253870_1 WHERE team_nickname = "Yellow Jackets" </s>
How many college teams have a player with a nationality of Russia?
CREATE TABLE table_2840500_6 (college_junior_club_team VARCHAR, nationality VARCHAR)
SELECT COUNT(college_junior_club_team) FROM table_2840500_6 WHERE nationality = "Russia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2840500_6 (college_junior_club_team VARCHAR, nationality VARCHAR) Question: How many college teams have a player with a nationality of Russia? [/INST] SELECT COUNT(college_junior_club_team) FROM table_2840500_6 WHERE nationality = "Russia" </s>
Which pick did Michel Larocque receive?
CREATE TABLE table_2840500_6 (pick VARCHAR, player VARCHAR)
SELECT pick FROM table_2840500_6 WHERE player = "Michel Larocque"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2840500_6 (pick VARCHAR, player VARCHAR) Question: Which pick did Michel Larocque receive? [/INST] SELECT pick FROM table_2840500_6 WHERE player = "Michel Larocque" </s>
Which team picked Blaine Russell?
CREATE TABLE table_2840500_6 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_2840500_6 WHERE player = "Blaine Russell"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2840500_6 (nhl_team VARCHAR, player VARCHAR) Question: Which team picked Blaine Russell? [/INST] SELECT nhl_team FROM table_2840500_6 WHERE player = "Blaine Russell" </s>
How many entries for district home are listed for the 87th congress?
CREATE TABLE table_2841865_2 (district_home VARCHAR, congress VARCHAR)
SELECT COUNT(district_home) FROM table_2841865_2 WHERE congress = "87th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2841865_2 (district_home VARCHAR, congress VARCHAR) Question: How many entries for district home are listed for the 87th congress? [/INST] SELECT COUNT(district_home) FROM table_2841865_2 WHERE congress = "87th" </s>
What time span is listed under years for the 96th congres?
CREATE TABLE table_2841865_2 (years VARCHAR, congress VARCHAR)
SELECT years FROM table_2841865_2 WHERE congress = "96th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2841865_2 (years VARCHAR, congress VARCHAR) Question: What time span is listed under years for the 96th congres? [/INST] SELECT years FROM table_2841865_2 WHERE congress = "96th" </s>
What party is listed for the Representative under the 85th congress?
CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR)
SELECT party FROM table_2841865_2 WHERE congress = "85th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR) Question: What party is listed for the Representative under the 85th congress? [/INST] SELECT party FROM table_2841865_2 WHERE congress = "85th" </s>
How many entries are listed for party during the 69th congress?
CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR)
SELECT COUNT(party) FROM table_2841865_2 WHERE congress = "69th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR) Question: How many entries are listed for party during the 69th congress? [/INST] SELECT COUNT(party) FROM table_2841865_2 WHERE congress = "69th" </s>
What frame of time is listed under years during the 72nd congress?
CREATE TABLE table_2841865_2 (years VARCHAR, congress VARCHAR)
SELECT years FROM table_2841865_2 WHERE congress = "72nd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2841865_2 (years VARCHAR, congress VARCHAR) Question: What frame of time is listed under years during the 72nd congress? [/INST] SELECT years FROM table_2841865_2 WHERE congress = "72nd" </s>
What name is listed under representative for the 112th congress?
CREATE TABLE table_2841865_2 (representative VARCHAR, congress VARCHAR)
SELECT representative FROM table_2841865_2 WHERE congress = "112th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2841865_2 (representative VARCHAR, congress VARCHAR) Question: What name is listed under representative for the 112th congress? [/INST] SELECT representative FROM table_2841865_2 WHERE congress = "112th" </s>
What is the value of the runner up column for the Alberta province?
CREATE TABLE table_28457809_3 (runner_up INTEGER, province VARCHAR)
SELECT MAX(runner_up) FROM table_28457809_3 WHERE province = "Alberta"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28457809_3 (runner_up INTEGER, province VARCHAR) Question: What is the value of the runner up column for the Alberta province? [/INST] SELECT MAX(runner_up) FROM table_28457809_3 WHERE province = "Alberta" </s>
What year was Ontario's first LLCR?
CREATE TABLE table_28457809_3 (first_llcr VARCHAR, province VARCHAR)
SELECT first_llcr FROM table_28457809_3 WHERE province = "Ontario"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28457809_3 (first_llcr VARCHAR, province VARCHAR) Question: What year was Ontario's first LLCR? [/INST] SELECT first_llcr FROM table_28457809_3 WHERE province = "Ontario" </s>
What is the pinyin name for the english name xin county?
CREATE TABLE table_2847477_2 (pinyin VARCHAR, english_name VARCHAR)
SELECT pinyin FROM table_2847477_2 WHERE english_name = "Xin County"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2847477_2 (pinyin VARCHAR, english_name VARCHAR) Question: What is the pinyin name for the english name xin county? [/INST] SELECT pinyin FROM table_2847477_2 WHERE english_name = "Xin County" </s>
What is the area of 罗山县?
CREATE TABLE table_2847477_2 (area VARCHAR, simplified VARCHAR)
SELECT area FROM table_2847477_2 WHERE simplified = "罗山县"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2847477_2 (area VARCHAR, simplified VARCHAR) Question: What is the area of 罗山县? [/INST] SELECT area FROM table_2847477_2 WHERE simplified = "罗山县" </s>
What is the English name of gùshǐ xiàn?
CREATE TABLE table_2847477_2 (english_name VARCHAR, pinyin VARCHAR)
SELECT english_name FROM table_2847477_2 WHERE pinyin = "Gùshǐ Xiàn"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2847477_2 (english_name VARCHAR, pinyin VARCHAR) Question: What is the English name of gùshǐ xiàn? [/INST] SELECT english_name FROM table_2847477_2 WHERE pinyin = "Gùshǐ Xiàn" </s>
How many simplified names are there for xin county?
CREATE TABLE table_2847477_2 (simplified VARCHAR, english_name VARCHAR)
SELECT COUNT(simplified) FROM table_2847477_2 WHERE english_name = "Xin County"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2847477_2 (simplified VARCHAR, english_name VARCHAR) Question: How many simplified names are there for xin county? [/INST] SELECT COUNT(simplified) FROM table_2847477_2 WHERE english_name = "Xin County" </s>
What is the density of the place with an area of 1512?
CREATE TABLE table_2847477_2 (density INTEGER, area VARCHAR)
SELECT MAX(density) FROM table_2847477_2 WHERE area = 1512
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2847477_2 (density INTEGER, area VARCHAR) Question: What is the density of the place with an area of 1512? [/INST] SELECT MAX(density) FROM table_2847477_2 WHERE area = 1512 </s>
What is the area of xin county?
CREATE TABLE table_2847477_2 (area VARCHAR, english_name VARCHAR)
SELECT area FROM table_2847477_2 WHERE english_name = "Xin County"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2847477_2 (area VARCHAR, english_name VARCHAR) Question: What is the area of xin county? [/INST] SELECT area FROM table_2847477_2 WHERE english_name = "Xin County" </s>
How many positions are associated with the St. Louis Blues?
CREATE TABLE table_2850912_4 (position VARCHAR, nhl_team VARCHAR)
SELECT COUNT(position) FROM table_2850912_4 WHERE nhl_team = "St. Louis Blues"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2850912_4 (position VARCHAR, nhl_team VARCHAR) Question: How many positions are associated with the St. Louis Blues? [/INST] SELECT COUNT(position) FROM table_2850912_4 WHERE nhl_team = "St. Louis Blues" </s>
Which junior team is associated with an NHL pick by the Buffalo Sabres?
CREATE TABLE table_2850912_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
SELECT college_junior_club_team FROM table_2850912_4 WHERE nhl_team = "Buffalo Sabres"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2850912_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR) Question: Which junior team is associated with an NHL pick by the Buffalo Sabres? [/INST] SELECT college_junior_club_team FROM table_2850912_4 WHERE nhl_team = "Buffalo Sabres" </s>
Which position was selected for by the Toronto Maple Leafs?
CREATE TABLE table_2850912_4 (position VARCHAR, nhl_team VARCHAR)
SELECT position FROM table_2850912_4 WHERE nhl_team = "Toronto Maple Leafs"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2850912_4 (position VARCHAR, nhl_team VARCHAR) Question: Which position was selected for by the Toronto Maple Leafs? [/INST] SELECT position FROM table_2850912_4 WHERE nhl_team = "Toronto Maple Leafs" </s>
How many different college/junior/club teams had player John Dzikowski?
CREATE TABLE table_2850912_6 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT COUNT(college_junior_club_team) FROM table_2850912_6 WHERE player = "John Dzikowski"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2850912_6 (college_junior_club_team VARCHAR, player VARCHAR) Question: How many different college/junior/club teams had player John Dzikowski? [/INST] SELECT COUNT(college_junior_club_team) FROM table_2850912_6 WHERE player = "John Dzikowski" </s>
What pick was Greg Strome?
CREATE TABLE table_2850912_6 (pick__number INTEGER, player VARCHAR)
SELECT MAX(pick__number) FROM table_2850912_6 WHERE player = "Greg Strome"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2850912_6 (pick__number INTEGER, player VARCHAR) Question: What pick was Greg Strome? [/INST] SELECT MAX(pick__number) FROM table_2850912_6 WHERE player = "Greg Strome" </s>
What is the gender of the cunningham hill infant school?
CREATE TABLE table_28523_2 (gender VARCHAR, school VARCHAR)
SELECT gender FROM table_28523_2 WHERE school = "Cunningham Hill Infant school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28523_2 (gender VARCHAR, school VARCHAR) Question: What is the gender of the cunningham hill infant school? [/INST] SELECT gender FROM table_28523_2 WHERE school = "Cunningham Hill Infant school" </s>
What is the gender with a age range of 3-11 at the st adrian roman catholic primary school?
CREATE TABLE table_28523_2 (gender VARCHAR, age_range VARCHAR, school VARCHAR)
SELECT gender FROM table_28523_2 WHERE age_range = "3-11" AND school = "St Adrian Roman Catholic Primary school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28523_2 (gender VARCHAR, age_range VARCHAR, school VARCHAR) Question: What is the gender with a age range of 3-11 at the st adrian roman catholic primary school? [/INST] SELECT gender FROM table_28523_2 WHERE age_range = "3-11" AND school = "St Adrian Roman Catholic Primary school" </s>
What is the website of the cunningham hill infant school?
CREATE TABLE table_28523_2 (school VARCHAR)
SELECT school AS website FROM table_28523_2 WHERE school = "Cunningham Hill Infant school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28523_2 (school VARCHAR) Question: What is the website of the cunningham hill infant school? [/INST] SELECT school AS website FROM table_28523_2 WHERE school = "Cunningham Hill Infant school" </s>
Where is the cunningham hill infant school located?
CREATE TABLE table_28523_2 (location VARCHAR, school VARCHAR)
SELECT location FROM table_28523_2 WHERE school = "Cunningham Hill Infant school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28523_2 (location VARCHAR, school VARCHAR) Question: Where is the cunningham hill infant school located? [/INST] SELECT location FROM table_28523_2 WHERE school = "Cunningham Hill Infant school" </s>
Name the event 3 deadlift for hennie jordan
CREATE TABLE table_28540428_3 (event_3_deadlift VARCHAR, name VARCHAR)
SELECT event_3_deadlift FROM table_28540428_3 WHERE name = "Hennie Jordan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28540428_3 (event_3_deadlift VARCHAR, name VARCHAR) Question: Name the event 3 deadlift for hennie jordan [/INST] SELECT event_3_deadlift FROM table_28540428_3 WHERE name = "Hennie Jordan" </s>
How many rebounds per game did Andrej Džaković average when playing 35 minutes per game?
CREATE TABLE table_28547289_1 (rebounds_per_game VARCHAR, minutes_per_game VARCHAR)
SELECT rebounds_per_game FROM table_28547289_1 WHERE minutes_per_game = "35"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28547289_1 (rebounds_per_game VARCHAR, minutes_per_game VARCHAR) Question: How many rebounds per game did Andrej Džaković average when playing 35 minutes per game? [/INST] SELECT rebounds_per_game FROM table_28547289_1 WHERE minutes_per_game = "35" </s>
What are all the winning records when the result is Scotland won on points table and the Runner-Up result is [[|]] 4 points?
CREATE TABLE table_28601467_1 (winner VARCHAR, result VARCHAR, runner_up VARCHAR)
SELECT winner FROM table_28601467_1 WHERE result = "Scotland won on points table" AND runner_up = "[[|]] 4 points"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28601467_1 (winner VARCHAR, result VARCHAR, runner_up VARCHAR) Question: What are all the winning records when the result is Scotland won on points table and the Runner-Up result is [[|]] 4 points? [/INST] SELECT winner FROM table_28601467_1 WHERE result = "Scotland won on points table" AND runner_up = "[[|]] 4 points" </s>
What is the runner-up record where winner record is Ireland 59 points?
CREATE TABLE table_28601467_1 (runner_up VARCHAR, winner VARCHAR)
SELECT runner_up FROM table_28601467_1 WHERE winner = "Ireland 59 points"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28601467_1 (runner_up VARCHAR, winner VARCHAR) Question: What is the runner-up record where winner record is Ireland 59 points? [/INST] SELECT runner_up FROM table_28601467_1 WHERE winner = "Ireland 59 points" </s>
Which nation hosted the competition in 2004?
CREATE TABLE table_28601467_1 (host_nation_s_ VARCHAR, year VARCHAR)
SELECT host_nation_s_ FROM table_28601467_1 WHERE year = 2004
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28601467_1 (host_nation_s_ VARCHAR, year VARCHAR) Question: Which nation hosted the competition in 2004? [/INST] SELECT host_nation_s_ FROM table_28601467_1 WHERE year = 2004 </s>
What was the final venue whene England hasted the competition and the runner-up record is [[|]] 4 points and the winner record is [[|]] 6 points?
CREATE TABLE table_28601467_1 (final_venue VARCHAR, winner VARCHAR, host_nation_s_ VARCHAR, runner_up VARCHAR)
SELECT final_venue FROM table_28601467_1 WHERE host_nation_s_ = "England" AND runner_up = "[[|]] 4 points" AND winner = "[[|]] 6 points"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28601467_1 (final_venue VARCHAR, winner VARCHAR, host_nation_s_ VARCHAR, runner_up VARCHAR) Question: What was the final venue whene England hasted the competition and the runner-up record is [[|]] 4 points and the winner record is [[|]] 6 points? [/INST] SELECT final_venue FROM table_28601467_1 WHERE host_nation_s_ = "England" AND runner_up = "[[|]] 4 points" AND winner = "[[|]] 6 points" </s>
What is the most recent year in which the winner record is Ireland 4 points?
CREATE TABLE table_28601467_1 (year INTEGER, winner VARCHAR)
SELECT MAX(year) FROM table_28601467_1 WHERE winner = "Ireland 4 points"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28601467_1 (year INTEGER, winner VARCHAR) Question: What is the most recent year in which the winner record is Ireland 4 points? [/INST] SELECT MAX(year) FROM table_28601467_1 WHERE winner = "Ireland 4 points" </s>
under which president was gunther volz executed?
CREATE TABLE table_2861364_1 (under_president VARCHAR, executed_person VARCHAR)
SELECT under_president FROM table_2861364_1 WHERE executed_person = "Gunther Volz"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2861364_1 (under_president VARCHAR, executed_person VARCHAR) Question: under which president was gunther volz executed? [/INST] SELECT under_president FROM table_2861364_1 WHERE executed_person = "Gunther Volz" </s>
who was executed during president charles de gaulle's reign for thr crime of child murder after rape?
CREATE TABLE table_2861364_1 (executed_person VARCHAR, under_president VARCHAR, crime VARCHAR)
SELECT executed_person FROM table_2861364_1 WHERE under_president = "Charles de Gaulle" AND crime = "Child murder after rape"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2861364_1 (executed_person VARCHAR, under_president VARCHAR, crime VARCHAR) Question: who was executed during president charles de gaulle's reign for thr crime of child murder after rape? [/INST] SELECT executed_person FROM table_2861364_1 WHERE under_president = "Charles de Gaulle" AND crime = "Child murder after rape" </s>
where was mazouz ghaouti executed?
CREATE TABLE table_2861364_1 (place_of_execution VARCHAR, executed_person VARCHAR)
SELECT place_of_execution FROM table_2861364_1 WHERE executed_person = "Mazouz Ghaouti"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2861364_1 (place_of_execution VARCHAR, executed_person VARCHAR) Question: where was mazouz ghaouti executed? [/INST] SELECT place_of_execution FROM table_2861364_1 WHERE executed_person = "Mazouz Ghaouti" </s>
for what crime was gunther volz executed at metz?
CREATE TABLE table_2861364_1 (crime VARCHAR, place_of_execution VARCHAR, executed_person VARCHAR)
SELECT crime FROM table_2861364_1 WHERE place_of_execution = "Metz" AND executed_person = "Gunther Volz"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2861364_1 (crime VARCHAR, place_of_execution VARCHAR, executed_person VARCHAR) Question: for what crime was gunther volz executed at metz? [/INST] SELECT crime FROM table_2861364_1 WHERE place_of_execution = "Metz" AND executed_person = "Gunther Volz" </s>
How many of Asian release statuses does Uno HD have?
CREATE TABLE table_28621502_1 (asia VARCHAR, title VARCHAR)
SELECT COUNT(asia) FROM table_28621502_1 WHERE title = "UNO HD"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28621502_1 (asia VARCHAR, title VARCHAR) Question: How many of Asian release statuses does Uno HD have? [/INST] SELECT COUNT(asia) FROM table_28621502_1 WHERE title = "UNO HD" </s>
Which titles have been published by Gamehouse Live?
CREATE TABLE table_28621502_1 (title VARCHAR, publisher VARCHAR)
SELECT title FROM table_28621502_1 WHERE publisher = "GameHouse Live"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28621502_1 (title VARCHAR, publisher VARCHAR) Question: Which titles have been published by Gamehouse Live? [/INST] SELECT title FROM table_28621502_1 WHERE publisher = "GameHouse Live" </s>
What was pinky's bmi at the reunion?
CREATE TABLE table_28654454_5 (reunion_bmi VARCHAR, contestant VARCHAR)
SELECT reunion_bmi FROM table_28654454_5 WHERE contestant = "Pinky"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28654454_5 (reunion_bmi VARCHAR, contestant VARCHAR) Question: What was pinky's bmi at the reunion? [/INST] SELECT reunion_bmi FROM table_28654454_5 WHERE contestant = "Pinky" </s>
What was miles's bmi att the reunion?
CREATE TABLE table_28654454_5 (reunion_bmi VARCHAR, contestant VARCHAR)
SELECT COUNT(reunion_bmi) FROM table_28654454_5 WHERE contestant = "Miles"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28654454_5 (reunion_bmi VARCHAR, contestant VARCHAR) Question: What was miles's bmi att the reunion? [/INST] SELECT COUNT(reunion_bmi) FROM table_28654454_5 WHERE contestant = "Miles" </s>
How many lbs were lost at the reunion by the contestant whose finale weight was 151.4?
CREATE TABLE table_28654454_5 (lbs_lost_reunion VARCHAR, finale_weight VARCHAR)
SELECT lbs_lost_reunion FROM table_28654454_5 WHERE finale_weight = "151.4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28654454_5 (lbs_lost_reunion VARCHAR, finale_weight VARCHAR) Question: How many lbs were lost at the reunion by the contestant whose finale weight was 151.4? [/INST] SELECT lbs_lost_reunion FROM table_28654454_5 WHERE finale_weight = "151.4" </s>
How many contestants had a starting bmi of 33.1?
CREATE TABLE table_28654454_5 (finale_weight VARCHAR, starting_bmi VARCHAR)
SELECT COUNT(finale_weight) FROM table_28654454_5 WHERE starting_bmi = "33.1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28654454_5 (finale_weight VARCHAR, starting_bmi VARCHAR) Question: How many contestants had a starting bmi of 33.1? [/INST] SELECT COUNT(finale_weight) FROM table_28654454_5 WHERE starting_bmi = "33.1" </s>
What is the reunion weight of the contestant that lost 52 lbs at the reunion?
CREATE TABLE table_28654454_5 (reunion_weight VARCHAR, lbs_lost_reunion VARCHAR)
SELECT reunion_weight FROM table_28654454_5 WHERE lbs_lost_reunion = 52
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28654454_5 (reunion_weight VARCHAR, lbs_lost_reunion VARCHAR) Question: What is the reunion weight of the contestant that lost 52 lbs at the reunion? [/INST] SELECT reunion_weight FROM table_28654454_5 WHERE lbs_lost_reunion = 52 </s>
What is the reunion weight of the contestant who lost 74.4 lbs at the finale?
CREATE TABLE table_28654454_5 (reunion_weight VARCHAR, lbs_lost_finale VARCHAR)
SELECT reunion_weight FROM table_28654454_5 WHERE lbs_lost_finale = "74.4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28654454_5 (reunion_weight VARCHAR, lbs_lost_finale VARCHAR) Question: What is the reunion weight of the contestant who lost 74.4 lbs at the finale? [/INST] SELECT reunion_weight FROM table_28654454_5 WHERE lbs_lost_finale = "74.4" </s>
Who is the team when the category is blocks per game?
CREATE TABLE table_28628309_8 (team VARCHAR, category VARCHAR)
SELECT team FROM table_28628309_8 WHERE category = "Blocks per game"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28628309_8 (team VARCHAR, category VARCHAR) Question: Who is the team when the category is blocks per game? [/INST] SELECT team FROM table_28628309_8 WHERE category = "Blocks per game" </s>
What is the listed in games played when the player is jimmy alapag?
CREATE TABLE table_28628309_8 (games_played VARCHAR, player VARCHAR)
SELECT games_played FROM table_28628309_8 WHERE player = "Jimmy Alapag"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28628309_8 (games_played VARCHAR, player VARCHAR) Question: What is the listed in games played when the player is jimmy alapag? [/INST] SELECT games_played FROM table_28628309_8 WHERE player = "Jimmy Alapag" </s>
What is the team when player is listed as Ronjay Buenafe?
CREATE TABLE table_28628309_8 (team VARCHAR, player VARCHAR)
SELECT team FROM table_28628309_8 WHERE player = "Ronjay Buenafe"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28628309_8 (team VARCHAR, player VARCHAR) Question: What is the team when player is listed as Ronjay Buenafe? [/INST] SELECT team FROM table_28628309_8 WHERE player = "Ronjay Buenafe" </s>
What is the name of the player when the category is listed as field goal percentage?
CREATE TABLE table_28628309_8 (player VARCHAR, category VARCHAR)
SELECT player FROM table_28628309_8 WHERE category = "Field goal percentage"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28628309_8 (player VARCHAR, category VARCHAR) Question: What is the name of the player when the category is listed as field goal percentage? [/INST] SELECT player FROM table_28628309_8 WHERE category = "Field goal percentage" </s>
What is the games played when the category is points per game?
CREATE TABLE table_28628309_8 (games_played INTEGER, category VARCHAR)
SELECT MIN(games_played) FROM table_28628309_8 WHERE category = "Points per game"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28628309_8 (games_played INTEGER, category VARCHAR) Question: What is the games played when the category is points per game? [/INST] SELECT MIN(games_played) FROM table_28628309_8 WHERE category = "Points per game" </s>
Who is the player when the category is steals per game?
CREATE TABLE table_28628309_9 (player VARCHAR, category VARCHAR)
SELECT player FROM table_28628309_9 WHERE category = "Steals per game"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28628309_9 (player VARCHAR, category VARCHAR) Question: Who is the player when the category is steals per game? [/INST] SELECT player FROM table_28628309_9 WHERE category = "Steals per game" </s>
What are the names of the categories when the player is olsen racela?
CREATE TABLE table_28628309_9 (category VARCHAR, player VARCHAR)
SELECT category FROM table_28628309_9 WHERE player = "Olsen Racela"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28628309_9 (category VARCHAR, player VARCHAR) Question: What are the names of the categories when the player is olsen racela? [/INST] SELECT category FROM table_28628309_9 WHERE player = "Olsen Racela" </s>
How many times is a total listed when the player is Jay Washington?
CREATE TABLE table_28628309_9 (totals VARCHAR, player VARCHAR)
SELECT COUNT(totals) FROM table_28628309_9 WHERE player = "Jay Washington"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28628309_9 (totals VARCHAR, player VARCHAR) Question: How many times is a total listed when the player is Jay Washington? [/INST] SELECT COUNT(totals) FROM table_28628309_9 WHERE player = "Jay Washington" </s>
What is the total listed when the average is 0.667 and the category is 3-pt field goal percentage?
CREATE TABLE table_28628309_9 (totals VARCHAR, average VARCHAR, category VARCHAR)
SELECT totals FROM table_28628309_9 WHERE average = "0.667" AND category = "3-pt field goal percentage"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28628309_9 (totals VARCHAR, average VARCHAR, category VARCHAR) Question: What is the total listed when the average is 0.667 and the category is 3-pt field goal percentage? [/INST] SELECT totals FROM table_28628309_9 WHERE average = "0.667" AND category = "3-pt field goal percentage" </s>
What is the name of the player when the category is 3-pt field goal percentage?
CREATE TABLE table_28628309_9 (player VARCHAR, category VARCHAR)
SELECT player FROM table_28628309_9 WHERE category = "3-pt field goal percentage"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28628309_9 (player VARCHAR, category VARCHAR) Question: What is the name of the player when the category is 3-pt field goal percentage? [/INST] SELECT player FROM table_28628309_9 WHERE category = "3-pt field goal percentage" </s>
What are the titles of episodes with 5.66 million US viewers?
CREATE TABLE table_2866514_1 (title VARCHAR, us_viewers__million_ VARCHAR)
SELECT title FROM table_2866514_1 WHERE us_viewers__million_ = "5.66"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2866514_1 (title VARCHAR, us_viewers__million_ VARCHAR) Question: What are the titles of episodes with 5.66 million US viewers? [/INST] SELECT title FROM table_2866514_1 WHERE us_viewers__million_ = "5.66" </s>
What are the titles of episodes directed by whitney ransick?
CREATE TABLE table_2866514_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_2866514_1 WHERE directed_by = "Whitney Ransick"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2866514_1 (title VARCHAR, directed_by VARCHAR) Question: What are the titles of episodes directed by whitney ransick? [/INST] SELECT title FROM table_2866514_1 WHERE directed_by = "Whitney Ransick" </s>
Who wrote the episode with 3.96 million US viewers?
CREATE TABLE table_2866514_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_2866514_1 WHERE us_viewers__million_ = "3.96"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2866514_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) Question: Who wrote the episode with 3.96 million US viewers? [/INST] SELECT written_by FROM table_2866514_1 WHERE us_viewers__million_ = "3.96" </s>
What was the maximum value that Christer Tornell gave when Trine Dehli Cleve gave a 9?
CREATE TABLE table_28677723_8 (christer_tornell INTEGER, trine_dehli_cleve VARCHAR)
SELECT MAX(christer_tornell) FROM table_28677723_8 WHERE trine_dehli_cleve = 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28677723_8 (christer_tornell INTEGER, trine_dehli_cleve VARCHAR) Question: What was the maximum value that Christer Tornell gave when Trine Dehli Cleve gave a 9? [/INST] SELECT MAX(christer_tornell) FROM table_28677723_8 WHERE trine_dehli_cleve = 9 </s>
How many games did Robert Peare play?
CREATE TABLE table_28693349_2 (games INTEGER, player VARCHAR)
SELECT MAX(games) FROM table_28693349_2 WHERE player = "Robert Peare"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28693349_2 (games INTEGER, player VARCHAR) Question: How many games did Robert Peare play? [/INST] SELECT MAX(games) FROM table_28693349_2 WHERE player = "Robert Peare" </s>
How many free throws did Charles Pearman score?
CREATE TABLE table_28693349_2 (free_throws INTEGER, player VARCHAR)
SELECT MAX(free_throws) FROM table_28693349_2 WHERE player = "Charles Pearman"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28693349_2 (free_throws INTEGER, player VARCHAR) Question: How many free throws did Charles Pearman score? [/INST] SELECT MAX(free_throws) FROM table_28693349_2 WHERE player = "Charles Pearman" </s>
How many shared titles does the club whose last final was 2012 have?
CREATE TABLE table_2869837_1 (Shared VARCHAR, last_final VARCHAR)
SELECT Shared AS titles FROM table_2869837_1 WHERE last_final = 2012
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2869837_1 (Shared VARCHAR, last_final VARCHAR) Question: How many shared titles does the club whose last final was 2012 have? [/INST] SELECT Shared AS titles FROM table_2869837_1 WHERE last_final = 2012 </s>
What was the year of the last final for the club whose last title was 1990?
CREATE TABLE table_2869837_1 (last_final VARCHAR, last_title VARCHAR)
SELECT last_final FROM table_2869837_1 WHERE last_title = "1990"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2869837_1 (last_final VARCHAR, last_title VARCHAR) Question: What was the year of the last final for the club whose last title was 1990? [/INST] SELECT last_final FROM table_2869837_1 WHERE last_title = "1990" </s>
What is the minimum number of shared titles for the club whose last final was in 2006?
CREATE TABLE table_2869837_1 (Shared INTEGER, last_final VARCHAR)
SELECT MIN(Shared) AS titles FROM table_2869837_1 WHERE last_final = 2006
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2869837_1 (Shared INTEGER, last_final VARCHAR) Question: What is the minimum number of shared titles for the club whose last final was in 2006? [/INST] SELECT MIN(Shared) AS titles FROM table_2869837_1 WHERE last_final = 2006 </s>
What is the latest year of last final for the club whose last title was in 1994?
CREATE TABLE table_2869837_1 (last_final INTEGER, last_title VARCHAR)
SELECT MAX(last_final) FROM table_2869837_1 WHERE last_title = "1994"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2869837_1 (last_final INTEGER, last_title VARCHAR) Question: What is the latest year of last final for the club whose last title was in 1994? [/INST] SELECT MAX(last_final) FROM table_2869837_1 WHERE last_title = "1994" </s>
What are the number of runners up for Royal School Dungannon?
CREATE TABLE table_2869837_1 (runners_up VARCHAR, school VARCHAR)
SELECT runners_up FROM table_2869837_1 WHERE school = "Royal school Dungannon"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2869837_1 (runners_up VARCHAR, school VARCHAR) Question: What are the number of runners up for Royal School Dungannon? [/INST] SELECT runners_up FROM table_2869837_1 WHERE school = "Royal school Dungannon" </s>
What is the track whent the vocal percussionist is unknown?
CREATE TABLE table_28715942_5 (track VARCHAR, vocal_percussionist VARCHAR)
SELECT track FROM table_28715942_5 WHERE vocal_percussionist = "unknown"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28715942_5 (track VARCHAR, vocal_percussionist VARCHAR) Question: What is the track whent the vocal percussionist is unknown? [/INST] SELECT track FROM table_28715942_5 WHERE vocal_percussionist = "unknown" </s>
Who is the arranger when the vocal percussionist is Alexei Kalveks and Dave Brennan?
CREATE TABLE table_28715942_5 (arranger_s_ VARCHAR, vocal_percussionist VARCHAR)
SELECT arranger_s_ FROM table_28715942_5 WHERE vocal_percussionist = "Alexei Kalveks and Dave Brennan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28715942_5 (arranger_s_ VARCHAR, vocal_percussionist VARCHAR) Question: Who is the arranger when the vocal percussionist is Alexei Kalveks and Dave Brennan? [/INST] SELECT arranger_s_ FROM table_28715942_5 WHERE vocal_percussionist = "Alexei Kalveks and Dave Brennan" </s>
What is the original artist when the vocal percussionist is Alexei Kalveks?
CREATE TABLE table_28715942_5 (original_artist VARCHAR, vocal_percussionist VARCHAR)
SELECT original_artist FROM table_28715942_5 WHERE vocal_percussionist = "Alexei Kalveks"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28715942_5 (original_artist VARCHAR, vocal_percussionist VARCHAR) Question: What is the original artist when the vocal percussionist is Alexei Kalveks? [/INST] SELECT original_artist FROM table_28715942_5 WHERE vocal_percussionist = "Alexei Kalveks" </s>
How few km 2 does the area with Nay Pyi Taw as capital cover?
CREATE TABLE table_28741_1 (area__km_2__ INTEGER, capital VARCHAR)
SELECT MIN(area__km_2__) FROM table_28741_1 WHERE capital = "Nay Pyi Taw"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28741_1 (area__km_2__ INTEGER, capital VARCHAR) Question: How few km 2 does the area with Nay Pyi Taw as capital cover? [/INST] SELECT MIN(area__km_2__) FROM table_28741_1 WHERE capital = "Nay Pyi Taw" </s>
What is the 2012 population of Indonesia?
CREATE TABLE table_28741_1 (population_2012_ VARCHAR, country VARCHAR)
SELECT population_2012_ FROM table_28741_1 WHERE country = "Indonesia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28741_1 (population_2012_ VARCHAR, country VARCHAR) Question: What is the 2012 population of Indonesia? [/INST] SELECT population_2012_ FROM table_28741_1 WHERE country = "Indonesia" </s>