context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_93 (killed INTEGER, perpetrator VARCHAR)
SELECT MIN(killed) FROM table_name_93 WHERE perpetrator = "sherrill, patrick henry , 44"
What is the lowest Killed, when Perpetrator is "Sherrill, Patrick Henry , 44"?
<s>[INST]What is the lowest Killed, when Perpetrator is "Sherrill, Patrick Henry , 44"? Context: CREATE TABLE table_name_93 (killed INTEGER, perpetrator VARCHAR)[/INST]SELECT MIN(killed) FROM table_name_93 WHERE perpetrator = "sherrill, patrick henry , 44"</s>
CREATE TABLE table_name_47 (drawn VARCHAR, club VARCHAR)
SELECT drawn FROM table_name_47 WHERE club = "furnace united rfc"
What is the drawn value for furnace united rfc?
<s>[INST]What is the drawn value for furnace united rfc? Context: CREATE TABLE table_name_47 (drawn VARCHAR, club VARCHAR)[/INST]SELECT drawn FROM table_name_47 WHERE club = "furnace united rfc"</s>
CREATE TABLE table_name_6 (distance VARCHAR, venue VARCHAR)
SELECT distance FROM table_name_6 WHERE venue = "seoul, south korea"
How far Venue of seoul, south korea is?
<s>[INST]How far Venue of seoul, south korea is? Context: CREATE TABLE table_name_6 (distance VARCHAR, venue VARCHAR)[/INST]SELECT distance FROM table_name_6 WHERE venue = "seoul, south korea"</s>
CREATE TABLE table_name_47 (partially_deleted VARCHAR, construction_completed VARCHAR, name VARCHAR)
SELECT partially_deleted FROM table_name_47 WHERE construction_completed = "–" AND name = "st. maries creosote"
What is the partially deleted result for a completed construction of m– in St. Maries Creosote?
<s>[INST]What is the partially deleted result for a completed construction of m– in St. Maries Creosote? Context: CREATE TABLE table_name_47 (partially_deleted VARCHAR, construction_completed VARCHAR, name VARCHAR)[/INST]SELECT partially_deleted FROM table_name_47 WHERE construction_completed = "–" AND name = "st. mari...
CREATE TABLE table_name_59 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_59 WHERE week = 11
What is the attendance for week 11?
<s>[INST]What is the attendance for week 11? Context: CREATE TABLE table_name_59 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_59 WHERE week = 11</s>
CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "north melbourne"
What is the smallest crowd with the away team of North Melbourne?
<s>[INST]What is the smallest crowd with the away team of North Melbourne? Context: CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "north melbourne"</s>
CREATE TABLE table_26757_4 (proto_slavic VARCHAR, serbo_croatian VARCHAR)
SELECT COUNT(proto_slavic) FROM table_26757_4 WHERE serbo_croatian = "гн(иј)ездо / gn(ij)ezdo"
When гн(иј)ездо / gn(ij)ezdo is the serbo-croatian how many proto-slavics are there?
<s>[INST]When гн(иј)ездо / gn(ij)ezdo is the serbo-croatian how many proto-slavics are there? Context: CREATE TABLE table_26757_4 (proto_slavic VARCHAR, serbo_croatian VARCHAR)[/INST]SELECT COUNT(proto_slavic) FROM table_26757_4 WHERE serbo_croatian = "гн(иј)ездо / gn(ij)ezdo"</s>
CREATE TABLE table_name_4 (no_s_ VARCHAR, height_in_ft VARCHAR, position VARCHAR)
SELECT no_s_ FROM table_name_4 WHERE height_in_ft = "6-7" AND position = "guard"
Name the numbers for the player with a height in ft of 6-7 for the guard
<s>[INST]Name the numbers for the player with a height in ft of 6-7 for the guard Context: CREATE TABLE table_name_4 (no_s_ VARCHAR, height_in_ft VARCHAR, position VARCHAR)[/INST]SELECT no_s_ FROM table_name_4 WHERE height_in_ft = "6-7" AND position = "guard"</s>
CREATE TABLE table_name_8 (Id VARCHAR)
SELECT 2010 FROM table_name_8 WHERE 2009 = "w" AND 2007 = "qf"
what is 2010 when 2009 is w and 2007 is qf?
<s>[INST]what is 2010 when 2009 is w and 2007 is qf? Context: CREATE TABLE table_name_8 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_8 WHERE 2009 = "w" AND 2007 = "qf"</s>
CREATE TABLE table_name_85 (bronze INTEGER, nation VARCHAR)
SELECT AVG(bronze) FROM table_name_85 WHERE nation = "total"
What is the average number of bronze medals for total of all nations?
<s>[INST]What is the average number of bronze medals for total of all nations? Context: CREATE TABLE table_name_85 (bronze INTEGER, nation VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_85 WHERE nation = "total"</s>
CREATE TABLE table_name_64 (year_s_ INTEGER, spokesperson VARCHAR, radio_commentator VARCHAR)
SELECT MIN(year_s_) FROM table_name_64 WHERE spokesperson = "colin berry" AND radio_commentator = "ray moore"
What is the earliest year with colin berry as the spokesperson and ray moore as the radio commentator?
<s>[INST]What is the earliest year with colin berry as the spokesperson and ray moore as the radio commentator? Context: CREATE TABLE table_name_64 (year_s_ INTEGER, spokesperson VARCHAR, radio_commentator VARCHAR)[/INST]SELECT MIN(year_s_) FROM table_name_64 WHERE spokesperson = "colin berry" AND radio_commentator = "...
CREATE TABLE table_25839957_5 (shader_model VARCHAR, core_clock___mhz__ VARCHAR)
SELECT COUNT(shader_model) FROM table_25839957_5 WHERE core_clock___mhz__ = "900"
How many shader models have a 900 core clock ( mhz )?
<s>[INST]How many shader models have a 900 core clock ( mhz )? Context: CREATE TABLE table_25839957_5 (shader_model VARCHAR, core_clock___mhz__ VARCHAR)[/INST]SELECT COUNT(shader_model) FROM table_25839957_5 WHERE core_clock___mhz__ = "900"</s>
CREATE TABLE table_name_42 (points INTEGER, artist VARCHAR, place VARCHAR)
SELECT AVG(points) FROM table_name_42 WHERE artist = "kamil mikulčík and nela" AND place > 18
What is the average Points when the artist is kamil mikulčík and nela, and the Place is larger than 18?
<s>[INST]What is the average Points when the artist is kamil mikulčík and nela, and the Place is larger than 18? Context: CREATE TABLE table_name_42 (points INTEGER, artist VARCHAR, place VARCHAR)[/INST]SELECT AVG(points) FROM table_name_42 WHERE artist = "kamil mikulčík and nela" AND place > 18</s>
CREATE TABLE table_name_83 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_83 WHERE away_team = "melbourne"
On what date did the away team Melbourne play?
<s>[INST]On what date did the away team Melbourne play? Context: CREATE TABLE table_name_83 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_83 WHERE away_team = "melbourne"</s>
CREATE TABLE table_name_11 (province VARCHAR, city VARCHAR)
SELECT province FROM table_name_11 WHERE city = "pamplona"
Which province is Pamplona located in?
<s>[INST]Which province is Pamplona located in? Context: CREATE TABLE table_name_11 (province VARCHAR, city VARCHAR)[/INST]SELECT province FROM table_name_11 WHERE city = "pamplona"</s>
CREATE TABLE table_name_75 (jockey VARCHAR, owner VARCHAR)
SELECT jockey FROM table_name_75 WHERE owner = "richard pegum"
Who was the jockey when the owner was Richard Pegum?
<s>[INST]Who was the jockey when the owner was Richard Pegum? Context: CREATE TABLE table_name_75 (jockey VARCHAR, owner VARCHAR)[/INST]SELECT jockey FROM table_name_75 WHERE owner = "richard pegum"</s>
CREATE TABLE table_name_95 (away_captain VARCHAR, date VARCHAR)
SELECT away_captain FROM table_name_95 WHERE date = "11,12,13 aug 1902"
Who is the Away captain that played on 11,12,13 Aug 1902?
<s>[INST]Who is the Away captain that played on 11,12,13 Aug 1902? Context: CREATE TABLE table_name_95 (away_captain VARCHAR, date VARCHAR)[/INST]SELECT away_captain FROM table_name_95 WHERE date = "11,12,13 aug 1902"</s>
CREATE TABLE table_22736523_1 (theme VARCHAR, song_choice VARCHAR)
SELECT theme FROM table_22736523_1 WHERE song_choice = "Crazy In Love"
If Crazy In Love is the song choice, what is the theme?
<s>[INST]If Crazy In Love is the song choice, what is the theme? Context: CREATE TABLE table_22736523_1 (theme VARCHAR, song_choice VARCHAR)[/INST]SELECT theme FROM table_22736523_1 WHERE song_choice = "Crazy In Love"</s>
CREATE TABLE game (season VARCHAR, home_team VARCHAR, away_team VARCHAR)
SELECT season, home_team, away_team FROM game
List the season, home team, away team of all the games.
<s>[INST]List the season, home team, away team of all the games. Context: CREATE TABLE game (season VARCHAR, home_team VARCHAR, away_team VARCHAR)[/INST]SELECT season, home_team, away_team FROM game</s>
CREATE TABLE table_name_25 (season VARCHAR, runner_up VARCHAR, title VARCHAR)
SELECT season FROM table_name_25 WHERE runner_up = "waseda" AND title = "47th"
What season has a runner-up of waseda, and a title of 47th?
<s>[INST]What season has a runner-up of waseda, and a title of 47th? Context: CREATE TABLE table_name_25 (season VARCHAR, runner_up VARCHAR, title VARCHAR)[/INST]SELECT season FROM table_name_25 WHERE runner_up = "waseda" AND title = "47th"</s>
CREATE TABLE table_15739098_1 (episode INTEGER, adapted_by VARCHAR)
SELECT MAX(episode) FROM table_15739098_1 WHERE adapted_by = "Leon Griffiths"
Name the msot episode that was adapted by leon griffiths
<s>[INST]Name the msot episode that was adapted by leon griffiths Context: CREATE TABLE table_15739098_1 (episode INTEGER, adapted_by VARCHAR)[/INST]SELECT MAX(episode) FROM table_15739098_1 WHERE adapted_by = "Leon Griffiths"</s>
CREATE TABLE table_12562214_1 (date__from_ VARCHAR, date__to_ VARCHAR)
SELECT date__from_ FROM table_12562214_1 WHERE date__to_ = "1919"
what is the date (from) where date (to) is 1919?
<s>[INST]what is the date (from) where date (to) is 1919? Context: CREATE TABLE table_12562214_1 (date__from_ VARCHAR, date__to_ VARCHAR)[/INST]SELECT date__from_ FROM table_12562214_1 WHERE date__to_ = "1919"</s>
CREATE TABLE table_17001658_5 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_17001658_5 WHERE team = "Miami"
Who had the most assists and how many did they have in the game against Miami?
<s>[INST]Who had the most assists and how many did they have in the game against Miami? Context: CREATE TABLE table_17001658_5 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT high_assists FROM table_17001658_5 WHERE team = "Miami"</s>
CREATE TABLE table_name_94 (losses VARCHAR, wins VARCHAR, draws VARCHAR)
SELECT COUNT(losses) FROM table_name_94 WHERE wins < 6 AND draws < 0
What is the total number of losses with less than 6 wins and less than 0 draws?
<s>[INST]What is the total number of losses with less than 6 wins and less than 0 draws? Context: CREATE TABLE table_name_94 (losses VARCHAR, wins VARCHAR, draws VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_94 WHERE wins < 6 AND draws < 0</s>
CREATE TABLE district (district_name VARCHAR, city_area VARCHAR)
SELECT district_name FROM district ORDER BY city_area LIMIT 1
Which district has the least area?
<s>[INST]Which district has the least area? Context: CREATE TABLE district (district_name VARCHAR, city_area VARCHAR)[/INST]SELECT district_name FROM district ORDER BY city_area LIMIT 1</s>
CREATE TABLE table_name_83 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_83 WHERE home_team = "hawthorn"
What was the home team score for the game where Hawthorn is the home team?
<s>[INST]What was the home team score for the game where Hawthorn is the home team? Context: CREATE TABLE table_name_83 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_83 WHERE home_team = "hawthorn"</s>
CREATE TABLE table_name_20 (games INTEGER, name VARCHAR, rank VARCHAR)
SELECT MAX(games) FROM table_name_20 WHERE name = "zendon hamilton" AND rank > 2
What was the game with a rank higher than 2 and a name of zendon hamilton?
<s>[INST]What was the game with a rank higher than 2 and a name of zendon hamilton? Context: CREATE TABLE table_name_20 (games INTEGER, name VARCHAR, rank VARCHAR)[/INST]SELECT MAX(games) FROM table_name_20 WHERE name = "zendon hamilton" AND rank > 2</s>
CREATE TABLE table_name_12 (written_by VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_name_12 WHERE directed_by = "dan lerner"
Who wrote the episode that was directed by dan lerner?
<s>[INST]Who wrote the episode that was directed by dan lerner? Context: CREATE TABLE table_name_12 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT written_by FROM table_name_12 WHERE directed_by = "dan lerner"</s>
CREATE TABLE table_184803_4 (spokespersons VARCHAR, voting_order VARCHAR)
SELECT spokespersons FROM table_184803_4 WHERE voting_order = 9
list the spokespersons where voting order is 9
<s>[INST]list the spokespersons where voting order is 9 Context: CREATE TABLE table_184803_4 (spokespersons VARCHAR, voting_order VARCHAR)[/INST]SELECT spokespersons FROM table_184803_4 WHERE voting_order = 9</s>
CREATE TABLE city (Status VARCHAR, Population INTEGER)
SELECT Status FROM city WHERE Population > 1500 INTERSECT SELECT Status FROM city WHERE Population < 500
Show the status shared by cities with population bigger than 1500 and smaller than 500.
<s>[INST]Show the status shared by cities with population bigger than 1500 and smaller than 500. Context: CREATE TABLE city (Status VARCHAR, Population INTEGER)[/INST]SELECT Status FROM city WHERE Population > 1500 INTERSECT SELECT Status FROM city WHERE Population < 500</s>
CREATE TABLE table_name_11 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_11 WHERE date = "dec 8"
What is Opponent, when Date is "Dec 8"?
<s>[INST]What is Opponent, when Date is "Dec 8"? Context: CREATE TABLE table_name_11 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_11 WHERE date = "dec 8"</s>
CREATE TABLE table_19722436_2 (rnd VARCHAR, gt1_winning_team VARCHAR)
SELECT COUNT(rnd) FROM table_19722436_2 WHERE gt1_winning_team = "Julien Jousse Patrice Goueslard Yann Clairay"
When julien jousse patrice goueslard yann clairay is teh gt1 of the winning team how many measurements of rnd. are there?
<s>[INST]When julien jousse patrice goueslard yann clairay is teh gt1 of the winning team how many measurements of rnd. are there? Context: CREATE TABLE table_19722436_2 (rnd VARCHAR, gt1_winning_team VARCHAR)[/INST]SELECT COUNT(rnd) FROM table_19722436_2 WHERE gt1_winning_team = "Julien Jousse Patrice Goueslard Yann ...
CREATE TABLE table_15637071_1 (commenced_operations INTEGER)
SELECT MIN(commenced_operations) FROM table_15637071_1
When did the oldest airline start operations?
<s>[INST]When did the oldest airline start operations? Context: CREATE TABLE table_15637071_1 (commenced_operations INTEGER)[/INST]SELECT MIN(commenced_operations) FROM table_15637071_1</s>
CREATE TABLE table_name_33 (lost INTEGER, against VARCHAR, diff VARCHAR, points VARCHAR)
SELECT AVG(lost) FROM table_name_33 WHERE diff > -16 AND points = 19 AND against > 24
What is the average number lost with a difference of -16, 19 points, and more than 24 against?
<s>[INST]What is the average number lost with a difference of -16, 19 points, and more than 24 against? Context: CREATE TABLE table_name_33 (lost INTEGER, against VARCHAR, diff VARCHAR, points VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_33 WHERE diff > -16 AND points = 19 AND against > 24</s>
CREATE TABLE table_28068063_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR)
SELECT eliminated_from_competition FROM table_28068063_3 WHERE proceed_to_quarter_final = "Connacht"
Who was eliminated from the competition when connacht to the quarter final?
<s>[INST]Who was eliminated from the competition when connacht to the quarter final? Context: CREATE TABLE table_28068063_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR)[/INST]SELECT eliminated_from_competition FROM table_28068063_3 WHERE proceed_to_quarter_final = "Connacht"</s>
CREATE TABLE table_name_91 (cuts_made VARCHAR, top_5 VARCHAR, wins VARCHAR)
SELECT COUNT(cuts_made) FROM table_name_91 WHERE top_5 = 0 AND wins > 0
How many total cuts were made in events with more than 0 wins and exactly 0 top-5s?
<s>[INST]How many total cuts were made in events with more than 0 wins and exactly 0 top-5s? Context: CREATE TABLE table_name_91 (cuts_made VARCHAR, top_5 VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(cuts_made) FROM table_name_91 WHERE top_5 = 0 AND wins > 0</s>
CREATE TABLE table_name_54 (heat INTEGER, rank VARCHAR)
SELECT AVG(heat) FROM table_name_54 WHERE rank = 30
What is the average heat ranked at 30?
<s>[INST]What is the average heat ranked at 30? Context: CREATE TABLE table_name_54 (heat INTEGER, rank VARCHAR)[/INST]SELECT AVG(heat) FROM table_name_54 WHERE rank = 30</s>
CREATE TABLE table_name_22 (e_coli VARCHAR, substrates VARCHAR)
SELECT e_coli FROM table_name_22 WHERE substrates = "uracil"
Which E. coli has a substrate of uracil?
<s>[INST]Which E. coli has a substrate of uracil? Context: CREATE TABLE table_name_22 (e_coli VARCHAR, substrates VARCHAR)[/INST]SELECT e_coli FROM table_name_22 WHERE substrates = "uracil"</s>
CREATE TABLE table_name_32 (date VARCHAR, team VARCHAR)
SELECT date FROM table_name_32 WHERE team = "phoenix"
What day did Phoenix play?
<s>[INST]What day did Phoenix play? Context: CREATE TABLE table_name_32 (date VARCHAR, team VARCHAR)[/INST]SELECT date FROM table_name_32 WHERE team = "phoenix"</s>
CREATE TABLE table_name_31 (format VARCHAR, date VARCHAR)
SELECT format FROM table_name_31 WHERE date = "may 27, 2009"
Which format is released on May 27, 2009?
<s>[INST]Which format is released on May 27, 2009? Context: CREATE TABLE table_name_31 (format VARCHAR, date VARCHAR)[/INST]SELECT format FROM table_name_31 WHERE date = "may 27, 2009"</s>
CREATE TABLE table_name_11 (player VARCHAR, rank INTEGER)
SELECT player FROM table_name_11 WHERE rank > 9
Which player ranks higher than 9?
<s>[INST]Which player ranks higher than 9? Context: CREATE TABLE table_name_11 (player VARCHAR, rank INTEGER)[/INST]SELECT player FROM table_name_11 WHERE rank > 9</s>
CREATE TABLE table_name_25 (round INTEGER, college VARCHAR, overall VARCHAR)
SELECT MAX(round) FROM table_name_25 WHERE college = "arizona" AND overall > 120
Which Round is the highest one that has a College of arizona, and an Overall larger than 120?
<s>[INST]Which Round is the highest one that has a College of arizona, and an Overall larger than 120? Context: CREATE TABLE table_name_25 (round INTEGER, college VARCHAR, overall VARCHAR)[/INST]SELECT MAX(round) FROM table_name_25 WHERE college = "arizona" AND overall > 120</s>
CREATE TABLE table_15001681_1 (mens_singles VARCHAR, year VARCHAR)
SELECT mens_singles FROM table_15001681_1 WHERE year = 1987
In 1987 who was the mens singles
<s>[INST]In 1987 who was the mens singles Context: CREATE TABLE table_15001681_1 (mens_singles VARCHAR, year VARCHAR)[/INST]SELECT mens_singles FROM table_15001681_1 WHERE year = 1987</s>
CREATE TABLE table_name_79 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_79 WHERE date = "august 6"
Name the opponent for august 6
<s>[INST]Name the opponent for august 6 Context: CREATE TABLE table_name_79 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_79 WHERE date = "august 6"</s>
CREATE TABLE table_name_43 (pole_position VARCHAR, date VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT pole_position FROM table_name_43 WHERE fastest_lap = "graham hill" AND winning_driver = "graham hill" AND date = "30 may"
Tell me the pole position for graham hill the fastest lap and winning driver of him on 30 may
<s>[INST]Tell me the pole position for graham hill the fastest lap and winning driver of him on 30 may Context: CREATE TABLE table_name_43 (pole_position VARCHAR, date VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)[/INST]SELECT pole_position FROM table_name_43 WHERE fastest_lap = "graham hill" AND winning_driver...
CREATE TABLE table_name_19 (attendance INTEGER, date VARCHAR, week VARCHAR)
SELECT MIN(attendance) FROM table_name_19 WHERE date = "october 13, 1968" AND week > 5
What's the lowest attendance for October 13, 1968, and is larger than week 5?
<s>[INST]What's the lowest attendance for October 13, 1968, and is larger than week 5? Context: CREATE TABLE table_name_19 (attendance INTEGER, date VARCHAR, week VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_19 WHERE date = "october 13, 1968" AND week > 5</s>
CREATE TABLE table_name_50 (country VARCHAR, town VARCHAR)
SELECT country FROM table_name_50 WHERE town = "dubai"
what country is dubai in
<s>[INST]what country is dubai in Context: CREATE TABLE table_name_50 (country VARCHAR, town VARCHAR)[/INST]SELECT country FROM table_name_50 WHERE town = "dubai"</s>
CREATE TABLE table_name_50 (wins INTEGER, played VARCHAR, goals_for VARCHAR, losses VARCHAR, goal_difference VARCHAR)
SELECT MIN(wins) FROM table_name_50 WHERE losses < 10 AND goal_difference < 46 AND goals_for < 63 AND played < 30
What is the lowest Wins, when Losses is less than 10, when Goal Difference is less than 46, when Goals is less than 63, and when Played is less than 30?
<s>[INST]What is the lowest Wins, when Losses is less than 10, when Goal Difference is less than 46, when Goals is less than 63, and when Played is less than 30? Context: CREATE TABLE table_name_50 (wins INTEGER, played VARCHAR, goals_for VARCHAR, losses VARCHAR, goal_difference VARCHAR)[/INST]SELECT MIN(wins) FROM tab...
CREATE TABLE table_name_59 (career_with_the_franchise_ VARCHAR, b_ VARCHAR, player VARCHAR)
SELECT career_with_the_franchise_[b_] FROM table_name_59 WHERE player = "willie anderson category:articles with hcards"
What is Career with the franchise [b ], when Player is "Willie Anderson Category:Articles with hCards"?
<s>[INST]What is Career with the franchise [b ], when Player is "Willie Anderson Category:Articles with hCards"? Context: CREATE TABLE table_name_59 (career_with_the_franchise_ VARCHAR, b_ VARCHAR, player VARCHAR)[/INST]SELECT career_with_the_franchise_[b_] FROM table_name_59 WHERE player = "willie anderson category:ar...
CREATE TABLE table_name_12 (region__year_ VARCHAR, no_5 VARCHAR, no_7 VARCHAR, no_1 VARCHAR)
SELECT region__year_ FROM table_name_12 WHERE no_7 = "abigail" AND no_1 = "sophia" AND no_5 = "aaliyah"
Which region (year) has Abigail at number 7, Sophia at number 1 and Aaliyah at number 5?
<s>[INST]Which region (year) has Abigail at number 7, Sophia at number 1 and Aaliyah at number 5? Context: CREATE TABLE table_name_12 (region__year_ VARCHAR, no_5 VARCHAR, no_7 VARCHAR, no_1 VARCHAR)[/INST]SELECT region__year_ FROM table_name_12 WHERE no_7 = "abigail" AND no_1 = "sophia" AND no_5 = "aaliyah"</s>
CREATE TABLE table_name_76 (emissions_co2 VARCHAR, max_speed VARCHAR, car_model VARCHAR)
SELECT emissions_co2 FROM table_name_76 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s"
What is the emissions CO2 with a max speed of km/h (mph) of the car model Panamera 4s?
<s>[INST]What is the emissions CO2 with a max speed of km/h (mph) of the car model Panamera 4s? Context: CREATE TABLE table_name_76 (emissions_co2 VARCHAR, max_speed VARCHAR, car_model VARCHAR)[/INST]SELECT emissions_co2 FROM table_name_76 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s"</s>
CREATE TABLE table_26460435_5 (monarch VARCHAR, heir VARCHAR)
SELECT COUNT(monarch) FROM table_26460435_5 WHERE heir = "Yan Maw La Mon"
What is the number of monarchs that had Yan Maw la Mon as the heir?
<s>[INST]What is the number of monarchs that had Yan Maw la Mon as the heir? Context: CREATE TABLE table_26460435_5 (monarch VARCHAR, heir VARCHAR)[/INST]SELECT COUNT(monarch) FROM table_26460435_5 WHERE heir = "Yan Maw La Mon"</s>
CREATE TABLE table_22815568_7 (county VARCHAR, unemployment_rate VARCHAR, market_income_per_capita VARCHAR)
SELECT county FROM table_22815568_7 WHERE unemployment_rate = "5.8%" AND market_income_per_capita = "$22,866"
In what counties is the unemployment rate 5.8% and the market income per capita is $22,866?
<s>[INST]In what counties is the unemployment rate 5.8% and the market income per capita is $22,866? Context: CREATE TABLE table_22815568_7 (county VARCHAR, unemployment_rate VARCHAR, market_income_per_capita VARCHAR)[/INST]SELECT county FROM table_22815568_7 WHERE unemployment_rate = "5.8%" AND market_income_per_capit...
CREATE TABLE table_name_70 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_70 WHERE to_par = "+1" AND score = 72 - 70 - 72 = 214
What is Player, when To Par is +1, and when Score is 72-70-72=214?
<s>[INST]What is Player, when To Par is +1, and when Score is 72-70-72=214? Context: CREATE TABLE table_name_70 (player VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_70 WHERE to_par = "+1" AND score = 72 - 70 - 72 = 214</s>
CREATE TABLE table_name_68 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_68 WHERE call_sign = "k241an"
Which City of license has a Call sign of k241an?
<s>[INST]Which City of license has a Call sign of k241an? Context: CREATE TABLE table_name_68 (city_of_license VARCHAR, call_sign VARCHAR)[/INST]SELECT city_of_license FROM table_name_68 WHERE call_sign = "k241an"</s>
CREATE TABLE table_name_24 (home VARCHAR, score VARCHAR)
SELECT home FROM table_name_24 WHERE score = "116–105"
Who was the home team at the Nuggets game that had a score of 116–105?
<s>[INST]Who was the home team at the Nuggets game that had a score of 116–105? Context: CREATE TABLE table_name_24 (home VARCHAR, score VARCHAR)[/INST]SELECT home FROM table_name_24 WHERE score = "116–105"</s>
CREATE TABLE table_17001658_10 (date VARCHAR, team VARCHAR)
SELECT date FROM table_17001658_10 WHERE team = "Philadelphia"
On what date was the team Philadelphia?
<s>[INST]On what date was the team Philadelphia? Context: CREATE TABLE table_17001658_10 (date VARCHAR, team VARCHAR)[/INST]SELECT date FROM table_17001658_10 WHERE team = "Philadelphia"</s>
CREATE TABLE table_name_26 (wins INTEGER, teams VARCHAR, losses VARCHAR)
SELECT SUM(wins) FROM table_name_26 WHERE teams = "chiefs" AND losses > 1
How many wins have more than 1 loss and a team of chiefs?
<s>[INST]How many wins have more than 1 loss and a team of chiefs? Context: CREATE TABLE table_name_26 (wins INTEGER, teams VARCHAR, losses VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_26 WHERE teams = "chiefs" AND losses > 1</s>
CREATE TABLE table_name_17 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_17 WHERE date = "july 1, 2000"
Which Competition has the Date July 1, 2000?
<s>[INST]Which Competition has the Date July 1, 2000? Context: CREATE TABLE table_name_17 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_17 WHERE date = "july 1, 2000"</s>
CREATE TABLE table_name_43 (pat_robertson VARCHAR, bob_dole VARCHAR, pete_du_pont VARCHAR)
SELECT pat_robertson FROM table_name_43 WHERE bob_dole = "26%" AND pete_du_pont = "0%"
When Bob Dole had 26%, and Pete du Pont had 0%, what did Pat Robertson have?
<s>[INST]When Bob Dole had 26%, and Pete du Pont had 0%, what did Pat Robertson have? Context: CREATE TABLE table_name_43 (pat_robertson VARCHAR, bob_dole VARCHAR, pete_du_pont VARCHAR)[/INST]SELECT pat_robertson FROM table_name_43 WHERE bob_dole = "26%" AND pete_du_pont = "0%"</s>
CREATE TABLE table_name_38 (shots INTEGER, points INTEGER)
SELECT MIN(shots) FROM table_name_38 WHERE points > 32
What is the lowest Shots with a Point that is larger than 32?
<s>[INST]What is the lowest Shots with a Point that is larger than 32? Context: CREATE TABLE table_name_38 (shots INTEGER, points INTEGER)[/INST]SELECT MIN(shots) FROM table_name_38 WHERE points > 32</s>
CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE inventory (inventory_id VARCHAR, film_id VARCHAR); CREATE TABLE rental (inventory_id VARCHAR)
SELECT T1.title, T2.inventory_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id JOIN rental AS T3 ON T2.inventory_id = T3.inventory_id GROUP BY T2.inventory_id ORDER BY COUNT(*) DESC LIMIT 1
What is the film title and inventory id of the item in the inventory which was rented most frequently?
<s>[INST]What is the film title and inventory id of the item in the inventory which was rented most frequently? Context: CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE inventory (inventory_id VARCHAR, film_id VARCHAR); CREATE TABLE rental (inventory_id VARCHAR)[/INST]SELECT T1.title, T2.inventory_id F...
CREATE TABLE table_19850806_3 (winning_driver VARCHAR, rd VARCHAR)
SELECT winning_driver FROM table_19850806_3 WHERE rd = "3"
Who is the winning driver when rd. is 3?
<s>[INST]Who is the winning driver when rd. is 3? Context: CREATE TABLE table_19850806_3 (winning_driver VARCHAR, rd VARCHAR)[/INST]SELECT winning_driver FROM table_19850806_3 WHERE rd = "3"</s>
CREATE TABLE table_name_85 (high_points VARCHAR, location_attendance VARCHAR)
SELECT high_points FROM table_name_85 WHERE location_attendance = "time warner cable arena 12,096"
At Time Warner Cable Arena 12,096, what was the high points?
<s>[INST]At Time Warner Cable Arena 12,096, what was the high points? Context: CREATE TABLE table_name_85 (high_points VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_points FROM table_name_85 WHERE location_attendance = "time warner cable arena 12,096"</s>
CREATE TABLE table_name_30 (placings INTEGER, nation VARCHAR, rank VARCHAR)
SELECT MIN(placings) FROM table_name_30 WHERE nation = "united kingdom" AND rank < 13
Tell me the lowest placings for United Kingdom and rank less than 13
<s>[INST]Tell me the lowest placings for United Kingdom and rank less than 13 Context: CREATE TABLE table_name_30 (placings INTEGER, nation VARCHAR, rank VARCHAR)[/INST]SELECT MIN(placings) FROM table_name_30 WHERE nation = "united kingdom" AND rank < 13</s>
CREATE TABLE table_name_52 (gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(gold) FROM table_name_52 WHERE silver = 1 AND rank > 3 AND total < 2 AND bronze < 0
What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0?
<s>[INST]What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0? Context: CREATE TABLE table_name_52 (gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_52 WHERE silver = 1 AND rank > 3 AND total < 2 AND ...
CREATE TABLE table_name_50 (artist VARCHAR, place VARCHAR, percentage VARCHAR)
SELECT artist FROM table_name_50 WHERE place < 3 AND percentage = "38.60%"
What Artist has a Place of 3 or less with a Percentage of 38.60%?
<s>[INST]What Artist has a Place of 3 or less with a Percentage of 38.60%? Context: CREATE TABLE table_name_50 (artist VARCHAR, place VARCHAR, percentage VARCHAR)[/INST]SELECT artist FROM table_name_50 WHERE place < 3 AND percentage = "38.60%"</s>
CREATE TABLE table_name_31 (date VARCHAR, total VARCHAR)
SELECT date FROM table_name_31 WHERE total = "56–75"
What date was the total 56–75?
<s>[INST]What date was the total 56–75? Context: CREATE TABLE table_name_31 (date VARCHAR, total VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE total = "56–75"</s>
CREATE TABLE table_name_82 (avg_g VARCHAR, gp_gs VARCHAR, effic VARCHAR)
SELECT COUNT(avg_g) FROM table_name_82 WHERE gp_gs = "13–13" AND effic < 114.23
Avg/G that has a GP-GS of 13–13, and a Effic smaller than 114.23 has what total of numbers?
<s>[INST]Avg/G that has a GP-GS of 13–13, and a Effic smaller than 114.23 has what total of numbers? Context: CREATE TABLE table_name_82 (avg_g VARCHAR, gp_gs VARCHAR, effic VARCHAR)[/INST]SELECT COUNT(avg_g) FROM table_name_82 WHERE gp_gs = "13–13" AND effic < 114.23</s>
CREATE TABLE table_name_95 (total INTEGER, nation VARCHAR, rank VARCHAR)
SELECT MIN(total) FROM table_name_95 WHERE nation = "japan" AND rank > 3
What is the smallest total from Japan with a rank larger than 3?
<s>[INST]What is the smallest total from Japan with a rank larger than 3? Context: CREATE TABLE table_name_95 (total INTEGER, nation VARCHAR, rank VARCHAR)[/INST]SELECT MIN(total) FROM table_name_95 WHERE nation = "japan" AND rank > 3</s>
CREATE TABLE table_22517564_3 (post VARCHAR, horse_name VARCHAR)
SELECT post FROM table_22517564_3 WHERE horse_name = "Chocolate Candy"
Which post had the horse named chocolate candy?
<s>[INST]Which post had the horse named chocolate candy? Context: CREATE TABLE table_22517564_3 (post VARCHAR, horse_name VARCHAR)[/INST]SELECT post FROM table_22517564_3 WHERE horse_name = "Chocolate Candy"</s>
CREATE TABLE table_name_57 (grid VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_57 WHERE driver = "karl wendlinger"
What is Karl Wendlinger's total grid #?
<s>[INST]What is Karl Wendlinger's total grid #? Context: CREATE TABLE table_name_57 (grid VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_57 WHERE driver = "karl wendlinger"</s>
CREATE TABLE table_name_91 (ship VARCHAR, built VARCHAR)
SELECT ship FROM table_name_91 WHERE built = 2012
What ship was built in 2012?
<s>[INST]What ship was built in 2012? Context: CREATE TABLE table_name_91 (ship VARCHAR, built VARCHAR)[/INST]SELECT ship FROM table_name_91 WHERE built = 2012</s>
CREATE TABLE table_name_72 (score VARCHAR, event VARCHAR)
SELECT COUNT(score) FROM table_name_72 WHERE event = "36 arrow finals"
What is the total score for the 36 arrow finals event?
<s>[INST]What is the total score for the 36 arrow finals event? Context: CREATE TABLE table_name_72 (score VARCHAR, event VARCHAR)[/INST]SELECT COUNT(score) FROM table_name_72 WHERE event = "36 arrow finals"</s>
CREATE TABLE table_name_24 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_24 WHERE player = "herbert s. graver"
Player of herbert s. graver has what position?
<s>[INST]Player of herbert s. graver has what position? Context: CREATE TABLE table_name_24 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_24 WHERE player = "herbert s. graver"</s>
CREATE TABLE table_name_78 (format VARCHAR, release_date VARCHAR)
SELECT format FROM table_name_78 WHERE release_date = "august 1996"
What format was released in August 1996?
<s>[INST]What format was released in August 1996? Context: CREATE TABLE table_name_78 (format VARCHAR, release_date VARCHAR)[/INST]SELECT format FROM table_name_78 WHERE release_date = "august 1996"</s>
CREATE TABLE customers (company VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT company FROM customers WHERE first_name = "Eduardo" AND last_name = "Martins"
Eduardo Martins is a customer at which company?
<s>[INST]Eduardo Martins is a customer at which company? Context: CREATE TABLE customers (company VARCHAR, first_name VARCHAR, last_name VARCHAR)[/INST]SELECT company FROM customers WHERE first_name = "Eduardo" AND last_name = "Martins"</s>
CREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR)
SELECT island FROM table_18946749_1 WHERE peak = "Mount Wondiwoi"
When mount wondiwoi is the peak what is the island?
<s>[INST]When mount wondiwoi is the peak what is the island? Context: CREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR)[/INST]SELECT island FROM table_18946749_1 WHERE peak = "Mount Wondiwoi"</s>
CREATE TABLE table_name_85 (fa_cup_goals INTEGER, total_apps__sub_ VARCHAR, total_goals VARCHAR)
SELECT MAX(fa_cup_goals) FROM table_name_85 WHERE total_apps__sub_ = "52" AND total_goals < 5
What division has the highest FA Cup Goals, but a Total Goal score less than 5, and a Total Apps of 52?
<s>[INST]What division has the highest FA Cup Goals, but a Total Goal score less than 5, and a Total Apps of 52? Context: CREATE TABLE table_name_85 (fa_cup_goals INTEGER, total_apps__sub_ VARCHAR, total_goals VARCHAR)[/INST]SELECT MAX(fa_cup_goals) FROM table_name_85 WHERE total_apps__sub_ = "52" AND total_goals < 5</...
CREATE TABLE table_name_1 (weekly_rank___number_ VARCHAR)
SELECT 18 AS _49__rating_share_ FROM table_name_1 WHERE weekly_rank___number_ = "30"
Name the 18-49 rating for weekly rank of 30
<s>[INST]Name the 18-49 rating for weekly rank of 30 Context: CREATE TABLE table_name_1 (weekly_rank___number_ VARCHAR)[/INST]SELECT 18 AS _49__rating_share_ FROM table_name_1 WHERE weekly_rank___number_ = "30"</s>
CREATE TABLE table_1137704_2 (location VARCHAR, date VARCHAR)
SELECT location FROM table_1137704_2 WHERE date = "5 April"
what are all the location where date is 5 april
<s>[INST]what are all the location where date is 5 april Context: CREATE TABLE table_1137704_2 (location VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_1137704_2 WHERE date = "5 April"</s>
CREATE TABLE table_name_23 (date VARCHAR, country VARCHAR)
SELECT date FROM table_name_23 WHERE country = "indonesia"
What was the date of the tournament held in Indonesia?
<s>[INST]What was the date of the tournament held in Indonesia? Context: CREATE TABLE table_name_23 (date VARCHAR, country VARCHAR)[/INST]SELECT date FROM table_name_23 WHERE country = "indonesia"</s>
CREATE TABLE table_19901_1 (rear_sight_type VARCHAR, muzzle_device VARCHAR)
SELECT rear_sight_type FROM table_19901_1 WHERE muzzle_device = "ACR muzzle brake"
What is the rear sight type on the model with the acr muzzle brake device?
<s>[INST]What is the rear sight type on the model with the acr muzzle brake device? Context: CREATE TABLE table_19901_1 (rear_sight_type VARCHAR, muzzle_device VARCHAR)[/INST]SELECT rear_sight_type FROM table_19901_1 WHERE muzzle_device = "ACR muzzle brake"</s>
CREATE TABLE table_211791_1 (nato_us_dod_code VARCHAR, nato_reporting_name VARCHAR)
SELECT nato_us_dod_code FROM table_211791_1 WHERE nato_reporting_name = "SABBOT"
Name the nato/ us dod code for sabbot
<s>[INST]Name the nato/ us dod code for sabbot Context: CREATE TABLE table_211791_1 (nato_us_dod_code VARCHAR, nato_reporting_name VARCHAR)[/INST]SELECT nato_us_dod_code FROM table_211791_1 WHERE nato_reporting_name = "SABBOT"</s>
CREATE TABLE table_22597626_2 (surface VARCHAR, championship VARCHAR, year VARCHAR)
SELECT surface FROM table_22597626_2 WHERE championship = "US Open" AND year = 1979
What is the surface made of if the year is 1979 and the championship is US Open?
<s>[INST]What is the surface made of if the year is 1979 and the championship is US Open? Context: CREATE TABLE table_22597626_2 (surface VARCHAR, championship VARCHAR, year VARCHAR)[/INST]SELECT surface FROM table_22597626_2 WHERE championship = "US Open" AND year = 1979</s>
CREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_27 WHERE tournament = "alcobaça" AND opponent_in_the_final = "xinyun han"
What was the score for alcobaça when the opponent was in the final of xinyun han?
<s>[INST]What was the score for alcobaça when the opponent was in the final of xinyun han? Context: CREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT score FROM table_name_27 WHERE tournament = "alcobaça" AND opponent_in_the_final = "xinyun han"</s>
CREATE TABLE table_20669355_2 (height__ft_ VARCHAR, hometown VARCHAR)
SELECT COUNT(height__ft_) FROM table_20669355_2 WHERE hometown = "Warsaw"
How many different heights are there for the contestants from Warsaw?
<s>[INST]How many different heights are there for the contestants from Warsaw? Context: CREATE TABLE table_20669355_2 (height__ft_ VARCHAR, hometown VARCHAR)[/INST]SELECT COUNT(height__ft_) FROM table_20669355_2 WHERE hometown = "Warsaw"</s>
CREATE TABLE table_14523485_9 (channel VARCHAR, country VARCHAR)
SELECT channel FROM table_14523485_9 WHERE country = "New Zealand"
Where is the show aired in New Zealand?
<s>[INST]Where is the show aired in New Zealand? Context: CREATE TABLE table_14523485_9 (channel VARCHAR, country VARCHAR)[/INST]SELECT channel FROM table_14523485_9 WHERE country = "New Zealand"</s>
CREATE TABLE table_name_44 (Id VARCHAR)
SELECT 1996 FROM table_name_44 WHERE 1997 = "3r"
What's the 1996 when 1997 is 3R?
<s>[INST]What's the 1996 when 1997 is 3R? Context: CREATE TABLE table_name_44 (Id VARCHAR)[/INST]SELECT 1996 FROM table_name_44 WHERE 1997 = "3r"</s>
CREATE TABLE table_2668405_17 (first_elected INTEGER)
SELECT MAX(first_elected) FROM table_2668405_17
What is the latest first elected?
<s>[INST]What is the latest first elected? Context: CREATE TABLE table_2668405_17 (first_elected INTEGER)[/INST]SELECT MAX(first_elected) FROM table_2668405_17</s>
CREATE TABLE table_name_40 (time VARCHAR, name VARCHAR)
SELECT time FROM table_name_40 WHERE name = "sara nordenstam"
What time did Sara Nordenstam get?
<s>[INST]What time did Sara Nordenstam get? Context: CREATE TABLE table_name_40 (time VARCHAR, name VARCHAR)[/INST]SELECT time FROM table_name_40 WHERE name = "sara nordenstam"</s>
CREATE TABLE table_name_17 (location_attendance VARCHAR, game VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_17 WHERE game > 54 AND date = "february 25"
Name the location attendance for game more than 54 on february 25
<s>[INST]Name the location attendance for game more than 54 on february 25 Context: CREATE TABLE table_name_17 (location_attendance VARCHAR, game VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_name_17 WHERE game > 54 AND date = "february 25"</s>
CREATE TABLE table_name_61 (wins INTEGER, against VARCHAR, byes VARCHAR)
SELECT MAX(wins) FROM table_name_61 WHERE against = 1940 AND byes > 0
Which Wins has an Against of 1940, and a Byes larger than 0?
<s>[INST]Which Wins has an Against of 1940, and a Byes larger than 0? Context: CREATE TABLE table_name_61 (wins INTEGER, against VARCHAR, byes VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_61 WHERE against = 1940 AND byes > 0</s>
CREATE TABLE table_11603006_1 (tournament VARCHAR, location VARCHAR)
SELECT COUNT(tournament) FROM table_11603006_1 WHERE location = "Maryland"
How many tournaments were held in Maryland?
<s>[INST]How many tournaments were held in Maryland? Context: CREATE TABLE table_11603006_1 (tournament VARCHAR, location VARCHAR)[/INST]SELECT COUNT(tournament) FROM table_11603006_1 WHERE location = "Maryland"</s>
CREATE TABLE table_name_17 (circuit VARCHAR, winning_driver VARCHAR)
SELECT circuit FROM table_name_17 WHERE winning_driver = "raymond mays"
Which circuit did Raymond Mays win?
<s>[INST]Which circuit did Raymond Mays win? Context: CREATE TABLE table_name_17 (circuit VARCHAR, winning_driver VARCHAR)[/INST]SELECT circuit FROM table_name_17 WHERE winning_driver = "raymond mays"</s>
CREATE TABLE table_name_27 (winner VARCHAR, circuit VARCHAR)
SELECT winner FROM table_name_27 WHERE circuit = "adelaide international raceway"
Who was the winner of the Adelaide International Raceway circuit?
<s>[INST]Who was the winner of the Adelaide International Raceway circuit? Context: CREATE TABLE table_name_27 (winner VARCHAR, circuit VARCHAR)[/INST]SELECT winner FROM table_name_27 WHERE circuit = "adelaide international raceway"</s>
CREATE TABLE table_name_2 (drivers VARCHAR, team VARCHAR, tyre VARCHAR, rounds VARCHAR, make VARCHAR)
SELECT drivers FROM table_name_2 WHERE rounds = "all" AND make = "lexus" AND tyre = "b" AND team = "petronas toyota team tom's"
Which drives drove a lexus, made all rounds, had a tyre of B and was on the team of petronas toyota team tom's?
<s>[INST]Which drives drove a lexus, made all rounds, had a tyre of B and was on the team of petronas toyota team tom's? Context: CREATE TABLE table_name_2 (drivers VARCHAR, team VARCHAR, tyre VARCHAR, rounds VARCHAR, make VARCHAR)[/INST]SELECT drivers FROM table_name_2 WHERE rounds = "all" AND make = "lexus" AND tyre ...
CREATE TABLE table_256286_41 (yes_votes VARCHAR, no_votes VARCHAR, _percentage_yes VARCHAR)
SELECT COUNT(yes_votes) FROM table_256286_41 WHERE no_votes < 299939.1619948521 AND _percentage_yes = "66.49%"
What is the aggregate number of yes votes where no votes is littler than 299939.1619948521 and % yes is 66.49%
<s>[INST]What is the aggregate number of yes votes where no votes is littler than 299939.1619948521 and % yes is 66.49% Context: CREATE TABLE table_256286_41 (yes_votes VARCHAR, no_votes VARCHAR, _percentage_yes VARCHAR)[/INST]SELECT COUNT(yes_votes) FROM table_256286_41 WHERE no_votes < 299939.1619948521 AND _percenta...
CREATE TABLE table_14871601_1 (draws INTEGER, points VARCHAR)
SELECT MIN(draws) FROM table_14871601_1 WHERE points = 21
What is the smallest draws value with 21 points?
<s>[INST]What is the smallest draws value with 21 points? Context: CREATE TABLE table_14871601_1 (draws INTEGER, points VARCHAR)[/INST]SELECT MIN(draws) FROM table_14871601_1 WHERE points = 21</s>
CREATE TABLE table_name_5 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_5 WHERE venue = "vfl park"
At the venue Vfl Park, what was the Home team score?
<s>[INST]At the venue Vfl Park, what was the Home team score? Context: CREATE TABLE table_name_5 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_5 WHERE venue = "vfl park"</s>