context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_66 (country VARCHAR, catalogue__number VARCHAR)
SELECT country FROM table_name_66 WHERE catalogue__number = "cad 4011"
Which country had a cad 4011 catalogue #?
<s>[INST]Which country had a cad 4011 catalogue #? Context: CREATE TABLE table_name_66 (country VARCHAR, catalogue__number VARCHAR)[/INST]SELECT country FROM table_name_66 WHERE catalogue__number = "cad 4011"</s>
CREATE TABLE table_26609690_1 (year INTEGER)
SELECT MIN(year) FROM table_26609690_1
What is the earliest year on the chart?
<s>[INST]What is the earliest year on the chart? Context: CREATE TABLE table_26609690_1 (year INTEGER)[/INST]SELECT MIN(year) FROM table_26609690_1</s>
CREATE TABLE table_name_50 (year VARCHAR, time VARCHAR)
SELECT year FROM table_name_50 WHERE time = "13:23:43"
Which year has a Time of 13:23:43?
<s>[INST]Which year has a Time of 13:23:43? Context: CREATE TABLE table_name_50 (year VARCHAR, time VARCHAR)[/INST]SELECT year FROM table_name_50 WHERE time = "13:23:43"</s>
CREATE TABLE table_15584067_7 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_15584067_7 WHERE us_viewers__million_ = "1.81"
Name who wrote the episode when the viewers was 1.81
<s>[INST]Name who wrote the episode when the viewers was 1.81 Context: CREATE TABLE table_15584067_7 (written_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT written_by FROM table_15584067_7 WHERE us_viewers__million_ = "1.81"</s>
CREATE TABLE table_name_58 (series VARCHAR, f_laps VARCHAR)
SELECT series FROM table_name_58 WHERE f_laps = "4"
Which series has 4 f/laps?
<s>[INST]Which series has 4 f/laps? Context: CREATE TABLE table_name_58 (series VARCHAR, f_laps VARCHAR)[/INST]SELECT series FROM table_name_58 WHERE f_laps = "4"</s>
CREATE TABLE table_name_44 (builder VARCHAR, lot_no VARCHAR)
SELECT builder FROM table_name_44 WHERE lot_no = 30702
What builder has lot number 30702?
<s>[INST]What builder has lot number 30702? Context: CREATE TABLE table_name_44 (builder VARCHAR, lot_no VARCHAR)[/INST]SELECT builder FROM table_name_44 WHERE lot_no = 30702</s>
CREATE TABLE table_name_2 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_2 WHERE away_team = "arsenal"
Who was the home team for the match against Arsenal?
<s>[INST]Who was the home team for the match against Arsenal? Context: CREATE TABLE table_name_2 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_2 WHERE away_team = "arsenal"</s>
CREATE TABLE table_name_42 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_42 WHERE date = "february 27"
What is the High assists with a Date that is february 27?
<s>[INST]What is the High assists with a Date that is february 27? Context: CREATE TABLE table_name_42 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_name_42 WHERE date = "february 27"</s>
CREATE TABLE table_12608427_8 (p VARCHAR, name VARCHAR)
SELECT p FROM table_12608427_8 WHERE name = "Clapham"
What was the position (P) for Clapham?
<s>[INST]What was the position (P) for Clapham? Context: CREATE TABLE table_12608427_8 (p VARCHAR, name VARCHAR)[/INST]SELECT p FROM table_12608427_8 WHERE name = "Clapham"</s>
CREATE TABLE table_name_16 (laps INTEGER, year INTEGER)
SELECT SUM(laps) FROM table_name_16 WHERE year < 1987
What is the total number of Laps that's got a Year less than 1987?
<s>[INST]What is the total number of Laps that's got a Year less than 1987? Context: CREATE TABLE table_name_16 (laps INTEGER, year INTEGER)[/INST]SELECT SUM(laps) FROM table_name_16 WHERE year < 1987</s>
CREATE TABLE table_name_19 (song VARCHAR, artist VARCHAR)
SELECT song FROM table_name_19 WHERE artist = "mor ve ötesi"
What Song is by the Artist 'mor ve ötesi'?
<s>[INST]What Song is by the Artist 'mor ve ötesi'? Context: CREATE TABLE table_name_19 (song VARCHAR, artist VARCHAR)[/INST]SELECT song FROM table_name_19 WHERE artist = "mor ve ötesi"</s>
CREATE TABLE table_name_27 (game_site VARCHAR, result VARCHAR)
SELECT game_site FROM table_name_27 WHERE result = "l 21–13"
What game site had a result at l 21–13?
<s>[INST]What game site had a result at l 21–13? Context: CREATE TABLE table_name_27 (game_site VARCHAR, result VARCHAR)[/INST]SELECT game_site FROM table_name_27 WHERE result = "l 21–13"</s>
CREATE TABLE perpetrator (LOCATION VARCHAR)
SELECT COUNT(DISTINCT LOCATION) FROM perpetrator
How many distinct locations of perpetrators are there?
<s>[INST]How many distinct locations of perpetrators are there? Context: CREATE TABLE perpetrator (LOCATION VARCHAR)[/INST]SELECT COUNT(DISTINCT LOCATION) FROM perpetrator</s>
CREATE TABLE table_name_92 (team_classification VARCHAR, stage VARCHAR)
SELECT team_classification FROM table_name_92 WHERE stage = "20"
Name the team classification for stage of 20
<s>[INST]Name the team classification for stage of 20 Context: CREATE TABLE table_name_92 (team_classification VARCHAR, stage VARCHAR)[/INST]SELECT team_classification FROM table_name_92 WHERE stage = "20"</s>
CREATE TABLE table_name_80 (draws VARCHAR, wins VARCHAR)
SELECT draws FROM table_name_80 WHERE wins = "did not qualify"
What is Draws, when Wins is "Did Not Qualify"?
<s>[INST]What is Draws, when Wins is "Did Not Qualify"? Context: CREATE TABLE table_name_80 (draws VARCHAR, wins VARCHAR)[/INST]SELECT draws FROM table_name_80 WHERE wins = "did not qualify"</s>
CREATE TABLE table_name_76 (thumb_stick VARCHAR, wrist_pad VARCHAR, supplier VARCHAR)
SELECT thumb_stick FROM table_name_76 WHERE wrist_pad = "no" AND supplier = "sharkoon"
Which Thumb stick has a Wrist pad of no, and a Supplier of sharkoon?
<s>[INST]Which Thumb stick has a Wrist pad of no, and a Supplier of sharkoon? Context: CREATE TABLE table_name_76 (thumb_stick VARCHAR, wrist_pad VARCHAR, supplier VARCHAR)[/INST]SELECT thumb_stick FROM table_name_76 WHERE wrist_pad = "no" AND supplier = "sharkoon"</s>
CREATE TABLE table_11214772_1 (semi_finalist__number2 VARCHAR, runner_up VARCHAR)
SELECT COUNT(semi_finalist__number2) FROM table_11214772_1 WHERE runner_up = "East Carolina"
what is the total number of semi-finalist #2 where runner-up is east carolina
<s>[INST]what is the total number of semi-finalist #2 where runner-up is east carolina Context: CREATE TABLE table_11214772_1 (semi_finalist__number2 VARCHAR, runner_up VARCHAR)[/INST]SELECT COUNT(semi_finalist__number2) FROM table_11214772_1 WHERE runner_up = "East Carolina"</s>
CREATE TABLE table_name_47 (muzzle_device VARCHAR, barrel_twist VARCHAR, stock VARCHAR)
SELECT muzzle_device FROM table_name_47 WHERE barrel_twist = "1:7" AND stock = "4th generation"
What is the muzzle device with a 1:7 barrel twist and a stock 4th generation?
<s>[INST]What is the muzzle device with a 1:7 barrel twist and a stock 4th generation? Context: CREATE TABLE table_name_47 (muzzle_device VARCHAR, barrel_twist VARCHAR, stock VARCHAR)[/INST]SELECT muzzle_device FROM table_name_47 WHERE barrel_twist = "1:7" AND stock = "4th generation"</s>
CREATE TABLE table_1341604_10 (result VARCHAR, district VARCHAR)
SELECT COUNT(result) FROM table_1341604_10 WHERE district = "Florida 14"
how many result with district being florida 14
<s>[INST] how many result with district being florida 14 Context: CREATE TABLE table_1341604_10 (result VARCHAR, district VARCHAR)[/INST]SELECT COUNT(result) FROM table_1341604_10 WHERE district = "Florida 14"</s>
CREATE TABLE table_name_35 (venue VARCHAR, event VARCHAR, tournament VARCHAR)
SELECT venue FROM table_name_35 WHERE event = "400 m hurdles" AND tournament = "olympic games"
What was the venue of the 400 M Hurdles for the Olympic Games?
<s>[INST]What was the venue of the 400 M Hurdles for the Olympic Games? Context: CREATE TABLE table_name_35 (venue VARCHAR, event VARCHAR, tournament VARCHAR)[/INST]SELECT venue FROM table_name_35 WHERE event = "400 m hurdles" AND tournament = "olympic games"</s>
CREATE TABLE table_26041144_16 (rank VARCHAR, catches VARCHAR)
SELECT COUNT(rank) FROM table_26041144_16 WHERE catches = 131
If the catches is 131, what is the rank total number?
<s>[INST]If the catches is 131, what is the rank total number? Context: CREATE TABLE table_26041144_16 (rank VARCHAR, catches VARCHAR)[/INST]SELECT COUNT(rank) FROM table_26041144_16 WHERE catches = 131</s>
CREATE TABLE table_name_7 (quarter VARCHAR, round VARCHAR)
SELECT quarter FROM table_name_7 WHERE round = "17"
Which Quarter has a Round of 17?
<s>[INST]Which Quarter has a Round of 17? Context: CREATE TABLE table_name_7 (quarter VARCHAR, round VARCHAR)[/INST]SELECT quarter FROM table_name_7 WHERE round = "17"</s>
CREATE TABLE table_22098274_1 (rank_number VARCHAR, winning_pitcher VARCHAR)
SELECT rank_number FROM table_22098274_1 WHERE winning_pitcher = "Kelli Miller"
What is the rank # of kelli miller the winning pitcher?
<s>[INST]What is the rank # of kelli miller the winning pitcher? Context: CREATE TABLE table_22098274_1 (rank_number VARCHAR, winning_pitcher VARCHAR)[/INST]SELECT rank_number FROM table_22098274_1 WHERE winning_pitcher = "Kelli Miller"</s>
CREATE TABLE table_name_96 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_96 WHERE record = "39-20-6"
Who was the visitor in the game that led to a 39-20-6 record?
<s>[INST]Who was the visitor in the game that led to a 39-20-6 record? Context: CREATE TABLE table_name_96 (visitor VARCHAR, record VARCHAR)[/INST]SELECT visitor FROM table_name_96 WHERE record = "39-20-6"</s>
CREATE TABLE table_27713030_3 (team VARCHAR, game VARCHAR)
SELECT team FROM table_27713030_3 WHERE game = 6
Who was the opposing team in game 6?
<s>[INST]Who was the opposing team in game 6? Context: CREATE TABLE table_27713030_3 (team VARCHAR, game VARCHAR)[/INST]SELECT team FROM table_27713030_3 WHERE game = 6</s>
CREATE TABLE table_name_5 (college VARCHAR, position VARCHAR, school VARCHAR)
SELECT college FROM table_name_5 WHERE position = "defensive line" AND school = "grant high school"
What college has a position of defensive line and Grant high school?
<s>[INST]What college has a position of defensive line and Grant high school? Context: CREATE TABLE table_name_5 (college VARCHAR, position VARCHAR, school VARCHAR)[/INST]SELECT college FROM table_name_5 WHERE position = "defensive line" AND school = "grant high school"</s>
CREATE TABLE table_15187735_3 (segment_c VARCHAR, segment_b VARCHAR)
SELECT segment_c FROM table_15187735_3 WHERE segment_b = "Pottery"
Name the segment c for pottery
<s>[INST]Name the segment c for pottery Context: CREATE TABLE table_15187735_3 (segment_c VARCHAR, segment_b VARCHAR)[/INST]SELECT segment_c FROM table_15187735_3 WHERE segment_b = "Pottery"</s>
CREATE TABLE table_name_92 (points INTEGER, year INTEGER)
SELECT MAX(points) FROM table_name_92 WHERE year > 1959
Which line after 1959 had the highest amount of points?
<s>[INST]Which line after 1959 had the highest amount of points? Context: CREATE TABLE table_name_92 (points INTEGER, year INTEGER)[/INST]SELECT MAX(points) FROM table_name_92 WHERE year > 1959</s>
CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_68 WHERE date = "july 16, 2000"
Tell me the result of july 16, 2000
<s>[INST]Tell me the result of july 16, 2000 Context: CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_68 WHERE date = "july 16, 2000"</s>
CREATE TABLE table_15187735_4 (episode INTEGER, segment_d VARCHAR)
SELECT MAX(episode) FROM table_15187735_4 WHERE segment_d = "Blown Glass"
What is the last episode which has segment d as blown glass?
<s>[INST]What is the last episode which has segment d as blown glass? Context: CREATE TABLE table_15187735_4 (episode INTEGER, segment_d VARCHAR)[/INST]SELECT MAX(episode) FROM table_15187735_4 WHERE segment_d = "Blown Glass"</s>
CREATE TABLE table_11622562_1 (winner VARCHAR, tournament VARCHAR)
SELECT winner FROM table_11622562_1 WHERE tournament = "PaineWebber Invitational"
What's the winner of the Painewebber Invitational tournament?
<s>[INST]What's the winner of the Painewebber Invitational tournament? Context: CREATE TABLE table_11622562_1 (winner VARCHAR, tournament VARCHAR)[/INST]SELECT winner FROM table_11622562_1 WHERE tournament = "PaineWebber Invitational"</s>
CREATE TABLE table_name_84 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_84 WHERE away_team = "hawthorn"
What was the crowd size of the match featuring Hawthorn as the Away team?
<s>[INST]What was the crowd size of the match featuring Hawthorn as the Away team? Context: CREATE TABLE table_name_84 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT crowd FROM table_name_84 WHERE away_team = "hawthorn"</s>
CREATE TABLE table_10333757_1 (branding VARCHAR, calls VARCHAR)
SELECT branding FROM table_10333757_1 WHERE calls = "WRKO"
What Branding does WRKO calls use?
<s>[INST]What Branding does WRKO calls use? Context: CREATE TABLE table_10333757_1 (branding VARCHAR, calls VARCHAR)[/INST]SELECT branding FROM table_10333757_1 WHERE calls = "WRKO"</s>
CREATE TABLE table_name_54 (league_cup_apps VARCHAR, total_goals VARCHAR, total_apps VARCHAR)
SELECT league_cup_apps FROM table_name_54 WHERE total_goals < 2 AND total_apps = "12"
what is the league cup apps when the total goals is less than 2 and the total apps is 12?
<s>[INST]what is the league cup apps when the total goals is less than 2 and the total apps is 12? Context: CREATE TABLE table_name_54 (league_cup_apps VARCHAR, total_goals VARCHAR, total_apps VARCHAR)[/INST]SELECT league_cup_apps FROM table_name_54 WHERE total_goals < 2 AND total_apps = "12"</s>
CREATE TABLE table_name_38 (to_par VARCHAR, country VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_38 WHERE country = "united states" AND place = "t5"
What is the to par of the player from the United States with a t5 place?
<s>[INST]What is the to par of the player from the United States with a t5 place? Context: CREATE TABLE table_name_38 (to_par VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT to_par FROM table_name_38 WHERE country = "united states" AND place = "t5"</s>
CREATE TABLE table_1566850_9 (interview_subject VARCHAR, date VARCHAR)
SELECT interview_subject FROM table_1566850_9 WHERE date = "8-98"
Who was interviewed in the 8-98 issue?
<s>[INST]Who was interviewed in the 8-98 issue? Context: CREATE TABLE table_1566850_9 (interview_subject VARCHAR, date VARCHAR)[/INST]SELECT interview_subject FROM table_1566850_9 WHERE date = "8-98"</s>
CREATE TABLE table_2668374_18 (party VARCHAR, first_elected VARCHAR)
SELECT COUNT(party) FROM table_2668374_18 WHERE first_elected = "1805"
How many parties were first elected in 1805?
<s>[INST]How many parties were first elected in 1805? Context: CREATE TABLE table_2668374_18 (party VARCHAR, first_elected VARCHAR)[/INST]SELECT COUNT(party) FROM table_2668374_18 WHERE first_elected = "1805"</s>
CREATE TABLE table_name_18 (award VARCHAR, year VARCHAR)
SELECT award FROM table_name_18 WHERE year = 1992
What award is featured in 1992?
<s>[INST]What award is featured in 1992? Context: CREATE TABLE table_name_18 (award VARCHAR, year VARCHAR)[/INST]SELECT award FROM table_name_18 WHERE year = 1992</s>
CREATE TABLE table_name_71 (league_cup INTEGER, premier_league VARCHAR, total VARCHAR)
SELECT MIN(league_cup) FROM table_name_71 WHERE premier_league = 1 AND total < 5
What is the lowest league cup with a premier League of 1, and the total is less than 5?
<s>[INST]What is the lowest league cup with a premier League of 1, and the total is less than 5? Context: CREATE TABLE table_name_71 (league_cup INTEGER, premier_league VARCHAR, total VARCHAR)[/INST]SELECT MIN(league_cup) FROM table_name_71 WHERE premier_league = 1 AND total < 5</s>
CREATE TABLE table_name_92 (non__stop VARCHAR, plain_stop VARCHAR)
SELECT non__stop FROM table_name_92 WHERE plain_stop = "ㄷ"
If the Plain stop is ㄷ, what is the Non- stop?
<s>[INST]If the Plain stop is ㄷ, what is the Non- stop? Context: CREATE TABLE table_name_92 (non__stop VARCHAR, plain_stop VARCHAR)[/INST]SELECT non__stop FROM table_name_92 WHERE plain_stop = "ㄷ"</s>
CREATE TABLE table_name_7 (round VARCHAR, edition VARCHAR, opponent_team VARCHAR, outcome VARCHAR)
SELECT round FROM table_name_7 WHERE opponent_team = "slovakia" AND outcome = "loser" AND edition > 2010
What is Round, when Opponent Team is Slovakia, when Outcome is Loser, and when Edition is greater than 2010?
<s>[INST]What is Round, when Opponent Team is Slovakia, when Outcome is Loser, and when Edition is greater than 2010? Context: CREATE TABLE table_name_7 (round VARCHAR, edition VARCHAR, opponent_team VARCHAR, outcome VARCHAR)[/INST]SELECT round FROM table_name_7 WHERE opponent_team = "slovakia" AND outcome = "loser" AND edition > 2010</s>
CREATE TABLE table_name_90 (date INTEGER, works_number VARCHAR, type VARCHAR, number VARCHAR)
SELECT MAX(date) FROM table_name_90 WHERE type = "0-4-4 forney locomotive" AND number > 20 AND works_number > 23754
What date have highest 0-4-4 forney locomotive with number larger than 20 and works number larger than 23754?
<s>[INST]What date have highest 0-4-4 forney locomotive with number larger than 20 and works number larger than 23754? Context: CREATE TABLE table_name_90 (date INTEGER, works_number VARCHAR, type VARCHAR, number VARCHAR)[/INST]SELECT MAX(date) FROM table_name_90 WHERE type = "0-4-4 forney locomotive" AND number > 20 AND works_number > 23754</s>
CREATE TABLE table_name_92 (weeks_on_chart VARCHAR, country VARCHAR)
SELECT weeks_on_chart FROM table_name_92 WHERE country = "france"
what is the weeks on chart for the single from france?
<s>[INST]what is the weeks on chart for the single from france? Context: CREATE TABLE table_name_92 (weeks_on_chart VARCHAR, country VARCHAR)[/INST]SELECT weeks_on_chart FROM table_name_92 WHERE country = "france"</s>
CREATE TABLE table_name_1 (elevation VARCHAR, route VARCHAR)
SELECT elevation FROM table_name_1 WHERE route = 62
What is the Elevation of the mountain on Route 62?
<s>[INST]What is the Elevation of the mountain on Route 62? Context: CREATE TABLE table_name_1 (elevation VARCHAR, route VARCHAR)[/INST]SELECT elevation FROM table_name_1 WHERE route = 62</s>
CREATE TABLE table_name_47 (text VARCHAR, traditional_characters VARCHAR)
SELECT text FROM table_name_47 WHERE traditional_characters = "心如猨猴"
Which text has traditional characters of 心如猨猴?
<s>[INST]Which text has traditional characters of 心如猨猴? Context: CREATE TABLE table_name_47 (text VARCHAR, traditional_characters VARCHAR)[/INST]SELECT text FROM table_name_47 WHERE traditional_characters = "心如猨猴"</s>
CREATE TABLE table_name_48 (class VARCHAR, year VARCHAR, points VARCHAR, team VARCHAR)
SELECT class FROM table_name_48 WHERE points < 89 AND team = "honda" AND year > 1987
Which class has fewer than 89 points and the Honda team later than 1987?
<s>[INST]Which class has fewer than 89 points and the Honda team later than 1987? Context: CREATE TABLE table_name_48 (class VARCHAR, year VARCHAR, points VARCHAR, team VARCHAR)[/INST]SELECT class FROM table_name_48 WHERE points < 89 AND team = "honda" AND year > 1987</s>
CREATE TABLE table_23316034_16 (matches INTEGER, runs VARCHAR)
SELECT MAX(matches) FROM table_23316034_16 WHERE runs = 5028
If the runs is 5028, what is the matches maximum?
<s>[INST]If the runs is 5028, what is the matches maximum? Context: CREATE TABLE table_23316034_16 (matches INTEGER, runs VARCHAR)[/INST]SELECT MAX(matches) FROM table_23316034_16 WHERE runs = 5028</s>
CREATE TABLE table_12294557_3 (season__number INTEGER, us_airdate VARCHAR)
SELECT MAX(season__number) FROM table_12294557_3 WHERE us_airdate = "May 1, 2009"
What is the maximum season # with a u.s. air date is may 1, 2009
<s>[INST]What is the maximum season # with a u.s. air date is may 1, 2009 Context: CREATE TABLE table_12294557_3 (season__number INTEGER, us_airdate VARCHAR)[/INST]SELECT MAX(season__number) FROM table_12294557_3 WHERE us_airdate = "May 1, 2009"</s>
CREATE TABLE table_2509350_3 (tomina_municipality VARCHAR, villa_alcalá_municipality VARCHAR)
SELECT COUNT(tomina_municipality) FROM table_2509350_3 WHERE villa_alcalá_municipality = 176
Name the number of tomina for villa alcala for 176
<s>[INST]Name the number of tomina for villa alcala for 176 Context: CREATE TABLE table_2509350_3 (tomina_municipality VARCHAR, villa_alcalá_municipality VARCHAR)[/INST]SELECT COUNT(tomina_municipality) FROM table_2509350_3 WHERE villa_alcalá_municipality = 176</s>
CREATE TABLE table_name_63 (visitor VARCHAR, home VARCHAR, score VARCHAR)
SELECT visitor FROM table_name_63 WHERE home = "toronto maple leafs" AND score = "4–1"
What was the Visitor when the home was toronto maple leafs and the score was 4–1?
<s>[INST]What was the Visitor when the home was toronto maple leafs and the score was 4–1? Context: CREATE TABLE table_name_63 (visitor VARCHAR, home VARCHAR, score VARCHAR)[/INST]SELECT visitor FROM table_name_63 WHERE home = "toronto maple leafs" AND score = "4–1"</s>
CREATE TABLE table_name_64 (finish VARCHAR, start VARCHAR, year VARCHAR, team VARCHAR)
SELECT finish FROM table_name_64 WHERE year > 1994 AND team = "mb2" AND start = "31"
What was the result after 1994 for team MB2 and 31 starts?
<s>[INST]What was the result after 1994 for team MB2 and 31 starts? Context: CREATE TABLE table_name_64 (finish VARCHAR, start VARCHAR, year VARCHAR, team VARCHAR)[/INST]SELECT finish FROM table_name_64 WHERE year > 1994 AND team = "mb2" AND start = "31"</s>
CREATE TABLE song (song_name VARCHAR, genre_is VARCHAR, languages VARCHAR)
SELECT song_name FROM song WHERE genre_is = "modern" OR languages = "english"
Find the names of songs whose genre is modern or language is English.
<s>[INST]Find the names of songs whose genre is modern or language is English. Context: CREATE TABLE song (song_name VARCHAR, genre_is VARCHAR, languages VARCHAR)[/INST]SELECT song_name FROM song WHERE genre_is = "modern" OR languages = "english"</s>
CREATE TABLE table_name_7 (pick__number VARCHAR, position VARCHAR, college VARCHAR)
SELECT pick__number FROM table_name_7 WHERE position = "wide receiver" AND college = "michigan state"
What was the pick number for the wide receiver drafted from Michigan State?
<s>[INST]What was the pick number for the wide receiver drafted from Michigan State? Context: CREATE TABLE table_name_7 (pick__number VARCHAR, position VARCHAR, college VARCHAR)[/INST]SELECT pick__number FROM table_name_7 WHERE position = "wide receiver" AND college = "michigan state"</s>
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_contact_channels (active_to_date INTEGER, customer_id VARCHAR)
SELECT MAX(t2.active_to_date) FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Tillman Ernser"
What is the "active to date" of the latest contact channel used by "Tillman Ernser"?
<s>[INST]What is the "active to date" of the latest contact channel used by "Tillman Ernser"? Context: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_contact_channels (active_to_date INTEGER, customer_id VARCHAR)[/INST]SELECT MAX(t2.active_to_date) FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Tillman Ernser"</s>
CREATE TABLE table_name_35 (tv_time VARCHAR, date VARCHAR)
SELECT tv_time FROM table_name_35 WHERE date = "november 22, 1998"
Can you tell me the TV Time that has the Date of november 22, 1998?
<s>[INST]Can you tell me the TV Time that has the Date of november 22, 1998? Context: CREATE TABLE table_name_35 (tv_time VARCHAR, date VARCHAR)[/INST]SELECT tv_time FROM table_name_35 WHERE date = "november 22, 1998"</s>
CREATE TABLE table_17382360_9 (date VARCHAR, score VARCHAR)
SELECT COUNT(date) FROM table_17382360_9 WHERE score = "W 118-112"
How many dates had a final score of w 118-112?
<s>[INST]How many dates had a final score of w 118-112? Context: CREATE TABLE table_17382360_9 (date VARCHAR, score VARCHAR)[/INST]SELECT COUNT(date) FROM table_17382360_9 WHERE score = "W 118-112"</s>
CREATE TABLE table_name_90 (district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR)
SELECT district FROM table_name_90 WHERE party = "republican" AND results = "re-elected" AND first_elected = 2000
What Republican District had Incumbent First Elected in 2000 then Re-elected?
<s>[INST]What Republican District had Incumbent First Elected in 2000 then Re-elected? Context: CREATE TABLE table_name_90 (district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR)[/INST]SELECT district FROM table_name_90 WHERE party = "republican" AND results = "re-elected" AND first_elected = 2000</s>
CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR)
SELECT date FROM table_17288825_6 WHERE high_assists = "Tracy McGrady (8)"
When tracy mcgrady (8) is leading in assists what is the date?
<s>[INST]When tracy mcgrady (8) is leading in assists what is the date? Context: CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR)[/INST]SELECT date FROM table_17288825_6 WHERE high_assists = "Tracy McGrady (8)"</s>
CREATE TABLE table_name_17 (score VARCHAR, round VARCHAR, club VARCHAR)
SELECT score FROM table_name_17 WHERE round = "1st round" AND club = "union luxembourg"
What is the final score of the 1st round game of club Union Luxembourg?
<s>[INST]What is the final score of the 1st round game of club Union Luxembourg? Context: CREATE TABLE table_name_17 (score VARCHAR, round VARCHAR, club VARCHAR)[/INST]SELECT score FROM table_name_17 WHERE round = "1st round" AND club = "union luxembourg"</s>
CREATE TABLE table_20750731_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR)
SELECT obama_percentage FROM table_20750731_1 WHERE mccain_percentage = "61.2%"
What was the Obama% when McCain% was 61.2%?
<s>[INST]What was the Obama% when McCain% was 61.2%? Context: CREATE TABLE table_20750731_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR)[/INST]SELECT obama_percentage FROM table_20750731_1 WHERE mccain_percentage = "61.2%"</s>
CREATE TABLE table_name_14 (regular_season_vacated VARCHAR, record_as_played VARCHAR)
SELECT regular_season_vacated FROM table_name_14 WHERE record_as_played = "12–19"
What is the regular season vacated for the Record as played of 12–19?
<s>[INST]What is the regular season vacated for the Record as played of 12–19? Context: CREATE TABLE table_name_14 (regular_season_vacated VARCHAR, record_as_played VARCHAR)[/INST]SELECT regular_season_vacated FROM table_name_14 WHERE record_as_played = "12–19"</s>
CREATE TABLE table_23285761_7 (record VARCHAR, game VARCHAR)
SELECT record FROM table_23285761_7 WHERE game = 40
What's the record of the game with number 40?
<s>[INST]What's the record of the game with number 40? Context: CREATE TABLE table_23285761_7 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_23285761_7 WHERE game = 40</s>
CREATE TABLE table_name_63 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_63 WHERE week = 4
Overall attendance for week 4?
<s>[INST]Overall attendance for week 4? Context: CREATE TABLE table_name_63 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_63 WHERE week = 4</s>
CREATE TABLE table_name_8 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_8 WHERE opponent_in_the_final = "johanna konta"
Tell me the date for johanna konta
<s>[INST]Tell me the date for johanna konta Context: CREATE TABLE table_name_8 (date VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_8 WHERE opponent_in_the_final = "johanna konta"</s>
CREATE TABLE table_name_44 (males VARCHAR, percentage___percentage_ VARCHAR)
SELECT males FROM table_name_44 WHERE percentage___percentage_ = "87.5"
Which language do 87.5% of males speak?
<s>[INST]Which language do 87.5% of males speak? Context: CREATE TABLE table_name_44 (males VARCHAR, percentage___percentage_ VARCHAR)[/INST]SELECT males FROM table_name_44 WHERE percentage___percentage_ = "87.5"</s>
CREATE TABLE table_name_84 (attendance VARCHAR, series VARCHAR)
SELECT attendance FROM table_name_84 WHERE series = "western conference finals"
What is the attendance of the western conference finals series?
<s>[INST]What is the attendance of the western conference finals series? Context: CREATE TABLE table_name_84 (attendance VARCHAR, series VARCHAR)[/INST]SELECT attendance FROM table_name_84 WHERE series = "western conference finals"</s>
CREATE TABLE table_16388478_4 (away_team VARCHAR, crowd VARCHAR)
SELECT away_team AS score FROM table_16388478_4 WHERE crowd = 5391
What was the away team score for the game with a crowd of 5391?
<s>[INST]What was the away team score for the game with a crowd of 5391? Context: CREATE TABLE table_16388478_4 (away_team VARCHAR, crowd VARCHAR)[/INST]SELECT away_team AS score FROM table_16388478_4 WHERE crowd = 5391</s>
CREATE TABLE table_25983027_1 (rainfall_by_volume__km_3__year_ VARCHAR, rainfall_by_depth__mm_year_ VARCHAR)
SELECT rainfall_by_volume__km_3__year_ FROM table_25983027_1 WHERE rainfall_by_depth__mm_year_ = 2801
In Pacifico Central where the rainfall by depth (mm/year) was 2801 what was the rainfall by volume?
<s>[INST]In Pacifico Central where the rainfall by depth (mm/year) was 2801 what was the rainfall by volume? Context: CREATE TABLE table_25983027_1 (rainfall_by_volume__km_3__year_ VARCHAR, rainfall_by_depth__mm_year_ VARCHAR)[/INST]SELECT rainfall_by_volume__km_3__year_ FROM table_25983027_1 WHERE rainfall_by_depth__mm_year_ = 2801</s>
CREATE TABLE table_27491610_2 (no_in_series INTEGER, directed_by VARCHAR)
SELECT MAX(no_in_series) FROM table_27491610_2 WHERE directed_by = "Skip Sudduth"
What was the latest number in series that was directed by Skip Sudduth?
<s>[INST]What was the latest number in series that was directed by Skip Sudduth? Context: CREATE TABLE table_27491610_2 (no_in_series INTEGER, directed_by VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_27491610_2 WHERE directed_by = "Skip Sudduth"</s>
CREATE TABLE table_name_76 (Took VARCHAR, location VARCHAR, type VARCHAR)
SELECT Took AS office FROM table_name_76 WHERE location = "dover" AND type = "executive"
What date did the executive office in Dover take office?
<s>[INST]What date did the executive office in Dover take office? Context: CREATE TABLE table_name_76 (Took VARCHAR, location VARCHAR, type VARCHAR)[/INST]SELECT Took AS office FROM table_name_76 WHERE location = "dover" AND type = "executive"</s>
CREATE TABLE table_1341423_20 (results VARCHAR, incumbent VARCHAR)
SELECT results FROM table_1341423_20 WHERE incumbent = "Albert Wynn"
What were the results in the election where Albert Wynn was the incumbent?
<s>[INST]What were the results in the election where Albert Wynn was the incumbent? Context: CREATE TABLE table_1341423_20 (results VARCHAR, incumbent VARCHAR)[/INST]SELECT results FROM table_1341423_20 WHERE incumbent = "Albert Wynn"</s>
CREATE TABLE table_14132239_3 (rookie VARCHAR, transition VARCHAR, offensive VARCHAR)
SELECT rookie FROM table_14132239_3 WHERE transition = "Brodie Merrill" AND offensive = "Pat Maddalena"
Who won the rookie award the week the transition award was given to Brodie Merrill and the offensive award was given to Pat Maddalena?
<s>[INST]Who won the rookie award the week the transition award was given to Brodie Merrill and the offensive award was given to Pat Maddalena? Context: CREATE TABLE table_14132239_3 (rookie VARCHAR, transition VARCHAR, offensive VARCHAR)[/INST]SELECT rookie FROM table_14132239_3 WHERE transition = "Brodie Merrill" AND offensive = "Pat Maddalena"</s>
CREATE TABLE table_name_80 (weight VARCHAR, pos VARCHAR, team VARCHAR)
SELECT COUNT(weight) FROM table_name_80 WHERE pos = "g" AND team = "los angeles d-fenders"
What is the total weight of players who play the G position for the Los Angeles D-Fenders?
<s>[INST]What is the total weight of players who play the G position for the Los Angeles D-Fenders? Context: CREATE TABLE table_name_80 (weight VARCHAR, pos VARCHAR, team VARCHAR)[/INST]SELECT COUNT(weight) FROM table_name_80 WHERE pos = "g" AND team = "los angeles d-fenders"</s>
CREATE TABLE table_name_26 (launch_site VARCHAR, rocket VARCHAR)
SELECT launch_site FROM table_name_26 WHERE rocket = "delta iv"
What is the launch site of the delta iv rocket?
<s>[INST]What is the launch site of the delta iv rocket? Context: CREATE TABLE table_name_26 (launch_site VARCHAR, rocket VARCHAR)[/INST]SELECT launch_site FROM table_name_26 WHERE rocket = "delta iv"</s>
CREATE TABLE products (product_type_code VARCHAR, product_price INTEGER)
SELECT product_type_code, AVG(product_price) FROM products GROUP BY product_type_code
What is the average price for each type of product?
<s>[INST]What is the average price for each type of product? Context: CREATE TABLE products (product_type_code VARCHAR, product_price INTEGER)[/INST]SELECT product_type_code, AVG(product_price) FROM products GROUP BY product_type_code</s>
CREATE TABLE table_name_12 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_12 WHERE venue = "lake oval"
What is the away side that playes at lake oval?
<s>[INST]What is the away side that playes at lake oval? Context: CREATE TABLE table_name_12 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_12 WHERE venue = "lake oval"</s>
CREATE TABLE table_name_20 (year_built INTEGER, sub_parish__sogn_ VARCHAR)
SELECT AVG(year_built) FROM table_name_20 WHERE sub_parish__sogn_ = "kyrkjebø"
what is the year built of kyrkjebø?
<s>[INST]what is the year built of kyrkjebø? Context: CREATE TABLE table_name_20 (year_built INTEGER, sub_parish__sogn_ VARCHAR)[/INST]SELECT AVG(year_built) FROM table_name_20 WHERE sub_parish__sogn_ = "kyrkjebø"</s>
CREATE TABLE table_name_64 (sort_restore VARCHAR, deaths VARCHAR)
SELECT sort_restore FROM table_name_64 WHERE deaths = "71"
What is the sort value that had deaths of 71?
<s>[INST]What is the sort value that had deaths of 71? Context: CREATE TABLE table_name_64 (sort_restore VARCHAR, deaths VARCHAR)[/INST]SELECT sort_restore FROM table_name_64 WHERE deaths = "71"</s>
CREATE TABLE table_name_87 (position VARCHAR, round VARCHAR, player VARCHAR)
SELECT position FROM table_name_87 WHERE round > 1 AND player = "jafus white"
What position was Jafus White who was picked after round 1?
<s>[INST]What position was Jafus White who was picked after round 1? Context: CREATE TABLE table_name_87 (position VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_87 WHERE round > 1 AND player = "jafus white"</s>
CREATE TABLE table_1805191_36 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1805191_36 WHERE incumbent = "Steve Chabot"
Who were all the candidates in elections in which Steve Chabot was a candidate?
<s>[INST]Who were all the candidates in elections in which Steve Chabot was a candidate? Context: CREATE TABLE table_1805191_36 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1805191_36 WHERE incumbent = "Steve Chabot"</s>
CREATE TABLE table_name_42 (rank VARCHAR, worldwide_gross VARCHAR)
SELECT rank FROM table_name_42 WHERE worldwide_gross = "$914,691,118"
What is the Rank of the Film with a Worldwide Gross of $914,691,118?
<s>[INST]What is the Rank of the Film with a Worldwide Gross of $914,691,118? Context: CREATE TABLE table_name_42 (rank VARCHAR, worldwide_gross VARCHAR)[/INST]SELECT rank FROM table_name_42 WHERE worldwide_gross = "$914,691,118"</s>
CREATE TABLE table_name_39 (laps VARCHAR, time_retired VARCHAR)
SELECT laps FROM table_name_39 WHERE time_retired = "+1:08.491"
Tell me the Laps for time/retired of +1:08.491
<s>[INST]Tell me the Laps for time/retired of +1:08.491 Context: CREATE TABLE table_name_39 (laps VARCHAR, time_retired VARCHAR)[/INST]SELECT laps FROM table_name_39 WHERE time_retired = "+1:08.491"</s>
CREATE TABLE table_name_68 (Box VARCHAR, away_team VARCHAR, date VARCHAR)
SELECT Box AS score FROM table_name_68 WHERE away_team = "new zealand breakers" AND date = "7 february"
Name the Box Score which has an Away team of new zealand breakers on 7 february?
<s>[INST]Name the Box Score which has an Away team of new zealand breakers on 7 february? Context: CREATE TABLE table_name_68 (Box VARCHAR, away_team VARCHAR, date VARCHAR)[/INST]SELECT Box AS score FROM table_name_68 WHERE away_team = "new zealand breakers" AND date = "7 february"</s>
CREATE TABLE table_27987623_1 (season_episode VARCHAR, us_viewers__in_million_ VARCHAR)
SELECT season_episode FROM table_27987623_1 WHERE us_viewers__in_million_ = "5.68"
What was the episode number for the episode viewed by 5.68 million viewers?
<s>[INST]What was the episode number for the episode viewed by 5.68 million viewers? Context: CREATE TABLE table_27987623_1 (season_episode VARCHAR, us_viewers__in_million_ VARCHAR)[/INST]SELECT season_episode FROM table_27987623_1 WHERE us_viewers__in_million_ = "5.68"</s>
CREATE TABLE table_name_31 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_31 WHERE record = "5–2–1"
Which Location has a Record of 5–2–1?
<s>[INST]Which Location has a Record of 5–2–1? Context: CREATE TABLE table_name_31 (location VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_31 WHERE record = "5–2–1"</s>
CREATE TABLE table_25718552_2 (Ends INTEGER, stolen_ends VARCHAR)
SELECT MAX(Ends) AS won FROM table_25718552_2 WHERE stolen_ends = 3
What is the largest amount of ends won when stolen ends were 3?
<s>[INST]What is the largest amount of ends won when stolen ends were 3? Context: CREATE TABLE table_25718552_2 (Ends INTEGER, stolen_ends VARCHAR)[/INST]SELECT MAX(Ends) AS won FROM table_25718552_2 WHERE stolen_ends = 3</s>
CREATE TABLE table_name_49 (class VARCHAR, part_3 VARCHAR)
SELECT class FROM table_name_49 WHERE part_3 = "trafen"
What is the class for trafen in part 3?
<s>[INST]What is the class for trafen in part 3? Context: CREATE TABLE table_name_49 (class VARCHAR, part_3 VARCHAR)[/INST]SELECT class FROM table_name_49 WHERE part_3 = "trafen"</s>
CREATE TABLE table_name_15 (high_assists VARCHAR, game VARCHAR)
SELECT high_assists FROM table_name_15 WHERE game = 66
What was the high assist for game 66?
<s>[INST]What was the high assist for game 66? Context: CREATE TABLE table_name_15 (high_assists VARCHAR, game VARCHAR)[/INST]SELECT high_assists FROM table_name_15 WHERE game = 66</s>
CREATE TABLE table_1133844_4 (senator VARCHAR, state__linked_to_summaries_below_ VARCHAR)
SELECT senator FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = "Arkansas"
who won the senate seat in arkansas
<s>[INST]who won the senate seat in arkansas Context: CREATE TABLE table_1133844_4 (senator VARCHAR, state__linked_to_summaries_below_ VARCHAR)[/INST]SELECT senator FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = "Arkansas"</s>
CREATE TABLE table_name_8 (type VARCHAR, location VARCHAR)
SELECT type FROM table_name_8 WHERE location = "cooperstown"
What type of bridge is in Cooperstown?
<s>[INST]What type of bridge is in Cooperstown? Context: CREATE TABLE table_name_8 (type VARCHAR, location VARCHAR)[/INST]SELECT type FROM table_name_8 WHERE location = "cooperstown"</s>
CREATE TABLE table_1140080_2 (rnd INTEGER, race VARCHAR)
SELECT MIN(rnd) FROM table_1140080_2 WHERE race = "Italian Grand Prix"
what's the minimum rnd with race  italian grand prix
<s>[INST]what's the minimum rnd with race  italian grand prix Context: CREATE TABLE table_1140080_2 (rnd INTEGER, race VARCHAR)[/INST]SELECT MIN(rnd) FROM table_1140080_2 WHERE race = "Italian Grand Prix"</s>
CREATE TABLE table_name_81 (romanization VARCHAR, source_language VARCHAR, rōmaji VARCHAR)
SELECT romanization FROM table_name_81 WHERE source_language = "mandarin" AND rōmaji = "ūroncha"
What is the Romanization of the Mandarin word whose Rōmaji is ūroncha
<s>[INST]What is the Romanization of the Mandarin word whose Rōmaji is ūroncha Context: CREATE TABLE table_name_81 (romanization VARCHAR, source_language VARCHAR, rōmaji VARCHAR)[/INST]SELECT romanization FROM table_name_81 WHERE source_language = "mandarin" AND rōmaji = "ūroncha"</s>
CREATE TABLE table_name_2 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_2 WHERE home_team = "carlton"
Which Away team has the Home team of Carlton?
<s>[INST]Which Away team has the Home team of Carlton? Context: CREATE TABLE table_name_2 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_2 WHERE home_team = "carlton"</s>
CREATE TABLE table_name_92 (surface VARCHAR, semifinalists VARCHAR)
SELECT surface FROM table_name_92 WHERE semifinalists = "wally masur malivai washington"
Which Surface has Semifinalists of wally masur malivai washington?
<s>[INST]Which Surface has Semifinalists of wally masur malivai washington? Context: CREATE TABLE table_name_92 (surface VARCHAR, semifinalists VARCHAR)[/INST]SELECT surface FROM table_name_92 WHERE semifinalists = "wally masur malivai washington"</s>
CREATE TABLE table_name_41 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_41 WHERE opponent = "san diego chargers"
What was the score of the game against the San Diego Chargers?
<s>[INST]What was the score of the game against the San Diego Chargers? Context: CREATE TABLE table_name_41 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_41 WHERE opponent = "san diego chargers"</s>
CREATE TABLE table_name_74 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_74 WHERE date = "february 4"
What is the home team of the game on February 4?
<s>[INST]What is the home team of the game on February 4? Context: CREATE TABLE table_name_74 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_74 WHERE date = "february 4"</s>
CREATE TABLE table_name_31 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_31 WHERE tie_no = "60"
What was the home team when the Tie no was 60?
<s>[INST]What was the home team when the Tie no was 60? Context: CREATE TABLE table_name_31 (home_team VARCHAR, tie_no VARCHAR)[/INST]SELECT home_team FROM table_name_31 WHERE tie_no = "60"</s>
CREATE TABLE table_name_8 (date VARCHAR, result VARCHAR, method VARCHAR)
SELECT date FROM table_name_8 WHERE result = "loss" AND method = "submission (armbar)"
What is Date, when Result is Loss, and when Method is Submission (Armbar)?
<s>[INST]What is Date, when Result is Loss, and when Method is Submission (Armbar)? Context: CREATE TABLE table_name_8 (date VARCHAR, result VARCHAR, method VARCHAR)[/INST]SELECT date FROM table_name_8 WHERE result = "loss" AND method = "submission (armbar)"</s>
CREATE TABLE table_name_6 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_6 WHERE result = "2–2 (d)"
What is the Venue of the Competition with a Result of 2–2 (d)?
<s>[INST]What is the Venue of the Competition with a Result of 2–2 (d)? Context: CREATE TABLE table_name_6 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_6 WHERE result = "2–2 (d)"</s>
CREATE TABLE table_name_24 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_24 WHERE record = "8-4"
Who was the opponent when the Washington Nationals had a record of 8-4?
<s>[INST]Who was the opponent when the Washington Nationals had a record of 8-4? Context: CREATE TABLE table_name_24 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_24 WHERE record = "8-4"</s>