context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_50 (song VARCHAR, draw VARCHAR, points VARCHAR, national_final VARCHAR)
SELECT song FROM table_name_50 WHERE points > 64 AND national_final = "4th" AND draw > 3
what is the song when the points is more than 64, the national final is 4th and draw is more than 3?
<s>[INST]what is the song when the points is more than 64, the national final is 4th and draw is more than 3? Context: CREATE TABLE table_name_50 (song VARCHAR, draw VARCHAR, points VARCHAR, national_final VARCHAR)[/INST]SELECT song FROM table_name_50 WHERE points > 64 AND national_final = "4th" AND draw > 3</s>
CREATE TABLE table_name_8 (attendance INTEGER, season VARCHAR, premiership VARCHAR, runner_up VARCHAR)
SELECT SUM(attendance) FROM table_name_8 WHERE premiership = "pre-season cup" AND runner_up = "north melbourne" AND season < 2000
If the season is before 2000, the runner up was north melbourne, and it's the pre-season cup, what's the sum of attendees?
<s>[INST]If the season is before 2000, the runner up was north melbourne, and it's the pre-season cup, what's the sum of attendees? Context: CREATE TABLE table_name_8 (attendance INTEGER, season VARCHAR, premiership VARCHAR, runner_up VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_8 WHERE premiership = "pre-seas...
CREATE TABLE table_name_68 (fcc_info VARCHAR, frequency_mhz VARCHAR)
SELECT fcc_info FROM table_name_68 WHERE frequency_mhz = "104.5 fm"
What is the FCC information of 104.5 fm frequency?
<s>[INST]What is the FCC information of 104.5 fm frequency? Context: CREATE TABLE table_name_68 (fcc_info VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT fcc_info FROM table_name_68 WHERE frequency_mhz = "104.5 fm"</s>
CREATE TABLE table_name_2 (region VARCHAR, date VARCHAR)
SELECT region FROM table_name_2 WHERE date = "december 22, 2008"
What is the Region of the release on December 22, 2008?
<s>[INST]What is the Region of the release on December 22, 2008? Context: CREATE TABLE table_name_2 (region VARCHAR, date VARCHAR)[/INST]SELECT region FROM table_name_2 WHERE date = "december 22, 2008"</s>
CREATE TABLE table_name_18 (fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT fastest_lap FROM table_name_18 WHERE winning_driver = "michael schumacher"
When Michael Schumacher won the race, who had the fastest lap?
<s>[INST]When Michael Schumacher won the race, who had the fastest lap? Context: CREATE TABLE table_name_18 (fastest_lap VARCHAR, winning_driver VARCHAR)[/INST]SELECT fastest_lap FROM table_name_18 WHERE winning_driver = "michael schumacher"</s>
CREATE TABLE table_name_95 (country VARCHAR)
SELECT 2011 FROM table_name_95 WHERE country = "united states"
What was the value in 2011 for United States?
<s>[INST]What was the value in 2011 for United States? Context: CREATE TABLE table_name_95 (country VARCHAR)[/INST]SELECT 2011 FROM table_name_95 WHERE country = "united states"</s>
CREATE TABLE schedule (title VARCHAR, directed_by VARCHAR, film_id VARCHAR); CREATE TABLE film (title VARCHAR, directed_by VARCHAR, film_id VARCHAR)
SELECT title, directed_by FROM film WHERE NOT film_id IN (SELECT film_id FROM schedule)
What are the title and director of the films without any schedule?
<s>[INST]What are the title and director of the films without any schedule? Context: CREATE TABLE schedule (title VARCHAR, directed_by VARCHAR, film_id VARCHAR); CREATE TABLE film (title VARCHAR, directed_by VARCHAR, film_id VARCHAR)[/INST]SELECT title, directed_by FROM film WHERE NOT film_id IN (SELECT film_id FROM sc...
CREATE TABLE table_name_95 (stadium VARCHAR, date VARCHAR)
SELECT stadium FROM table_name_95 WHERE date = "december 29, 2008"
What stadium was the December 29, 2008 game played at?
<s>[INST]What stadium was the December 29, 2008 game played at? Context: CREATE TABLE table_name_95 (stadium VARCHAR, date VARCHAR)[/INST]SELECT stadium FROM table_name_95 WHERE date = "december 29, 2008"</s>
CREATE TABLE table_name_31 (rotterterode VARCHAR, reimboldsh VARCHAR)
SELECT rotterterode FROM table_name_31 WHERE reimboldsh = "80"
What Rotterterrode has a Reimboldsh 80?
<s>[INST]What Rotterterrode has a Reimboldsh 80? Context: CREATE TABLE table_name_31 (rotterterode VARCHAR, reimboldsh VARCHAR)[/INST]SELECT rotterterode FROM table_name_31 WHERE reimboldsh = "80"</s>
CREATE TABLE table_name_63 (location_attendance VARCHAR, high_points VARCHAR)
SELECT location_attendance FROM table_name_63 WHERE high_points = "dwyane wade (27)"
What is the location attendance from Dwyane Wade (27) high points?
<s>[INST]What is the location attendance from Dwyane Wade (27) high points? Context: CREATE TABLE table_name_63 (location_attendance VARCHAR, high_points VARCHAR)[/INST]SELECT location_attendance FROM table_name_63 WHERE high_points = "dwyane wade (27)"</s>
CREATE TABLE students (student_details VARCHAR, student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR)
SELECT T1.student_details FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1
What is detail of the student who registered the most number of courses?
<s>[INST]What is detail of the student who registered the most number of courses? Context: CREATE TABLE students (student_details VARCHAR, student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR)[/INST]SELECT T1.student_details FROM students AS T1 JOIN student_course_registrations AS T2 ON T1...
CREATE TABLE table_name_69 (attendance INTEGER, group_position VARCHAR, result_f_a VARCHAR)
SELECT AVG(attendance) FROM table_name_69 WHERE group_position = "1st" AND result_f_a = "2–0"
Group position of 1st, and a Result F–A of 2–0 has what average attendance?
<s>[INST]Group position of 1st, and a Result F–A of 2–0 has what average attendance? Context: CREATE TABLE table_name_69 (attendance INTEGER, group_position VARCHAR, result_f_a VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_69 WHERE group_position = "1st" AND result_f_a = "2–0"</s>
CREATE TABLE table_name_92 (april_28 VARCHAR, mar_24 VARCHAR)
SELECT april_28 FROM table_name_92 WHERE mar_24 = "17"
What is the April 28 rank when the Mar 24 is 17?
<s>[INST]What is the April 28 rank when the Mar 24 is 17? Context: CREATE TABLE table_name_92 (april_28 VARCHAR, mar_24 VARCHAR)[/INST]SELECT april_28 FROM table_name_92 WHERE mar_24 = "17"</s>
CREATE TABLE table_name_97 (frequency VARCHAR, launched VARCHAR)
SELECT frequency FROM table_name_97 WHERE launched = "21 august 1994"
What is the frequency of the station that was launched on 21 August 1994?
<s>[INST]What is the frequency of the station that was launched on 21 August 1994? Context: CREATE TABLE table_name_97 (frequency VARCHAR, launched VARCHAR)[/INST]SELECT frequency FROM table_name_97 WHERE launched = "21 august 1994"</s>
CREATE TABLE table_name_11 (college VARCHAR, round VARCHAR, pick VARCHAR)
SELECT college FROM table_name_11 WHERE round > 1 AND pick > 163
What is College, when Round is greater than 1, and when Pick is greater than 163?
<s>[INST]What is College, when Round is greater than 1, and when Pick is greater than 163? Context: CREATE TABLE table_name_11 (college VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT college FROM table_name_11 WHERE round > 1 AND pick > 163</s>
CREATE TABLE table_name_8 (laps INTEGER, grid VARCHAR)
SELECT AVG(laps) FROM table_name_8 WHERE grid = 8
What is the mean number of laps when the grid was 8?
<s>[INST]What is the mean number of laps when the grid was 8? Context: CREATE TABLE table_name_8 (laps INTEGER, grid VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_8 WHERE grid = 8</s>
CREATE TABLE table_2009095_2 (championship VARCHAR, outcome VARCHAR, opponents VARCHAR)
SELECT COUNT(championship) FROM table_2009095_2 WHERE outcome = "Winner" AND opponents = "Judy Tegart Dalton Lesley Turner Bowrey"
Name the championship for winner and judy tegart dalton lesley turner bowrey
<s>[INST]Name the championship for winner and judy tegart dalton lesley turner bowrey Context: CREATE TABLE table_2009095_2 (championship VARCHAR, outcome VARCHAR, opponents VARCHAR)[/INST]SELECT COUNT(championship) FROM table_2009095_2 WHERE outcome = "Winner" AND opponents = "Judy Tegart Dalton Lesley Turner Bowrey"<...
CREATE TABLE table_name_30 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_30 WHERE home_team = "new zealand breakers"
What is the home team venue for the New Zealand Breakers?
<s>[INST]What is the home team venue for the New Zealand Breakers? Context: CREATE TABLE table_name_30 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_30 WHERE home_team = "new zealand breakers"</s>
CREATE TABLE table_28210383_1 (no__episode__number_ VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT no__episode__number_ FROM table_28210383_1 WHERE directed_by = "Greg Colton" AND written_by = "Patrick Meighan"
What numbered episode was directed by greg colton and written by patrick meighan?
<s>[INST]What numbered episode was directed by greg colton and written by patrick meighan? Context: CREATE TABLE table_28210383_1 (no__episode__number_ VARCHAR, directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT no__episode__number_ FROM table_28210383_1 WHERE directed_by = "Greg Colton" AND written_by = "Patrick Me...
CREATE TABLE table_15582870_1 (college VARCHAR, choice VARCHAR)
SELECT college FROM table_15582870_1 WHERE choice = 143
Which college did draft pick #143 attend?
<s>[INST]Which college did draft pick #143 attend? Context: CREATE TABLE table_15582870_1 (college VARCHAR, choice VARCHAR)[/INST]SELECT college FROM table_15582870_1 WHERE choice = 143</s>
CREATE TABLE table_name_2 (draw INTEGER, lost VARCHAR, played VARCHAR)
SELECT SUM(draw) FROM table_name_2 WHERE lost = 11 AND played < 18
How many total draws was played less than 18 with 11 losts?
<s>[INST]How many total draws was played less than 18 with 11 losts? Context: CREATE TABLE table_name_2 (draw INTEGER, lost VARCHAR, played VARCHAR)[/INST]SELECT SUM(draw) FROM table_name_2 WHERE lost = 11 AND played < 18</s>
CREATE TABLE table_29499399_2 (money_list_rank VARCHAR, player VARCHAR)
SELECT COUNT(money_list_rank) FROM table_29499399_2 WHERE player = "Jonathan Kaye"
What is Jonathan Kaye's money list ranking?
<s>[INST]What is Jonathan Kaye's money list ranking? Context: CREATE TABLE table_29499399_2 (money_list_rank VARCHAR, player VARCHAR)[/INST]SELECT COUNT(money_list_rank) FROM table_29499399_2 WHERE player = "Jonathan Kaye"</s>
CREATE TABLE table_12030612_3 (season__number VARCHAR, written_by VARCHAR)
SELECT season__number FROM table_12030612_3 WHERE written_by = "Michael Poryes"
What season features writer Michael Poryes?
<s>[INST]What season features writer Michael Poryes? Context: CREATE TABLE table_12030612_3 (season__number VARCHAR, written_by VARCHAR)[/INST]SELECT season__number FROM table_12030612_3 WHERE written_by = "Michael Poryes"</s>
CREATE TABLE table_name_15 (score VARCHAR, place VARCHAR)
SELECT score FROM table_name_15 WHERE place = "t1"
What is Score, when Place is "T1"?
<s>[INST]What is Score, when Place is "T1"? Context: CREATE TABLE table_name_15 (score VARCHAR, place VARCHAR)[/INST]SELECT score FROM table_name_15 WHERE place = "t1"</s>
CREATE TABLE table_name_66 (Id VARCHAR)
SELECT MIN(1960) FROM table_name_66 WHERE 2000 < 8.4 AND 1950 > 3.5 AND 1990 < 3.3
What is the lowest value for 1960, when the value for 2000 is less than 8.4, when the value for 1950 is greater than 3.5, and when the value for 1990 is less than 3.3?
<s>[INST]What is the lowest value for 1960, when the value for 2000 is less than 8.4, when the value for 1950 is greater than 3.5, and when the value for 1990 is less than 3.3? Context: CREATE TABLE table_name_66 (Id VARCHAR)[/INST]SELECT MIN(1960) FROM table_name_66 WHERE 2000 < 8.4 AND 1950 > 3.5 AND 1990 < 3.3</s>
CREATE TABLE table_name_78 (vmax VARCHAR, type VARCHAR)
SELECT vmax FROM table_name_78 WHERE type = "p4-1 (24/36 ps)"
What was the maximum speed for the P4-1 (24/36 ps)?
<s>[INST]What was the maximum speed for the P4-1 (24/36 ps)? Context: CREATE TABLE table_name_78 (vmax VARCHAR, type VARCHAR)[/INST]SELECT vmax FROM table_name_78 WHERE type = "p4-1 (24/36 ps)"</s>
CREATE TABLE table_name_3 (time VARCHAR, name VARCHAR)
SELECT time FROM table_name_3 WHERE name = "park tae-hwan"
What is Park Tae-Hwan's final time?
<s>[INST]What is Park Tae-Hwan's final time? Context: CREATE TABLE table_name_3 (time VARCHAR, name VARCHAR)[/INST]SELECT time FROM table_name_3 WHERE name = "park tae-hwan"</s>
CREATE TABLE table_name_43 (investing_dragon_s_ VARCHAR, money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)
SELECT investing_dragon_s_ FROM table_name_43 WHERE money_requested__£_ = "100,000" AND entrepreneur_s_ = "kay russell"
Which Investing Dragon has requested £100,000 and is supported by Entrepreneur Kay Russell?
<s>[INST]Which Investing Dragon has requested £100,000 and is supported by Entrepreneur Kay Russell? Context: CREATE TABLE table_name_43 (investing_dragon_s_ VARCHAR, money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)[/INST]SELECT investing_dragon_s_ FROM table_name_43 WHERE money_requested__£_ = "100,000" AND entre...
CREATE TABLE Rooms (Id VARCHAR)
SELECT COUNT(*) FROM Rooms
How many rooms are there?
<s>[INST]How many rooms are there? Context: CREATE TABLE Rooms (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Rooms</s>
CREATE TABLE table_name_45 (location VARCHAR, coach VARCHAR, founded VARCHAR)
SELECT location FROM table_name_45 WHERE coach = "unknown" AND founded = 1946
Where is the club that was founded in 1946 located that has an unknown coach?
<s>[INST]Where is the club that was founded in 1946 located that has an unknown coach? Context: CREATE TABLE table_name_45 (location VARCHAR, coach VARCHAR, founded VARCHAR)[/INST]SELECT location FROM table_name_45 WHERE coach = "unknown" AND founded = 1946</s>
CREATE TABLE table_name_89 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_89 WHERE score = 73 - 67 - 68 = 208
What is the To par of the Player with a Score of 73-67-68=208?
<s>[INST]What is the To par of the Player with a Score of 73-67-68=208? Context: CREATE TABLE table_name_89 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_89 WHERE score = 73 - 67 - 68 = 208</s>
CREATE TABLE table_name_47 (make VARCHAR, car__number VARCHAR)
SELECT make FROM table_name_47 WHERE car__number = 31
What is the make of car 31?
<s>[INST]What is the make of car 31? Context: CREATE TABLE table_name_47 (make VARCHAR, car__number VARCHAR)[/INST]SELECT make FROM table_name_47 WHERE car__number = 31</s>
CREATE TABLE table_name_24 (game INTEGER, attendance VARCHAR)
SELECT AVG(game) FROM table_name_24 WHERE attendance = "65,666"
What is the average Game where there were 65,666 in attendance?
<s>[INST]What is the average Game where there were 65,666 in attendance? Context: CREATE TABLE table_name_24 (game INTEGER, attendance VARCHAR)[/INST]SELECT AVG(game) FROM table_name_24 WHERE attendance = "65,666"</s>
CREATE TABLE table_name_17 (event VARCHAR, nationality VARCHAR)
SELECT event FROM table_name_17 WHERE nationality = "guadeloupe"
What's the event of Guadeloupe?
<s>[INST]What's the event of Guadeloupe? Context: CREATE TABLE table_name_17 (event VARCHAR, nationality VARCHAR)[/INST]SELECT event FROM table_name_17 WHERE nationality = "guadeloupe"</s>
CREATE TABLE table_name_22 (wins VARCHAR, events INTEGER)
SELECT COUNT(wins) FROM table_name_22 WHERE events < 2
How many wins did he have when he played under 2 events?
<s>[INST]How many wins did he have when he played under 2 events? Context: CREATE TABLE table_name_22 (wins VARCHAR, events INTEGER)[/INST]SELECT COUNT(wins) FROM table_name_22 WHERE events < 2</s>
CREATE TABLE table_name_36 (home_city VARCHAR, manager VARCHAR)
SELECT home_city FROM table_name_36 WHERE manager = "mladen frančić"
What is the home city when Mladen Frančić is the manager?
<s>[INST]What is the home city when Mladen Frančić is the manager? Context: CREATE TABLE table_name_36 (home_city VARCHAR, manager VARCHAR)[/INST]SELECT home_city FROM table_name_36 WHERE manager = "mladen frančić"</s>
CREATE TABLE table_name_78 (title VARCHAR, director VARCHAR, production_number VARCHAR)
SELECT title FROM table_name_78 WHERE director = "chuck jones" AND production_number = "9537"
What is the title with chuck jones as the director and the production number 9537?
<s>[INST]What is the title with chuck jones as the director and the production number 9537? Context: CREATE TABLE table_name_78 (title VARCHAR, director VARCHAR, production_number VARCHAR)[/INST]SELECT title FROM table_name_78 WHERE director = "chuck jones" AND production_number = "9537"</s>
CREATE TABLE table_name_24 (round INTEGER, position VARCHAR)
SELECT MAX(round) FROM table_name_24 WHERE position = "center"
What is the highest round in which a player was picked for the Center position?
<s>[INST]What is the highest round in which a player was picked for the Center position? Context: CREATE TABLE table_name_24 (round INTEGER, position VARCHAR)[/INST]SELECT MAX(round) FROM table_name_24 WHERE position = "center"</s>
CREATE TABLE table_name_57 (difference VARCHAR, position VARCHAR, points VARCHAR)
SELECT difference FROM table_name_57 WHERE position < 3 AND points = 17
What is the Difference with a position of less than 3, and, 17 points.
<s>[INST]What is the Difference with a position of less than 3, and, 17 points. Context: CREATE TABLE table_name_57 (difference VARCHAR, position VARCHAR, points VARCHAR)[/INST]SELECT difference FROM table_name_57 WHERE position < 3 AND points = 17</s>
CREATE TABLE table_22883210_9 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_22883210_9 WHERE team = "Golden State"
What was the location and how many attended when Golden State played?
<s>[INST]What was the location and how many attended when Golden State played? Context: CREATE TABLE table_22883210_9 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_22883210_9 WHERE team = "Golden State"</s>
CREATE TABLE table_26423157_2 (conference VARCHAR, school VARCHAR)
SELECT conference FROM table_26423157_2 WHERE school = "Tennessee"
What conference is Tennessee?
<s>[INST]What conference is Tennessee? Context: CREATE TABLE table_26423157_2 (conference VARCHAR, school VARCHAR)[/INST]SELECT conference FROM table_26423157_2 WHERE school = "Tennessee"</s>
CREATE TABLE table_name_75 (call_sign VARCHAR, erp_w VARCHAR)
SELECT call_sign FROM table_name_75 WHERE erp_w = 19
What is the Call sign for the ERP W 19?
<s>[INST]What is the Call sign for the ERP W 19? Context: CREATE TABLE table_name_75 (call_sign VARCHAR, erp_w VARCHAR)[/INST]SELECT call_sign FROM table_name_75 WHERE erp_w = 19</s>
CREATE TABLE table_name_46 (band INTEGER, power__w_ INTEGER)
SELECT SUM(band) FROM table_name_46 WHERE power__w_ < 400
What Band number has a Power (W) of 400 or less?
<s>[INST]What Band number has a Power (W) of 400 or less? Context: CREATE TABLE table_name_46 (band INTEGER, power__w_ INTEGER)[/INST]SELECT SUM(band) FROM table_name_46 WHERE power__w_ < 400</s>
CREATE TABLE table_name_20 (opponent VARCHAR, location VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_20 WHERE location = "groves stadium • winston-salem, nc" AND result = "t 17-17"
What is the Opponent when the location was groves stadium • winston-salem, nc, with a result of t 17-17?
<s>[INST]What is the Opponent when the location was groves stadium • winston-salem, nc, with a result of t 17-17? Context: CREATE TABLE table_name_20 (opponent VARCHAR, location VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_20 WHERE location = "groves stadium • winston-salem, nc" AND result = "t 17-17"...
CREATE TABLE table_2454589_1 (last_title VARCHAR, first_season_in_current_spell VARCHAR)
SELECT last_title FROM table_2454589_1 WHERE first_season_in_current_spell = 2012
Name the last title for 2012
<s>[INST]Name the last title for 2012 Context: CREATE TABLE table_2454589_1 (last_title VARCHAR, first_season_in_current_spell VARCHAR)[/INST]SELECT last_title FROM table_2454589_1 WHERE first_season_in_current_spell = 2012</s>
CREATE TABLE table_name_37 (cause_of_death VARCHAR, rank VARCHAR, name VARCHAR)
SELECT cause_of_death FROM table_name_37 WHERE rank = "detective" AND name = "donald william schneider"
What is Detective Donald William Schneider's Cause of death?
<s>[INST]What is Detective Donald William Schneider's Cause of death? Context: CREATE TABLE table_name_37 (cause_of_death VARCHAR, rank VARCHAR, name VARCHAR)[/INST]SELECT cause_of_death FROM table_name_37 WHERE rank = "detective" AND name = "donald william schneider"</s>
CREATE TABLE table_name_42 (gold VARCHAR, silver VARCHAR)
SELECT gold FROM table_name_42 WHERE silver = "wolfgang eibeck austria (aut)"
who received gold when silver is wolfgang eibeck austria (aut)?
<s>[INST]who received gold when silver is wolfgang eibeck austria (aut)? Context: CREATE TABLE table_name_42 (gold VARCHAR, silver VARCHAR)[/INST]SELECT gold FROM table_name_42 WHERE silver = "wolfgang eibeck austria (aut)"</s>
CREATE TABLE table_21321804_3 (college VARCHAR, cfl_team VARCHAR)
SELECT college FROM table_21321804_3 WHERE cfl_team = "Hamilton Tiger-Cats"
What college did the player for the Hamilton Tiger-Cats go to?
<s>[INST]What college did the player for the Hamilton Tiger-Cats go to? Context: CREATE TABLE table_21321804_3 (college VARCHAR, cfl_team VARCHAR)[/INST]SELECT college FROM table_21321804_3 WHERE cfl_team = "Hamilton Tiger-Cats"</s>
CREATE TABLE table_name_72 (round VARCHAR, opponents VARCHAR)
SELECT round FROM table_name_72 WHERE opponents = "nikola ćirić dušan vemić"
For what round was the opponent nikola ćirić dušan vemić?
<s>[INST]For what round was the opponent nikola ćirić dušan vemić? Context: CREATE TABLE table_name_72 (round VARCHAR, opponents VARCHAR)[/INST]SELECT round FROM table_name_72 WHERE opponents = "nikola ćirić dušan vemić"</s>
CREATE TABLE table_name_34 (season VARCHAR, score VARCHAR)
SELECT season FROM table_name_34 WHERE score = "1-0"
Can you tell me the Season that has the Score of 1-0?
<s>[INST]Can you tell me the Season that has the Score of 1-0? Context: CREATE TABLE table_name_34 (season VARCHAR, score VARCHAR)[/INST]SELECT season FROM table_name_34 WHERE score = "1-0"</s>
CREATE TABLE table_name_96 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_96 WHERE away_team = "hawthorn"
What was Hawthorn's score as the away team?
<s>[INST]What was Hawthorn's score as the away team? Context: CREATE TABLE table_name_96 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_96 WHERE away_team = "hawthorn"</s>
CREATE TABLE table_19704392_1 (modified_hp VARCHAR, standard_torque__lb_ft_ VARCHAR)
SELECT modified_hp FROM table_19704392_1 WHERE standard_torque__lb_ft_ = "11.53"
When the standard torque (lb/ft) is 11.53 how much does more is the modified hp?
<s>[INST]When the standard torque (lb/ft) is 11.53 how much does more is the modified hp? Context: CREATE TABLE table_19704392_1 (modified_hp VARCHAR, standard_torque__lb_ft_ VARCHAR)[/INST]SELECT modified_hp FROM table_19704392_1 WHERE standard_torque__lb_ft_ = "11.53"</s>
CREATE TABLE table_name_44 (grid INTEGER, laps VARCHAR, driver VARCHAR)
SELECT MAX(grid) FROM table_name_44 WHERE laps < 39 AND driver = "juan manuel fangio"
When the driver is Juan Manuel Fangio and laps is less than 39, what is the highest grid?
<s>[INST]When the driver is Juan Manuel Fangio and laps is less than 39, what is the highest grid? Context: CREATE TABLE table_name_44 (grid INTEGER, laps VARCHAR, driver VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_44 WHERE laps < 39 AND driver = "juan manuel fangio"</s>
CREATE TABLE table_name_31 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_31 WHERE away_team = "south melbourne"
What did the home team score when the away team was South Melbourne?
<s>[INST]What did the home team score when the away team was South Melbourne? Context: CREATE TABLE table_name_31 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_31 WHERE away_team = "south melbourne"</s>
CREATE TABLE table_name_51 (meg_whitman__r_ VARCHAR, date_s__administered VARCHAR)
SELECT meg_whitman__r_ FROM table_name_51 WHERE date_s__administered = "october 21, 2010"
What percent of the vote went to Meg Whitman in the poll taken on October 21, 2010.
<s>[INST]What percent of the vote went to Meg Whitman in the poll taken on October 21, 2010. Context: CREATE TABLE table_name_51 (meg_whitman__r_ VARCHAR, date_s__administered VARCHAR)[/INST]SELECT meg_whitman__r_ FROM table_name_51 WHERE date_s__administered = "october 21, 2010"</s>
CREATE TABLE table_name_96 (position VARCHAR, name VARCHAR, win_loss VARCHAR, spread VARCHAR, country VARCHAR)
SELECT position FROM table_name_96 WHERE spread > -319 AND country = "united states" AND win_loss = "11-13" AND name = "gabriel, marty"
What position has a spread greater than -319, and United States as the country, a win loss of 11-13, and gabriel, marty as the name?
<s>[INST]What position has a spread greater than -319, and United States as the country, a win loss of 11-13, and gabriel, marty as the name? Context: CREATE TABLE table_name_96 (position VARCHAR, name VARCHAR, win_loss VARCHAR, spread VARCHAR, country VARCHAR)[/INST]SELECT position FROM table_name_96 WHERE spread > -3...
CREATE TABLE table_name_41 (losses INTEGER, byes INTEGER)
SELECT MIN(losses) FROM table_name_41 WHERE byes < 0
What were the losses when the byes were less than 0?
<s>[INST]What were the losses when the byes were less than 0? Context: CREATE TABLE table_name_41 (losses INTEGER, byes INTEGER)[/INST]SELECT MIN(losses) FROM table_name_41 WHERE byes < 0</s>
CREATE TABLE table_name_24 (drawn VARCHAR, played VARCHAR, first_game VARCHAR)
SELECT drawn FROM table_name_24 WHERE played > 4 AND first_game = 2000
How many times was there a draw when played is more than 4 and the first game is in 2000?
<s>[INST]How many times was there a draw when played is more than 4 and the first game is in 2000? Context: CREATE TABLE table_name_24 (drawn VARCHAR, played VARCHAR, first_game VARCHAR)[/INST]SELECT drawn FROM table_name_24 WHERE played > 4 AND first_game = 2000</s>
CREATE TABLE table_2140071_7 (episode VARCHAR)
SELECT episode AS Summary FROM table_2140071_7 WHERE episode = 15
What the summary of episode 15?
<s>[INST]What the summary of episode 15? Context: CREATE TABLE table_2140071_7 (episode VARCHAR)[/INST]SELECT episode AS Summary FROM table_2140071_7 WHERE episode = 15</s>
CREATE TABLE table_name_92 (draw VARCHAR, points VARCHAR, rank VARCHAR, performer VARCHAR)
SELECT COUNT(draw) FROM table_name_92 WHERE rank = "3rd" AND performer = "noelle" AND points > 79
How much Draw has a Rank of 3rd, and a Performer of noelle, and Points larger than 79?
<s>[INST]How much Draw has a Rank of 3rd, and a Performer of noelle, and Points larger than 79? Context: CREATE TABLE table_name_92 (draw VARCHAR, points VARCHAR, rank VARCHAR, performer VARCHAR)[/INST]SELECT COUNT(draw) FROM table_name_92 WHERE rank = "3rd" AND performer = "noelle" AND points > 79</s>
CREATE TABLE table_name_7 (points VARCHAR, entrant VARCHAR)
SELECT COUNT(points) FROM table_name_7 WHERE entrant = "bs automotive"
Total points for a bs automotive entrant?
<s>[INST]Total points for a bs automotive entrant? Context: CREATE TABLE table_name_7 (points VARCHAR, entrant VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_7 WHERE entrant = "bs automotive"</s>
CREATE TABLE table_name_34 (points INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT MAX(points) FROM table_name_34 WHERE grid < 13 AND time_retired = "+7.538 secs"
What is the biggest points when the grid is less than 13 and the time/retired is +7.538 secs?
<s>[INST]What is the biggest points when the grid is less than 13 and the time/retired is +7.538 secs? Context: CREATE TABLE table_name_34 (points INTEGER, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT MAX(points) FROM table_name_34 WHERE grid < 13 AND time_retired = "+7.538 secs"</s>
CREATE TABLE table_10875694_11 (system VARCHAR, title VARCHAR)
SELECT COUNT(system) FROM table_10875694_11 WHERE title = "James Bond 007: Everything or Nothing"
What is the total number of James Bond 007: Everything or Nothing for each system?
<s>[INST]What is the total number of James Bond 007: Everything or Nothing for each system? Context: CREATE TABLE table_10875694_11 (system VARCHAR, title VARCHAR)[/INST]SELECT COUNT(system) FROM table_10875694_11 WHERE title = "James Bond 007: Everything or Nothing"</s>
CREATE TABLE table_name_42 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_42 WHERE score = 71 - 69 - 72 - 72 = 284
What is Player, when Score is "71-69-72-72=284"?
<s>[INST]What is Player, when Score is "71-69-72-72=284"? Context: CREATE TABLE table_name_42 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_42 WHERE score = 71 - 69 - 72 - 72 = 284</s>
CREATE TABLE table_name_99 (score VARCHAR, country VARCHAR)
SELECT score FROM table_name_99 WHERE country = "fiji"
Name the score for fiji
<s>[INST]Name the score for fiji Context: CREATE TABLE table_name_99 (score VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_99 WHERE country = "fiji"</s>
CREATE TABLE table_name_91 (player VARCHAR, overs VARCHAR)
SELECT player FROM table_name_91 WHERE overs = "87.4"
Tell me the player with overs of 87.4
<s>[INST]Tell me the player with overs of 87.4 Context: CREATE TABLE table_name_91 (player VARCHAR, overs VARCHAR)[/INST]SELECT player FROM table_name_91 WHERE overs = "87.4"</s>
CREATE TABLE table_name_69 (rank INTEGER, city VARCHAR, population VARCHAR)
SELECT AVG(rank) FROM table_name_69 WHERE city = "el paso" AND population > 672 OFFSET 538
What is the average rank of the city of el paso, which has a population greater than 672,538?
<s>[INST]What is the average rank of the city of el paso, which has a population greater than 672,538? Context: CREATE TABLE table_name_69 (rank INTEGER, city VARCHAR, population VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_69 WHERE city = "el paso" AND population > 672 OFFSET 538</s>
CREATE TABLE film_category (category_id VARCHAR); CREATE TABLE category (name VARCHAR, category_id VARCHAR)
SELECT T2.name, T1.category_id, COUNT(*) FROM film_category AS T1 JOIN category AS T2 ON T1.category_id = T2.category_id GROUP BY T1.category_id
How many films are there in each category? List the genre name, genre id and the count.
<s>[INST]How many films are there in each category? List the genre name, genre id and the count. Context: CREATE TABLE film_category (category_id VARCHAR); CREATE TABLE category (name VARCHAR, category_id VARCHAR)[/INST]SELECT T2.name, T1.category_id, COUNT(*) FROM film_category AS T1 JOIN category AS T2 ON T1.category...
CREATE TABLE table_name_21 (semifinalists VARCHAR, tournament VARCHAR)
SELECT semifinalists FROM table_name_21 WHERE tournament = "miami"
Who was the semifinalist at the tournament in miami?
<s>[INST]Who was the semifinalist at the tournament in miami? Context: CREATE TABLE table_name_21 (semifinalists VARCHAR, tournament VARCHAR)[/INST]SELECT semifinalists FROM table_name_21 WHERE tournament = "miami"</s>
CREATE TABLE table_20726262_2 (production_code VARCHAR, no_in_series VARCHAR)
SELECT production_code FROM table_20726262_2 WHERE no_in_series = 1
What was the production code for episode #1?
<s>[INST]What was the production code for episode #1? Context: CREATE TABLE table_20726262_2 (production_code VARCHAR, no_in_series VARCHAR)[/INST]SELECT production_code FROM table_20726262_2 WHERE no_in_series = 1</s>
CREATE TABLE table_name_83 (Id VARCHAR)
SELECT 2001 FROM table_name_83 WHERE 2005 = "4r"
What is the 2001 tournament with a 2005 4r?
<s>[INST]What is the 2001 tournament with a 2005 4r? Context: CREATE TABLE table_name_83 (Id VARCHAR)[/INST]SELECT 2001 FROM table_name_83 WHERE 2005 = "4r"</s>
CREATE TABLE table_name_64 (performer_1 VARCHAR, episode VARCHAR)
SELECT performer_1 FROM table_name_64 WHERE episode = 16
Episode of 16 involves which performer 1?
<s>[INST]Episode of 16 involves which performer 1? Context: CREATE TABLE table_name_64 (performer_1 VARCHAR, episode VARCHAR)[/INST]SELECT performer_1 FROM table_name_64 WHERE episode = 16</s>
CREATE TABLE table_16729063_2 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_16729063_2 WHERE attendance = 74716
In what week number was the attendance 74716?
<s>[INST]In what week number was the attendance 74716? Context: CREATE TABLE table_16729063_2 (week VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_16729063_2 WHERE attendance = 74716</s>
CREATE TABLE table_name_83 (date VARCHAR, athlete VARCHAR, event VARCHAR)
SELECT date FROM table_name_83 WHERE athlete = "chris maddocks" AND event = "35000 m"
What day did Chris Maddocks compete in the 35000 m?
<s>[INST]What day did Chris Maddocks compete in the 35000 m? Context: CREATE TABLE table_name_83 (date VARCHAR, athlete VARCHAR, event VARCHAR)[/INST]SELECT date FROM table_name_83 WHERE athlete = "chris maddocks" AND event = "35000 m"</s>
CREATE TABLE table_name_37 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_37 WHERE place = "t10" AND score = 67 - 72 - 72 = 211
who is the player when the place is t10 and the score is 67-72-72=211?
<s>[INST]who is the player when the place is t10 and the score is 67-72-72=211? Context: CREATE TABLE table_name_37 (player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_37 WHERE place = "t10" AND score = 67 - 72 - 72 = 211</s>
CREATE TABLE table_256286_19 (passed VARCHAR, description VARCHAR)
SELECT passed FROM table_256286_19 WHERE description = "Bus and Truck Operating License Bill"
What was the passing result for the measure with a description of bus and truck operating license bill?
<s>[INST]What was the passing result for the measure with a description of bus and truck operating license bill? Context: CREATE TABLE table_256286_19 (passed VARCHAR, description VARCHAR)[/INST]SELECT passed FROM table_256286_19 WHERE description = "Bus and Truck Operating License Bill"</s>
CREATE TABLE Student (Major VARCHAR)
SELECT Major, COUNT(*) FROM Student GROUP BY Major HAVING COUNT(Major) BETWEEN 2 AND 30
Which major has between 2 and 30 number of students? List major and the number of students.
<s>[INST]Which major has between 2 and 30 number of students? List major and the number of students. Context: CREATE TABLE Student (Major VARCHAR)[/INST]SELECT Major, COUNT(*) FROM Student GROUP BY Major HAVING COUNT(Major) BETWEEN 2 AND 30</s>
CREATE TABLE table_13636_1 (computing_mechanism VARCHAR, first_operational VARCHAR)
SELECT computing_mechanism FROM table_13636_1 WHERE first_operational = "February 1944"
what's the computing mechanbeingm with first operational being february 1944
<s>[INST]what's the computing mechanbeingm with first operational being february 1944 Context: CREATE TABLE table_13636_1 (computing_mechanism VARCHAR, first_operational VARCHAR)[/INST]SELECT computing_mechanism FROM table_13636_1 WHERE first_operational = "February 1944"</s>
CREATE TABLE table_2639433_4 (episodes VARCHAR, year VARCHAR)
SELECT episodes FROM table_2639433_4 WHERE year = 2007
What episode came out in the year 2007?
<s>[INST]What episode came out in the year 2007? Context: CREATE TABLE table_2639433_4 (episodes VARCHAR, year VARCHAR)[/INST]SELECT episodes FROM table_2639433_4 WHERE year = 2007</s>
CREATE TABLE table_name_54 (director_s_ VARCHAR, recipient VARCHAR)
SELECT director_s_ FROM table_name_54 WHERE recipient = "redbag pictures ltd"
Who was the director that had a recipient of Redbag Pictures Ltd?
<s>[INST]Who was the director that had a recipient of Redbag Pictures Ltd? Context: CREATE TABLE table_name_54 (director_s_ VARCHAR, recipient VARCHAR)[/INST]SELECT director_s_ FROM table_name_54 WHERE recipient = "redbag pictures ltd"</s>
CREATE TABLE table_25331766_3 (attendance INTEGER)
SELECT MIN(attendance) FROM table_25331766_3
What is the lowest attendance?
<s>[INST]What is the lowest attendance? Context: CREATE TABLE table_25331766_3 (attendance INTEGER)[/INST]SELECT MIN(attendance) FROM table_25331766_3</s>
CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE manager_award (player_id VARCHAR)
SELECT T1.name_first, T1.name_last, T2.player_id FROM player AS T1 JOIN manager_award AS T2 ON T1.player_id = T2.player_id GROUP BY T2.player_id ORDER BY COUNT(*) DESC LIMIT 1
What are the manager's first name, last name and id who won the most manager award?
<s>[INST]What are the manager's first name, last name and id who won the most manager award? Context: CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE manager_award (player_id VARCHAR)[/INST]SELECT T1.name_first, T1.name_last, T2.player_id FROM player AS T1 JOIN manager_award...
CREATE TABLE table_21312845_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_21312845_1 WHERE directed_by = "David Straiton"
Who wrote the episodes directed by David Straiton?
<s>[INST]Who wrote the episodes directed by David Straiton? Context: CREATE TABLE table_21312845_1 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT written_by FROM table_21312845_1 WHERE directed_by = "David Straiton"</s>
CREATE TABLE table_17419587_1 (airport VARCHAR, iata VARCHAR)
SELECT COUNT(airport) FROM table_17419587_1 WHERE iata = "MEL"
What is the airport with the IATA MEL?
<s>[INST]What is the airport with the IATA MEL? Context: CREATE TABLE table_17419587_1 (airport VARCHAR, iata VARCHAR)[/INST]SELECT COUNT(airport) FROM table_17419587_1 WHERE iata = "MEL"</s>
CREATE TABLE tracks (album_id VARCHAR); CREATE TABLE albums (title VARCHAR, id VARCHAR)
SELECT T1.title FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.album_id GROUP BY T1.id HAVING COUNT(T1.id) > 10
List title of albums have the number of tracks greater than 10.
<s>[INST]List title of albums have the number of tracks greater than 10. Context: CREATE TABLE tracks (album_id VARCHAR); CREATE TABLE albums (title VARCHAR, id VARCHAR)[/INST]SELECT T1.title FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.album_id GROUP BY T1.id HAVING COUNT(T1.id) > 10</s>
CREATE TABLE table_name_2 (musical_guest__song_performed_ VARCHAR, air_date VARCHAR)
SELECT musical_guest__song_performed_ FROM table_name_2 WHERE air_date = "13 july 2008"
What is the Musical Guest (Song performed) for the episode aired on 13 july 2008?
<s>[INST]What is the Musical Guest (Song performed) for the episode aired on 13 july 2008? Context: CREATE TABLE table_name_2 (musical_guest__song_performed_ VARCHAR, air_date VARCHAR)[/INST]SELECT musical_guest__song_performed_ FROM table_name_2 WHERE air_date = "13 july 2008"</s>
CREATE TABLE table_name_34 (release_date VARCHAR, voltage_range VARCHAR)
SELECT release_date FROM table_name_34 WHERE voltage_range = "1.148 v - 1.196 v"
Which Release Date has a Voltage Range of 1.148 v - 1.196 v?
<s>[INST]Which Release Date has a Voltage Range of 1.148 v - 1.196 v? Context: CREATE TABLE table_name_34 (release_date VARCHAR, voltage_range VARCHAR)[/INST]SELECT release_date FROM table_name_34 WHERE voltage_range = "1.148 v - 1.196 v"</s>
CREATE TABLE table_23601267_2 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_23601267_2 WHERE date = "September 29"
What week did September 29 fall in?
<s>[INST]What week did September 29 fall in? Context: CREATE TABLE table_23601267_2 (week VARCHAR, date VARCHAR)[/INST]SELECT COUNT(week) FROM table_23601267_2 WHERE date = "September 29"</s>
CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR)
SELECT call_sign FROM table_name_67 WHERE frequency = "0 97.3 fm"
Tell me the call sign for frequency of 0 97.3 fm
<s>[INST]Tell me the call sign for frequency of 0 97.3 fm Context: CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR)[/INST]SELECT call_sign FROM table_name_67 WHERE frequency = "0 97.3 fm"</s>
CREATE TABLE table_name_34 (away_captain VARCHAR, venue VARCHAR)
SELECT away_captain FROM table_name_34 WHERE venue = "brisbane cricket ground"
Who was the away captain at Brisbane Cricket Ground?
<s>[INST]Who was the away captain at Brisbane Cricket Ground? Context: CREATE TABLE table_name_34 (away_captain VARCHAR, venue VARCHAR)[/INST]SELECT away_captain FROM table_name_34 WHERE venue = "brisbane cricket ground"</s>
CREATE TABLE table_name_12 (host VARCHAR, venue VARCHAR, year VARCHAR, state VARCHAR)
SELECT host FROM table_name_12 WHERE year > 1989 AND state = "california" AND venue = "staples center"
What is the host in a year greater than 1989 and when the venue is the Staples Center located in California?
<s>[INST]What is the host in a year greater than 1989 and when the venue is the Staples Center located in California? Context: CREATE TABLE table_name_12 (host VARCHAR, venue VARCHAR, year VARCHAR, state VARCHAR)[/INST]SELECT host FROM table_name_12 WHERE year > 1989 AND state = "california" AND venue = "staples center...
CREATE TABLE table_name_34 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_34 WHERE record = "50-19"
Where is the location with a record of 50-19?
<s>[INST]Where is the location with a record of 50-19? Context: CREATE TABLE table_name_34 (location VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_34 WHERE record = "50-19"</s>
CREATE TABLE table_name_67 (state VARCHAR, region VARCHAR, host VARCHAR)
SELECT state FROM table_name_67 WHERE region = "mideast" AND host = "university of iowa"
Which state contains the University of Iowa in the mideast region?
<s>[INST]Which state contains the University of Iowa in the mideast region? Context: CREATE TABLE table_name_67 (state VARCHAR, region VARCHAR, host VARCHAR)[/INST]SELECT state FROM table_name_67 WHERE region = "mideast" AND host = "university of iowa"</s>
CREATE TABLE table_name_81 (runner_up VARCHAR, winner VARCHAR)
SELECT runner_up FROM table_name_81 WHERE winner = "ilhwa chunma"
Who is the runner-up for Ilhwa Chunma?
<s>[INST]Who is the runner-up for Ilhwa Chunma? Context: CREATE TABLE table_name_81 (runner_up VARCHAR, winner VARCHAR)[/INST]SELECT runner_up FROM table_name_81 WHERE winner = "ilhwa chunma"</s>
CREATE TABLE table_name_26 (total INTEGER, player VARCHAR)
SELECT AVG(total) FROM table_name_26 WHERE player = "tim sills"
Which mean total had Tim Sills as a player?
<s>[INST]Which mean total had Tim Sills as a player? Context: CREATE TABLE table_name_26 (total INTEGER, player VARCHAR)[/INST]SELECT AVG(total) FROM table_name_26 WHERE player = "tim sills"</s>
CREATE TABLE table_23286722_1 (series__number INTEGER, written_by VARCHAR)
SELECT MIN(series__number) FROM table_23286722_1 WHERE written_by = "David E. Kelley & Jill Goldsmith"
Name least series number for writers david e. kelley & jill goldsmith
<s>[INST]Name least series number for writers david e. kelley & jill goldsmith Context: CREATE TABLE table_23286722_1 (series__number INTEGER, written_by VARCHAR)[/INST]SELECT MIN(series__number) FROM table_23286722_1 WHERE written_by = "David E. Kelley & Jill Goldsmith"</s>
CREATE TABLE table_name_28 (money___ VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT COUNT(money___) AS $__ FROM table_name_28 WHERE to_par = "+5" AND score = 76 - 69 - 70 - 70 = 285
What is the amount of money that a +5 to par with a score of 76-69-70-70=285?
<s>[INST]What is the amount of money that a +5 to par with a score of 76-69-70-70=285? Context: CREATE TABLE table_name_28 (money___ VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT COUNT(money___) AS $__ FROM table_name_28 WHERE to_par = "+5" AND score = 76 - 69 - 70 - 70 = 285</s>
CREATE TABLE table_name_47 (player VARCHAR, hometown VARCHAR)
SELECT player FROM table_name_47 WHERE hometown = "flower mound, tx"
Who is from flower mound, tx?
<s>[INST]Who is from flower mound, tx? Context: CREATE TABLE table_name_47 (player VARCHAR, hometown VARCHAR)[/INST]SELECT player FROM table_name_47 WHERE hometown = "flower mound, tx"</s>
CREATE TABLE table_1745843_5 (part_3 VARCHAR, part_2 VARCHAR)
SELECT part_3 FROM table_1745843_5 WHERE part_2 = "band"
What is the 3rd participle of the verb whose 2nd participle is band?
<s>[INST]What is the 3rd participle of the verb whose 2nd participle is band? Context: CREATE TABLE table_1745843_5 (part_3 VARCHAR, part_2 VARCHAR)[/INST]SELECT part_3 FROM table_1745843_5 WHERE part_2 = "band"</s>
CREATE TABLE table_name_2 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT SUM(laps) FROM table_name_2 WHERE grid < 14 AND time_retired = "out of fuel"
How many laps have a grid under 14 and a time/retired of out of fuel?
<s>[INST]How many laps have a grid under 14 and a time/retired of out of fuel? Context: CREATE TABLE table_name_2 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_2 WHERE grid < 14 AND time_retired = "out of fuel"</s>