context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_18894744_5 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_18894744_5 WHERE record = "10-4"
Name the opponent for record 10-4
<s>[INST]Name the opponent for record 10-4 Context: CREATE TABLE table_18894744_5 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_18894744_5 WHERE record = "10-4"</s>
CREATE TABLE table_name_62 (high_rebounds VARCHAR, score VARCHAR)
SELECT high_rebounds FROM table_name_62 WHERE score = "w 81-69"
Which High rebounds has a Score of w 81-69?
<s>[INST]Which High rebounds has a Score of w 81-69? Context: CREATE TABLE table_name_62 (high_rebounds VARCHAR, score VARCHAR)[/INST]SELECT high_rebounds FROM table_name_62 WHERE score = "w 81-69"</s>
CREATE TABLE scientists (Id VARCHAR)
SELECT COUNT(*) FROM scientists
Find the total number of scientists.
<s>[INST]Find the total number of scientists. Context: CREATE TABLE scientists (Id VARCHAR)[/INST]SELECT COUNT(*) FROM scientists</s>
CREATE TABLE players (country_code VARCHAR)
SELECT COUNT(*), country_code FROM players GROUP BY country_code
find the number of players for each country.
<s>[INST]find the number of players for each country. Context: CREATE TABLE players (country_code VARCHAR)[/INST]SELECT COUNT(*), country_code FROM players GROUP BY country_code</s>
CREATE TABLE users (role_description VARCHAR, role_code VARCHAR, user_login VARCHAR); CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR, user_login VARCHAR)
SELECT role_description FROM ROLES WHERE role_code = (SELECT role_code FROM users WHERE user_login = 1 GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1)
Find the description of the most popular role among the users that have logged in.
<s>[INST]Find the description of the most popular role among the users that have logged in. Context: CREATE TABLE users (role_description VARCHAR, role_code VARCHAR, user_login VARCHAR); CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR, user_login VARCHAR)[/INST]SELECT role_description FROM ROLES WHERE r...
CREATE TABLE table_name_14 (date VARCHAR, high_points VARCHAR)
SELECT date FROM table_name_14 WHERE high_points = "mehmet okur (24)"
What date did mehmet okur (24) have the most points?
<s>[INST]What date did mehmet okur (24) have the most points? Context: CREATE TABLE table_name_14 (date VARCHAR, high_points VARCHAR)[/INST]SELECT date FROM table_name_14 WHERE high_points = "mehmet okur (24)"</s>
CREATE TABLE Highschooler (grade VARCHAR)
SELECT grade, COUNT(*) FROM Highschooler GROUP BY grade
Show the number of high schoolers for each grade.
<s>[INST]Show the number of high schoolers for each grade. Context: CREATE TABLE Highschooler (grade VARCHAR)[/INST]SELECT grade, COUNT(*) FROM Highschooler GROUP BY grade</s>
CREATE TABLE table_1137142_1 (group_a_winner VARCHAR, group_b_winner VARCHAR)
SELECT group_a_winner FROM table_1137142_1 WHERE group_b_winner = "Modena"
What is the group a winner for modena?
<s>[INST]What is the group a winner for modena? Context: CREATE TABLE table_1137142_1 (group_a_winner VARCHAR, group_b_winner VARCHAR)[/INST]SELECT group_a_winner FROM table_1137142_1 WHERE group_b_winner = "Modena"</s>
CREATE TABLE cartoon (Directed_by VARCHAR)
SELECT COUNT(*), Directed_by FROM cartoon GROUP BY Directed_by
Find the number of cartoons directed by each of the listed directors.
<s>[INST]Find the number of cartoons directed by each of the listed directors. Context: CREATE TABLE cartoon (Directed_by VARCHAR)[/INST]SELECT COUNT(*), Directed_by FROM cartoon GROUP BY Directed_by</s>
CREATE TABLE table_11190568_7 (date_of_appointment VARCHAR, team VARCHAR)
SELECT date_of_appointment FROM table_11190568_7 WHERE team = "Galway"
When are team Galway's dates of appointment?
<s>[INST]When are team Galway's dates of appointment? Context: CREATE TABLE table_11190568_7 (date_of_appointment VARCHAR, team VARCHAR)[/INST]SELECT date_of_appointment FROM table_11190568_7 WHERE team = "Galway"</s>
CREATE TABLE table_name_36 (pick VARCHAR, year VARCHAR, team VARCHAR, position VARCHAR)
SELECT COUNT(pick) FROM table_name_36 WHERE team = "los angeles dodgers" AND position = "lhp" AND year < 1979
What is the total pick number of the los angeles dodgers, which has a lhp position before 1979?
<s>[INST]What is the total pick number of the los angeles dodgers, which has a lhp position before 1979? Context: CREATE TABLE table_name_36 (pick VARCHAR, year VARCHAR, team VARCHAR, position VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_36 WHERE team = "los angeles dodgers" AND position = "lhp" AND year < 1979</s...
CREATE TABLE table_name_45 (area_km² VARCHAR, country VARCHAR)
SELECT area_km² FROM table_name_45 WHERE country = "japan"
What is Japan's Area km²?
<s>[INST]What is Japan's Area km²? Context: CREATE TABLE table_name_45 (area_km² VARCHAR, country VARCHAR)[/INST]SELECT area_km² FROM table_name_45 WHERE country = "japan"</s>
CREATE TABLE table_name_20 (grid VARCHAR, laps VARCHAR, rider VARCHAR)
SELECT grid FROM table_name_20 WHERE laps = "21" AND rider = "john hopkins"
When rider John Hopkins had 21 laps, what was the grid?
<s>[INST]When rider John Hopkins had 21 laps, what was the grid? Context: CREATE TABLE table_name_20 (grid VARCHAR, laps VARCHAR, rider VARCHAR)[/INST]SELECT grid FROM table_name_20 WHERE laps = "21" AND rider = "john hopkins"</s>
CREATE TABLE table_name_15 (laps INTEGER, year VARCHAR)
SELECT AVG(laps) FROM table_name_15 WHERE year = "1949"
What is the average number of laps in 1949?
<s>[INST]What is the average number of laps in 1949? Context: CREATE TABLE table_name_15 (laps INTEGER, year VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_15 WHERE year = "1949"</s>
CREATE TABLE table_name_91 (constructor VARCHAR, race_name VARCHAR)
SELECT constructor FROM table_name_91 WHERE race_name = "i news of the world trophy"
Which constructor has a race called I News of the World Trophy?
<s>[INST]Which constructor has a race called I News of the World Trophy? Context: CREATE TABLE table_name_91 (constructor VARCHAR, race_name VARCHAR)[/INST]SELECT constructor FROM table_name_91 WHERE race_name = "i news of the world trophy"</s>
CREATE TABLE table_14928423_1 (result VARCHAR, original_title VARCHAR)
SELECT result FROM table_14928423_1 WHERE original_title = "Γолемата Вода"
is γолемата вода nominated for anything?
<s>[INST]is γолемата вода nominated for anything? Context: CREATE TABLE table_14928423_1 (result VARCHAR, original_title VARCHAR)[/INST]SELECT result FROM table_14928423_1 WHERE original_title = "Γолемата Вода"</s>
CREATE TABLE table_name_44 (position VARCHAR, a_score INTEGER)
SELECT position FROM table_name_44 WHERE a_score > 7
what is the position for the competitor that has a score more than 7
<s>[INST]what is the position for the competitor that has a score more than 7 Context: CREATE TABLE table_name_44 (position VARCHAR, a_score INTEGER)[/INST]SELECT position FROM table_name_44 WHERE a_score > 7</s>
CREATE TABLE table_name_56 (year INTEGER, category VARCHAR)
SELECT MIN(year) FROM table_name_56 WHERE category = "best performance by a leading actor in a play"
What is the first year that Reasons to be Pretty had a nominee for best performance by a leading actor in a play?
<s>[INST]What is the first year that Reasons to be Pretty had a nominee for best performance by a leading actor in a play? Context: CREATE TABLE table_name_56 (year INTEGER, category VARCHAR)[/INST]SELECT MIN(year) FROM table_name_56 WHERE category = "best performance by a leading actor in a play"</s>
CREATE TABLE table_27588823_2 (power__kw_ VARCHAR, callsign VARCHAR)
SELECT power__kw_ FROM table_27588823_2 WHERE callsign = "DWZF"
How much power does dwzf have?
<s>[INST]How much power does dwzf have? Context: CREATE TABLE table_27588823_2 (power__kw_ VARCHAR, callsign VARCHAR)[/INST]SELECT power__kw_ FROM table_27588823_2 WHERE callsign = "DWZF"</s>
CREATE TABLE table_name_75 (time VARCHAR, notes VARCHAR, rank VARCHAR)
SELECT time FROM table_name_75 WHERE notes = "fa" AND rank < 2
What is the Time of the Player with a Rank of 1 or 2 and Notes of FA?
<s>[INST]What is the Time of the Player with a Rank of 1 or 2 and Notes of FA? Context: CREATE TABLE table_name_75 (time VARCHAR, notes VARCHAR, rank VARCHAR)[/INST]SELECT time FROM table_name_75 WHERE notes = "fa" AND rank < 2</s>
CREATE TABLE table_name_20 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_20 WHERE player = "phil mickelson"
What was Phil Mickelson's score to par?
<s>[INST]What was Phil Mickelson's score to par? Context: CREATE TABLE table_name_20 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_20 WHERE player = "phil mickelson"</s>
CREATE TABLE table_name_65 (frequency VARCHAR, format VARCHAR, owner VARCHAR)
SELECT frequency FROM table_name_65 WHERE format = "country" AND owner = "jim pattison group"
What is the frequency for the country station owned by Jim Pattison Group?
<s>[INST]What is the frequency for the country station owned by Jim Pattison Group? Context: CREATE TABLE table_name_65 (frequency VARCHAR, format VARCHAR, owner VARCHAR)[/INST]SELECT frequency FROM table_name_65 WHERE format = "country" AND owner = "jim pattison group"</s>
CREATE TABLE table_name_73 (sales__billion_ INTEGER, company VARCHAR)
SELECT MIN(sales__billion_) AS $_ FROM table_name_73 WHERE company = "bp"
What is BP's lowest sales?
<s>[INST]What is BP's lowest sales? Context: CREATE TABLE table_name_73 (sales__billion_ INTEGER, company VARCHAR)[/INST]SELECT MIN(sales__billion_) AS $_ FROM table_name_73 WHERE company = "bp"</s>
CREATE TABLE table_name_4 (latitude INTEGER, ansi_code VARCHAR, pop__2010_ VARCHAR)
SELECT MAX(latitude) FROM table_name_4 WHERE ansi_code > 1759541 AND pop__2010_ = 72
What is the highest recorded latitude for the township that has an ANSI code greater than 1759541 and a population in 2010 of 72?
<s>[INST]What is the highest recorded latitude for the township that has an ANSI code greater than 1759541 and a population in 2010 of 72? Context: CREATE TABLE table_name_4 (latitude INTEGER, ansi_code VARCHAR, pop__2010_ VARCHAR)[/INST]SELECT MAX(latitude) FROM table_name_4 WHERE ansi_code > 1759541 AND pop__2010_ = ...
CREATE TABLE table_name_80 (total INTEGER, country VARCHAR, silver VARCHAR)
SELECT MIN(total) FROM table_name_80 WHERE country = "united states" AND silver > 11
What is the lowest total medals for the united states who had more than 11 silver medals?
<s>[INST]What is the lowest total medals for the united states who had more than 11 silver medals? Context: CREATE TABLE table_name_80 (total INTEGER, country VARCHAR, silver VARCHAR)[/INST]SELECT MIN(total) FROM table_name_80 WHERE country = "united states" AND silver > 11</s>
CREATE TABLE table_name_19 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_19 WHERE record = "16–15"
What was the loss of the game when the record was 16–15?
<s>[INST]What was the loss of the game when the record was 16–15? Context: CREATE TABLE table_name_19 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_19 WHERE record = "16–15"</s>
CREATE TABLE table_name_76 (avoirdupois_value VARCHAR, translation VARCHAR)
SELECT avoirdupois_value FROM table_name_76 WHERE translation = "grain"
Which Avoirdupois value is translated to grain?
<s>[INST]Which Avoirdupois value is translated to grain? Context: CREATE TABLE table_name_76 (avoirdupois_value VARCHAR, translation VARCHAR)[/INST]SELECT avoirdupois_value FROM table_name_76 WHERE translation = "grain"</s>
CREATE TABLE table_name_84 (time_retired VARCHAR, points VARCHAR)
SELECT time_retired FROM table_name_84 WHERE points = "32"
Name the Time/Retired when the points were 32.
<s>[INST]Name the Time/Retired when the points were 32. Context: CREATE TABLE table_name_84 (time_retired VARCHAR, points VARCHAR)[/INST]SELECT time_retired FROM table_name_84 WHERE points = "32"</s>
CREATE TABLE table_1289762_1 (s_spoilt_vote INTEGER, constituency VARCHAR)
SELECT MIN(s_spoilt_vote) FROM table_1289762_1 WHERE constituency = "Sør-Trøndelag"
List the smallest possible spoilt vote with the sør-trøndelag constituency.
<s>[INST]List the smallest possible spoilt vote with the sør-trøndelag constituency. Context: CREATE TABLE table_1289762_1 (s_spoilt_vote INTEGER, constituency VARCHAR)[/INST]SELECT MIN(s_spoilt_vote) FROM table_1289762_1 WHERE constituency = "Sør-Trøndelag"</s>
CREATE TABLE table_name_10 (award_ceremony VARCHAR, nominee VARCHAR)
SELECT award_ceremony FROM table_name_10 WHERE nominee = "howard bay and patton campbell"
What award ceremony was howard bay and patton campbell nominated?
<s>[INST]What award ceremony was howard bay and patton campbell nominated? Context: CREATE TABLE table_name_10 (award_ceremony VARCHAR, nominee VARCHAR)[/INST]SELECT award_ceremony FROM table_name_10 WHERE nominee = "howard bay and patton campbell"</s>
CREATE TABLE table_name_92 (date VARCHAR, opposing_teams VARCHAR, against VARCHAR)
SELECT date FROM table_name_92 WHERE opposing_teams = "australia" AND against = 12
What day was Australia the opposing team and the against 12?
<s>[INST]What day was Australia the opposing team and the against 12? Context: CREATE TABLE table_name_92 (date VARCHAR, opposing_teams VARCHAR, against VARCHAR)[/INST]SELECT date FROM table_name_92 WHERE opposing_teams = "australia" AND against = 12</s>
CREATE TABLE table_name_68 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_68 WHERE tie_no = "1"
What is the Away team of Tie no 1?
<s>[INST]What is the Away team of Tie no 1? Context: CREATE TABLE table_name_68 (away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_68 WHERE tie_no = "1"</s>
CREATE TABLE table_name_42 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_42 WHERE opponent_in_the_final = "olga blahotová"
Olga Blahotová was the opponent in the final at what tournament?
<s>[INST]Olga Blahotová was the opponent in the final at what tournament? Context: CREATE TABLE table_name_42 (tournament VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT tournament FROM table_name_42 WHERE opponent_in_the_final = "olga blahotová"</s>
CREATE TABLE table_name_47 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_47 WHERE venue = "princes park"
What is the away team score of the game that was played at princes park?
<s>[INST]What is the away team score of the game that was played at princes park? Context: CREATE TABLE table_name_47 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_47 WHERE venue = "princes park"</s>
CREATE TABLE table_name_16 (round VARCHAR, venue VARCHAR)
SELECT round FROM table_name_16 WHERE venue = "galpharm stadium"
what round happened at galpharm stadium?
<s>[INST]what round happened at galpharm stadium? Context: CREATE TABLE table_name_16 (round VARCHAR, venue VARCHAR)[/INST]SELECT round FROM table_name_16 WHERE venue = "galpharm stadium"</s>
CREATE TABLE table_name_40 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_40 WHERE date = 1976
What is Opponent in The Final, when Date is "1976"?
<s>[INST]What is Opponent in The Final, when Date is "1976"? Context: CREATE TABLE table_name_40 (opponent_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_40 WHERE date = 1976</s>
CREATE TABLE journal_committee (journal_ID VARCHAR, work_type VARCHAR); CREATE TABLE journal (sales INTEGER, journal_ID VARCHAR)
SELECT AVG(T1.sales) FROM journal AS T1 JOIN journal_committee AS T2 ON T1.journal_ID = T2.journal_ID WHERE T2.work_type = 'Photo'
What is the average sales of the journals that have an editor whose work type is 'Photo'?
<s>[INST]What is the average sales of the journals that have an editor whose work type is 'Photo'? Context: CREATE TABLE journal_committee (journal_ID VARCHAR, work_type VARCHAR); CREATE TABLE journal (sales INTEGER, journal_ID VARCHAR)[/INST]SELECT AVG(T1.sales) FROM journal AS T1 JOIN journal_committee AS T2 ON T1.jo...
CREATE TABLE table_name_78 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_78 WHERE date = "march 30"
who had the high assists on march 30?
<s>[INST]who had the high assists on march 30? Context: CREATE TABLE table_name_78 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_name_78 WHERE date = "march 30"</s>
CREATE TABLE table_name_33 (rounds VARCHAR, engine_† VARCHAR)
SELECT rounds FROM table_name_33 WHERE engine_† = "ferrari 048"
What were the rounds on the Engine † of the Ferrari 048?
<s>[INST]What were the rounds on the Engine † of the Ferrari 048? Context: CREATE TABLE table_name_33 (rounds VARCHAR, engine_† VARCHAR)[/INST]SELECT rounds FROM table_name_33 WHERE engine_† = "ferrari 048"</s>
CREATE TABLE table_name_47 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_47 WHERE player = "tiger woods"
what country has tiger woods
<s>[INST]what country has tiger woods Context: CREATE TABLE table_name_47 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_47 WHERE player = "tiger woods"</s>
CREATE TABLE table_27614707_1 (original_artist VARCHAR, theme VARCHAR)
SELECT original_artist FROM table_27614707_1 WHERE theme = "Top 12 Men"
Who was the original artist of the Top 12 Men theme?
<s>[INST]Who was the original artist of the Top 12 Men theme? Context: CREATE TABLE table_27614707_1 (original_artist VARCHAR, theme VARCHAR)[/INST]SELECT original_artist FROM table_27614707_1 WHERE theme = "Top 12 Men"</s>
CREATE TABLE table_name_31 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_31 WHERE date = "february 6"
What score occurred on February 6?
<s>[INST]What score occurred on February 6? Context: CREATE TABLE table_name_31 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_31 WHERE date = "february 6"</s>
CREATE TABLE table_name_49 (block_a VARCHAR, prince_devitt VARCHAR)
SELECT block_a FROM table_name_49 WHERE prince_devitt = "devitt (9:53)"
What is Block A when Prince Devitt is Devitt (9:53)?
<s>[INST]What is Block A when Prince Devitt is Devitt (9:53)? Context: CREATE TABLE table_name_49 (block_a VARCHAR, prince_devitt VARCHAR)[/INST]SELECT block_a FROM table_name_49 WHERE prince_devitt = "devitt (9:53)"</s>
CREATE TABLE table_27713030_12 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_27713030_12 WHERE date = "April 8"
What were the high points on April 8?
<s>[INST]What were the high points on April 8? Context: CREATE TABLE table_27713030_12 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_27713030_12 WHERE date = "April 8"</s>
CREATE TABLE table_name_70 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_70 WHERE home_team = "collingwood"
In the game where the home team is collingwood, what is the score of the away team?
<s>[INST]In the game where the home team is collingwood, what is the score of the away team? Context: CREATE TABLE table_name_70 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_70 WHERE home_team = "collingwood"</s>
CREATE TABLE match_season (Position VARCHAR, Team VARCHAR); CREATE TABLE team (Team_id VARCHAR, Name VARCHAR)
SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Ryley Goldner"
Show the positions of the players from the team with name "Ryley Goldner".
<s>[INST]Show the positions of the players from the team with name "Ryley Goldner". Context: CREATE TABLE match_season (Position VARCHAR, Team VARCHAR); CREATE TABLE team (Team_id VARCHAR, Name VARCHAR)[/INST]SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Ryley Goldn...
CREATE TABLE table_25557880_1 (series VARCHAR, position VARCHAR)
SELECT series FROM table_25557880_1 WHERE position = "NC†"
In which series was his position NC† ?
<s>[INST]In which series was his position NC† ? Context: CREATE TABLE table_25557880_1 (series VARCHAR, position VARCHAR)[/INST]SELECT series FROM table_25557880_1 WHERE position = "NC†"</s>
CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER)
SELECT MIN(goals) FROM table_name_40 WHERE matches < 29
What were the lowest goals when the matches were smaller than 29?
<s>[INST]What were the lowest goals when the matches were smaller than 29? Context: CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER)[/INST]SELECT MIN(goals) FROM table_name_40 WHERE matches < 29</s>
CREATE TABLE table_22779004_1 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
SELECT regular_season_winner FROM table_22779004_1 WHERE tournament_winner = "Maryland"
Who won the regular season when Maryland won the tournament?
<s>[INST]Who won the regular season when Maryland won the tournament? Context: CREATE TABLE table_22779004_1 (regular_season_winner VARCHAR, tournament_winner VARCHAR)[/INST]SELECT regular_season_winner FROM table_22779004_1 WHERE tournament_winner = "Maryland"</s>
CREATE TABLE table_name_83 (score VARCHAR, country VARCHAR, place VARCHAR)
SELECT score FROM table_name_83 WHERE country = "canada" AND place = "t8"
what's the score in canada with place of t8?
<s>[INST]what's the score in canada with place of t8? Context: CREATE TABLE table_name_83 (score VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT score FROM table_name_83 WHERE country = "canada" AND place = "t8"</s>
CREATE TABLE table_name_93 (entrant VARCHAR, engine VARCHAR, year VARCHAR)
SELECT entrant FROM table_name_93 WHERE engine = "gordini straight-6" AND year = 1956
Who used Gordini Straight-6 in 1956?
<s>[INST]Who used Gordini Straight-6 in 1956? Context: CREATE TABLE table_name_93 (entrant VARCHAR, engine VARCHAR, year VARCHAR)[/INST]SELECT entrant FROM table_name_93 WHERE engine = "gordini straight-6" AND year = 1956</s>
CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR)
SELECT operator FROM table_1612760_1 WHERE destination = "Dalston Junction"
Who is the operator to destination Dalston Junction?
<s>[INST]Who is the operator to destination Dalston Junction? Context: CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR)[/INST]SELECT operator FROM table_1612760_1 WHERE destination = "Dalston Junction"</s>
CREATE TABLE table_name_13 (sprint_points VARCHAR, extra_laps VARCHAR, rank VARCHAR)
SELECT sprint_points FROM table_name_13 WHERE extra_laps = "0" AND rank = "19"
How many sprint points have 0 extra laps for rank 19?
<s>[INST]How many sprint points have 0 extra laps for rank 19? Context: CREATE TABLE table_name_13 (sprint_points VARCHAR, extra_laps VARCHAR, rank VARCHAR)[/INST]SELECT sprint_points FROM table_name_13 WHERE extra_laps = "0" AND rank = "19"</s>
CREATE TABLE table_11916083_1 (mintage__bu_ VARCHAR, _clarification_needed_ VARCHAR, artist VARCHAR, issue_price__proof_ VARCHAR)
SELECT mintage__bu_[_clarification_needed_] FROM table_11916083_1 WHERE artist = "Royal Canadian Mint Staff" AND issue_price__proof_ = "$54.95"
What is the mintage (bu) with the artist Royal Canadian Mint Staff and has an issue price (proof) of $54.95?
<s>[INST]What is the mintage (bu) with the artist Royal Canadian Mint Staff and has an issue price (proof) of $54.95? Context: CREATE TABLE table_11916083_1 (mintage__bu_ VARCHAR, _clarification_needed_ VARCHAR, artist VARCHAR, issue_price__proof_ VARCHAR)[/INST]SELECT mintage__bu_[_clarification_needed_] FROM table_11...
CREATE TABLE table_name_16 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_16 WHERE place = "t7" AND score = 70 - 71 = 141
Who placed t7 with a score of 70-71=141?
<s>[INST]Who placed t7 with a score of 70-71=141? Context: CREATE TABLE table_name_16 (player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_16 WHERE place = "t7" AND score = 70 - 71 = 141</s>
CREATE TABLE table_name_28 (seasons INTEGER, spells VARCHAR, drawn VARCHAR, rank VARCHAR)
SELECT MAX(seasons) FROM table_name_28 WHERE drawn = 57 AND rank = 20 AND spells > 1
What is the highest season number with 57 draws, rank 20, and more than 1 spell?
<s>[INST]What is the highest season number with 57 draws, rank 20, and more than 1 spell? Context: CREATE TABLE table_name_28 (seasons INTEGER, spells VARCHAR, drawn VARCHAR, rank VARCHAR)[/INST]SELECT MAX(seasons) FROM table_name_28 WHERE drawn = 57 AND rank = 20 AND spells > 1</s>
CREATE TABLE table_name_54 (to_par INTEGER, total INTEGER)
SELECT MAX(to_par) FROM table_name_54 WHERE total < 153
What is the highest to par that is less than 153
<s>[INST]What is the highest to par that is less than 153 Context: CREATE TABLE table_name_54 (to_par INTEGER, total INTEGER)[/INST]SELECT MAX(to_par) FROM table_name_54 WHERE total < 153</s>
CREATE TABLE table_name_68 (chassis VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_68 WHERE points = 5
What chassis recorded 5 points?
<s>[INST]What chassis recorded 5 points? Context: CREATE TABLE table_name_68 (chassis VARCHAR, points VARCHAR)[/INST]SELECT chassis FROM table_name_68 WHERE points = 5</s>
CREATE TABLE table_14650373_1 (pick__number INTEGER)
SELECT MAX(pick__number) FROM table_14650373_1
What is the highest pick number?
<s>[INST]What is the highest pick number? Context: CREATE TABLE table_14650373_1 (pick__number INTEGER)[/INST]SELECT MAX(pick__number) FROM table_14650373_1</s>
CREATE TABLE table_14855908_3 (episodes INTEGER, dvd_name VARCHAR)
SELECT MIN(episodes) FROM table_14855908_3 WHERE dvd_name = "Season 1"
How many episodes were released in the season 1 DVD?
<s>[INST]How many episodes were released in the season 1 DVD? Context: CREATE TABLE table_14855908_3 (episodes INTEGER, dvd_name VARCHAR)[/INST]SELECT MIN(episodes) FROM table_14855908_3 WHERE dvd_name = "Season 1"</s>
CREATE TABLE table_22825058_23 (round VARCHAR, against VARCHAR)
SELECT COUNT(round) FROM table_22825058_23 WHERE against = "The Netherlands"
Name the total number of round for against the netherlands
<s>[INST]Name the total number of round for against the netherlands Context: CREATE TABLE table_22825058_23 (round VARCHAR, against VARCHAR)[/INST]SELECT COUNT(round) FROM table_22825058_23 WHERE against = "The Netherlands"</s>
CREATE TABLE table_name_18 (erp_w VARCHAR, frequency_mhz VARCHAR)
SELECT erp_w FROM table_name_18 WHERE frequency_mhz = 91.3
What is the ERP W for the frequency of 91.3MHz?
<s>[INST]What is the ERP W for the frequency of 91.3MHz? Context: CREATE TABLE table_name_18 (erp_w VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT erp_w FROM table_name_18 WHERE frequency_mhz = 91.3</s>
CREATE TABLE table_name_12 (province VARCHAR, iata VARCHAR)
SELECT province FROM table_name_12 WHERE iata = "uyn"
WHich province has an IATA of UYN?
<s>[INST]WHich province has an IATA of UYN? Context: CREATE TABLE table_name_12 (province VARCHAR, iata VARCHAR)[/INST]SELECT province FROM table_name_12 WHERE iata = "uyn"</s>
CREATE TABLE table_name_78 (total_apps VARCHAR, name VARCHAR)
SELECT total_apps FROM table_name_78 WHERE name = "paul wilson"
What is the Total Apps listing for Paul Wilson?
<s>[INST]What is the Total Apps listing for Paul Wilson? Context: CREATE TABLE table_name_78 (total_apps VARCHAR, name VARCHAR)[/INST]SELECT total_apps FROM table_name_78 WHERE name = "paul wilson"</s>
CREATE TABLE table_2618152_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_2618152_1 WHERE production_code = "E0208"
The episode with the production code E0208 is directed by who?
<s>[INST]The episode with the production code E0208 is directed by who? Context: CREATE TABLE table_2618152_1 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_2618152_1 WHERE production_code = "E0208"</s>
CREATE TABLE table_1859269_1 (clubs_remaining INTEGER, leagues_entering_at_this_round VARCHAR)
SELECT MAX(clubs_remaining) FROM table_1859269_1 WHERE leagues_entering_at_this_round = "Süper Lig"
If leagues entering this round is Süper Lig, what is the maximum amount of clubs remaining?
<s>[INST]If leagues entering this round is Süper Lig, what is the maximum amount of clubs remaining? Context: CREATE TABLE table_1859269_1 (clubs_remaining INTEGER, leagues_entering_at_this_round VARCHAR)[/INST]SELECT MAX(clubs_remaining) FROM table_1859269_1 WHERE leagues_entering_at_this_round = "Süper Lig"</s>
CREATE TABLE table_name_25 (runner_up VARCHAR, year VARCHAR)
SELECT runner_up FROM table_name_25 WHERE year = 1915
who was the runner-up in the 1915 competition for 'Articles with HCards'?
<s>[INST]who was the runner-up in the 1915 competition for 'Articles with HCards'? Context: CREATE TABLE table_name_25 (runner_up VARCHAR, year VARCHAR)[/INST]SELECT runner_up FROM table_name_25 WHERE year = 1915</s>
CREATE TABLE table_name_82 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_82 WHERE score = "6–5 13"
Who is the opponent with a score of 6–5 13?
<s>[INST]Who is the opponent with a score of 6–5 13? Context: CREATE TABLE table_name_82 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_82 WHERE score = "6–5 13"</s>
CREATE TABLE table_name_99 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_99 WHERE date = "december 17"
Which Record has a Date of december 17?
<s>[INST]Which Record has a Date of december 17? Context: CREATE TABLE table_name_99 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_99 WHERE date = "december 17"</s>
CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_85 WHERE date = "15 march 2006"
What was the score on 15 march 2006?
<s>[INST]What was the score on 15 march 2006? Context: CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_85 WHERE date = "15 march 2006"</s>
CREATE TABLE table_name_91 (republican__democratic VARCHAR, state_ranked_in_partisan_order VARCHAR)
SELECT republican__democratic FROM table_name_91 WHERE state_ranked_in_partisan_order = "south carolina"
What is the ratio of Republicans to Democrats in South Carolina?
<s>[INST]What is the ratio of Republicans to Democrats in South Carolina? Context: CREATE TABLE table_name_91 (republican__democratic VARCHAR, state_ranked_in_partisan_order VARCHAR)[/INST]SELECT republican__democratic FROM table_name_91 WHERE state_ranked_in_partisan_order = "south carolina"</s>
CREATE TABLE table_1342249_13 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342249_13 WHERE incumbent = "Sid Simpson"
Who were the candidates when Sid Simpson was the incumbent?
<s>[INST]Who were the candidates when Sid Simpson was the incumbent? Context: CREATE TABLE table_1342249_13 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1342249_13 WHERE incumbent = "Sid Simpson"</s>
CREATE TABLE table_name_28 (name VARCHAR, prize VARCHAR)
SELECT name FROM table_name_28 WHERE prize = "$2,434,061"
Who won the event with a top prize of $2,434,061?
<s>[INST]Who won the event with a top prize of $2,434,061? Context: CREATE TABLE table_name_28 (name VARCHAR, prize VARCHAR)[/INST]SELECT name FROM table_name_28 WHERE prize = "$2,434,061"</s>
CREATE TABLE table_name_18 (source VARCHAR, name VARCHAR)
SELECT source FROM table_name_18 WHERE name = "laird"
What is the source for Laird?
<s>[INST]What is the source for Laird? Context: CREATE TABLE table_name_18 (source VARCHAR, name VARCHAR)[/INST]SELECT source FROM table_name_18 WHERE name = "laird"</s>
CREATE TABLE table_26986076_6 (wed_25_aug VARCHAR, fri_27_aug VARCHAR)
SELECT wed_25_aug FROM table_26986076_6 WHERE fri_27_aug = "22' 23.97 101.065mph"
What was the Weds 25 Aug time for the driver whose Aug 27 time was 22' 23.97 101.065mph?
<s>[INST]What was the Weds 25 Aug time for the driver whose Aug 27 time was 22' 23.97 101.065mph? Context: CREATE TABLE table_26986076_6 (wed_25_aug VARCHAR, fri_27_aug VARCHAR)[/INST]SELECT wed_25_aug FROM table_26986076_6 WHERE fri_27_aug = "22' 23.97 101.065mph"</s>
CREATE TABLE table_name_52 (tournament VARCHAR)
SELECT 1944 FROM table_name_52 WHERE tournament = "u.s. championships"
What is the 1944 result for the U.S. Championships?
<s>[INST]What is the 1944 result for the U.S. Championships? Context: CREATE TABLE table_name_52 (tournament VARCHAR)[/INST]SELECT 1944 FROM table_name_52 WHERE tournament = "u.s. championships"</s>
CREATE TABLE table_name_37 (year INTEGER, score VARCHAR)
SELECT SUM(year) FROM table_name_37 WHERE score = "59-32"
what is the year when the score is 59-32?
<s>[INST]what is the year when the score is 59-32? Context: CREATE TABLE table_name_37 (year INTEGER, score VARCHAR)[/INST]SELECT SUM(year) FROM table_name_37 WHERE score = "59-32"</s>
CREATE TABLE table_name_69 (name VARCHAR, series VARCHAR, hometown VARCHAR)
SELECT name FROM table_name_69 WHERE series = "bb1" AND hometown = "bolton"
What is the name of the person from series bb1 with a hometown of Bolton?
<s>[INST]What is the name of the person from series bb1 with a hometown of Bolton? Context: CREATE TABLE table_name_69 (name VARCHAR, series VARCHAR, hometown VARCHAR)[/INST]SELECT name FROM table_name_69 WHERE series = "bb1" AND hometown = "bolton"</s>
CREATE TABLE table_26375386_17 (couple VARCHAR, vote_percentage VARCHAR)
SELECT couple FROM table_26375386_17 WHERE vote_percentage = "5.2%"
What couple had a vote percentage of 5.2%?
<s>[INST]What couple had a vote percentage of 5.2%? Context: CREATE TABLE table_26375386_17 (couple VARCHAR, vote_percentage VARCHAR)[/INST]SELECT couple FROM table_26375386_17 WHERE vote_percentage = "5.2%"</s>
CREATE TABLE table_name_6 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR)
SELECT gross_revenue__2011_ FROM table_name_6 WHERE gross_revenue__1982_ = "$156,315"
What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982?
<s>[INST]What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982? Context: CREATE TABLE table_name_6 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR)[/INST]SELECT gross_revenue__2011_ FROM table_name_6 WHERE gross_revenue__1982_ = "$156,315"</s>
CREATE TABLE table_name_1 (played VARCHAR, tries_against VARCHAR)
SELECT played FROM table_name_1 WHERE tries_against = "correct as of 18:13 26 may 2008"
What is the played number when the tries against shows correct as of 18:13 26 May 2008?
<s>[INST]What is the played number when the tries against shows correct as of 18:13 26 May 2008? Context: CREATE TABLE table_name_1 (played VARCHAR, tries_against VARCHAR)[/INST]SELECT played FROM table_name_1 WHERE tries_against = "correct as of 18:13 26 may 2008"</s>
CREATE TABLE table_25938117_1 (winner VARCHAR, tournament VARCHAR)
SELECT COUNT(winner) FROM table_25938117_1 WHERE tournament = "Allianz Championship"
Name the total number of winners for allianz championship
<s>[INST]Name the total number of winners for allianz championship Context: CREATE TABLE table_25938117_1 (winner VARCHAR, tournament VARCHAR)[/INST]SELECT COUNT(winner) FROM table_25938117_1 WHERE tournament = "Allianz Championship"</s>
CREATE TABLE table_name_77 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_77 WHERE competition = "1990 asian games"
What is the venue of the 1990 Asian games?
<s>[INST]What is the venue of the 1990 Asian games? Context: CREATE TABLE table_name_77 (venue VARCHAR, competition VARCHAR)[/INST]SELECT venue FROM table_name_77 WHERE competition = "1990 asian games"</s>
CREATE TABLE table_name_60 (player VARCHAR, score INTEGER)
SELECT player FROM table_name_60 WHERE score > 67
Can you tell me the Player that has the Score larger than 67?
<s>[INST]Can you tell me the Player that has the Score larger than 67? Context: CREATE TABLE table_name_60 (player VARCHAR, score INTEGER)[/INST]SELECT player FROM table_name_60 WHERE score > 67</s>
CREATE TABLE table_name_62 (game INTEGER, score VARCHAR)
SELECT MAX(game) FROM table_name_62 WHERE score = "94-116"
What is the highest game whose score was 94-116
<s>[INST]What is the highest game whose score was 94-116 Context: CREATE TABLE table_name_62 (game INTEGER, score VARCHAR)[/INST]SELECT MAX(game) FROM table_name_62 WHERE score = "94-116"</s>
CREATE TABLE table_28081876_4 (written_by VARCHAR, directed_by VARCHAR)
SELECT COUNT(written_by) FROM table_28081876_4 WHERE directed_by = "Rob Schrab"
how many people wrote the episode directed by rob schrab?
<s>[INST]how many people wrote the episode directed by rob schrab? Context: CREATE TABLE table_28081876_4 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_28081876_4 WHERE directed_by = "Rob Schrab"</s>
CREATE TABLE table_name_70 (rank INTEGER, lane VARCHAR)
SELECT MIN(rank) FROM table_name_70 WHERE lane = 3
What's the lowest rank of Lane 3?
<s>[INST]What's the lowest rank of Lane 3? Context: CREATE TABLE table_name_70 (rank INTEGER, lane VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_70 WHERE lane = 3</s>
CREATE TABLE table_17641206_6 (duration VARCHAR, viewership VARCHAR)
SELECT COUNT(duration) FROM table_17641206_6 WHERE viewership = "5.46 million"
Name the number of duration for viewership of 5.46 million
<s>[INST]Name the number of duration for viewership of 5.46 million Context: CREATE TABLE table_17641206_6 (duration VARCHAR, viewership VARCHAR)[/INST]SELECT COUNT(duration) FROM table_17641206_6 WHERE viewership = "5.46 million"</s>
CREATE TABLE table_name_25 (minutes INTEGER, games_played VARCHAR)
SELECT MIN(minutes) FROM table_name_25 WHERE games_played = 13
What is the lowest minutes a goalkeeper with 13 games played has?
<s>[INST]What is the lowest minutes a goalkeeper with 13 games played has? Context: CREATE TABLE table_name_25 (minutes INTEGER, games_played VARCHAR)[/INST]SELECT MIN(minutes) FROM table_name_25 WHERE games_played = 13</s>
CREATE TABLE table_26222468_1 (wins INTEGER)
SELECT MAX(wins) FROM table_26222468_1
What is the maximum number of wins?
<s>[INST]What is the maximum number of wins? Context: CREATE TABLE table_26222468_1 (wins INTEGER)[/INST]SELECT MAX(wins) FROM table_26222468_1</s>
CREATE TABLE table_name_14 (home_team VARCHAR, game VARCHAR)
SELECT home_team FROM table_name_14 WHERE game = "game 3"
Which was the home team for game 3?
<s>[INST]Which was the home team for game 3? Context: CREATE TABLE table_name_14 (home_team VARCHAR, game VARCHAR)[/INST]SELECT home_team FROM table_name_14 WHERE game = "game 3"</s>
CREATE TABLE table_name_40 (draw INTEGER, points VARCHAR, artist VARCHAR)
SELECT MAX(draw) FROM table_name_40 WHERE points > 60 AND artist = "paul duffy"
What's the highest draw with over 60 points for paul duffy?
<s>[INST]What's the highest draw with over 60 points for paul duffy? Context: CREATE TABLE table_name_40 (draw INTEGER, points VARCHAR, artist VARCHAR)[/INST]SELECT MAX(draw) FROM table_name_40 WHERE points > 60 AND artist = "paul duffy"</s>
CREATE TABLE table_name_85 (overall INTEGER, round VARCHAR, position VARCHAR)
SELECT AVG(overall) FROM table_name_85 WHERE round > 9 AND position = "rb"
WHAT IS THE AVERAGE OVERALL WITH A ROUND LARGER THAN 9, AND RB POSITION?
<s>[INST]WHAT IS THE AVERAGE OVERALL WITH A ROUND LARGER THAN 9, AND RB POSITION? Context: CREATE TABLE table_name_85 (overall INTEGER, round VARCHAR, position VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_85 WHERE round > 9 AND position = "rb"</s>
CREATE TABLE table_name_11 (october VARCHAR, opponent VARCHAR)
SELECT october FROM table_name_11 WHERE opponent = "toronto maple leafs"
What date in October did the Flyers play against the Toronto Maple Leafs?
<s>[INST]What date in October did the Flyers play against the Toronto Maple Leafs? Context: CREATE TABLE table_name_11 (october VARCHAR, opponent VARCHAR)[/INST]SELECT october FROM table_name_11 WHERE opponent = "toronto maple leafs"</s>
CREATE TABLE table_name_82 (round VARCHAR, event VARCHAR, record VARCHAR)
SELECT round FROM table_name_82 WHERE event = "rings: king of kings 2000 block a" AND record = "6-1"
How many rounds did the event rings: king of kings 2000 block a have with a record of 6-1?
<s>[INST]How many rounds did the event rings: king of kings 2000 block a have with a record of 6-1? Context: CREATE TABLE table_name_82 (round VARCHAR, event VARCHAR, record VARCHAR)[/INST]SELECT round FROM table_name_82 WHERE event = "rings: king of kings 2000 block a" AND record = "6-1"</s>
CREATE TABLE table_name_80 (name VARCHAR, death VARCHAR)
SELECT name FROM table_name_80 WHERE death = "november 10, 1842"
what is the name when death is november 10, 1842?
<s>[INST]what is the name when death is november 10, 1842? Context: CREATE TABLE table_name_80 (name VARCHAR, death VARCHAR)[/INST]SELECT name FROM table_name_80 WHERE death = "november 10, 1842"</s>
CREATE TABLE table_name_78 (episode VARCHAR, performer_1 VARCHAR, performer_2 VARCHAR)
SELECT COUNT(episode) FROM table_name_78 WHERE performer_1 = "jim sweeney" AND performer_2 = "steve steen"
What is the total number of episodes where jim sweeney was the 1st performer and steve steen was the 2nd performer?
<s>[INST]What is the total number of episodes where jim sweeney was the 1st performer and steve steen was the 2nd performer? Context: CREATE TABLE table_name_78 (episode VARCHAR, performer_1 VARCHAR, performer_2 VARCHAR)[/INST]SELECT COUNT(episode) FROM table_name_78 WHERE performer_1 = "jim sweeney" AND performer_2 = ...
CREATE TABLE table_name_76 (laps INTEGER, grid VARCHAR, team VARCHAR)
SELECT AVG(laps) FROM table_name_76 WHERE grid > 1 AND team = "mexico"
What is the average Laps for the Mexico team with a grid number of more than 1?
<s>[INST]What is the average Laps for the Mexico team with a grid number of more than 1? Context: CREATE TABLE table_name_76 (laps INTEGER, grid VARCHAR, team VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_76 WHERE grid > 1 AND team = "mexico"</s>
CREATE TABLE table_name_11 (pts INTEGER, pct INTEGER)
SELECT SUM(pts) FROM table_name_11 WHERE pct < 0.1
What is the sum of PTS when there is a PCT smaller than 0.1?
<s>[INST]What is the sum of PTS when there is a PCT smaller than 0.1? Context: CREATE TABLE table_name_11 (pts INTEGER, pct INTEGER)[/INST]SELECT SUM(pts) FROM table_name_11 WHERE pct < 0.1</s>
CREATE TABLE table_name_12 (date VARCHAR, opponent VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_12 WHERE opponent = "royals" AND attendance = "12,699"
What is the date of the game against the Royals that had an attendance of 12,699?
<s>[INST]What is the date of the game against the Royals that had an attendance of 12,699? Context: CREATE TABLE table_name_12 (date VARCHAR, opponent VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_12 WHERE opponent = "royals" AND attendance = "12,699"</s>