instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
Name the total number of average for wickets less than 265, runs less than 4564 and matches less than 52 | CREATE TABLE table_name_99 (average VARCHAR, wickets VARCHAR, matches VARCHAR, runs VARCHAR) | SELECT COUNT(average) FROM table_name_99 WHERE matches < 52 AND runs < 4564 AND wickets < 265 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (average VARCHAR, wickets VARCHAR, matches VARCHAR, runs VARCHAR) Question: Name the total number of average for wickets less than 265, runs less than 4564 and matches less than 52 [/INST] SELECT COUNT(average) FROM table_name_99 WHERE matches < 52 AND runs < 4564 AND wickets < 265 </s> |
Name the total number of average for wickets more than 537, career of 1899/00-1925/26 and matches less than 211 | CREATE TABLE table_name_21 (average VARCHAR, matches VARCHAR, wickets VARCHAR, career VARCHAR) | SELECT COUNT(average) FROM table_name_21 WHERE wickets > 537 AND career = "1899/00-1925/26" AND matches < 211 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (average VARCHAR, matches VARCHAR, wickets VARCHAR, career VARCHAR) Question: Name the total number of average for wickets more than 537, career of 1899/00-1925/26 and matches less than 211 [/INST] SELECT COUNT(average) FROM table_name_21 WHERE wickets > 537 AND career = "1899/00-1925/26" AND matches < 211 </s> |
Name the least average with wickets more than 265 and career of 1888/89-1913/14 and matches more than 51 | CREATE TABLE table_name_38 (average INTEGER, matches VARCHAR, wickets VARCHAR, career VARCHAR) | SELECT MIN(average) FROM table_name_38 WHERE wickets > 265 AND career = "1888/89-1913/14" AND matches > 51 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (average INTEGER, matches VARCHAR, wickets VARCHAR, career VARCHAR) Question: Name the least average with wickets more than 265 and career of 1888/89-1913/14 and matches more than 51 [/INST] SELECT MIN(average) FROM table_name_38 WHERE wickets > 265 AND career = "1888/89-1913/14" AND matches > 51 </s> |
Name the total number of matches with wickets less than 537 and career of 1898/99-1919/20 with runs more than 4476 | CREATE TABLE table_name_73 (matches VARCHAR, runs VARCHAR, wickets VARCHAR, career VARCHAR) | SELECT COUNT(matches) FROM table_name_73 WHERE wickets < 537 AND career = "1898/99-1919/20" AND runs > 4476 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (matches VARCHAR, runs VARCHAR, wickets VARCHAR, career VARCHAR) Question: Name the total number of matches with wickets less than 537 and career of 1898/99-1919/20 with runs more than 4476 [/INST] SELECT COUNT(matches) FROM table_name_73 WHERE wickets < 537 AND career = "1898/99-1919/20" AND runs > 4476 </s> |
Can you tell me the Opponent that has the Series of 4-2? | CREATE TABLE table_name_91 (opponent VARCHAR, series VARCHAR) | SELECT opponent FROM table_name_91 WHERE series = "4-2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (opponent VARCHAR, series VARCHAR) Question: Can you tell me the Opponent that has the Series of 4-2? [/INST] SELECT opponent FROM table_name_91 WHERE series = "4-2" </s> |
What is the to par of the player with a t4 place and a score of 75-69-74-72=290? | CREATE TABLE table_name_46 (to_par VARCHAR, place VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_46 WHERE place = "t4" AND score = 75 - 69 - 74 - 72 = 290 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (to_par VARCHAR, place VARCHAR, score VARCHAR) Question: What is the to par of the player with a t4 place and a score of 75-69-74-72=290? [/INST] SELECT to_par FROM table_name_46 WHERE place = "t4" AND score = 75 - 69 - 74 - 72 = 290 </s> |
Which entrant scored less than 8 points and used a Maserati chassis? | CREATE TABLE table_name_91 (entrant VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_91 WHERE points < 8 AND chassis = "maserati" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (entrant VARCHAR, points VARCHAR, chassis VARCHAR) Question: Which entrant scored less than 8 points and used a Maserati chassis? [/INST] SELECT entrant FROM table_name_91 WHERE points < 8 AND chassis = "maserati" </s> |
Which entrant, with an Offenhauser L4 engine and a Kurtis Kraft KK500A chassis, scored 9 points before 1955? | CREATE TABLE table_name_15 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_15 WHERE engine = "offenhauser l4" AND year < 1955 AND chassis = "kurtis kraft kk500a" AND points = 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR) Question: Which entrant, with an Offenhauser L4 engine and a Kurtis Kraft KK500A chassis, scored 9 points before 1955? [/INST] SELECT entrant FROM table_name_15 WHERE engine = "offenhauser l4" AND year < 1955 AND chassis = "kurtis kraft kk500a" AND points = 9 </s> |
What type of engine did the Fuel Injection entrant use? | CREATE TABLE table_name_4 (engine VARCHAR, entrant VARCHAR) | SELECT engine FROM table_name_4 WHERE entrant = "fuel injection" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (engine VARCHAR, entrant VARCHAR) Question: What type of engine did the Fuel Injection entrant use? [/INST] SELECT engine FROM table_name_4 WHERE entrant = "fuel injection" </s> |
What is the average number of points for an Offenhauser L4 engine with a Trevis chassis? | CREATE TABLE table_name_93 (points INTEGER, engine VARCHAR, chassis VARCHAR) | SELECT AVG(points) FROM table_name_93 WHERE engine = "offenhauser l4" AND chassis = "trevis" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (points INTEGER, engine VARCHAR, chassis VARCHAR) Question: What is the average number of points for an Offenhauser L4 engine with a Trevis chassis? [/INST] SELECT AVG(points) FROM table_name_93 WHERE engine = "offenhauser l4" AND chassis = "trevis" </s> |
What poll had Steve Poizner at 37%? | CREATE TABLE table_name_55 (poll_source VARCHAR, steve_poizner VARCHAR) | SELECT poll_source FROM table_name_55 WHERE steve_poizner = "37%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (poll_source VARCHAR, steve_poizner VARCHAR) Question: What poll had Steve Poizner at 37%? [/INST] SELECT poll_source FROM table_name_55 WHERE steve_poizner = "37%" </s> |
When did Meg Whitman get 60%? | CREATE TABLE table_name_38 (date_s__administered VARCHAR, meg_whitman VARCHAR) | SELECT date_s__administered FROM table_name_38 WHERE meg_whitman = "60%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (date_s__administered VARCHAR, meg_whitman VARCHAR) Question: When did Meg Whitman get 60%? [/INST] SELECT date_s__administered FROM table_name_38 WHERE meg_whitman = "60%" </s> |
How many players were drafted from the Boston Cannons in the round? | CREATE TABLE table_name_74 (round INTEGER, team VARCHAR) | SELECT SUM(round) FROM table_name_74 WHERE team = "boston cannons" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (round INTEGER, team VARCHAR) Question: How many players were drafted from the Boston Cannons in the round? [/INST] SELECT SUM(round) FROM table_name_74 WHERE team = "boston cannons" </s> |
Which round was a player from the Long Island Lizards drafted in first? | CREATE TABLE table_name_26 (round INTEGER, team VARCHAR) | SELECT MAX(round) FROM table_name_26 WHERE team = "long island lizards" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (round INTEGER, team VARCHAR) Question: Which round was a player from the Long Island Lizards drafted in first? [/INST] SELECT MAX(round) FROM table_name_26 WHERE team = "long island lizards" </s> |
Dave Curry has what Nationality? | CREATE TABLE table_name_56 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_56 WHERE player = "dave curry" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (nationality VARCHAR, player VARCHAR) Question: Dave Curry has what Nationality? [/INST] SELECT nationality FROM table_name_56 WHERE player = "dave curry" </s> |
Name the manufacturer with grid of 11 | CREATE TABLE table_name_43 (manufacturer VARCHAR, grid VARCHAR) | SELECT manufacturer FROM table_name_43 WHERE grid = 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (manufacturer VARCHAR, grid VARCHAR) Question: Name the manufacturer with grid of 11 [/INST] SELECT manufacturer FROM table_name_43 WHERE grid = 11 </s> |
Name the manufacturer for grid more than 18 and laps more than 1 with tired/retired of +1 lap | CREATE TABLE table_name_26 (manufacturer VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT manufacturer FROM table_name_26 WHERE grid > 18 AND laps > 1 AND time_retired = "+1 lap" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (manufacturer VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) Question: Name the manufacturer for grid more than 18 and laps more than 1 with tired/retired of +1 lap [/INST] SELECT manufacturer FROM table_name_26 WHERE grid > 18 AND laps > 1 AND time_retired = "+1 lap" </s> |
Name the laps for suzuki and time/retired of +1:02.804 | CREATE TABLE table_name_92 (laps VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) | SELECT laps FROM table_name_92 WHERE manufacturer = "suzuki" AND time_retired = "+1:02.804" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (laps VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) Question: Name the laps for suzuki and time/retired of +1:02.804 [/INST] SELECT laps FROM table_name_92 WHERE manufacturer = "suzuki" AND time_retired = "+1:02.804" </s> |
Name the sum of laps for 12 grids | CREATE TABLE table_name_82 (laps INTEGER, grid VARCHAR) | SELECT SUM(laps) FROM table_name_82 WHERE grid = 12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (laps INTEGER, grid VARCHAR) Question: Name the sum of laps for 12 grids [/INST] SELECT SUM(laps) FROM table_name_82 WHERE grid = 12 </s> |
Name the most # of total votes with % of popular vote of 32.41% and # of seats won more than 95 | CREATE TABLE table_name_31 (_number_of_total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR) | SELECT MAX(_number_of_total_votes) FROM table_name_31 WHERE _percentage_of_popular_vote = "32.41%" AND _number_of_seats_won > 95 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (_number_of_total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR) Question: Name the most # of total votes with % of popular vote of 32.41% and # of seats won more than 95 [/INST] SELECT MAX(_number_of_total_votes) FROM table_name_31 WHERE _percentage_of_popular_vote = "32.41%" AND _number_of_seats_won > 95 </s> |
What was Jack McGrath's finish number in 1954? | CREATE TABLE table_name_95 (finish VARCHAR, year VARCHAR) | SELECT finish FROM table_name_95 WHERE year = "1954" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (finish VARCHAR, year VARCHAR) Question: What was Jack McGrath's finish number in 1954? [/INST] SELECT finish FROM table_name_95 WHERE year = "1954" </s> |
What place did Jack McGrath start in when he received a qual score of 141.033? | CREATE TABLE table_name_72 (start VARCHAR, qual VARCHAR) | SELECT start FROM table_name_72 WHERE qual = "141.033" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (start VARCHAR, qual VARCHAR) Question: What place did Jack McGrath start in when he received a qual score of 141.033? [/INST] SELECT start FROM table_name_72 WHERE qual = "141.033" </s> |
What was Jack McGrath's rank in 1955 when he started at 3 and finished at 26? | CREATE TABLE table_name_7 (rank VARCHAR, year VARCHAR, start VARCHAR, finish VARCHAR) | SELECT rank FROM table_name_7 WHERE start = "3" AND finish = "26" AND year = "1955" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (rank VARCHAR, year VARCHAR, start VARCHAR, finish VARCHAR) Question: What was Jack McGrath's rank in 1955 when he started at 3 and finished at 26? [/INST] SELECT rank FROM table_name_7 WHERE start = "3" AND finish = "26" AND year = "1955" </s> |
Which pre-season has May 5 of 21? | CREATE TABLE table_name_21 (pre__season VARCHAR, may_5 VARCHAR) | SELECT pre__season FROM table_name_21 WHERE may_5 = "21" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (pre__season VARCHAR, may_5 VARCHAR) Question: Which pre-season has May 5 of 21? [/INST] SELECT pre__season FROM table_name_21 WHERE may_5 = "21" </s> |
Which March 3 has a Poll of baseball america (top 25)? | CREATE TABLE table_name_35 (mar_3 VARCHAR, poll VARCHAR) | SELECT mar_3 FROM table_name_35 WHERE poll = "baseball america (top 25)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (mar_3 VARCHAR, poll VARCHAR) Question: Which March 3 has a Poll of baseball america (top 25)? [/INST] SELECT mar_3 FROM table_name_35 WHERE poll = "baseball america (top 25)" </s> |
Which pre-season has a Mar. 3 of nr, and a Poll of usa today/espn coaches' poll (top 25)? | CREATE TABLE table_name_24 (pre__season VARCHAR, mar_3 VARCHAR, poll VARCHAR) | SELECT pre__season FROM table_name_24 WHERE mar_3 = "nr" AND poll = "usa today/espn coaches' poll (top 25)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (pre__season VARCHAR, mar_3 VARCHAR, poll VARCHAR) Question: Which pre-season has a Mar. 3 of nr, and a Poll of usa today/espn coaches' poll (top 25)? [/INST] SELECT pre__season FROM table_name_24 WHERE mar_3 = "nr" AND poll = "usa today/espn coaches' poll (top 25)" </s> |
Who is the opponent on September 9, 1979? | CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_99 WHERE date = "september 9, 1979" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR) Question: Who is the opponent on September 9, 1979? [/INST] SELECT opponent FROM table_name_99 WHERE date = "september 9, 1979" </s> |
What is the sum of the week for the Denver Broncos? | CREATE TABLE table_name_60 (week INTEGER, opponent VARCHAR) | SELECT SUM(week) FROM table_name_60 WHERE opponent = "denver broncos" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (week INTEGER, opponent VARCHAR) Question: What is the sum of the week for the Denver Broncos? [/INST] SELECT SUM(week) FROM table_name_60 WHERE opponent = "denver broncos" </s> |
What is the attendance number for December 2, 1979? | CREATE TABLE table_name_52 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_52 WHERE date = "december 2, 1979" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (attendance INTEGER, date VARCHAR) Question: What is the attendance number for December 2, 1979? [/INST] SELECT SUM(attendance) FROM table_name_52 WHERE date = "december 2, 1979" </s> |
Name the term in office for liberal and state of sa for ian mclachlan | CREATE TABLE table_name_27 (term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR) | SELECT term_in_office FROM table_name_27 WHERE party = "liberal" AND state = "sa" AND member = "ian mclachlan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR) Question: Name the term in office for liberal and state of sa for ian mclachlan [/INST] SELECT term_in_office FROM table_name_27 WHERE party = "liberal" AND state = "sa" AND member = "ian mclachlan" </s> |
What was the record for July 26? | CREATE TABLE table_name_16 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_16 WHERE date = "july 26" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (record VARCHAR, date VARCHAR) Question: What was the record for July 26? [/INST] SELECT record FROM table_name_16 WHERE date = "july 26" </s> |
Played that has a Points of 38, and a B.P. larger than 5 has what sum? | CREATE TABLE table_name_52 (played INTEGER, points VARCHAR, bp VARCHAR) | SELECT SUM(played) FROM table_name_52 WHERE points = 38 AND bp > 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (played INTEGER, points VARCHAR, bp VARCHAR) Question: Played that has a Points of 38, and a B.P. larger than 5 has what sum? [/INST] SELECT SUM(played) FROM table_name_52 WHERE points = 38 AND bp > 5 </s> |
B.P. of 0, and a Pts Agst smaller than 247 has how many total number of played? | CREATE TABLE table_name_25 (played VARCHAR, bp VARCHAR, pts_agst VARCHAR) | SELECT COUNT(played) FROM table_name_25 WHERE bp = 0 AND pts_agst < 247 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (played VARCHAR, bp VARCHAR, pts_agst VARCHAR) Question: B.P. of 0, and a Pts Agst smaller than 247 has how many total number of played? [/INST] SELECT COUNT(played) FROM table_name_25 WHERE bp = 0 AND pts_agst < 247 </s> |
Pts Agst of 572, and a Pts For larger than 346 has what total number of position? | CREATE TABLE table_name_22 (position VARCHAR, pts_agst VARCHAR, pts_for VARCHAR) | SELECT COUNT(position) FROM table_name_22 WHERE pts_agst = 572 AND pts_for > 346 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (position VARCHAR, pts_agst VARCHAR, pts_for VARCHAR) Question: Pts Agst of 572, and a Pts For larger than 346 has what total number of position? [/INST] SELECT COUNT(position) FROM table_name_22 WHERE pts_agst = 572 AND pts_for > 346 </s> |
What is the most number of rounds that the Team from RBR Enterprises and having a Chevrolet Silverado ran? | CREATE TABLE table_name_40 (rounds INTEGER, truck_s_ VARCHAR, team VARCHAR) | SELECT MAX(rounds) FROM table_name_40 WHERE truck_s_ = "chevrolet silverado" AND team = "rbr enterprises" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (rounds INTEGER, truck_s_ VARCHAR, team VARCHAR) Question: What is the most number of rounds that the Team from RBR Enterprises and having a Chevrolet Silverado ran? [/INST] SELECT MAX(rounds) FROM table_name_40 WHERE truck_s_ = "chevrolet silverado" AND team = "rbr enterprises" </s> |
Who was the crew chief for the team from Make Motorsports? | CREATE TABLE table_name_73 (crew_chief VARCHAR, team VARCHAR) | SELECT crew_chief FROM table_name_73 WHERE team = "make motorsports" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (crew_chief VARCHAR, team VARCHAR) Question: Who was the crew chief for the team from Make Motorsports? [/INST] SELECT crew_chief FROM table_name_73 WHERE team = "make motorsports" </s> |
Who was the driver for crew chief Nick Carlson? | CREATE TABLE table_name_34 (driver_s_ VARCHAR, crew_chief VARCHAR) | SELECT driver_s_ FROM table_name_34 WHERE crew_chief = "nick carlson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (driver_s_ VARCHAR, crew_chief VARCHAR) Question: Who was the driver for crew chief Nick Carlson? [/INST] SELECT driver_s_ FROM table_name_34 WHERE crew_chief = "nick carlson" </s> |
What is the truck used by Brett Moffitt, from Hattori Racing Enterprises? | CREATE TABLE table_name_23 (truck_s_ VARCHAR, driver_s_ VARCHAR, team VARCHAR) | SELECT truck_s_ FROM table_name_23 WHERE driver_s_ = "brett moffitt" AND team = "hattori racing enterprises" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (truck_s_ VARCHAR, driver_s_ VARCHAR, team VARCHAR) Question: What is the truck used by Brett Moffitt, from Hattori Racing Enterprises? [/INST] SELECT truck_s_ FROM table_name_23 WHERE driver_s_ = "brett moffitt" AND team = "hattori racing enterprises" </s> |
What was the losing bonus that had 1 draw and a 10 try bonus? | CREATE TABLE table_name_51 (losing_bonus VARCHAR, drawn VARCHAR, try_bonus VARCHAR) | SELECT losing_bonus FROM table_name_51 WHERE drawn = "1" AND try_bonus = "10" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (losing_bonus VARCHAR, drawn VARCHAR, try_bonus VARCHAR) Question: What was the losing bonus that had 1 draw and a 10 try bonus? [/INST] SELECT losing_bonus FROM table_name_51 WHERE drawn = "1" AND try_bonus = "10" </s> |
How many resulted in draws with 34 tries for? | CREATE TABLE table_name_99 (drawn VARCHAR, tries_for VARCHAR) | SELECT drawn FROM table_name_99 WHERE tries_for = "34" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (drawn VARCHAR, tries_for VARCHAR) Question: How many resulted in draws with 34 tries for? [/INST] SELECT drawn FROM table_name_99 WHERE tries_for = "34" </s> |
How many tries against were there with 520 points against? | CREATE TABLE table_name_69 (tries_against VARCHAR, points_against VARCHAR) | SELECT tries_against FROM table_name_69 WHERE points_against = "520" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (tries_against VARCHAR, points_against VARCHAR) Question: How many tries against were there with 520 points against? [/INST] SELECT tries_against FROM table_name_69 WHERE points_against = "520" </s> |
How many tries for were there while having 479 points against? | CREATE TABLE table_name_38 (tries_for VARCHAR, points_against VARCHAR) | SELECT tries_for FROM table_name_38 WHERE points_against = "479" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (tries_for VARCHAR, points_against VARCHAR) Question: How many tries for were there while having 479 points against? [/INST] SELECT tries_for FROM table_name_38 WHERE points_against = "479" </s> |
How many resulted in a loss with 479 points against? | CREATE TABLE table_name_52 (lost VARCHAR, points_against VARCHAR) | SELECT lost FROM table_name_52 WHERE points_against = "479" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (lost VARCHAR, points_against VARCHAR) Question: How many resulted in a loss with 479 points against? [/INST] SELECT lost FROM table_name_52 WHERE points_against = "479" </s> |
What is the try bonus when there were 58 points? | CREATE TABLE table_name_67 (try_bonus VARCHAR, points VARCHAR) | SELECT try_bonus FROM table_name_67 WHERE points = "58" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (try_bonus VARCHAR, points VARCHAR) Question: What is the try bonus when there were 58 points? [/INST] SELECT try_bonus FROM table_name_67 WHERE points = "58" </s> |
Which opponent has a record of 44-28? | CREATE TABLE table_name_2 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_2 WHERE record = "44-28" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (opponent VARCHAR, record VARCHAR) Question: Which opponent has a record of 44-28? [/INST] SELECT opponent FROM table_name_2 WHERE record = "44-28" </s> |
Which opponent has an attendance of 40,560? | CREATE TABLE table_name_32 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_32 WHERE attendance = "40,560" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (opponent VARCHAR, attendance VARCHAR) Question: Which opponent has an attendance of 40,560? [/INST] SELECT opponent FROM table_name_32 WHERE attendance = "40,560" </s> |
Which loss was on June 13? | CREATE TABLE table_name_23 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_23 WHERE date = "june 13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (loss VARCHAR, date VARCHAR) Question: Which loss was on June 13? [/INST] SELECT loss FROM table_name_23 WHERE date = "june 13" </s> |
What is the attendance that has a record of 43-28? | CREATE TABLE table_name_86 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_86 WHERE record = "43-28" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (attendance VARCHAR, record VARCHAR) Question: What is the attendance that has a record of 43-28? [/INST] SELECT attendance FROM table_name_86 WHERE record = "43-28" </s> |
What was the date of the record of 43-28? | CREATE TABLE table_name_69 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_69 WHERE record = "43-28" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (date VARCHAR, record VARCHAR) Question: What was the date of the record of 43-28? [/INST] SELECT date FROM table_name_69 WHERE record = "43-28" </s> |
Goalsagainst that has a Points of 108, and a Lost smaller than 14 has what average? | CREATE TABLE table_name_40 (goalsagainst INTEGER, points VARCHAR, lost VARCHAR) | SELECT AVG(goalsagainst) FROM table_name_40 WHERE points = 108 AND lost < 14 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (goalsagainst INTEGER, points VARCHAR, lost VARCHAR) Question: Goalsagainst that has a Points of 108, and a Lost smaller than 14 has what average? [/INST] SELECT AVG(goalsagainst) FROM table_name_40 WHERE points = 108 AND lost < 14 </s> |
Lost of 42, and a Goalsfor larger than 195 contains how many number of games? | CREATE TABLE table_name_43 (games VARCHAR, lost VARCHAR, goalsfor VARCHAR) | SELECT COUNT(games) FROM table_name_43 WHERE lost = 42 AND goalsfor > 195 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (games VARCHAR, lost VARCHAR, goalsfor VARCHAR) Question: Lost of 42, and a Goalsfor larger than 195 contains how many number of games? [/INST] SELECT COUNT(games) FROM table_name_43 WHERE lost = 42 AND goalsfor > 195 </s> |
Season of 2002–03, and a Lost larger than 14, what is the lowest goals? | CREATE TABLE table_name_38 (goalsfor INTEGER, season VARCHAR, lost VARCHAR) | SELECT MIN(goalsfor) FROM table_name_38 WHERE season = "2002–03" AND lost > 14 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (goalsfor INTEGER, season VARCHAR, lost VARCHAR) Question: Season of 2002–03, and a Lost larger than 14, what is the lowest goals? [/INST] SELECT MIN(goalsfor) FROM table_name_38 WHERE season = "2002–03" AND lost > 14 </s> |
Goalsagainst of 285, and a Season of 2006–07, and a Games smaller than 70 has what average points? | CREATE TABLE table_name_88 (points INTEGER, games VARCHAR, goalsagainst VARCHAR, season VARCHAR) | SELECT AVG(points) FROM table_name_88 WHERE goalsagainst = 285 AND season = "2006–07" AND games < 70 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (points INTEGER, games VARCHAR, goalsagainst VARCHAR, season VARCHAR) Question: Goalsagainst of 285, and a Season of 2006–07, and a Games smaller than 70 has what average points? [/INST] SELECT AVG(points) FROM table_name_88 WHERE goalsagainst = 285 AND season = "2006–07" AND games < 70 </s> |
Goals for of 288, and Points smaller than 85 what is the highest goals against? | CREATE TABLE table_name_35 (goalsagainst INTEGER, goalsfor VARCHAR, points VARCHAR) | SELECT MAX(goalsagainst) FROM table_name_35 WHERE goalsfor = 288 AND points < 85 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (goalsagainst INTEGER, goalsfor VARCHAR, points VARCHAR) Question: Goals for of 288, and Points smaller than 85 what is the highest goals against? [/INST] SELECT MAX(goalsagainst) FROM table_name_35 WHERE goalsfor = 288 AND points < 85 </s> |
What player originally played for the Los Angeles Kings? | CREATE TABLE table_name_26 (player VARCHAR, original_team VARCHAR) | SELECT player FROM table_name_26 WHERE original_team = "los angeles kings" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (player VARCHAR, original_team VARCHAR) Question: What player originally played for the Los Angeles Kings? [/INST] SELECT player FROM table_name_26 WHERE original_team = "los angeles kings" </s> |
What Offer Team has a date of July 29, 1994? | CREATE TABLE table_name_24 (offer_team VARCHAR, date VARCHAR) | SELECT offer_team FROM table_name_24 WHERE date = "july 29, 1994" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (offer_team VARCHAR, date VARCHAR) Question: What Offer Team has a date of July 29, 1994? [/INST] SELECT offer_team FROM table_name_24 WHERE date = "july 29, 1994" </s> |
What is the Result that has the New York Rangers as the Offer Team and Adam Graves as the Player? | CREATE TABLE table_name_79 (result VARCHAR, offer_team VARCHAR, player VARCHAR) | SELECT result FROM table_name_79 WHERE offer_team = "new york rangers" AND player = "adam graves" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (result VARCHAR, offer_team VARCHAR, player VARCHAR) Question: What is the Result that has the New York Rangers as the Offer Team and Adam Graves as the Player? [/INST] SELECT result FROM table_name_79 WHERE offer_team = "new york rangers" AND player = "adam graves" </s> |
What date has Vancouver Canucks as the original team, Ryan Kesler as the player, and matched as the Result? | CREATE TABLE table_name_26 (date VARCHAR, player VARCHAR, original_team VARCHAR, result VARCHAR) | SELECT date FROM table_name_26 WHERE original_team = "vancouver canucks" AND result = "matched" AND player = "ryan kesler" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (date VARCHAR, player VARCHAR, original_team VARCHAR, result VARCHAR) Question: What date has Vancouver Canucks as the original team, Ryan Kesler as the player, and matched as the Result? [/INST] SELECT date FROM table_name_26 WHERE original_team = "vancouver canucks" AND result = "matched" AND player = "ryan kesler" </s> |
What was David Backes' Offer Team? | CREATE TABLE table_name_59 (offer_team VARCHAR, player VARCHAR) | SELECT offer_team FROM table_name_59 WHERE player = "david backes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (offer_team VARCHAR, player VARCHAR) Question: What was David Backes' Offer Team? [/INST] SELECT offer_team FROM table_name_59 WHERE player = "david backes" </s> |
What is the result of Chris Gratton and Philadelphia Flyers as the Offer Team? | CREATE TABLE table_name_73 (result VARCHAR, offer_team VARCHAR, player VARCHAR) | SELECT result FROM table_name_73 WHERE offer_team = "philadelphia flyers" AND player = "chris gratton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (result VARCHAR, offer_team VARCHAR, player VARCHAR) Question: What is the result of Chris Gratton and Philadelphia Flyers as the Offer Team? [/INST] SELECT result FROM table_name_73 WHERE offer_team = "philadelphia flyers" AND player = "chris gratton" </s> |
Which game had an attendance of 5,000 and was away? | CREATE TABLE table_name_23 (game INTEGER, venue VARCHAR, attendance VARCHAR) | SELECT AVG(game) FROM table_name_23 WHERE venue = "away" AND attendance = 5 OFFSET 000 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (game INTEGER, venue VARCHAR, attendance VARCHAR) Question: Which game had an attendance of 5,000 and was away? [/INST] SELECT AVG(game) FROM table_name_23 WHERE venue = "away" AND attendance = 5 OFFSET 000 ROWS </s> |
When was the date in 1786? | CREATE TABLE table_name_82 (date VARCHAR, year VARCHAR) | SELECT date FROM table_name_82 WHERE year = 1786 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (date VARCHAR, year VARCHAR) Question: When was the date in 1786? [/INST] SELECT date FROM table_name_82 WHERE year = 1786 </s> |
How low is the Attendance that has an Opponent of devil rays and a Date of may 13? | CREATE TABLE table_name_15 (attendance INTEGER, opponent VARCHAR, date VARCHAR) | SELECT MIN(attendance) FROM table_name_15 WHERE opponent = "devil rays" AND date = "may 13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (attendance INTEGER, opponent VARCHAR, date VARCHAR) Question: How low is the Attendance that has an Opponent of devil rays and a Date of may 13? [/INST] SELECT MIN(attendance) FROM table_name_15 WHERE opponent = "devil rays" AND date = "may 13" </s> |
How high is the Attendance with a Record of 29-25? | CREATE TABLE table_name_68 (attendance INTEGER, record VARCHAR) | SELECT MAX(attendance) FROM table_name_68 WHERE record = "29-25" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (attendance INTEGER, record VARCHAR) Question: How high is the Attendance with a Record of 29-25? [/INST] SELECT MAX(attendance) FROM table_name_68 WHERE record = "29-25" </s> |
Which Opponent has a lost of wells (6-2)? | CREATE TABLE table_name_45 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_45 WHERE loss = "wells (6-2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (opponent VARCHAR, loss VARCHAR) Question: Which Opponent has a lost of wells (6-2)? [/INST] SELECT opponent FROM table_name_45 WHERE loss = "wells (6-2)" </s> |
What is the team 1 with a (g14)morolo team 2? | CREATE TABLE table_name_7 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_7 WHERE team_2 = "(g14)morolo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (team_1 VARCHAR, team_2 VARCHAR) Question: What is the team 1 with a (g14)morolo team 2? [/INST] SELECT team_1 FROM table_name_7 WHERE team_2 = "(g14)morolo" </s> |
What is the average Total, when the value for Silver is less than 1, when the value for Gold is 0, when the Nation is Switzerland, and when the value for Bronze is 2? | CREATE TABLE table_name_8 (total INTEGER, bronze VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_8 WHERE silver < 1 AND gold = 0 AND nation = "switzerland" AND bronze < 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (total INTEGER, bronze VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR) Question: What is the average Total, when the value for Silver is less than 1, when the value for Gold is 0, when the Nation is Switzerland, and when the value for Bronze is 2? [/INST] SELECT AVG(total) FROM table_name_8 WHERE silver < 1 AND gold = 0 AND nation = "switzerland" AND bronze < 2 </s> |
What is the average Total, when the Nation is Sweden, and when the value for Bronze is less than 3? | CREATE TABLE table_name_52 (total INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT AVG(total) FROM table_name_52 WHERE nation = "sweden" AND bronze < 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: What is the average Total, when the Nation is Sweden, and when the value for Bronze is less than 3? [/INST] SELECT AVG(total) FROM table_name_52 WHERE nation = "sweden" AND bronze < 3 </s> |
What is the average value for Gold, when the value for Silver is greater than 2, and when the Nation is West Germany? | CREATE TABLE table_name_98 (gold INTEGER, silver VARCHAR, nation VARCHAR) | SELECT AVG(gold) FROM table_name_98 WHERE silver > 2 AND nation = "west germany" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (gold INTEGER, silver VARCHAR, nation VARCHAR) Question: What is the average value for Gold, when the value for Silver is greater than 2, and when the Nation is West Germany? [/INST] SELECT AVG(gold) FROM table_name_98 WHERE silver > 2 AND nation = "west germany" </s> |
What is the value for Gold, when the value for Bronze is less than 0? | CREATE TABLE table_name_31 (gold VARCHAR, bronze INTEGER) | SELECT COUNT(gold) FROM table_name_31 WHERE bronze < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (gold VARCHAR, bronze INTEGER) Question: What is the value for Gold, when the value for Bronze is less than 0? [/INST] SELECT COUNT(gold) FROM table_name_31 WHERE bronze < 0 </s> |
Where is the coed school with state authority, a Decile larger than 6 and 26 enrolled? | CREATE TABLE table_name_61 (area VARCHAR, roll VARCHAR, gender VARCHAR, authority VARCHAR, decile VARCHAR) | SELECT area FROM table_name_61 WHERE authority = "state" AND decile > 6 AND gender = "coed" AND roll = 26 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (area VARCHAR, roll VARCHAR, gender VARCHAR, authority VARCHAR, decile VARCHAR) Question: Where is the coed school with state authority, a Decile larger than 6 and 26 enrolled? [/INST] SELECT area FROM table_name_61 WHERE authority = "state" AND decile > 6 AND gender = "coed" AND roll = 26 </s> |
What is the average roll for Fairfield school? | CREATE TABLE table_name_18 (roll INTEGER, name VARCHAR) | SELECT AVG(roll) FROM table_name_18 WHERE name = "fairfield school" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (roll INTEGER, name VARCHAR) Question: What is the average roll for Fairfield school? [/INST] SELECT AVG(roll) FROM table_name_18 WHERE name = "fairfield school" </s> |
Which school has a roll larger than 26 and is located in Fairfield? | CREATE TABLE table_name_5 (name VARCHAR, roll VARCHAR, area VARCHAR) | SELECT name FROM table_name_5 WHERE roll > 26 AND area = "fairfield" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (name VARCHAR, roll VARCHAR, area VARCHAR) Question: Which school has a roll larger than 26 and is located in Fairfield? [/INST] SELECT name FROM table_name_5 WHERE roll > 26 AND area = "fairfield" </s> |
how many points are there for a Chassis of porsche 718, and a Year smaller than 1964? | CREATE TABLE table_name_34 (points VARCHAR, chassis VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_34 WHERE chassis = "porsche 718" AND year < 1964 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (points VARCHAR, chassis VARCHAR, year VARCHAR) Question: how many points are there for a Chassis of porsche 718, and a Year smaller than 1964? [/INST] SELECT COUNT(points) FROM table_name_34 WHERE chassis = "porsche 718" AND year < 1964 </s> |
what is the engine that saw 0 points, and a Chassis of porsche 718, in 1961? | CREATE TABLE table_name_27 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_27 WHERE points = 0 AND chassis = "porsche 718" AND year = 1961 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR) Question: what is the engine that saw 0 points, and a Chassis of porsche 718, in 1961? [/INST] SELECT engine FROM table_name_27 WHERE points = 0 AND chassis = "porsche 718" AND year = 1961 </s> |
what is the engine that saw a Chassis of porsche 718, and 0 points, prior to 1964? | CREATE TABLE table_name_57 (engine VARCHAR, year VARCHAR, chassis VARCHAR, points VARCHAR) | SELECT engine FROM table_name_57 WHERE chassis = "porsche 718" AND points = 0 AND year < 1964 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (engine VARCHAR, year VARCHAR, chassis VARCHAR, points VARCHAR) Question: what is the engine that saw a Chassis of porsche 718, and 0 points, prior to 1964? [/INST] SELECT engine FROM table_name_57 WHERE chassis = "porsche 718" AND points = 0 AND year < 1964 </s> |
Which bronze has a Nation of poland? | CREATE TABLE table_name_85 (bronze VARCHAR, nation VARCHAR) | SELECT bronze FROM table_name_85 WHERE nation = "poland" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (bronze VARCHAR, nation VARCHAR) Question: Which bronze has a Nation of poland? [/INST] SELECT bronze FROM table_name_85 WHERE nation = "poland" </s> |
Which gold has 3 silver and a Total of 5? | CREATE TABLE table_name_15 (gold VARCHAR, silver VARCHAR, total VARCHAR) | SELECT gold FROM table_name_15 WHERE silver = "3" AND total = "5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (gold VARCHAR, silver VARCHAR, total VARCHAR) Question: Which gold has 3 silver and a Total of 5? [/INST] SELECT gold FROM table_name_15 WHERE silver = "3" AND total = "5" </s> |
Which gold has a Bronze of 1, a Rank of 47, and a Nation of spain? | CREATE TABLE table_name_65 (gold VARCHAR, nation VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT gold FROM table_name_65 WHERE bronze = "1" AND rank = "47" AND nation = "spain" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (gold VARCHAR, nation VARCHAR, bronze VARCHAR, rank VARCHAR) Question: Which gold has a Bronze of 1, a Rank of 47, and a Nation of spain? [/INST] SELECT gold FROM table_name_65 WHERE bronze = "1" AND rank = "47" AND nation = "spain" </s> |
Which nation has a Silver of 1, a Gold of 0, and a Total of 1? | CREATE TABLE table_name_46 (nation VARCHAR, total VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT nation FROM table_name_46 WHERE silver = "1" AND gold = "0" AND total = "1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (nation VARCHAR, total VARCHAR, silver VARCHAR, gold VARCHAR) Question: Which nation has a Silver of 1, a Gold of 0, and a Total of 1? [/INST] SELECT nation FROM table_name_46 WHERE silver = "1" AND gold = "0" AND total = "1" </s> |
Which bronze has a Rank of 37? | CREATE TABLE table_name_66 (bronze VARCHAR, rank VARCHAR) | SELECT bronze FROM table_name_66 WHERE rank = "37" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (bronze VARCHAR, rank VARCHAR) Question: Which bronze has a Rank of 37? [/INST] SELECT bronze FROM table_name_66 WHERE rank = "37" </s> |
Which silver has a Bronze of 1, a Total of 4, and a Nation of slovakia? | CREATE TABLE table_name_76 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT silver FROM table_name_76 WHERE bronze = "1" AND total = "4" AND nation = "slovakia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) Question: Which silver has a Bronze of 1, a Total of 4, and a Nation of slovakia? [/INST] SELECT silver FROM table_name_76 WHERE bronze = "1" AND total = "4" AND nation = "slovakia" </s> |
What car had the fewest laps with a qual of 138.750? | CREATE TABLE table_name_16 (laps INTEGER, qual VARCHAR) | SELECT MIN(laps) FROM table_name_16 WHERE qual = "138.750" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (laps INTEGER, qual VARCHAR) Question: What car had the fewest laps with a qual of 138.750? [/INST] SELECT MIN(laps) FROM table_name_16 WHERE qual = "138.750" </s> |
How many laps were there for the car with a qual of 138.750? | CREATE TABLE table_name_3 (laps VARCHAR, qual VARCHAR) | SELECT laps FROM table_name_3 WHERE qual = "138.750" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (laps VARCHAR, qual VARCHAR) Question: How many laps were there for the car with a qual of 138.750? [/INST] SELECT laps FROM table_name_3 WHERE qual = "138.750" </s> |
For the car with a qual of 134.288, what was the rank? | CREATE TABLE table_name_72 (rank VARCHAR, qual VARCHAR) | SELECT rank FROM table_name_72 WHERE qual = "134.288" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (rank VARCHAR, qual VARCHAR) Question: For the car with a qual of 134.288, what was the rank? [/INST] SELECT rank FROM table_name_72 WHERE qual = "134.288" </s> |
What was the finishing place for 1953? | CREATE TABLE table_name_95 (finish VARCHAR, year VARCHAR) | SELECT finish FROM table_name_95 WHERE year = "1953" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (finish VARCHAR, year VARCHAR) Question: What was the finishing place for 1953? [/INST] SELECT finish FROM table_name_95 WHERE year = "1953" </s> |
Tell me the name for commissioned of 30 august 1941 and laid down of 22 september 1939 | CREATE TABLE table_name_73 (name VARCHAR, laid_down VARCHAR, commissioned VARCHAR) | SELECT name FROM table_name_73 WHERE laid_down = "22 september 1939" AND commissioned = "30 august 1941" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (name VARCHAR, laid_down VARCHAR, commissioned VARCHAR) Question: Tell me the name for commissioned of 30 august 1941 and laid down of 22 september 1939 [/INST] SELECT name FROM table_name_73 WHERE laid_down = "22 september 1939" AND commissioned = "30 august 1941" </s> |
What is the score when there was a Loss of birkbeck (0–3)? | CREATE TABLE table_name_70 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_70 WHERE loss = "birkbeck (0–3)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (score VARCHAR, loss VARCHAR) Question: What is the score when there was a Loss of birkbeck (0–3)? [/INST] SELECT score FROM table_name_70 WHERE loss = "birkbeck (0–3)" </s> |
Which GPU has the cushaw application? | CREATE TABLE table_name_31 (gpu‡ VARCHAR, application VARCHAR) | SELECT gpu‡ FROM table_name_31 WHERE application = "cushaw" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (gpu‡ VARCHAR, application VARCHAR) Question: Which GPU has the cushaw application? [/INST] SELECT gpu‡ FROM table_name_31 WHERE application = "cushaw" </s> |
What is the expected speed up of the gpu-hmmer application? | CREATE TABLE table_name_47 (expected_speed_up† VARCHAR, application VARCHAR) | SELECT expected_speed_up† FROM table_name_47 WHERE application = "gpu-hmmer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (expected_speed_up† VARCHAR, application VARCHAR) Question: What is the expected speed up of the gpu-hmmer application? [/INST] SELECT expected_speed_up† FROM table_name_47 WHERE application = "gpu-hmmer" </s> |
Who was the host team at the game at the Cleveland Browns Stadium? | CREATE TABLE table_name_32 (host_team VARCHAR, stadium VARCHAR) | SELECT host_team FROM table_name_32 WHERE stadium = "cleveland browns stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (host_team VARCHAR, stadium VARCHAR) Question: Who was the host team at the game at the Cleveland Browns Stadium? [/INST] SELECT host_team FROM table_name_32 WHERE stadium = "cleveland browns stadium" </s> |
What was the final score when the Buffalo Bills were the visiting team? | CREATE TABLE table_name_94 (final_score VARCHAR, visiting_team VARCHAR) | SELECT final_score FROM table_name_94 WHERE visiting_team = "buffalo bills" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (final_score VARCHAR, visiting_team VARCHAR) Question: What was the final score when the Buffalo Bills were the visiting team? [/INST] SELECT final_score FROM table_name_94 WHERE visiting_team = "buffalo bills" </s> |
What was the final score when the Denver Broncos were the visiting team? | CREATE TABLE table_name_27 (final_score VARCHAR, visiting_team VARCHAR) | SELECT final_score FROM table_name_27 WHERE visiting_team = "denver broncos" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (final_score VARCHAR, visiting_team VARCHAR) Question: What was the final score when the Denver Broncos were the visiting team? [/INST] SELECT final_score FROM table_name_27 WHERE visiting_team = "denver broncos" </s> |
What is the date that a game at the Alltel Stadium had a final score of 6-20? | CREATE TABLE table_name_48 (date VARCHAR, stadium VARCHAR, final_score VARCHAR) | SELECT date FROM table_name_48 WHERE stadium = "alltel stadium" AND final_score = "6-20" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, stadium VARCHAR, final_score VARCHAR) Question: What is the date that a game at the Alltel Stadium had a final score of 6-20? [/INST] SELECT date FROM table_name_48 WHERE stadium = "alltel stadium" AND final_score = "6-20" </s> |
What Catalog has a label of Alfa records and a date of November 21, 1980? | CREATE TABLE table_name_31 (catalog VARCHAR, label VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_31 WHERE label = "alfa records" AND date = "november 21, 1980" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (catalog VARCHAR, label VARCHAR, date VARCHAR) Question: What Catalog has a label of Alfa records and a date of November 21, 1980? [/INST] SELECT catalog FROM table_name_31 WHERE label = "alfa records" AND date = "november 21, 1980" </s> |
What catalog has a format of ED remaster CD and a date of December 19, 2001? | CREATE TABLE table_name_68 (catalog VARCHAR, format VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_68 WHERE format = "ed remaster cd" AND date = "december 19, 2001" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (catalog VARCHAR, format VARCHAR, date VARCHAR) Question: What catalog has a format of ED remaster CD and a date of December 19, 2001? [/INST] SELECT catalog FROM table_name_68 WHERE format = "ed remaster cd" AND date = "december 19, 2001" </s> |
What Date has a label of alfa records? | CREATE TABLE table_name_35 (date VARCHAR, label VARCHAR) | SELECT date FROM table_name_35 WHERE label = "alfa records" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (date VARCHAR, label VARCHAR) Question: What Date has a label of alfa records? [/INST] SELECT date FROM table_name_35 WHERE label = "alfa records" </s> |
What region has the label of alfa records and the date of January 23, 1987? | CREATE TABLE table_name_46 (region VARCHAR, label VARCHAR, date VARCHAR) | SELECT region FROM table_name_46 WHERE label = "alfa records" AND date = "january 23, 1987" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (region VARCHAR, label VARCHAR, date VARCHAR) Question: What region has the label of alfa records and the date of January 23, 1987? [/INST] SELECT region FROM table_name_46 WHERE label = "alfa records" AND date = "january 23, 1987" </s> |
What date has the format of CD and catalog of alca-274? | CREATE TABLE table_name_72 (date VARCHAR, format VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_72 WHERE format = "cd" AND catalog = "alca-274" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (date VARCHAR, format VARCHAR, catalog VARCHAR) Question: What date has the format of CD and catalog of alca-274? [/INST] SELECT date FROM table_name_72 WHERE format = "cd" AND catalog = "alca-274" </s> |
What date has the format of cd? | CREATE TABLE table_name_40 (date VARCHAR, format VARCHAR) | SELECT date FROM table_name_40 WHERE format = "cd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (date VARCHAR, format VARCHAR) Question: What date has the format of cd? [/INST] SELECT date FROM table_name_40 WHERE format = "cd" </s> |
Subsets and Splits