instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
Who did the Raiders play in week 12?
CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_25 WHERE week = 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR) Question: Who did the Raiders play in week 12? [/INST] SELECT opponent FROM table_name_25 WHERE week = 12 </s>
How many people were at the game that took place at the Kingdome?
CREATE TABLE table_name_21 (attendance VARCHAR, game_site VARCHAR)
SELECT attendance FROM table_name_21 WHERE game_site = "the kingdome"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (attendance VARCHAR, game_site VARCHAR) Question: How many people were at the game that took place at the Kingdome? [/INST] SELECT attendance FROM table_name_21 WHERE game_site = "the kingdome" </s>
Which is the LMS SPR when the car number was 15?
CREATE TABLE table_name_60 (lms_spr VARCHAR, car_no VARCHAR)
SELECT lms_spr FROM table_name_60 WHERE car_no = "15"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (lms_spr VARCHAR, car_no VARCHAR) Question: Which is the LMS SPR when the car number was 15? [/INST] SELECT lms_spr FROM table_name_60 WHERE car_no = "15" </s>
When the CAT FEA is 3 how many points were scored?
CREATE TABLE table_name_88 (points VARCHAR, cat_fea VARCHAR)
SELECT points FROM table_name_88 WHERE cat_fea = "3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (points VARCHAR, cat_fea VARCHAR) Question: When the CAT FEA is 3 how many points were scored? [/INST] SELECT points FROM table_name_88 WHERE cat_fea = "3" </s>
What was the SPA FEA when the LMS FEA was 5?
CREATE TABLE table_name_60 (spa_fea VARCHAR, lms_fea VARCHAR)
SELECT spa_fea FROM table_name_60 WHERE lms_fea = "5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (spa_fea VARCHAR, lms_fea VARCHAR) Question: What was the SPA FEA when the LMS FEA was 5? [/INST] SELECT spa_fea FROM table_name_60 WHERE lms_fea = "5" </s>
What was the MNZ FEA when the SIL SPR was 18?
CREATE TABLE table_name_73 (mnz_fea VARCHAR, sil_spr VARCHAR)
SELECT mnz_fea FROM table_name_73 WHERE sil_spr = "18"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (mnz_fea VARCHAR, sil_spr VARCHAR) Question: What was the MNZ FEA when the SIL SPR was 18? [/INST] SELECT mnz_fea FROM table_name_73 WHERE sil_spr = "18" </s>
Which years did the Tampa Bay Storm win the Championships?
CREATE TABLE table_name_71 (championships__years_ VARCHAR, club VARCHAR)
SELECT championships__years_ FROM table_name_71 WHERE club = "tampa bay storm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (championships__years_ VARCHAR, club VARCHAR) Question: Which years did the Tampa Bay Storm win the Championships? [/INST] SELECT championships__years_ FROM table_name_71 WHERE club = "tampa bay storm" </s>
What is the height of the person born before 1975?
CREATE TABLE table_name_57 (height VARCHAR, year_born INTEGER)
SELECT height FROM table_name_57 WHERE year_born < 1975
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (height VARCHAR, year_born INTEGER) Question: What is the height of the person born before 1975? [/INST] SELECT height FROM table_name_57 WHERE year_born < 1975 </s>
How many times did Ken Wright expired in North Western?
CREATE TABLE table_name_52 (term_expires VARCHAR, province VARCHAR, name VARCHAR)
SELECT COUNT(term_expires) FROM table_name_52 WHERE province = "north western" AND name = "ken wright"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (term_expires VARCHAR, province VARCHAR, name VARCHAR) Question: How many times did Ken Wright expired in North Western? [/INST] SELECT COUNT(term_expires) FROM table_name_52 WHERE province = "north western" AND name = "ken wright" </s>
Name the 2010 with tournament of grand slam tournaments
CREATE TABLE table_name_33 (tournament VARCHAR)
SELECT 2010 FROM table_name_33 WHERE tournament = "grand slam tournaments"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (tournament VARCHAR) Question: Name the 2010 with tournament of grand slam tournaments [/INST] SELECT 2010 FROM table_name_33 WHERE tournament = "grand slam tournaments" </s>
Name the 2008 with 2010 of 2r and wimbledon tournament
CREATE TABLE table_name_58 (tournament VARCHAR)
SELECT 2008 FROM table_name_58 WHERE 2010 = "2r" AND tournament = "wimbledon"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (tournament VARCHAR) Question: Name the 2008 with 2010 of 2r and wimbledon tournament [/INST] SELECT 2008 FROM table_name_58 WHERE 2010 = "2r" AND tournament = "wimbledon" </s>
Name the 2013 for 2010 of 1r
CREATE TABLE table_name_22 (Id VARCHAR)
SELECT 2013 FROM table_name_22 WHERE 2010 = "1r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (Id VARCHAR) Question: Name the 2013 for 2010 of 1r [/INST] SELECT 2013 FROM table_name_22 WHERE 2010 = "1r" </s>
Name the 2010 for 2008 of 1r and tournament of us open
CREATE TABLE table_name_33 (tournament VARCHAR)
SELECT 2010 FROM table_name_33 WHERE 2008 = "1r" AND 2011 = "1r" AND tournament = "us open"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (tournament VARCHAR) Question: Name the 2010 for 2008 of 1r and tournament of us open [/INST] SELECT 2010 FROM table_name_33 WHERE 2008 = "1r" AND 2011 = "1r" AND tournament = "us open" </s>
Which years have a Decile of 4, an Authority of state, and a Name of mapiu school?
CREATE TABLE table_name_43 (years VARCHAR, name VARCHAR, decile VARCHAR, authority VARCHAR)
SELECT years FROM table_name_43 WHERE decile = 4 AND authority = "state" AND name = "mapiu school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (years VARCHAR, name VARCHAR, decile VARCHAR, authority VARCHAR) Question: Which years have a Decile of 4, an Authority of state, and a Name of mapiu school? [/INST] SELECT years FROM table_name_43 WHERE decile = 4 AND authority = "state" AND name = "mapiu school" </s>
Which years have a Decile smaller than 6, an Area of te kuiti, and an Authority of state integrated?
CREATE TABLE table_name_41 (years VARCHAR, authority VARCHAR, decile VARCHAR, area VARCHAR)
SELECT years FROM table_name_41 WHERE decile < 6 AND area = "te kuiti" AND authority = "state integrated"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (years VARCHAR, authority VARCHAR, decile VARCHAR, area VARCHAR) Question: Which years have a Decile smaller than 6, an Area of te kuiti, and an Authority of state integrated? [/INST] SELECT years FROM table_name_41 WHERE decile < 6 AND area = "te kuiti" AND authority = "state integrated" </s>
What is the average Decile with a state authority and a Name of mapiu school?
CREATE TABLE table_name_16 (decile INTEGER, authority VARCHAR, name VARCHAR)
SELECT AVG(decile) FROM table_name_16 WHERE authority = "state" AND name = "mapiu school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (decile INTEGER, authority VARCHAR, name VARCHAR) Question: What is the average Decile with a state authority and a Name of mapiu school? [/INST] SELECT AVG(decile) FROM table_name_16 WHERE authority = "state" AND name = "mapiu school" </s>
Which years have an Area of rangitoto?
CREATE TABLE table_name_16 (years VARCHAR, area VARCHAR)
SELECT years FROM table_name_16 WHERE area = "rangitoto"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (years VARCHAR, area VARCHAR) Question: Which years have an Area of rangitoto? [/INST] SELECT years FROM table_name_16 WHERE area = "rangitoto" </s>
Which gender has a Name of rangitoto school?
CREATE TABLE table_name_6 (gender VARCHAR, name VARCHAR)
SELECT gender FROM table_name_6 WHERE name = "rangitoto school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (gender VARCHAR, name VARCHAR) Question: Which gender has a Name of rangitoto school? [/INST] SELECT gender FROM table_name_6 WHERE name = "rangitoto school" </s>
What is the t o par for Ralph Guldahl?
CREATE TABLE table_name_89 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_89 WHERE player = "ralph guldahl"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (to_par VARCHAR, player VARCHAR) Question: What is the t o par for Ralph Guldahl? [/INST] SELECT to_par FROM table_name_89 WHERE player = "ralph guldahl" </s>
What is the score for Ky Laffoon?
CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_22 WHERE player = "ky laffoon"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR) Question: What is the score for Ky Laffoon? [/INST] SELECT score FROM table_name_22 WHERE player = "ky laffoon" </s>
What is the score of Ralph Guldahl, who has more than $100?
CREATE TABLE table_name_77 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT score FROM table_name_77 WHERE money___$__ > 100 AND player = "ralph guldahl"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (score VARCHAR, money___$__ VARCHAR, player VARCHAR) Question: What is the score of Ralph Guldahl, who has more than $100? [/INST] SELECT score FROM table_name_77 WHERE money___$__ > 100 AND player = "ralph guldahl" </s>
What is the highest amount of money a play from Scotland United States has?
CREATE TABLE table_name_99 (money___ INTEGER, country VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_99 WHERE country = "scotland united states"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (money___ INTEGER, country VARCHAR) Question: What is the highest amount of money a play from Scotland United States has? [/INST] SELECT MAX(money___) AS $__ FROM table_name_99 WHERE country = "scotland united states" </s>
How many Goals have a Pct % larger than 0.557, a points value smaller than 90, and a games value larger than 68?
CREATE TABLE table_name_6 (goals_for VARCHAR, games VARCHAR, pct__percentage VARCHAR, points VARCHAR)
SELECT COUNT(goals_for) FROM table_name_6 WHERE pct__percentage > 0.557 AND points < 90 AND games > 68
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (goals_for VARCHAR, games VARCHAR, pct__percentage VARCHAR, points VARCHAR) Question: How many Goals have a Pct % larger than 0.557, a points value smaller than 90, and a games value larger than 68? [/INST] SELECT COUNT(goals_for) FROM table_name_6 WHERE pct__percentage > 0.557 AND points < 90 AND games > 68 </s>
What is the draw record (%) total for clubs with more than 3 wins with 10 matches and more than 1 draw?
CREATE TABLE table_name_91 (record___percentage__ VARCHAR, draw_ VARCHAR, _05_wins VARCHAR, draws VARCHAR, wins VARCHAR, matches VARCHAR)
SELECT COUNT(record___percentage__) AS "draw_ = _05_wins" FROM table_name_91 WHERE wins > 3 AND matches = 10 AND draws > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (record___percentage__ VARCHAR, draw_ VARCHAR, _05_wins VARCHAR, draws VARCHAR, wins VARCHAR, matches VARCHAR) Question: What is the draw record (%) total for clubs with more than 3 wins with 10 matches and more than 1 draw? [/INST] SELECT COUNT(record___percentage__) AS "draw_ = _05_wins" FROM table_name_91 WHERE wins > 3 AND matches = 10 AND draws > 1 </s>
Which club has the most losses with 10 matches played and more than 1 draw?
CREATE TABLE table_name_29 (losses INTEGER, matches VARCHAR, draws VARCHAR)
SELECT MAX(losses) FROM table_name_29 WHERE matches = 10 AND draws > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (losses INTEGER, matches VARCHAR, draws VARCHAR) Question: Which club has the most losses with 10 matches played and more than 1 draw? [/INST] SELECT MAX(losses) FROM table_name_29 WHERE matches = 10 AND draws > 1 </s>
The year of 1985 which has a BB +HBP of 39 has what Number listed?
CREATE TABLE table_name_37 (number VARCHAR, year VARCHAR, bb_ VARCHAR, hbp VARCHAR)
SELECT number FROM table_name_37 WHERE bb_ + hbp = 39 AND year = "1985"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (number VARCHAR, year VARCHAR, bb_ VARCHAR, hbp VARCHAR) Question: The year of 1985 which has a BB +HBP of 39 has what Number listed? [/INST] SELECT number FROM table_name_37 WHERE bb_ + hbp = 39 AND year = "1985" </s>
The year that has a BB + HBP of 51 is listed as?
CREATE TABLE table_name_99 (year VARCHAR, bb_ VARCHAR, hbp VARCHAR)
SELECT year FROM table_name_99 WHERE bb_ + hbp = 51
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (year VARCHAR, bb_ VARCHAR, hbp VARCHAR) Question: The year that has a BB + HBP of 51 is listed as? [/INST] SELECT year FROM table_name_99 WHERE bb_ + hbp = 51 </s>
In the year 1992 for the Seibu Lions, the BB + HBP which is larger than 49 was this as a BA (Place)?
CREATE TABLE table_name_70 (ba__place_ VARCHAR, year VARCHAR, team VARCHAR, bb_ VARCHAR, hbp VARCHAR)
SELECT ba__place_ FROM table_name_70 WHERE bb_ + hbp > 49 AND team = "seibu lions" AND year = "1992"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (ba__place_ VARCHAR, year VARCHAR, team VARCHAR, bb_ VARCHAR, hbp VARCHAR) Question: In the year 1992 for the Seibu Lions, the BB + HBP which is larger than 49 was this as a BA (Place)? [/INST] SELECT ba__place_ FROM table_name_70 WHERE bb_ + hbp > 49 AND team = "seibu lions" AND year = "1992" </s>
What team lost on May 1?
CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_62 WHERE date = "may 1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR) Question: What team lost on May 1? [/INST] SELECT loss FROM table_name_62 WHERE date = "may 1" </s>
What was the final score for the game on May 1?
CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_72 WHERE date = "may 1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR) Question: What was the final score for the game on May 1? [/INST] SELECT score FROM table_name_72 WHERE date = "may 1" </s>
What was the final score for the game on May 4?
CREATE TABLE table_name_91 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_91 WHERE date = "may 4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (score VARCHAR, date VARCHAR) Question: What was the final score for the game on May 4? [/INST] SELECT score FROM table_name_91 WHERE date = "may 4" </s>
In 1994 what tournament held a ATP masters series
CREATE TABLE table_name_38 (tournament VARCHAR)
SELECT 1994 FROM table_name_38 WHERE tournament = "atp masters series"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (tournament VARCHAR) Question: In 1994 what tournament held a ATP masters series [/INST] SELECT 1994 FROM table_name_38 WHERE tournament = "atp masters series" </s>
What is the Career SR of the year that held the masters series Sr tournament
CREATE TABLE table_name_62 (career_sr VARCHAR, tournament VARCHAR)
SELECT career_sr FROM table_name_62 WHERE tournament = "masters series sr"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (career_sr VARCHAR, tournament VARCHAR) Question: What is the Career SR of the year that held the masters series Sr tournament [/INST] SELECT career_sr FROM table_name_62 WHERE tournament = "masters series sr" </s>
WHich competition was held on Alvor with a score 1-0?
CREATE TABLE table_name_77 (competition VARCHAR, score VARCHAR, location VARCHAR)
SELECT competition FROM table_name_77 WHERE score = "1-0" AND location = "alvor"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (competition VARCHAR, score VARCHAR, location VARCHAR) Question: WHich competition was held on Alvor with a score 1-0? [/INST] SELECT competition FROM table_name_77 WHERE score = "1-0" AND location = "alvor" </s>
Which name has a Lane of 7?
CREATE TABLE table_name_79 (name VARCHAR, lane VARCHAR)
SELECT name FROM table_name_79 WHERE lane = 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (name VARCHAR, lane VARCHAR) Question: Which name has a Lane of 7? [/INST] SELECT name FROM table_name_79 WHERE lane = 7 </s>
How many lanes have a Nationality of iceland?
CREATE TABLE table_name_58 (lane INTEGER, nationality VARCHAR)
SELECT SUM(lane) FROM table_name_58 WHERE nationality = "iceland"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (lane INTEGER, nationality VARCHAR) Question: How many lanes have a Nationality of iceland? [/INST] SELECT SUM(lane) FROM table_name_58 WHERE nationality = "iceland" </s>
What is the smallest rank with a Lane of 1?
CREATE TABLE table_name_65 (rank INTEGER, lane VARCHAR)
SELECT MIN(rank) FROM table_name_65 WHERE lane = 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (rank INTEGER, lane VARCHAR) Question: What is the smallest rank with a Lane of 1? [/INST] SELECT MIN(rank) FROM table_name_65 WHERE lane = 1 </s>
What was the final score of Game 1?
CREATE TABLE table_name_28 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_28 WHERE game = 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (score VARCHAR, game VARCHAR) Question: What was the final score of Game 1? [/INST] SELECT score FROM table_name_28 WHERE game = 1 </s>
What date has 2:48 as the time?
CREATE TABLE table_name_48 (date VARCHAR, time VARCHAR)
SELECT date FROM table_name_48 WHERE time = "2:48"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, time VARCHAR) Question: What date has 2:48 as the time? [/INST] SELECT date FROM table_name_48 WHERE time = "2:48" </s>
Which record has 2:57 as the time?
CREATE TABLE table_name_91 (record VARCHAR, time VARCHAR)
SELECT record FROM table_name_91 WHERE time = "2:57"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (record VARCHAR, time VARCHAR) Question: Which record has 2:57 as the time? [/INST] SELECT record FROM table_name_91 WHERE time = "2:57" </s>
Can you tell me the Losing BP that has Played of 22, and the Lost of 5?
CREATE TABLE table_name_38 (losing_bp VARCHAR, played VARCHAR, lost VARCHAR)
SELECT losing_bp FROM table_name_38 WHERE played = "22" AND lost = "5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (losing_bp VARCHAR, played VARCHAR, lost VARCHAR) Question: Can you tell me the Losing BP that has Played of 22, and the Lost of 5? [/INST] SELECT losing_bp FROM table_name_38 WHERE played = "22" AND lost = "5" </s>
Can you tell the Lost that has the Try BP of 10, and the Club of uwic rfc?
CREATE TABLE table_name_50 (lost VARCHAR, try_bp VARCHAR, club VARCHAR)
SELECT lost FROM table_name_50 WHERE try_bp = "10" AND club = "uwic rfc"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (lost VARCHAR, try_bp VARCHAR, club VARCHAR) Question: Can you tell the Lost that has the Try BP of 10, and the Club of uwic rfc? [/INST] SELECT lost FROM table_name_50 WHERE try_bp = "10" AND club = "uwic rfc" </s>
Can you tell me the Club that has the Lost of 19?
CREATE TABLE table_name_34 (club VARCHAR, lost VARCHAR)
SELECT club FROM table_name_34 WHERE lost = "19"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (club VARCHAR, lost VARCHAR) Question: Can you tell me the Club that has the Lost of 19? [/INST] SELECT club FROM table_name_34 WHERE lost = "19" </s>
Can you tell me the Lost that has Losing BP of 5, and the Try BP of 0?
CREATE TABLE table_name_65 (lost VARCHAR, losing_bp VARCHAR, try_bp VARCHAR)
SELECT lost FROM table_name_65 WHERE losing_bp = "5" AND try_bp = "0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (lost VARCHAR, losing_bp VARCHAR, try_bp VARCHAR) Question: Can you tell me the Lost that has Losing BP of 5, and the Try BP of 0? [/INST] SELECT lost FROM table_name_65 WHERE losing_bp = "5" AND try_bp = "0" </s>
Can you tell me the Played that has the Club of club?
CREATE TABLE table_name_15 (played VARCHAR)
SELECT played FROM table_name_15 WHERE "club" = "club"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (played VARCHAR) Question: Can you tell me the Played that has the Club of club? [/INST] SELECT played FROM table_name_15 WHERE "club" = "club" </s>
Can you tell me the Club thay has the Try BP of 0?
CREATE TABLE table_name_84 (club VARCHAR, try_bp VARCHAR)
SELECT club FROM table_name_84 WHERE try_bp = "0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (club VARCHAR, try_bp VARCHAR) Question: Can you tell me the Club thay has the Try BP of 0? [/INST] SELECT club FROM table_name_84 WHERE try_bp = "0" </s>
What date did the Mountaineers score 27 points and their opponent scored more that 7?
CREATE TABLE table_name_82 (date VARCHAR, points_against VARCHAR, points_for VARCHAR)
SELECT date FROM table_name_82 WHERE points_against > 7 AND points_for = 27
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (date VARCHAR, points_against VARCHAR, points_for VARCHAR) Question: What date did the Mountaineers score 27 points and their opponent scored more that 7? [/INST] SELECT date FROM table_name_82 WHERE points_against > 7 AND points_for = 27 </s>
What was the final result when the Mountaineers scored less than 13 and their opponents scored 26?
CREATE TABLE table_name_32 (result VARCHAR, points_for VARCHAR, points_against VARCHAR)
SELECT result FROM table_name_32 WHERE points_for < 13 AND points_against = 26
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (result VARCHAR, points_for VARCHAR, points_against VARCHAR) Question: What was the final result when the Mountaineers scored less than 13 and their opponents scored 26? [/INST] SELECT result FROM table_name_32 WHERE points_for < 13 AND points_against = 26 </s>
With a Tally of 0-14, what is the Rank in Kilkenny County?
CREATE TABLE table_name_3 (rank VARCHAR, county VARCHAR, tally VARCHAR)
SELECT COUNT(rank) FROM table_name_3 WHERE county = "kilkenny" AND tally = "0-14"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (rank VARCHAR, county VARCHAR, tally VARCHAR) Question: With a Tally of 0-14, what is the Rank in Kilkenny County? [/INST] SELECT COUNT(rank) FROM table_name_3 WHERE county = "kilkenny" AND tally = "0-14" </s>
What County has Dublin as the Opposition?
CREATE TABLE table_name_78 (county VARCHAR, opposition VARCHAR)
SELECT county FROM table_name_78 WHERE opposition = "dublin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (county VARCHAR, opposition VARCHAR) Question: What County has Dublin as the Opposition? [/INST] SELECT county FROM table_name_78 WHERE opposition = "dublin" </s>
In Limerick County, what is the Rank with a Total larger than 12 and Tipperary as the Opposition?
CREATE TABLE table_name_48 (rank INTEGER, total VARCHAR, opposition VARCHAR, county VARCHAR)
SELECT AVG(rank) FROM table_name_48 WHERE opposition = "tipperary" AND county = "limerick" AND total > 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (rank INTEGER, total VARCHAR, opposition VARCHAR, county VARCHAR) Question: In Limerick County, what is the Rank with a Total larger than 12 and Tipperary as the Opposition? [/INST] SELECT AVG(rank) FROM table_name_48 WHERE opposition = "tipperary" AND county = "limerick" AND total > 12 </s>
What Player in Opposition of Kilkenny has a Total of 10?
CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, opposition VARCHAR)
SELECT player FROM table_name_83 WHERE total = 10 AND opposition = "kilkenny"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, opposition VARCHAR) Question: What Player in Opposition of Kilkenny has a Total of 10? [/INST] SELECT player FROM table_name_83 WHERE total = 10 AND opposition = "kilkenny" </s>
What is the time in Romania that has a lane larger than 4?
CREATE TABLE table_name_4 (time VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT time FROM table_name_4 WHERE lane > 4 AND nationality = "romania"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (time VARCHAR, lane VARCHAR, nationality VARCHAR) Question: What is the time in Romania that has a lane larger than 4? [/INST] SELECT time FROM table_name_4 WHERE lane > 4 AND nationality = "romania" </s>
Jin Hao had what amount of heat?
CREATE TABLE table_name_54 (heat VARCHAR, name VARCHAR)
SELECT heat FROM table_name_54 WHERE name = "jin hao"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (heat VARCHAR, name VARCHAR) Question: Jin Hao had what amount of heat? [/INST] SELECT heat FROM table_name_54 WHERE name = "jin hao" </s>
At time 15:29.69 what was the heat?
CREATE TABLE table_name_1 (heat VARCHAR, time VARCHAR)
SELECT heat FROM table_name_1 WHERE time = "15:29.69"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (heat VARCHAR, time VARCHAR) Question: At time 15:29.69 what was the heat? [/INST] SELECT heat FROM table_name_1 WHERE time = "15:29.69" </s>
What is the class of the team when less than 6 laps were completed?
CREATE TABLE table_name_31 (class VARCHAR, laps INTEGER)
SELECT class FROM table_name_31 WHERE laps < 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (class VARCHAR, laps INTEGER) Question: What is the class of the team when less than 6 laps were completed? [/INST] SELECT class FROM table_name_31 WHERE laps < 6 </s>
What is the year when Scuderia Lancia Corse competed?
CREATE TABLE table_name_51 (year VARCHAR, team VARCHAR)
SELECT COUNT(year) FROM table_name_51 WHERE team = "scuderia lancia corse"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (year VARCHAR, team VARCHAR) Question: What is the year when Scuderia Lancia Corse competed? [/INST] SELECT COUNT(year) FROM table_name_51 WHERE team = "scuderia lancia corse" </s>
What was the position of the teams before 1973?
CREATE TABLE table_name_23 (pos VARCHAR, year INTEGER)
SELECT pos FROM table_name_23 WHERE year < 1973
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (pos VARCHAR, year INTEGER) Question: What was the position of the teams before 1973? [/INST] SELECT pos FROM table_name_23 WHERE year < 1973 </s>
What is the laid down date of Kaki?
CREATE TABLE table_name_33 (laid_down VARCHAR, name VARCHAR)
SELECT laid_down FROM table_name_33 WHERE name = "kaki"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (laid_down VARCHAR, name VARCHAR) Question: What is the laid down date of Kaki? [/INST] SELECT laid_down FROM table_name_33 WHERE name = "kaki" </s>
What is the launch date of 栗?
CREATE TABLE table_name_70 (launched VARCHAR, kanji VARCHAR)
SELECT launched FROM table_name_70 WHERE kanji = "栗"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (launched VARCHAR, kanji VARCHAR) Question: What is the launch date of 栗? [/INST] SELECT launched FROM table_name_70 WHERE kanji = "栗" </s>
What is the completed date of 蓬?
CREATE TABLE table_name_87 (completed VARCHAR, kanji VARCHAR)
SELECT completed FROM table_name_87 WHERE kanji = "蓬"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (completed VARCHAR, kanji VARCHAR) Question: What is the completed date of 蓬? [/INST] SELECT completed FROM table_name_87 WHERE kanji = "蓬" </s>
Which catalog was published on December 19, 2001?
CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR)
SELECT catalog FROM table_name_89 WHERE date = "december 19, 2001"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR) Question: Which catalog was published on December 19, 2001? [/INST] SELECT catalog FROM table_name_89 WHERE date = "december 19, 2001" </s>
What is the label for October 21, 1981?
CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_37 WHERE date = "october 21, 1981"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR) Question: What is the label for October 21, 1981? [/INST] SELECT label FROM table_name_37 WHERE date = "october 21, 1981" </s>
What is the date for Catalog Alca-9201?
CREATE TABLE table_name_94 (date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_94 WHERE catalog = "alca-9201"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (date VARCHAR, catalog VARCHAR) Question: What is the date for Catalog Alca-9201? [/INST] SELECT date FROM table_name_94 WHERE catalog = "alca-9201" </s>
What is the format for July 27, 1994?
CREATE TABLE table_name_94 (format VARCHAR, date VARCHAR)
SELECT format FROM table_name_94 WHERE date = "july 27, 1994"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (format VARCHAR, date VARCHAR) Question: What is the format for July 27, 1994? [/INST] SELECT format FROM table_name_94 WHERE date = "july 27, 1994" </s>
What is the date of the label Alfa records, a CD format, and an alca-9201 catalog?
CREATE TABLE table_name_16 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR)
SELECT date FROM table_name_16 WHERE label = "alfa records" AND format = "cd" AND catalog = "alca-9201"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR) Question: What is the date of the label Alfa records, a CD format, and an alca-9201 catalog? [/INST] SELECT date FROM table_name_16 WHERE label = "alfa records" AND format = "cd" AND catalog = "alca-9201" </s>
What catalog has the CD format?
CREATE TABLE table_name_18 (catalog VARCHAR, format VARCHAR)
SELECT catalog FROM table_name_18 WHERE format = "cd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (catalog VARCHAR, format VARCHAR) Question: What catalog has the CD format? [/INST] SELECT catalog FROM table_name_18 WHERE format = "cd" </s>
Which nationaly is ranked greater than 1, with a time of 59.75?
CREATE TABLE table_name_1 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
SELECT nationality FROM table_name_1 WHERE rank > 1 AND time = "59.75"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (nationality VARCHAR, rank VARCHAR, time VARCHAR) Question: Which nationaly is ranked greater than 1, with a time of 59.75? [/INST] SELECT nationality FROM table_name_1 WHERE rank > 1 AND time = "59.75" </s>
Which france nationality has a lane larger than 3?
CREATE TABLE table_name_19 (name VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT name FROM table_name_19 WHERE lane > 3 AND nationality = "france"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (name VARCHAR, lane VARCHAR, nationality VARCHAR) Question: Which france nationality has a lane larger than 3? [/INST] SELECT name FROM table_name_19 WHERE lane > 3 AND nationality = "france" </s>
What's the total rank of the lane smaller than 8 with a time of 59.80?
CREATE TABLE table_name_15 (rank INTEGER, time VARCHAR, lane VARCHAR)
SELECT SUM(rank) FROM table_name_15 WHERE time = "59.80" AND lane < 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (rank INTEGER, time VARCHAR, lane VARCHAR) Question: What's the total rank of the lane smaller than 8 with a time of 59.80? [/INST] SELECT SUM(rank) FROM table_name_15 WHERE time = "59.80" AND lane < 8 </s>
What's the top rank that's lane is smaller than 1?
CREATE TABLE table_name_77 (rank INTEGER, lane INTEGER)
SELECT MAX(rank) FROM table_name_77 WHERE lane < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (rank INTEGER, lane INTEGER) Question: What's the top rank that's lane is smaller than 1? [/INST] SELECT MAX(rank) FROM table_name_77 WHERE lane < 1 </s>
What year did deputy prime minister Mariano Rajoy Brey take office?
CREATE TABLE table_name_9 (took_office INTEGER, deputy_prime_minister VARCHAR)
SELECT SUM(took_office) FROM table_name_9 WHERE deputy_prime_minister = "mariano rajoy brey"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (took_office INTEGER, deputy_prime_minister VARCHAR) Question: What year did deputy prime minister Mariano Rajoy Brey take office? [/INST] SELECT SUM(took_office) FROM table_name_9 WHERE deputy_prime_minister = "mariano rajoy brey" </s>
Which deputy prime minister left office in 2004 and was in the 7th legislature?
CREATE TABLE table_name_8 (deputy_prime_minister VARCHAR, term VARCHAR, left_office VARCHAR)
SELECT deputy_prime_minister FROM table_name_8 WHERE term = "7th legislature" AND left_office = "2004"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (deputy_prime_minister VARCHAR, term VARCHAR, left_office VARCHAR) Question: Which deputy prime minister left office in 2004 and was in the 7th legislature? [/INST] SELECT deputy_prime_minister FROM table_name_8 WHERE term = "7th legislature" AND left_office = "2004" </s>
Which deputy prime minister left office in 1981?
CREATE TABLE table_name_87 (deputy_prime_minister VARCHAR, left_office VARCHAR)
SELECT deputy_prime_minister FROM table_name_87 WHERE left_office = "1981"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (deputy_prime_minister VARCHAR, left_office VARCHAR) Question: Which deputy prime minister left office in 1981? [/INST] SELECT deputy_prime_minister FROM table_name_87 WHERE left_office = "1981" </s>
How many points did Connaught Type A chassis earn on average before 1955?
CREATE TABLE table_name_32 (points INTEGER, year VARCHAR, chassis VARCHAR)
SELECT AVG(points) FROM table_name_32 WHERE year < 1955 AND chassis = "connaught type a"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (points INTEGER, year VARCHAR, chassis VARCHAR) Question: How many points did Connaught Type A chassis earn on average before 1955? [/INST] SELECT AVG(points) FROM table_name_32 WHERE year < 1955 AND chassis = "connaught type a" </s>
What is the lowest points with 6 draws and lower than rank 10?
CREATE TABLE table_name_62 (points INTEGER, draw VARCHAR, rank VARCHAR)
SELECT MIN(points) FROM table_name_62 WHERE draw = 6 AND rank > 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (points INTEGER, draw VARCHAR, rank VARCHAR) Question: What is the lowest points with 6 draws and lower than rank 10? [/INST] SELECT MIN(points) FROM table_name_62 WHERE draw = 6 AND rank > 10 </s>
What is the lowest draw with rank 4?
CREATE TABLE table_name_94 (draw INTEGER, rank VARCHAR)
SELECT MIN(draw) FROM table_name_94 WHERE rank = 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (draw INTEGER, rank VARCHAR) Question: What is the lowest draw with rank 4? [/INST] SELECT MIN(draw) FROM table_name_94 WHERE rank = 4 </s>
How many draws has lower than rank 10 in rumba/cha-cha/jazz dance?
CREATE TABLE table_name_65 (draw VARCHAR, rank VARCHAR, dance_styles VARCHAR)
SELECT COUNT(draw) FROM table_name_65 WHERE rank < 10 AND dance_styles = "rumba/cha-cha/jazz dance"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (draw VARCHAR, rank VARCHAR, dance_styles VARCHAR) Question: How many draws has lower than rank 10 in rumba/cha-cha/jazz dance? [/INST] SELECT COUNT(draw) FROM table_name_65 WHERE rank < 10 AND dance_styles = "rumba/cha-cha/jazz dance" </s>
How many draws have rumba/tango dance styles?
CREATE TABLE table_name_79 (draw VARCHAR, dance_styles VARCHAR)
SELECT COUNT(draw) FROM table_name_79 WHERE dance_styles = "rumba/tango"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (draw VARCHAR, dance_styles VARCHAR) Question: How many draws have rumba/tango dance styles? [/INST] SELECT COUNT(draw) FROM table_name_79 WHERE dance_styles = "rumba/tango" </s>
What's the sum of the totals for Russia with more than 1 gold and less than 10 bronze?
CREATE TABLE table_name_90 (total INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT SUM(total) FROM table_name_90 WHERE gold > 1 AND nation = "russia" AND bronze < 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (total INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR) Question: What's the sum of the totals for Russia with more than 1 gold and less than 10 bronze? [/INST] SELECT SUM(total) FROM table_name_90 WHERE gold > 1 AND nation = "russia" AND bronze < 10 </s>
what tournament happened on march 27, 2006?
CREATE TABLE table_name_34 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_34 WHERE date = "march 27, 2006"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (tournament VARCHAR, date VARCHAR) Question: what tournament happened on march 27, 2006? [/INST] SELECT tournament FROM table_name_34 WHERE date = "march 27, 2006" </s>
what was the score when scoville jenkins was the opponent?
CREATE TABLE table_name_59 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_59 WHERE opponent = "scoville jenkins"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (score VARCHAR, opponent VARCHAR) Question: what was the score when scoville jenkins was the opponent? [/INST] SELECT score FROM table_name_59 WHERE opponent = "scoville jenkins" </s>
what was the opponent on november 14, 2005?
CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_91 WHERE date = "november 14, 2005"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR) Question: what was the opponent on november 14, 2005? [/INST] SELECT opponent FROM table_name_91 WHERE date = "november 14, 2005" </s>
what tournament happened on may 2, 2011?
CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_94 WHERE date = "may 2, 2011"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR) Question: what tournament happened on may 2, 2011? [/INST] SELECT tournament FROM table_name_94 WHERE date = "may 2, 2011" </s>
what tournament had sam querrey as the opponent?
CREATE TABLE table_name_51 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_51 WHERE opponent = "sam querrey"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (tournament VARCHAR, opponent VARCHAR) Question: what tournament had sam querrey as the opponent? [/INST] SELECT tournament FROM table_name_51 WHERE opponent = "sam querrey" </s>
what tournament was on a hard surface and saw jacob adaktusson as the opponent?
CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_78 WHERE surface = "hard" AND opponent = "jacob adaktusson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR) Question: what tournament was on a hard surface and saw jacob adaktusson as the opponent? [/INST] SELECT tournament FROM table_name_78 WHERE surface = "hard" AND opponent = "jacob adaktusson" </s>
Who was the opponent on September 17, 1995?
CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_63 WHERE date = "september 17, 1995"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR) Question: Who was the opponent on September 17, 1995? [/INST] SELECT opponent FROM table_name_63 WHERE date = "september 17, 1995" </s>
Which week had an attendance of 51,265?
CREATE TABLE table_name_93 (week VARCHAR, attendance VARCHAR)
SELECT week FROM table_name_93 WHERE attendance = "51,265"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (week VARCHAR, attendance VARCHAR) Question: Which week had an attendance of 51,265? [/INST] SELECT week FROM table_name_93 WHERE attendance = "51,265" </s>
Who was the opponent on December 17, 1995?
CREATE TABLE table_name_58 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_58 WHERE date = "december 17, 1995"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (opponent VARCHAR, date VARCHAR) Question: Who was the opponent on December 17, 1995? [/INST] SELECT opponent FROM table_name_58 WHERE date = "december 17, 1995" </s>
Which record has 4:14 as the time?
CREATE TABLE table_name_94 (record VARCHAR, time VARCHAR)
SELECT record FROM table_name_94 WHERE time = "4:14"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (record VARCHAR, time VARCHAR) Question: Which record has 4:14 as the time? [/INST] SELECT record FROM table_name_94 WHERE time = "4:14" </s>
Which record has tko (strikes) as the method, and daan kooiman as the opponent?
CREATE TABLE table_name_57 (record VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_57 WHERE method = "tko (strikes)" AND opponent = "daan kooiman"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (record VARCHAR, method VARCHAR, opponent VARCHAR) Question: Which record has tko (strikes) as the method, and daan kooiman as the opponent? [/INST] SELECT record FROM table_name_57 WHERE method = "tko (strikes)" AND opponent = "daan kooiman" </s>
Which round has pain and glory 2006 as the event?
CREATE TABLE table_name_94 (round VARCHAR, event VARCHAR)
SELECT round FROM table_name_94 WHERE event = "pain and glory 2006"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (round VARCHAR, event VARCHAR) Question: Which round has pain and glory 2006 as the event? [/INST] SELECT round FROM table_name_94 WHERE event = "pain and glory 2006" </s>
Which record has john flemming as the opponent?
CREATE TABLE table_name_14 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_14 WHERE opponent = "john flemming"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (record VARCHAR, opponent VARCHAR) Question: Which record has john flemming as the opponent? [/INST] SELECT record FROM table_name_14 WHERE opponent = "john flemming" </s>
Which record has 5:00 as the time, jess liaudin as the opponent for the location of england?
CREATE TABLE table_name_49 (record VARCHAR, location VARCHAR, time VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_49 WHERE time = "5:00" AND opponent = "jess liaudin" AND location = "england"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (record VARCHAR, location VARCHAR, time VARCHAR, opponent VARCHAR) Question: Which record has 5:00 as the time, jess liaudin as the opponent for the location of england? [/INST] SELECT record FROM table_name_49 WHERE time = "5:00" AND opponent = "jess liaudin" AND location = "england" </s>
Name the score for home of green bay packers
CREATE TABLE table_name_37 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_37 WHERE home = "green bay packers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (score VARCHAR, home VARCHAR) Question: Name the score for home of green bay packers [/INST] SELECT score FROM table_name_37 WHERE home = "green bay packers" </s>
Name the home for 21-17
CREATE TABLE table_name_93 (home VARCHAR, score VARCHAR)
SELECT home FROM table_name_93 WHERE score = "21-17"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (home VARCHAR, score VARCHAR) Question: Name the home for 21-17 [/INST] SELECT home FROM table_name_93 WHERE score = "21-17" </s>
What engine did Scuderia Ambrosiana with fewer than 4 points have?
CREATE TABLE table_name_85 (engine VARCHAR, entrant VARCHAR, points VARCHAR)
SELECT engine FROM table_name_85 WHERE entrant = "scuderia ambrosiana" AND points < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (engine VARCHAR, entrant VARCHAR, points VARCHAR) Question: What engine did Scuderia Ambrosiana with fewer than 4 points have? [/INST] SELECT engine FROM table_name_85 WHERE entrant = "scuderia ambrosiana" AND points < 4 </s>
What chassis had fewer than 0 points in a year before 1954?
CREATE TABLE table_name_39 (chassis VARCHAR, year VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_39 WHERE year < 1954 AND points = 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (chassis VARCHAR, year VARCHAR, points VARCHAR) Question: What chassis had fewer than 0 points in a year before 1954? [/INST] SELECT chassis FROM table_name_39 WHERE year < 1954 AND points = 0 </s>
What chassis had an entrant of G.A. Vandervell?
CREATE TABLE table_name_5 (chassis VARCHAR, entrant VARCHAR)
SELECT chassis FROM table_name_5 WHERE entrant = "g.a. vandervell"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (chassis VARCHAR, entrant VARCHAR) Question: What chassis had an entrant of G.A. Vandervell? [/INST] SELECT chassis FROM table_name_5 WHERE entrant = "g.a. vandervell" </s>
How many people were in attendance on may 2?
CREATE TABLE table_name_3 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_3 WHERE date = "may 2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (attendance INTEGER, date VARCHAR) Question: How many people were in attendance on may 2? [/INST] SELECT MIN(attendance) FROM table_name_3 WHERE date = "may 2" </s>