context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_75 (school VARCHAR, player VARCHAR)
SELECT school FROM table_name_75 WHERE player = "dave lewis"
Which school drafted dave lewis?
<s>[INST]Which school drafted dave lewis? Context: CREATE TABLE table_name_75 (school VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_name_75 WHERE player = "dave lewis"</s>
CREATE TABLE table_name_92 (country VARCHAR, name VARCHAR)
SELECT country FROM table_name_92 WHERE name = "dmitriy karpov"
What country did Dmitriy Karpov represent?
<s>[INST]What country did Dmitriy Karpov represent? Context: CREATE TABLE table_name_92 (country VARCHAR, name VARCHAR)[/INST]SELECT country FROM table_name_92 WHERE name = "dmitriy karpov"</s>
CREATE TABLE table_11665016_2 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR)
SELECT original_air_date FROM table_11665016_2 WHERE written_by = "Wendy Battles" AND directed_by = "Oz Scott"
What is the air date for the episode written by Wendy Battles and directed by Oz Scott
<s>[INST]What is the air date for the episode written by Wendy Battles and directed by Oz Scott Context: CREATE TABLE table_11665016_2 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT original_air_date FROM table_11665016_2 WHERE written_by = "Wendy Battles" AND directed_by = "Oz Scott"...
CREATE TABLE singer (song_name VARCHAR, age INTEGER)
SELECT song_name FROM singer WHERE age > (SELECT AVG(age) FROM singer)
List all song names by singers above the average age.
<s>[INST]List all song names by singers above the average age. Context: CREATE TABLE singer (song_name VARCHAR, age INTEGER)[/INST]SELECT song_name FROM singer WHERE age > (SELECT AVG(age) FROM singer)</s>
CREATE TABLE table_name_44 (outcome VARCHAR, year VARCHAR, opponent_in_the_final VARCHAR)
SELECT outcome FROM table_name_44 WHERE year > 1939 AND opponent_in_the_final = "frank kovacs"
Which Outcome has a Year larger than 1939, and an Opponent in the final of frank kovacs?
<s>[INST]Which Outcome has a Year larger than 1939, and an Opponent in the final of frank kovacs? Context: CREATE TABLE table_name_44 (outcome VARCHAR, year VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT outcome FROM table_name_44 WHERE year > 1939 AND opponent_in_the_final = "frank kovacs"</s>
CREATE TABLE table_name_61 (end_address VARCHAR, class VARCHAR)
SELECT end_address FROM table_name_61 WHERE class = "class e (reserved)"
What is the end address for the Class E (Reserved)?
<s>[INST]What is the end address for the Class E (Reserved)? Context: CREATE TABLE table_name_61 (end_address VARCHAR, class VARCHAR)[/INST]SELECT end_address FROM table_name_61 WHERE class = "class e (reserved)"</s>
CREATE TABLE table_182499_1 (location VARCHAR, substrate VARCHAR)
SELECT location FROM table_182499_1 WHERE substrate = "Coproporphyrinogen III"
give the location of subtrate coproporphyrinogen iii
<s>[INST]give the location of subtrate coproporphyrinogen iii Context: CREATE TABLE table_182499_1 (location VARCHAR, substrate VARCHAR)[/INST]SELECT location FROM table_182499_1 WHERE substrate = "Coproporphyrinogen III"</s>
CREATE TABLE table_name_78 (nationality VARCHAR, rank VARCHAR)
SELECT MAX(2 AS nd__m_) FROM table_name_78 WHERE nationality = "sui" AND rank < 3
Which 2nd (m) is the highest one that has a Nationality of sui, and a Rank smaller than 3?
<s>[INST]Which 2nd (m) is the highest one that has a Nationality of sui, and a Rank smaller than 3? Context: CREATE TABLE table_name_78 (nationality VARCHAR, rank VARCHAR)[/INST]SELECT MAX(2 AS nd__m_) FROM table_name_78 WHERE nationality = "sui" AND rank < 3</s>
CREATE TABLE table_18784280_3 (position_in_table VARCHAR, team VARCHAR)
SELECT position_in_table FROM table_18784280_3 WHERE team = "Watford"
Which position in the table is the team watford?
<s>[INST]Which position in the table is the team watford? Context: CREATE TABLE table_18784280_3 (position_in_table VARCHAR, team VARCHAR)[/INST]SELECT position_in_table FROM table_18784280_3 WHERE team = "Watford"</s>
CREATE TABLE table_name_62 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_62 WHERE score = 76 - 69 - 64 - 70 = 279
WHAT IS THE PLACE WITH A SCORE OF 76-69-64-70=279?
<s>[INST]WHAT IS THE PLACE WITH A SCORE OF 76-69-64-70=279? Context: CREATE TABLE table_name_62 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_62 WHERE score = 76 - 69 - 64 - 70 = 279</s>
CREATE TABLE table_name_83 (date VARCHAR, result VARCHAR, venue VARCHAR)
SELECT date FROM table_name_83 WHERE result = "draw" AND venue = "sydney cricket ground"
On what date was there a draw at Sydney Cricket Ground?
<s>[INST]On what date was there a draw at Sydney Cricket Ground? Context: CREATE TABLE table_name_83 (date VARCHAR, result VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_83 WHERE result = "draw" AND venue = "sydney cricket ground"</s>
CREATE TABLE table_1405704_1 (team VARCHAR, race_name VARCHAR, engine VARCHAR)
SELECT team FROM table_1405704_1 WHERE race_name = "Texas Grand Prix" AND engine = "Foyt"
What team raced with a Foyt engine in the Texas Grand Prix?
<s>[INST]What team raced with a Foyt engine in the Texas Grand Prix? Context: CREATE TABLE table_1405704_1 (team VARCHAR, race_name VARCHAR, engine VARCHAR)[/INST]SELECT team FROM table_1405704_1 WHERE race_name = "Texas Grand Prix" AND engine = "Foyt"</s>
CREATE TABLE table_25711913_2 (touchdowns INTEGER, position VARCHAR)
SELECT MAX(touchdowns) FROM table_25711913_2 WHERE position = "Left guard"
How many touchdowns did the left guard took?
<s>[INST]How many touchdowns did the left guard took? Context: CREATE TABLE table_25711913_2 (touchdowns INTEGER, position VARCHAR)[/INST]SELECT MAX(touchdowns) FROM table_25711913_2 WHERE position = "Left guard"</s>
CREATE TABLE table_name_67 (nationality VARCHAR, pick VARCHAR)
SELECT nationality FROM table_name_67 WHERE pick = "140"
Tell me the nationality of pick 140
<s>[INST]Tell me the nationality of pick 140 Context: CREATE TABLE table_name_67 (nationality VARCHAR, pick VARCHAR)[/INST]SELECT nationality FROM table_name_67 WHERE pick = "140"</s>
CREATE TABLE table_name_11 (total INTEGER, silver VARCHAR, rank VARCHAR, gold VARCHAR)
SELECT SUM(total) FROM table_name_11 WHERE rank > 6 AND gold > 0 AND silver = 2
What is the sum of all totals with a rank greater than 6, gold greater than 0, and silver greater than 2?
<s>[INST]What is the sum of all totals with a rank greater than 6, gold greater than 0, and silver greater than 2? Context: CREATE TABLE table_name_11 (total INTEGER, silver VARCHAR, rank VARCHAR, gold VARCHAR)[/INST]SELECT SUM(total) FROM table_name_11 WHERE rank > 6 AND gold > 0 AND silver = 2</s>
CREATE TABLE has_pet (petid VARCHAR, stuid VARCHAR); CREATE TABLE student (stuid VARCHAR, Lname VARCHAR)
SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith'
Find the id of the pet owned by student whose last name is ‘Smith’.
<s>[INST]Find the id of the pet owned by student whose last name is ‘Smith’. Context: CREATE TABLE has_pet (petid VARCHAR, stuid VARCHAR); CREATE TABLE student (stuid VARCHAR, Lname VARCHAR)[/INST]SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith'</s>
CREATE TABLE Rooms (roomName VARCHAR, basePrice INTEGER)
SELECT roomName FROM Rooms WHERE basePrice > (SELECT AVG(basePrice) FROM Rooms)
Find the name of rooms whose price is higher than the average price.
<s>[INST]Find the name of rooms whose price is higher than the average price. Context: CREATE TABLE Rooms (roomName VARCHAR, basePrice INTEGER)[/INST]SELECT roomName FROM Rooms WHERE basePrice > (SELECT AVG(basePrice) FROM Rooms)</s>
CREATE TABLE table_name_87 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_87 WHERE home = "hartford"
What was the date of the home game for Hartford?
<s>[INST]What was the date of the home game for Hartford? Context: CREATE TABLE table_name_87 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_87 WHERE home = "hartford"</s>
CREATE TABLE table_name_50 (number INTEGER, name VARCHAR)
SELECT MAX(number) FROM table_name_50 WHERE name = "tim andree"
What is Tim Andree's greatest number?
<s>[INST]What is Tim Andree's greatest number? Context: CREATE TABLE table_name_50 (number INTEGER, name VARCHAR)[/INST]SELECT MAX(number) FROM table_name_50 WHERE name = "tim andree"</s>
CREATE TABLE table_12121208_1 (womens_singles VARCHAR, mens_singles VARCHAR)
SELECT womens_singles FROM table_12121208_1 WHERE mens_singles = "Marc Zwiebler"
Who won the womens singles when Marc Zwiebler won the men's singles?
<s>[INST]Who won the womens singles when Marc Zwiebler won the men's singles? Context: CREATE TABLE table_12121208_1 (womens_singles VARCHAR, mens_singles VARCHAR)[/INST]SELECT womens_singles FROM table_12121208_1 WHERE mens_singles = "Marc Zwiebler"</s>
CREATE TABLE table_name_65 (overall INTEGER, pick__number VARCHAR, round VARCHAR)
SELECT MAX(overall) FROM table_name_65 WHERE pick__number = 4 AND round > 7
Which highest Overall has a Pick # of 4, and a Round larger than 7?
<s>[INST]Which highest Overall has a Pick # of 4, and a Round larger than 7? Context: CREATE TABLE table_name_65 (overall INTEGER, pick__number VARCHAR, round VARCHAR)[/INST]SELECT MAX(overall) FROM table_name_65 WHERE pick__number = 4 AND round > 7</s>
CREATE TABLE table_19744915_3 (couple VARCHAR, total VARCHAR)
SELECT COUNT(couple) FROM table_19744915_3 WHERE total = "14.5"
how many coupless totalled 14.5
<s>[INST]how many coupless totalled 14.5 Context: CREATE TABLE table_19744915_3 (couple VARCHAR, total VARCHAR)[/INST]SELECT COUNT(couple) FROM table_19744915_3 WHERE total = "14.5"</s>
CREATE TABLE list (firstname VARCHAR, classroom VARCHAR)
SELECT firstname FROM list WHERE classroom = 108
Find the first names of students studying in room 108.
<s>[INST]Find the first names of students studying in room 108. Context: CREATE TABLE list (firstname VARCHAR, classroom VARCHAR)[/INST]SELECT firstname FROM list WHERE classroom = 108</s>
CREATE TABLE table_name_28 (draws INTEGER, byes VARCHAR, wins VARCHAR, peel VARCHAR)
SELECT AVG(draws) FROM table_name_28 WHERE wins = 10 AND peel = "south mandurah" AND byes > 0
Which Draws has a Wins of 10, and a Peel of south mandurah, and a Byes larger than 0?
<s>[INST]Which Draws has a Wins of 10, and a Peel of south mandurah, and a Byes larger than 0? Context: CREATE TABLE table_name_28 (draws INTEGER, byes VARCHAR, wins VARCHAR, peel VARCHAR)[/INST]SELECT AVG(draws) FROM table_name_28 WHERE wins = 10 AND peel = "south mandurah" AND byes > 0</s>
CREATE TABLE table_name_25 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_25 WHERE player = "gary player"
What was gary player's score?
<s>[INST]What was gary player's score? Context: CREATE TABLE table_name_25 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_25 WHERE player = "gary player"</s>
CREATE TABLE table_25691838_12 (guest VARCHAR, production_code VARCHAR)
SELECT guest FROM table_25691838_12 WHERE production_code = 6152
Who were the guests on a show where the production code is 6152?
<s>[INST]Who were the guests on a show where the production code is 6152? Context: CREATE TABLE table_25691838_12 (guest VARCHAR, production_code VARCHAR)[/INST]SELECT guest FROM table_25691838_12 WHERE production_code = 6152</s>
CREATE TABLE table_30108930_6 (cfl_team VARCHAR, pick__number VARCHAR)
SELECT cfl_team FROM table_30108930_6 WHERE pick__number = 34
Which CFL team got pick 34?
<s>[INST]Which CFL team got pick 34? Context: CREATE TABLE table_30108930_6 (cfl_team VARCHAR, pick__number VARCHAR)[/INST]SELECT cfl_team FROM table_30108930_6 WHERE pick__number = 34</s>
CREATE TABLE table_25810656_3 (title VARCHAR, no_in_series VARCHAR)
SELECT COUNT(title) FROM table_25810656_3 WHERE no_in_series = 25
Name the number of title for number in series being 25
<s>[INST]Name the number of title for number in series being 25 Context: CREATE TABLE table_25810656_3 (title VARCHAR, no_in_series VARCHAR)[/INST]SELECT COUNT(title) FROM table_25810656_3 WHERE no_in_series = 25</s>
CREATE TABLE table_name_72 (team VARCHAR, points VARCHAR, class VARCHAR)
SELECT team FROM table_name_72 WHERE points < 167 AND class = "250cc"
Which team had fewer than 167 points in the 250cc class?
<s>[INST]Which team had fewer than 167 points in the 250cc class? Context: CREATE TABLE table_name_72 (team VARCHAR, points VARCHAR, class VARCHAR)[/INST]SELECT team FROM table_name_72 WHERE points < 167 AND class = "250cc"</s>
CREATE TABLE table_1473672_7 (position VARCHAR, nhl_team VARCHAR)
SELECT position FROM table_1473672_7 WHERE nhl_team = "California Golden Seals"
the california golden seals that where drafted by nhl teams played what positions
<s>[INST]the california golden seals that where drafted by nhl teams played what positions Context: CREATE TABLE table_1473672_7 (position VARCHAR, nhl_team VARCHAR)[/INST]SELECT position FROM table_1473672_7 WHERE nhl_team = "California Golden Seals"</s>
CREATE TABLE table_name_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR)
SELECT COUNT(overall) FROM table_name_84 WHERE position = "kicker" AND pick__number < 6
What is the overall number for a kicker with a pick of less than 6?
<s>[INST]What is the overall number for a kicker with a pick of less than 6? Context: CREATE TABLE table_name_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_84 WHERE position = "kicker" AND pick__number < 6</s>
CREATE TABLE table_name_47 (pick VARCHAR, player VARCHAR)
SELECT COUNT(pick) FROM table_name_47 WHERE player = "robert ingalls"
What's the sum of the Pick that has the Player of Robert Ingalls?
<s>[INST]What's the sum of the Pick that has the Player of Robert Ingalls? Context: CREATE TABLE table_name_47 (pick VARCHAR, player VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_47 WHERE player = "robert ingalls"</s>
CREATE TABLE table_name_77 (recorded VARCHAR, track VARCHAR, time VARCHAR)
SELECT recorded FROM table_name_77 WHERE track > 11 AND time = "3:06"
What is the recorder has a Track more than 11 with a time 3:06
<s>[INST]What is the recorder has a Track more than 11 with a time 3:06 Context: CREATE TABLE table_name_77 (recorded VARCHAR, track VARCHAR, time VARCHAR)[/INST]SELECT recorded FROM table_name_77 WHERE track > 11 AND time = "3:06"</s>
CREATE TABLE table_name_87 (year INTEGER, score VARCHAR, champion VARCHAR)
SELECT SUM(year) FROM table_name_87 WHERE score = "278" AND champion = "kim thompson"
When did Kim Thompson win with 278 score?
<s>[INST]When did Kim Thompson win with 278 score? Context: CREATE TABLE table_name_87 (year INTEGER, score VARCHAR, champion VARCHAR)[/INST]SELECT SUM(year) FROM table_name_87 WHERE score = "278" AND champion = "kim thompson"</s>
CREATE TABLE table_27484208_1 (world_rank_by_arwu_ VARCHAR, _2013 VARCHAR, members VARCHAR)
SELECT world_rank_by_arwu_, _2013 FROM table_27484208_1 WHERE members = "University of Tübingen"
What was the world rank by ARWU in 2013 of the University of Tübingen?
<s>[INST]What was the world rank by ARWU in 2013 of the University of Tübingen? Context: CREATE TABLE table_27484208_1 (world_rank_by_arwu_ VARCHAR, _2013 VARCHAR, members VARCHAR)[/INST]SELECT world_rank_by_arwu_, _2013 FROM table_27484208_1 WHERE members = "University of Tübingen"</s>
CREATE TABLE table_name_7 (award VARCHAR, film VARCHAR)
SELECT award FROM table_name_7 WHERE film = "ozone"
What award did the film Ozone win?
<s>[INST]What award did the film Ozone win? Context: CREATE TABLE table_name_7 (award VARCHAR, film VARCHAR)[/INST]SELECT award FROM table_name_7 WHERE film = "ozone"</s>
CREATE TABLE table_name_80 (swimming VARCHAR, tennis VARCHAR, indoor_track VARCHAR, soccer VARCHAR)
SELECT swimming FROM table_name_80 WHERE indoor_track = "yes" AND soccer = "yes" AND tennis = "yes"
What is th eswimming status for the school that has yes on indoor track, soccer and tennis?
<s>[INST]What is th eswimming status for the school that has yes on indoor track, soccer and tennis? Context: CREATE TABLE table_name_80 (swimming VARCHAR, tennis VARCHAR, indoor_track VARCHAR, soccer VARCHAR)[/INST]SELECT swimming FROM table_name_80 WHERE indoor_track = "yes" AND soccer = "yes" AND tennis = "yes"</s>
CREATE TABLE table_name_35 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_35 WHERE score = 73 - 70 - 71 - 72 = 286
What is the To par of the Player with a Score of 73-70-71-72=286?
<s>[INST]What is the To par of the Player with a Score of 73-70-71-72=286? Context: CREATE TABLE table_name_35 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_35 WHERE score = 73 - 70 - 71 - 72 = 286</s>
CREATE TABLE table_13464416_6 (game VARCHAR, location_attendance VARCHAR)
SELECT game FROM table_13464416_6 WHERE location_attendance = "Omni Coliseum 7,194"
how many times was the participation at omni coliseum 7,194?
<s>[INST]how many times was the participation at omni coliseum 7,194? Context: CREATE TABLE table_13464416_6 (game VARCHAR, location_attendance VARCHAR)[/INST]SELECT game FROM table_13464416_6 WHERE location_attendance = "Omni Coliseum 7,194"</s>
CREATE TABLE table_name_70 (decile INTEGER, roll VARCHAR, area VARCHAR)
SELECT MAX(decile) FROM table_name_70 WHERE roll > 325 AND area = "warkworth"
Name the highest Decile for roll more than 325 and area of warkworth
<s>[INST]Name the highest Decile for roll more than 325 and area of warkworth Context: CREATE TABLE table_name_70 (decile INTEGER, roll VARCHAR, area VARCHAR)[/INST]SELECT MAX(decile) FROM table_name_70 WHERE roll > 325 AND area = "warkworth"</s>
CREATE TABLE table_name_93 (altitude__meters_ INTEGER, range VARCHAR, name VARCHAR)
SELECT SUM(altitude__meters_) FROM table_name_93 WHERE range = "belgica mountains" AND name = "mount launoit"
What is the altitude (meters) is associated with the Name Mount Launoit, with the range as Belgica Mountains?
<s>[INST]What is the altitude (meters) is associated with the Name Mount Launoit, with the range as Belgica Mountains? Context: CREATE TABLE table_name_93 (altitude__meters_ INTEGER, range VARCHAR, name VARCHAR)[/INST]SELECT SUM(altitude__meters_) FROM table_name_93 WHERE range = "belgica mountains" AND name = "mount l...
CREATE TABLE table_13018091_1 (won VARCHAR, pts_for VARCHAR)
SELECT COUNT(won) FROM table_13018091_1 WHERE pts_for = 616
How many teams scored 616 points?
<s>[INST]How many teams scored 616 points? Context: CREATE TABLE table_13018091_1 (won VARCHAR, pts_for VARCHAR)[/INST]SELECT COUNT(won) FROM table_13018091_1 WHERE pts_for = 616</s>
CREATE TABLE table_18933037_3 (cause_of_loss VARCHAR, bomb_capacity VARCHAR)
SELECT cause_of_loss FROM table_18933037_3 WHERE bomb_capacity = "27 GP H-E bombs"
When 27 gp h-e bombs the capacity of the bomb what is the cause of loss?
<s>[INST]When 27 gp h-e bombs the capacity of the bomb what is the cause of loss? Context: CREATE TABLE table_18933037_3 (cause_of_loss VARCHAR, bomb_capacity VARCHAR)[/INST]SELECT cause_of_loss FROM table_18933037_3 WHERE bomb_capacity = "27 GP H-E bombs"</s>
CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_20 WHERE home = "ottawa" AND date = "april 26"
What visitor has Ottawa as a home and a date of April 26?
<s>[INST]What visitor has Ottawa as a home and a date of April 26? Context: CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_20 WHERE home = "ottawa" AND date = "april 26"</s>
CREATE TABLE table_name_67 (class VARCHAR, pos VARCHAR, year VARCHAR)
SELECT class FROM table_name_67 WHERE pos = "4th" AND year < 2006
Name the class for 4th position with year before 2006
<s>[INST]Name the class for 4th position with year before 2006 Context: CREATE TABLE table_name_67 (class VARCHAR, pos VARCHAR, year VARCHAR)[/INST]SELECT class FROM table_name_67 WHERE pos = "4th" AND year < 2006</s>
CREATE TABLE table_name_97 (score VARCHAR, venue VARCHAR)
SELECT score FROM table_name_97 WHERE venue = "amblecote"
What score has amblecote as the venue?
<s>[INST]What score has amblecote as the venue? Context: CREATE TABLE table_name_97 (score VARCHAR, venue VARCHAR)[/INST]SELECT score FROM table_name_97 WHERE venue = "amblecote"</s>
CREATE TABLE table_16799784_7 (latitude VARCHAR, longitude VARCHAR)
SELECT latitude FROM table_16799784_7 WHERE longitude = "80.0E"
what is the latitude of the feature of longitude 80.0e
<s>[INST]what is the latitude of the feature of longitude 80.0e Context: CREATE TABLE table_16799784_7 (latitude VARCHAR, longitude VARCHAR)[/INST]SELECT latitude FROM table_16799784_7 WHERE longitude = "80.0E"</s>
CREATE TABLE table_28561455_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR)
SELECT no_in_series FROM table_28561455_1 WHERE us_viewers__million_ = "11.84"
For how many series were there 11.84 million watchers?
<s>[INST]For how many series were there 11.84 million watchers? Context: CREATE TABLE table_28561455_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT no_in_series FROM table_28561455_1 WHERE us_viewers__million_ = "11.84"</s>
CREATE TABLE table_name_50 (first_party VARCHAR, second_member VARCHAR, second_party VARCHAR)
SELECT first_party FROM table_name_50 WHERE second_member = "charles robert colvile" AND second_party = "liberal"
Which of the first parties has second member as Charles Robert Colvile, and a liberal second party?
<s>[INST]Which of the first parties has second member as Charles Robert Colvile, and a liberal second party? Context: CREATE TABLE table_name_50 (first_party VARCHAR, second_member VARCHAR, second_party VARCHAR)[/INST]SELECT first_party FROM table_name_50 WHERE second_member = "charles robert colvile" AND second_party...
CREATE TABLE table_name_41 (artist VARCHAR, single___pack VARCHAR)
SELECT artist FROM table_name_41 WHERE single___pack = "guitar hero track pack 1"
What is the name of the artist with a Single / Pack of guitar hero track pack 1?
<s>[INST]What is the name of the artist with a Single / Pack of guitar hero track pack 1? Context: CREATE TABLE table_name_41 (artist VARCHAR, single___pack VARCHAR)[/INST]SELECT artist FROM table_name_41 WHERE single___pack = "guitar hero track pack 1"</s>
CREATE TABLE table_name_59 (round INTEGER, overall VARCHAR, position VARCHAR)
SELECT MIN(round) FROM table_name_59 WHERE overall < 150 AND position = "offensive guard"
What is the lowest round for an offensive guard when the overall is smaller than 150?
<s>[INST]What is the lowest round for an offensive guard when the overall is smaller than 150? Context: CREATE TABLE table_name_59 (round INTEGER, overall VARCHAR, position VARCHAR)[/INST]SELECT MIN(round) FROM table_name_59 WHERE overall < 150 AND position = "offensive guard"</s>
CREATE TABLE table_26250151_1 (order__number VARCHAR, original_recording_artist VARCHAR)
SELECT order__number FROM table_26250151_1 WHERE original_recording_artist = "Erma Franklin"
What was the order # or Erma Franklin?
<s>[INST]What was the order # or Erma Franklin? Context: CREATE TABLE table_26250151_1 (order__number VARCHAR, original_recording_artist VARCHAR)[/INST]SELECT order__number FROM table_26250151_1 WHERE original_recording_artist = "Erma Franklin"</s>
CREATE TABLE table_213088_1 (location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_...
SELECT location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__tabl...
List all the locations with a RBMK-1000 reactor.
<s>[INST]List all the locations with a RBMK-1000 reactor. Context: CREATE TABLE table_213088_1 (location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smol...
CREATE TABLE table_26336739_1 (result VARCHAR, elected VARCHAR)
SELECT result FROM table_26336739_1 WHERE elected = 1986
What was the result for the district with an election in 1986
<s>[INST]What was the result for the district with an election in 1986 Context: CREATE TABLE table_26336739_1 (result VARCHAR, elected VARCHAR)[/INST]SELECT result FROM table_26336739_1 WHERE elected = 1986</s>
CREATE TABLE table_name_92 (name VARCHAR, maglia_rosa VARCHAR, young_rider VARCHAR, country VARCHAR, giro_wins VARCHAR)
SELECT name FROM table_name_92 WHERE country = "italy" AND giro_wins = 0 AND young_rider = 0 AND maglia_rosa < 3
Who is from italy has 0 giro wins, 0 young rider and less than 3 maglia rosa?
<s>[INST]Who is from italy has 0 giro wins, 0 young rider and less than 3 maglia rosa? Context: CREATE TABLE table_name_92 (name VARCHAR, maglia_rosa VARCHAR, young_rider VARCHAR, country VARCHAR, giro_wins VARCHAR)[/INST]SELECT name FROM table_name_92 WHERE country = "italy" AND giro_wins = 0 AND young_rider = 0 AND m...
CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_opponents_venue VARCHAR)
SELECT missouri_vs FROM table_16201038_4 WHERE at_opponents_venue = "UI, 4-1"
Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How
<s>[INST]Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How Context: CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_opponents_venue VARCHAR)[/INST]SELECT missouri_vs FROM table_16201038_4 WHERE at_opponents_venue = "UI, 4-1"</s>
CREATE TABLE table_name_52 (weight INTEGER, player VARCHAR)
SELECT SUM(weight) FROM table_name_52 WHERE player = "deshawn stevenson"
What does DeShawn Stevenson weigh?
<s>[INST]What does DeShawn Stevenson weigh? Context: CREATE TABLE table_name_52 (weight INTEGER, player VARCHAR)[/INST]SELECT SUM(weight) FROM table_name_52 WHERE player = "deshawn stevenson"</s>
CREATE TABLE table_name_34 (county VARCHAR, bush_number VARCHAR)
SELECT county FROM table_name_34 WHERE bush_number = 566
Which county had a Bush number of votes of 566?
<s>[INST]Which county had a Bush number of votes of 566? Context: CREATE TABLE table_name_34 (county VARCHAR, bush_number VARCHAR)[/INST]SELECT county FROM table_name_34 WHERE bush_number = 566</s>
CREATE TABLE table_name_47 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_47 WHERE date = "october 25"
What is the Score of the competition on October 25?
<s>[INST]What is the Score of the competition on October 25? Context: CREATE TABLE table_name_47 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_47 WHERE date = "october 25"</s>
CREATE TABLE table_name_23 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_23 WHERE away_team = "north melbourne"
Where did north melbourne play while away?
<s>[INST]Where did north melbourne play while away? Context: CREATE TABLE table_name_23 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_23 WHERE away_team = "north melbourne"</s>
CREATE TABLE table_12919003_3 (writer VARCHAR, episode VARCHAR)
SELECT writer FROM table_12919003_3 WHERE episode = "episode 1"
What's the writer of Episode 1?
<s>[INST]What's the writer of Episode 1? Context: CREATE TABLE table_12919003_3 (writer VARCHAR, episode VARCHAR)[/INST]SELECT writer FROM table_12919003_3 WHERE episode = "episode 1"</s>
CREATE TABLE table_13758945_3 (won VARCHAR, try_bonus VARCHAR)
SELECT won FROM table_13758945_3 WHERE try_bonus = "8"
what's the won with try bonus being 8
<s>[INST]what's the won with try bonus being 8 Context: CREATE TABLE table_13758945_3 (won VARCHAR, try_bonus VARCHAR)[/INST]SELECT won FROM table_13758945_3 WHERE try_bonus = "8"</s>
CREATE TABLE table_27816698_2 (founded INTEGER, nickname VARCHAR)
SELECT MAX(founded) FROM table_27816698_2 WHERE nickname = "Titans"
When was the Titans founded?
<s>[INST]When was the Titans founded? Context: CREATE TABLE table_27816698_2 (founded INTEGER, nickname VARCHAR)[/INST]SELECT MAX(founded) FROM table_27816698_2 WHERE nickname = "Titans"</s>
CREATE TABLE table_name_33 (tv_series VARCHAR, species VARCHAR)
SELECT tv_series FROM table_name_33 WHERE species = "boar"
What show has a boar?
<s>[INST]What show has a boar? Context: CREATE TABLE table_name_33 (tv_series VARCHAR, species VARCHAR)[/INST]SELECT tv_series FROM table_name_33 WHERE species = "boar"</s>
CREATE TABLE table_23050383_1 (innovation VARCHAR, economic_incentive_regime VARCHAR)
SELECT innovation FROM table_23050383_1 WHERE economic_incentive_regime = "7.14"
What is the innovation when the economic incentive grime is 7.14?
<s>[INST]What is the innovation when the economic incentive grime is 7.14? Context: CREATE TABLE table_23050383_1 (innovation VARCHAR, economic_incentive_regime VARCHAR)[/INST]SELECT innovation FROM table_23050383_1 WHERE economic_incentive_regime = "7.14"</s>
CREATE TABLE table_name_45 (show VARCHAR, year VARCHAR, episode_title VARCHAR)
SELECT show FROM table_name_45 WHERE year < 2011 AND episode_title = "part 3"
Which show had a part 3 before 2011?
<s>[INST]Which show had a part 3 before 2011? Context: CREATE TABLE table_name_45 (show VARCHAR, year VARCHAR, episode_title VARCHAR)[/INST]SELECT show FROM table_name_45 WHERE year < 2011 AND episode_title = "part 3"</s>
CREATE TABLE table_name_57 (time VARCHAR, country VARCHAR)
SELECT time FROM table_name_57 WHERE country = "kazakhstan"
What is the time for Kazakhstan?
<s>[INST]What is the time for Kazakhstan? Context: CREATE TABLE table_name_57 (time VARCHAR, country VARCHAR)[/INST]SELECT time FROM table_name_57 WHERE country = "kazakhstan"</s>
CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR)
SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win' INTERSECT SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Loss'
Find the names of the swimmers who have both "win" and "loss" results in the record.
<s>[INST]Find the names of the swimmers who have both "win" and "loss" results in the record. Context: CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR)[/INST]SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win' INTERSECT SELECT t1.nam...
CREATE TABLE table_1973842_2 (location VARCHAR, nickname VARCHAR)
SELECT location FROM table_1973842_2 WHERE nickname = "Tigers"
Where is the school with nickname Tigers located?
<s>[INST]Where is the school with nickname Tigers located? Context: CREATE TABLE table_1973842_2 (location VARCHAR, nickname VARCHAR)[/INST]SELECT location FROM table_1973842_2 WHERE nickname = "Tigers"</s>
CREATE TABLE table_20396710_1 (drawn VARCHAR)
SELECT drawn FROM table_20396710_1 WHERE "points_against" = "points_against"
when points against is points again, which are the drawn?
<s>[INST]when points against is points again, which are the drawn? Context: CREATE TABLE table_20396710_1 (drawn VARCHAR)[/INST]SELECT drawn FROM table_20396710_1 WHERE "points_against" = "points_against"</s>
CREATE TABLE table_name_69 (away_captain VARCHAR, result VARCHAR)
SELECT away_captain FROM table_name_69 WHERE result = "wi by 9 wkts"
Name the away captain with result of wi by 9 wkts
<s>[INST]Name the away captain with result of wi by 9 wkts Context: CREATE TABLE table_name_69 (away_captain VARCHAR, result VARCHAR)[/INST]SELECT away_captain FROM table_name_69 WHERE result = "wi by 9 wkts"</s>
CREATE TABLE table_name_53 (f_laps INTEGER, wins INTEGER)
SELECT MAX(f_laps) FROM table_name_53 WHERE wins < 0
What is the highest f/laps with less than 0 wins?
<s>[INST]What is the highest f/laps with less than 0 wins? Context: CREATE TABLE table_name_53 (f_laps INTEGER, wins INTEGER)[/INST]SELECT MAX(f_laps) FROM table_name_53 WHERE wins < 0</s>
CREATE TABLE assignedto (project VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR)
SELECT COUNT(*), T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code = T2.project GROUP BY T1.name
Find the number of scientists involved for each project name.
<s>[INST]Find the number of scientists involved for each project name. Context: CREATE TABLE assignedto (project VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR)[/INST]SELECT COUNT(*), T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code = T2.project GROUP BY T1.name</s>
CREATE TABLE table_name_75 (class VARCHAR, name VARCHAR)
SELECT class FROM table_name_75 WHERE name = "hms heartsease"
What's the class of the HMS Heartsease?
<s>[INST]What's the class of the HMS Heartsease? Context: CREATE TABLE table_name_75 (class VARCHAR, name VARCHAR)[/INST]SELECT class FROM table_name_75 WHERE name = "hms heartsease"</s>
CREATE TABLE table_name_1 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_1 WHERE venue = "victoria park"
What did the Victoria park home team score?
<s>[INST]What did the Victoria park home team score? Context: CREATE TABLE table_name_1 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_1 WHERE venue = "victoria park"</s>
CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1342218_35 WHERE district = "Ohio 5"
What party does the incumbent from the Ohio 5 district belong to?
<s>[INST]What party does the incumbent from the Ohio 5 district belong to? Context: CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_1342218_35 WHERE district = "Ohio 5"</s>
CREATE TABLE table_2076608_1 (accreditation VARCHAR, school VARCHAR)
SELECT accreditation FROM table_2076608_1 WHERE school = "Hollins University"
What accreditation does Hollins University have?
<s>[INST]What accreditation does Hollins University have? Context: CREATE TABLE table_2076608_1 (accreditation VARCHAR, school VARCHAR)[/INST]SELECT accreditation FROM table_2076608_1 WHERE school = "Hollins University"</s>
CREATE TABLE players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR)
SELECT SUM(ranking_points), T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name
Find the total ranking points for each player and their first name.
<s>[INST]Find the total ranking points for each player and their first name. Context: CREATE TABLE players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR)[/INST]SELECT SUM(ranking_points), T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1....
CREATE TABLE table_name_58 (district VARCHAR, name VARCHAR)
SELECT district FROM table_name_58 WHERE name = "brough"
What is the district for the parish, Brough?
<s>[INST]What is the district for the parish, Brough? Context: CREATE TABLE table_name_58 (district VARCHAR, name VARCHAR)[/INST]SELECT district FROM table_name_58 WHERE name = "brough"</s>
CREATE TABLE table_name_49 (round INTEGER, event VARCHAR)
SELECT AVG(round) FROM table_name_49 WHERE event = "gcf: strength and honor"
How many rounds did the match at GCF: Strength and Honor last?
<s>[INST]How many rounds did the match at GCF: Strength and Honor last? Context: CREATE TABLE table_name_49 (round INTEGER, event VARCHAR)[/INST]SELECT AVG(round) FROM table_name_49 WHERE event = "gcf: strength and honor"</s>
CREATE TABLE table_name_72 (result VARCHAR, competition VARCHAR, score VARCHAR)
SELECT result FROM table_name_72 WHERE competition = "2014 fifa world cup qualification" AND score = "2 – 0"
Which Result has a Competition of 2014 fifa world cup qualification, and a Score of 2 – 0?
<s>[INST]Which Result has a Competition of 2014 fifa world cup qualification, and a Score of 2 – 0? Context: CREATE TABLE table_name_72 (result VARCHAR, competition VARCHAR, score VARCHAR)[/INST]SELECT result FROM table_name_72 WHERE competition = "2014 fifa world cup qualification" AND score = "2 – 0"</s>
CREATE TABLE table_2500440_1 (population_density__per_km_2__ VARCHAR, municipal_district VARCHAR)
SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE municipal_district = "Smoky Lake County"
What is the density per km in Smoky Lake County?
<s>[INST]What is the density per km in Smoky Lake County? Context: CREATE TABLE table_2500440_1 (population_density__per_km_2__ VARCHAR, municipal_district VARCHAR)[/INST]SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE municipal_district = "Smoky Lake County"</s>
CREATE TABLE table_name_18 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_18 WHERE opponent = "susan sloane"
Which Tournament has an Opponent of susan sloane?
<s>[INST]Which Tournament has an Opponent of susan sloane? Context: CREATE TABLE table_name_18 (tournament VARCHAR, opponent VARCHAR)[/INST]SELECT tournament FROM table_name_18 WHERE opponent = "susan sloane"</s>
CREATE TABLE poker_player (People_ID VARCHAR, Earnings INTEGER); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000
What are the names of poker players whose earnings is higher than 300000?
<s>[INST]What are the names of poker players whose earnings is higher than 300000? Context: CREATE TABLE poker_player (People_ID VARCHAR, Earnings INTEGER); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)[/INST]SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnin...
CREATE TABLE table_name_78 (lost VARCHAR, points_for VARCHAR)
SELECT lost FROM table_name_78 WHERE points_for = "528"
What lost has 528 as the points?
<s>[INST]What lost has 528 as the points? Context: CREATE TABLE table_name_78 (lost VARCHAR, points_for VARCHAR)[/INST]SELECT lost FROM table_name_78 WHERE points_for = "528"</s>
CREATE TABLE table_name_28 (year VARCHAR, record VARCHAR)
SELECT COUNT(year) FROM table_name_28 WHERE record = "3:40.8"
How many years was the record 3:40.8?
<s>[INST]How many years was the record 3:40.8? Context: CREATE TABLE table_name_28 (year VARCHAR, record VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_28 WHERE record = "3:40.8"</s>
CREATE TABLE table_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR)
SELECT wsop_cashes FROM table_23696862_6 WHERE wsop_earnings = "0"
The person who had 0 WSOP earnings had how man WSOP cashes?
<s>[INST]The person who had 0 WSOP earnings had how man WSOP cashes? Context: CREATE TABLE table_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR)[/INST]SELECT wsop_cashes FROM table_23696862_6 WHERE wsop_earnings = "0"</s>
CREATE TABLE table_name_11 (category VARCHAR, stations VARCHAR)
SELECT category FROM table_name_11 WHERE stations = "5"
Which category has 5 stations?
<s>[INST]Which category has 5 stations? Context: CREATE TABLE table_name_11 (category VARCHAR, stations VARCHAR)[/INST]SELECT category FROM table_name_11 WHERE stations = "5"</s>
CREATE TABLE table_name_35 (yonguk VARCHAR, halang VARCHAR)
SELECT yonguk FROM table_name_35 WHERE halang = "ran¹"
Which Yonguk has a Halang of ran¹?
<s>[INST]Which Yonguk has a Halang of ran¹? Context: CREATE TABLE table_name_35 (yonguk VARCHAR, halang VARCHAR)[/INST]SELECT yonguk FROM table_name_35 WHERE halang = "ran¹"</s>
CREATE TABLE table_27771406_1 (catches INTEGER, player VARCHAR)
SELECT MIN(catches) FROM table_27771406_1 WHERE player = "Clifford McWatt"
How many catches did Clifford McWatt have?
<s>[INST]How many catches did Clifford McWatt have? Context: CREATE TABLE table_27771406_1 (catches INTEGER, player VARCHAR)[/INST]SELECT MIN(catches) FROM table_27771406_1 WHERE player = "Clifford McWatt"</s>
CREATE TABLE table_name_54 (player VARCHAR, span VARCHAR)
SELECT player FROM table_name_54 WHERE span = "1997-2009"
What player has a span of 1997-2009?
<s>[INST]What player has a span of 1997-2009? Context: CREATE TABLE table_name_54 (player VARCHAR, span VARCHAR)[/INST]SELECT player FROM table_name_54 WHERE span = "1997-2009"</s>
CREATE TABLE table_name_94 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_94 WHERE title = "fish tales"
Who is the Director of Fish Tales?
<s>[INST]Who is the Director of Fish Tales? Context: CREATE TABLE table_name_94 (director VARCHAR, title VARCHAR)[/INST]SELECT director FROM table_name_94 WHERE title = "fish tales"</s>
CREATE TABLE table_name_43 (winner VARCHAR, year VARCHAR, date VARCHAR)
SELECT winner FROM table_name_43 WHERE year < 1956 AND date = "october 21"
Who was the winning team before 1956 on October 21?
<s>[INST]Who was the winning team before 1956 on October 21? Context: CREATE TABLE table_name_43 (winner VARCHAR, year VARCHAR, date VARCHAR)[/INST]SELECT winner FROM table_name_43 WHERE year < 1956 AND date = "october 21"</s>
CREATE TABLE table_10975034_4 (cfl_team VARCHAR, college VARCHAR)
SELECT cfl_team FROM table_10975034_4 WHERE college = "Simon Fraser"
What CFL teams are part of Simon Fraser college?
<s>[INST]What CFL teams are part of Simon Fraser college? Context: CREATE TABLE table_10975034_4 (cfl_team VARCHAR, college VARCHAR)[/INST]SELECT cfl_team FROM table_10975034_4 WHERE college = "Simon Fraser"</s>
CREATE TABLE table_name_86 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_86 WHERE player = "momoko ueda"
What was Momoko Ueda's place?
<s>[INST]What was Momoko Ueda's place? Context: CREATE TABLE table_name_86 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_86 WHERE player = "momoko ueda"</s>
CREATE TABLE table_name_48 (date VARCHAR, goal VARCHAR)
SELECT date FROM table_name_48 WHERE goal = 3
What was the date of the game that had a goal of 3?
<s>[INST]What was the date of the game that had a goal of 3? Context: CREATE TABLE table_name_48 (date VARCHAR, goal VARCHAR)[/INST]SELECT date FROM table_name_48 WHERE goal = 3</s>
CREATE TABLE table_name_78 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_78 WHERE result = "88–87"
What is the Venue when the result was 88–87?
<s>[INST]What is the Venue when the result was 88–87? Context: CREATE TABLE table_name_78 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_78 WHERE result = "88–87"</s>
CREATE TABLE table_141541_5 (domestic_freight VARCHAR, change VARCHAR)
SELECT domestic_freight FROM table_141541_5 WHERE change = "+8.0%"
what's the domestic freight with change being +8.0%
<s>[INST]what's the domestic freight with change being +8.0% Context: CREATE TABLE table_141541_5 (domestic_freight VARCHAR, change VARCHAR)[/INST]SELECT domestic_freight FROM table_141541_5 WHERE change = "+8.0%"</s>
CREATE TABLE table_name_69 (round INTEGER, school VARCHAR, pick VARCHAR)
SELECT MAX(round) FROM table_name_69 WHERE school = "bowling green" AND pick < 210
What was the highest round for Bowling Green with a pick smaller than 210?
<s>[INST]What was the highest round for Bowling Green with a pick smaller than 210? Context: CREATE TABLE table_name_69 (round INTEGER, school VARCHAR, pick VARCHAR)[/INST]SELECT MAX(round) FROM table_name_69 WHERE school = "bowling green" AND pick < 210</s>
CREATE TABLE table_name_79 (finish VARCHAR, win__percentage VARCHAR)
SELECT finish FROM table_name_79 WHERE win__percentage = ".585"
What was the final rank of the Brewers when they achieved a win percentage of .585?
<s>[INST]What was the final rank of the Brewers when they achieved a win percentage of .585? Context: CREATE TABLE table_name_79 (finish VARCHAR, win__percentage VARCHAR)[/INST]SELECT finish FROM table_name_79 WHERE win__percentage = ".585"</s>