instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
Round of 1, and a Record of 10–2 had what method?
|
CREATE TABLE table_name_88 (method VARCHAR, round VARCHAR, record VARCHAR)
|
SELECT method FROM table_name_88 WHERE round = "1" AND record = "10–2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (method VARCHAR, round VARCHAR, record VARCHAR) Question: Round of 1, and a Record of 10–2 had what method? [/INST] SELECT method FROM table_name_88 WHERE round = "1" AND record = "10–2" </s>
|
Record of 3–1 had what Res?
|
CREATE TABLE table_name_7 (res VARCHAR, record VARCHAR)
|
SELECT res FROM table_name_7 WHERE record = "3–1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (res VARCHAR, record VARCHAR) Question: Record of 3–1 had what Res? [/INST] SELECT res FROM table_name_7 WHERE record = "3–1" </s>
|
Record of 47–5 (1) involved what res?
|
CREATE TABLE table_name_49 (res VARCHAR, record VARCHAR)
|
SELECT res FROM table_name_49 WHERE record = "47–5 (1)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (res VARCHAR, record VARCHAR) Question: Record of 47–5 (1) involved what res? [/INST] SELECT res FROM table_name_49 WHERE record = "47–5 (1)" </s>
|
Opponent of sergei bondarovich, and a Record of 2–0 had what method?
|
CREATE TABLE table_name_72 (method VARCHAR, opponent VARCHAR, record VARCHAR)
|
SELECT method FROM table_name_72 WHERE opponent = "sergei bondarovich" AND record = "2–0"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (method VARCHAR, opponent VARCHAR, record VARCHAR) Question: Opponent of sergei bondarovich, and a Record of 2–0 had what method? [/INST] SELECT method FROM table_name_72 WHERE opponent = "sergei bondarovich" AND record = "2–0" </s>
|
Method of submission (chin in the eye) had what opponent?
|
CREATE TABLE table_name_93 (opponent VARCHAR, method VARCHAR)
|
SELECT opponent FROM table_name_93 WHERE method = "submission (chin in the eye)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (opponent VARCHAR, method VARCHAR) Question: Method of submission (chin in the eye) had what opponent? [/INST] SELECT opponent FROM table_name_93 WHERE method = "submission (chin in the eye)" </s>
|
Opponent of leonardo castello branco had what record?
|
CREATE TABLE table_name_66 (record VARCHAR, opponent VARCHAR)
|
SELECT record FROM table_name_66 WHERE opponent = "leonardo castello branco"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (record VARCHAR, opponent VARCHAR) Question: Opponent of leonardo castello branco had what record? [/INST] SELECT record FROM table_name_66 WHERE opponent = "leonardo castello branco" </s>
|
Who won in mixed doubles in 2008?
|
CREATE TABLE table_name_53 (mixed_doubles VARCHAR, year VARCHAR)
|
SELECT mixed_doubles FROM table_name_53 WHERE year = "2008"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (mixed_doubles VARCHAR, year VARCHAR) Question: Who won in mixed doubles in 2008? [/INST] SELECT mixed_doubles FROM table_name_53 WHERE year = "2008" </s>
|
Who was the opponent in Belgrade and had a result of 5:2?
|
CREATE TABLE table_name_8 (opponent VARCHAR, city VARCHAR, results¹ VARCHAR)
|
SELECT opponent FROM table_name_8 WHERE city = "belgrade" AND results¹ = "5:2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (opponent VARCHAR, city VARCHAR, results¹ VARCHAR) Question: Who was the opponent in Belgrade and had a result of 5:2? [/INST] SELECT opponent FROM table_name_8 WHERE city = "belgrade" AND results¹ = "5:2" </s>
|
On what date was there a friendly game against Wales?
|
CREATE TABLE table_name_61 (date VARCHAR, type_of_game VARCHAR, opponent VARCHAR)
|
SELECT date FROM table_name_61 WHERE type_of_game = "friendly" AND opponent = "wales"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (date VARCHAR, type_of_game VARCHAR, opponent VARCHAR) Question: On what date was there a friendly game against Wales? [/INST] SELECT date FROM table_name_61 WHERE type_of_game = "friendly" AND opponent = "wales" </s>
|
What were the results against the game against Egypt?
|
CREATE TABLE table_name_84 (results¹ VARCHAR, opponent VARCHAR)
|
SELECT results¹ FROM table_name_84 WHERE opponent = "egypt"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (results¹ VARCHAR, opponent VARCHAR) Question: What were the results against the game against Egypt? [/INST] SELECT results¹ FROM table_name_84 WHERE opponent = "egypt" </s>
|
What were the results against the game against Skoplje?
|
CREATE TABLE table_name_61 (results¹ VARCHAR, city VARCHAR)
|
SELECT results¹ FROM table_name_61 WHERE city = "skoplje"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (results¹ VARCHAR, city VARCHAR) Question: What were the results against the game against Skoplje? [/INST] SELECT results¹ FROM table_name_61 WHERE city = "skoplje" </s>
|
What type of game was held against France with the results of 3:1?
|
CREATE TABLE table_name_20 (type_of_game VARCHAR, results¹ VARCHAR, opponent VARCHAR)
|
SELECT type_of_game FROM table_name_20 WHERE results¹ = "3:1" AND opponent = "france"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (type_of_game VARCHAR, results¹ VARCHAR, opponent VARCHAR) Question: What type of game was held against France with the results of 3:1? [/INST] SELECT type_of_game FROM table_name_20 WHERE results¹ = "3:1" AND opponent = "france" </s>
|
Name the 2012 for us open
|
CREATE TABLE table_name_55 (tournament VARCHAR)
|
SELECT 2012 FROM table_name_55 WHERE tournament = "us open"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (tournament VARCHAR) Question: Name the 2012 for us open [/INST] SELECT 2012 FROM table_name_55 WHERE tournament = "us open" </s>
|
Name the 2012 for 2009 of a and 2010 of a and 2011 of a
|
CREATE TABLE table_name_89 (Id VARCHAR)
|
SELECT 2012 FROM table_name_89 WHERE 2009 = "a" AND 2010 = "a" AND 2011 = "a"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (Id VARCHAR) Question: Name the 2012 for 2009 of a and 2010 of a and 2011 of a [/INST] SELECT 2012 FROM table_name_89 WHERE 2009 = "a" AND 2010 = "a" AND 2011 = "a" </s>
|
Name the 2012 for us open
|
CREATE TABLE table_name_36 (tournament VARCHAR)
|
SELECT 2012 FROM table_name_36 WHERE tournament = "us open"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (tournament VARCHAR) Question: Name the 2012 for us open [/INST] SELECT 2012 FROM table_name_36 WHERE tournament = "us open" </s>
|
Name the tournament for 2010 of grand slam tournaments
|
CREATE TABLE table_name_93 (tournament VARCHAR)
|
SELECT tournament FROM table_name_93 WHERE 2010 = "grand slam tournaments"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (tournament VARCHAR) Question: Name the tournament for 2010 of grand slam tournaments [/INST] SELECT tournament FROM table_name_93 WHERE 2010 = "grand slam tournaments" </s>
|
What is the attendance number for the record of 17-22?
|
CREATE TABLE table_name_52 (attendance VARCHAR, record VARCHAR)
|
SELECT attendance FROM table_name_52 WHERE record = "17-22"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (attendance VARCHAR, record VARCHAR) Question: What is the attendance number for the record of 17-22? [/INST] SELECT attendance FROM table_name_52 WHERE record = "17-22" </s>
|
What is the record when the loss is westbrook (1-6)?
|
CREATE TABLE table_name_76 (record VARCHAR, loss VARCHAR)
|
SELECT record FROM table_name_76 WHERE loss = "westbrook (1-6)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (record VARCHAR, loss VARCHAR) Question: What is the record when the loss is westbrook (1-6)? [/INST] SELECT record FROM table_name_76 WHERE loss = "westbrook (1-6)" </s>
|
What is the final score of the 1st round game of club Union Luxembourg?
|
CREATE TABLE table_name_17 (score VARCHAR, round VARCHAR, club VARCHAR)
|
SELECT score FROM table_name_17 WHERE round = "1st round" AND club = "union luxembourg"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (score VARCHAR, round VARCHAR, club VARCHAR) Question: What is the final score of the 1st round game of club Union Luxembourg? [/INST] SELECT score FROM table_name_17 WHERE round = "1st round" AND club = "union luxembourg" </s>
|
Which competition features the 1st round of Club Union Luxembourg?
|
CREATE TABLE table_name_58 (competition VARCHAR, round VARCHAR, club VARCHAR)
|
SELECT competition FROM table_name_58 WHERE round = "1st round" AND club = "union luxembourg"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (competition VARCHAR, round VARCHAR, club VARCHAR) Question: Which competition features the 1st round of Club Union Luxembourg? [/INST] SELECT competition FROM table_name_58 WHERE round = "1st round" AND club = "union luxembourg" </s>
|
Which Competition has a 2nd round score of 1:0, 0:1 (4:3 a.p.)?
|
CREATE TABLE table_name_71 (competition VARCHAR, round VARCHAR, score VARCHAR)
|
SELECT competition FROM table_name_71 WHERE round = "2nd round" AND score = "1:0, 0:1 (4:3 a.p.)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (competition VARCHAR, round VARCHAR, score VARCHAR) Question: Which Competition has a 2nd round score of 1:0, 0:1 (4:3 a.p.)? [/INST] SELECT competition FROM table_name_71 WHERE round = "2nd round" AND score = "1:0, 0:1 (4:3 a.p.)" </s>
|
What's the final score of the competition that features the club of fk Austria wien?
|
CREATE TABLE table_name_58 (score VARCHAR, club VARCHAR)
|
SELECT score FROM table_name_58 WHERE club = "fk austria wien"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (score VARCHAR, club VARCHAR) Question: What's the final score of the competition that features the club of fk Austria wien? [/INST] SELECT score FROM table_name_58 WHERE club = "fk austria wien" </s>
|
Which club has a 2nd round score of 1:0, 3:0?
|
CREATE TABLE table_name_39 (club VARCHAR, round VARCHAR, score VARCHAR)
|
SELECT club FROM table_name_39 WHERE round = "2nd round" AND score = "1:0, 3:0"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (club VARCHAR, round VARCHAR, score VARCHAR) Question: Which club has a 2nd round score of 1:0, 3:0? [/INST] SELECT club FROM table_name_39 WHERE round = "2nd round" AND score = "1:0, 3:0" </s>
|
What is the mission for switzerland as a resident County?
|
CREATE TABLE table_name_16 (mission VARCHAR, resident_country VARCHAR)
|
SELECT mission FROM table_name_16 WHERE resident_country = "switzerland"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (mission VARCHAR, resident_country VARCHAR) Question: What is the mission for switzerland as a resident County? [/INST] SELECT mission FROM table_name_16 WHERE resident_country = "switzerland" </s>
|
What is the local mission that has kingstown as a local location?
|
CREATE TABLE table_name_18 (Local VARCHAR, local_location VARCHAR)
|
SELECT Local AS mission FROM table_name_18 WHERE local_location = "kingstown"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (Local VARCHAR, local_location VARCHAR) Question: What is the local mission that has kingstown as a local location? [/INST] SELECT Local AS mission FROM table_name_18 WHERE local_location = "kingstown" </s>
|
What is the local mission that has ambassador as the local position, and a mission of suriname?
|
CREATE TABLE table_name_13 (Local VARCHAR, local_position VARCHAR, mission VARCHAR)
|
SELECT Local AS mission FROM table_name_13 WHERE local_position = "ambassador" AND mission = "suriname"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (Local VARCHAR, local_position VARCHAR, mission VARCHAR) Question: What is the local mission that has ambassador as the local position, and a mission of suriname? [/INST] SELECT Local AS mission FROM table_name_13 WHERE local_position = "ambassador" AND mission = "suriname" </s>
|
What is the local location that has senegal as the resident county, and a mission of mali?
|
CREATE TABLE table_name_47 (local_location VARCHAR, resident_country VARCHAR, mission VARCHAR)
|
SELECT local_location FROM table_name_47 WHERE resident_country = "senegal" AND mission = "mali"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (local_location VARCHAR, resident_country VARCHAR, mission VARCHAR) Question: What is the local location that has senegal as the resident county, and a mission of mali? [/INST] SELECT local_location FROM table_name_47 WHERE resident_country = "senegal" AND mission = "mali" </s>
|
What is the local mission that has none as a local location, high commissioner as a local position, fiji as a resident county, and a mission of tonga?
|
CREATE TABLE table_name_41 (Local VARCHAR, mission VARCHAR, resident_country VARCHAR, local_location VARCHAR, local_position VARCHAR)
|
SELECT Local AS mission FROM table_name_41 WHERE local_location = "none" AND local_position = "high commissioner" AND resident_country = "fiji" AND mission = "tonga"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (Local VARCHAR, mission VARCHAR, resident_country VARCHAR, local_location VARCHAR, local_position VARCHAR) Question: What is the local mission that has none as a local location, high commissioner as a local position, fiji as a resident county, and a mission of tonga? [/INST] SELECT Local AS mission FROM table_name_41 WHERE local_location = "none" AND local_position = "high commissioner" AND resident_country = "fiji" AND mission = "tonga" </s>
|
What is the mission that has ambassador of local position, and a resident country of democratic republic of congo?
|
CREATE TABLE table_name_35 (mission VARCHAR, local_position VARCHAR, resident_country VARCHAR)
|
SELECT mission FROM table_name_35 WHERE local_position = "ambassador" AND resident_country = "democratic republic of congo"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (mission VARCHAR, local_position VARCHAR, resident_country VARCHAR) Question: What is the mission that has ambassador of local position, and a resident country of democratic republic of congo? [/INST] SELECT mission FROM table_name_35 WHERE local_position = "ambassador" AND resident_country = "democratic republic of congo" </s>
|
What position did the player play in the european cross country championships in 2008?
|
CREATE TABLE table_name_90 (position VARCHAR, competition VARCHAR, year VARCHAR)
|
SELECT position FROM table_name_90 WHERE competition = "european cross country championships" AND year = 2008
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (position VARCHAR, competition VARCHAR, year VARCHAR) Question: What position did the player play in the european cross country championships in 2008? [/INST] SELECT position FROM table_name_90 WHERE competition = "european cross country championships" AND year = 2008 </s>
|
What venue hsoted the european cross country championships with a notes of junior men individual 6.595km?
|
CREATE TABLE table_name_20 (venue VARCHAR, competition VARCHAR, notes VARCHAR)
|
SELECT venue FROM table_name_20 WHERE competition = "european cross country championships" AND notes = "junior men individual 6.595km"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (venue VARCHAR, competition VARCHAR, notes VARCHAR) Question: What venue hsoted the european cross country championships with a notes of junior men individual 6.595km? [/INST] SELECT venue FROM table_name_20 WHERE competition = "european cross country championships" AND notes = "junior men individual 6.595km" </s>
|
What position did the person finish in with a notes of junior men individual 5.64km?
|
CREATE TABLE table_name_95 (position VARCHAR, notes VARCHAR)
|
SELECT position FROM table_name_95 WHERE notes = "junior men individual 5.64km"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (position VARCHAR, notes VARCHAR) Question: What position did the person finish in with a notes of junior men individual 5.64km? [/INST] SELECT position FROM table_name_95 WHERE notes = "junior men individual 5.64km" </s>
|
What venue hosted in 2005 and had a Notes of men individual 9.84km?
|
CREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, notes VARCHAR)
|
SELECT venue FROM table_name_83 WHERE year = 2005 AND notes = "men individual 9.84km"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, notes VARCHAR) Question: What venue hosted in 2005 and had a Notes of men individual 9.84km? [/INST] SELECT venue FROM table_name_83 WHERE year = 2005 AND notes = "men individual 9.84km" </s>
|
Who was the opponent at the game with a result of w 20-17?
|
CREATE TABLE table_name_69 (opponent VARCHAR, result VARCHAR)
|
SELECT opponent FROM table_name_69 WHERE result = "w 20-17"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (opponent VARCHAR, result VARCHAR) Question: Who was the opponent at the game with a result of w 20-17? [/INST] SELECT opponent FROM table_name_69 WHERE result = "w 20-17" </s>
|
What is the total number of weeks with a game at the Milwaukee County Stadium attended by 47,897?
|
CREATE TABLE table_name_79 (week VARCHAR, venue VARCHAR, attendance VARCHAR)
|
SELECT COUNT(week) FROM table_name_79 WHERE venue = "milwaukee county stadium" AND attendance = 47 OFFSET 897 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (week VARCHAR, venue VARCHAR, attendance VARCHAR) Question: What is the total number of weeks with a game at the Milwaukee County Stadium attended by 47,897? [/INST] SELECT COUNT(week) FROM table_name_79 WHERE venue = "milwaukee county stadium" AND attendance = 47 OFFSET 897 ROWS </s>
|
What is the highest round that had a pick lower than 8?
|
CREATE TABLE table_name_58 (round INTEGER, pick__number INTEGER)
|
SELECT MAX(round) FROM table_name_58 WHERE pick__number < 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (round INTEGER, pick__number INTEGER) Question: What is the highest round that had a pick lower than 8? [/INST] SELECT MAX(round) FROM table_name_58 WHERE pick__number < 8 </s>
|
What title does Overkill have before 1984?
|
CREATE TABLE table_name_65 (title VARCHAR, artist VARCHAR, year VARCHAR)
|
SELECT title FROM table_name_65 WHERE artist = "overkill" AND year < 1984
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (title VARCHAR, artist VARCHAR, year VARCHAR) Question: What title does Overkill have before 1984? [/INST] SELECT title FROM table_name_65 WHERE artist = "overkill" AND year < 1984 </s>
|
What is the Departure time at Kanpur Central Station?
|
CREATE TABLE table_name_67 (departure VARCHAR, station_name VARCHAR)
|
SELECT departure FROM table_name_67 WHERE station_name = "kanpur central"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (departure VARCHAR, station_name VARCHAR) Question: What is the Departure time at Kanpur Central Station? [/INST] SELECT departure FROM table_name_67 WHERE station_name = "kanpur central" </s>
|
What is the Station Name of Platform 5?
|
CREATE TABLE table_name_32 (station_name VARCHAR, platform VARCHAR)
|
SELECT station_name FROM table_name_32 WHERE platform = "5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (station_name VARCHAR, platform VARCHAR) Question: What is the Station Name of Platform 5? [/INST] SELECT station_name FROM table_name_32 WHERE platform = "5" </s>
|
What is the average pick # of the player from round 11?
|
CREATE TABLE table_name_21 (pick__number INTEGER, round VARCHAR)
|
SELECT AVG(pick__number) FROM table_name_21 WHERE round = 11
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (pick__number INTEGER, round VARCHAR) Question: What is the average pick # of the player from round 11? [/INST] SELECT AVG(pick__number) FROM table_name_21 WHERE round = 11 </s>
|
What is the overall of the player with a pick # higher than 13?
|
CREATE TABLE table_name_47 (overall VARCHAR, pick__number INTEGER)
|
SELECT overall FROM table_name_47 WHERE pick__number < 13
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (overall VARCHAR, pick__number INTEGER) Question: What is the overall of the player with a pick # higher than 13? [/INST] SELECT overall FROM table_name_47 WHERE pick__number < 13 </s>
|
what year did naga bonar take place
|
CREATE TABLE table_name_82 (year__ceremony_ VARCHAR, original_title VARCHAR)
|
SELECT year__ceremony_ FROM table_name_82 WHERE original_title = "naga bonar"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (year__ceremony_ VARCHAR, original_title VARCHAR) Question: what year did naga bonar take place [/INST] SELECT year__ceremony_ FROM table_name_82 WHERE original_title = "naga bonar" </s>
|
Natural change of 42 689 has which lowest Crude birth rate (per 1000)?
|
CREATE TABLE table_name_49 (crude_birth_rate__per_1000_ INTEGER, natural_change VARCHAR)
|
SELECT MIN(crude_birth_rate__per_1000_) FROM table_name_49 WHERE natural_change = "42 689"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (crude_birth_rate__per_1000_ INTEGER, natural_change VARCHAR) Question: Natural change of 42 689 has which lowest Crude birth rate (per 1000)? [/INST] SELECT MIN(crude_birth_rate__per_1000_) FROM table_name_49 WHERE natural_change = "42 689" </s>
|
What is the sum of votes for the green party?
|
CREATE TABLE table_name_38 (votes__gib_ INTEGER, party VARCHAR)
|
SELECT SUM(votes__gib_) FROM table_name_38 WHERE party = "green"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (votes__gib_ INTEGER, party VARCHAR) Question: What is the sum of votes for the green party? [/INST] SELECT SUM(votes__gib_) FROM table_name_38 WHERE party = "green" </s>
|
What is the sum of votes of the party with a % of 0.53 and more than 0 seats?
|
CREATE TABLE table_name_99 (votes__gib_ INTEGER, _percentage__gib_ VARCHAR, seats VARCHAR)
|
SELECT SUM(votes__gib_) FROM table_name_99 WHERE _percentage__gib_ = 0.53 AND seats > 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (votes__gib_ INTEGER, _percentage__gib_ VARCHAR, seats VARCHAR) Question: What is the sum of votes of the party with a % of 0.53 and more than 0 seats? [/INST] SELECT SUM(votes__gib_) FROM table_name_99 WHERE _percentage__gib_ = 0.53 AND seats > 0 </s>
|
What was the time of the game on April 5?
|
CREATE TABLE table_name_87 (time VARCHAR, date VARCHAR)
|
SELECT time FROM table_name_87 WHERE date = "april 5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (time VARCHAR, date VARCHAR) Question: What was the time of the game on April 5? [/INST] SELECT time FROM table_name_87 WHERE date = "april 5" </s>
|
Which 2011 has a 2010 of 1r, and a 2009 of 1r?
|
CREATE TABLE table_name_99 (Id VARCHAR)
|
SELECT 2011 FROM table_name_99 WHERE 2010 = "1r" AND 2009 = "1r"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (Id VARCHAR) Question: Which 2011 has a 2010 of 1r, and a 2009 of 1r? [/INST] SELECT 2011 FROM table_name_99 WHERE 2010 = "1r" AND 2009 = "1r" </s>
|
Which Tournament has a 2009 of q1, and a 2008 of 1r?
|
CREATE TABLE table_name_28 (tournament VARCHAR)
|
SELECT tournament FROM table_name_28 WHERE 2009 = "q1" AND 2008 = "1r"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (tournament VARCHAR) Question: Which Tournament has a 2009 of q1, and a 2008 of 1r? [/INST] SELECT tournament FROM table_name_28 WHERE 2009 = "q1" AND 2008 = "1r" </s>
|
Which 2008 has a 2009 of A, and a 2010 of A, and a 2012 of 1r, and a Tournament of cincinnati masters?
|
CREATE TABLE table_name_2 (tournament VARCHAR)
|
SELECT 2008 FROM table_name_2 WHERE 2009 = "a" AND 2010 = "a" AND 2012 = "1r" AND tournament = "cincinnati masters"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (tournament VARCHAR) Question: Which 2008 has a 2009 of A, and a 2010 of A, and a 2012 of 1r, and a Tournament of cincinnati masters? [/INST] SELECT 2008 FROM table_name_2 WHERE 2009 = "a" AND 2010 = "a" AND 2012 = "1r" AND tournament = "cincinnati masters" </s>
|
Which 2009 has a 2008 of A, and a Tournament of canada masters?
|
CREATE TABLE table_name_65 (tournament VARCHAR)
|
SELECT 2009 FROM table_name_65 WHERE 2008 = "a" AND tournament = "canada masters"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (tournament VARCHAR) Question: Which 2009 has a 2008 of A, and a Tournament of canada masters? [/INST] SELECT 2009 FROM table_name_65 WHERE 2008 = "a" AND tournament = "canada masters" </s>
|
Which 2008 has a 2009 of A, and a Tournament of cincinnati masters?
|
CREATE TABLE table_name_39 (tournament VARCHAR)
|
SELECT 2008 FROM table_name_39 WHERE 2009 = "a" AND tournament = "cincinnati masters"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (tournament VARCHAR) Question: Which 2008 has a 2009 of A, and a Tournament of cincinnati masters? [/INST] SELECT 2008 FROM table_name_39 WHERE 2009 = "a" AND tournament = "cincinnati masters" </s>
|
Which 2012 has a 2010 of 0–0?
|
CREATE TABLE table_name_46 (Id VARCHAR)
|
SELECT 2012 FROM table_name_46 WHERE 2010 = "0–0"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (Id VARCHAR) Question: Which 2012 has a 2010 of 0–0? [/INST] SELECT 2012 FROM table_name_46 WHERE 2010 = "0–0" </s>
|
What Date had a Partner of urszula radwańska?
|
CREATE TABLE table_name_87 (date VARCHAR, partner VARCHAR)
|
SELECT date FROM table_name_87 WHERE partner = "urszula radwańska"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (date VARCHAR, partner VARCHAR) Question: What Date had a Partner of urszula radwańska? [/INST] SELECT date FROM table_name_87 WHERE partner = "urszula radwańska" </s>
|
Which Opponent had a Surface of hard, and a Partner of maria elena camerin?
|
CREATE TABLE table_name_26 (opponent VARCHAR, surface VARCHAR, partner VARCHAR)
|
SELECT opponent FROM table_name_26 WHERE surface = "hard" AND partner = "maria elena camerin"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (opponent VARCHAR, surface VARCHAR, partner VARCHAR) Question: Which Opponent had a Surface of hard, and a Partner of maria elena camerin? [/INST] SELECT opponent FROM table_name_26 WHERE surface = "hard" AND partner = "maria elena camerin" </s>
|
Which Partner had an Opponent of darija jurak carmen klaschka?
|
CREATE TABLE table_name_74 (partner VARCHAR, opponent VARCHAR)
|
SELECT partner FROM table_name_74 WHERE opponent = "darija jurak carmen klaschka"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (partner VARCHAR, opponent VARCHAR) Question: Which Partner had an Opponent of darija jurak carmen klaschka? [/INST] SELECT partner FROM table_name_74 WHERE opponent = "darija jurak carmen klaschka" </s>
|
Which Date had an Outcome of runner-up, and a Surface of carpet?
|
CREATE TABLE table_name_85 (date VARCHAR, outcome VARCHAR, surface VARCHAR)
|
SELECT date FROM table_name_85 WHERE outcome = "runner-up" AND surface = "carpet"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (date VARCHAR, outcome VARCHAR, surface VARCHAR) Question: Which Date had an Outcome of runner-up, and a Surface of carpet? [/INST] SELECT date FROM table_name_85 WHERE outcome = "runner-up" AND surface = "carpet" </s>
|
Which Surface had an Opponent of fernanda hermenegildo monika kochanova?
|
CREATE TABLE table_name_57 (surface VARCHAR, opponent VARCHAR)
|
SELECT surface FROM table_name_57 WHERE opponent = "fernanda hermenegildo monika kochanova"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (surface VARCHAR, opponent VARCHAR) Question: Which Surface had an Opponent of fernanda hermenegildo monika kochanova? [/INST] SELECT surface FROM table_name_57 WHERE opponent = "fernanda hermenegildo monika kochanova" </s>
|
Who was the opponent in the game that was attended by 42,000 people?
|
CREATE TABLE table_name_19 (opponent_number VARCHAR, attendance VARCHAR)
|
SELECT opponent_number FROM table_name_19 WHERE attendance = "42,000"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (opponent_number VARCHAR, attendance VARCHAR) Question: Who was the opponent in the game that was attended by 42,000 people? [/INST] SELECT opponent_number FROM table_name_19 WHERE attendance = "42,000" </s>
|
Who was the opponent in the game that was attended by 48,000 people?
|
CREATE TABLE table_name_93 (opponent_number VARCHAR, attendance VARCHAR)
|
SELECT opponent_number FROM table_name_93 WHERE attendance = "48,000"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (opponent_number VARCHAR, attendance VARCHAR) Question: Who was the opponent in the game that was attended by 48,000 people? [/INST] SELECT opponent_number FROM table_name_93 WHERE attendance = "48,000" </s>
|
On what day(s) did the Gophers play against Michigan?
|
CREATE TABLE table_name_88 (date VARCHAR, opponent_number VARCHAR)
|
SELECT date FROM table_name_88 WHERE opponent_number = "michigan"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (date VARCHAR, opponent_number VARCHAR) Question: On what day(s) did the Gophers play against Michigan? [/INST] SELECT date FROM table_name_88 WHERE opponent_number = "michigan" </s>
|
What was the result of the game that was attended by 16,000 people?
|
CREATE TABLE table_name_47 (result VARCHAR, attendance VARCHAR)
|
SELECT result FROM table_name_47 WHERE attendance = "16,000"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (result VARCHAR, attendance VARCHAR) Question: What was the result of the game that was attended by 16,000 people? [/INST] SELECT result FROM table_name_47 WHERE attendance = "16,000" </s>
|
Which Season has an Agg of 4–1, and an Opponent of rapid wien?
|
CREATE TABLE table_name_18 (season VARCHAR, agg VARCHAR, opponent VARCHAR)
|
SELECT season FROM table_name_18 WHERE agg = "4–1" AND opponent = "rapid wien"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (season VARCHAR, agg VARCHAR, opponent VARCHAR) Question: Which Season has an Agg of 4–1, and an Opponent of rapid wien? [/INST] SELECT season FROM table_name_18 WHERE agg = "4–1" AND opponent = "rapid wien" </s>
|
Which Home has an Opponent of brøndby?
|
CREATE TABLE table_name_15 (home VARCHAR, opponent VARCHAR)
|
SELECT home FROM table_name_15 WHERE opponent = "brøndby"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (home VARCHAR, opponent VARCHAR) Question: Which Home has an Opponent of brøndby? [/INST] SELECT home FROM table_name_15 WHERE opponent = "brøndby" </s>
|
Which Away has an Opponent of slavia prague?
|
CREATE TABLE table_name_7 (away VARCHAR, opponent VARCHAR)
|
SELECT away FROM table_name_7 WHERE opponent = "slavia prague"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (away VARCHAR, opponent VARCHAR) Question: Which Away has an Opponent of slavia prague? [/INST] SELECT away FROM table_name_7 WHERE opponent = "slavia prague" </s>
|
Which Away has a Competition of uefa cup, and an Opponent of anderlecht?
|
CREATE TABLE table_name_93 (away VARCHAR, competition VARCHAR, opponent VARCHAR)
|
SELECT away FROM table_name_93 WHERE competition = "uefa cup" AND opponent = "anderlecht"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (away VARCHAR, competition VARCHAR, opponent VARCHAR) Question: Which Away has a Competition of uefa cup, and an Opponent of anderlecht? [/INST] SELECT away FROM table_name_93 WHERE competition = "uefa cup" AND opponent = "anderlecht" </s>
|
Which Away has a Home of 2–2?
|
CREATE TABLE table_name_84 (away VARCHAR, home VARCHAR)
|
SELECT away FROM table_name_84 WHERE home = "2–2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (away VARCHAR, home VARCHAR) Question: Which Away has a Home of 2–2? [/INST] SELECT away FROM table_name_84 WHERE home = "2–2" </s>
|
Which Away has a Season of 2001–02, and an Opponent of dinaburg?
|
CREATE TABLE table_name_69 (away VARCHAR, season VARCHAR, opponent VARCHAR)
|
SELECT away FROM table_name_69 WHERE season = "2001–02" AND opponent = "dinaburg"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (away VARCHAR, season VARCHAR, opponent VARCHAR) Question: Which Away has a Season of 2001–02, and an Opponent of dinaburg? [/INST] SELECT away FROM table_name_69 WHERE season = "2001–02" AND opponent = "dinaburg" </s>
|
What is the total number for grid with a Suzuki GSX-R1000 K7 for +13.283?
|
CREATE TABLE table_name_35 (grid VARCHAR, bike VARCHAR, time VARCHAR)
|
SELECT COUNT(grid) FROM table_name_35 WHERE bike = "suzuki gsx-r1000 k7" AND time = "+13.283"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (grid VARCHAR, bike VARCHAR, time VARCHAR) Question: What is the total number for grid with a Suzuki GSX-R1000 K7 for +13.283? [/INST] SELECT COUNT(grid) FROM table_name_35 WHERE bike = "suzuki gsx-r1000 k7" AND time = "+13.283" </s>
|
What was the time for a grid less than 6 for Noriyuki Haga?
|
CREATE TABLE table_name_55 (time VARCHAR, grid VARCHAR, rider VARCHAR)
|
SELECT time FROM table_name_55 WHERE grid < 6 AND rider = "noriyuki haga"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (time VARCHAR, grid VARCHAR, rider VARCHAR) Question: What was the time for a grid less than 6 for Noriyuki Haga? [/INST] SELECT time FROM table_name_55 WHERE grid < 6 AND rider = "noriyuki haga" </s>
|
What was the time for a grid more than 6 in less than 23 laps with a Honda CBR1000RR?
|
CREATE TABLE table_name_31 (time VARCHAR, laps VARCHAR, grid VARCHAR, bike VARCHAR)
|
SELECT time FROM table_name_31 WHERE grid > 6 AND bike = "honda cbr1000rr" AND laps < 23
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (time VARCHAR, laps VARCHAR, grid VARCHAR, bike VARCHAR) Question: What was the time for a grid more than 6 in less than 23 laps with a Honda CBR1000RR? [/INST] SELECT time FROM table_name_31 WHERE grid > 6 AND bike = "honda cbr1000rr" AND laps < 23 </s>
|
What is the sum of laps for Karl Muggeridge on a grid less than 16?
|
CREATE TABLE table_name_74 (laps INTEGER, rider VARCHAR, grid VARCHAR)
|
SELECT SUM(laps) FROM table_name_74 WHERE rider = "karl muggeridge" AND grid < 16
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (laps INTEGER, rider VARCHAR, grid VARCHAR) Question: What is the sum of laps for Karl Muggeridge on a grid less than 16? [/INST] SELECT SUM(laps) FROM table_name_74 WHERE rider = "karl muggeridge" AND grid < 16 </s>
|
Which album awarded Paul McGuinness a Lifetime Achievement Award?
|
CREATE TABLE table_name_20 (album VARCHAR, lifetime_achievement_award VARCHAR)
|
SELECT album FROM table_name_20 WHERE lifetime_achievement_award = "paul mcguinness"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (album VARCHAR, lifetime_achievement_award VARCHAR) Question: Which album awarded Paul McGuinness a Lifetime Achievement Award? [/INST] SELECT album FROM table_name_20 WHERE lifetime_achievement_award = "paul mcguinness" </s>
|
Which act's album has a name of All That You Can't Leave Behind?
|
CREATE TABLE table_name_58 (pop_act VARCHAR, album VARCHAR)
|
SELECT pop_act FROM table_name_58 WHERE album = "all that you can't leave behind"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (pop_act VARCHAR, album VARCHAR) Question: Which act's album has a name of All That You Can't Leave Behind? [/INST] SELECT pop_act FROM table_name_58 WHERE album = "all that you can't leave behind" </s>
|
In what year did Aslan receive a Lifetime Achievement Award and Snow Patrol perform?
|
CREATE TABLE table_name_56 (year VARCHAR, band VARCHAR, lifetime_achievement_award VARCHAR)
|
SELECT year FROM table_name_56 WHERE band = "snow patrol" AND lifetime_achievement_award = "aslan"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (year VARCHAR, band VARCHAR, lifetime_achievement_award VARCHAR) Question: In what year did Aslan receive a Lifetime Achievement Award and Snow Patrol perform? [/INST] SELECT year FROM table_name_56 WHERE band = "snow patrol" AND lifetime_achievement_award = "aslan" </s>
|
Who won the Lifetime Achievement Award when Snow Patrol performed and Juliet Turner presented?
|
CREATE TABLE table_name_38 (lifetime_achievement_award VARCHAR, band VARCHAR, female VARCHAR)
|
SELECT lifetime_achievement_award FROM table_name_38 WHERE band = "snow patrol" AND female = "juliet turner"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (lifetime_achievement_award VARCHAR, band VARCHAR, female VARCHAR) Question: Who won the Lifetime Achievement Award when Snow Patrol performed and Juliet Turner presented? [/INST] SELECT lifetime_achievement_award FROM table_name_38 WHERE band = "snow patrol" AND female = "juliet turner" </s>
|
What band performed when Samantha Mumba presented?
|
CREATE TABLE table_name_80 (band VARCHAR, female VARCHAR)
|
SELECT band FROM table_name_80 WHERE female = "samantha mumba"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (band VARCHAR, female VARCHAR) Question: What band performed when Samantha Mumba presented? [/INST] SELECT band FROM table_name_80 WHERE female = "samantha mumba" </s>
|
What is the lowest Draws for a season later than 1919 with more than 0 wins?
|
CREATE TABLE table_name_86 (draws INTEGER, season VARCHAR, wins VARCHAR)
|
SELECT MIN(draws) FROM table_name_86 WHERE season > 1919 AND wins > 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (draws INTEGER, season VARCHAR, wins VARCHAR) Question: What is the lowest Draws for a season later than 1919 with more than 0 wins? [/INST] SELECT MIN(draws) FROM table_name_86 WHERE season > 1919 AND wins > 0 </s>
|
What is the sum of Draws for a season later than 1964?
|
CREATE TABLE table_name_67 (draws INTEGER, season INTEGER)
|
SELECT SUM(draws) FROM table_name_67 WHERE season > 1964
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (draws INTEGER, season INTEGER) Question: What is the sum of Draws for a season later than 1964? [/INST] SELECT SUM(draws) FROM table_name_67 WHERE season > 1964 </s>
|
What is the sum of Wins when draws shows 0 in 1964?
|
CREATE TABLE table_name_46 (wins INTEGER, draws VARCHAR, season VARCHAR)
|
SELECT SUM(wins) FROM table_name_46 WHERE draws = 0 AND season = 1964
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (wins INTEGER, draws VARCHAR, season VARCHAR) Question: What is the sum of Wins when draws shows 0 in 1964? [/INST] SELECT SUM(wins) FROM table_name_46 WHERE draws = 0 AND season = 1964 </s>
|
What is the highest Draws for a season later than 1926 with less than 0 wins?
|
CREATE TABLE table_name_63 (draws INTEGER, season VARCHAR, wins VARCHAR)
|
SELECT MAX(draws) FROM table_name_63 WHERE season > 1926 AND wins < 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (draws INTEGER, season VARCHAR, wins VARCHAR) Question: What is the highest Draws for a season later than 1926 with less than 0 wins? [/INST] SELECT MAX(draws) FROM table_name_63 WHERE season > 1926 AND wins < 0 </s>
|
What is the highest Draws with less than 18 losses for north melbourne later than 1926?
|
CREATE TABLE table_name_45 (draws INTEGER, season VARCHAR, losses VARCHAR, team VARCHAR)
|
SELECT MAX(draws) FROM table_name_45 WHERE losses < 18 AND team = "north melbourne" AND season > 1926
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (draws INTEGER, season VARCHAR, losses VARCHAR, team VARCHAR) Question: What is the highest Draws with less than 18 losses for north melbourne later than 1926? [/INST] SELECT MAX(draws) FROM table_name_45 WHERE losses < 18 AND team = "north melbourne" AND season > 1926 </s>
|
what week had a player named zach
|
CREATE TABLE table_name_11 (weeks_3_4 VARCHAR, name VARCHAR)
|
SELECT weeks_3_4 FROM table_name_11 WHERE name = "zach"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (weeks_3_4 VARCHAR, name VARCHAR) Question: what week had a player named zach [/INST] SELECT weeks_3_4 FROM table_name_11 WHERE name = "zach" </s>
|
What is the largest number for SHTS for the San Jose earthquakes with MINS larger than 2700?
|
CREATE TABLE table_name_23 (shts INTEGER, club VARCHAR, mins VARCHAR)
|
SELECT MAX(shts) FROM table_name_23 WHERE club = "san jose earthquakes" AND mins > 2700
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (shts INTEGER, club VARCHAR, mins VARCHAR) Question: What is the largest number for SHTS for the San Jose earthquakes with MINS larger than 2700? [/INST] SELECT MAX(shts) FROM table_name_23 WHERE club = "san jose earthquakes" AND mins > 2700 </s>
|
What is the sum of Rank when Pat Onstad was the goalkeeper?
|
CREATE TABLE table_name_30 (rank INTEGER, goalkeeper VARCHAR)
|
SELECT SUM(rank) FROM table_name_30 WHERE goalkeeper = "pat onstad"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (rank INTEGER, goalkeeper VARCHAR) Question: What is the sum of Rank when Pat Onstad was the goalkeeper? [/INST] SELECT SUM(rank) FROM table_name_30 WHERE goalkeeper = "pat onstad" </s>
|
What is the club for the 132 SHTS?
|
CREATE TABLE table_name_98 (club VARCHAR, shts VARCHAR)
|
SELECT club FROM table_name_98 WHERE shts = 132
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (club VARCHAR, shts VARCHAR) Question: What is the club for the 132 SHTS? [/INST] SELECT club FROM table_name_98 WHERE shts = 132 </s>
|
What is the largest MINS for the San Jose Earthquakes with a SHTS less than 166?
|
CREATE TABLE table_name_87 (mins INTEGER, club VARCHAR, shts VARCHAR)
|
SELECT MAX(mins) FROM table_name_87 WHERE club = "san jose earthquakes" AND shts < 166
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (mins INTEGER, club VARCHAR, shts VARCHAR) Question: What is the largest MINS for the San Jose Earthquakes with a SHTS less than 166? [/INST] SELECT MAX(mins) FROM table_name_87 WHERE club = "san jose earthquakes" AND shts < 166 </s>
|
When has a Surface of clay, and an Opponent in the final of andrés gómez javier sánchez?
|
CREATE TABLE table_name_98 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
|
SELECT date FROM table_name_98 WHERE surface = "clay" AND opponent_in_the_final = "andrés gómez javier sánchez"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) Question: When has a Surface of clay, and an Opponent in the final of andrés gómez javier sánchez? [/INST] SELECT date FROM table_name_98 WHERE surface = "clay" AND opponent_in_the_final = "andrés gómez javier sánchez" </s>
|
Which Tournament has a Partner of karel nováček?
|
CREATE TABLE table_name_19 (tournament VARCHAR, partner VARCHAR)
|
SELECT tournament FROM table_name_19 WHERE partner = "karel nováček"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (tournament VARCHAR, partner VARCHAR) Question: Which Tournament has a Partner of karel nováček? [/INST] SELECT tournament FROM table_name_19 WHERE partner = "karel nováček" </s>
|
Which Tournament is in 1993 with a Score in the final of 6–2, 2–6, 7–5?
|
CREATE TABLE table_name_13 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)
|
SELECT tournament FROM table_name_13 WHERE date = 1993 AND score_in_the_final = "6–2, 2–6, 7–5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR) Question: Which Tournament is in 1993 with a Score in the final of 6–2, 2–6, 7–5? [/INST] SELECT tournament FROM table_name_13 WHERE date = 1993 AND score_in_the_final = "6–2, 2–6, 7–5" </s>
|
Riggs of e, and a Buechel & Manhart spelling (pronunciation) of e had what ullrich?
|
CREATE TABLE table_name_92 (ullrich VARCHAR, riggs VARCHAR, buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR)
|
SELECT ullrich FROM table_name_92 WHERE riggs = "e" AND buechel_ & _manhart_spelling__pronunciation_ = "e"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (ullrich VARCHAR, riggs VARCHAR, buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR) Question: Riggs of e, and a Buechel & Manhart spelling (pronunciation) of e had what ullrich? [/INST] SELECT ullrich FROM table_name_92 WHERE riggs = "e" AND buechel_ & _manhart_spelling__pronunciation_ = "e" </s>
|
Rood & Taylor of o, and a Buechel & Manhart spelling (pronunciation) of o had what university of Minnesota?
|
CREATE TABLE table_name_63 (university_of_minnesota VARCHAR, rood_ VARCHAR, _taylor VARCHAR, buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR)
|
SELECT university_of_minnesota FROM table_name_63 WHERE rood_ & _taylor = "o" AND buechel_ & _manhart_spelling__pronunciation_ = "o"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (university_of_minnesota VARCHAR, rood_ VARCHAR, _taylor VARCHAR, buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR) Question: Rood & Taylor of o, and a Buechel & Manhart spelling (pronunciation) of o had what university of Minnesota? [/INST] SELECT university_of_minnesota FROM table_name_63 WHERE rood_ & _taylor = "o" AND buechel_ & _manhart_spelling__pronunciation_ = "o" </s>
|
Dakota Mission of t, and a Deloria & Boas of tʽ, and a Ullrich of tȟ had what white hat?
|
CREATE TABLE table_name_98 (white_hat VARCHAR, ullrich VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR)
|
SELECT white_hat FROM table_name_98 WHERE dakota_mission = "t" AND deloria_ & _boas = "tʽ" AND ullrich = "tȟ"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (white_hat VARCHAR, ullrich VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR) Question: Dakota Mission of t, and a Deloria & Boas of tʽ, and a Ullrich of tȟ had what white hat? [/INST] SELECT white_hat FROM table_name_98 WHERE dakota_mission = "t" AND deloria_ & _boas = "tʽ" AND ullrich = "tȟ" </s>
|
Deloria & Boas of n included what university of Minnesota?
|
CREATE TABLE table_name_89 (university_of_minnesota VARCHAR, deloria_ VARCHAR, _boas VARCHAR)
|
SELECT university_of_minnesota FROM table_name_89 WHERE deloria_ & _boas = "n"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (university_of_minnesota VARCHAR, deloria_ VARCHAR, _boas VARCHAR) Question: Deloria & Boas of n included what university of Minnesota? [/INST] SELECT university_of_minnesota FROM table_name_89 WHERE deloria_ & _boas = "n" </s>
|
Deloria & Boas of ų, and a Dakota Mission of un had what Buechel & Manhart spelling (pronunciation)?
|
CREATE TABLE table_name_27 (buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR)
|
SELECT buechel_ & _manhart_spelling__pronunciation_ FROM table_name_27 WHERE deloria_ & _boas = "ų" AND dakota_mission = "un"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR) Question: Deloria & Boas of ų, and a Dakota Mission of un had what Buechel & Manhart spelling (pronunciation)? [/INST] SELECT buechel_ & _manhart_spelling__pronunciation_ FROM table_name_27 WHERE deloria_ & _boas = "ų" AND dakota_mission = "un" </s>
|
University of Minnesota of ṭ had what Deloria & Boas?
|
CREATE TABLE table_name_66 (deloria_ VARCHAR, _boas VARCHAR, university_of_minnesota VARCHAR)
|
SELECT deloria_ & _boas FROM table_name_66 WHERE university_of_minnesota = "ṭ"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (deloria_ VARCHAR, _boas VARCHAR, university_of_minnesota VARCHAR) Question: University of Minnesota of ṭ had what Deloria & Boas? [/INST] SELECT deloria_ & _boas FROM table_name_66 WHERE university_of_minnesota = "ṭ" </s>
|
Which November has a Game smaller than 16, and Points larger than 22?
|
CREATE TABLE table_name_89 (november INTEGER, game VARCHAR, points VARCHAR)
|
SELECT SUM(november) FROM table_name_89 WHERE game < 16 AND points > 22
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (november INTEGER, game VARCHAR, points VARCHAR) Question: Which November has a Game smaller than 16, and Points larger than 22? [/INST] SELECT SUM(november) FROM table_name_89 WHERE game < 16 AND points > 22 </s>
|
Which Record has a Game larger than 15, and Points smaller than 31, and a November of 7?
|
CREATE TABLE table_name_36 (record VARCHAR, november VARCHAR, game VARCHAR, points VARCHAR)
|
SELECT record FROM table_name_36 WHERE game > 15 AND points < 31 AND november = 7
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (record VARCHAR, november VARCHAR, game VARCHAR, points VARCHAR) Question: Which Record has a Game larger than 15, and Points smaller than 31, and a November of 7? [/INST] SELECT record FROM table_name_36 WHERE game > 15 AND points < 31 AND november = 7 </s>
|
What is the highest number of bronze for the United States with more than 1 silver?
|
CREATE TABLE table_name_13 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
|
SELECT MAX(bronze) FROM table_name_13 WHERE nation = "united states" AND silver > 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (bronze INTEGER, nation VARCHAR, silver VARCHAR) Question: What is the highest number of bronze for the United States with more than 1 silver? [/INST] SELECT MAX(bronze) FROM table_name_13 WHERE nation = "united states" AND silver > 1 </s>
|
What is the sum of all silver medals with more than 2 bronze?
|
CREATE TABLE table_name_82 (silver INTEGER, bronze INTEGER)
|
SELECT SUM(silver) FROM table_name_82 WHERE bronze > 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (silver INTEGER, bronze INTEGER) Question: What is the sum of all silver medals with more than 2 bronze? [/INST] SELECT SUM(silver) FROM table_name_82 WHERE bronze > 2 </s>
|
What is the lowest number of silver medals with a rank of 4 and total medals greater than 1?
|
CREATE TABLE table_name_68 (silver INTEGER, rank VARCHAR, total VARCHAR)
|
SELECT MIN(silver) FROM table_name_68 WHERE rank = 4 AND total > 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (silver INTEGER, rank VARCHAR, total VARCHAR) Question: What is the lowest number of silver medals with a rank of 4 and total medals greater than 1? [/INST] SELECT MIN(silver) FROM table_name_68 WHERE rank = 4 AND total > 1 </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.