instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
How much Distance has a County of faulkner, and a Total smaller than 1.5?
CREATE TABLE table_name_73 (distance INTEGER, county VARCHAR, total VARCHAR)
SELECT SUM(distance) FROM table_name_73 WHERE county = "faulkner" AND total < 1.5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (distance INTEGER, county VARCHAR, total VARCHAR) Question: How much Distance has a County of faulkner, and a Total smaller than 1.5? [/INST] SELECT SUM(distance) FROM table_name_73 WHERE county = ...
How much Distance has Notes of north end terminus of ar 155?
CREATE TABLE table_name_87 (distance INTEGER, notes VARCHAR)
SELECT SUM(distance) FROM table_name_87 WHERE notes = "north end terminus of ar 155"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (distance INTEGER, notes VARCHAR) Question: How much Distance has Notes of north end terminus of ar 155? [/INST] SELECT SUM(distance) FROM table_name_87 WHERE notes = "north end terminus of ar 155"...
How much Latitude has a Water (sqmi) smaller than 0?
CREATE TABLE table_name_69 (latitude VARCHAR, water__sqmi_ INTEGER)
SELECT COUNT(latitude) FROM table_name_69 WHERE water__sqmi_ < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (latitude VARCHAR, water__sqmi_ INTEGER) Question: How much Latitude has a Water (sqmi) smaller than 0? [/INST] SELECT COUNT(latitude) FROM table_name_69 WHERE water__sqmi_ < 0 </s>
Which Land (sqmi) has a GEO ID smaller than 3800587900?
CREATE TABLE table_name_49 (land___sqmi__ INTEGER, geo_id INTEGER)
SELECT MIN(land___sqmi__) FROM table_name_49 WHERE geo_id < 3800587900
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (land___sqmi__ INTEGER, geo_id INTEGER) Question: Which Land (sqmi) has a GEO ID smaller than 3800587900? [/INST] SELECT MIN(land___sqmi__) FROM table_name_49 WHERE geo_id < 3800587900 </s>
Which Water (sqmi) has a Township of yorktown, and a GEO ID smaller than 3802187940?
CREATE TABLE table_name_22 (water__sqmi_ INTEGER, township VARCHAR, geo_id VARCHAR)
SELECT MIN(water__sqmi_) FROM table_name_22 WHERE township = "yorktown" AND geo_id < 3802187940
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (water__sqmi_ INTEGER, township VARCHAR, geo_id VARCHAR) Question: Which Water (sqmi) has a Township of yorktown, and a GEO ID smaller than 3802187940? [/INST] SELECT MIN(water__sqmi_) FROM table_n...
What school had Jeff Urban playing at the p position?
CREATE TABLE table_name_92 (school VARCHAR, position VARCHAR, player VARCHAR)
SELECT school FROM table_name_92 WHERE position = "p" AND player = "jeff urban"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (school VARCHAR, position VARCHAR, player VARCHAR) Question: What school had Jeff Urban playing at the p position? [/INST] SELECT school FROM table_name_92 WHERE position = "p" AND player = "jeff u...
What school has the Kansas City Royals for a team?
CREATE TABLE table_name_27 (school VARCHAR, team VARCHAR)
SELECT school FROM table_name_27 WHERE team = "kansas city royals"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (school VARCHAR, team VARCHAR) Question: What school has the Kansas City Royals for a team? [/INST] SELECT school FROM table_name_27 WHERE team = "kansas city royals" </s>
What is the date of the match where vampiro was the winner in Mexico City?
CREATE TABLE table_name_40 (date VARCHAR, location VARCHAR, winner VARCHAR)
SELECT date FROM table_name_40 WHERE location = "mexico city" AND winner = "vampiro"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (date VARCHAR, location VARCHAR, winner VARCHAR) Question: What is the date of the match where vampiro was the winner in Mexico City? [/INST] SELECT date FROM table_name_40 WHERE location = "mexico...
What is the wager on August 23, 1992 where vampiro was the winner?
CREATE TABLE table_name_94 (wager VARCHAR, winner VARCHAR, date VARCHAR)
SELECT wager FROM table_name_94 WHERE winner = "vampiro" AND date = "august 23, 1992"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (wager VARCHAR, winner VARCHAR, date VARCHAR) Question: What is the wager on August 23, 1992 where vampiro was the winner? [/INST] SELECT wager FROM table_name_94 WHERE winner = "vampiro" AND date ...
What is the location where shocker was the winner?
CREATE TABLE table_name_14 (location VARCHAR, winner VARCHAR)
SELECT location FROM table_name_14 WHERE winner = "shocker"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (location VARCHAR, winner VARCHAR) Question: What is the location where shocker was the winner? [/INST] SELECT location FROM table_name_14 WHERE winner = "shocker" </s>
What is the location where aaron grundy was the loser?
CREATE TABLE table_name_27 (location VARCHAR, loser VARCHAR)
SELECT location FROM table_name_27 WHERE loser = "aaron grundy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (location VARCHAR, loser VARCHAR) Question: What is the location where aaron grundy was the loser? [/INST] SELECT location FROM table_name_27 WHERE loser = "aaron grundy" </s>
What is the 1994 when QF is 1999?
CREATE TABLE table_name_4 (Id VARCHAR)
SELECT 1994 FROM table_name_4 WHERE 1999 = "qf"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (Id VARCHAR) Question: What is the 1994 when QF is 1999? [/INST] SELECT 1994 FROM table_name_4 WHERE 1999 = "qf" </s>
What is the 1991 when 1997 is 18?
CREATE TABLE table_name_26 (Id VARCHAR)
SELECT 1991 FROM table_name_26 WHERE 1997 = "18"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (Id VARCHAR) Question: What is the 1991 when 1997 is 18? [/INST] SELECT 1991 FROM table_name_26 WHERE 1997 = "18" </s>
What's the 1991 when 1999 is 14?
CREATE TABLE table_name_25 (Id VARCHAR)
SELECT 1991 FROM table_name_25 WHERE 1999 = "14"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (Id VARCHAR) Question: What's the 1991 when 1999 is 14? [/INST] SELECT 1991 FROM table_name_25 WHERE 1999 = "14" </s>
What's the 1996 when 1997 is 3R?
CREATE TABLE table_name_44 (Id VARCHAR)
SELECT 1996 FROM table_name_44 WHERE 1997 = "3r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (Id VARCHAR) Question: What's the 1996 when 1997 is 3R? [/INST] SELECT 1996 FROM table_name_44 WHERE 1997 = "3r" </s>
What is 1994 when 1996 is 3R?
CREATE TABLE table_name_46 (Id VARCHAR)
SELECT 1994 FROM table_name_46 WHERE 1996 = "3r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (Id VARCHAR) Question: What is 1994 when 1996 is 3R? [/INST] SELECT 1994 FROM table_name_46 WHERE 1996 = "3r" </s>
What is 1996 during the US Open?
CREATE TABLE table_name_72 (tournament VARCHAR)
SELECT 1996 FROM table_name_72 WHERE tournament = "us open"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (tournament VARCHAR) Question: What is 1996 during the US Open? [/INST] SELECT 1996 FROM table_name_72 WHERE tournament = "us open" </s>
What's the standard name with an ADSL2 version and a 01.5 1.5 mbit/s downstream rate?
CREATE TABLE table_name_49 (standard_name VARCHAR, version VARCHAR, downstream_rate VARCHAR)
SELECT standard_name FROM table_name_49 WHERE version = "adsl2" AND downstream_rate = "01.5 1.5 mbit/s"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (standard_name VARCHAR, version VARCHAR, downstream_rate VARCHAR) Question: What's the standard name with an ADSL2 version and a 01.5 1.5 mbit/s downstream rate? [/INST] SELECT standard_name FROM t...
What's the downstream rate for the Itu g.992.2 having a version of ADSL?
CREATE TABLE table_name_2 (downstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR)
SELECT downstream_rate FROM table_name_2 WHERE version = "adsl" AND standard_name = "itu g.992.2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (downstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR) Question: What's the downstream rate for the Itu g.992.2 having a version of ADSL? [/INST] SELECT downstream_rate FROM table_name_2 ...
What's the version of Itu g.992.3 Annex J?
CREATE TABLE table_name_97 (version VARCHAR, standard_name VARCHAR)
SELECT version FROM table_name_97 WHERE standard_name = "itu g.992.3 annex j"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (version VARCHAR, standard_name VARCHAR) Question: What's the version of Itu g.992.3 Annex J? [/INST] SELECT version FROM table_name_97 WHERE standard_name = "itu g.992.3 annex j" </s>
What's the version that has a 20.0 mbit/s downstream rate?
CREATE TABLE table_name_81 (version VARCHAR, downstream_rate VARCHAR)
SELECT version FROM table_name_81 WHERE downstream_rate = "20.0 mbit/s"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (version VARCHAR, downstream_rate VARCHAR) Question: What's the version that has a 20.0 mbit/s downstream rate? [/INST] SELECT version FROM table_name_81 WHERE downstream_rate = "20.0 mbit/s" </s>
What's the upstream rate for Itu g.992.2 with a version of ADSL?
CREATE TABLE table_name_60 (upstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR)
SELECT upstream_rate FROM table_name_60 WHERE version = "adsl" AND standard_name = "itu g.992.2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (upstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR) Question: What's the upstream rate for Itu g.992.2 with a version of ADSL? [/INST] SELECT upstream_rate FROM table_name_60 WHERE vers...
How many games does the player with 1 (0) finals and a w-league of 28 (1) have?
CREATE TABLE table_name_12 (games VARCHAR, finals VARCHAR, w_league VARCHAR)
SELECT games FROM table_name_12 WHERE finals = "1 (0)" AND w_league = "28 (1)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (games VARCHAR, finals VARCHAR, w_league VARCHAR) Question: How many games does the player with 1 (0) finals and a w-league of 28 (1) have? [/INST] SELECT games FROM table_name_12 WHERE finals = "1...
What year had more than 2 goals and 11 (2) games?
CREATE TABLE table_name_36 (years VARCHAR, goals VARCHAR, games VARCHAR)
SELECT years FROM table_name_36 WHERE goals > 2 AND games = "11 (2)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (years VARCHAR, goals VARCHAR, games VARCHAR) Question: What year had more than 2 goals and 11 (2) games? [/INST] SELECT years FROM table_name_36 WHERE goals > 2 AND games = "11 (2)" </s>
What is the lowest number of goals with 8 (2) w-leagues?
CREATE TABLE table_name_52 (goals INTEGER, w_league VARCHAR)
SELECT MIN(goals) FROM table_name_52 WHERE w_league = "8 (2)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (goals INTEGER, w_league VARCHAR) Question: What is the lowest number of goals with 8 (2) w-leagues? [/INST] SELECT MIN(goals) FROM table_name_52 WHERE w_league = "8 (2)" </s>
Which UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0?
CREATE TABLE table_name_9 (uefa_champions_league INTEGER, la_liga VARCHAR, copa_del_rey VARCHAR)
SELECT MIN(uefa_champions_league) FROM table_name_9 WHERE la_liga = 17 AND copa_del_rey > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (uefa_champions_league INTEGER, la_liga VARCHAR, copa_del_rey VARCHAR) Question: Which UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0? [/INST] SELECT MIN(uefa_champions_...
Which Copa del Rey has a Name of guti, and a FIFA Club World Championship smaller than 0?
CREATE TABLE table_name_63 (copa_del_rey INTEGER, name VARCHAR, fifa_club_world_championship VARCHAR)
SELECT SUM(copa_del_rey) FROM table_name_63 WHERE name = "guti" AND fifa_club_world_championship < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (copa_del_rey INTEGER, name VARCHAR, fifa_club_world_championship VARCHAR) Question: Which Copa del Rey has a Name of guti, and a FIFA Club World Championship smaller than 0? [/INST] SELECT SUM(cop...
Which Copa del Rey has a La Liga smaller than 0?
CREATE TABLE table_name_80 (copa_del_rey INTEGER, la_liga INTEGER)
SELECT SUM(copa_del_rey) FROM table_name_80 WHERE la_liga < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (copa_del_rey INTEGER, la_liga INTEGER) Question: Which Copa del Rey has a La Liga smaller than 0? [/INST] SELECT SUM(copa_del_rey) FROM table_name_80 WHERE la_liga < 0 </s>
Which FIFA Club World Championship has a UEFA Champions League of 0, and a Total smaller than 3, and a Name of geremi?
CREATE TABLE table_name_56 (fifa_club_world_championship INTEGER, name VARCHAR, uefa_champions_league VARCHAR, total VARCHAR)
SELECT MIN(fifa_club_world_championship) FROM table_name_56 WHERE uefa_champions_league = 0 AND total < 3 AND name = "geremi"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (fifa_club_world_championship INTEGER, name VARCHAR, uefa_champions_league VARCHAR, total VARCHAR) Question: Which FIFA Club World Championship has a UEFA Champions League of 0, and a Total smaller...
What is the average rank for Hungary?
CREATE TABLE table_name_82 (rank INTEGER, country VARCHAR)
SELECT AVG(rank) FROM table_name_82 WHERE country = "hungary"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (rank INTEGER, country VARCHAR) Question: What is the average rank for Hungary? [/INST] SELECT AVG(rank) FROM table_name_82 WHERE country = "hungary" </s>
What country has a time of 3:19.167?
CREATE TABLE table_name_36 (country VARCHAR, time VARCHAR)
SELECT country FROM table_name_36 WHERE time = "3:19.167"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (country VARCHAR, time VARCHAR) Question: What country has a time of 3:19.167? [/INST] SELECT country FROM table_name_36 WHERE time = "3:19.167" </s>
What are the notes for the time at 3:19.167?
CREATE TABLE table_name_85 (notes VARCHAR, time VARCHAR)
SELECT notes FROM table_name_85 WHERE time = "3:19.167"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (notes VARCHAR, time VARCHAR) Question: What are the notes for the time at 3:19.167? [/INST] SELECT notes FROM table_name_85 WHERE time = "3:19.167" </s>
What was the album Closer: The Best of Sarah Mclachlan certified as?
CREATE TABLE table_name_88 (certification VARCHAR, album VARCHAR)
SELECT certification FROM table_name_88 WHERE album = "closer: the best of sarah mclachlan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (certification VARCHAR, album VARCHAR) Question: What was the album Closer: The Best of Sarah Mclachlan certified as? [/INST] SELECT certification FROM table_name_88 WHERE album = "closer: the best...
What is the average Laps that have gregorio lavilla as the rider, with a grid greater than 13?
CREATE TABLE table_name_95 (laps INTEGER, rider VARCHAR, grid VARCHAR)
SELECT AVG(laps) FROM table_name_95 WHERE rider = "gregorio lavilla" AND grid > 13
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (laps INTEGER, rider VARCHAR, grid VARCHAR) Question: What is the average Laps that have gregorio lavilla as the rider, with a grid greater than 13? [/INST] SELECT AVG(laps) FROM table_name_95 WHER...
What bike has 26 as the grid?
CREATE TABLE table_name_20 (bike VARCHAR, grid VARCHAR)
SELECT bike FROM table_name_20 WHERE grid = 26
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (bike VARCHAR, grid VARCHAR) Question: What bike has 26 as the grid? [/INST] SELECT bike FROM table_name_20 WHERE grid = 26 </s>
What is the highest grid that has +44.866 as the time, with laps greater than 25?
CREATE TABLE table_name_80 (grid INTEGER, time VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_80 WHERE time = "+44.866" AND laps > 25
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (grid INTEGER, time VARCHAR, laps VARCHAR) Question: What is the highest grid that has +44.866 as the time, with laps greater than 25? [/INST] SELECT MAX(grid) FROM table_name_80 WHERE time = "+44....
who has the high points on june 16?
CREATE TABLE table_name_53 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_53 WHERE date = "june 16"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (high_points VARCHAR, date VARCHAR) Question: who has the high points on june 16? [/INST] SELECT high_points FROM table_name_53 WHERE date = "june 16" </s>
What was the attendance on november 2, 2003?
CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_84 WHERE date = "november 2, 2003"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR) Question: What was the attendance on november 2, 2003? [/INST] SELECT attendance FROM table_name_84 WHERE date = "november 2, 2003" </s>
What is the 1.93 that is 2.05 in height?
CREATE TABLE table_name_77 (height VARCHAR)
SELECT 193 FROM table_name_77 WHERE height = 2.05
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (height VARCHAR) Question: What is the 1.93 that is 2.05 in height? [/INST] SELECT 193 FROM table_name_77 WHERE height = 2.05 </s>
What is the 1.93 for Svetlana Shkolina?
CREATE TABLE table_name_69 (name VARCHAR)
SELECT 193 FROM table_name_69 WHERE name = "svetlana shkolina"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (name VARCHAR) Question: What is the 1.93 for Svetlana Shkolina? [/INST] SELECT 193 FROM table_name_69 WHERE name = "svetlana shkolina" </s>
What is the name for the play from the Ukraine, and a 1.93 xxo?
CREATE TABLE table_name_50 (name VARCHAR, nationality VARCHAR)
SELECT name FROM table_name_50 WHERE nationality = "ukraine" AND 193 = "xxo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (name VARCHAR, nationality VARCHAR) Question: What is the name for the play from the Ukraine, and a 1.93 xxo? [/INST] SELECT name FROM table_name_50 WHERE nationality = "ukraine" AND 193 = "xxo" </...
What country in Europe is ranked 4, with top goal scorer Karl-Heinz Rummenigge with 14 goals?
CREATE TABLE table_name_68 (europe VARCHAR, goals VARCHAR, rank VARCHAR, top_goalscorer VARCHAR)
SELECT europe FROM table_name_68 WHERE rank = "4" AND top_goalscorer = "karl-heinz rummenigge" AND goals = 14
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (europe VARCHAR, goals VARCHAR, rank VARCHAR, top_goalscorer VARCHAR) Question: What country in Europe is ranked 4, with top goal scorer Karl-Heinz Rummenigge with 14 goals? [/INST] SELECT europe F...
Wha is the rank for 52 574 avg. att?
CREATE TABLE table_name_49 (rank VARCHAR, avgatt VARCHAR)
SELECT rank FROM table_name_49 WHERE avgatt = "52 574"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (rank VARCHAR, avgatt VARCHAR) Question: Wha is the rank for 52 574 avg. att? [/INST] SELECT rank FROM table_name_49 WHERE avgatt = "52 574" </s>
What european country had more than 14 goals, and 52 538 avg att?
CREATE TABLE table_name_83 (europe VARCHAR, goals VARCHAR, avgatt VARCHAR)
SELECT europe FROM table_name_83 WHERE goals > 14 AND avgatt = "52 538"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (europe VARCHAR, goals VARCHAR, avgatt VARCHAR) Question: What european country had more than 14 goals, and 52 538 avg att? [/INST] SELECT europe FROM table_name_83 WHERE goals > 14 AND avgatt = "5...
What's the least amount of wins for Germany in the 1999 season having 0 points?
CREATE TABLE table_name_30 (wins INTEGER, seasons VARCHAR, points VARCHAR, country VARCHAR)
SELECT MIN(wins) FROM table_name_30 WHERE points = "0" AND country = "germany" AND seasons = "1999"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (wins INTEGER, seasons VARCHAR, points VARCHAR, country VARCHAR) Question: What's the least amount of wins for Germany in the 1999 season having 0 points? [/INST] SELECT MIN(wins) FROM table_name_3...
How many wins when the points are 0 and podiums are less than 0?
CREATE TABLE table_name_51 (wins INTEGER, points VARCHAR, podiums VARCHAR)
SELECT SUM(wins) FROM table_name_51 WHERE points = "0" AND podiums < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (wins INTEGER, points VARCHAR, podiums VARCHAR) Question: How many wins when the points are 0 and podiums are less than 0? [/INST] SELECT SUM(wins) FROM table_name_51 WHERE points = "0" AND podiums...
What's the fastest laps during the 1995 season having poles & podiums at 0?
CREATE TABLE table_name_2 (fastest_laps INTEGER, seasons VARCHAR, poles VARCHAR, podiums VARCHAR)
SELECT SUM(fastest_laps) FROM table_name_2 WHERE poles = 0 AND podiums = 0 AND seasons = "1995"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (fastest_laps INTEGER, seasons VARCHAR, poles VARCHAR, podiums VARCHAR) Question: What's the fastest laps during the 1995 season having poles & podiums at 0? [/INST] SELECT SUM(fastest_laps) FROM ta...
How many years have an Award of venice film festival, and a Title of lust, caution?
CREATE TABLE table_name_73 (year VARCHAR, award VARCHAR, title VARCHAR)
SELECT COUNT(year) FROM table_name_73 WHERE award = "venice film festival" AND title = "lust, caution"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (year VARCHAR, award VARCHAR, title VARCHAR) Question: How many years have an Award of venice film festival, and a Title of lust, caution? [/INST] SELECT COUNT(year) FROM table_name_73 WHERE award ...
Which Category has a Year larger than 1996, and a Result of won, and a Title of brokeback mountain, and an Award of golden globe award?
CREATE TABLE table_name_45 (category VARCHAR, award VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR)
SELECT category FROM table_name_45 WHERE year > 1996 AND result = "won" AND title = "brokeback mountain" AND award = "golden globe award"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (category VARCHAR, award VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR) Question: Which Category has a Year larger than 1996, and a Result of won, and a Title of brokeback mountain, and an A...
Which Title has a Year smaller than 2001, and an Award of independent spirit awards?
CREATE TABLE table_name_14 (title VARCHAR, year VARCHAR, award VARCHAR)
SELECT title FROM table_name_14 WHERE year < 2001 AND award = "independent spirit awards"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (title VARCHAR, year VARCHAR, award VARCHAR) Question: Which Title has a Year smaller than 2001, and an Award of independent spirit awards? [/INST] SELECT title FROM table_name_14 WHERE year < 2001...
Which chassis has 17 points?
CREATE TABLE table_name_30 (chassis VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_30 WHERE points = 17
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (chassis VARCHAR, points VARCHAR) Question: Which chassis has 17 points? [/INST] SELECT chassis FROM table_name_30 WHERE points = 17 </s>
What is the average draw for 186 games?
CREATE TABLE table_name_33 (draw INTEGER, total_games VARCHAR)
SELECT AVG(draw) FROM table_name_33 WHERE total_games = 186
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (draw INTEGER, total_games VARCHAR) Question: What is the average draw for 186 games? [/INST] SELECT AVG(draw) FROM table_name_33 WHERE total_games = 186 </s>
What is the number of games for less than 2 seasons and more than 7 draws?
CREATE TABLE table_name_34 (total_games INTEGER, number_of_seasons VARCHAR, draw VARCHAR)
SELECT SUM(total_games) FROM table_name_34 WHERE number_of_seasons < 2 AND draw > 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (total_games INTEGER, number_of_seasons VARCHAR, draw VARCHAR) Question: What is the number of games for less than 2 seasons and more than 7 draws? [/INST] SELECT SUM(total_games) FROM table_name_3...
What is the total number of losses for less than 48 games, and less than 7 draws?
CREATE TABLE table_name_56 (loss VARCHAR, total_games VARCHAR, draw VARCHAR)
SELECT COUNT(loss) FROM table_name_56 WHERE total_games < 48 AND draw < 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (loss VARCHAR, total_games VARCHAR, draw VARCHAR) Question: What is the total number of losses for less than 48 games, and less than 7 draws? [/INST] SELECT COUNT(loss) FROM table_name_56 WHERE tot...
What is the total number of games with more than 18 loses, a Total League, and more than 317 draws?
CREATE TABLE table_name_26 (total_games VARCHAR, draw VARCHAR, loss VARCHAR, league VARCHAR)
SELECT COUNT(total_games) FROM table_name_26 WHERE loss > 18 AND league = "total" AND draw > 317
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (total_games VARCHAR, draw VARCHAR, loss VARCHAR, league VARCHAR) Question: What is the total number of games with more than 18 loses, a Total League, and more than 317 draws? [/INST] SELECT COUNT(...
What is Bobby Ryan's nationality?
CREATE TABLE table_name_91 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_91 WHERE player = "bobby ryan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (nationality VARCHAR, player VARCHAR) Question: What is Bobby Ryan's nationality? [/INST] SELECT nationality FROM table_name_91 WHERE player = "bobby ryan" </s>
What's the location of the team Peter Stuyvesant International Racing?
CREATE TABLE table_name_65 (city___state VARCHAR, team VARCHAR)
SELECT city___state FROM table_name_65 WHERE team = "peter stuyvesant international racing"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (city___state VARCHAR, team VARCHAR) Question: What's the location of the team Peter Stuyvesant International Racing? [/INST] SELECT city___state FROM table_name_65 WHERE team = "peter stuyvesant i...
Who was the winner of the Adelaide International Raceway circuit?
CREATE TABLE table_name_27 (winner VARCHAR, circuit VARCHAR)
SELECT winner FROM table_name_27 WHERE circuit = "adelaide international raceway"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (winner VARCHAR, circuit VARCHAR) Question: Who was the winner of the Adelaide International Raceway circuit? [/INST] SELECT winner FROM table_name_27 WHERE circuit = "adelaide international racewa...
What date has the Surfers Paradise International Raceway circuit?
CREATE TABLE table_name_52 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_52 WHERE circuit = "surfers paradise international raceway"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (date VARCHAR, circuit VARCHAR) Question: What date has the Surfers Paradise International Raceway circuit? [/INST] SELECT date FROM table_name_52 WHERE circuit = "surfers paradise international ra...
What is the race title of Dick Johnson Racing?
CREATE TABLE table_name_73 (race_title VARCHAR, team VARCHAR)
SELECT race_title FROM table_name_73 WHERE team = "dick johnson racing"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (race_title VARCHAR, team VARCHAR) Question: What is the race title of Dick Johnson Racing? [/INST] SELECT race_title FROM table_name_73 WHERE team = "dick johnson racing" </s>
What is the career win-loss for the ATP Masters Series?
CREATE TABLE table_name_3 (career_win_loss VARCHAR)
SELECT career_win_loss FROM table_name_3 WHERE 1995 = "atp masters series"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (career_win_loss VARCHAR) Question: What is the career win-loss for the ATP Masters Series? [/INST] SELECT career_win_loss FROM table_name_3 WHERE 1995 = "atp masters series" </s>
What's the Home ground(s) listed for the Name Melville Cricket Club?
CREATE TABLE table_name_11 (home_ground_s_ VARCHAR, name VARCHAR)
SELECT home_ground_s_ FROM table_name_11 WHERE name = "melville cricket club"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (home_ground_s_ VARCHAR, name VARCHAR) Question: What's the Home ground(s) listed for the Name Melville Cricket Club? [/INST] SELECT home_ground_s_ FROM table_name_11 WHERE name = "melville cricket...
What Name has the Captain Aaron Heal?
CREATE TABLE table_name_4 (name VARCHAR, captain VARCHAR)
SELECT name FROM table_name_4 WHERE captain = "aaron heal"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (name VARCHAR, captain VARCHAR) Question: What Name has the Captain Aaron Heal? [/INST] SELECT name FROM table_name_4 WHERE captain = "aaron heal" </s>
What's the Nickname listed for the Name of University Cricket Club?
CREATE TABLE table_name_40 (nickname VARCHAR, name VARCHAR)
SELECT nickname FROM table_name_40 WHERE name = "university cricket club"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (nickname VARCHAR, name VARCHAR) Question: What's the Nickname listed for the Name of University Cricket Club? [/INST] SELECT nickname FROM table_name_40 WHERE name = "university cricket club" </s>
What Nickname has a Location of Southern River?
CREATE TABLE table_name_82 (nickname VARCHAR, location VARCHAR)
SELECT nickname FROM table_name_82 WHERE location = "southern river"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (nickname VARCHAR, location VARCHAR) Question: What Nickname has a Location of Southern River? [/INST] SELECT nickname FROM table_name_82 WHERE location = "southern river" </s>
What is the Name listed for the Nickname of Storm?
CREATE TABLE table_name_74 (name VARCHAR, nickname VARCHAR)
SELECT name FROM table_name_74 WHERE nickname = "storm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (name VARCHAR, nickname VARCHAR) Question: What is the Name listed for the Nickname of Storm? [/INST] SELECT name FROM table_name_74 WHERE nickname = "storm" </s>
What Name has the Location of Bayswater?
CREATE TABLE table_name_67 (name VARCHAR, location VARCHAR)
SELECT name FROM table_name_67 WHERE location = "bayswater"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (name VARCHAR, location VARCHAR) Question: What Name has the Location of Bayswater? [/INST] SELECT name FROM table_name_67 WHERE location = "bayswater" </s>
How many years have a Form album of the thing?
CREATE TABLE table_name_39 (year INTEGER, from_album VARCHAR)
SELECT SUM(year) FROM table_name_39 WHERE from_album = "the thing"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (year INTEGER, from_album VARCHAR) Question: How many years have a Form album of the thing? [/INST] SELECT SUM(year) FROM table_name_39 WHERE from_album = "the thing" </s>
Which Label-Nr has a Year smaller than 1968, and a Label of world pacific, and an album of chile con soul?
CREATE TABLE table_name_78 (label VARCHAR, Nr VARCHAR, from_album VARCHAR, year VARCHAR)
SELECT label - Nr FROM table_name_78 WHERE year < 1968 AND label = "world pacific" AND from_album = "chile con soul"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (label VARCHAR, Nr VARCHAR, from_album VARCHAR, year VARCHAR) Question: Which Label-Nr has a Year smaller than 1968, and a Label of world pacific, and an album of chile con soul? [/INST] SELECT lab...
Which Year has a Label-Nr of 88146?
CREATE TABLE table_name_15 (year VARCHAR, label VARCHAR, Nr VARCHAR)
SELECT year FROM table_name_15 WHERE label - Nr = 88146
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (year VARCHAR, label VARCHAR, Nr VARCHAR) Question: Which Year has a Label-Nr of 88146? [/INST] SELECT year FROM table_name_15 WHERE label - Nr = 88146 </s>
How many years were there albums by heat wave?
CREATE TABLE table_name_84 (year INTEGER, from_album VARCHAR)
SELECT SUM(year) FROM table_name_84 WHERE from_album = "heat wave"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (year INTEGER, from_album VARCHAR) Question: How many years were there albums by heat wave? [/INST] SELECT SUM(year) FROM table_name_84 WHERE from_album = "heat wave" </s>
Which Title has an album of tough talk, and a Label-Nr of x-371?
CREATE TABLE table_name_4 (title VARCHAR, from_album VARCHAR, label VARCHAR, Nr VARCHAR, x VARCHAR)
SELECT title FROM table_name_4 WHERE from_album = "tough talk" AND label - Nr = x - 371
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (title VARCHAR, from_album VARCHAR, label VARCHAR, Nr VARCHAR, x VARCHAR) Question: Which Title has an album of tough talk, and a Label-Nr of x-371? [/INST] SELECT title FROM table_name_4 WHERE from...
What is the lowest number of floors for the number 2 ranked Joyus Housing?
CREATE TABLE table_name_59 (floors INTEGER, name VARCHAR, rank VARCHAR)
SELECT MIN(floors) FROM table_name_59 WHERE name = "joyus housing" AND rank < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (floors INTEGER, name VARCHAR, rank VARCHAR) Question: What is the lowest number of floors for the number 2 ranked Joyus Housing? [/INST] SELECT MIN(floors) FROM table_name_59 WHERE name = "joyus h...
What is the number of floors when the r Rank larger than 41, and a City of parel?
CREATE TABLE table_name_72 (floors VARCHAR, rank VARCHAR, city VARCHAR)
SELECT floors FROM table_name_72 WHERE rank > 41 AND city = "parel"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (floors VARCHAR, rank VARCHAR, city VARCHAR) Question: What is the number of floors when the r Rank larger than 41, and a City of parel? [/INST] SELECT floors FROM table_name_72 WHERE rank > 41 AND...
What is the rank for the city of sewri?
CREATE TABLE table_name_46 (rank VARCHAR, city VARCHAR)
SELECT COUNT(rank) FROM table_name_46 WHERE city = "sewri"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (rank VARCHAR, city VARCHAR) Question: What is the rank for the city of sewri? [/INST] SELECT COUNT(rank) FROM table_name_46 WHERE city = "sewri" </s>
What rank has a status of proposed, with 80 floors for Celestia Spaces 4?
CREATE TABLE table_name_79 (rank INTEGER, name VARCHAR, status VARCHAR, floors VARCHAR)
SELECT AVG(rank) FROM table_name_79 WHERE status = "proposed" AND floors = 80 AND name = "celestia spaces 4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (rank INTEGER, name VARCHAR, status VARCHAR, floors VARCHAR) Question: What rank has a status of proposed, with 80 floors for Celestia Spaces 4? [/INST] SELECT AVG(rank) FROM table_name_79 WHERE st...
What's the English Pluperfect when the Bulgarian is бяха чули?
CREATE TABLE table_name_48 (english VARCHAR, bulgarian VARCHAR)
SELECT english FROM table_name_48 WHERE bulgarian = "бяха чули"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (english VARCHAR, bulgarian VARCHAR) Question: What's the English Pluperfect when the Bulgarian is бяха чули? [/INST] SELECT english FROM table_name_48 WHERE bulgarian = "бяха чули" </s>
What's the Italian Pluperfect when the English is We Had Heard?
CREATE TABLE table_name_83 (italian VARCHAR, english VARCHAR)
SELECT italian FROM table_name_83 WHERE english = "we had heard"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (italian VARCHAR, english VARCHAR) Question: What's the Italian Pluperfect when the English is We Had Heard? [/INST] SELECT italian FROM table_name_83 WHERE english = "we had heard" </s>
What is the Portuguese Pluperfect when the French is Ils/Elles Avaient Entendu?
CREATE TABLE table_name_25 (portuguese VARCHAR, french VARCHAR)
SELECT portuguese FROM table_name_25 WHERE french = "ils/elles avaient entendu"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (portuguese VARCHAR, french VARCHAR) Question: What is the Portuguese Pluperfect when the French is Ils/Elles Avaient Entendu? [/INST] SELECT portuguese FROM table_name_25 WHERE french = "ils/elles...
What's the German Pluperfect when the Macedonian is беше слушнал/-а/-о?
CREATE TABLE table_name_85 (german VARCHAR, macedonian VARCHAR)
SELECT german FROM table_name_85 WHERE macedonian = "беше слушнал/-а/-о"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (german VARCHAR, macedonian VARCHAR) Question: What's the German Pluperfect when the Macedonian is беше слушнал/-а/-о? [/INST] SELECT german FROM table_name_85 WHERE macedonian = "беше слушнал/-а/-...
What is the least amount of silver for Italy with a total less than 5?
CREATE TABLE table_name_83 (silver INTEGER, nation VARCHAR, total VARCHAR)
SELECT MIN(silver) FROM table_name_83 WHERE nation = "italy" AND total < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (silver INTEGER, nation VARCHAR, total VARCHAR) Question: What is the least amount of silver for Italy with a total less than 5? [/INST] SELECT MIN(silver) FROM table_name_83 WHERE nation = "italy"...
What is the total for Austria when there is less than 1 bronze?
CREATE TABLE table_name_47 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_47 WHERE nation = "austria" AND bronze < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: What is the total for Austria when there is less than 1 bronze? [/INST] SELECT AVG(total) FROM table_name_47 WHERE nation = "austria" AND b...
What is the total when silver is more than 3, and rank is 2?
CREATE TABLE table_name_53 (total INTEGER, silver VARCHAR, rank VARCHAR)
SELECT MAX(total) FROM table_name_53 WHERE silver > 3 AND rank = "2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (total INTEGER, silver VARCHAR, rank VARCHAR) Question: What is the total when silver is more than 3, and rank is 2? [/INST] SELECT MAX(total) FROM table_name_53 WHERE silver > 3 AND rank = "2" </s...
What is the gold number when total is more than 1, and bronze is 0, and rank is 5?
CREATE TABLE table_name_19 (gold INTEGER, rank VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT SUM(gold) FROM table_name_19 WHERE total > 1 AND bronze = 0 AND rank = "5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (gold INTEGER, rank VARCHAR, total VARCHAR, bronze VARCHAR) Question: What is the gold number when total is more than 1, and bronze is 0, and rank is 5? [/INST] SELECT SUM(gold) FROM table_name_19 ...
What date was the episode that aired at 7:30 pm ET?
CREATE TABLE table_name_26 (date VARCHAR, time VARCHAR)
SELECT date FROM table_name_26 WHERE time = "7:30 pm et"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (date VARCHAR, time VARCHAR) Question: What date was the episode that aired at 7:30 pm ET? [/INST] SELECT date FROM table_name_26 WHERE time = "7:30 pm et" </s>
What date did episode one air on?
CREATE TABLE table_name_38 (date VARCHAR, episode VARCHAR)
SELECT date FROM table_name_38 WHERE episode = "one"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (date VARCHAR, episode VARCHAR) Question: What date did episode one air on? [/INST] SELECT date FROM table_name_38 WHERE episode = "one" </s>
At what venue was the 2010 FIFA World Cup Qualification?
CREATE TABLE table_name_2 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_2 WHERE competition = "2010 fifa world cup qualification"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (venue VARCHAR, competition VARCHAR) Question: At what venue was the 2010 FIFA World Cup Qualification? [/INST] SELECT venue FROM table_name_2 WHERE competition = "2010 fifa world cup qualification"...
What is the discipline for the summer Olympics in 2008?
CREATE TABLE table_name_68 (discipline VARCHAR, tournament VARCHAR, year VARCHAR)
SELECT discipline FROM table_name_68 WHERE tournament = "summer olympics" AND year = 2008
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (discipline VARCHAR, tournament VARCHAR, year VARCHAR) Question: What is the discipline for the summer Olympics in 2008? [/INST] SELECT discipline FROM table_name_68 WHERE tournament = "summer olym...
What venue has an extra of 45.08 S?
CREATE TABLE table_name_85 (venue VARCHAR, extra VARCHAR)
SELECT venue FROM table_name_85 WHERE extra = "45.08 s"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (venue VARCHAR, extra VARCHAR) Question: What venue has an extra of 45.08 S? [/INST] SELECT venue FROM table_name_85 WHERE extra = "45.08 s" </s>
What is the extra when the result is 4th at the NCAA Championships?
CREATE TABLE table_name_28 (extra VARCHAR, result VARCHAR, tournament VARCHAR)
SELECT extra FROM table_name_28 WHERE result = "4th" AND tournament = "ncaa championships"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (extra VARCHAR, result VARCHAR, tournament VARCHAR) Question: What is the extra when the result is 4th at the NCAA Championships? [/INST] SELECT extra FROM table_name_28 WHERE result = "4th" AND to...
What tournament had an extra of 3:06.94 s?
CREATE TABLE table_name_60 (tournament VARCHAR, extra VARCHAR)
SELECT tournament FROM table_name_60 WHERE extra = "3:06.94 s"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (tournament VARCHAR, extra VARCHAR) Question: What tournament had an extra of 3:06.94 s? [/INST] SELECT tournament FROM table_name_60 WHERE extra = "3:06.94 s" </s>
Name the lowest Time of jamaica with a Lane larger than 4 and a Rank smaller than 1?
CREATE TABLE table_name_66 (time INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR)
SELECT MIN(time) FROM table_name_66 WHERE nationality = "jamaica" AND lane > 4 AND rank < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (time INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR) Question: Name the lowest Time of jamaica with a Lane larger than 4 and a Rank smaller than 1? [/INST] SELECT MIN(time) FROM table_na...
Name the lowest Rank with a Lane of 5 and a Time smaller than 11.06?
CREATE TABLE table_name_39 (rank INTEGER, lane VARCHAR, time VARCHAR)
SELECT MIN(rank) FROM table_name_39 WHERE lane = 5 AND time < 11.06
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (rank INTEGER, lane VARCHAR, time VARCHAR) Question: Name the lowest Rank with a Lane of 5 and a Time smaller than 11.06? [/INST] SELECT MIN(rank) FROM table_name_39 WHERE lane = 5 AND time < 11.06...
Name the lowest Rank of carmelita jeter with a Time smaller than 11.08?
CREATE TABLE table_name_97 (rank INTEGER, name VARCHAR, time VARCHAR)
SELECT MIN(rank) FROM table_name_97 WHERE name = "carmelita jeter" AND time < 11.08
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (rank INTEGER, name VARCHAR, time VARCHAR) Question: Name the lowest Rank of carmelita jeter with a Time smaller than 11.08? [/INST] SELECT MIN(rank) FROM table_name_97 WHERE name = "carmelita jete...
When the points are 98 what is the draw?
CREATE TABLE table_name_50 (draw VARCHAR, points VARCHAR)
SELECT COUNT(draw) FROM table_name_50 WHERE points = 98
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (draw VARCHAR, points VARCHAR) Question: When the points are 98 what is the draw? [/INST] SELECT COUNT(draw) FROM table_name_50 WHERE points = 98 </s>
For what 188kg is the world record clean & jerk?
CREATE TABLE table_name_96 (world_record VARCHAR)
SELECT 188 AS kg FROM table_name_96 WHERE world_record = "clean & jerk"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (world_record VARCHAR) Question: For what 188kg is the world record clean & jerk? [/INST] SELECT 188 AS kg FROM table_name_96 WHERE world_record = "clean & jerk" </s>
What year had a score of 6–7(5), 2–6 and opponent of Brenda Schultz-Mccarthy?
CREATE TABLE table_name_96 (year VARCHAR, opponent_in_the_final VARCHAR, score VARCHAR)
SELECT year FROM table_name_96 WHERE opponent_in_the_final = "brenda schultz-mccarthy" AND score = "6–7(5), 2–6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (year VARCHAR, opponent_in_the_final VARCHAR, score VARCHAR) Question: What year had a score of 6–7(5), 2–6 and opponent of Brenda Schultz-Mccarthy? [/INST] SELECT year FROM table_name_96 WHERE opp...
What year had a score of 4–6, 7–6, 7–5?
CREATE TABLE table_name_90 (year VARCHAR, score VARCHAR)
SELECT year FROM table_name_90 WHERE score = "4–6, 7–6, 7–5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (year VARCHAR, score VARCHAR) Question: What year had a score of 4–6, 7–6, 7–5? [/INST] SELECT year FROM table_name_90 WHERE score = "4–6, 7–6, 7–5" </s>
Who was the away team for the match with a home team of Citizen Team A?
CREATE TABLE table_name_78 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_78 WHERE home_team = "citizen team a"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (away_team VARCHAR, home_team VARCHAR) Question: Who was the away team for the match with a home team of Citizen Team A? [/INST] SELECT away_team FROM table_name_78 WHERE home_team = "citizen team ...
What was the score for the match with a home team of Citizen Team A?
CREATE TABLE table_name_51 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_51 WHERE home_team = "citizen team a"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (score VARCHAR, home_team VARCHAR) Question: What was the score for the match with a home team of Citizen Team A? [/INST] SELECT score FROM table_name_51 WHERE home_team = "citizen team a" </s>