context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_94 (opponent VARCHAR, rank VARCHAR)
SELECT opponent FROM table_name_94 WHERE rank = "4"
What is the Opponent that has a Rank of 4?
<s>[INST]What is the Opponent that has a Rank of 4? Context: CREATE TABLE table_name_94 (opponent VARCHAR, rank VARCHAR)[/INST]SELECT opponent FROM table_name_94 WHERE rank = "4"</s>
CREATE TABLE table_19418696_3 (qb_rating VARCHAR, completions VARCHAR)
SELECT COUNT(qb_rating) FROM table_19418696_3 WHERE completions = 1069
How many QB ratings for the player with 1069 completions?
<s>[INST]How many QB ratings for the player with 1069 completions? Context: CREATE TABLE table_19418696_3 (qb_rating VARCHAR, completions VARCHAR)[/INST]SELECT COUNT(qb_rating) FROM table_19418696_3 WHERE completions = 1069</s>
CREATE TABLE branch (name VARCHAR, branch_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, register_year INTEGER)
SELECT T2.name, COUNT(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE T1.register_year > 2015 GROUP BY T2.branch_id
Show all branch names with the number of members in each branch registered after 2015.
<s>[INST]Show all branch names with the number of members in each branch registered after 2015. Context: CREATE TABLE branch (name VARCHAR, branch_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, register_year INTEGER)[/INST]SELECT T2.name, COUNT(*) FROM membership_register_branch AS T1 JOIN bra...
CREATE TABLE table_name_73 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_73 WHERE date = "august 24"
What was the record on august 24?
<s>[INST]What was the record on august 24? Context: CREATE TABLE table_name_73 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_73 WHERE date = "august 24"</s>
CREATE TABLE table_name_82 (game VARCHAR, record VARCHAR)
SELECT game FROM table_name_82 WHERE record = "11-12"
What was the number of the game when the record was 11-12?
<s>[INST]What was the number of the game when the record was 11-12? Context: CREATE TABLE table_name_82 (game VARCHAR, record VARCHAR)[/INST]SELECT game FROM table_name_82 WHERE record = "11-12"</s>
CREATE TABLE table_name_9 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_9 WHERE week = 1
What was the attendance for the week 1 game?
<s>[INST]What was the attendance for the week 1 game? Context: CREATE TABLE table_name_9 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_9 WHERE week = 1</s>
CREATE TABLE table_name_71 (code_name VARCHAR, api_level VARCHAR)
SELECT code_name FROM table_name_71 WHERE api_level = 18
with api level of 18, what's the code name?
<s>[INST]with api level of 18, what's the code name? Context: CREATE TABLE table_name_71 (code_name VARCHAR, api_level VARCHAR)[/INST]SELECT code_name FROM table_name_71 WHERE api_level = 18</s>
CREATE TABLE item (i_id VARCHAR, title VARCHAR)
SELECT i_id FROM item WHERE title = "orange"
Find the id of the item whose title is "orange".
<s>[INST]Find the id of the item whose title is "orange". Context: CREATE TABLE item (i_id VARCHAR, title VARCHAR)[/INST]SELECT i_id FROM item WHERE title = "orange"</s>
CREATE TABLE table_13642023_2 (circuit VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR)
SELECT circuit FROM table_13642023_2 WHERE rnd = 5 AND gtu_winning_team = "#59 Brumos Porsche - Audi"
On what circuit was the GTU winning team #59 Brumos Porsche - Audi in round 5?
<s>[INST]On what circuit was the GTU winning team #59 Brumos Porsche - Audi in round 5? Context: CREATE TABLE table_13642023_2 (circuit VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR)[/INST]SELECT circuit FROM table_13642023_2 WHERE rnd = 5 AND gtu_winning_team = "#59 Brumos Porsche - Audi"</s>
CREATE TABLE table_name_4 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_4 WHERE date = "may 12"
What were the high points on May 12?
<s>[INST]What were the high points on May 12? Context: CREATE TABLE table_name_4 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_name_4 WHERE date = "may 12"</s>
CREATE TABLE table_15366768_1 (isotopic_mass___u__ VARCHAR, nuclide VARCHAR)
SELECT isotopic_mass___u__ FROM table_15366768_1 WHERE nuclide = "169 Tm"
What is the mass of the element with a nuclide that is 169 tm?
<s>[INST]What is the mass of the element with a nuclide that is 169 tm? Context: CREATE TABLE table_15366768_1 (isotopic_mass___u__ VARCHAR, nuclide VARCHAR)[/INST]SELECT isotopic_mass___u__ FROM table_15366768_1 WHERE nuclide = "169 Tm"</s>
CREATE TABLE table_name_27 (position VARCHAR, competition VARCHAR, year VARCHAR)
SELECT position FROM table_name_27 WHERE competition = "world championships" AND year > 1997
Which Position has a Competition of world championships, and a Year larger than 1997?
<s>[INST]Which Position has a Competition of world championships, and a Year larger than 1997? Context: CREATE TABLE table_name_27 (position VARCHAR, competition VARCHAR, year VARCHAR)[/INST]SELECT position FROM table_name_27 WHERE competition = "world championships" AND year > 1997</s>
CREATE TABLE table_25322130_3 (winning_driver VARCHAR, date VARCHAR)
SELECT winning_driver FROM table_25322130_3 WHERE date = "20 April"
Name the winning driver for 20 april
<s>[INST]Name the winning driver for 20 april Context: CREATE TABLE table_25322130_3 (winning_driver VARCHAR, date VARCHAR)[/INST]SELECT winning_driver FROM table_25322130_3 WHERE date = "20 April"</s>
CREATE TABLE table_name_44 (heat INTEGER, lane VARCHAR, quart VARCHAR)
SELECT MIN(heat) FROM table_name_44 WHERE lane = 4 AND quart > 44.62
When a lane of 4 has a QUART greater than 44.62, what is the lowest HEAT?
<s>[INST]When a lane of 4 has a QUART greater than 44.62, what is the lowest HEAT? Context: CREATE TABLE table_name_44 (heat INTEGER, lane VARCHAR, quart VARCHAR)[/INST]SELECT MIN(heat) FROM table_name_44 WHERE lane = 4 AND quart > 44.62</s>
CREATE TABLE table_name_67 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_67 WHERE away_team = "brentford"
What is Home Team, when Away Team is "Brentford"?
<s>[INST]What is Home Team, when Away Team is "Brentford"? Context: CREATE TABLE table_name_67 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_67 WHERE away_team = "brentford"</s>
CREATE TABLE table_20345624_2 (title VARCHAR, original_airdate VARCHAR)
SELECT COUNT(title) FROM table_20345624_2 WHERE original_airdate = "5 August 1967"
Name the title that aired on 5 august 1967
<s>[INST]Name the title that aired on 5 august 1967 Context: CREATE TABLE table_20345624_2 (title VARCHAR, original_airdate VARCHAR)[/INST]SELECT COUNT(title) FROM table_20345624_2 WHERE original_airdate = "5 August 1967"</s>
CREATE TABLE table_name_40 (station_number VARCHAR, location VARCHAR)
SELECT station_number FROM table_name_40 WHERE location = "dogsthorpe"
What is the station number of the station at Dogsthorpe?
<s>[INST]What is the station number of the station at Dogsthorpe? Context: CREATE TABLE table_name_40 (station_number VARCHAR, location VARCHAR)[/INST]SELECT station_number FROM table_name_40 WHERE location = "dogsthorpe"</s>
CREATE TABLE table_name_68 (total INTEGER, silver VARCHAR, nation VARCHAR)
SELECT SUM(total) FROM table_name_68 WHERE silver = "1" AND nation = "spain"
How many medals for spain with 1 silver?
<s>[INST]How many medals for spain with 1 silver? Context: CREATE TABLE table_name_68 (total INTEGER, silver VARCHAR, nation VARCHAR)[/INST]SELECT SUM(total) FROM table_name_68 WHERE silver = "1" AND nation = "spain"</s>
CREATE TABLE table_28220778_21 (high_rebounds VARCHAR, game VARCHAR)
SELECT COUNT(high_rebounds) FROM table_28220778_21 WHERE game = 14
How many people had high rebounds in game 14?
<s>[INST]How many people had high rebounds in game 14? Context: CREATE TABLE table_28220778_21 (high_rebounds VARCHAR, game VARCHAR)[/INST]SELECT COUNT(high_rebounds) FROM table_28220778_21 WHERE game = 14</s>
CREATE TABLE Treatments (professional_id VARCHAR, treatment_type_code VARCHAR); CREATE TABLE Treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR); CREATE TABLE professionals (first_name VARCHAR, professional_id VARCHAR)
SELECT DISTINCT T1.first_name, T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code = T3.treatment_type_code
List the first name of all the professionals along with the description of the treatment they have done.
<s>[INST]List the first name of all the professionals along with the description of the treatment they have done. Context: CREATE TABLE Treatments (professional_id VARCHAR, treatment_type_code VARCHAR); CREATE TABLE Treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR); CREATE TABLE professi...
CREATE TABLE table_2015453_1 (team__number1 VARCHAR, date VARCHAR)
SELECT team__number1 FROM table_2015453_1 WHERE date = "9 September 2006"
Who was team #1 on 9 September 2006?
<s>[INST]Who was team #1 on 9 September 2006? Context: CREATE TABLE table_2015453_1 (team__number1 VARCHAR, date VARCHAR)[/INST]SELECT team__number1 FROM table_2015453_1 WHERE date = "9 September 2006"</s>
CREATE TABLE table_15467476_2 (points VARCHAR, club VARCHAR)
SELECT points FROM table_15467476_2 WHERE club = "Pontrhydyfen RFC"
Name the points for pontrhydyfen rfc
<s>[INST]Name the points for pontrhydyfen rfc Context: CREATE TABLE table_15467476_2 (points VARCHAR, club VARCHAR)[/INST]SELECT points FROM table_15467476_2 WHERE club = "Pontrhydyfen RFC"</s>
CREATE TABLE table_18602462_21 (final__bronze_medal_match VARCHAR, quarterfinals VARCHAR)
SELECT final__bronze_medal_match FROM table_18602462_21 WHERE quarterfinals = "Houdet ( FRA ) W 6-2, 6-1"
When houdet ( fra ) w 6-2, 6-1 is the quarterfinals what is the final/bronze medal match?
<s>[INST]When houdet ( fra ) w 6-2, 6-1 is the quarterfinals what is the final/bronze medal match? Context: CREATE TABLE table_18602462_21 (final__bronze_medal_match VARCHAR, quarterfinals VARCHAR)[/INST]SELECT final__bronze_medal_match FROM table_18602462_21 WHERE quarterfinals = "Houdet ( FRA ) W 6-2, 6-1"</s>
CREATE TABLE table_name_12 (year VARCHAR, distributor_s_ VARCHAR, title VARCHAR)
SELECT year FROM table_name_12 WHERE distributor_s_ = "touchstone pictures" AND title = "three men and a little lady"
Three Men and a Little Lady from Touchstone Pictures was from what year?
<s>[INST]Three Men and a Little Lady from Touchstone Pictures was from what year? Context: CREATE TABLE table_name_12 (year VARCHAR, distributor_s_ VARCHAR, title VARCHAR)[/INST]SELECT year FROM table_name_12 WHERE distributor_s_ = "touchstone pictures" AND title = "three men and a little lady"</s>
CREATE TABLE table_name_30 (attendance INTEGER, round VARCHAR, home VARCHAR, date VARCHAR)
SELECT MIN(attendance) FROM table_name_30 WHERE home = "linköpings hc" AND date = "monday, november 10" AND round > 18
What is the lowest attendance on Monday, November 10 when linköpings hc was the home team and there were more than 18 rounds?
<s>[INST]What is the lowest attendance on Monday, November 10 when linköpings hc was the home team and there were more than 18 rounds? Context: CREATE TABLE table_name_30 (attendance INTEGER, round VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_30 WHERE home = "linköpings hc" AND date...
CREATE TABLE table_21312845_1 (directed_by VARCHAR, production_code VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_21312845_1 WHERE production_code > 4301103.585233785 AND written_by = "Curtis Kheel"
Who directed the episode with a production code greater than 4301103.585233785 that was written by Curtis Kheel?
<s>[INST]Who directed the episode with a production code greater than 4301103.585233785 that was written by Curtis Kheel? Context: CREATE TABLE table_21312845_1 (directed_by VARCHAR, production_code VARCHAR, written_by VARCHAR)[/INST]SELECT directed_by FROM table_21312845_1 WHERE production_code > 4301103.585233785 AND...
CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)
SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rating) LIMIT 1
Find the name of the item with the lowest average rating.
<s>[INST]Find the name of the item with the lowest average rating. Context: CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)[/INST]SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rating) LIMIT 1</s>
CREATE TABLE table_name_91 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT MAX(laps) FROM table_name_91 WHERE grid > 21 AND time_retired = "+2 laps"
What is the high lap total for cards with a grid larger than 21, and a Time/Retired of +2 laps?
<s>[INST]What is the high lap total for cards with a grid larger than 21, and a Time/Retired of +2 laps? Context: CREATE TABLE table_name_91 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_91 WHERE grid > 21 AND time_retired = "+2 laps"</s>
CREATE TABLE table_name_31 (placings INTEGER, nation VARCHAR, points VARCHAR)
SELECT SUM(placings) FROM table_name_31 WHERE nation = "west germany" AND points > 303.72
Which Placings have a Nation of west germany, and Points larger than 303.72?
<s>[INST]Which Placings have a Nation of west germany, and Points larger than 303.72? Context: CREATE TABLE table_name_31 (placings INTEGER, nation VARCHAR, points VARCHAR)[/INST]SELECT SUM(placings) FROM table_name_31 WHERE nation = "west germany" AND points > 303.72</s>
CREATE TABLE table_22640051_3 (replaced_by VARCHAR, date_of_appointment VARCHAR)
SELECT COUNT(replaced_by) FROM table_22640051_3 WHERE date_of_appointment = "13 June 2009"
Name the total number of replaced by for 13 june 2009
<s>[INST]Name the total number of replaced by for 13 june 2009 Context: CREATE TABLE table_22640051_3 (replaced_by VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT COUNT(replaced_by) FROM table_22640051_3 WHERE date_of_appointment = "13 June 2009"</s>
CREATE TABLE table_name_77 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR, cuts_made VARCHAR)
SELECT MAX(top_10) FROM table_name_77 WHERE top_5 > 3 AND cuts_made = 20 AND top_25 > 10
What was the highest Top-10, when the Top-5 was greater than 3, when the Cuts made were 20, and when the Top-25 was more than 10?
<s>[INST]What was the highest Top-10, when the Top-5 was greater than 3, when the Cuts made were 20, and when the Top-25 was more than 10? Context: CREATE TABLE table_name_77 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR, cuts_made VARCHAR)[/INST]SELECT MAX(top_10) FROM table_name_77 WHERE top_5 > 3 AND cuts_made = 20...
CREATE TABLE table_name_69 (laps INTEGER, grid VARCHAR)
SELECT MIN(laps) FROM table_name_69 WHERE grid = 17
What are the lowest laps of grid 17?
<s>[INST]What are the lowest laps of grid 17? Context: CREATE TABLE table_name_69 (laps INTEGER, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_69 WHERE grid = 17</s>
CREATE TABLE table_name_99 (opponents VARCHAR, surface VARCHAR)
SELECT opponents FROM table_name_99 WHERE surface = "hard"
Who did he play on a hard surface?
<s>[INST]Who did he play on a hard surface? Context: CREATE TABLE table_name_99 (opponents VARCHAR, surface VARCHAR)[/INST]SELECT opponents FROM table_name_99 WHERE surface = "hard"</s>
CREATE TABLE table_name_37 (roll INTEGER, name VARCHAR)
SELECT MIN(roll) FROM table_name_37 WHERE name = "katikati college"
What is the lowest roll number of Katikati college?
<s>[INST]What is the lowest roll number of Katikati college? Context: CREATE TABLE table_name_37 (roll INTEGER, name VARCHAR)[/INST]SELECT MIN(roll) FROM table_name_37 WHERE name = "katikati college"</s>
CREATE TABLE table_10548224_1 (losing_team VARCHAR, date_contested VARCHAR)
SELECT losing_team FROM table_10548224_1 WHERE date_contested = "February 1, 2004"
Who was the losing team of the game that was contested on February 1, 2004?
<s>[INST]Who was the losing team of the game that was contested on February 1, 2004? Context: CREATE TABLE table_10548224_1 (losing_team VARCHAR, date_contested VARCHAR)[/INST]SELECT losing_team FROM table_10548224_1 WHERE date_contested = "February 1, 2004"</s>
CREATE TABLE table_26160007_1 (total_trade VARCHAR, country VARCHAR)
SELECT total_trade FROM table_26160007_1 WHERE country = "Switzerland"
In the country Switzerland, what is the total trade?
<s>[INST]In the country Switzerland, what is the total trade? Context: CREATE TABLE table_26160007_1 (total_trade VARCHAR, country VARCHAR)[/INST]SELECT total_trade FROM table_26160007_1 WHERE country = "Switzerland"</s>
CREATE TABLE table_name_74 (surface VARCHAR, opponents_in_the_final VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_74 WHERE opponents_in_the_final = "mark edmondson sherwood stewart" AND tournament = "dallas , u.s."
which Surface has Opponents in the final of mark edmondson sherwood stewart, and a Tournament of dallas , u.s.?
<s>[INST]which Surface has Opponents in the final of mark edmondson sherwood stewart, and a Tournament of dallas , u.s.? Context: CREATE TABLE table_name_74 (surface VARCHAR, opponents_in_the_final VARCHAR, tournament VARCHAR)[/INST]SELECT surface FROM table_name_74 WHERE opponents_in_the_final = "mark edmondson sherwo...
CREATE TABLE table_name_25 (year INTEGER, film VARCHAR)
SELECT SUM(year) FROM table_name_25 WHERE film = "klondike annie"
What is the Year of the Film Klondike Annie?
<s>[INST]What is the Year of the Film Klondike Annie? Context: CREATE TABLE table_name_25 (year INTEGER, film VARCHAR)[/INST]SELECT SUM(year) FROM table_name_25 WHERE film = "klondike annie"</s>
CREATE TABLE county_public_safety (LOCATION VARCHAR)
SELECT LOCATION FROM county_public_safety GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1
What is the location shared by most counties?
<s>[INST]What is the location shared by most counties? Context: CREATE TABLE county_public_safety (LOCATION VARCHAR)[/INST]SELECT LOCATION FROM county_public_safety GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_85 WHERE date = "january 18"
What is the score of the game on January 18?
<s>[INST]What is the score of the game on January 18? Context: CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_85 WHERE date = "january 18"</s>
CREATE TABLE table_26419467_1 (alumni VARCHAR, fresh_meat_partner VARCHAR)
SELECT alumni FROM table_26419467_1 WHERE fresh_meat_partner = "Noor Jehangir"
What alumni had noor jehangir as their fresh meat partner?
<s>[INST]What alumni had noor jehangir as their fresh meat partner? Context: CREATE TABLE table_26419467_1 (alumni VARCHAR, fresh_meat_partner VARCHAR)[/INST]SELECT alumni FROM table_26419467_1 WHERE fresh_meat_partner = "Noor Jehangir"</s>
CREATE TABLE table_name_1 (local_networked VARCHAR, ad_freq VARCHAR)
SELECT local_networked FROM table_name_1 WHERE ad_freq = "15 minutes"
What is the local/network with an Ad frequency of 15 minutes?
<s>[INST]What is the local/network with an Ad frequency of 15 minutes? Context: CREATE TABLE table_name_1 (local_networked VARCHAR, ad_freq VARCHAR)[/INST]SELECT local_networked FROM table_name_1 WHERE ad_freq = "15 minutes"</s>
CREATE TABLE table_name_95 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_95 WHERE record = "0-5"
For the game showing a final record of 0-5, what was the attendance level?
<s>[INST]For the game showing a final record of 0-5, what was the attendance level? Context: CREATE TABLE table_name_95 (attendance VARCHAR, record VARCHAR)[/INST]SELECT attendance FROM table_name_95 WHERE record = "0-5"</s>
CREATE TABLE table_23281862_10 (game INTEGER, score VARCHAR)
SELECT MAX(game) FROM table_23281862_10 WHERE score = "W 113–96 (OT)"
Name the most game for w 113–96 (ot)
<s>[INST]Name the most game for w 113–96 (ot) Context: CREATE TABLE table_23281862_10 (game INTEGER, score VARCHAR)[/INST]SELECT MAX(game) FROM table_23281862_10 WHERE score = "W 113–96 (OT)"</s>
CREATE TABLE table_27755784_8 (record VARCHAR, date VARCHAR)
SELECT record FROM table_27755784_8 WHERE date = "January 7"
What is the record when the date is January 7?
<s>[INST]What is the record when the date is January 7? Context: CREATE TABLE table_27755784_8 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_27755784_8 WHERE date = "January 7"</s>
CREATE TABLE table_name_36 (transfers_in VARCHAR, country VARCHAR)
SELECT transfers_in FROM table_name_36 WHERE country = "hungary"
What are the transfers in for Hungary?
<s>[INST]What are the transfers in for Hungary? Context: CREATE TABLE table_name_36 (transfers_in VARCHAR, country VARCHAR)[/INST]SELECT transfers_in FROM table_name_36 WHERE country = "hungary"</s>
CREATE TABLE table_name_46 (season VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT season FROM table_name_46 WHERE nationality = "united states" AND position = "center"
What season did a United States center play in?
<s>[INST]What season did a United States center play in? Context: CREATE TABLE table_name_46 (season VARCHAR, nationality VARCHAR, position VARCHAR)[/INST]SELECT season FROM table_name_46 WHERE nationality = "united states" AND position = "center"</s>
CREATE TABLE table_name_88 (earnings__ INTEGER, money_list_rank VARCHAR, year VARCHAR)
SELECT AVG(earnings__) AS $_ FROM table_name_88 WHERE money_list_rank = "6" AND year < 2004
What is the average amount of earnings for years under 2004 and money list rankings of 6?
<s>[INST]What is the average amount of earnings for years under 2004 and money list rankings of 6? Context: CREATE TABLE table_name_88 (earnings__ INTEGER, money_list_rank VARCHAR, year VARCHAR)[/INST]SELECT AVG(earnings__) AS $_ FROM table_name_88 WHERE money_list_rank = "6" AND year < 2004</s>
CREATE TABLE table_13940275_5 (tries_against VARCHAR, try_bonus VARCHAR)
SELECT tries_against FROM table_13940275_5 WHERE try_bonus = "10"
what's the tries against with try bonus being 10
<s>[INST]what's the tries against with try bonus being 10 Context: CREATE TABLE table_13940275_5 (tries_against VARCHAR, try_bonus VARCHAR)[/INST]SELECT tries_against FROM table_13940275_5 WHERE try_bonus = "10"</s>
CREATE TABLE table_name_18 (language VARCHAR, english_translation VARCHAR)
SELECT language FROM table_name_18 WHERE english_translation = "come to me"
what is the language when the english translation is come to me?
<s>[INST]what is the language when the english translation is come to me? Context: CREATE TABLE table_name_18 (language VARCHAR, english_translation VARCHAR)[/INST]SELECT language FROM table_name_18 WHERE english_translation = "come to me"</s>
CREATE TABLE table_21602734_1 (division INTEGER)
SELECT MAX(division) FROM table_21602734_1
What is the highest number of divisions mentioned?
<s>[INST]What is the highest number of divisions mentioned? Context: CREATE TABLE table_21602734_1 (division INTEGER)[/INST]SELECT MAX(division) FROM table_21602734_1</s>
CREATE TABLE table_name_73 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_73 WHERE date = "november 29"
For the game played on November 29, who had the highest rebounds?
<s>[INST]For the game played on November 29, who had the highest rebounds? Context: CREATE TABLE table_name_73 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_name_73 WHERE date = "november 29"</s>
CREATE TABLE table_name_72 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_72 WHERE attendance > 66 OFFSET 926
When hasn an Attendance larger than 66,926?
<s>[INST]When hasn an Attendance larger than 66,926? Context: CREATE TABLE table_name_72 (date VARCHAR, attendance INTEGER)[/INST]SELECT date FROM table_name_72 WHERE attendance > 66 OFFSET 926</s>
CREATE TABLE table_name_49 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_49 WHERE tie_no = "4"
What is Home Team, when Tie No is 4?
<s>[INST]What is Home Team, when Tie No is 4? Context: CREATE TABLE table_name_49 (home_team VARCHAR, tie_no VARCHAR)[/INST]SELECT home_team FROM table_name_49 WHERE tie_no = "4"</s>
CREATE TABLE table_2266990_2 (classification VARCHAR, title VARCHAR)
SELECT classification FROM table_2266990_2 WHERE title = "Fish Rap Live!"
What classifications does Fish Rap live! has?
<s>[INST]What classifications does Fish Rap live! has? Context: CREATE TABLE table_2266990_2 (classification VARCHAR, title VARCHAR)[/INST]SELECT classification FROM table_2266990_2 WHERE title = "Fish Rap Live!"</s>
CREATE TABLE table_name_58 (round INTEGER, race_title VARCHAR)
SELECT MAX(round) FROM table_name_58 WHERE race_title = "korean grand prix"
What is the largest round with a Race Title of korean grand prix?
<s>[INST]What is the largest round with a Race Title of korean grand prix? Context: CREATE TABLE table_name_58 (round INTEGER, race_title VARCHAR)[/INST]SELECT MAX(round) FROM table_name_58 WHERE race_title = "korean grand prix"</s>
CREATE TABLE table_1569625_1 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT tournament FROM table_1569625_1 WHERE margin_of_victory = "3 strokes" AND winning_score = 71 - 66 - 70 - 67 = 274
Name the tournament when margin of victory is 3 strokes and winning score is 71-66-70-67=274
<s>[INST]Name the tournament when margin of victory is 3 strokes and winning score is 71-66-70-67=274 Context: CREATE TABLE table_1569625_1 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)[/INST]SELECT tournament FROM table_1569625_1 WHERE margin_of_victory = "3 strokes" AND winning_score = 71 - 6...
CREATE TABLE table_name_56 (years_for_grizzlies VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT years_for_grizzlies FROM table_name_56 WHERE position = "point guard" AND school_club_team = "florida"
What are the years when the grizzlies had a point guard who attended the school/club Florida?
<s>[INST]What are the years when the grizzlies had a point guard who attended the school/club Florida? Context: CREATE TABLE table_name_56 (years_for_grizzlies VARCHAR, position VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_for_grizzlies FROM table_name_56 WHERE position = "point guard" AND school_club_team = "...
CREATE TABLE table_name_31 (league_position VARCHAR, result_f___a VARCHAR, opponents VARCHAR)
SELECT league_position FROM table_name_31 WHERE result_f___a = "2 – 0" AND opponents = "queens park rangers"
What League position has a Result F – A of 2 – 0, and Opponents of queens park rangers?
<s>[INST]What League position has a Result F – A of 2 – 0, and Opponents of queens park rangers? Context: CREATE TABLE table_name_31 (league_position VARCHAR, result_f___a VARCHAR, opponents VARCHAR)[/INST]SELECT league_position FROM table_name_31 WHERE result_f___a = "2 – 0" AND opponents = "queens park rangers"</s>
CREATE TABLE table_2233872_1 (COUNt VARCHAR, gp VARCHAR, result VARCHAR)
SELECT COUNt AS season FROM table_2233872_1 WHERE gp = 64 AND result = "lost in round 1"
How many season did the team lost in round 1 with a GP of 64?
<s>[INST]How many season did the team lost in round 1 with a GP of 64? Context: CREATE TABLE table_2233872_1 (COUNt VARCHAR, gp VARCHAR, result VARCHAR)[/INST]SELECT COUNt AS season FROM table_2233872_1 WHERE gp = 64 AND result = "lost in round 1"</s>
CREATE TABLE table_1341843_19 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341843_19 WHERE incumbent = "Otto Passman"
What's the district that Otto Passman is the incumbent of?
<s>[INST]What's the district that Otto Passman is the incumbent of? Context: CREATE TABLE table_1341843_19 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341843_19 WHERE incumbent = "Otto Passman"</s>
CREATE TABLE table_30047613_12 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_30047613_12 WHERE date = "April 13"
in april 13 who made the high rebounds
<s>[INST]in april 13 who made the high rebounds Context: CREATE TABLE table_30047613_12 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_30047613_12 WHERE date = "April 13"</s>
CREATE TABLE table_name_4 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_4 WHERE date = "may 6"
What is the record of the game on May 6?
<s>[INST]What is the record of the game on May 6? Context: CREATE TABLE table_name_4 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_4 WHERE date = "may 6"</s>
CREATE TABLE table_19698421_1 (change__percentage_points_ VARCHAR, average_voters_per_candidate VARCHAR)
SELECT COUNT(change__percentage_points_) FROM table_19698421_1 WHERE average_voters_per_candidate = 1423
How many elections had 1423 average voters per candidate?
<s>[INST]How many elections had 1423 average voters per candidate? Context: CREATE TABLE table_19698421_1 (change__percentage_points_ VARCHAR, average_voters_per_candidate VARCHAR)[/INST]SELECT COUNT(change__percentage_points_) FROM table_19698421_1 WHERE average_voters_per_candidate = 1423</s>
CREATE TABLE table_name_86 (builder VARCHAR, works_number VARCHAR)
SELECT builder FROM table_name_86 WHERE works_number = "16272"
Which Builder has a Works Number of 16272?
<s>[INST]Which Builder has a Works Number of 16272? Context: CREATE TABLE table_name_86 (builder VARCHAR, works_number VARCHAR)[/INST]SELECT builder FROM table_name_86 WHERE works_number = "16272"</s>
CREATE TABLE table_name_77 (record VARCHAR, march VARCHAR)
SELECT record FROM table_name_77 WHERE march = 26
Which record's march was 26?
<s>[INST]Which record's march was 26? Context: CREATE TABLE table_name_77 (record VARCHAR, march VARCHAR)[/INST]SELECT record FROM table_name_77 WHERE march = 26</s>
CREATE TABLE table_name_10 (director_s_ VARCHAR, award VARCHAR)
SELECT director_s_ FROM table_name_10 WHERE award = "£6,245"
Who directed the film that received an award of £6,245?
<s>[INST]Who directed the film that received an award of £6,245? Context: CREATE TABLE table_name_10 (director_s_ VARCHAR, award VARCHAR)[/INST]SELECT director_s_ FROM table_name_10 WHERE award = "£6,245"</s>
CREATE TABLE table_name_39 (poles INTEGER, points VARCHAR, class VARCHAR, team VARCHAR)
SELECT SUM(poles) FROM table_name_39 WHERE class = "125cc" AND team = "matteoni racing team" AND points > 3
How many Poles have a Class of 125cc, and a Team of matteoni racing team, and Points larger than 3?
<s>[INST]How many Poles have a Class of 125cc, and a Team of matteoni racing team, and Points larger than 3? Context: CREATE TABLE table_name_39 (poles INTEGER, points VARCHAR, class VARCHAR, team VARCHAR)[/INST]SELECT SUM(poles) FROM table_name_39 WHERE class = "125cc" AND team = "matteoni racing team" AND points > 3<...
CREATE TABLE table_14016079_1 (circuit VARCHAR, race_title VARCHAR)
SELECT circuit FROM table_14016079_1 WHERE race_title = "City of Ipswich 400"
On what circuit was the City of Ipswich 400 race held?
<s>[INST]On what circuit was the City of Ipswich 400 race held? Context: CREATE TABLE table_14016079_1 (circuit VARCHAR, race_title VARCHAR)[/INST]SELECT circuit FROM table_14016079_1 WHERE race_title = "City of Ipswich 400"</s>
CREATE TABLE table_name_17 (publisher VARCHAR, year VARCHAR, title VARCHAR)
SELECT publisher FROM table_name_17 WHERE year = "2014" AND title = "star citizen"
Who published Star Citizen in 2014?
<s>[INST]Who published Star Citizen in 2014? Context: CREATE TABLE table_name_17 (publisher VARCHAR, year VARCHAR, title VARCHAR)[/INST]SELECT publisher FROM table_name_17 WHERE year = "2014" AND title = "star citizen"</s>
CREATE TABLE table_name_63 (clock_speed VARCHAR, fsb_speed VARCHAR, model_number VARCHAR)
SELECT clock_speed FROM table_name_63 WHERE fsb_speed = "400 mhz" AND model_number = "c7-m 794"
Which Clock Speed has a FSB Speed of 400 mhz, and a Model Number of c7-m 794?
<s>[INST]Which Clock Speed has a FSB Speed of 400 mhz, and a Model Number of c7-m 794? Context: CREATE TABLE table_name_63 (clock_speed VARCHAR, fsb_speed VARCHAR, model_number VARCHAR)[/INST]SELECT clock_speed FROM table_name_63 WHERE fsb_speed = "400 mhz" AND model_number = "c7-m 794"</s>
CREATE TABLE table_160510_5 (region VARCHAR, hangul_chosongul VARCHAR)
SELECT COUNT(region) FROM table_160510_5 WHERE hangul_chosongul = "경상남도"
Name the number of region for 경상남도
<s>[INST]Name the number of region for 경상남도 Context: CREATE TABLE table_160510_5 (region VARCHAR, hangul_chosongul VARCHAR)[/INST]SELECT COUNT(region) FROM table_160510_5 WHERE hangul_chosongul = "경상남도"</s>
CREATE TABLE table_name_85 (canadian_championship VARCHAR, league VARCHAR)
SELECT canadian_championship FROM table_name_85 WHERE league = "84 (4)"
What Canadian Championship has 84 (4) as the league?
<s>[INST]What Canadian Championship has 84 (4) as the league? Context: CREATE TABLE table_name_85 (canadian_championship VARCHAR, league VARCHAR)[/INST]SELECT canadian_championship FROM table_name_85 WHERE league = "84 (4)"</s>
CREATE TABLE table_name_29 (edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)
SELECT MIN(edges) FROM table_name_29 WHERE dual_archimedean_solid = "truncated icosidodecahedron" AND vertices > 62
Which Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Vertices larger than 62?
<s>[INST]Which Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Vertices larger than 62? Context: CREATE TABLE table_name_29 (edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)[/INST]SELECT MIN(edges) FROM table_name_29 WHERE dual_archimedean_solid = "truncated icosidodecahedron" AN...
CREATE TABLE table_28081876_6 (written_by VARCHAR, original_air_date VARCHAR)
SELECT written_by FROM table_28081876_6 WHERE original_air_date = "August 10, 2012"
Who were the authors of the episode first broadcast on August 10, 2012?
<s>[INST]Who were the authors of the episode first broadcast on August 10, 2012? Context: CREATE TABLE table_28081876_6 (written_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT written_by FROM table_28081876_6 WHERE original_air_date = "August 10, 2012"</s>
CREATE TABLE table_14342480_6 (touchdowns INTEGER)
SELECT MIN(touchdowns) FROM table_14342480_6
Name the fewest touchdowns
<s>[INST]Name the fewest touchdowns Context: CREATE TABLE table_14342480_6 (touchdowns INTEGER)[/INST]SELECT MIN(touchdowns) FROM table_14342480_6</s>
CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_81 WHERE date = "april 10"
what team scored on april 10
<s>[INST]what team scored on april 10 Context: CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE date = "april 10"</s>
CREATE TABLE table_name_36 (country VARCHAR, year_opened VARCHAR, span_feet VARCHAR, material VARCHAR, span_metres VARCHAR)
SELECT country FROM table_name_36 WHERE material = "concrete" AND span_metres < 270 AND span_feet > 837 AND year_opened = "1943"
Which country's material was concrete when the span metres were less than 270, span feet is more than 837, and the year opened was 1943?
<s>[INST]Which country's material was concrete when the span metres were less than 270, span feet is more than 837, and the year opened was 1943? Context: CREATE TABLE table_name_36 (country VARCHAR, year_opened VARCHAR, span_feet VARCHAR, material VARCHAR, span_metres VARCHAR)[/INST]SELECT country FROM table_name_36 W...
CREATE TABLE table_name_85 (score1 VARCHAR, ground VARCHAR)
SELECT score1 FROM table_name_85 WHERE ground = "h"
What is the score 1 with a h ground?
<s>[INST]What is the score 1 with a h ground? Context: CREATE TABLE table_name_85 (score1 VARCHAR, ground VARCHAR)[/INST]SELECT score1 FROM table_name_85 WHERE ground = "h"</s>
CREATE TABLE table_24431348_18 (status VARCHAR, rank VARCHAR)
SELECT status FROM table_24431348_18 WHERE rank = 20
What was the status of rank 20?
<s>[INST]What was the status of rank 20? Context: CREATE TABLE table_24431348_18 (status VARCHAR, rank VARCHAR)[/INST]SELECT status FROM table_24431348_18 WHERE rank = 20</s>
CREATE TABLE table_name_68 (total INTEGER, league_cup_goals VARCHAR, club VARCHAR, league_goals VARCHAR)
SELECT SUM(total) FROM table_name_68 WHERE club = "darlington" AND league_goals = "13" AND league_cup_goals = "1"
Which Total has a Club of darlington, and a League goals of 13, and a League Cup goals of 1?
<s>[INST]Which Total has a Club of darlington, and a League goals of 13, and a League Cup goals of 1? Context: CREATE TABLE table_name_68 (total INTEGER, league_cup_goals VARCHAR, club VARCHAR, league_goals VARCHAR)[/INST]SELECT SUM(total) FROM table_name_68 WHERE club = "darlington" AND league_goals = "13" AND league_...
CREATE TABLE table_19864214_3 (wins INTEGER, seasons VARCHAR)
SELECT MIN(wins) FROM table_19864214_3 WHERE seasons = "1986"
stae the least number of wins in 1986
<s>[INST]stae the least number of wins in 1986 Context: CREATE TABLE table_19864214_3 (wins INTEGER, seasons VARCHAR)[/INST]SELECT MIN(wins) FROM table_19864214_3 WHERE seasons = "1986"</s>
CREATE TABLE table_name_86 (tail_number VARCHAR, fatalities VARCHAR)
SELECT tail_number FROM table_name_86 WHERE fatalities = "5/30"
What was the tail number of the aircraft that had 5/30 fatalities?
<s>[INST]What was the tail number of the aircraft that had 5/30 fatalities? Context: CREATE TABLE table_name_86 (tail_number VARCHAR, fatalities VARCHAR)[/INST]SELECT tail_number FROM table_name_86 WHERE fatalities = "5/30"</s>
CREATE TABLE table_name_83 (finish VARCHAR, country VARCHAR, player VARCHAR)
SELECT finish FROM table_name_83 WHERE country = "united states" AND player = "lanny wadkins"
What was the finish for Lanny Wadkins of the United States?
<s>[INST]What was the finish for Lanny Wadkins of the United States? Context: CREATE TABLE table_name_83 (finish VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT finish FROM table_name_83 WHERE country = "united states" AND player = "lanny wadkins"</s>
CREATE TABLE table_name_14 (attendance INTEGER, away VARCHAR)
SELECT MAX(attendance) FROM table_name_14 WHERE away = "real juventud"
What was the highest attendance against Real Juventud?
<s>[INST]What was the highest attendance against Real Juventud? Context: CREATE TABLE table_name_14 (attendance INTEGER, away VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_14 WHERE away = "real juventud"</s>
CREATE TABLE table_name_13 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_13 WHERE date = "may 9"
What is Visitor, when Date is "May 9"?
<s>[INST]What is Visitor, when Date is "May 9"? Context: CREATE TABLE table_name_13 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_13 WHERE date = "may 9"</s>
CREATE TABLE table_1745843_6 (part_3 VARCHAR, verb_meaning VARCHAR)
SELECT COUNT(part_3) FROM table_1745843_6 WHERE verb_meaning = "to freeze"
How many different part 3 verbs are there that mean to freeze?
<s>[INST]How many different part 3 verbs are there that mean to freeze? Context: CREATE TABLE table_1745843_6 (part_3 VARCHAR, verb_meaning VARCHAR)[/INST]SELECT COUNT(part_3) FROM table_1745843_6 WHERE verb_meaning = "to freeze"</s>
CREATE TABLE table_name_69 (against INTEGER, round VARCHAR)
SELECT MIN(against) FROM table_name_69 WHERE round = "fourth round"
Which Against has a Round of fourth round?
<s>[INST]Which Against has a Round of fourth round? Context: CREATE TABLE table_name_69 (against INTEGER, round VARCHAR)[/INST]SELECT MIN(against) FROM table_name_69 WHERE round = "fourth round"</s>
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR, customer_address VARCHAR, payment_method_code VARCHAR)
SELECT customer_id, customer_name FROM customers WHERE customer_address LIKE "%WY%" AND payment_method_code <> "Credit Card"
Find the id and name of customers whose address contains WY state and do not use credit card for payment.
<s>[INST]Find the id and name of customers whose address contains WY state and do not use credit card for payment. Context: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR, customer_address VARCHAR, payment_method_code VARCHAR)[/INST]SELECT customer_id, customer_name FROM customers WHERE customer_add...
CREATE TABLE table_name_68 (hometown VARCHAR, player VARCHAR)
SELECT hometown FROM table_name_68 WHERE player = "tre madden"
What is the hometown for tre madden?
<s>[INST]What is the hometown for tre madden? Context: CREATE TABLE table_name_68 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_name_68 WHERE player = "tre madden"</s>
CREATE TABLE table_name_4 (name VARCHAR, nation VARCHAR, points VARCHAR)
SELECT name FROM table_name_4 WHERE nation = "soviet union" AND points = 185
what is the name when the nation is soviet union and the points is 185?
<s>[INST]what is the name when the nation is soviet union and the points is 185? Context: CREATE TABLE table_name_4 (name VARCHAR, nation VARCHAR, points VARCHAR)[/INST]SELECT name FROM table_name_4 WHERE nation = "soviet union" AND points = 185</s>
CREATE TABLE table_12340907_1 (police_force VARCHAR, population VARCHAR)
SELECT police_force FROM table_12340907_1 WHERE population = 17000
Which police force serves a population of 17000?
<s>[INST]Which police force serves a population of 17000? Context: CREATE TABLE table_12340907_1 (police_force VARCHAR, population VARCHAR)[/INST]SELECT police_force FROM table_12340907_1 WHERE population = 17000</s>
CREATE TABLE table_name_10 (visiting_team VARCHAR, host_team VARCHAR)
SELECT visiting_team FROM table_name_10 WHERE host_team = "dallas cowboys"
Who was the visiting team in the game against the Dallas Cowboys?
<s>[INST]Who was the visiting team in the game against the Dallas Cowboys? Context: CREATE TABLE table_name_10 (visiting_team VARCHAR, host_team VARCHAR)[/INST]SELECT visiting_team FROM table_name_10 WHERE host_team = "dallas cowboys"</s>
CREATE TABLE table_11934032_1 (type VARCHAR, station_number VARCHAR)
SELECT type FROM table_11934032_1 WHERE station_number = "C08"
what are all the type where station number is c08
<s>[INST]what are all the type where station number is c08 Context: CREATE TABLE table_11934032_1 (type VARCHAR, station_number VARCHAR)[/INST]SELECT type FROM table_11934032_1 WHERE station_number = "C08"</s>
CREATE TABLE table_22815568_7 (population VARCHAR, county VARCHAR)
SELECT population FROM table_22815568_7 WHERE county = "McDowell"
What is the population of the country of McDowell?
<s>[INST]What is the population of the country of McDowell? Context: CREATE TABLE table_22815568_7 (population VARCHAR, county VARCHAR)[/INST]SELECT population FROM table_22815568_7 WHERE county = "McDowell"</s>
CREATE TABLE table_name_45 (draft INTEGER, round VARCHAR, pick VARCHAR, player VARCHAR)
SELECT AVG(draft) FROM table_name_45 WHERE pick > 42 AND player = "grant eakin" AND round > 8
What is the average draft with a pick larger than 42, and player Grant Eakin after round 8?
<s>[INST]What is the average draft with a pick larger than 42, and player Grant Eakin after round 8? Context: CREATE TABLE table_name_45 (draft INTEGER, round VARCHAR, pick VARCHAR, player VARCHAR)[/INST]SELECT AVG(draft) FROM table_name_45 WHERE pick > 42 AND player = "grant eakin" AND round > 8</s>
CREATE TABLE table_13258806_2 (date VARCHAR, result VARCHAR)
SELECT date FROM table_13258806_2 WHERE result = "W 43-14"
On what date did the game end with the result w 43-14?
<s>[INST]On what date did the game end with the result w 43-14? Context: CREATE TABLE table_13258806_2 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_13258806_2 WHERE result = "W 43-14"</s>
CREATE TABLE table_name_33 (rank INTEGER, total VARCHAR, bronze VARCHAR)
SELECT MAX(rank) FROM table_name_33 WHERE total = 1 AND bronze > 0
Which Rank has a Total of 1 and a Bronze larger than 0?
<s>[INST]Which Rank has a Total of 1 and a Bronze larger than 0? Context: CREATE TABLE table_name_33 (rank INTEGER, total VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_33 WHERE total = 1 AND bronze > 0</s>
CREATE TABLE table_1805191_33 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1805191_33 WHERE district = "New York 26"
What is the party affiliation of New York 26?
<s>[INST]What is the party affiliation of New York 26? Context: CREATE TABLE table_1805191_33 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_1805191_33 WHERE district = "New York 26"</s>
CREATE TABLE table_name_95 (constitutional_ticket VARCHAR, socialist_ticket VARCHAR)
SELECT constitutional_ticket FROM table_name_95 WHERE socialist_ticket = "william karlin"
Who was the constitutional ticket when william karlin was the socialist ticket?
<s>[INST]Who was the constitutional ticket when william karlin was the socialist ticket? Context: CREATE TABLE table_name_95 (constitutional_ticket VARCHAR, socialist_ticket VARCHAR)[/INST]SELECT constitutional_ticket FROM table_name_95 WHERE socialist_ticket = "william karlin"</s>