instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What is the entrant in 1999?
CREATE TABLE table_name_64 (entrant VARCHAR, year VARCHAR)
SELECT entrant FROM table_name_64 WHERE year = 1999
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (entrant VARCHAR, year VARCHAR) Question: What is the entrant in 1999? [/INST] SELECT entrant FROM table_name_64 WHERE year = 1999 </s>
What is the most points when the chassis was Jaguar R3 later than 2002?
CREATE TABLE table_name_42 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_42 WHERE chassis = "jaguar r3" AND year > 2002
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (points INTEGER, chassis VARCHAR, year VARCHAR) Question: What is the most points when the chassis was Jaguar R3 later than 2002? [/INST] SELECT MAX(points) FROM table_name_42 WHERE chassis = "jaguar r3" AND year > 2002 </s>
What is the sum of skin depth with a resistivity of 1.12 and a relative permeability larger than 1?
CREATE TABLE table_name_30 (_inches VARCHAR, skin_depth INTEGER, resistivity__10_−6_ohm_inches_ VARCHAR, relative_permeability VARCHAR)
SELECT SUM(skin_depth), _inches FROM table_name_30 WHERE resistivity__10_−6_ohm_inches_ = 1.12 AND relative_permeability > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (_inches VARCHAR, skin_depth INTEGER, resistivity__10_−6_ohm_inches_ VARCHAR, relative_permeability VARCHAR) Question: What is the sum of skin depth with a resistivity of 1.12 and a relative permeability larger than 1? [/INST] SELECT SUM(skin_depth), _inches FROM table_name_30 WHERE resistivity__10_−6_ohm_inches_ = 1.12 AND relative_permeability > 1 </s>
How much does Jonathan Bender weigh?
CREATE TABLE table_name_2 (weight VARCHAR, player VARCHAR)
SELECT weight FROM table_name_2 WHERE player = "jonathan bender"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (weight VARCHAR, player VARCHAR) Question: How much does Jonathan Bender weigh? [/INST] SELECT weight FROM table_name_2 WHERE player = "jonathan bender" </s>
Of those with a height of 7-0, who weighs the most?
CREATE TABLE table_name_6 (weight INTEGER, height VARCHAR)
SELECT MAX(weight) FROM table_name_6 WHERE height = "7-0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (weight INTEGER, height VARCHAR) Question: Of those with a height of 7-0, who weighs the most? [/INST] SELECT MAX(weight) FROM table_name_6 WHERE height = "7-0" </s>
What does DeShawn Stevenson weigh?
CREATE TABLE table_name_52 (weight INTEGER, player VARCHAR)
SELECT SUM(weight) FROM table_name_52 WHERE player = "deshawn stevenson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (weight INTEGER, player VARCHAR) Question: What does DeShawn Stevenson weigh? [/INST] SELECT SUM(weight) FROM table_name_52 WHERE player = "deshawn stevenson" </s>
Name the highest roll for coed and authority of state integrated with sacred heart school
CREATE TABLE table_name_96 (roll INTEGER, name VARCHAR, gender VARCHAR, authority VARCHAR)
SELECT MAX(roll) FROM table_name_96 WHERE gender = "coed" AND authority = "state integrated" AND name = "sacred heart school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (roll INTEGER, name VARCHAR, gender VARCHAR, authority VARCHAR) Question: Name the highest roll for coed and authority of state integrated with sacred heart school [/INST] SELECT MAX(roll) FROM table_name_96 WHERE gender = "coed" AND authority = "state integrated" AND name = "sacred heart school" </s>
What is the displacement of the engine that has a Redline rpm higher than 4750, from 2005?
CREATE TABLE table_name_29 (displacement VARCHAR, redline__rpm_ VARCHAR, year VARCHAR)
SELECT displacement FROM table_name_29 WHERE redline__rpm_ > 4750 AND year = 2005
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (displacement VARCHAR, redline__rpm_ VARCHAR, year VARCHAR) Question: What is the displacement of the engine that has a Redline rpm higher than 4750, from 2005? [/INST] SELECT displacement FROM table_name_29 WHERE redline__rpm_ > 4750 AND year = 2005 </s>
From what year is the engine with engine code M57D30?
CREATE TABLE table_name_21 (year VARCHAR, engine_code VARCHAR)
SELECT year FROM table_name_21 WHERE engine_code = "m57d30"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (year VARCHAR, engine_code VARCHAR) Question: From what year is the engine with engine code M57D30? [/INST] SELECT year FROM table_name_21 WHERE engine_code = "m57d30" </s>
What is the average Redline RPM of engines with engine code M57TUD30, made after 2002?
CREATE TABLE table_name_49 (redline__rpm_ INTEGER, engine_code VARCHAR, year VARCHAR)
SELECT AVG(redline__rpm_) FROM table_name_49 WHERE engine_code = "m57tud30" AND year > 2002
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (redline__rpm_ INTEGER, engine_code VARCHAR, year VARCHAR) Question: What is the average Redline RPM of engines with engine code M57TUD30, made after 2002? [/INST] SELECT AVG(redline__rpm_) FROM table_name_49 WHERE engine_code = "m57tud30" AND year > 2002 </s>
What was the result against Beijing Hyundai?
CREATE TABLE table_name_43 (result_f_a VARCHAR, opponents VARCHAR)
SELECT result_f_a FROM table_name_43 WHERE opponents = "beijing hyundai"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (result_f_a VARCHAR, opponents VARCHAR) Question: What was the result against Beijing Hyundai? [/INST] SELECT result_f_a FROM table_name_43 WHERE opponents = "beijing hyundai" </s>
Was the game with Kashima antlers at home or away?
CREATE TABLE table_name_86 (h___a VARCHAR, opponents VARCHAR)
SELECT h___a FROM table_name_86 WHERE opponents = "kashima antlers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (h___a VARCHAR, opponents VARCHAR) Question: Was the game with Kashima antlers at home or away? [/INST] SELECT h___a FROM table_name_86 WHERE opponents = "kashima antlers" </s>
What date was the game against Royal Antwerp?
CREATE TABLE table_name_87 (date VARCHAR, opponents VARCHAR)
SELECT date FROM table_name_87 WHERE opponents = "royal antwerp"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (date VARCHAR, opponents VARCHAR) Question: What date was the game against Royal Antwerp? [/INST] SELECT date FROM table_name_87 WHERE opponents = "royal antwerp" </s>
What Records Time is 3:38?
CREATE TABLE table_name_19 (record VARCHAR, time VARCHAR)
SELECT record FROM table_name_19 WHERE time = "3:38"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (record VARCHAR, time VARCHAR) Question: What Records Time is 3:38? [/INST] SELECT record FROM table_name_19 WHERE time = "3:38" </s>
What Country has a number smaller than 56 in 2005 and of 14 in 2006?
CREATE TABLE table_name_47 (Id VARCHAR)
SELECT COUNT(2004) FROM table_name_47 WHERE 2005 < 56 AND 2006 = 14
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (Id VARCHAR) Question: What Country has a number smaller than 56 in 2005 and of 14 in 2006? [/INST] SELECT COUNT(2004) FROM table_name_47 WHERE 2005 < 56 AND 2006 = 14 </s>
What Country has a number smaller than 3 in 2004 and larger than 1 in 2005?
CREATE TABLE table_name_31 (Id VARCHAR)
SELECT COUNT(2006) FROM table_name_31 WHERE 2004 < 3 AND 2005 > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (Id VARCHAR) Question: What Country has a number smaller than 3 in 2004 and larger than 1 in 2005? [/INST] SELECT COUNT(2006) FROM table_name_31 WHERE 2004 < 3 AND 2005 > 1 </s>
The building with 48 floors has an address in Las Vegas of what?
CREATE TABLE table_name_2 (street_address VARCHAR, floors VARCHAR)
SELECT street_address FROM table_name_2 WHERE floors = 48
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (street_address VARCHAR, floors VARCHAR) Question: The building with 48 floors has an address in Las Vegas of what? [/INST] SELECT street_address FROM table_name_2 WHERE floors = 48 </s>
The Palazzo's street address is listed as what?
CREATE TABLE table_name_73 (street_address VARCHAR, name VARCHAR)
SELECT street_address FROM table_name_73 WHERE name = "the palazzo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (street_address VARCHAR, name VARCHAR) Question: The Palazzo's street address is listed as what? [/INST] SELECT street_address FROM table_name_73 WHERE name = "the palazzo" </s>
What's the title of the song by Winger?
CREATE TABLE table_name_83 (song_title VARCHAR, artist VARCHAR)
SELECT song_title FROM table_name_83 WHERE artist = "winger"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (song_title VARCHAR, artist VARCHAR) Question: What's the title of the song by Winger? [/INST] SELECT song_title FROM table_name_83 WHERE artist = "winger" </s>
What shows for 3rd place when Runner-up shows as runner-up?
CREATE TABLE table_name_36 (runner_up VARCHAR)
SELECT 3 AS rd_place FROM table_name_36 WHERE runner_up = "runner-up"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (runner_up VARCHAR) Question: What shows for 3rd place when Runner-up shows as runner-up? [/INST] SELECT 3 AS rd_place FROM table_name_36 WHERE runner_up = "runner-up" </s>
What year shows as Runner-up of england (24 pts)?
CREATE TABLE table_name_6 (year VARCHAR, runner_up VARCHAR)
SELECT year FROM table_name_6 WHERE runner_up = "england (24 pts)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (year VARCHAR, runner_up VARCHAR) Question: What year shows as Runner-up of england (24 pts)? [/INST] SELECT year FROM table_name_6 WHERE runner_up = "england (24 pts)" </s>
What shows for 3rd place when the venue was Pardubice?
CREATE TABLE table_name_81 (venue VARCHAR)
SELECT 3 AS rd_place FROM table_name_81 WHERE venue = "pardubice"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (venue VARCHAR) Question: What shows for 3rd place when the venue was Pardubice? [/INST] SELECT 3 AS rd_place FROM table_name_81 WHERE venue = "pardubice" </s>
what shows for 3rd place in 1990?
CREATE TABLE table_name_60 (year VARCHAR)
SELECT 3 AS rd_place FROM table_name_60 WHERE year = "1990"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (year VARCHAR) Question: what shows for 3rd place in 1990? [/INST] SELECT 3 AS rd_place FROM table_name_60 WHERE year = "1990" </s>
What year was the venue Landshut?
CREATE TABLE table_name_51 (year VARCHAR, venue VARCHAR)
SELECT year FROM table_name_51 WHERE venue = "landshut"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (year VARCHAR, venue VARCHAR) Question: What year was the venue Landshut? [/INST] SELECT year FROM table_name_51 WHERE venue = "landshut" </s>
What is the record when Tampa Bay is the visitor?
CREATE TABLE table_name_93 (record VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_93 WHERE visitor = "tampa bay"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (record VARCHAR, visitor VARCHAR) Question: What is the record when Tampa Bay is the visitor? [/INST] SELECT record FROM table_name_93 WHERE visitor = "tampa bay" </s>
What is the date when Joseph is the decision and San Jose is the home team?
CREATE TABLE table_name_40 (date VARCHAR, decision VARCHAR, home VARCHAR)
SELECT date FROM table_name_40 WHERE decision = "joseph" AND home = "san jose"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (date VARCHAR, decision VARCHAR, home VARCHAR) Question: What is the date when Joseph is the decision and San Jose is the home team? [/INST] SELECT date FROM table_name_40 WHERE decision = "joseph" AND home = "san jose" </s>
What is the date of the match when Detroit is the home team and Colorado is the visiting team?
CREATE TABLE table_name_21 (date VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_21 WHERE home = "detroit" AND visitor = "colorado"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (date VARCHAR, home VARCHAR, visitor VARCHAR) Question: What is the date of the match when Detroit is the home team and Colorado is the visiting team? [/INST] SELECT date FROM table_name_21 WHERE home = "detroit" AND visitor = "colorado" </s>
How many people were in attendance in a week over 4 on December 6, 1981?
CREATE TABLE table_name_76 (attendance VARCHAR, week VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_76 WHERE week > 4 AND date = "december 6, 1981"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (attendance VARCHAR, week VARCHAR, date VARCHAR) Question: How many people were in attendance in a week over 4 on December 6, 1981? [/INST] SELECT COUNT(attendance) FROM table_name_76 WHERE week > 4 AND date = "december 6, 1981" </s>
Name the least game for october 10 at shibe park
CREATE TABLE table_name_5 (game INTEGER, location VARCHAR, date VARCHAR)
SELECT MIN(game) FROM table_name_5 WHERE location = "shibe park" AND date = "october 10"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (game INTEGER, location VARCHAR, date VARCHAR) Question: Name the least game for october 10 at shibe park [/INST] SELECT MIN(game) FROM table_name_5 WHERE location = "shibe park" AND date = "october 10" </s>
What is the lowest bronze total that has a rank of 1 and more than 34 total medals?
CREATE TABLE table_name_83 (bronze INTEGER, rank VARCHAR, total VARCHAR)
SELECT MIN(bronze) FROM table_name_83 WHERE rank = "1" AND total > 34
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (bronze INTEGER, rank VARCHAR, total VARCHAR) Question: What is the lowest bronze total that has a rank of 1 and more than 34 total medals? [/INST] SELECT MIN(bronze) FROM table_name_83 WHERE rank = "1" AND total > 34 </s>
What is the lowest bronze total that has a silver total of 13 medals?
CREATE TABLE table_name_72 (bronze INTEGER, silver VARCHAR)
SELECT MIN(bronze) FROM table_name_72 WHERE silver = "13"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (bronze INTEGER, silver VARCHAR) Question: What is the lowest bronze total that has a silver total of 13 medals? [/INST] SELECT MIN(bronze) FROM table_name_72 WHERE silver = "13" </s>
With Appearances larger than 1, what is the Wins for the Reno Aces Team?
CREATE TABLE table_name_45 (wins INTEGER, team VARCHAR, appearances VARCHAR)
SELECT MIN(wins) FROM table_name_45 WHERE team = "reno aces" AND appearances > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (wins INTEGER, team VARCHAR, appearances VARCHAR) Question: With Appearances larger than 1, what is the Wins for the Reno Aces Team? [/INST] SELECT MIN(wins) FROM table_name_45 WHERE team = "reno aces" AND appearances > 1 </s>
For the Reno Aces, what are the Losses when they had 1 Appearances and a Winning Percentage of 1?
CREATE TABLE table_name_54 (losses INTEGER, team VARCHAR, appearances VARCHAR, winning_percentage VARCHAR)
SELECT SUM(losses) FROM table_name_54 WHERE appearances = 1 AND winning_percentage = 1 AND team = "reno aces"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (losses INTEGER, team VARCHAR, appearances VARCHAR, winning_percentage VARCHAR) Question: For the Reno Aces, what are the Losses when they had 1 Appearances and a Winning Percentage of 1? [/INST] SELECT SUM(losses) FROM table_name_54 WHERE appearances = 1 AND winning_percentage = 1 AND team = "reno aces" </s>
In 2009, what Appearances had a Winning Percentage of less than 0?
CREATE TABLE table_name_30 (appearances INTEGER, season_s_ VARCHAR, winning_percentage VARCHAR)
SELECT AVG(appearances) FROM table_name_30 WHERE season_s_ = "2009" AND winning_percentage < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (appearances INTEGER, season_s_ VARCHAR, winning_percentage VARCHAR) Question: In 2009, what Appearances had a Winning Percentage of less than 0? [/INST] SELECT AVG(appearances) FROM table_name_30 WHERE season_s_ = "2009" AND winning_percentage < 0 </s>
What is the chassis for the year of 1969?
CREATE TABLE table_name_85 (chassis VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_85 WHERE year = 1969
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (chassis VARCHAR, year VARCHAR) Question: What is the chassis for the year of 1969? [/INST] SELECT chassis FROM table_name_85 WHERE year = 1969 </s>
Which Occupation has a Rank of 5th, a Gender of M, with a Residence of orono?
CREATE TABLE table_name_71 (occupation VARCHAR, residence VARCHAR, rank VARCHAR, gender VARCHAR)
SELECT occupation FROM table_name_71 WHERE rank = "5th" AND gender = "m" AND residence = "orono"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (occupation VARCHAR, residence VARCHAR, rank VARCHAR, gender VARCHAR) Question: Which Occupation has a Rank of 5th, a Gender of M, with a Residence of orono? [/INST] SELECT occupation FROM table_name_71 WHERE rank = "5th" AND gender = "m" AND residence = "orono" </s>
Which Gender has a Residence of Haliburton?
CREATE TABLE table_name_28 (gender VARCHAR, residence VARCHAR)
SELECT gender FROM table_name_28 WHERE residence = "haliburton"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (gender VARCHAR, residence VARCHAR) Question: Which Gender has a Residence of Haliburton? [/INST] SELECT gender FROM table_name_28 WHERE residence = "haliburton" </s>
What's the lowest in Votes with a Rank of 5th, has an Occupation of retired, along with a Riding of Brant?
CREATE TABLE table_name_97 (votes INTEGER, riding VARCHAR, rank VARCHAR, occupation VARCHAR)
SELECT MIN(votes) FROM table_name_97 WHERE rank = "5th" AND occupation = "retired" AND riding = "brant"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (votes INTEGER, riding VARCHAR, rank VARCHAR, occupation VARCHAR) Question: What's the lowest in Votes with a Rank of 5th, has an Occupation of retired, along with a Riding of Brant? [/INST] SELECT MIN(votes) FROM table_name_97 WHERE rank = "5th" AND occupation = "retired" AND riding = "brant" </s>
What is the sum of the people in attendance when there was a Loss of clement (5–7)?
CREATE TABLE table_name_83 (attendance INTEGER, loss VARCHAR)
SELECT SUM(attendance) FROM table_name_83 WHERE loss = "clement (5–7)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (attendance INTEGER, loss VARCHAR) Question: What is the sum of the people in attendance when there was a Loss of clement (5–7)? [/INST] SELECT SUM(attendance) FROM table_name_83 WHERE loss = "clement (5–7)" </s>
What place was Corey Pavin in?
CREATE TABLE table_name_57 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_57 WHERE player = "corey pavin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (place VARCHAR, player VARCHAR) Question: What place was Corey Pavin in? [/INST] SELECT place FROM table_name_57 WHERE player = "corey pavin" </s>
What was the two-round score for Bob Tway?
CREATE TABLE table_name_45 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_45 WHERE player = "bob tway"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (score VARCHAR, player VARCHAR) Question: What was the two-round score for Bob Tway? [/INST] SELECT score FROM table_name_45 WHERE player = "bob tway" </s>
How many people went to the game that lasted 2:37 after game 2?
CREATE TABLE table_name_54 (attendance INTEGER, game VARCHAR, time VARCHAR)
SELECT SUM(attendance) FROM table_name_54 WHERE game > 2 AND time = "2:37"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (attendance INTEGER, game VARCHAR, time VARCHAR) Question: How many people went to the game that lasted 2:37 after game 2? [/INST] SELECT SUM(attendance) FROM table_name_54 WHERE game > 2 AND time = "2:37" </s>
What is the FCC info of the w214ba call sign with a frequency below 96.3?
CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
SELECT fcc_info FROM table_name_64 WHERE frequency_mhz < 96.3 AND call_sign = "w214ba"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) Question: What is the FCC info of the w214ba call sign with a frequency below 96.3? [/INST] SELECT fcc_info FROM table_name_64 WHERE frequency_mhz < 96.3 AND call_sign = "w214ba" </s>
What is the total number of the ERP W with a call sign of w242ak?
CREATE TABLE table_name_81 (erp_w VARCHAR, call_sign VARCHAR)
SELECT COUNT(erp_w) FROM table_name_81 WHERE call_sign = "w242ak"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (erp_w VARCHAR, call_sign VARCHAR) Question: What is the total number of the ERP W with a call sign of w242ak? [/INST] SELECT COUNT(erp_w) FROM table_name_81 WHERE call_sign = "w242ak" </s>
What is the FCC info of the station with a frequency above 95.3 and an ERP W smaller than 27 in Ocala, Florida?
CREATE TABLE table_name_48 (fcc_info VARCHAR, city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT fcc_info FROM table_name_48 WHERE frequency_mhz > 95.3 AND erp_w < 27 AND city_of_license = "ocala, florida"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (fcc_info VARCHAR, city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) Question: What is the FCC info of the station with a frequency above 95.3 and an ERP W smaller than 27 in Ocala, Florida? [/INST] SELECT fcc_info FROM table_name_48 WHERE frequency_mhz > 95.3 AND erp_w < 27 AND city_of_license = "ocala, florida" </s>
What date has an outcome of runner-up, and a Score of 6–4, 6–2, and a Opponents of gisela dulko flavia pennetta?
CREATE TABLE table_name_42 (date VARCHAR, opponents VARCHAR, outcome VARCHAR, score VARCHAR)
SELECT date FROM table_name_42 WHERE outcome = "runner-up" AND score = "6–4, 6–2" AND opponents = "gisela dulko flavia pennetta"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (date VARCHAR, opponents VARCHAR, outcome VARCHAR, score VARCHAR) Question: What date has an outcome of runner-up, and a Score of 6–4, 6–2, and a Opponents of gisela dulko flavia pennetta? [/INST] SELECT date FROM table_name_42 WHERE outcome = "runner-up" AND score = "6–4, 6–2" AND opponents = "gisela dulko flavia pennetta" </s>
In Round 10, what was the Overall for Ed Tomlin?
CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR)
SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR) Question: In Round 10, what was the Overall for Ed Tomlin? [/INST] SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin" </s>
What was the Position of Pick #23 in a Round less than 5 with 23 Overall?
CREATE TABLE table_name_53 (position VARCHAR, overall VARCHAR, round VARCHAR, pick__number VARCHAR)
SELECT position FROM table_name_53 WHERE round < 5 AND pick__number = 23 AND overall = 23
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (position VARCHAR, overall VARCHAR, round VARCHAR, pick__number VARCHAR) Question: What was the Position of Pick #23 in a Round less than 5 with 23 Overall? [/INST] SELECT position FROM table_name_53 WHERE round < 5 AND pick__number = 23 AND overall = 23 </s>
What Average Pick # has an Overall of 296?
CREATE TABLE table_name_8 (pick__number INTEGER, overall VARCHAR)
SELECT AVG(pick__number) FROM table_name_8 WHERE overall = 296
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (pick__number INTEGER, overall VARCHAR) Question: What Average Pick # has an Overall of 296? [/INST] SELECT AVG(pick__number) FROM table_name_8 WHERE overall = 296 </s>
In Round 13, what was the Pick # of the Guard Position with an Overall greater than 23?
CREATE TABLE table_name_53 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR)
SELECT pick__number FROM table_name_53 WHERE overall > 23 AND position = "guard" AND round = 13
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR) Question: In Round 13, what was the Pick # of the Guard Position with an Overall greater than 23? [/INST] SELECT pick__number FROM table_name_53 WHERE overall > 23 AND position = "guard" AND round = 13 </s>
With an Overall larger than 107, in what Round was Jim Duncan picked?
CREATE TABLE table_name_19 (round INTEGER, name VARCHAR, overall VARCHAR)
SELECT SUM(round) FROM table_name_19 WHERE name = "jim duncan" AND overall > 107
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (round INTEGER, name VARCHAR, overall VARCHAR) Question: With an Overall larger than 107, in what Round was Jim Duncan picked? [/INST] SELECT SUM(round) FROM table_name_19 WHERE name = "jim duncan" AND overall > 107 </s>
What is the highest Pick # for the College of Maryland-Eastern Shore?
CREATE TABLE table_name_97 (pick__number INTEGER, college VARCHAR)
SELECT MAX(pick__number) FROM table_name_97 WHERE college = "maryland-eastern shore"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (pick__number INTEGER, college VARCHAR) Question: What is the highest Pick # for the College of Maryland-Eastern Shore? [/INST] SELECT MAX(pick__number) FROM table_name_97 WHERE college = "maryland-eastern shore" </s>
What is Brown Motors best point total using the Offenhauser L4 engine since 1950?
CREATE TABLE table_name_72 (points INTEGER, entrant VARCHAR, year VARCHAR, engine VARCHAR)
SELECT MAX(points) FROM table_name_72 WHERE year > 1950 AND engine = "offenhauser l4" AND entrant = "brown motors"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (points INTEGER, entrant VARCHAR, year VARCHAR, engine VARCHAR) Question: What is Brown Motors best point total using the Offenhauser L4 engine since 1950? [/INST] SELECT MAX(points) FROM table_name_72 WHERE year > 1950 AND engine = "offenhauser l4" AND entrant = "brown motors" </s>
Name the length for stage of ss6
CREATE TABLE table_name_41 (length VARCHAR, stage VARCHAR)
SELECT length FROM table_name_41 WHERE stage = "ss6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (length VARCHAR, stage VARCHAR) Question: Name the length for stage of ss6 [/INST] SELECT length FROM table_name_41 WHERE stage = "ss6" </s>
Name the stage for m. grönholm and winner of s.loeb with time of 17:57
CREATE TABLE table_name_51 (stage VARCHAR, time__eest_ VARCHAR, rally_leader VARCHAR, winner VARCHAR)
SELECT stage FROM table_name_51 WHERE rally_leader = "m. grönholm" AND winner = "s.loeb" AND time__eest_ = "17:57"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (stage VARCHAR, time__eest_ VARCHAR, rally_leader VARCHAR, winner VARCHAR) Question: Name the stage for m. grönholm and winner of s.loeb with time of 17:57 [/INST] SELECT stage FROM table_name_51 WHERE rally_leader = "m. grönholm" AND winner = "s.loeb" AND time__eest_ = "17:57" </s>
Name the winner for schimatari 1
CREATE TABLE table_name_82 (winner VARCHAR, name VARCHAR)
SELECT winner FROM table_name_82 WHERE name = "schimatari 1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (winner VARCHAR, name VARCHAR) Question: Name the winner for schimatari 1 [/INST] SELECT winner FROM table_name_82 WHERE name = "schimatari 1" </s>
Name the stage for 08:46
CREATE TABLE table_name_85 (stage VARCHAR, time__eest_ VARCHAR)
SELECT stage FROM table_name_85 WHERE time__eest_ = "08:46"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (stage VARCHAR, time__eest_ VARCHAR) Question: Name the stage for 08:46 [/INST] SELECT stage FROM table_name_85 WHERE time__eest_ = "08:46" </s>
Name the winner with rally leader of c. atkinson and name of agia sotira 1
CREATE TABLE table_name_51 (winner VARCHAR, rally_leader VARCHAR, name VARCHAR)
SELECT winner FROM table_name_51 WHERE rally_leader = "c. atkinson" AND name = "agia sotira 1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (winner VARCHAR, rally_leader VARCHAR, name VARCHAR) Question: Name the winner with rally leader of c. atkinson and name of agia sotira 1 [/INST] SELECT winner FROM table_name_51 WHERE rally_leader = "c. atkinson" AND name = "agia sotira 1" </s>
Name the winner for ss14
CREATE TABLE table_name_82 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_82 WHERE stage = "ss14"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (winner VARCHAR, stage VARCHAR) Question: Name the winner for ss14 [/INST] SELECT winner FROM table_name_82 WHERE stage = "ss14" </s>
Who lost when the mariners played on September 12?
CREATE TABLE table_name_37 (loss VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT loss FROM table_name_37 WHERE opponent = "mariners" AND date = "september 12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (loss VARCHAR, opponent VARCHAR, date VARCHAR) Question: Who lost when the mariners played on September 12? [/INST] SELECT loss FROM table_name_37 WHERE opponent = "mariners" AND date = "september 12" </s>
On September 7 what was the record?
CREATE TABLE table_name_63 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_63 WHERE date = "september 7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (record VARCHAR, date VARCHAR) Question: On September 7 what was the record? [/INST] SELECT record FROM table_name_63 WHERE date = "september 7" </s>
Who plays on the date september 29?
CREATE TABLE table_name_48 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_48 WHERE date = "september 29"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (opponent VARCHAR, date VARCHAR) Question: Who plays on the date september 29? [/INST] SELECT opponent FROM table_name_48 WHERE date = "september 29" </s>
Which city of license has a wriq Call sign?
CREATE TABLE table_name_34 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_34 WHERE call_sign = "wriq"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (city_of_license VARCHAR, call_sign VARCHAR) Question: Which city of license has a wriq Call sign? [/INST] SELECT city_of_license FROM table_name_34 WHERE call_sign = "wriq" </s>
What is the total of Frequency MHz with a Class of b1?
CREATE TABLE table_name_99 (frequency_mhz INTEGER, class VARCHAR)
SELECT SUM(frequency_mhz) FROM table_name_99 WHERE class = "b1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (frequency_mhz INTEGER, class VARCHAR) Question: What is the total of Frequency MHz with a Class of b1? [/INST] SELECT SUM(frequency_mhz) FROM table_name_99 WHERE class = "b1" </s>
Which ERP W has a Class of A, and a Call sign of wffc?
CREATE TABLE table_name_50 (erp_w VARCHAR, class VARCHAR, call_sign VARCHAR)
SELECT erp_w FROM table_name_50 WHERE class = "a" AND call_sign = "wffc"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (erp_w VARCHAR, class VARCHAR, call_sign VARCHAR) Question: Which ERP W has a Class of A, and a Call sign of wffc? [/INST] SELECT erp_w FROM table_name_50 WHERE class = "a" AND call_sign = "wffc" </s>
Which class City of license of ferrum, virginia?
CREATE TABLE table_name_83 (class VARCHAR, city_of_license VARCHAR)
SELECT class FROM table_name_83 WHERE city_of_license = "ferrum, virginia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (class VARCHAR, city_of_license VARCHAR) Question: Which class City of license of ferrum, virginia? [/INST] SELECT class FROM table_name_83 WHERE city_of_license = "ferrum, virginia" </s>
Which call sign has a Class of A, and a Frequency MHz of 88.7?
CREATE TABLE table_name_1 (call_sign VARCHAR, class VARCHAR, frequency_mhz VARCHAR)
SELECT call_sign FROM table_name_1 WHERE class = "a" AND frequency_mhz = 88.7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (call_sign VARCHAR, class VARCHAR, frequency_mhz VARCHAR) Question: Which call sign has a Class of A, and a Frequency MHz of 88.7? [/INST] SELECT call_sign FROM table_name_1 WHERE class = "a" AND frequency_mhz = 88.7 </s>
what heat number had a time of 58.44?
CREATE TABLE table_name_49 (heat VARCHAR, time VARCHAR)
SELECT COUNT(heat) FROM table_name_49 WHERE time = "58.44"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (heat VARCHAR, time VARCHAR) Question: what heat number had a time of 58.44? [/INST] SELECT COUNT(heat) FROM table_name_49 WHERE time = "58.44" </s>
what lane was new zealand in?
CREATE TABLE table_name_86 (lane VARCHAR, nationality VARCHAR)
SELECT lane FROM table_name_86 WHERE nationality = "new zealand"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (lane VARCHAR, nationality VARCHAR) Question: what lane was new zealand in? [/INST] SELECT lane FROM table_name_86 WHERE nationality = "new zealand" </s>
What stage of the race was held on the course Reggio Calabria to Catanzaro?
CREATE TABLE table_name_89 (stage VARCHAR, course VARCHAR)
SELECT stage FROM table_name_89 WHERE course = "reggio calabria to catanzaro"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (stage VARCHAR, course VARCHAR) Question: What stage of the race was held on the course Reggio Calabria to Catanzaro? [/INST] SELECT stage FROM table_name_89 WHERE course = "reggio calabria to catanzaro" </s>
Who was the winner for the Rome to Teramo course?
CREATE TABLE table_name_97 (winner VARCHAR, course VARCHAR)
SELECT winner FROM table_name_97 WHERE course = "rome to teramo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (winner VARCHAR, course VARCHAR) Question: Who was the winner for the Rome to Teramo course? [/INST] SELECT winner FROM table_name_97 WHERE course = "rome to teramo" </s>
Who was the winner of stage 11?
CREATE TABLE table_name_25 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_25 WHERE stage = "11"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (winner VARCHAR, stage VARCHAR) Question: Who was the winner of stage 11? [/INST] SELECT winner FROM table_name_25 WHERE stage = "11" </s>
What is the average Apps of indonesia with Goals smaller than 1000?
CREATE TABLE table_name_64 (apps INTEGER, country VARCHAR, goals VARCHAR)
SELECT AVG(apps) FROM table_name_64 WHERE country = "indonesia" AND goals < 1000
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (apps INTEGER, country VARCHAR, goals VARCHAR) Question: What is the average Apps of indonesia with Goals smaller than 1000? [/INST] SELECT AVG(apps) FROM table_name_64 WHERE country = "indonesia" AND goals < 1000 </s>
What division is Traktor Tashkent in 2005?
CREATE TABLE table_name_83 (division VARCHAR, team VARCHAR, season VARCHAR)
SELECT division FROM table_name_83 WHERE team = "traktor tashkent" AND season = "2005"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (division VARCHAR, team VARCHAR, season VARCHAR) Question: What division is Traktor Tashkent in 2005? [/INST] SELECT division FROM table_name_83 WHERE team = "traktor tashkent" AND season = "2005" </s>
How many apps does Uzbekistan have in 2003?
CREATE TABLE table_name_41 (apps VARCHAR, country VARCHAR, season VARCHAR)
SELECT apps FROM table_name_41 WHERE country = "uzbekistan" AND season = "2003"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (apps VARCHAR, country VARCHAR, season VARCHAR) Question: How many apps does Uzbekistan have in 2003? [/INST] SELECT apps FROM table_name_41 WHERE country = "uzbekistan" AND season = "2003" </s>
What was the attendance at the game when the record was 74-77?
CREATE TABLE table_name_5 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_5 WHERE record = "74-77"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (attendance VARCHAR, record VARCHAR) Question: What was the attendance at the game when the record was 74-77? [/INST] SELECT attendance FROM table_name_5 WHERE record = "74-77" </s>
What was score of the game when the record was 72-74?
CREATE TABLE table_name_23 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_23 WHERE record = "72-74"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (score VARCHAR, record VARCHAR) Question: What was score of the game when the record was 72-74? [/INST] SELECT score FROM table_name_23 WHERE record = "72-74" </s>
What were the air-dates of the episodes before episode 4 that had a BBC One weekly ranking of 6?
CREATE TABLE table_name_34 (airdate VARCHAR, episode_no VARCHAR, bbc_one_weekly_ranking VARCHAR)
SELECT airdate FROM table_name_34 WHERE episode_no < 4 AND bbc_one_weekly_ranking = 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (airdate VARCHAR, episode_no VARCHAR, bbc_one_weekly_ranking VARCHAR) Question: What were the air-dates of the episodes before episode 4 that had a BBC One weekly ranking of 6? [/INST] SELECT airdate FROM table_name_34 WHERE episode_no < 4 AND bbc_one_weekly_ranking = 6 </s>
What was the total viewership for BBC One weekly rankings larger than 7, before episode 4?
CREATE TABLE table_name_30 (total_viewers VARCHAR, bbc_one_weekly_ranking VARCHAR, episode_no VARCHAR)
SELECT total_viewers FROM table_name_30 WHERE bbc_one_weekly_ranking > 7 AND episode_no < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (total_viewers VARCHAR, bbc_one_weekly_ranking VARCHAR, episode_no VARCHAR) Question: What was the total viewership for BBC One weekly rankings larger than 7, before episode 4? [/INST] SELECT total_viewers FROM table_name_30 WHERE bbc_one_weekly_ranking > 7 AND episode_no < 4 </s>
Name the most rank with bronze of 0 and silver more than 1 and gold more than 0
CREATE TABLE table_name_54 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT MAX(rank) FROM table_name_54 WHERE bronze = 0 AND silver > 1 AND gold > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) Question: Name the most rank with bronze of 0 and silver more than 1 and gold more than 0 [/INST] SELECT MAX(rank) FROM table_name_54 WHERE bronze = 0 AND silver > 1 AND gold > 0 </s>
Name the average silver with total less than 1
CREATE TABLE table_name_5 (silver INTEGER, total INTEGER)
SELECT AVG(silver) FROM table_name_5 WHERE total < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (silver INTEGER, total INTEGER) Question: Name the average silver with total less than 1 [/INST] SELECT AVG(silver) FROM table_name_5 WHERE total < 1 </s>
Name the average year for result of nominated
CREATE TABLE table_name_47 (year INTEGER, result VARCHAR)
SELECT AVG(year) FROM table_name_47 WHERE result = "nominated"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (year INTEGER, result VARCHAR) Question: Name the average year for result of nominated [/INST] SELECT AVG(year) FROM table_name_47 WHERE result = "nominated" </s>
Name the nominated work for 1996 and festival of black maria film and video festival
CREATE TABLE table_name_7 (nominated_work VARCHAR, year VARCHAR, festival VARCHAR)
SELECT nominated_work FROM table_name_7 WHERE year = 1996 AND festival = "black maria film and video festival"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (nominated_work VARCHAR, year VARCHAR, festival VARCHAR) Question: Name the nominated work for 1996 and festival of black maria film and video festival [/INST] SELECT nominated_work FROM table_name_7 WHERE year = 1996 AND festival = "black maria film and video festival" </s>
What was the date of the away game that they lost to Accrington?
CREATE TABLE table_name_6 (date VARCHAR, team VARCHAR, venue VARCHAR, win_draw_lose VARCHAR)
SELECT date FROM table_name_6 WHERE venue = "away" AND win_draw_lose = "lost" AND team = "accrington"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (date VARCHAR, team VARCHAR, venue VARCHAR, win_draw_lose VARCHAR) Question: What was the date of the away game that they lost to Accrington? [/INST] SELECT date FROM table_name_6 WHERE venue = "away" AND win_draw_lose = "lost" AND team = "accrington" </s>
What was the date of the home game against Accrington?
CREATE TABLE table_name_65 (date VARCHAR, team VARCHAR, venue VARCHAR)
SELECT date FROM table_name_65 WHERE team = "accrington" AND venue = "home"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (date VARCHAR, team VARCHAR, venue VARCHAR) Question: What was the date of the home game against Accrington? [/INST] SELECT date FROM table_name_65 WHERE team = "accrington" AND venue = "home" </s>
What was the result of the home game against Derby County?
CREATE TABLE table_name_71 (win_draw_lose VARCHAR, venue VARCHAR, team VARCHAR)
SELECT win_draw_lose FROM table_name_71 WHERE venue = "home" AND team = "derby county"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (win_draw_lose VARCHAR, venue VARCHAR, team VARCHAR) Question: What was the result of the home game against Derby County? [/INST] SELECT win_draw_lose FROM table_name_71 WHERE venue = "home" AND team = "derby county" </s>
What is the Standard cost (USD) by hans Oischinger Creator ?
CREATE TABLE table_name_27 (standard_cost__usd_ VARCHAR, creator VARCHAR)
SELECT standard_cost__usd_ FROM table_name_27 WHERE creator = "hans oischinger"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (standard_cost__usd_ VARCHAR, creator VARCHAR) Question: What is the Standard cost (USD) by hans Oischinger Creator ? [/INST] SELECT standard_cost__usd_ FROM table_name_27 WHERE creator = "hans oischinger" </s>
What is the Standard cost (USD) of Kwin team creator?
CREATE TABLE table_name_95 (standard_cost__usd_ VARCHAR, creator VARCHAR)
SELECT standard_cost__usd_ FROM table_name_95 WHERE creator = "kwin team"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (standard_cost__usd_ VARCHAR, creator VARCHAR) Question: What is the Standard cost (USD) of Kwin team creator? [/INST] SELECT standard_cost__usd_ FROM table_name_95 WHERE creator = "kwin team" </s>
Who is the Creator that has a version of 0.5.2 (part of compiz fusion release)?
CREATE TABLE table_name_45 (creator VARCHAR, latest_stable_version VARCHAR)
SELECT creator FROM table_name_45 WHERE latest_stable_version = "0.5.2 (part of compiz fusion release)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (creator VARCHAR, latest_stable_version VARCHAR) Question: Who is the Creator that has a version of 0.5.2 (part of compiz fusion release)? [/INST] SELECT creator FROM table_name_45 WHERE latest_stable_version = "0.5.2 (part of compiz fusion release)" </s>
Who is a Creator of hyriand?
CREATE TABLE table_name_47 (name VARCHAR, creator VARCHAR)
SELECT name FROM table_name_47 WHERE creator = "hyriand"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (name VARCHAR, creator VARCHAR) Question: Who is a Creator of hyriand? [/INST] SELECT name FROM table_name_47 WHERE creator = "hyriand" </s>
What is the number of people who attended the game later than game 6?
CREATE TABLE table_name_68 (attendance VARCHAR, game INTEGER)
SELECT COUNT(attendance) FROM table_name_68 WHERE game > 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (attendance VARCHAR, game INTEGER) Question: What is the number of people who attended the game later than game 6? [/INST] SELECT COUNT(attendance) FROM table_name_68 WHERE game > 6 </s>
Which title has a year later than 1986 with an album as the format?
CREATE TABLE table_name_29 (title VARCHAR, year VARCHAR, format_s_ VARCHAR)
SELECT title FROM table_name_29 WHERE year > 1986 AND format_s_ = "album"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (title VARCHAR, year VARCHAR, format_s_ VARCHAR) Question: Which title has a year later than 1986 with an album as the format? [/INST] SELECT title FROM table_name_29 WHERE year > 1986 AND format_s_ = "album" </s>
Which is the average year with the date of February 24?
CREATE TABLE table_name_70 (year INTEGER, date VARCHAR)
SELECT AVG(year) FROM table_name_70 WHERE date = "february 24"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (year INTEGER, date VARCHAR) Question: Which is the average year with the date of February 24? [/INST] SELECT AVG(year) FROM table_name_70 WHERE date = "february 24" </s>
Which award description has a year later than 1994 with a date of December 6?
CREATE TABLE table_name_84 (award_description_s_ VARCHAR, year VARCHAR, date VARCHAR)
SELECT award_description_s_ FROM table_name_84 WHERE year > 1994 AND date = "december 6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (award_description_s_ VARCHAR, year VARCHAR, date VARCHAR) Question: Which award description has a year later than 1994 with a date of December 6? [/INST] SELECT award_description_s_ FROM table_name_84 WHERE year > 1994 AND date = "december 6" </s>
How many goals have a Date of december 4, 2010, and a Score of 1-0?
CREATE TABLE table_name_91 (goal VARCHAR, date VARCHAR, score VARCHAR)
SELECT COUNT(goal) FROM table_name_91 WHERE date = "december 4, 2010" AND score = "1-0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (goal VARCHAR, date VARCHAR, score VARCHAR) Question: How many goals have a Date of december 4, 2010, and a Score of 1-0? [/INST] SELECT COUNT(goal) FROM table_name_91 WHERE date = "december 4, 2010" AND score = "1-0" </s>
Which venue has a Competition of 2008 myanmar grand royal challenge cup?
CREATE TABLE table_name_91 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_91 WHERE competition = "2008 myanmar grand royal challenge cup"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (venue VARCHAR, competition VARCHAR) Question: Which venue has a Competition of 2008 myanmar grand royal challenge cup? [/INST] SELECT venue FROM table_name_91 WHERE competition = "2008 myanmar grand royal challenge cup" </s>
Which venue has a Goal of 4?
CREATE TABLE table_name_62 (venue VARCHAR, goal VARCHAR)
SELECT venue FROM table_name_62 WHERE goal = 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (venue VARCHAR, goal VARCHAR) Question: Which venue has a Goal of 4? [/INST] SELECT venue FROM table_name_62 WHERE goal = 4 </s>
What is the largest goal with a Score of 3-0?
CREATE TABLE table_name_14 (goal INTEGER, score VARCHAR)
SELECT MAX(goal) FROM table_name_14 WHERE score = "3-0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (goal INTEGER, score VARCHAR) Question: What is the largest goal with a Score of 3-0? [/INST] SELECT MAX(goal) FROM table_name_14 WHERE score = "3-0" </s>
Who did Bruno Soares and a partner face in the finals on a clay surface on August 1, 2010?
CREATE TABLE table_name_37 (opponents_in_the_final VARCHAR, date VARCHAR, partnering VARCHAR, surface VARCHAR)
SELECT opponents_in_the_final FROM table_name_37 WHERE partnering = "bruno soares" AND surface = "clay" AND date = "august 1, 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (opponents_in_the_final VARCHAR, date VARCHAR, partnering VARCHAR, surface VARCHAR) Question: Who did Bruno Soares and a partner face in the finals on a clay surface on August 1, 2010? [/INST] SELECT opponents_in_the_final FROM table_name_37 WHERE partnering = "bruno soares" AND surface = "clay" AND date = "august 1, 2010" </s>
What surface was played on that resulted in a score of 4–6, 6–2, [10–7]?
CREATE TABLE table_name_67 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_67 WHERE score = "4–6, 6–2, [10–7]"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (surface VARCHAR, score VARCHAR) Question: What surface was played on that resulted in a score of 4–6, 6–2, [10–7]? [/INST] SELECT surface FROM table_name_67 WHERE score = "4–6, 6–2, [10–7]" </s>