instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
What was the score in the match against Kim Tiilikainen? | CREATE TABLE table_name_49 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_49 WHERE opponent = "kim tiilikainen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (score VARCHAR, opponent VARCHAR) Question: What was the score in the match against Kim Tiilikainen? [/INST] SELECT score FROM table_name_49 WHERE opponent = "kim tiilikainen" </s> |
What was the date of the match against Jean-Julien Rojer, on a clay surface? | CREATE TABLE table_name_59 (date VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_59 WHERE surface = "clay" AND opponent = "jean-julien rojer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (date VARCHAR, surface VARCHAR, opponent VARCHAR) Question: What was the date of the match against Jean-Julien Rojer, on a clay surface? [/INST] SELECT date FROM table_name_59 WHERE surface = "clay" AND opponent = "jean-julien rojer" </s> |
Which tournament had a hard surface? | CREATE TABLE table_name_22 (tournament VARCHAR, surface VARCHAR) | SELECT tournament FROM table_name_22 WHERE surface = "hard" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (tournament VARCHAR, surface VARCHAR) Question: Which tournament had a hard surface? [/INST] SELECT tournament FROM table_name_22 WHERE surface = "hard" </s> |
What is the surface of the match when the outcome was runner-up, and a Score of julia görges polona hercog? | CREATE TABLE table_name_42 (surface VARCHAR, outcome VARCHAR, score VARCHAR) | SELECT surface FROM table_name_42 WHERE outcome = "runner-up" AND score = "julia görges polona hercog" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (surface VARCHAR, outcome VARCHAR, score VARCHAR) Question: What is the surface of the match when the outcome was runner-up, and a Score of julia görges polona hercog? [/INST] SELECT surface FROM table_name_42 WHERE outcome = "runner-up" AND score = "julia görges polona hercog" </s> |
What was the surface of the match when the score was akgul amanmuradova chuang chia-jung? | CREATE TABLE table_name_60 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_60 WHERE score = "akgul amanmuradova chuang chia-jung" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (surface VARCHAR, score VARCHAR) Question: What was the surface of the match when the score was akgul amanmuradova chuang chia-jung? [/INST] SELECT surface FROM table_name_60 WHERE score = "akgul amanmuradova chuang chia-jung" </s> |
What date was the surface hard and Eva Hrdinová was the opponent? | CREATE TABLE table_name_40 (date VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_40 WHERE surface = "hard" AND opponent = "eva hrdinová" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (date VARCHAR, surface VARCHAR, opponent VARCHAR) Question: What date was the surface hard and Eva Hrdinová was the opponent? [/INST] SELECT date FROM table_name_40 WHERE surface = "hard" AND opponent = "eva hrdinová" </s> |
What was the surface of the match against bethanie mattek-sands? | CREATE TABLE table_name_83 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_83 WHERE opponent = "bethanie mattek-sands" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (surface VARCHAR, opponent VARCHAR) Question: What was the surface of the match against bethanie mattek-sands? [/INST] SELECT surface FROM table_name_83 WHERE opponent = "bethanie mattek-sands" </s> |
What series 1 has a Doug Richards in Series 2? | CREATE TABLE table_name_58 (series_1 VARCHAR, series_2 VARCHAR) | SELECT series_1 FROM table_name_58 WHERE series_2 = "doug richards" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (series_1 VARCHAR, series_2 VARCHAR) Question: What series 1 has a Doug Richards in Series 2? [/INST] SELECT series_1 FROM table_name_58 WHERE series_2 = "doug richards" </s> |
Who in series 1 corresponds with Peter Jones in series 5? | CREATE TABLE table_name_60 (series_1 VARCHAR, series_5 VARCHAR) | SELECT series_1 FROM table_name_60 WHERE series_5 = "peter jones" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (series_1 VARCHAR, series_5 VARCHAR) Question: Who in series 1 corresponds with Peter Jones in series 5? [/INST] SELECT series_1 FROM table_name_60 WHERE series_5 = "peter jones" </s> |
Who in series 5 corresponds to Deborah Meaden in series 3? | CREATE TABLE table_name_57 (series_5 VARCHAR, series_3 VARCHAR) | SELECT series_5 FROM table_name_57 WHERE series_3 = "deborah meaden" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (series_5 VARCHAR, series_3 VARCHAR) Question: Who in series 5 corresponds to Deborah Meaden in series 3? [/INST] SELECT series_5 FROM table_name_57 WHERE series_3 = "deborah meaden" </s> |
Who in series 11 corresponds to Peter Jones in series 1? | CREATE TABLE table_name_51 (series_11 VARCHAR, series_1 VARCHAR) | SELECT series_11 FROM table_name_51 WHERE series_1 = "peter jones" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (series_11 VARCHAR, series_1 VARCHAR) Question: Who in series 11 corresponds to Peter Jones in series 1? [/INST] SELECT series_11 FROM table_name_51 WHERE series_1 = "peter jones" </s> |
Who in series 9 corresponds to Peter Jones in series 2? | CREATE TABLE table_name_55 (series_9 VARCHAR, series_2 VARCHAR) | SELECT series_9 FROM table_name_55 WHERE series_2 = "peter jones" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (series_9 VARCHAR, series_2 VARCHAR) Question: Who in series 9 corresponds to Peter Jones in series 2? [/INST] SELECT series_9 FROM table_name_55 WHERE series_2 = "peter jones" </s> |
What was the score of the game when the Blue Jays were 55-39? | CREATE TABLE table_name_86 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_86 WHERE record = "55-39" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (score VARCHAR, record VARCHAR) Question: What was the score of the game when the Blue Jays were 55-39? [/INST] SELECT score FROM table_name_86 WHERE record = "55-39" </s> |
Who was the individual in the event of 1998 Pokljuka? | CREATE TABLE table_name_33 (individual VARCHAR, event VARCHAR) | SELECT individual FROM table_name_33 WHERE event = "1998 pokljuka" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (individual VARCHAR, event VARCHAR) Question: Who was the individual in the event of 1998 Pokljuka? [/INST] SELECT individual FROM table_name_33 WHERE event = "1998 pokljuka" </s> |
Which locomotive class had 5 items made? | CREATE TABLE table_name_26 (class VARCHAR, quantity_made VARCHAR) | SELECT class FROM table_name_26 WHERE quantity_made = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (class VARCHAR, quantity_made VARCHAR) Question: Which locomotive class had 5 items made? [/INST] SELECT class FROM table_name_26 WHERE quantity_made = 5 </s> |
Which manufacturer made a locomotive with a type of 4-6-4t? | CREATE TABLE table_name_40 (manufacturer VARCHAR, type VARCHAR) | SELECT manufacturer FROM table_name_40 WHERE type = "4-6-4t" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (manufacturer VARCHAR, type VARCHAR) Question: Which manufacturer made a locomotive with a type of 4-6-4t? [/INST] SELECT manufacturer FROM table_name_40 WHERE type = "4-6-4t" </s> |
What is the event year radek štěpánek was the round and there were less than 3 aces? | CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, aces VARCHAR) | SELECT COUNT(event) FROM table_name_92 WHERE round = "radek štěpánek" AND NOT aces < 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, aces VARCHAR) Question: What is the event year radek štěpánek was the round and there were less than 3 aces? [/INST] SELECT COUNT(event) FROM table_name_92 WHERE round = "radek štěpánek" AND NOT aces < 3 </s> |
How many players were in the event after 2011 with less than 9 aces? | CREATE TABLE table_name_72 (player VARCHAR, event VARCHAR, aces VARCHAR) | SELECT COUNT(player) FROM table_name_72 WHERE event > 2011 AND NOT aces < 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (player VARCHAR, event VARCHAR, aces VARCHAR) Question: How many players were in the event after 2011 with less than 9 aces? [/INST] SELECT COUNT(player) FROM table_name_72 WHERE event > 2011 AND NOT aces < 9 </s> |
Who was the opponent in the 2011 event with less than 113 players? | CREATE TABLE table_name_72 (opponent VARCHAR, player VARCHAR, event VARCHAR) | SELECT opponent FROM table_name_72 WHERE player < 113 AND event = 2011 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (opponent VARCHAR, player VARCHAR, event VARCHAR) Question: Who was the opponent in the 2011 event with less than 113 players? [/INST] SELECT opponent FROM table_name_72 WHERE player < 113 AND event = 2011 </s> |
What is the highest number of players during 1r year with a clay set and more than 4 aces? | CREATE TABLE table_name_63 (player INTEGER, year VARCHAR, sets VARCHAR, aces VARCHAR) | SELECT MAX(player) FROM table_name_63 WHERE year = "1r" AND sets = "clay" AND NOT aces > 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (player INTEGER, year VARCHAR, sets VARCHAR, aces VARCHAR) Question: What is the highest number of players during 1r year with a clay set and more than 4 aces? [/INST] SELECT MAX(player) FROM table_name_63 WHERE year = "1r" AND sets = "clay" AND NOT aces > 4 </s> |
Who played as Team 2 against Team 1 SC Gagnoa? | CREATE TABLE table_name_73 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_73 WHERE team_1 = "sc gagnoa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (team_2 VARCHAR, team_1 VARCHAR) Question: Who played as Team 2 against Team 1 SC Gagnoa? [/INST] SELECT team_2 FROM table_name_73 WHERE team_1 = "sc gagnoa" </s> |
What was the 1st leg score when Mufulira Wanderers played as Team 2? | CREATE TABLE table_name_6 (team_2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_6 WHERE team_2 = "mufulira wanderers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (team_2 VARCHAR) Question: What was the 1st leg score when Mufulira Wanderers played as Team 2? [/INST] SELECT 1 AS st_leg FROM table_name_6 WHERE team_2 = "mufulira wanderers" </s> |
What's the score of the 1st leg when Water Corporation was Team 1? | CREATE TABLE table_name_8 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_8 WHERE team_1 = "water corporation" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (team_1 VARCHAR) Question: What's the score of the 1st leg when Water Corporation was Team 1? [/INST] SELECT 1 AS st_leg FROM table_name_8 WHERE team_1 = "water corporation" </s> |
What's the 1st leg score when Team 1 was Gor Mahia? | CREATE TABLE table_name_1 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_1 WHERE team_1 = "gor mahia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (team_1 VARCHAR) Question: What's the 1st leg score when Team 1 was Gor Mahia? [/INST] SELECT 1 AS st_leg FROM table_name_1 WHERE team_1 = "gor mahia" </s> |
Who played as Team 1 against Lomé i? | CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR) Question: Who played as Team 1 against Lomé i? [/INST] SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i" </s> |
Name the entrant for year of 1952 | CREATE TABLE table_name_39 (entrant VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_39 WHERE year = 1952 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (entrant VARCHAR, year VARCHAR) Question: Name the entrant for year of 1952 [/INST] SELECT entrant FROM table_name_39 WHERE year = 1952 </s> |
Name the total number of points for 1952 | CREATE TABLE table_name_89 (points VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_89 WHERE year = 1952 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (points VARCHAR, year VARCHAR) Question: Name the total number of points for 1952 [/INST] SELECT COUNT(points) FROM table_name_89 WHERE year = 1952 </s> |
Name the total number of years for talbot-lago t26c and points less than 3 | CREATE TABLE table_name_52 (year VARCHAR, chassis VARCHAR, points VARCHAR) | SELECT COUNT(year) FROM table_name_52 WHERE chassis = "talbot-lago t26c" AND points < 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (year VARCHAR, chassis VARCHAR, points VARCHAR) Question: Name the total number of years for talbot-lago t26c and points less than 3 [/INST] SELECT COUNT(year) FROM table_name_52 WHERE chassis = "talbot-lago t26c" AND points < 3 </s> |
What episode featured entrepreneur Richard Ernest? | CREATE TABLE table_name_15 (first_aired VARCHAR, entrepreneur_s_ VARCHAR) | SELECT first_aired FROM table_name_15 WHERE entrepreneur_s_ = "richard ernest" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (first_aired VARCHAR, entrepreneur_s_ VARCHAR) Question: What episode featured entrepreneur Richard Ernest? [/INST] SELECT first_aired FROM table_name_15 WHERE entrepreneur_s_ = "richard ernest" </s> |
What Investing Dragons had a request of £100,000? | CREATE TABLE table_name_87 (investing_dragon_s_ VARCHAR, money_requested__£_ VARCHAR) | SELECT investing_dragon_s_ FROM table_name_87 WHERE money_requested__£_ = "100,000" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (investing_dragon_s_ VARCHAR, money_requested__£_ VARCHAR) Question: What Investing Dragons had a request of £100,000? [/INST] SELECT investing_dragon_s_ FROM table_name_87 WHERE money_requested__£_ = "100,000" </s> |
What Entrepreneurs requested £60,000? | CREATE TABLE table_name_27 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR) | SELECT entrepreneur_s_ FROM table_name_27 WHERE money_requested__£_ = "60,000" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR) Question: What Entrepreneurs requested £60,000? [/INST] SELECT entrepreneur_s_ FROM table_name_27 WHERE money_requested__£_ = "60,000" </s> |
How much was requested from Investing Dragon Peter Jones request in episode 2? | CREATE TABLE table_name_92 (money_requested__£_ VARCHAR, investing_dragon_s_ VARCHAR, episode VARCHAR) | SELECT money_requested__£_ FROM table_name_92 WHERE investing_dragon_s_ = "peter jones" AND episode = "episode 2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (money_requested__£_ VARCHAR, investing_dragon_s_ VARCHAR, episode VARCHAR) Question: How much was requested from Investing Dragon Peter Jones request in episode 2? [/INST] SELECT money_requested__£_ FROM table_name_92 WHERE investing_dragon_s_ = "peter jones" AND episode = "episode 2" </s> |
Name the investing dragon for razzamataz | CREATE TABLE table_name_5 (investing_dragon_s_ VARCHAR, company_or_product_name VARCHAR) | SELECT investing_dragon_s_ FROM table_name_5 WHERE company_or_product_name = "razzamataz" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (investing_dragon_s_ VARCHAR, company_or_product_name VARCHAR) Question: Name the investing dragon for razzamataz [/INST] SELECT investing_dragon_s_ FROM table_name_5 WHERE company_or_product_name = "razzamataz" </s> |
Name the first aired with money requested more than 85,000 | CREATE TABLE table_name_86 (first_aired VARCHAR, money_requested__£_ INTEGER) | SELECT first_aired FROM table_name_86 WHERE money_requested__£_ > 85 OFFSET 000 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (first_aired VARCHAR, money_requested__£_ INTEGER) Question: Name the first aired with money requested more than 85,000 [/INST] SELECT first_aired FROM table_name_86 WHERE money_requested__£_ > 85 OFFSET 000 ROWS </s> |
What is the competition type of the event with a result of 3-2 and a score of 2-1? | CREATE TABLE table_name_36 (competition VARCHAR, result VARCHAR, score VARCHAR) | SELECT competition FROM table_name_36 WHERE result = "3-2" AND score = "2-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (competition VARCHAR, result VARCHAR, score VARCHAR) Question: What is the competition type of the event with a result of 3-2 and a score of 2-1? [/INST] SELECT competition FROM table_name_36 WHERE result = "3-2" AND score = "2-1" </s> |
Which date has a competition type of friendly and a score of 2-1? | CREATE TABLE table_name_3 (date VARCHAR, competition VARCHAR, score VARCHAR) | SELECT date FROM table_name_3 WHERE competition = "friendly" AND score = "2-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (date VARCHAR, competition VARCHAR, score VARCHAR) Question: Which date has a competition type of friendly and a score of 2-1? [/INST] SELECT date FROM table_name_3 WHERE competition = "friendly" AND score = "2-1" </s> |
What is the score of the event with a competition type of friendly and a result of 4-5? | CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, result VARCHAR) | SELECT score FROM table_name_94 WHERE competition = "friendly" AND result = "4-5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, result VARCHAR) Question: What is the score of the event with a competition type of friendly and a result of 4-5? [/INST] SELECT score FROM table_name_94 WHERE competition = "friendly" AND result = "4-5" </s> |
Which date has a score of 2-1? | CREATE TABLE table_name_6 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_6 WHERE score = "2-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (date VARCHAR, score VARCHAR) Question: Which date has a score of 2-1? [/INST] SELECT date FROM table_name_6 WHERE score = "2-1" </s> |
Which date has a competition type of British home championship? | CREATE TABLE table_name_81 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_81 WHERE competition = "british home championship" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (date VARCHAR, competition VARCHAR) Question: Which date has a competition type of British home championship? [/INST] SELECT date FROM table_name_81 WHERE competition = "british home championship" </s> |
what date was mallala motor sport park the circuit? | CREATE TABLE table_name_76 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_76 WHERE circuit = "mallala motor sport park" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (date VARCHAR, circuit VARCHAR) Question: what date was mallala motor sport park the circuit? [/INST] SELECT date FROM table_name_76 WHERE circuit = "mallala motor sport park" </s> |
what date did the m3 motorsport team compete at winton motor raceway? | CREATE TABLE table_name_38 (date VARCHAR, team VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_38 WHERE team = "m3 motorsport" AND circuit = "winton motor raceway" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (date VARCHAR, team VARCHAR, circuit VARCHAR) Question: what date did the m3 motorsport team compete at winton motor raceway? [/INST] SELECT date FROM table_name_38 WHERE team = "m3 motorsport" AND circuit = "winton motor raceway" </s> |
Name the agg for team 2 of asl sport guyanais. | CREATE TABLE table_name_34 (agg VARCHAR, team_2 VARCHAR) | SELECT agg FROM table_name_34 WHERE team_2 = "asl sport guyanais" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (agg VARCHAR, team_2 VARCHAR) Question: Name the agg for team 2 of asl sport guyanais. [/INST] SELECT agg FROM table_name_34 WHERE team_2 = "asl sport guyanais" </s> |
Name the agg for seba united | CREATE TABLE table_name_12 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_12 WHERE team_1 = "seba united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (agg VARCHAR, team_1 VARCHAR) Question: Name the agg for seba united [/INST] SELECT agg FROM table_name_12 WHERE team_1 = "seba united" </s> |
Name the 2nd leg for defence force | CREATE TABLE table_name_61 (team_2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_61 WHERE team_2 = "defence force" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (team_2 VARCHAR) Question: Name the 2nd leg for defence force [/INST] SELECT 2 AS nd_leg FROM table_name_61 WHERE team_2 = "defence force" </s> |
Which country does FC Atyrau represent after the 2006 season? | CREATE TABLE table_name_67 (country VARCHAR, season VARCHAR, team VARCHAR) | SELECT country FROM table_name_67 WHERE season > 2006 AND team = "fc atyrau" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (country VARCHAR, season VARCHAR, team VARCHAR) Question: Which country does FC Atyrau represent after the 2006 season? [/INST] SELECT country FROM table_name_67 WHERE season > 2006 AND team = "fc atyrau" </s> |
In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps? | CREATE TABLE table_name_72 (season INTEGER, apps VARCHAR, country VARCHAR, team VARCHAR) | SELECT MAX(season) FROM table_name_72 WHERE country = "uzbekistan" AND team = "fc pakhtakor tashkent" AND apps > 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (season INTEGER, apps VARCHAR, country VARCHAR, team VARCHAR) Question: In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps? [/INST] SELECT MAX(season) FROM table_name_72 WHERE country = "uzbekistan" AND team = "fc pakhtakor tashkent" AND apps > 6 </s> |
How many seasons have 1 goals and more than 11 apps? | CREATE TABLE table_name_89 (season VARCHAR, goals VARCHAR, apps VARCHAR) | SELECT COUNT(season) FROM table_name_89 WHERE goals = 1 AND apps > 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (season VARCHAR, goals VARCHAR, apps VARCHAR) Question: How many seasons have 1 goals and more than 11 apps? [/INST] SELECT COUNT(season) FROM table_name_89 WHERE goals = 1 AND apps > 11 </s> |
What game that had a record of 39-44 had the lowest attendance? | CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR) | SELECT MIN(attendance) FROM table_name_44 WHERE record = "39-44" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR) Question: What game that had a record of 39-44 had the lowest attendance? [/INST] SELECT MIN(attendance) FROM table_name_44 WHERE record = "39-44" </s> |
Who was the opponent at the game that had a loss of Saarloos (7-7)? | CREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_7 WHERE loss = "saarloos (7-7)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR) Question: Who was the opponent at the game that had a loss of Saarloos (7-7)? [/INST] SELECT opponent FROM table_name_7 WHERE loss = "saarloos (7-7)" </s> |
What was the score of the game with a record of 81-60? | CREATE TABLE table_name_71 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_71 WHERE record = "81-60" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (score VARCHAR, record VARCHAR) Question: What was the score of the game with a record of 81-60? [/INST] SELECT score FROM table_name_71 WHERE record = "81-60" </s> |
What was the lowest attendance at a game that had a score of 5-4 and a loss of Williams (2-4)? | CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR, loss VARCHAR) | SELECT MIN(attendance) FROM table_name_29 WHERE score = "5-4" AND loss = "williams (2-4)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR, loss VARCHAR) Question: What was the lowest attendance at a game that had a score of 5-4 and a loss of Williams (2-4)? [/INST] SELECT MIN(attendance) FROM table_name_29 WHERE score = "5-4" AND loss = "williams (2-4)" </s> |
What year did the 11th place play 26 games? | CREATE TABLE table_name_96 (year VARCHAR, place VARCHAR, played VARCHAR) | SELECT year FROM table_name_96 WHERE place = "11th" AND played = 26 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (year VARCHAR, place VARCHAR, played VARCHAR) Question: What year did the 11th place play 26 games? [/INST] SELECT year FROM table_name_96 WHERE place = "11th" AND played = 26 </s> |
What is the total played games of a 22 G.A.? | CREATE TABLE table_name_24 (played VARCHAR, ga VARCHAR) | SELECT COUNT(played) FROM table_name_24 WHERE ga = "22" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (played VARCHAR, ga VARCHAR) Question: What is the total played games of a 22 G.A.? [/INST] SELECT COUNT(played) FROM table_name_24 WHERE ga = "22" </s> |
Name the winner for genoa to livorno | CREATE TABLE table_name_39 (winner VARCHAR, course VARCHAR) | SELECT winner FROM table_name_39 WHERE course = "genoa to livorno" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (winner VARCHAR, course VARCHAR) Question: Name the winner for genoa to livorno [/INST] SELECT winner FROM table_name_39 WHERE course = "genoa to livorno" </s> |
Name the winner for 5 june | CREATE TABLE table_name_80 (winner VARCHAR, date VARCHAR) | SELECT winner FROM table_name_80 WHERE date = "5 june" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (winner VARCHAR, date VARCHAR) Question: Name the winner for 5 june [/INST] SELECT winner FROM table_name_80 WHERE date = "5 june" </s> |
Name the winner for rest day race leader | CREATE TABLE table_name_97 (winner VARCHAR, race_leader VARCHAR) | SELECT winner FROM table_name_97 WHERE race_leader = "rest day" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (winner VARCHAR, race_leader VARCHAR) Question: Name the winner for rest day race leader [/INST] SELECT winner FROM table_name_97 WHERE race_leader = "rest day" </s> |
Name the least rank for lane less than 5 for germany and sandra völker | CREATE TABLE table_name_22 (rank INTEGER, name VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT MIN(rank) FROM table_name_22 WHERE lane < 5 AND nationality = "germany" AND name = "sandra völker" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (rank INTEGER, name VARCHAR, lane VARCHAR, nationality VARCHAR) Question: Name the least rank for lane less than 5 for germany and sandra völker [/INST] SELECT MIN(rank) FROM table_name_22 WHERE lane < 5 AND nationality = "germany" AND name = "sandra völker" </s> |
Name the total number of rank for lane 7 | CREATE TABLE table_name_69 (rank VARCHAR, lane VARCHAR) | SELECT COUNT(rank) FROM table_name_69 WHERE lane = 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (rank VARCHAR, lane VARCHAR) Question: Name the total number of rank for lane 7 [/INST] SELECT COUNT(rank) FROM table_name_69 WHERE lane = 7 </s> |
Name the most time for katrin meißner and rank less than 5 | CREATE TABLE table_name_71 (time INTEGER, name VARCHAR, rank VARCHAR) | SELECT MAX(time) FROM table_name_71 WHERE name = "katrin meißner" AND rank < 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (time INTEGER, name VARCHAR, rank VARCHAR) Question: Name the most time for katrin meißner and rank less than 5 [/INST] SELECT MAX(time) FROM table_name_71 WHERE name = "katrin meißner" AND rank < 5 </s> |
Tell me the name for time of 25.74 | CREATE TABLE table_name_2 (name VARCHAR, time VARCHAR) | SELECT name FROM table_name_2 WHERE time = 25.74 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (name VARCHAR, time VARCHAR) Question: Tell me the name for time of 25.74 [/INST] SELECT name FROM table_name_2 WHERE time = 25.74 </s> |
Was the University of Southern California Signed? | CREATE TABLE table_name_50 (signed VARCHAR, school VARCHAR) | SELECT signed FROM table_name_50 WHERE school = "university of southern california" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (signed VARCHAR, school VARCHAR) Question: Was the University of Southern California Signed? [/INST] SELECT signed FROM table_name_50 WHERE school = "university of southern california" </s> |
Was the University of Michigan Signed? | CREATE TABLE table_name_13 (signed VARCHAR, school VARCHAR) | SELECT signed FROM table_name_13 WHERE school = "university of michigan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (signed VARCHAR, school VARCHAR) Question: Was the University of Michigan Signed? [/INST] SELECT signed FROM table_name_13 WHERE school = "university of michigan" </s> |
What is the University of Southern California's highest Round? | CREATE TABLE table_name_92 (round INTEGER, school VARCHAR) | SELECT MAX(round) FROM table_name_92 WHERE school = "university of southern california" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (round INTEGER, school VARCHAR) Question: What is the University of Southern California's highest Round? [/INST] SELECT MAX(round) FROM table_name_92 WHERE school = "university of southern california" </s> |
Who was the home captain at Sabina Park? | CREATE TABLE table_name_89 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_89 WHERE venue = "sabina park" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (home_captain VARCHAR, venue VARCHAR) Question: Who was the home captain at Sabina Park? [/INST] SELECT home_captain FROM table_name_89 WHERE venue = "sabina park" </s> |
What was the result of the game hosted at Queen's Park Oval? | CREATE TABLE table_name_30 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_30 WHERE venue = "queen's park oval" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (result VARCHAR, venue VARCHAR) Question: What was the result of the game hosted at Queen's Park Oval? [/INST] SELECT result FROM table_name_30 WHERE venue = "queen's park oval" </s> |
Name the genre for release-year of first charted record of 1988 | CREATE TABLE table_name_98 (genre VARCHAR, release_year_of_first_charted_record VARCHAR) | SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (genre VARCHAR, release_year_of_first_charted_record VARCHAR) Question: Name the genre for release-year of first charted record of 1988 [/INST] SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988 </s> |
What was the loss of the game with a record of 77-65? | CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_96 WHERE record = "77-65" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR) Question: What was the loss of the game with a record of 77-65? [/INST] SELECT loss FROM table_name_96 WHERE record = "77-65" </s> |
What was the loss of the game with a record of 84-71? | CREATE TABLE table_name_29 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_29 WHERE record = "84-71" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (loss VARCHAR, record VARCHAR) Question: What was the loss of the game with a record of 84-71? [/INST] SELECT loss FROM table_name_29 WHERE record = "84-71" </s> |
What date was the record 34-41? | CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_11 WHERE record = "34-41" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) Question: What date was the record 34-41? [/INST] SELECT date FROM table_name_11 WHERE record = "34-41" </s> |
What type had a course of Grosseto To Rieti? | CREATE TABLE table_name_18 (type VARCHAR, course VARCHAR) | SELECT type FROM table_name_18 WHERE course = "grosseto to rieti" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (type VARCHAR, course VARCHAR) Question: What type had a course of Grosseto To Rieti? [/INST] SELECT type FROM table_name_18 WHERE course = "grosseto to rieti" </s> |
In what Season were there 86 Assists in the WCJHL League? | CREATE TABLE table_name_53 (season VARCHAR, league VARCHAR, assists VARCHAR) | SELECT season FROM table_name_53 WHERE league = "wcjhl" AND assists = 86 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (season VARCHAR, league VARCHAR, assists VARCHAR) Question: In what Season were there 86 Assists in the WCJHL League? [/INST] SELECT season FROM table_name_53 WHERE league = "wcjhl" AND assists = 86 </s> |
In the WCHL League, what is the last Assists with less than 65 Goals? | CREATE TABLE table_name_37 (assists INTEGER, league VARCHAR, goals VARCHAR) | SELECT MIN(assists) FROM table_name_37 WHERE league = "wchl" AND goals < 65 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (assists INTEGER, league VARCHAR, goals VARCHAR) Question: In the WCHL League, what is the last Assists with less than 65 Goals? [/INST] SELECT MIN(assists) FROM table_name_37 WHERE league = "wchl" AND goals < 65 </s> |
What are the most Points with an Assist of 46? | CREATE TABLE table_name_53 (points INTEGER, assists VARCHAR) | SELECT MAX(points) FROM table_name_53 WHERE assists = 46 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (points INTEGER, assists VARCHAR) Question: What are the most Points with an Assist of 46? [/INST] SELECT MAX(points) FROM table_name_53 WHERE assists = 46 </s> |
What compound is yellow? | CREATE TABLE table_name_2 (compound_name VARCHAR, colour VARCHAR) | SELECT compound_name FROM table_name_2 WHERE colour = "yellow" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (compound_name VARCHAR, colour VARCHAR) Question: What compound is yellow? [/INST] SELECT compound_name FROM table_name_2 WHERE colour = "yellow" </s> |
What color is the super-soft compound? | CREATE TABLE table_name_31 (colour VARCHAR, compound_name VARCHAR) | SELECT colour FROM table_name_31 WHERE compound_name = "super-soft" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (colour VARCHAR, compound_name VARCHAR) Question: What color is the super-soft compound? [/INST] SELECT colour FROM table_name_31 WHERE compound_name = "super-soft" </s> |
Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232? | CREATE TABLE table_name_26 (tickets_sold___available VARCHAR, gross_revenue__1979_ VARCHAR) | SELECT tickets_sold___available FROM table_name_26 WHERE gross_revenue__1979_ = "$665,232" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (tickets_sold___available VARCHAR, gross_revenue__1979_ VARCHAR) Question: Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232? [/INST] SELECT tickets_sold___available FROM table_name_26 WHERE gross_revenue__1979_ = "$665,232" </s> |
What is the Gross Revenue (1979) of the Venue, lyceum theatre? | CREATE TABLE table_name_83 (gross_revenue__1979_ VARCHAR, venue VARCHAR) | SELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = "lyceum theatre" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (gross_revenue__1979_ VARCHAR, venue VARCHAR) Question: What is the Gross Revenue (1979) of the Venue, lyceum theatre? [/INST] SELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = "lyceum theatre" </s> |
What is the amount of Tickets Sold/ Available at the Venue of hippodrome? | CREATE TABLE table_name_44 (tickets_sold___available VARCHAR, venue VARCHAR) | SELECT tickets_sold___available FROM table_name_44 WHERE venue = "hippodrome" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (tickets_sold___available VARCHAR, venue VARCHAR) Question: What is the amount of Tickets Sold/ Available at the Venue of hippodrome? [/INST] SELECT tickets_sold___available FROM table_name_44 WHERE venue = "hippodrome" </s> |
Which Venue has a Gross Revenue (2012) of $179,712? | CREATE TABLE table_name_41 (venue VARCHAR, gross_revenue__2012_ VARCHAR) | SELECT venue FROM table_name_41 WHERE gross_revenue__2012_ = "$179,712" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (venue VARCHAR, gross_revenue__2012_ VARCHAR) Question: Which Venue has a Gross Revenue (2012) of $179,712? [/INST] SELECT venue FROM table_name_41 WHERE gross_revenue__2012_ = "$179,712" </s> |
Which Venue has an amount of Tickets Sold/ Available of 4,700 / 4,700 (100%)? | CREATE TABLE table_name_21 (venue VARCHAR, tickets_sold___available VARCHAR) | SELECT venue FROM table_name_21 WHERE tickets_sold___available = "4,700 / 4,700 (100%)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (venue VARCHAR, tickets_sold___available VARCHAR) Question: Which Venue has an amount of Tickets Sold/ Available of 4,700 / 4,700 (100%)? [/INST] SELECT venue FROM table_name_21 WHERE tickets_sold___available = "4,700 / 4,700 (100%)" </s> |
What was the date of the game that had a loss of Willis (0–1)? | CREATE TABLE table_name_32 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_32 WHERE loss = "willis (0–1)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (date VARCHAR, loss VARCHAR) Question: What was the date of the game that had a loss of Willis (0–1)? [/INST] SELECT date FROM table_name_32 WHERE loss = "willis (0–1)" </s> |
What was the opponent at the game that had a loss of Travers (0–2)? | CREATE TABLE table_name_9 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_9 WHERE loss = "travers (0–2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (opponent VARCHAR, loss VARCHAR) Question: What was the opponent at the game that had a loss of Travers (0–2)? [/INST] SELECT opponent FROM table_name_9 WHERE loss = "travers (0–2)" </s> |
What was the Loss when the Record was 50-54? | CREATE TABLE table_name_46 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_46 WHERE record = "50-54" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (loss VARCHAR, record VARCHAR) Question: What was the Loss when the Record was 50-54? [/INST] SELECT loss FROM table_name_46 WHERE record = "50-54" </s> |
Who was the opponent when the loss was Wells (4-7)? | CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_35 WHERE loss = "wells (4-7)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR) Question: Who was the opponent when the loss was Wells (4-7)? [/INST] SELECT opponent FROM table_name_35 WHERE loss = "wells (4-7)" </s> |
What shows for shoots for craig peacock a? | CREATE TABLE table_name_62 (shoots VARCHAR, player VARCHAR) | SELECT shoots FROM table_name_62 WHERE player = "craig peacock a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (shoots VARCHAR, player VARCHAR) Question: What shows for shoots for craig peacock a? [/INST] SELECT shoots FROM table_name_62 WHERE player = "craig peacock a" </s> |
What is the average Acquired when the Number shows as 7? | CREATE TABLE table_name_73 (acquired INTEGER, number VARCHAR) | SELECT AVG(acquired) FROM table_name_73 WHERE number = 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (acquired INTEGER, number VARCHAR) Question: What is the average Acquired when the Number shows as 7? [/INST] SELECT AVG(acquired) FROM table_name_73 WHERE number = 7 </s> |
What is the total of 2013 with 6th? | CREATE TABLE table_name_87 (total INTEGER) | SELECT MAX(total) FROM table_name_87 WHERE 2013 = "6th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (total INTEGER) Question: What is the total of 2013 with 6th? [/INST] SELECT MAX(total) FROM table_name_87 WHERE 2013 = "6th" </s> |
Which 2009 year has a total of 1, and 2004 year of 7th? | CREATE TABLE table_name_45 (total VARCHAR) | SELECT 2009 FROM table_name_45 WHERE total = 1 AND 2004 = "7th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (total VARCHAR) Question: Which 2009 year has a total of 1, and 2004 year of 7th? [/INST] SELECT 2009 FROM table_name_45 WHERE total = 1 AND 2004 = "7th" </s> |
What is the year 2013 with a total of 5, and 5th in 2009? | CREATE TABLE table_name_78 (total VARCHAR) | SELECT 2013 FROM table_name_78 WHERE total = 5 AND 2009 = "5th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (total VARCHAR) Question: What is the year 2013 with a total of 5, and 5th in 2009? [/INST] SELECT 2013 FROM table_name_78 WHERE total = 5 AND 2009 = "5th" </s> |
What is the year 2001 with a total larger than 1, and 2009 with 8? | CREATE TABLE table_name_26 (total VARCHAR) | SELECT 2001 FROM table_name_26 WHERE total > 1 AND 2009 = "8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (total VARCHAR) Question: What is the year 2001 with a total larger than 1, and 2009 with 8? [/INST] SELECT 2001 FROM table_name_26 WHERE total > 1 AND 2009 = "8" </s> |
What opponents have a record of 90-70? | CREATE TABLE table_name_34 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_34 WHERE record = "90-70" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (opponent VARCHAR, record VARCHAR) Question: What opponents have a record of 90-70? [/INST] SELECT opponent FROM table_name_34 WHERE record = "90-70" </s> |
What game had more than 50,324 in attendance? | CREATE TABLE table_name_45 (date VARCHAR, attendance INTEGER) | SELECT date FROM table_name_45 WHERE attendance > 50 OFFSET 324 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (date VARCHAR, attendance INTEGER) Question: What game had more than 50,324 in attendance? [/INST] SELECT date FROM table_name_45 WHERE attendance > 50 OFFSET 324 ROWS </s> |
What is the start of Offy engine and in 1972? | CREATE TABLE table_name_76 (start VARCHAR, engine VARCHAR, year VARCHAR) | SELECT start FROM table_name_76 WHERE engine = "offy" AND year = 1972 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (start VARCHAR, engine VARCHAR, year VARCHAR) Question: What is the start of Offy engine and in 1972? [/INST] SELECT start FROM table_name_76 WHERE engine = "offy" AND year = 1972 </s> |
What is the chassis for offy engine and 25th finish? | CREATE TABLE table_name_12 (chassis VARCHAR, engine VARCHAR, finish VARCHAR) | SELECT chassis FROM table_name_12 WHERE engine = "offy" AND finish = "25th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (chassis VARCHAR, engine VARCHAR, finish VARCHAR) Question: What is the chassis for offy engine and 25th finish? [/INST] SELECT chassis FROM table_name_12 WHERE engine = "offy" AND finish = "25th" </s> |
What is the finish of Mclaren chassis? | CREATE TABLE table_name_7 (finish VARCHAR, chassis VARCHAR) | SELECT finish FROM table_name_7 WHERE chassis = "mclaren" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (finish VARCHAR, chassis VARCHAR) Question: What is the finish of Mclaren chassis? [/INST] SELECT finish FROM table_name_7 WHERE chassis = "mclaren" </s> |
Name the wrestlers with days held of 428 | CREATE TABLE table_name_83 (wrestlers VARCHAR, days_held VARCHAR) | SELECT wrestlers FROM table_name_83 WHERE days_held = "428" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (wrestlers VARCHAR, days_held VARCHAR) Question: Name the wrestlers with days held of 428 [/INST] SELECT wrestlers FROM table_name_83 WHERE days_held = "428" </s> |
Name the wrestlers for days held of 69 | CREATE TABLE table_name_58 (wrestlers VARCHAR, days_held VARCHAR) | SELECT wrestlers FROM table_name_58 WHERE days_held = "69" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (wrestlers VARCHAR, days_held VARCHAR) Question: Name the wrestlers for days held of 69 [/INST] SELECT wrestlers FROM table_name_58 WHERE days_held = "69" </s> |
Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotá, and a Score of 6–0, 6–4? | CREATE TABLE table_name_51 (opponent VARCHAR, score VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT opponent FROM table_name_51 WHERE surface = "clay" AND outcome = "winner" AND tournament = "bogotá" AND score = "6–0, 6–4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (opponent VARCHAR, score VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) Question: Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotá, and a Score of 6–0, 6–4? [/INST] SELECT opponent FROM table_name_51 WHERE surface = "clay" AND outcome = "winner" AND tournament = "bogotá" AND score = "6–0, 6–4" </s> |
Which opponent has a Score of 6–4, 3–6, 6–3? | CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_7 WHERE score = "6–4, 3–6, 6–3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR) Question: Which opponent has a Score of 6–4, 3–6, 6–3? [/INST] SELECT opponent FROM table_name_7 WHERE score = "6–4, 3–6, 6–3" </s> |
What is the score for 04 september 2006? | CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_21 WHERE date = "04 september 2006" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR) Question: What is the score for 04 september 2006? [/INST] SELECT score FROM table_name_21 WHERE date = "04 september 2006" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.