context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_61 (points INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MAX(points) FROM table_name_61 WHERE driver = "dan clarke" AND grid > 10
What is the highest points total scored by Dan Clarke in a grid higher than 10?
<s>[INST]What is the highest points total scored by Dan Clarke in a grid higher than 10? Context: CREATE TABLE table_name_61 (points INTEGER, driver VARCHAR, grid VARCHAR)[/INST]SELECT MAX(points) FROM table_name_61 WHERE driver = "dan clarke" AND grid > 10</s>
CREATE TABLE table_19948664_2 (year_of_publication VARCHAR, ranking_la__2_ VARCHAR)
SELECT year_of_publication FROM table_19948664_2 WHERE ranking_la__2_ = "1st"
What was the publication year ranking l.a. is 1st?
<s>[INST]What was the publication year ranking l.a. is 1st? Context: CREATE TABLE table_19948664_2 (year_of_publication VARCHAR, ranking_la__2_ VARCHAR)[/INST]SELECT year_of_publication FROM table_19948664_2 WHERE ranking_la__2_ = "1st"</s>
CREATE TABLE table_10360656_1 (round INTEGER, player_name VARCHAR)
SELECT MAX(round) FROM table_10360656_1 WHERE player_name = "Steve Stonebreaker"
What round was Steve Stonebreaker drafted?
<s>[INST]What round was Steve Stonebreaker drafted? Context: CREATE TABLE table_10360656_1 (round INTEGER, player_name VARCHAR)[/INST]SELECT MAX(round) FROM table_10360656_1 WHERE player_name = "Steve Stonebreaker"</s>
CREATE TABLE table_name_34 (studio VARCHAR, rank VARCHAR, gross VARCHAR)
SELECT studio FROM table_name_34 WHERE rank > 13 AND gross = "$83,531,958"
Which studio grossed $83,531,958 and ranked lower than 13?
<s>[INST]Which studio grossed $83,531,958 and ranked lower than 13? Context: CREATE TABLE table_name_34 (studio VARCHAR, rank VARCHAR, gross VARCHAR)[/INST]SELECT studio FROM table_name_34 WHERE rank > 13 AND gross = "$83,531,958"</s>
CREATE TABLE table_name_82 (date VARCHAR, effect VARCHAR, place VARCHAR)
SELECT date FROM table_name_82 WHERE effect = "shot down" AND place = "south of stanley airport"
What is Date, when Effect is "Shot Down", and when Place is "South of Stanley Airport"?
<s>[INST]What is Date, when Effect is "Shot Down", and when Place is "South of Stanley Airport"? Context: CREATE TABLE table_name_82 (date VARCHAR, effect VARCHAR, place VARCHAR)[/INST]SELECT date FROM table_name_82 WHERE effect = "shot down" AND place = "south of stanley airport"</s>
CREATE TABLE table_name_2 (runs VARCHAR, venue VARCHAR, player VARCHAR)
SELECT runs FROM table_name_2 WHERE venue = "bellerive oval , hobart" AND player = "travis birt"
Name the Runs that has a Venue of bellerive oval , hobart, and a Player of travis birt?
<s>[INST]Name the Runs that has a Venue of bellerive oval , hobart, and a Player of travis birt? Context: CREATE TABLE table_name_2 (runs VARCHAR, venue VARCHAR, player VARCHAR)[/INST]SELECT runs FROM table_name_2 WHERE venue = "bellerive oval , hobart" AND player = "travis birt"</s>
CREATE TABLE table_1182314_5 (percent__1990_ VARCHAR, state VARCHAR)
SELECT percent__1990_ FROM table_1182314_5 WHERE state = "Mississippi"
what are all the percent (1990) where state is mississippi
<s>[INST]what are all the percent (1990) where state is mississippi Context: CREATE TABLE table_1182314_5 (percent__1990_ VARCHAR, state VARCHAR)[/INST]SELECT percent__1990_ FROM table_1182314_5 WHERE state = "Mississippi"</s>
CREATE TABLE table_name_15 (player VARCHAR, opponent VARCHAR, team VARCHAR)
SELECT player FROM table_name_15 WHERE opponent = "st kilda" AND team = "richmond"
What richmond player played against st kilda?
<s>[INST]What richmond player played against st kilda? Context: CREATE TABLE table_name_15 (player VARCHAR, opponent VARCHAR, team VARCHAR)[/INST]SELECT player FROM table_name_15 WHERE opponent = "st kilda" AND team = "richmond"</s>
CREATE TABLE table_name_84 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_84 WHERE grid = 13
who is the driver with the grid of 13?
<s>[INST]who is the driver with the grid of 13? Context: CREATE TABLE table_name_84 (driver VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_84 WHERE grid = 13</s>
CREATE TABLE table_12407546_1 (fencing VARCHAR, running VARCHAR)
SELECT fencing FROM table_12407546_1 WHERE running = "9:40.31 (1080 pts)"
What's the fencing score of the player with 9:40.31 (1080 pts) in running?
<s>[INST]What's the fencing score of the player with 9:40.31 (1080 pts) in running? Context: CREATE TABLE table_12407546_1 (fencing VARCHAR, running VARCHAR)[/INST]SELECT fencing FROM table_12407546_1 WHERE running = "9:40.31 (1080 pts)"</s>
CREATE TABLE table_name_33 (home VARCHAR, opponent VARCHAR)
SELECT home FROM table_name_33 WHERE opponent = "marek dupnitsa"
What is the home score with marek dupnitsa as opponent?
<s>[INST]What is the home score with marek dupnitsa as opponent? Context: CREATE TABLE table_name_33 (home VARCHAR, opponent VARCHAR)[/INST]SELECT home FROM table_name_33 WHERE opponent = "marek dupnitsa"</s>
CREATE TABLE table_name_89 (operator VARCHAR, project_name VARCHAR, peak VARCHAR, year_startup VARCHAR)
SELECT operator FROM table_name_89 WHERE peak = "90" AND year_startup = "2010" AND project_name = "aosp expansion 1 (jackpine ph 1a)"
What is the operator for peak 90, in startup year 2010 for the project named Aosp expansion 1 (jackpine ph 1a)?
<s>[INST]What is the operator for peak 90, in startup year 2010 for the project named Aosp expansion 1 (jackpine ph 1a)? Context: CREATE TABLE table_name_89 (operator VARCHAR, project_name VARCHAR, peak VARCHAR, year_startup VARCHAR)[/INST]SELECT operator FROM table_name_89 WHERE peak = "90" AND year_startup = "2010" A...
CREATE TABLE table_23915_4 (translation VARCHAR, ipa___rio_de_janeiro__ VARCHAR)
SELECT translation FROM table_23915_4 WHERE ipa___rio_de_janeiro__ = "ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə"
What is the original of the ipa ( rio de janeiro )translation ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə?
<s>[INST]What is the original of the ipa ( rio de janeiro )translation ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə? Context: CREATE TABLE table_23915_4 (translation VARCHAR, ipa___rio_de_janeiro__ VARCHAR)[/INST]SELECT translation FROM table_23915_4 WHERE ipa___rio_de_janeiro__ = "ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə"</s>
CREATE TABLE table_2333416_2 (year VARCHAR, position VARCHAR)
SELECT COUNT(year) FROM table_2333416_2 WHERE position = "38th"
How many seasons did Ken Bouchard finish in 38th place?
<s>[INST]How many seasons did Ken Bouchard finish in 38th place? Context: CREATE TABLE table_2333416_2 (year VARCHAR, position VARCHAR)[/INST]SELECT COUNT(year) FROM table_2333416_2 WHERE position = "38th"</s>
CREATE TABLE table_1342198_25 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_1342198_25 WHERE incumbent = "Phil J. Welch"
In what year was Phil J. Welch first elected?
<s>[INST]In what year was Phil J. Welch first elected? Context: CREATE TABLE table_1342198_25 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT first_elected FROM table_1342198_25 WHERE incumbent = "Phil J. Welch"</s>
CREATE TABLE table_name_34 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_34 WHERE date = "january 6, 2008"
What's the average attendance on january 6, 2008?
<s>[INST]What's the average attendance on january 6, 2008? Context: CREATE TABLE table_name_34 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_34 WHERE date = "january 6, 2008"</s>
CREATE TABLE table_name_4 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_4 WHERE home_team = "essendon"
How many points did the home team Essendon score?
<s>[INST]How many points did the home team Essendon score? Context: CREATE TABLE table_name_4 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_4 WHERE home_team = "essendon"</s>
CREATE TABLE table_name_94 (rank VARCHAR, bronze VARCHAR)
SELECT rank FROM table_name_94 WHERE bronze = 3
Which Rank has a Bronze of 3?
<s>[INST]Which Rank has a Bronze of 3? Context: CREATE TABLE table_name_94 (rank VARCHAR, bronze VARCHAR)[/INST]SELECT rank FROM table_name_94 WHERE bronze = 3</s>
CREATE TABLE table_name_38 (week INTEGER, result VARCHAR)
SELECT MAX(week) FROM table_name_38 WHERE result = "w 33-14"
What is the highest week with a w 33-14 result?
<s>[INST]What is the highest week with a w 33-14 result? Context: CREATE TABLE table_name_38 (week INTEGER, result VARCHAR)[/INST]SELECT MAX(week) FROM table_name_38 WHERE result = "w 33-14"</s>
CREATE TABLE table_25818630_2 (votes__cast VARCHAR, constituency VARCHAR)
SELECT votes__cast FROM table_25818630_2 WHERE constituency = "Midlothian"
How many votes were cast when the constituency was midlothian?
<s>[INST]How many votes were cast when the constituency was midlothian? Context: CREATE TABLE table_25818630_2 (votes__cast VARCHAR, constituency VARCHAR)[/INST]SELECT votes__cast FROM table_25818630_2 WHERE constituency = "Midlothian"</s>
CREATE TABLE table_name_21 (opponent VARCHAR, points VARCHAR, november VARCHAR)
SELECT opponent FROM table_name_21 WHERE points < 18 AND november > 11
Which opponent has points less than 18, and a november greater than 11?
<s>[INST]Which opponent has points less than 18, and a november greater than 11? Context: CREATE TABLE table_name_21 (opponent VARCHAR, points VARCHAR, november VARCHAR)[/INST]SELECT opponent FROM table_name_21 WHERE points < 18 AND november > 11</s>
CREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_30 WHERE home_team = "horsham"
What away team did Horsham play?
<s>[INST]What away team did Horsham play? Context: CREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_30 WHERE home_team = "horsham"</s>
CREATE TABLE table_name_13 (pl_gp VARCHAR, pick__number VARCHAR, rd__number VARCHAR)
SELECT COUNT(pl_gp) FROM table_name_13 WHERE pick__number = 178 AND rd__number > 9
What is the sum number of Pl GP when the pick number is 178 and the road number is bigger than 9?
<s>[INST]What is the sum number of Pl GP when the pick number is 178 and the road number is bigger than 9? Context: CREATE TABLE table_name_13 (pl_gp VARCHAR, pick__number VARCHAR, rd__number VARCHAR)[/INST]SELECT COUNT(pl_gp) FROM table_name_13 WHERE pick__number = 178 AND rd__number > 9</s>
CREATE TABLE table_name_82 (enrolment INTEGER, founded VARCHAR, denomination VARCHAR, day_boarding VARCHAR)
SELECT MAX(enrolment) FROM table_name_82 WHERE denomination = "anglican" AND day_boarding = "day" AND founded > 1929
What is the largest enrollment for anglican day schools founded after 1929?
<s>[INST]What is the largest enrollment for anglican day schools founded after 1929? Context: CREATE TABLE table_name_82 (enrolment INTEGER, founded VARCHAR, denomination VARCHAR, day_boarding VARCHAR)[/INST]SELECT MAX(enrolment) FROM table_name_82 WHERE denomination = "anglican" AND day_boarding = "day" AND founded > ...
CREATE TABLE table_name_41 (playoffs_1 VARCHAR, season VARCHAR)
SELECT playoffs_1 FROM table_name_41 WHERE season = "2004-05"
What is the playoffs 1 result of season 2004-05?
<s>[INST]What is the playoffs 1 result of season 2004-05? Context: CREATE TABLE table_name_41 (playoffs_1 VARCHAR, season VARCHAR)[/INST]SELECT playoffs_1 FROM table_name_41 WHERE season = "2004-05"</s>
CREATE TABLE table_2203760_4 (domestic_box_office VARCHAR, foreign_box_office VARCHAR)
SELECT domestic_box_office FROM table_2203760_4 WHERE foreign_box_office = "$26,600,000"
What was the domestic box office for the film that had a foreign box office of $26,600,000?
<s>[INST]What was the domestic box office for the film that had a foreign box office of $26,600,000? Context: CREATE TABLE table_2203760_4 (domestic_box_office VARCHAR, foreign_box_office VARCHAR)[/INST]SELECT domestic_box_office FROM table_2203760_4 WHERE foreign_box_office = "$26,600,000"</s>
CREATE TABLE table_1818254_1 (population INTEGER, city VARCHAR)
SELECT MAX(population) FROM table_1818254_1 WHERE city = "Minneapolis"
What was the population of Minneapolis in 2012?
<s>[INST]What was the population of Minneapolis in 2012? Context: CREATE TABLE table_1818254_1 (population INTEGER, city VARCHAR)[/INST]SELECT MAX(population) FROM table_1818254_1 WHERE city = "Minneapolis"</s>
CREATE TABLE table_name_8 (description VARCHAR, weight VARCHAR, year_of_issue VARCHAR, thickness VARCHAR)
SELECT description FROM table_name_8 WHERE year_of_issue = 1983 AND thickness = "1.7mm" AND weight = "3.50grams"
Which Description has a Year of Issue of 1983, and a Thickness of 1.7mm, and a Weight of 3.50grams?
<s>[INST]Which Description has a Year of Issue of 1983, and a Thickness of 1.7mm, and a Weight of 3.50grams? Context: CREATE TABLE table_name_8 (description VARCHAR, weight VARCHAR, year_of_issue VARCHAR, thickness VARCHAR)[/INST]SELECT description FROM table_name_8 WHERE year_of_issue = 1983 AND thickness = "1.7mm" AN...
CREATE TABLE table_26957063_3 (_percentage_similarity_to_c7orf38 INTEGER, _percentage_identity_to_c7orf38 VARCHAR)
SELECT MAX(_percentage_similarity_to_c7orf38) FROM table_26957063_3 WHERE _percentage_identity_to_c7orf38 = 81
What is the % similarity to C7orf38 of the animal whose % identity to C7orf38 is 81?
<s>[INST]What is the % similarity to C7orf38 of the animal whose % identity to C7orf38 is 81? Context: CREATE TABLE table_26957063_3 (_percentage_similarity_to_c7orf38 INTEGER, _percentage_identity_to_c7orf38 VARCHAR)[/INST]SELECT MAX(_percentage_similarity_to_c7orf38) FROM table_26957063_3 WHERE _percentage_identity_t...
CREATE TABLE table_name_63 (batting_team VARCHAR, venue VARCHAR, season VARCHAR)
SELECT batting_team FROM table_name_63 WHERE venue = "chittagong" AND season = "2003"
What batting team played in Chittagong in 2003?
<s>[INST]What batting team played in Chittagong in 2003? Context: CREATE TABLE table_name_63 (batting_team VARCHAR, venue VARCHAR, season VARCHAR)[/INST]SELECT batting_team FROM table_name_63 WHERE venue = "chittagong" AND season = "2003"</s>
CREATE TABLE table_name_52 (english VARCHAR, four VARCHAR, house VARCHAR, three VARCHAR)
SELECT english FROM table_name_52 WHERE house = "balay" AND three = "tatlo" AND four = "apat"
What is the language, when "house" is "balay", when "three" is "tatlo", and when "four" is "apat"?
<s>[INST]What is the language, when "house" is "balay", when "three" is "tatlo", and when "four" is "apat"? Context: CREATE TABLE table_name_52 (english VARCHAR, four VARCHAR, house VARCHAR, three VARCHAR)[/INST]SELECT english FROM table_name_52 WHERE house = "balay" AND three = "tatlo" AND four = "apat"</s>
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR)
SELECT fifth_district FROM table_15442974_1 WHERE third_district = "William Womer"
Name the fifth district for william womer
<s>[INST]Name the fifth district for william womer Context: CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR)[/INST]SELECT fifth_district FROM table_15442974_1 WHERE third_district = "William Womer"</s>
CREATE TABLE table_name_72 (song VARCHAR, draw VARCHAR, percentage VARCHAR)
SELECT song FROM table_name_72 WHERE draw < 4 AND percentage = "32.22%"
What Song has a Draw of less than 4 with a Percentage of 32.22%?
<s>[INST]What Song has a Draw of less than 4 with a Percentage of 32.22%? Context: CREATE TABLE table_name_72 (song VARCHAR, draw VARCHAR, percentage VARCHAR)[/INST]SELECT song FROM table_name_72 WHERE draw < 4 AND percentage = "32.22%"</s>
CREATE TABLE table_name_21 (position VARCHAR)
SELECT COUNT(position) FROM table_name_21 WHERE 2012 = "0.92"
What is the number of positions that have 2012 ratings of 0.92?
<s>[INST]What is the number of positions that have 2012 ratings of 0.92? Context: CREATE TABLE table_name_21 (position VARCHAR)[/INST]SELECT COUNT(position) FROM table_name_21 WHERE 2012 = "0.92"</s>
CREATE TABLE table_1342149_43 (party VARCHAR, result VARCHAR, district VARCHAR)
SELECT party FROM table_1342149_43 WHERE result = "Re-elected" AND district = "Texas 11"
What party did the re-elected incumbent of the Texas 11 district belong to?
<s>[INST]What party did the re-elected incumbent of the Texas 11 district belong to? Context: CREATE TABLE table_1342149_43 (party VARCHAR, result VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_1342149_43 WHERE result = "Re-elected" AND district = "Texas 11"</s>
CREATE TABLE film (Director VARCHAR)
SELECT DISTINCT Director FROM film
List the distinct director of all films.
<s>[INST]List the distinct director of all films. Context: CREATE TABLE film (Director VARCHAR)[/INST]SELECT DISTINCT Director FROM film</s>
CREATE TABLE table_14098_1 (country_or_territory_with_flag VARCHAR, capital VARCHAR)
SELECT country_or_territory_with_flag FROM table_14098_1 WHERE capital = "Buenos Aires"
What country's capital is buenos aires?
<s>[INST]What country's capital is buenos aires? Context: CREATE TABLE table_14098_1 (country_or_territory_with_flag VARCHAR, capital VARCHAR)[/INST]SELECT country_or_territory_with_flag FROM table_14098_1 WHERE capital = "Buenos Aires"</s>
CREATE TABLE table_name_34 (silver INTEGER, bronze INTEGER)
SELECT MIN(silver) FROM table_name_34 WHERE bronze < 0
What is the smallest silver that has a bronze less than 0?
<s>[INST]What is the smallest silver that has a bronze less than 0? Context: CREATE TABLE table_name_34 (silver INTEGER, bronze INTEGER)[/INST]SELECT MIN(silver) FROM table_name_34 WHERE bronze < 0</s>
CREATE TABLE table_name_59 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_59 WHERE player = "craig parry"
What country is Craig Parry from?
<s>[INST]What country is Craig Parry from? Context: CREATE TABLE table_name_59 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_59 WHERE player = "craig parry"</s>
CREATE TABLE table_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR)
SELECT japanese_orthography FROM table_11390711_4 WHERE english_name = "National Farmers Academy"
What is the Japanese orthography for the English name National Farmers Academy?
<s>[INST]What is the Japanese orthography for the English name National Farmers Academy? Context: CREATE TABLE table_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR)[/INST]SELECT japanese_orthography FROM table_11390711_4 WHERE english_name = "National Farmers Academy"</s>
CREATE TABLE table_name_75 (staffel_a VARCHAR, staffel_b VARCHAR, staffel_d VARCHAR, staffel_c VARCHAR)
SELECT staffel_a FROM table_name_75 WHERE staffel_d = "energie cottbus" AND staffel_c = "chemie leipzig" AND staffel_b = "1. fc union berlin"
What is the Staffel A that has a Staffel D of Energie Cottbus and a Staffel C of Chemie Leipzig and a Staffel B of 1. FC Union Berlin?
<s>[INST]What is the Staffel A that has a Staffel D of Energie Cottbus and a Staffel C of Chemie Leipzig and a Staffel B of 1. FC Union Berlin? Context: CREATE TABLE table_name_75 (staffel_a VARCHAR, staffel_b VARCHAR, staffel_d VARCHAR, staffel_c VARCHAR)[/INST]SELECT staffel_a FROM table_name_75 WHERE staffel_d = "en...
CREATE TABLE table_name_75 (time VARCHAR, method VARCHAR, record VARCHAR)
SELECT time FROM table_name_75 WHERE method = "tko (doctor stoppage)" AND record = "9-0"
What was the time of the match with a record of 9-0 and used the tko (doctor stoppage) method?
<s>[INST]What was the time of the match with a record of 9-0 and used the tko (doctor stoppage) method? Context: CREATE TABLE table_name_75 (time VARCHAR, method VARCHAR, record VARCHAR)[/INST]SELECT time FROM table_name_75 WHERE method = "tko (doctor stoppage)" AND record = "9-0"</s>
CREATE TABLE table_name_40 (driver VARCHAR, percentage_of_possible_points VARCHAR, points VARCHAR, season VARCHAR)
SELECT driver FROM table_name_40 WHERE points > 252 AND season = "2012" AND percentage_of_possible_points = "55.60%"
Which driver had points over 252 in the season of 2012 with a percentage of possible points at 55.60%?
<s>[INST]Which driver had points over 252 in the season of 2012 with a percentage of possible points at 55.60%? Context: CREATE TABLE table_name_40 (driver VARCHAR, percentage_of_possible_points VARCHAR, points VARCHAR, season VARCHAR)[/INST]SELECT driver FROM table_name_40 WHERE points > 252 AND season = "2012" AND pe...
CREATE TABLE table_10007452_3 (order_year VARCHAR, fleet_series__quantity_ VARCHAR)
SELECT COUNT(order_year) FROM table_10007452_3 WHERE fleet_series__quantity_ = "468-473 (6)"
how many times is the fleet series (quantity) is 468-473 (6)?
<s>[INST]how many times is the fleet series (quantity) is 468-473 (6)? Context: CREATE TABLE table_10007452_3 (order_year VARCHAR, fleet_series__quantity_ VARCHAR)[/INST]SELECT COUNT(order_year) FROM table_10007452_3 WHERE fleet_series__quantity_ = "468-473 (6)"</s>
CREATE TABLE table_2417308_3 (state__class_ VARCHAR, successor VARCHAR)
SELECT state__class_ FROM table_2417308_3 WHERE successor = "William Bigler (D)"
What state had william bigler (d) as a successor)
<s>[INST]What state had william bigler (d) as a successor) Context: CREATE TABLE table_2417308_3 (state__class_ VARCHAR, successor VARCHAR)[/INST]SELECT state__class_ FROM table_2417308_3 WHERE successor = "William Bigler (D)"</s>
CREATE TABLE table_19834691_4 (viewers__millions_ VARCHAR, audience_share_in_timeslot VARCHAR)
SELECT COUNT(viewers__millions_) FROM table_19834691_4 WHERE audience_share_in_timeslot = "10.2%"
Name the total number of viewers for audience share in timeslot for 10.2%
<s>[INST]Name the total number of viewers for audience share in timeslot for 10.2% Context: CREATE TABLE table_19834691_4 (viewers__millions_ VARCHAR, audience_share_in_timeslot VARCHAR)[/INST]SELECT COUNT(viewers__millions_) FROM table_19834691_4 WHERE audience_share_in_timeslot = "10.2%"</s>
CREATE TABLE table_name_96 (poles VARCHAR, races VARCHAR)
SELECT poles FROM table_name_96 WHERE races = "4"
What is the number of poles with 4 races?
<s>[INST]What is the number of poles with 4 races? Context: CREATE TABLE table_name_96 (poles VARCHAR, races VARCHAR)[/INST]SELECT poles FROM table_name_96 WHERE races = "4"</s>
CREATE TABLE table_14752049_6 (international_tourist_arrivals__2012_ VARCHAR, rank VARCHAR)
SELECT COUNT(international_tourist_arrivals__2012_) FROM table_14752049_6 WHERE rank = 1
When the 1 is the rank what is the overall amount of international tourist arrivals in 2012?
<s>[INST]When the 1 is the rank what is the overall amount of international tourist arrivals in 2012? Context: CREATE TABLE table_14752049_6 (international_tourist_arrivals__2012_ VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(international_tourist_arrivals__2012_) FROM table_14752049_6 WHERE rank = 1</s>
CREATE TABLE table_10020178_1 (canton VARCHAR, name VARCHAR)
SELECT canton FROM table_10020178_1 WHERE name = "Grande Dixence"
What is the canton of grande dixence?
<s>[INST]What is the canton of grande dixence? Context: CREATE TABLE table_10020178_1 (canton VARCHAR, name VARCHAR)[/INST]SELECT canton FROM table_10020178_1 WHERE name = "Grande Dixence"</s>
CREATE TABLE table_name_99 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)
SELECT MIN(inhabitants) FROM table_name_99 WHERE party = "democratic party" AND municipality = "florence" AND election < 2009
Which Inhabitants have a Party of democratic party, and a Municipality of florence, and an Election smaller than 2009?
<s>[INST]Which Inhabitants have a Party of democratic party, and a Municipality of florence, and an Election smaller than 2009? Context: CREATE TABLE table_name_99 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)[/INST]SELECT MIN(inhabitants) FROM table_name_99 WHERE party = "democratic part...
CREATE TABLE table_name_89 (year INTEGER, director VARCHAR)
SELECT MAX(year) FROM table_name_89 WHERE director = "christopher kulikowski"
What is the most recent year featuring the director Christopher Kulikowski?
<s>[INST]What is the most recent year featuring the director Christopher Kulikowski? Context: CREATE TABLE table_name_89 (year INTEGER, director VARCHAR)[/INST]SELECT MAX(year) FROM table_name_89 WHERE director = "christopher kulikowski"</s>
CREATE TABLE table_name_38 (against INTEGER, club VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT MIN(against) FROM table_name_38 WHERE losses > 10 AND wins < 4 AND club = "dunolly"
Which Against has Losses larger than 10, and Wins smaller than 4, and a Club of dunolly?
<s>[INST]Which Against has Losses larger than 10, and Wins smaller than 4, and a Club of dunolly? Context: CREATE TABLE table_name_38 (against INTEGER, club VARCHAR, losses VARCHAR, wins VARCHAR)[/INST]SELECT MIN(against) FROM table_name_38 WHERE losses > 10 AND wins < 4 AND club = "dunolly"</s>
CREATE TABLE table_24491017_1 (team VARCHAR, f_laps VARCHAR)
SELECT team FROM table_24491017_1 WHERE f_laps = 10
What team was he on when he had 10 f/laps?
<s>[INST]What team was he on when he had 10 f/laps? Context: CREATE TABLE table_24491017_1 (team VARCHAR, f_laps VARCHAR)[/INST]SELECT team FROM table_24491017_1 WHERE f_laps = 10</s>
CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_21 WHERE date = "april 27"
What was the result of April 27's game?
<s>[INST]What was the result of April 27's game? Context: CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_21 WHERE date = "april 27"</s>
CREATE TABLE table_name_91 (rank INTEGER, name VARCHAR)
SELECT MIN(rank) FROM table_name_91 WHERE name = "maxim podoprigora"
What was Maxim Podoprigora's lowest rank?
<s>[INST]What was Maxim Podoprigora's lowest rank? Context: CREATE TABLE table_name_91 (rank INTEGER, name VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_91 WHERE name = "maxim podoprigora"</s>
CREATE TABLE table_name_22 (club VARCHAR, replacement VARCHAR)
SELECT club FROM table_name_22 WHERE replacement = "aykut kocaman"
What is the club the used aykut kocaman as the replacement?
<s>[INST]What is the club the used aykut kocaman as the replacement? Context: CREATE TABLE table_name_22 (club VARCHAR, replacement VARCHAR)[/INST]SELECT club FROM table_name_22 WHERE replacement = "aykut kocaman"</s>
CREATE TABLE table_name_45 (set_2 VARCHAR, date VARCHAR, set_3 VARCHAR)
SELECT set_2 FROM table_name_45 WHERE date = "25 may" AND set_3 = "21–25"
Which Set 2 has a Date of 25 may, and a Set 3 of 21–25?
<s>[INST]Which Set 2 has a Date of 25 may, and a Set 3 of 21–25? Context: CREATE TABLE table_name_45 (set_2 VARCHAR, date VARCHAR, set_3 VARCHAR)[/INST]SELECT set_2 FROM table_name_45 WHERE date = "25 may" AND set_3 = "21–25"</s>
CREATE TABLE table_name_27 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_27 WHERE player = "gary player"
What place was Gary Player after two rounds?
<s>[INST]What place was Gary Player after two rounds? Context: CREATE TABLE table_name_27 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_27 WHERE player = "gary player"</s>
CREATE TABLE table_name_56 (share INTEGER, rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__timeslot_ VARCHAR)
SELECT AVG(share) FROM table_name_56 WHERE viewers__millions_ > 7.82 AND rank__timeslot_ = "3" AND rank__week_ = "54"
What is the average share for episodes with over 7.82 viewers, ranks of 3 and a weekly rank of 54?
<s>[INST]What is the average share for episodes with over 7.82 viewers, ranks of 3 and a weekly rank of 54? Context: CREATE TABLE table_name_56 (share INTEGER, rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__timeslot_ VARCHAR)[/INST]SELECT AVG(share) FROM table_name_56 WHERE viewers__millions_ > 7.82 AND rank__t...
CREATE TABLE table_name_16 (laps INTEGER, rider VARCHAR)
SELECT MIN(laps) FROM table_name_16 WHERE rider = "mattia pasini"
How many laps did Mattia Pasini ride?
<s>[INST]How many laps did Mattia Pasini ride? Context: CREATE TABLE table_name_16 (laps INTEGER, rider VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_16 WHERE rider = "mattia pasini"</s>
CREATE TABLE table_name_74 (escorts VARCHAR, cruisers VARCHAR)
SELECT escorts FROM table_name_74 WHERE cruisers = "6"
How many escorts does the nation with 6 cruisers have?
<s>[INST]How many escorts does the nation with 6 cruisers have? Context: CREATE TABLE table_name_74 (escorts VARCHAR, cruisers VARCHAR)[/INST]SELECT escorts FROM table_name_74 WHERE cruisers = "6"</s>
CREATE TABLE table_name_37 (length VARCHAR, stage VARCHAR)
SELECT length FROM table_name_37 WHERE stage = "9"
Which length has a Stage of 9?
<s>[INST]Which length has a Stage of 9? Context: CREATE TABLE table_name_37 (length VARCHAR, stage VARCHAR)[/INST]SELECT length FROM table_name_37 WHERE stage = "9"</s>
CREATE TABLE table_1242447_1 (strongs_transliteration VARCHAR, english_spelling VARCHAR)
SELECT COUNT(strongs_transliteration) FROM table_1242447_1 WHERE english_spelling = "Jehojakin"
How many strongs transliteration of the english spelling of the work jehojakin?
<s>[INST]How many strongs transliteration of the english spelling of the work jehojakin? Context: CREATE TABLE table_1242447_1 (strongs_transliteration VARCHAR, english_spelling VARCHAR)[/INST]SELECT COUNT(strongs_transliteration) FROM table_1242447_1 WHERE english_spelling = "Jehojakin"</s>
CREATE TABLE table_name_64 (total VARCHAR, concacaf VARCHAR, mls_cup VARCHAR)
SELECT COUNT(total) FROM table_name_64 WHERE concacaf = 0 AND mls_cup < 6
How many Totals have a CONCACAF of 0, and an MLS Cup smaller than 6?
<s>[INST]How many Totals have a CONCACAF of 0, and an MLS Cup smaller than 6? Context: CREATE TABLE table_name_64 (total VARCHAR, concacaf VARCHAR, mls_cup VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_64 WHERE concacaf = 0 AND mls_cup < 6</s>
CREATE TABLE table_name_90 (poles VARCHAR, season VARCHAR, points VARCHAR)
SELECT poles FROM table_name_90 WHERE season = 2009 AND points = "test driver"
Which pole has a Season of 2009 and points of test driver?
<s>[INST]Which pole has a Season of 2009 and points of test driver? Context: CREATE TABLE table_name_90 (poles VARCHAR, season VARCHAR, points VARCHAR)[/INST]SELECT poles FROM table_name_90 WHERE season = 2009 AND points = "test driver"</s>
CREATE TABLE table_name_31 (introduced VARCHAR, withdrawn VARCHAR)
SELECT introduced FROM table_name_31 WHERE withdrawn = "1955"
What date was introduced where it was withdrawn 1955?
<s>[INST]What date was introduced where it was withdrawn 1955? Context: CREATE TABLE table_name_31 (introduced VARCHAR, withdrawn VARCHAR)[/INST]SELECT introduced FROM table_name_31 WHERE withdrawn = "1955"</s>
CREATE TABLE table_name_31 (notes VARCHAR, rank VARCHAR, country VARCHAR)
SELECT notes FROM table_name_31 WHERE rank > 4 AND country = "south korea"
What shows for notes when rank is more than 4, and country is South Korea?
<s>[INST]What shows for notes when rank is more than 4, and country is South Korea? Context: CREATE TABLE table_name_31 (notes VARCHAR, rank VARCHAR, country VARCHAR)[/INST]SELECT notes FROM table_name_31 WHERE rank > 4 AND country = "south korea"</s>
CREATE TABLE injury_accident (id VARCHAR, game_id VARCHAR); CREATE TABLE game (id VARCHAR, game_id VARCHAR)
SELECT COUNT(*) FROM game WHERE NOT id IN (SELECT game_id FROM injury_accident)
How many games are free of injury accidents?
<s>[INST]How many games are free of injury accidents? Context: CREATE TABLE injury_accident (id VARCHAR, game_id VARCHAR); CREATE TABLE game (id VARCHAR, game_id VARCHAR)[/INST]SELECT COUNT(*) FROM game WHERE NOT id IN (SELECT game_id FROM injury_accident)</s>
CREATE TABLE table_15431959_1 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_15431959_1 WHERE written_by = "Peter DeLuise"
What was the original air date of Stargate SG-1 written by Peter Deluise?
<s>[INST]What was the original air date of Stargate SG-1 written by Peter Deluise? Context: CREATE TABLE table_15431959_1 (original_air_date VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_15431959_1 WHERE written_by = "Peter DeLuise"</s>
CREATE TABLE table_16295365_1 (record VARCHAR, school VARCHAR)
SELECT record FROM table_16295365_1 WHERE school = "UMBC"
What was the overall record of UMBC?
<s>[INST]What was the overall record of UMBC? Context: CREATE TABLE table_16295365_1 (record VARCHAR, school VARCHAR)[/INST]SELECT record FROM table_16295365_1 WHERE school = "UMBC"</s>
CREATE TABLE table_name_27 (pollutant VARCHAR, regulatory_citation VARCHAR, type VARCHAR)
SELECT pollutant FROM table_name_27 WHERE regulatory_citation = "40 cfr 50.7(a)" AND type = "primary"
what is the polluntant when the regulatory citation is 40 cfr 50.7(a) and the type is primary?
<s>[INST]what is the polluntant when the regulatory citation is 40 cfr 50.7(a) and the type is primary? Context: CREATE TABLE table_name_27 (pollutant VARCHAR, regulatory_citation VARCHAR, type VARCHAR)[/INST]SELECT pollutant FROM table_name_27 WHERE regulatory_citation = "40 cfr 50.7(a)" AND type = "primary"</s>
CREATE TABLE table_name_3 (place INTEGER, draw VARCHAR, points VARCHAR)
SELECT MAX(place) FROM table_name_3 WHERE draw > 1 AND points = 49
Which Place is the highest one that has a Draw larger than 1, and 49 Points?
<s>[INST]Which Place is the highest one that has a Draw larger than 1, and 49 Points? Context: CREATE TABLE table_name_3 (place INTEGER, draw VARCHAR, points VARCHAR)[/INST]SELECT MAX(place) FROM table_name_3 WHERE draw > 1 AND points = 49</s>
CREATE TABLE jobs (job_title VARCHAR, max_salary INTEGER, min_salary VARCHAR)
SELECT job_title, max_salary - min_salary FROM jobs WHERE max_salary BETWEEN 12000 AND 18000
display job Title, the difference between minimum and maximum salaries for those jobs which max salary within the range 12000 to 18000.
<s>[INST]display job Title, the difference between minimum and maximum salaries for those jobs which max salary within the range 12000 to 18000. Context: CREATE TABLE jobs (job_title VARCHAR, max_salary INTEGER, min_salary VARCHAR)[/INST]SELECT job_title, max_salary - min_salary FROM jobs WHERE max_salary BETWEEN 12000...
CREATE TABLE table_name_70 (latitude VARCHAR, distance VARCHAR)
SELECT latitude FROM table_name_70 WHERE distance = "42.5km"
what is the latitude when the distance is 42.5km?
<s>[INST]what is the latitude when the distance is 42.5km? Context: CREATE TABLE table_name_70 (latitude VARCHAR, distance VARCHAR)[/INST]SELECT latitude FROM table_name_70 WHERE distance = "42.5km"</s>
CREATE TABLE table_name_55 (pick VARCHAR, college VARCHAR)
SELECT pick FROM table_name_55 WHERE college = "baylor"
What pick number was the player that went to baylor college?
<s>[INST]What pick number was the player that went to baylor college? Context: CREATE TABLE table_name_55 (pick VARCHAR, college VARCHAR)[/INST]SELECT pick FROM table_name_55 WHERE college = "baylor"</s>
CREATE TABLE table_15621965_14 (player VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_15621965_14 WHERE school_club_team = "Seattle"
Name the player for seattle
<s>[INST]Name the player for seattle Context: CREATE TABLE table_15621965_14 (player VARCHAR, school_club_team VARCHAR)[/INST]SELECT player FROM table_15621965_14 WHERE school_club_team = "Seattle"</s>
CREATE TABLE table_name_74 (cultural_and_educational_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)
SELECT MIN(cultural_and_educational_panel) FROM table_name_74 WHERE nominated_by_the_taoiseach < 5 AND total > 19
What is the smallest cultural and educational panel with a nominated by the Taoiseach less than 5 and the total greater than 19?
<s>[INST]What is the smallest cultural and educational panel with a nominated by the Taoiseach less than 5 and the total greater than 19? Context: CREATE TABLE table_name_74 (cultural_and_educational_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)[/INST]SELECT MIN(cultural_and_educational_panel) FROM ...
CREATE TABLE table_name_4 (fleet_size INTEGER, iata VARCHAR, commenced_operations VARCHAR)
SELECT SUM(fleet_size) FROM table_name_4 WHERE iata = "pr" AND commenced_operations < 1941
What is the of Fleet size with a IATA of pr, and a Commenced operations smaller than 1941?
<s>[INST]What is the of Fleet size with a IATA of pr, and a Commenced operations smaller than 1941? Context: CREATE TABLE table_name_4 (fleet_size INTEGER, iata VARCHAR, commenced_operations VARCHAR)[/INST]SELECT SUM(fleet_size) FROM table_name_4 WHERE iata = "pr" AND commenced_operations < 1941</s>
CREATE TABLE table_name_99 (game INTEGER, location VARCHAR)
SELECT MIN(game) FROM table_name_99 WHERE location = "td waterhouse centre"
What is the earliest game played at the TD Waterhouse Centre?
<s>[INST]What is the earliest game played at the TD Waterhouse Centre? Context: CREATE TABLE table_name_99 (game INTEGER, location VARCHAR)[/INST]SELECT MIN(game) FROM table_name_99 WHERE location = "td waterhouse centre"</s>
CREATE TABLE table_name_62 (season VARCHAR, player VARCHAR, opponent VARCHAR)
SELECT season FROM table_name_62 WHERE player = "tich freeman" AND opponent = "v warwickshire"
Which season did Tich Freeman play against opponent V Warwickshire?
<s>[INST]Which season did Tich Freeman play against opponent V Warwickshire? Context: CREATE TABLE table_name_62 (season VARCHAR, player VARCHAR, opponent VARCHAR)[/INST]SELECT season FROM table_name_62 WHERE player = "tich freeman" AND opponent = "v warwickshire"</s>
CREATE TABLE table_name_45 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_45 WHERE away_team = "footscray"
What was Footscray's score as an away team?
<s>[INST]What was Footscray's score as an away team? Context: CREATE TABLE table_name_45 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_45 WHERE away_team = "footscray"</s>
CREATE TABLE endowment (amount VARCHAR, donator_name VARCHAR)
SELECT amount, donator_name FROM endowment ORDER BY amount DESC LIMIT 1
List the amount and donor name for the largest amount of donation.
<s>[INST]List the amount and donor name for the largest amount of donation. Context: CREATE TABLE endowment (amount VARCHAR, donator_name VARCHAR)[/INST]SELECT amount, donator_name FROM endowment ORDER BY amount DESC LIMIT 1</s>
CREATE TABLE table_name_50 (regular_season VARCHAR, year VARCHAR)
SELECT regular_season FROM table_name_50 WHERE year = 2013
Which regular season was 2013 in?
<s>[INST]Which regular season was 2013 in? Context: CREATE TABLE table_name_50 (regular_season VARCHAR, year VARCHAR)[/INST]SELECT regular_season FROM table_name_50 WHERE year = 2013</s>
CREATE TABLE table_name_21 (total VARCHAR, set_2 VARCHAR)
SELECT total FROM table_name_21 WHERE set_2 = "20–25"
What is the total when the score for set 2 is 20–25?
<s>[INST]What is the total when the score for set 2 is 20–25? Context: CREATE TABLE table_name_21 (total VARCHAR, set_2 VARCHAR)[/INST]SELECT total FROM table_name_21 WHERE set_2 = "20–25"</s>
CREATE TABLE city (Name VARCHAR, CountryCode VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, IsOfficial VARCHAR, Language VARCHAR); CREATE TABLE country (Code VARCHAR, Continent VARCHAR, Name VARCHAR)
SELECT DISTINCT T2.Name FROM country AS T1 JOIN city AS T2 ON T2.CountryCode = T1.Code WHERE T1.Continent = 'Europe' AND NOT T1.Name IN (SELECT T3.Name FROM country AS T3 JOIN countrylanguage AS T4 ON T3.Code = T4.CountryCode WHERE T4.IsOfficial = 'T' AND T4.Language = 'English')
Which cities are in European countries where English is not the official language?
<s>[INST]Which cities are in European countries where English is not the official language? Context: CREATE TABLE city (Name VARCHAR, CountryCode VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, IsOfficial VARCHAR, Language VARCHAR); CREATE TABLE country (C...
CREATE TABLE table_name_88 (position VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR)
SELECT position FROM table_name_88 WHERE round > 2 AND pick < 183 AND player = "jim obradovich"
Jim Obradovich, picked after round 2, but before pick 183, plays what position?
<s>[INST]Jim Obradovich, picked after round 2, but before pick 183, plays what position? Context: CREATE TABLE table_name_88 (position VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT position FROM table_name_88 WHERE round > 2 AND pick < 183 AND player = "jim obradovich"</s>
CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_77 WHERE record = "39-25"
The game that had a record of 39-25, what was the score?
<s>[INST]The game that had a record of 39-25, what was the score? Context: CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_77 WHERE record = "39-25"</s>
CREATE TABLE table_1356555_2 (median_household_income VARCHAR, county VARCHAR)
SELECT median_household_income FROM table_1356555_2 WHERE county = "Butte"
What is the median household income of butte?
<s>[INST]What is the median household income of butte? Context: CREATE TABLE table_1356555_2 (median_household_income VARCHAR, county VARCHAR)[/INST]SELECT median_household_income FROM table_1356555_2 WHERE county = "Butte"</s>
CREATE TABLE table_name_35 (music_director VARCHAR, film VARCHAR)
SELECT music_director FROM table_name_35 WHERE film = "vettaiyaadu vilaiyaadu"
Who is the musical director of the film Vettaiyaadu vilaiyaadu?
<s>[INST]Who is the musical director of the film Vettaiyaadu vilaiyaadu? Context: CREATE TABLE table_name_35 (music_director VARCHAR, film VARCHAR)[/INST]SELECT music_director FROM table_name_35 WHERE film = "vettaiyaadu vilaiyaadu"</s>
CREATE TABLE table_name_70 (event VARCHAR, position VARCHAR)
SELECT event FROM table_name_70 WHERE position = "8th"
What is the event that is in 8th position?
<s>[INST]What is the event that is in 8th position? Context: CREATE TABLE table_name_70 (event VARCHAR, position VARCHAR)[/INST]SELECT event FROM table_name_70 WHERE position = "8th"</s>
CREATE TABLE table_name_84 (george_h_w_bush VARCHAR, result VARCHAR)
SELECT george_h_w_bush FROM table_name_84 WHERE result = "no opinion"
What percent of respondents had no opinion on George H.W. Bush?
<s>[INST]What percent of respondents had no opinion on George H.W. Bush? Context: CREATE TABLE table_name_84 (george_h_w_bush VARCHAR, result VARCHAR)[/INST]SELECT george_h_w_bush FROM table_name_84 WHERE result = "no opinion"</s>
CREATE TABLE table_name_66 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_66 WHERE score = "1–6, 6–3, 3–6"
Where was the tournament where the score was 1–6, 6–3, 3–6?
<s>[INST]Where was the tournament where the score was 1–6, 6–3, 3–6? Context: CREATE TABLE table_name_66 (tournament VARCHAR, score VARCHAR)[/INST]SELECT tournament FROM table_name_66 WHERE score = "1–6, 6–3, 3–6"</s>
CREATE TABLE table_name_45 (long VARCHAR, name VARCHAR, avg_g VARCHAR, loss VARCHAR, gain VARCHAR)
SELECT COUNT(long) FROM table_name_45 WHERE loss = 0 AND gain < 17 AND avg_g > 0 AND name = "dubose, e."
What is the total number of long Dubose, E., who had 0 losses, a gain less than 17, and an avg/g bigger than 0, had?
<s>[INST]What is the total number of long Dubose, E., who had 0 losses, a gain less than 17, and an avg/g bigger than 0, had? Context: CREATE TABLE table_name_45 (long VARCHAR, name VARCHAR, avg_g VARCHAR, loss VARCHAR, gain VARCHAR)[/INST]SELECT COUNT(long) FROM table_name_45 WHERE loss = 0 AND gain < 17 AND avg_g > 0...
CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_16 WHERE pick < 312 AND school_club_team = "western michigan"
What position for the western michigan product picked ahead of 312?
<s>[INST]What position for the western michigan product picked ahead of 312? Context: CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)[/INST]SELECT position FROM table_name_16 WHERE pick < 312 AND school_club_team = "western michigan"</s>
CREATE TABLE table_name_86 (distance_medellín_downtown___km__ VARCHAR, municipalities VARCHAR)
SELECT distance_medellín_downtown___km__ FROM table_name_86 WHERE municipalities = "envigado"
What is the Distance Medellín Downtown (km) when the municipalities Envigado?
<s>[INST]What is the Distance Medellín Downtown (km) when the municipalities Envigado? Context: CREATE TABLE table_name_86 (distance_medellín_downtown___km__ VARCHAR, municipalities VARCHAR)[/INST]SELECT distance_medellín_downtown___km__ FROM table_name_86 WHERE municipalities = "envigado"</s>
CREATE TABLE Allergy_type (allergytype VARCHAR)
SELECT COUNT(*) FROM Allergy_type WHERE allergytype = "animal"
How many allergies have type animal?
<s>[INST]How many allergies have type animal? Context: CREATE TABLE Allergy_type (allergytype VARCHAR)[/INST]SELECT COUNT(*) FROM Allergy_type WHERE allergytype = "animal"</s>
CREATE TABLE channel (Share_in_percent INTEGER, OWNER VARCHAR)
SELECT SUM(Share_in_percent) FROM channel WHERE OWNER = 'CCTV'
find the total percentage share of all channels owned by CCTV.
<s>[INST]find the total percentage share of all channels owned by CCTV. Context: CREATE TABLE channel (Share_in_percent INTEGER, OWNER VARCHAR)[/INST]SELECT SUM(Share_in_percent) FROM channel WHERE OWNER = 'CCTV'</s>
CREATE TABLE table_name_25 (publication_date VARCHAR, fictional_date VARCHAR)
SELECT publication_date FROM table_name_25 WHERE fictional_date = "2112"
Name the publication date when the fictional date is 2112
<s>[INST]Name the publication date when the fictional date is 2112 Context: CREATE TABLE table_name_25 (publication_date VARCHAR, fictional_date VARCHAR)[/INST]SELECT publication_date FROM table_name_25 WHERE fictional_date = "2112"</s>
CREATE TABLE table_name_28 (mobile VARCHAR, chrome VARCHAR)
SELECT mobile FROM table_name_28 WHERE chrome = "9.00%"
What percentage of users were using mobile browsers during the period in which 9.00% were using Chrome?
<s>[INST]What percentage of users were using mobile browsers during the period in which 9.00% were using Chrome? Context: CREATE TABLE table_name_28 (mobile VARCHAR, chrome VARCHAR)[/INST]SELECT mobile FROM table_name_28 WHERE chrome = "9.00%"</s>
CREATE TABLE table_name_24 (time INTEGER, rank VARCHAR, name VARCHAR)
SELECT AVG(time) FROM table_name_24 WHERE rank > 2 AND name = "andy turner"
What is the average time with a rank lower than 2 for Andy Turner?
<s>[INST]What is the average time with a rank lower than 2 for Andy Turner? Context: CREATE TABLE table_name_24 (time INTEGER, rank VARCHAR, name VARCHAR)[/INST]SELECT AVG(time) FROM table_name_24 WHERE rank > 2 AND name = "andy turner"</s>