instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
Which engine had a 48kw (65 ps) @ 5600 rpm power?
CREATE TABLE table_name_61 (engine VARCHAR, power VARCHAR)
SELECT engine FROM table_name_61 WHERE power = "48kw (65 ps) @ 5600 rpm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (engine VARCHAR, power VARCHAR) Question: Which engine had a 48kw (65 ps) @ 5600 rpm power? [/INST] SELECT engine FROM table_name_61 WHERE power = "48kw (65 ps) @ 5600 rpm" </s>
Which model had a power of 66kw (90 ps) @ 6250 rpm?
CREATE TABLE table_name_94 (model VARCHAR, power VARCHAR)
SELECT model FROM table_name_94 WHERE power = "66kw (90 ps) @ 6250 rpm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (model VARCHAR, power VARCHAR) Question: Which model had a power of 66kw (90 ps) @ 6250 rpm? [/INST] SELECT model FROM table_name_94 WHERE power = "66kw (90 ps) @ 6250 rpm" </s>
Which of the engines has a displacement of 1,585 cc, with a model number of 90i?
CREATE TABLE table_name_78 (engine VARCHAR, displacement VARCHAR, model VARCHAR)
SELECT engine FROM table_name_78 WHERE displacement = "1,585 cc" AND model = "90i"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (engine VARCHAR, displacement VARCHAR, model VARCHAR) Question: Which of the engines has a displacement of 1,585 cc, with a model number of 90i? [/INST] SELECT engine FROM table_name_78 WHERE displacement = "1,585 cc" AND model = "90i" </s>
Who was the opponent at memorial stadium?
CREATE TABLE table_name_25 (opponent VARCHAR, venue VARCHAR)
SELECT opponent FROM table_name_25 WHERE venue = "memorial stadium"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (opponent VARCHAR, venue VARCHAR) Question: Who was the opponent at memorial stadium? [/INST] SELECT opponent FROM table_name_25 WHERE venue = "memorial stadium" </s>
Which Height has a Player of mike bibby?
CREATE TABLE table_name_43 (height VARCHAR, player VARCHAR)
SELECT height FROM table_name_43 WHERE player = "mike bibby"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (height VARCHAR, player VARCHAR) Question: Which Height has a Player of mike bibby? [/INST] SELECT height FROM table_name_43 WHERE player = "mike bibby" </s>
Which Pos has a First round smaller than 10?
CREATE TABLE table_name_11 (pos VARCHAR, first_round INTEGER)
SELECT pos FROM table_name_11 WHERE first_round < 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (pos VARCHAR, first_round INTEGER) Question: Which Pos has a First round smaller than 10? [/INST] SELECT pos FROM table_name_11 WHERE first_round < 10 </s>
How many points have a loss less than 5, and 0 for draws?
CREATE TABLE table_name_96 (points VARCHAR, losses VARCHAR, draws VARCHAR)
SELECT COUNT(points) FROM table_name_96 WHERE losses < 5 AND draws = 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (points VARCHAR, losses VARCHAR, draws VARCHAR) Question: How many points have a loss less than 5, and 0 for draws? [/INST] SELECT COUNT(points) FROM table_name_96 WHERE losses < 5 AND draws = 0 </s>
What is the lowest points that has w-2 (w-league) as the league, and draws greater than 2?
CREATE TABLE table_name_23 (points INTEGER, league VARCHAR, draws VARCHAR)
SELECT MIN(points) FROM table_name_23 WHERE league = "w-2 (w-league)" AND draws > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (points INTEGER, league VARCHAR, draws VARCHAR) Question: What is the lowest points that has w-2 (w-league) as the league, and draws greater than 2? [/INST] SELECT MIN(points) FROM table_name_23 WHERE league = "w-2 (w-league)" AND draws > 2 </s>
What is the lowest wins that has a year prior to 1999, with draws greater than 1, and points greater than 17?
CREATE TABLE table_name_11 (wins INTEGER, points VARCHAR, year VARCHAR, draws VARCHAR)
SELECT MIN(wins) FROM table_name_11 WHERE year < 1999 AND draws > 1 AND points > 17
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (wins INTEGER, points VARCHAR, year VARCHAR, draws VARCHAR) Question: What is the lowest wins that has a year prior to 1999, with draws greater than 1, and points greater than 17? [/INST] SELECT MIN(wins) FROM table_name_11 WHERE year < 1999 AND draws > 1 AND points > 17 </s>
How many losses have a year later than 2001?
CREATE TABLE table_name_52 (losses INTEGER, year INTEGER)
SELECT SUM(losses) FROM table_name_52 WHERE year > 2001
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (losses INTEGER, year INTEGER) Question: How many losses have a year later than 2001? [/INST] SELECT SUM(losses) FROM table_name_52 WHERE year > 2001 </s>
Which county includes Himco Dump?
CREATE TABLE table_name_80 (county VARCHAR, name VARCHAR)
SELECT county FROM table_name_80 WHERE name = "himco dump"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (county VARCHAR, name VARCHAR) Question: Which county includes Himco Dump? [/INST] SELECT county FROM table_name_80 WHERE name = "himco dump" </s>
Drawn of 0, and a Games larger than 5 has what amount of highest points?
CREATE TABLE table_name_62 (points INTEGER, drawn VARCHAR, games VARCHAR)
SELECT MAX(points) FROM table_name_62 WHERE drawn = 0 AND games > 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (points INTEGER, drawn VARCHAR, games VARCHAR) Question: Drawn of 0, and a Games larger than 5 has what amount of highest points? [/INST] SELECT MAX(points) FROM table_name_62 WHERE drawn = 0 AND games > 5 </s>
Lost larger than 4 is what highest drawn?
CREATE TABLE table_name_75 (drawn INTEGER, lost INTEGER)
SELECT MAX(drawn) FROM table_name_75 WHERE lost > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (drawn INTEGER, lost INTEGER) Question: Lost larger than 4 is what highest drawn? [/INST] SELECT MAX(drawn) FROM table_name_75 WHERE lost > 4 </s>
Points difference of 18 - 33, and a Points smaller than 4 is the total of what sum of games?
CREATE TABLE table_name_10 (games INTEGER, points_difference VARCHAR, points VARCHAR)
SELECT SUM(games) FROM table_name_10 WHERE points_difference = "18 - 33" AND points < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (games INTEGER, points_difference VARCHAR, points VARCHAR) Question: Points difference of 18 - 33, and a Points smaller than 4 is the total of what sum of games? [/INST] SELECT SUM(games) FROM table_name_10 WHERE points_difference = "18 - 33" AND points < 4 </s>
Which First elected is the highest one that has a Party of dem, and a District larger than 24, and a Home city/town of berlin?
CREATE TABLE table_name_73 (first_elected INTEGER, home_city_town VARCHAR, party VARCHAR, district VARCHAR)
SELECT MAX(first_elected) FROM table_name_73 WHERE party = "dem" AND district > 24 AND home_city_town = "berlin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (first_elected INTEGER, home_city_town VARCHAR, party VARCHAR, district VARCHAR) Question: Which First elected is the highest one that has a Party of dem, and a District larger than 24, and a Home city/town of berlin? [/INST] SELECT MAX(first_elected) FROM table_name_73 WHERE party = "dem" AND district > 24 AND home_city_town = "berlin" </s>
What record has pittsburgh as the visitor, and November 23 as the date?
CREATE TABLE table_name_45 (record VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT record FROM table_name_45 WHERE visitor = "pittsburgh" AND date = "november 23"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (record VARCHAR, visitor VARCHAR, date VARCHAR) Question: What record has pittsburgh as the visitor, and November 23 as the date? [/INST] SELECT record FROM table_name_45 WHERE visitor = "pittsburgh" AND date = "november 23" </s>
What record has points less than 16, and detroit as the home?
CREATE TABLE table_name_13 (record VARCHAR, points VARCHAR, home VARCHAR)
SELECT record FROM table_name_13 WHERE points < 16 AND home = "detroit"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (record VARCHAR, points VARCHAR, home VARCHAR) Question: What record has points less than 16, and detroit as the home? [/INST] SELECT record FROM table_name_13 WHERE points < 16 AND home = "detroit" </s>
How many points have pittsburgh as the visitor, and philadelphia as the home?
CREATE TABLE table_name_38 (points VARCHAR, visitor VARCHAR, home VARCHAR)
SELECT COUNT(points) FROM table_name_38 WHERE visitor = "pittsburgh" AND home = "philadelphia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (points VARCHAR, visitor VARCHAR, home VARCHAR) Question: How many points have pittsburgh as the visitor, and philadelphia as the home? [/INST] SELECT COUNT(points) FROM table_name_38 WHERE visitor = "pittsburgh" AND home = "philadelphia" </s>
What points have pittsburgh as the home, and November 29 as the date?
CREATE TABLE table_name_30 (points VARCHAR, home VARCHAR, date VARCHAR)
SELECT points FROM table_name_30 WHERE home = "pittsburgh" AND date = "november 29"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (points VARCHAR, home VARCHAR, date VARCHAR) Question: What points have pittsburgh as the home, and November 29 as the date? [/INST] SELECT points FROM table_name_30 WHERE home = "pittsburgh" AND date = "november 29" </s>
What was the attendance at the game on December 11, 1966?
CREATE TABLE table_name_66 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_66 WHERE date = "december 11, 1966"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (attendance VARCHAR, date VARCHAR) Question: What was the attendance at the game on December 11, 1966? [/INST] SELECT attendance FROM table_name_66 WHERE date = "december 11, 1966" </s>
What was the latest week with a result of l 14-3?
CREATE TABLE table_name_83 (week INTEGER, result VARCHAR)
SELECT MAX(week) FROM table_name_83 WHERE result = "l 14-3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (week INTEGER, result VARCHAR) Question: What was the latest week with a result of l 14-3? [/INST] SELECT MAX(week) FROM table_name_83 WHERE result = "l 14-3" </s>
What was the total number of weeks with a date of bye?
CREATE TABLE table_name_14 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_name_14 WHERE date = "bye"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (week VARCHAR, date VARCHAR) Question: What was the total number of weeks with a date of bye? [/INST] SELECT COUNT(week) FROM table_name_14 WHERE date = "bye" </s>
Who was the opponent at the game with a result of W 26-20?
CREATE TABLE table_name_20 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_20 WHERE result = "w 26-20"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (opponent VARCHAR, result VARCHAR) Question: Who was the opponent at the game with a result of W 26-20? [/INST] SELECT opponent FROM table_name_20 WHERE result = "w 26-20" </s>
What was the attendance at the week 2 game?
CREATE TABLE table_name_89 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_89 WHERE week = 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (attendance VARCHAR, week VARCHAR) Question: What was the attendance at the week 2 game? [/INST] SELECT attendance FROM table_name_89 WHERE week = 2 </s>
Before 1981, how many Points did Team Suzuki have with less than 0 Wins?
CREATE TABLE table_name_96 (points INTEGER, wins VARCHAR, team VARCHAR, year VARCHAR)
SELECT SUM(points) FROM table_name_96 WHERE team = "suzuki" AND year < 1981 AND wins < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (points INTEGER, wins VARCHAR, team VARCHAR, year VARCHAR) Question: Before 1981, how many Points did Team Suzuki have with less than 0 Wins? [/INST] SELECT SUM(points) FROM table_name_96 WHERE team = "suzuki" AND year < 1981 AND wins < 0 </s>
After 1986, how many Wins did Lucky Strike Yamaha Team with less than 6 Points have?
CREATE TABLE table_name_51 (wins INTEGER, points VARCHAR, year VARCHAR, team VARCHAR)
SELECT MIN(wins) FROM table_name_51 WHERE year > 1986 AND team = "lucky strike yamaha" AND points < 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (wins INTEGER, points VARCHAR, year VARCHAR, team VARCHAR) Question: After 1986, how many Wins did Lucky Strike Yamaha Team with less than 6 Points have? [/INST] SELECT MIN(wins) FROM table_name_51 WHERE year > 1986 AND team = "lucky strike yamaha" AND points < 6 </s>
In what Year did the RG500 Machine have more than 17 Points?
CREATE TABLE table_name_84 (year VARCHAR, machine VARCHAR, points VARCHAR)
SELECT COUNT(year) FROM table_name_84 WHERE machine = "rg500" AND points > 17
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (year VARCHAR, machine VARCHAR, points VARCHAR) Question: In what Year did the RG500 Machine have more than 17 Points? [/INST] SELECT COUNT(year) FROM table_name_84 WHERE machine = "rg500" AND points > 17 </s>
What were the least Wins in 1988?
CREATE TABLE table_name_19 (wins INTEGER, year VARCHAR)
SELECT MIN(wins) FROM table_name_19 WHERE year = 1988
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (wins INTEGER, year VARCHAR) Question: What were the least Wins in 1988? [/INST] SELECT MIN(wins) FROM table_name_19 WHERE year = 1988 </s>
How many points did the Flyers have against the New York Islanders with a February bigger than 12, and a game smaller than 60?
CREATE TABLE table_name_79 (points VARCHAR, opponent VARCHAR, february VARCHAR, game VARCHAR)
SELECT COUNT(points) FROM table_name_79 WHERE february > 12 AND game < 60 AND opponent = "new york islanders"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (points VARCHAR, opponent VARCHAR, february VARCHAR, game VARCHAR) Question: How many points did the Flyers have against the New York Islanders with a February bigger than 12, and a game smaller than 60? [/INST] SELECT COUNT(points) FROM table_name_79 WHERE february > 12 AND game < 60 AND opponent = "new york islanders" </s>
What is the location of the tournament on Feb 10?
CREATE TABLE table_name_68 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_68 WHERE date = "feb 10"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (location VARCHAR, date VARCHAR) Question: What is the location of the tournament on Feb 10? [/INST] SELECT location FROM table_name_68 WHERE date = "feb 10" </s>
What is the date of the Kmart greater greensboro open in North Carolina?
CREATE TABLE table_name_65 (date VARCHAR, location VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_65 WHERE location = "north carolina" AND tournament = "kmart greater greensboro open"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (date VARCHAR, location VARCHAR, tournament VARCHAR) Question: What is the date of the Kmart greater greensboro open in North Carolina? [/INST] SELECT date FROM table_name_65 WHERE location = "north carolina" AND tournament = "kmart greater greensboro open" </s>
Who is the winner of the H.E.B. Texas open?
CREATE TABLE table_name_76 (winner VARCHAR, tournament VARCHAR)
SELECT winner FROM table_name_76 WHERE tournament = "h.e.b. texas open"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (winner VARCHAR, tournament VARCHAR) Question: Who is the winner of the H.E.B. Texas open? [/INST] SELECT winner FROM table_name_76 WHERE tournament = "h.e.b. texas open" </s>
What is the average weight of Jeremy Case, who plays guard?
CREATE TABLE table_name_63 (weight INTEGER, position VARCHAR, name VARCHAR)
SELECT AVG(weight) FROM table_name_63 WHERE position = "guard" AND name = "jeremy case"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (weight INTEGER, position VARCHAR, name VARCHAR) Question: What is the average weight of Jeremy Case, who plays guard? [/INST] SELECT AVG(weight) FROM table_name_63 WHERE position = "guard" AND name = "jeremy case" </s>
What is the position of the player from New York City, NY?
CREATE TABLE table_name_56 (position VARCHAR, home_town VARCHAR)
SELECT position FROM table_name_56 WHERE home_town = "new york city, ny"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (position VARCHAR, home_town VARCHAR) Question: What is the position of the player from New York City, NY? [/INST] SELECT position FROM table_name_56 WHERE home_town = "new york city, ny" </s>
What year is guard Mario Chalmers?
CREATE TABLE table_name_53 (year VARCHAR, position VARCHAR, name VARCHAR)
SELECT year FROM table_name_53 WHERE position = "guard" AND name = "mario chalmers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (year VARCHAR, position VARCHAR, name VARCHAR) Question: What year is guard Mario Chalmers? [/INST] SELECT year FROM table_name_53 WHERE position = "guard" AND name = "mario chalmers" </s>
What was japan's score?
CREATE TABLE table_name_51 (score VARCHAR, country VARCHAR)
SELECT score FROM table_name_51 WHERE country = "japan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (score VARCHAR, country VARCHAR) Question: What was japan's score? [/INST] SELECT score FROM table_name_51 WHERE country = "japan" </s>
Which Venue has a Country of england, and a Champion of alison nicholas?
CREATE TABLE table_name_66 (venue VARCHAR, country VARCHAR, champion VARCHAR)
SELECT venue FROM table_name_66 WHERE country = "england" AND champion = "alison nicholas"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (venue VARCHAR, country VARCHAR, champion VARCHAR) Question: Which Venue has a Country of england, and a Champion of alison nicholas? [/INST] SELECT venue FROM table_name_66 WHERE country = "england" AND champion = "alison nicholas" </s>
Which Country has a Year larger than 1978, and a Score of 295, and a Venue of lindrick golf club?
CREATE TABLE table_name_16 (country VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR)
SELECT country FROM table_name_16 WHERE year > 1978 AND score = "295" AND venue = "lindrick golf club"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (country VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR) Question: Which Country has a Year larger than 1978, and a Score of 295, and a Venue of lindrick golf club? [/INST] SELECT country FROM table_name_16 WHERE year > 1978 AND score = "295" AND venue = "lindrick golf club" </s>
what player scored 9/1
CREATE TABLE table_name_35 (jockey VARCHAR, odds VARCHAR)
SELECT jockey FROM table_name_35 WHERE odds = "9/1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (jockey VARCHAR, odds VARCHAR) Question: what player scored 9/1 [/INST] SELECT jockey FROM table_name_35 WHERE odds = "9/1" </s>
On what date was the score 6–4, 7–5?
CREATE TABLE table_name_69 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_69 WHERE score = "6–4, 7–5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (date VARCHAR, score VARCHAR) Question: On what date was the score 6–4, 7–5? [/INST] SELECT date FROM table_name_69 WHERE score = "6–4, 7–5" </s>
Who was the opponent with an outcome runner-up on November 15, 2010?
CREATE TABLE table_name_79 (opponent VARCHAR, outcome VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_79 WHERE outcome = "runner-up" AND date = "november 15, 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (opponent VARCHAR, outcome VARCHAR, date VARCHAR) Question: Who was the opponent with an outcome runner-up on November 15, 2010? [/INST] SELECT opponent FROM table_name_79 WHERE outcome = "runner-up" AND date = "november 15, 2010" </s>
What was the outcome for Rik de Voest as opponent?
CREATE TABLE table_name_98 (outcome VARCHAR, opponent VARCHAR)
SELECT outcome FROM table_name_98 WHERE opponent = "rik de voest"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (outcome VARCHAR, opponent VARCHAR) Question: What was the outcome for Rik de Voest as opponent? [/INST] SELECT outcome FROM table_name_98 WHERE opponent = "rik de voest" </s>
What was the score on October 24, 2005?
CREATE TABLE table_name_55 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_55 WHERE date = "october 24, 2005"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (score VARCHAR, date VARCHAR) Question: What was the score on October 24, 2005? [/INST] SELECT score FROM table_name_55 WHERE date = "october 24, 2005" </s>
What is the sum of state champions with more tan 9 MRC Championships, more than 4 co-champions, and a record of 192-189-3?
CREATE TABLE table_name_72 (state_champions INTEGER, co_champions VARCHAR, mrc_championships VARCHAR, records VARCHAR)
SELECT SUM(state_champions) FROM table_name_72 WHERE mrc_championships > 9 AND records = "192-189-3" AND co_champions > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (state_champions INTEGER, co_champions VARCHAR, mrc_championships VARCHAR, records VARCHAR) Question: What is the sum of state champions with more tan 9 MRC Championships, more than 4 co-champions, and a record of 192-189-3? [/INST] SELECT SUM(state_champions) FROM table_name_72 WHERE mrc_championships > 9 AND records = "192-189-3" AND co_champions > 4 </s>
What was the co-champions value when solo was 3 and MRC Championships is greater than 3?
CREATE TABLE table_name_49 (co_champions VARCHAR, solo VARCHAR, mrc_championships VARCHAR)
SELECT co_champions FROM table_name_49 WHERE solo = 3 AND mrc_championships > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (co_champions VARCHAR, solo VARCHAR, mrc_championships VARCHAR) Question: What was the co-champions value when solo was 3 and MRC Championships is greater than 3? [/INST] SELECT co_champions FROM table_name_49 WHERE solo = 3 AND mrc_championships > 3 </s>
What is the highest value for co-champions when the PCT is less than 0.786 and MRC championships is 6 with records of 88-45-6?
CREATE TABLE table_name_51 (co_champions INTEGER, records VARCHAR, pct VARCHAR, mrc_championships VARCHAR)
SELECT MAX(co_champions) FROM table_name_51 WHERE pct < 0.786 AND mrc_championships = 6 AND records = "88-45-6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (co_champions INTEGER, records VARCHAR, pct VARCHAR, mrc_championships VARCHAR) Question: What is the highest value for co-champions when the PCT is less than 0.786 and MRC championships is 6 with records of 88-45-6? [/INST] SELECT MAX(co_champions) FROM table_name_51 WHERE pct < 0.786 AND mrc_championships = 6 AND records = "88-45-6" </s>
What is the average value of MRC Championships with more than 0.685 PCT., more than 1 for co-champions, and less than 5 solo?
CREATE TABLE table_name_31 (mrc_championships INTEGER, solo VARCHAR, pct VARCHAR, co_champions VARCHAR)
SELECT AVG(mrc_championships) FROM table_name_31 WHERE pct > 0.685 AND co_champions > 1 AND solo < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (mrc_championships INTEGER, solo VARCHAR, pct VARCHAR, co_champions VARCHAR) Question: What is the average value of MRC Championships with more than 0.685 PCT., more than 1 for co-champions, and less than 5 solo? [/INST] SELECT AVG(mrc_championships) FROM table_name_31 WHERE pct > 0.685 AND co_champions > 1 AND solo < 5 </s>
What is the average Pct value when state champions is less than 1, MRC Championships is 10, and co-champions are greater than 4?
CREATE TABLE table_name_51 (pct INTEGER, co_champions VARCHAR, state_champions VARCHAR, mrc_championships VARCHAR)
SELECT AVG(pct) FROM table_name_51 WHERE state_champions < 1 AND mrc_championships = 10 AND co_champions > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (pct INTEGER, co_champions VARCHAR, state_champions VARCHAR, mrc_championships VARCHAR) Question: What is the average Pct value when state champions is less than 1, MRC Championships is 10, and co-champions are greater than 4? [/INST] SELECT AVG(pct) FROM table_name_51 WHERE state_champions < 1 AND mrc_championships = 10 AND co_champions > 4 </s>
Street Address of 980 n. michigan avenue is what name?
CREATE TABLE table_name_46 (name VARCHAR, street_address VARCHAR)
SELECT name FROM table_name_46 WHERE street_address = "980 n. michigan avenue"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (name VARCHAR, street_address VARCHAR) Question: Street Address of 980 n. michigan avenue is what name? [/INST] SELECT name FROM table_name_46 WHERE street_address = "980 n. michigan avenue" </s>
Name of 900 north michigan, and a Year smaller than 1989 involves what lowest floors?
CREATE TABLE table_name_39 (floors INTEGER, name VARCHAR, year VARCHAR)
SELECT MIN(floors) FROM table_name_39 WHERE name = "900 north michigan" AND year < 1989
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (floors INTEGER, name VARCHAR, year VARCHAR) Question: Name of 900 north michigan, and a Year smaller than 1989 involves what lowest floors? [/INST] SELECT MIN(floors) FROM table_name_39 WHERE name = "900 north michigan" AND year < 1989 </s>
Street Address of 401 n. wabash avenue involves what name?
CREATE TABLE table_name_32 (name VARCHAR, street_address VARCHAR)
SELECT name FROM table_name_32 WHERE street_address = "401 n. wabash avenue"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (name VARCHAR, street_address VARCHAR) Question: Street Address of 401 n. wabash avenue involves what name? [/INST] SELECT name FROM table_name_32 WHERE street_address = "401 n. wabash avenue" </s>
Pick larger than 229, and a Round smaller than 12, and a Position of defensive back is what school/club team?
CREATE TABLE table_name_66 (school_club_team VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)
SELECT school_club_team FROM table_name_66 WHERE pick > 229 AND round < 12 AND position = "defensive back"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (school_club_team VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR) Question: Pick larger than 229, and a Round smaller than 12, and a Position of defensive back is what school/club team? [/INST] SELECT school_club_team FROM table_name_66 WHERE pick > 229 AND round < 12 AND position = "defensive back" </s>
Player of mike o'quinn, and a Round smaller than 15 had what lowest pick?
CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR, round VARCHAR)
SELECT MIN(pick) FROM table_name_30 WHERE player = "mike o'quinn" AND round < 15
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR, round VARCHAR) Question: Player of mike o'quinn, and a Round smaller than 15 had what lowest pick? [/INST] SELECT MIN(pick) FROM table_name_30 WHERE player = "mike o'quinn" AND round < 15 </s>
Round of 11 had waht sum of pick?
CREATE TABLE table_name_24 (pick INTEGER, round VARCHAR)
SELECT SUM(pick) FROM table_name_24 WHERE round = 11
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (pick INTEGER, round VARCHAR) Question: Round of 11 had waht sum of pick? [/INST] SELECT SUM(pick) FROM table_name_24 WHERE round = 11 </s>
Which Division has a Position of 6th?
CREATE TABLE table_name_26 (division VARCHAR, position VARCHAR)
SELECT division FROM table_name_26 WHERE position = "6th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (division VARCHAR, position VARCHAR) Question: Which Division has a Position of 6th? [/INST] SELECT division FROM table_name_26 WHERE position = "6th" </s>
Which Season has a Level of tier 4, and a Position of 11th?
CREATE TABLE table_name_18 (season INTEGER, level VARCHAR, position VARCHAR)
SELECT SUM(season) FROM table_name_18 WHERE level = "tier 4" AND position = "11th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (season INTEGER, level VARCHAR, position VARCHAR) Question: Which Season has a Level of tier 4, and a Position of 11th? [/INST] SELECT SUM(season) FROM table_name_18 WHERE level = "tier 4" AND position = "11th" </s>
Which Season has a Level of tier 2 and a Position of 1st?
CREATE TABLE table_name_82 (season VARCHAR, level VARCHAR, position VARCHAR)
SELECT COUNT(season) FROM table_name_82 WHERE level = "tier 2" AND position = "1st"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (season VARCHAR, level VARCHAR, position VARCHAR) Question: Which Season has a Level of tier 2 and a Position of 1st? [/INST] SELECT COUNT(season) FROM table_name_82 WHERE level = "tier 2" AND position = "1st" </s>
Which Position has a Level of tier 3 and a Season smaller than 1999?
CREATE TABLE table_name_38 (position VARCHAR, level VARCHAR, season VARCHAR)
SELECT position FROM table_name_38 WHERE level = "tier 3" AND season < 1999
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (position VARCHAR, level VARCHAR, season VARCHAR) Question: Which Position has a Level of tier 3 and a Season smaller than 1999? [/INST] SELECT position FROM table_name_38 WHERE level = "tier 3" AND season < 1999 </s>
Which Median family income has a Median household income of $43,125?
CREATE TABLE table_name_12 (median_family_income VARCHAR, median_household_income VARCHAR)
SELECT median_family_income FROM table_name_12 WHERE median_household_income = "$43,125"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (median_family_income VARCHAR, median_household_income VARCHAR) Question: Which Median family income has a Median household income of $43,125? [/INST] SELECT median_family_income FROM table_name_12 WHERE median_household_income = "$43,125" </s>
How many people have a Median household income of $37,759?
CREATE TABLE table_name_66 (population INTEGER, median_household_income VARCHAR)
SELECT SUM(population) FROM table_name_66 WHERE median_household_income = "$37,759"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (population INTEGER, median_household_income VARCHAR) Question: How many people have a Median household income of $37,759? [/INST] SELECT SUM(population) FROM table_name_66 WHERE median_household_income = "$37,759" </s>
What week had an Attendance smaller than 21,097?
CREATE TABLE table_name_46 (week VARCHAR, attendance INTEGER)
SELECT COUNT(week) FROM table_name_46 WHERE attendance < 21 OFFSET 097 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (week VARCHAR, attendance INTEGER) Question: What week had an Attendance smaller than 21,097? [/INST] SELECT COUNT(week) FROM table_name_46 WHERE attendance < 21 OFFSET 097 ROWS </s>
What Week had an Attendance smaller than 22,333?
CREATE TABLE table_name_12 (week VARCHAR, attendance INTEGER)
SELECT COUNT(week) FROM table_name_12 WHERE attendance < 22 OFFSET 333 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (week VARCHAR, attendance INTEGER) Question: What Week had an Attendance smaller than 22,333? [/INST] SELECT COUNT(week) FROM table_name_12 WHERE attendance < 22 OFFSET 333 ROWS </s>
Municipality of tampere involves which party?
CREATE TABLE table_name_1 (party VARCHAR, municipality VARCHAR)
SELECT party FROM table_name_1 WHERE municipality = "tampere"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (party VARCHAR, municipality VARCHAR) Question: Municipality of tampere involves which party? [/INST] SELECT party FROM table_name_1 WHERE municipality = "tampere" </s>
Quotient of 97 350,333 has how many votes?
CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR)
SELECT votes FROM table_name_45 WHERE quotient = "97 350,333"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR) Question: Quotient of 97 350,333 has how many votes? [/INST] SELECT votes FROM table_name_45 WHERE quotient = "97 350,333" </s>
Candidate of kimmo kiljunen belongs to which municipality?
CREATE TABLE table_name_88 (municipality VARCHAR, candidate VARCHAR)
SELECT municipality FROM table_name_88 WHERE candidate = "kimmo kiljunen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (municipality VARCHAR, candidate VARCHAR) Question: Candidate of kimmo kiljunen belongs to which municipality? [/INST] SELECT municipality FROM table_name_88 WHERE candidate = "kimmo kiljunen" </s>
Votes of 27,391 has which quotient?
CREATE TABLE table_name_10 (quotient VARCHAR, votes VARCHAR)
SELECT quotient FROM table_name_10 WHERE votes = "27,391"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (quotient VARCHAR, votes VARCHAR) Question: Votes of 27,391 has which quotient? [/INST] SELECT quotient FROM table_name_10 WHERE votes = "27,391" </s>
Candidate of riikka manner has how many votes?
CREATE TABLE table_name_41 (votes VARCHAR, candidate VARCHAR)
SELECT votes FROM table_name_41 WHERE candidate = "riikka manner"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (votes VARCHAR, candidate VARCHAR) Question: Candidate of riikka manner has how many votes? [/INST] SELECT votes FROM table_name_41 WHERE candidate = "riikka manner" </s>
Which Opposition has a Year smaller than 1911, and a Venue of old trafford?
CREATE TABLE table_name_51 (opposition VARCHAR, year VARCHAR, venue VARCHAR)
SELECT opposition FROM table_name_51 WHERE year < 1911 AND venue = "old trafford"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (opposition VARCHAR, year VARCHAR, venue VARCHAR) Question: Which Opposition has a Year smaller than 1911, and a Venue of old trafford? [/INST] SELECT opposition FROM table_name_51 WHERE year < 1911 AND venue = "old trafford" </s>
Which Venue has a Year of 1911?
CREATE TABLE table_name_60 (venue VARCHAR, year VARCHAR)
SELECT venue FROM table_name_60 WHERE year = 1911
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (venue VARCHAR, year VARCHAR) Question: Which Venue has a Year of 1911? [/INST] SELECT venue FROM table_name_60 WHERE year = 1911 </s>
Which Opposition has a City of taunton?
CREATE TABLE table_name_17 (opposition VARCHAR, city VARCHAR)
SELECT opposition FROM table_name_17 WHERE city = "taunton"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (opposition VARCHAR, city VARCHAR) Question: Which Opposition has a City of taunton? [/INST] SELECT opposition FROM table_name_17 WHERE city = "taunton" </s>
Which number of Years has a Venue of old trafford, and an Opposition of yorkshire?
CREATE TABLE table_name_30 (year VARCHAR, venue VARCHAR, opposition VARCHAR)
SELECT COUNT(year) FROM table_name_30 WHERE venue = "old trafford" AND opposition = "yorkshire"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (year VARCHAR, venue VARCHAR, opposition VARCHAR) Question: Which number of Years has a Venue of old trafford, and an Opposition of yorkshire? [/INST] SELECT COUNT(year) FROM table_name_30 WHERE venue = "old trafford" AND opposition = "yorkshire" </s>
What was the score of the match that took place at 6:00 PM with 79,419 in attendance?
CREATE TABLE table_name_69 (result VARCHAR, time VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_69 WHERE time = "6:00 pm" AND attendance = "79,419"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (result VARCHAR, time VARCHAR, attendance VARCHAR) Question: What was the score of the match that took place at 6:00 PM with 79,419 in attendance? [/INST] SELECT result FROM table_name_69 WHERE time = "6:00 pm" AND attendance = "79,419" </s>
What time was the match that had an attendance of 22,329?
CREATE TABLE table_name_99 (time VARCHAR, attendance VARCHAR)
SELECT time FROM table_name_99 WHERE attendance = "22,329"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (time VARCHAR, attendance VARCHAR) Question: What time was the match that had an attendance of 22,329? [/INST] SELECT time FROM table_name_99 WHERE attendance = "22,329" </s>
What two teams were competing in the match with 103,158 in attendance?
CREATE TABLE table_name_50 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_50 WHERE attendance = "103,158"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (opponent VARCHAR, attendance VARCHAR) Question: What two teams were competing in the match with 103,158 in attendance? [/INST] SELECT opponent FROM table_name_50 WHERE attendance = "103,158" </s>
What is the average date in January that the Rangers played against Chicago Black Hawks?
CREATE TABLE table_name_92 (january INTEGER, opponent VARCHAR)
SELECT AVG(january) FROM table_name_92 WHERE opponent = "chicago black hawks"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (january INTEGER, opponent VARCHAR) Question: What is the average date in January that the Rangers played against Chicago Black Hawks? [/INST] SELECT AVG(january) FROM table_name_92 WHERE opponent = "chicago black hawks" </s>
What is the score of the game where the Rangers record was 16-8-4?
CREATE TABLE table_name_81 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_81 WHERE record = "16-8-4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (score VARCHAR, record VARCHAR) Question: What is the score of the game where the Rangers record was 16-8-4? [/INST] SELECT score FROM table_name_81 WHERE record = "16-8-4" </s>
Which Score in the final has an Outcome of winner, and a Date of 3 august 2013?
CREATE TABLE table_name_31 (score_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_31 WHERE outcome = "winner" AND date = "3 august 2013"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (score_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) Question: Which Score in the final has an Outcome of winner, and a Date of 3 august 2013? [/INST] SELECT score_in_the_final FROM table_name_31 WHERE outcome = "winner" AND date = "3 august 2013" </s>
Which Partner has a Date of 8 february 2009?
CREATE TABLE table_name_57 (partner VARCHAR, date VARCHAR)
SELECT partner FROM table_name_57 WHERE date = "8 february 2009"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (partner VARCHAR, date VARCHAR) Question: Which Partner has a Date of 8 february 2009? [/INST] SELECT partner FROM table_name_57 WHERE date = "8 february 2009" </s>
Which Opponent in the final has a Partner of dustin brown?
CREATE TABLE table_name_38 (opponent_in_the_final VARCHAR, partner VARCHAR)
SELECT opponent_in_the_final FROM table_name_38 WHERE partner = "dustin brown"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (opponent_in_the_final VARCHAR, partner VARCHAR) Question: Which Opponent in the final has a Partner of dustin brown? [/INST] SELECT opponent_in_the_final FROM table_name_38 WHERE partner = "dustin brown" </s>
Which Score in the final has a Surface of clay, and a Partner of martin emmrich?
CREATE TABLE table_name_62 (score_in_the_final VARCHAR, surface VARCHAR, partner VARCHAR)
SELECT score_in_the_final FROM table_name_62 WHERE surface = "clay" AND partner = "martin emmrich"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (score_in_the_final VARCHAR, surface VARCHAR, partner VARCHAR) Question: Which Score in the final has a Surface of clay, and a Partner of martin emmrich? [/INST] SELECT score_in_the_final FROM table_name_62 WHERE surface = "clay" AND partner = "martin emmrich" </s>
Which Surface has a Partner of oliver marach?
CREATE TABLE table_name_82 (surface VARCHAR, partner VARCHAR)
SELECT surface FROM table_name_82 WHERE partner = "oliver marach"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (surface VARCHAR, partner VARCHAR) Question: Which Surface has a Partner of oliver marach? [/INST] SELECT surface FROM table_name_82 WHERE partner = "oliver marach" </s>
What is the call sign for the frequency of 0 105.7 fm?
CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR)
SELECT call_sign FROM table_name_67 WHERE frequency = "0 105.7 fm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR) Question: What is the call sign for the frequency of 0 105.7 fm? [/INST] SELECT call_sign FROM table_name_67 WHERE frequency = "0 105.7 fm" </s>
Who is the owner with a frequency of 0 101.1 fm?
CREATE TABLE table_name_58 (owner VARCHAR, frequency VARCHAR)
SELECT owner FROM table_name_58 WHERE frequency = "0 101.1 fm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (owner VARCHAR, frequency VARCHAR) Question: Who is the owner with a frequency of 0 101.1 fm? [/INST] SELECT owner FROM table_name_58 WHERE frequency = "0 101.1 fm" </s>
Which city of license has the Kyli call sign?
CREATE TABLE table_name_98 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_98 WHERE call_sign = "kyli"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (city_of_license VARCHAR, call_sign VARCHAR) Question: Which city of license has the Kyli call sign? [/INST] SELECT city_of_license FROM table_name_98 WHERE call_sign = "kyli" </s>
What is the format for Cherry Creek Radio with frequency of 0 92.1 fm?
CREATE TABLE table_name_11 (format VARCHAR, owner VARCHAR, frequency VARCHAR)
SELECT format FROM table_name_11 WHERE owner = "cherry creek radio" AND frequency = "0 92.1 fm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (format VARCHAR, owner VARCHAR, frequency VARCHAR) Question: What is the format for Cherry Creek Radio with frequency of 0 92.1 fm? [/INST] SELECT format FROM table_name_11 WHERE owner = "cherry creek radio" AND frequency = "0 92.1 fm" </s>
Which format is in St. George with a frequency of 0 107.3 fm?
CREATE TABLE table_name_31 (format VARCHAR, city_of_license VARCHAR, frequency VARCHAR)
SELECT format FROM table_name_31 WHERE city_of_license = "st. george" AND frequency = "0 107.3 fm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (format VARCHAR, city_of_license VARCHAR, frequency VARCHAR) Question: Which format is in St. George with a frequency of 0 107.3 fm? [/INST] SELECT format FROM table_name_31 WHERE city_of_license = "st. george" AND frequency = "0 107.3 fm" </s>
Which city of license has the Kyli call sign?
CREATE TABLE table_name_20 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_20 WHERE call_sign = "kyli"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (city_of_license VARCHAR, call_sign VARCHAR) Question: Which city of license has the Kyli call sign? [/INST] SELECT city_of_license FROM table_name_20 WHERE call_sign = "kyli" </s>
Party of republican, and a District of 7th is what elected?
CREATE TABLE table_name_81 (elected VARCHAR, party VARCHAR, district VARCHAR)
SELECT elected FROM table_name_81 WHERE party = "republican" AND district = "7th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (elected VARCHAR, party VARCHAR, district VARCHAR) Question: Party of republican, and a District of 7th is what elected? [/INST] SELECT elected FROM table_name_81 WHERE party = "republican" AND district = "7th" </s>
Party of republican, and a District of 5th is what highest elected?
CREATE TABLE table_name_39 (elected INTEGER, party VARCHAR, district VARCHAR)
SELECT MAX(elected) FROM table_name_39 WHERE party = "republican" AND district = "5th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (elected INTEGER, party VARCHAR, district VARCHAR) Question: Party of republican, and a District of 5th is what highest elected? [/INST] SELECT MAX(elected) FROM table_name_39 WHERE party = "republican" AND district = "5th" </s>
Elected smaller than 2001, and a District of 83rd has what status?
CREATE TABLE table_name_77 (status VARCHAR, elected VARCHAR, district VARCHAR)
SELECT status FROM table_name_77 WHERE elected < 2001 AND district = "83rd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (status VARCHAR, elected VARCHAR, district VARCHAR) Question: Elected smaller than 2001, and a District of 83rd has what status? [/INST] SELECT status FROM table_name_77 WHERE elected < 2001 AND district = "83rd" </s>
Status of reelected, and a Incumbent of danny marshall iii is what highest elected?
CREATE TABLE table_name_75 (elected INTEGER, status VARCHAR, incumbent VARCHAR)
SELECT MAX(elected) FROM table_name_75 WHERE status = "reelected" AND incumbent = "danny marshall iii"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (elected INTEGER, status VARCHAR, incumbent VARCHAR) Question: Status of reelected, and a Incumbent of danny marshall iii is what highest elected? [/INST] SELECT MAX(elected) FROM table_name_75 WHERE status = "reelected" AND incumbent = "danny marshall iii" </s>
When has a Score of 6–3, 6–4?
CREATE TABLE table_name_39 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_39 WHERE score = "6–3, 6–4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (date VARCHAR, score VARCHAR) Question: When has a Score of 6–3, 6–4? [/INST] SELECT date FROM table_name_39 WHERE score = "6–3, 6–4" </s>
WHich Score has marcelo filippini mark koevermans?
CREATE TABLE table_name_18 (score VARCHAR, opponents_in_the_final VARCHAR)
SELECT score FROM table_name_18 WHERE opponents_in_the_final = "marcelo filippini mark koevermans"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (score VARCHAR, opponents_in_the_final VARCHAR) Question: WHich Score has marcelo filippini mark koevermans? [/INST] SELECT score FROM table_name_18 WHERE opponents_in_the_final = "marcelo filippini mark koevermans" </s>
WHich Tournament has a Partnering of diego pérez and a Opponents in the final of christer allgardh carl limberger?
CREATE TABLE table_name_39 (tournament VARCHAR, partnering VARCHAR, opponents_in_the_final VARCHAR)
SELECT tournament FROM table_name_39 WHERE partnering = "diego pérez" AND opponents_in_the_final = "christer allgardh carl limberger"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (tournament VARCHAR, partnering VARCHAR, opponents_in_the_final VARCHAR) Question: WHich Tournament has a Partnering of diego pérez and a Opponents in the final of christer allgardh carl limberger? [/INST] SELECT tournament FROM table_name_39 WHERE partnering = "diego pérez" AND opponents_in_the_final = "christer allgardh carl limberger" </s>
Which Opponents in the final has a Partnering of tomás carbonell on march 28, 1995?
CREATE TABLE table_name_18 (opponents_in_the_final VARCHAR, partnering VARCHAR, date VARCHAR)
SELECT opponents_in_the_final FROM table_name_18 WHERE partnering = "tomás carbonell" AND date = "march 28, 1995"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (opponents_in_the_final VARCHAR, partnering VARCHAR, date VARCHAR) Question: Which Opponents in the final has a Partnering of tomás carbonell on march 28, 1995? [/INST] SELECT opponents_in_the_final FROM table_name_18 WHERE partnering = "tomás carbonell" AND date = "march 28, 1995" </s>
What is the Score of an Opponent\ in the final of jordi arrese àlex corretja?
CREATE TABLE table_name_25 (score VARCHAR, opponents_in_the_final VARCHAR)
SELECT score FROM table_name_25 WHERE opponents_in_the_final = "jordi arrese àlex corretja"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (score VARCHAR, opponents_in_the_final VARCHAR) Question: What is the Score of an Opponent\ in the final of jordi arrese àlex corretja? [/INST] SELECT score FROM table_name_25 WHERE opponents_in_the_final = "jordi arrese àlex corretja" </s>
Which To par has a Place in t9 and a Country of Spain?
CREATE TABLE table_name_55 (to_par VARCHAR, place VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_55 WHERE place = "t9" AND country = "spain"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (to_par VARCHAR, place VARCHAR, country VARCHAR) Question: Which To par has a Place in t9 and a Country of Spain? [/INST] SELECT to_par FROM table_name_55 WHERE place = "t9" AND country = "spain" </s>
Which To par has a Place in 8?
CREATE TABLE table_name_68 (to_par VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_68 WHERE place = "8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (to_par VARCHAR, place VARCHAR) Question: Which To par has a Place in 8? [/INST] SELECT to_par FROM table_name_68 WHERE place = "8" </s>
WHo is Player that has a Place of t9 in united states?
CREATE TABLE table_name_74 (player VARCHAR, place VARCHAR, country VARCHAR)
SELECT player FROM table_name_74 WHERE place = "t9" AND country = "united states"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (player VARCHAR, place VARCHAR, country VARCHAR) Question: WHo is Player that has a Place of t9 in united states? [/INST] SELECT player FROM table_name_74 WHERE place = "t9" AND country = "united states" </s>
What ERP W has a 95.1 MHZ frequency?
CREATE TABLE table_name_62 (erp_w VARCHAR, frequency_mhz VARCHAR)
SELECT erp_w FROM table_name_62 WHERE frequency_mhz = 95.1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (erp_w VARCHAR, frequency_mhz VARCHAR) Question: What ERP W has a 95.1 MHZ frequency? [/INST] SELECT erp_w FROM table_name_62 WHERE frequency_mhz = 95.1 </s>