context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_41 (ties INTEGER, goals_for VARCHAR, goals_against VARCHAR, team VARCHAR)
SELECT AVG(ties) FROM table_name_41 WHERE goals_against < 56 AND team = "ottawa hockey club" AND goals_for > 47
What is the average number of ties when goals against is less than 56 for Ottawa Hockey Club and the goals for is more than 47?
<s>[INST]What is the average number of ties when goals against is less than 56 for Ottawa Hockey Club and the goals for is more than 47? Context: CREATE TABLE table_name_41 (ties INTEGER, goals_for VARCHAR, goals_against VARCHAR, team VARCHAR)[/INST]SELECT AVG(ties) FROM table_name_41 WHERE goals_against < 56 AND team ...
CREATE TABLE game (date VARCHAR, id VARCHAR, season VARCHAR); CREATE TABLE injury_accident (player VARCHAR, game_id VARCHAR)
SELECT T1.date, T2.player FROM game AS T1 JOIN injury_accident AS T2 ON T1.id = T2.game_id ORDER BY T1.season DESC
For each injury accident, find the date of the game and the name of the injured player in the game, and sort the results in descending order of game season.
<s>[INST]For each injury accident, find the date of the game and the name of the injured player in the game, and sort the results in descending order of game season. Context: CREATE TABLE game (date VARCHAR, id VARCHAR, season VARCHAR); CREATE TABLE injury_accident (player VARCHAR, game_id VARCHAR)[/INST]SELECT T1.date...
CREATE TABLE table_name_79 (drawn INTEGER, goals_for VARCHAR, lost VARCHAR)
SELECT AVG(drawn) FROM table_name_79 WHERE goals_for < 36 AND lost > 21
For entries with lost larger than 21 and goals for smaller than 36, what is the average drawn?
<s>[INST]For entries with lost larger than 21 and goals for smaller than 36, what is the average drawn? Context: CREATE TABLE table_name_79 (drawn INTEGER, goals_for VARCHAR, lost VARCHAR)[/INST]SELECT AVG(drawn) FROM table_name_79 WHERE goals_for < 36 AND lost > 21</s>
CREATE TABLE circuits (name VARCHAR, country VARCHAR)
SELECT name FROM circuits WHERE country = "UK" OR country = "Malaysia"
What are the names of circuits that belong to UK or Malaysia?
<s>[INST]What are the names of circuits that belong to UK or Malaysia? Context: CREATE TABLE circuits (name VARCHAR, country VARCHAR)[/INST]SELECT name FROM circuits WHERE country = "UK" OR country = "Malaysia"</s>
CREATE TABLE table_name_75 (laps VARCHAR, time_retired VARCHAR)
SELECT COUNT(laps) FROM table_name_75 WHERE time_retired = "+1:02.315"
How many laps were timed at +1:02.315?
<s>[INST]How many laps were timed at +1:02.315? Context: CREATE TABLE table_name_75 (laps VARCHAR, time_retired VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_75 WHERE time_retired = "+1:02.315"</s>
CREATE TABLE table_name_74 (points VARCHAR, year VARCHAR)
SELECT COUNT(points) FROM table_name_74 WHERE year = 1992
How many total points were in 1992?
<s>[INST]How many total points were in 1992? Context: CREATE TABLE table_name_74 (points VARCHAR, year VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_74 WHERE year = 1992</s>
CREATE TABLE table_1341663_14 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_1341663_14 WHERE incumbent = "Frank Annunzio"
What year was Frank Annunzio elected
<s>[INST]What year was Frank Annunzio elected Context: CREATE TABLE table_1341663_14 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1341663_14 WHERE incumbent = "Frank Annunzio"</s>
CREATE TABLE table_name_25 (type VARCHAR, cc_license VARCHAR)
SELECT type FROM table_name_25 WHERE cc_license = "by-nc-sa 2.5"
What different types are there with a CC License of by-nc-sa 2.5?
<s>[INST]What different types are there with a CC License of by-nc-sa 2.5? Context: CREATE TABLE table_name_25 (type VARCHAR, cc_license VARCHAR)[/INST]SELECT type FROM table_name_25 WHERE cc_license = "by-nc-sa 2.5"</s>
CREATE TABLE table_name_68 (pick VARCHAR, college VARCHAR)
SELECT pick FROM table_name_68 WHERE college = "far eastern / psba"
Which Pick has the College named Far Eastern / PSBA?
<s>[INST]Which Pick has the College named Far Eastern / PSBA? Context: CREATE TABLE table_name_68 (pick VARCHAR, college VARCHAR)[/INST]SELECT pick FROM table_name_68 WHERE college = "far eastern / psba"</s>
CREATE TABLE table_name_99 (year INTEGER, venue VARCHAR, margin VARCHAR)
SELECT AVG(year) FROM table_name_99 WHERE venue = "brookvale oval" AND margin > 46
Name the average year for brookvale oval and margin more than 46
<s>[INST]Name the average year for brookvale oval and margin more than 46 Context: CREATE TABLE table_name_99 (year INTEGER, venue VARCHAR, margin VARCHAR)[/INST]SELECT AVG(year) FROM table_name_99 WHERE venue = "brookvale oval" AND margin > 46</s>
CREATE TABLE table_name_3 (games VARCHAR, team VARCHAR)
SELECT games FROM table_name_3 WHERE team = "efes pilsen"
How many Games for the player with Rebounds from Efes Pilsen?
<s>[INST]How many Games for the player with Rebounds from Efes Pilsen? Context: CREATE TABLE table_name_3 (games VARCHAR, team VARCHAR)[/INST]SELECT games FROM table_name_3 WHERE team = "efes pilsen"</s>
CREATE TABLE table_name_90 (earnings___ INTEGER, wins INTEGER)
SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE wins > 37
What is the highest earnings for the golfer who has more than 37 wins?
<s>[INST]What is the highest earnings for the golfer who has more than 37 wins? Context: CREATE TABLE table_name_90 (earnings___ INTEGER, wins INTEGER)[/INST]SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE wins > 37</s>
CREATE TABLE table_2101431_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
SELECT episode FROM table_2101431_1 WHERE viewers__in_millions_ = "7.2"
Which episode was watched by 7.2 million viewers?
<s>[INST]Which episode was watched by 7.2 million viewers? Context: CREATE TABLE table_2101431_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT episode FROM table_2101431_1 WHERE viewers__in_millions_ = "7.2"</s>
CREATE TABLE table_name_20 (candidate VARCHAR, election VARCHAR)
SELECT candidate FROM table_name_20 WHERE election = "2008 (2)"
Who is the candidate in the 2008 (2) election?
<s>[INST]Who is the candidate in the 2008 (2) election? Context: CREATE TABLE table_name_20 (candidate VARCHAR, election VARCHAR)[/INST]SELECT candidate FROM table_name_20 WHERE election = "2008 (2)"</s>
CREATE TABLE table_name_48 (apogee VARCHAR, inclination VARCHAR, launch_date_time___gmt__ VARCHAR)
SELECT apogee FROM table_name_48 WHERE inclination = "65°" AND launch_date_time___gmt__ = "15 february 1973, 01:11"
What is Apogee, when Inclination is 65°, and when Launch Date/Time is ( GMT ) is 15 February 1973, 01:11?
<s>[INST]What is Apogee, when Inclination is 65°, and when Launch Date/Time is ( GMT ) is 15 February 1973, 01:11? Context: CREATE TABLE table_name_48 (apogee VARCHAR, inclination VARCHAR, launch_date_time___gmt__ VARCHAR)[/INST]SELECT apogee FROM table_name_48 WHERE inclination = "65°" AND launch_date_time___gmt__ = "...
CREATE TABLE table_name_77 (wins VARCHAR, club VARCHAR, flags VARCHAR, draws VARCHAR)
SELECT wins FROM table_name_77 WHERE flags > 6 AND draws > 10 AND club = "south warrnambool"
How many wins did South Warrnambool have that had more than 6 flags and a draw greater than 10?
<s>[INST]How many wins did South Warrnambool have that had more than 6 flags and a draw greater than 10? Context: CREATE TABLE table_name_77 (wins VARCHAR, club VARCHAR, flags VARCHAR, draws VARCHAR)[/INST]SELECT wins FROM table_name_77 WHERE flags > 6 AND draws > 10 AND club = "south warrnambool"</s>
CREATE TABLE table_name_79 (team VARCHAR, game VARCHAR)
SELECT team FROM table_name_79 WHERE game = 39
What team played in game 39?
<s>[INST]What team played in game 39? Context: CREATE TABLE table_name_79 (team VARCHAR, game VARCHAR)[/INST]SELECT team FROM table_name_79 WHERE game = 39</s>
CREATE TABLE Apartments (room_count INTEGER, apt_type_code VARCHAR)
SELECT AVG(room_count) FROM Apartments WHERE apt_type_code = "Studio"
What is the average number of rooms of apartments with type code "Studio"?
<s>[INST]What is the average number of rooms of apartments with type code "Studio"? Context: CREATE TABLE Apartments (room_count INTEGER, apt_type_code VARCHAR)[/INST]SELECT AVG(room_count) FROM Apartments WHERE apt_type_code = "Studio"</s>
CREATE TABLE table_171361_2 (area_km_2 VARCHAR, official_name VARCHAR)
SELECT area_km_2 FROM table_171361_2 WHERE official_name = "Balmoral"
Name the area km 2 for balmoral
<s>[INST]Name the area km 2 for balmoral Context: CREATE TABLE table_171361_2 (area_km_2 VARCHAR, official_name VARCHAR)[/INST]SELECT area_km_2 FROM table_171361_2 WHERE official_name = "Balmoral"</s>
CREATE TABLE table_name_82 (green_communist VARCHAR, lead VARCHAR)
SELECT green_communist FROM table_name_82 WHERE lead = "15.5%"
What is the green-communist with a 15.5% lead?
<s>[INST]What is the green-communist with a 15.5% lead? Context: CREATE TABLE table_name_82 (green_communist VARCHAR, lead VARCHAR)[/INST]SELECT green_communist FROM table_name_82 WHERE lead = "15.5%"</s>
CREATE TABLE table_name_46 (country VARCHAR, name VARCHAR)
SELECT country FROM table_name_46 WHERE name = "pieroni"
Name the country for pieroni
<s>[INST]Name the country for pieroni Context: CREATE TABLE table_name_46 (country VARCHAR, name VARCHAR)[/INST]SELECT country FROM table_name_46 WHERE name = "pieroni"</s>
CREATE TABLE representative (Party VARCHAR)
SELECT Party FROM representative GROUP BY Party HAVING COUNT(*) >= 3
What parties have at least three representatives?
<s>[INST]What parties have at least three representatives? Context: CREATE TABLE representative (Party VARCHAR)[/INST]SELECT Party FROM representative GROUP BY Party HAVING COUNT(*) >= 3</s>
CREATE TABLE table_name_59 (league_cup_goals INTEGER, scorer VARCHAR)
SELECT MIN(league_cup_goals) FROM table_name_59 WHERE scorer = "denis law"
What is the lowest League Cup Goals, when Scorer is Denis Law?
<s>[INST]What is the lowest League Cup Goals, when Scorer is Denis Law? Context: CREATE TABLE table_name_59 (league_cup_goals INTEGER, scorer VARCHAR)[/INST]SELECT MIN(league_cup_goals) FROM table_name_59 WHERE scorer = "denis law"</s>
CREATE TABLE table_name_89 (november INTEGER, game VARCHAR, points VARCHAR)
SELECT SUM(november) FROM table_name_89 WHERE game < 16 AND points > 22
Which November has a Game smaller than 16, and Points larger than 22?
<s>[INST]Which November has a Game smaller than 16, and Points larger than 22? Context: CREATE TABLE table_name_89 (november INTEGER, game VARCHAR, points VARCHAR)[/INST]SELECT SUM(november) FROM table_name_89 WHERE game < 16 AND points > 22</s>
CREATE TABLE table_262481_2 (nickname VARCHAR, founded VARCHAR)
SELECT nickname FROM table_262481_2 WHERE founded = 1857
What is the nickname of the institution that was founded in 1857?
<s>[INST]What is the nickname of the institution that was founded in 1857? Context: CREATE TABLE table_262481_2 (nickname VARCHAR, founded VARCHAR)[/INST]SELECT nickname FROM table_262481_2 WHERE founded = 1857</s>
CREATE TABLE table_name_66 (date VARCHAR, winner VARCHAR)
SELECT date FROM table_name_66 WHERE winner = "murilo figueiredo"
What is Date, when Winner is "Murilo Figueiredo"?
<s>[INST]What is Date, when Winner is "Murilo Figueiredo"? Context: CREATE TABLE table_name_66 (date VARCHAR, winner VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE winner = "murilo figueiredo"</s>
CREATE TABLE table_16278602_1 (seat_of_administration VARCHAR, largest_city VARCHAR)
SELECT seat_of_administration FROM table_16278602_1 WHERE largest_city = "Roskilde"
In the region where Roskilde is the largest city, what is the seat of administration?
<s>[INST]In the region where Roskilde is the largest city, what is the seat of administration? Context: CREATE TABLE table_16278602_1 (seat_of_administration VARCHAR, largest_city VARCHAR)[/INST]SELECT seat_of_administration FROM table_16278602_1 WHERE largest_city = "Roskilde"</s>
CREATE TABLE table_name_25 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_25 WHERE points = "42 (45)" AND chassis = "brabham bt20"
who is the entrant when the points is 42 (45) and the chassis is brabham bt20?
<s>[INST]who is the entrant when the points is 42 (45) and the chassis is brabham bt20? Context: CREATE TABLE table_name_25 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)[/INST]SELECT entrant FROM table_name_25 WHERE points = "42 (45)" AND chassis = "brabham bt20"</s>
CREATE TABLE table_name_1 (date_of_birth__age_ VARCHAR, player VARCHAR)
SELECT date_of_birth__age_ FROM table_name_1 WHERE player = "brian lemay"
When was brian lemay born?
<s>[INST]When was brian lemay born? Context: CREATE TABLE table_name_1 (date_of_birth__age_ VARCHAR, player VARCHAR)[/INST]SELECT date_of_birth__age_ FROM table_name_1 WHERE player = "brian lemay"</s>
CREATE TABLE table_name_21 (grid INTEGER, driver VARCHAR)
SELECT MIN(grid) FROM table_name_21 WHERE driver = "ayrton senna"
What is the smallest grid for Ayrton Senna?
<s>[INST]What is the smallest grid for Ayrton Senna? Context: CREATE TABLE table_name_21 (grid INTEGER, driver VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_21 WHERE driver = "ayrton senna"</s>
CREATE TABLE table_name_73 (time VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT time FROM table_name_73 WHERE lane < 2 AND nationality = "spain"
Which Time has a Lane smaller than 2, and a Nationality of spain?
<s>[INST]Which Time has a Lane smaller than 2, and a Nationality of spain? Context: CREATE TABLE table_name_73 (time VARCHAR, lane VARCHAR, nationality VARCHAR)[/INST]SELECT time FROM table_name_73 WHERE lane < 2 AND nationality = "spain"</s>
CREATE TABLE table_name_90 (gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT AVG(gold) FROM table_name_90 WHERE bronze < 2 AND nation = "turkey" AND total > 1
What is Turkey's average Gold entry that also has a Bronze entry that is smaller than 2 and the Total is greater than 1?
<s>[INST]What is Turkey's average Gold entry that also has a Bronze entry that is smaller than 2 and the Total is greater than 1? Context: CREATE TABLE table_name_90 (gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_90 WHERE bronze < 2 AND nation = "turkey" AND total >...
CREATE TABLE table_18328569_1 (clubs_remaining INTEGER, round VARCHAR)
SELECT MIN(clubs_remaining) FROM table_18328569_1 WHERE round = "Fourth round"
How many clubs remain in the fourth round?
<s>[INST]How many clubs remain in the fourth round? Context: CREATE TABLE table_18328569_1 (clubs_remaining INTEGER, round VARCHAR)[/INST]SELECT MIN(clubs_remaining) FROM table_18328569_1 WHERE round = "Fourth round"</s>
CREATE TABLE table_26263954_1 (english VARCHAR, revised_hepburn VARCHAR)
SELECT english FROM table_26263954_1 WHERE revised_hepburn = "chiji"
when chiji is revised hepburn what are all the english
<s>[INST]when chiji is revised hepburn what are all the english Context: CREATE TABLE table_26263954_1 (english VARCHAR, revised_hepburn VARCHAR)[/INST]SELECT english FROM table_26263954_1 WHERE revised_hepburn = "chiji"</s>
CREATE TABLE table_22034853_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT COUNT(original_title) FROM table_22034853_1 WHERE film_title_used_in_nomination = "If the Sun Never Returns"
How many original titles were listed as "If the Sun Never Returns"?
<s>[INST]How many original titles were listed as "If the Sun Never Returns"? Context: CREATE TABLE table_22034853_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT COUNT(original_title) FROM table_22034853_1 WHERE film_title_used_in_nomination = "If the Sun Never Returns"</s>
CREATE TABLE table_name_13 (goals VARCHAR, caps VARCHAR, player VARCHAR)
SELECT goals FROM table_name_13 WHERE caps > 8 AND player = "stein huysegems"
How many goals occurred for Stein Huysegems when the caps value is more than 8?
<s>[INST]How many goals occurred for Stein Huysegems when the caps value is more than 8? Context: CREATE TABLE table_name_13 (goals VARCHAR, caps VARCHAR, player VARCHAR)[/INST]SELECT goals FROM table_name_13 WHERE caps > 8 AND player = "stein huysegems"</s>
CREATE TABLE table_199666_1 (process_technology VARCHAR, wireless_lan VARCHAR)
SELECT process_technology FROM table_199666_1 WHERE wireless_lan = "Intel WiFi Link 5100"
What's the process technology of the Intel WiFi Link 5100 wireless LAN?
<s>[INST]What's the process technology of the Intel WiFi Link 5100 wireless LAN? Context: CREATE TABLE table_199666_1 (process_technology VARCHAR, wireless_lan VARCHAR)[/INST]SELECT process_technology FROM table_199666_1 WHERE wireless_lan = "Intel WiFi Link 5100"</s>
CREATE TABLE table_name_21 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_21 WHERE position = "wr" AND school_club_team = "new mexico"
What player from New Mexico plays the WR position?
<s>[INST]What player from New Mexico plays the WR position? Context: CREATE TABLE table_name_21 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)[/INST]SELECT player FROM table_name_21 WHERE position = "wr" AND school_club_team = "new mexico"</s>
CREATE TABLE table_19523142_5 (group_12 VARCHAR, group_9 VARCHAR)
SELECT group_12 FROM table_19523142_5 WHERE group_9 = "PSID Jombang"
Who played in group 12 when Group 9 played psid jombang?
<s>[INST]Who played in group 12 when Group 9 played psid jombang? Context: CREATE TABLE table_19523142_5 (group_12 VARCHAR, group_9 VARCHAR)[/INST]SELECT group_12 FROM table_19523142_5 WHERE group_9 = "PSID Jombang"</s>
CREATE TABLE table_name_51 (wins INTEGER, byes VARCHAR, against VARCHAR, losses VARCHAR)
SELECT AVG(wins) FROM table_name_51 WHERE against < 1786 AND losses < 4 AND byes < 2
What is the average Wins, when Against is less than 1786, when Losses is less than 4, and when Byes is less than 2?
<s>[INST]What is the average Wins, when Against is less than 1786, when Losses is less than 4, and when Byes is less than 2? Context: CREATE TABLE table_name_51 (wins INTEGER, byes VARCHAR, against VARCHAR, losses VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_51 WHERE against < 1786 AND losses < 4 AND byes < 2</s>
CREATE TABLE table_name_94 (lead VARCHAR, skip VARCHAR)
SELECT lead FROM table_name_94 WHERE skip = "pavol pitonak"
Which Lead has a Skip of pavol pitonak?
<s>[INST]Which Lead has a Skip of pavol pitonak? Context: CREATE TABLE table_name_94 (lead VARCHAR, skip VARCHAR)[/INST]SELECT lead FROM table_name_94 WHERE skip = "pavol pitonak"</s>
CREATE TABLE Aircraft (name VARCHAR, distance VARCHAR, aid VARCHAR)
SELECT name, distance FROM Aircraft WHERE aid = 12
What is the name and distance for aircraft with id 12?
<s>[INST]What is the name and distance for aircraft with id 12? Context: CREATE TABLE Aircraft (name VARCHAR, distance VARCHAR, aid VARCHAR)[/INST]SELECT name, distance FROM Aircraft WHERE aid = 12</s>
CREATE TABLE table_22753439_1 (party VARCHAR, constituency VARCHAR)
SELECT party AS a FROM table_22753439_1 WHERE constituency = "Tiruchendur"
What is every party A with a constituency of Tiruchendur?
<s>[INST]What is every party A with a constituency of Tiruchendur? Context: CREATE TABLE table_22753439_1 (party VARCHAR, constituency VARCHAR)[/INST]SELECT party AS a FROM table_22753439_1 WHERE constituency = "Tiruchendur"</s>
CREATE TABLE table_24466191_1 (races INTEGER, flaps INTEGER)
SELECT MAX(races) FROM table_24466191_1 WHERE flaps > 2.0
Name the most races for flaps larger than 2.0
<s>[INST]Name the most races for flaps larger than 2.0 Context: CREATE TABLE table_24466191_1 (races INTEGER, flaps INTEGER)[/INST]SELECT MAX(races) FROM table_24466191_1 WHERE flaps > 2.0</s>
CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_62 WHERE date = "september 16"
What's the loss for September 16?
<s>[INST]What's the loss for September 16? Context: CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_62 WHERE date = "september 16"</s>
CREATE TABLE table_name_13 (tournament VARCHAR, opponents VARCHAR)
SELECT tournament FROM table_name_13 WHERE opponents = "antonia xenia tout nataša zorić"
What is the name of the tournament when antonia xenia tout nataša zorić was the opponenet?
<s>[INST]What is the name of the tournament when antonia xenia tout nataša zorić was the opponenet? Context: CREATE TABLE table_name_13 (tournament VARCHAR, opponents VARCHAR)[/INST]SELECT tournament FROM table_name_13 WHERE opponents = "antonia xenia tout nataša zorić"</s>
CREATE TABLE table_name_40 (attendance VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_40 WHERE visitor = "warriors" AND date = "2006-11-04"
What is the number of people in Attendance when Visitor was the warriors on 2006-11-04?
<s>[INST]What is the number of people in Attendance when Visitor was the warriors on 2006-11-04? Context: CREATE TABLE table_name_40 (attendance VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_40 WHERE visitor = "warriors" AND date = "2006-11-04"</s>
CREATE TABLE table_name_52 (season__number VARCHAR, series__number VARCHAR)
SELECT season__number FROM table_name_52 WHERE series__number = 81
What is the season for series 81?
<s>[INST]What is the season for series 81? Context: CREATE TABLE table_name_52 (season__number VARCHAR, series__number VARCHAR)[/INST]SELECT season__number FROM table_name_52 WHERE series__number = 81</s>
CREATE TABLE table_name_85 (year_born__age_ VARCHAR, position VARCHAR)
SELECT year_born__age_ FROM table_name_85 WHERE position = "f/c"
What is the Age of f/c Posiiton?
<s>[INST]What is the Age of f/c Posiiton? Context: CREATE TABLE table_name_85 (year_born__age_ VARCHAR, position VARCHAR)[/INST]SELECT year_born__age_ FROM table_name_85 WHERE position = "f/c"</s>
CREATE TABLE table_1820752_1 (constellation VARCHAR, spectral_type VARCHAR)
SELECT constellation FROM table_1820752_1 WHERE spectral_type = "G1V"
If the spectral type is g1v, what is the constellation?
<s>[INST]If the spectral type is g1v, what is the constellation? Context: CREATE TABLE table_1820752_1 (constellation VARCHAR, spectral_type VARCHAR)[/INST]SELECT constellation FROM table_1820752_1 WHERE spectral_type = "G1V"</s>
CREATE TABLE table_name_88 (m809_series VARCHAR, m939_series VARCHAR)
SELECT m809_series FROM table_name_88 WHERE m939_series = "m931/932"
Name the M809 seris with M939 series of M931/932
<s>[INST]Name the M809 seris with M939 series of M931/932 Context: CREATE TABLE table_name_88 (m809_series VARCHAR, m939_series VARCHAR)[/INST]SELECT m809_series FROM table_name_88 WHERE m939_series = "m931/932"</s>
CREATE TABLE table_name_41 (total INTEGER, type VARCHAR, athlete VARCHAR)
SELECT MAX(total) FROM table_name_41 WHERE type = "winter" AND athlete = "clara hughes"
What is the highest total medals winter athlete Clara Hughes has?
<s>[INST]What is the highest total medals winter athlete Clara Hughes has? Context: CREATE TABLE table_name_41 (total INTEGER, type VARCHAR, athlete VARCHAR)[/INST]SELECT MAX(total) FROM table_name_41 WHERE type = "winter" AND athlete = "clara hughes"</s>
CREATE TABLE table_name_3 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_3 WHERE away_team = "frickley athletic"
What was the home team when the away team was Frickley Athletic?
<s>[INST]What was the home team when the away team was Frickley Athletic? Context: CREATE TABLE table_name_3 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_3 WHERE away_team = "frickley athletic"</s>
CREATE TABLE party (minister VARCHAR, took_office VARCHAR, left_office VARCHAR)
SELECT minister, took_office, left_office FROM party ORDER BY left_office
Show the ministers and the time they took and left office, listed by the time they left office.
<s>[INST]Show the ministers and the time they took and left office, listed by the time they left office. Context: CREATE TABLE party (minister VARCHAR, took_office VARCHAR, left_office VARCHAR)[/INST]SELECT minister, took_office, left_office FROM party ORDER BY left_office</s>
CREATE TABLE table_name_13 (pick__number INTEGER, cfl_team VARCHAR)
SELECT MAX(pick__number) FROM table_name_13 WHERE cfl_team = "hamilton tiger-cats"
What was the highest pick number for the Hamilton tiger-cats?
<s>[INST]What was the highest pick number for the Hamilton tiger-cats? Context: CREATE TABLE table_name_13 (pick__number INTEGER, cfl_team VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_name_13 WHERE cfl_team = "hamilton tiger-cats"</s>
CREATE TABLE table_name_86 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_86 WHERE home_team = "west coast"
What is the lowest crowd of the west coast home team?
<s>[INST]What is the lowest crowd of the west coast home team? Context: CREATE TABLE table_name_86 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_86 WHERE home_team = "west coast"</s>
CREATE TABLE table_name_61 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)
SELECT player FROM table_name_61 WHERE touchdowns > 1 AND extra_points = 0 AND points < 50
What Player has more than 1 Touchdowns with 0 Extra Points and less than 50 Points?
<s>[INST]What Player has more than 1 Touchdowns with 0 Extra Points and less than 50 Points? Context: CREATE TABLE table_name_61 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)[/INST]SELECT player FROM table_name_61 WHERE touchdowns > 1 AND extra_points = 0 AND points < 50</s>
CREATE TABLE table_2668416_18 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_2668416_18 WHERE district = "Virginia 17"
If the district is Virginia 17, who are the candidates?
<s>[INST]If the district is Virginia 17, who are the candidates? Context: CREATE TABLE table_2668416_18 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_2668416_18 WHERE district = "Virginia 17"</s>
CREATE TABLE table_name_14 (song_sung VARCHAR, status VARCHAR)
SELECT song_sung FROM table_name_14 WHERE status = "eliminated"
Which Song Sung has a Status of Eliminated?
<s>[INST]Which Song Sung has a Status of Eliminated? Context: CREATE TABLE table_name_14 (song_sung VARCHAR, status VARCHAR)[/INST]SELECT song_sung FROM table_name_14 WHERE status = "eliminated"</s>
CREATE TABLE table_name_61 (byes INTEGER, draws VARCHAR, against VARCHAR, losses VARCHAR)
SELECT MAX(byes) FROM table_name_61 WHERE against < 1794 AND losses = 6 AND draws < 0
What is the highest value for Byes, when Against is less than 1794, when Losses is "6", and when Draws is less than 0?
<s>[INST]What is the highest value for Byes, when Against is less than 1794, when Losses is "6", and when Draws is less than 0? Context: CREATE TABLE table_name_61 (byes INTEGER, draws VARCHAR, against VARCHAR, losses VARCHAR)[/INST]SELECT MAX(byes) FROM table_name_61 WHERE against < 1794 AND losses = 6 AND draws < 0</...
CREATE TABLE table_name_30 (heat INTEGER, nationality VARCHAR, result VARCHAR)
SELECT MIN(heat) FROM table_name_30 WHERE nationality = "bulgaria" AND result > 55.97
Which Heat has a Nationality of bulgaria, and a Result larger than 55.97?
<s>[INST]Which Heat has a Nationality of bulgaria, and a Result larger than 55.97? Context: CREATE TABLE table_name_30 (heat INTEGER, nationality VARCHAR, result VARCHAR)[/INST]SELECT MIN(heat) FROM table_name_30 WHERE nationality = "bulgaria" AND result > 55.97</s>
CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR)
SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)"
What is the maximum speed for total power of ps (kw; bhp)?
<s>[INST]What is the maximum speed for total power of ps (kw; bhp)? Context: CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR)[/INST]SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)"</s>
CREATE TABLE table_name_13 (current_club VARCHAR, player VARCHAR, year_born VARCHAR, height VARCHAR, position VARCHAR)
SELECT current_club FROM table_name_13 WHERE height > 1.8 AND position = "guard" AND year_born < 1982 AND player = "tariq kirksay"
What team does tariq kirksay, a guard who is taller than 1.8M and born before 1982, represent?
<s>[INST]What team does tariq kirksay, a guard who is taller than 1.8M and born before 1982, represent? Context: CREATE TABLE table_name_13 (current_club VARCHAR, player VARCHAR, year_born VARCHAR, height VARCHAR, position VARCHAR)[/INST]SELECT current_club FROM table_name_13 WHERE height > 1.8 AND position = "guard" A...
CREATE TABLE table_19001175_1 (points VARCHAR, name VARCHAR)
SELECT points FROM table_19001175_1 WHERE name = "Thierry Tassin Category:Articles with hCards"
Name the points for thierry tassin category:articles with hcards
<s>[INST]Name the points for thierry tassin category:articles with hcards Context: CREATE TABLE table_19001175_1 (points VARCHAR, name VARCHAR)[/INST]SELECT points FROM table_19001175_1 WHERE name = "Thierry Tassin Category:Articles with hCards"</s>
CREATE TABLE table_24998088_1 (points VARCHAR, position VARCHAR)
SELECT points FROM table_24998088_1 WHERE position = "8th"
what were his points when he was in 8th position?
<s>[INST]what were his points when he was in 8th position? Context: CREATE TABLE table_24998088_1 (points VARCHAR, position VARCHAR)[/INST]SELECT points FROM table_24998088_1 WHERE position = "8th"</s>
CREATE TABLE table_29302816_8 (quarterfinalists VARCHAR, runner_up VARCHAR)
SELECT quarterfinalists FROM table_29302816_8 WHERE runner_up = "Andrew Pattison"
What are the quarterfinalists when the runner up is andrew pattison?
<s>[INST]What are the quarterfinalists when the runner up is andrew pattison? Context: CREATE TABLE table_29302816_8 (quarterfinalists VARCHAR, runner_up VARCHAR)[/INST]SELECT quarterfinalists FROM table_29302816_8 WHERE runner_up = "Andrew Pattison"</s>
CREATE TABLE table_name_62 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_62 WHERE to_par = "–3" AND score = 73 - 68 = 141
what player has To par of –3, and a Score of 73-68=141?
<s>[INST]what player has To par of –3, and a Score of 73-68=141? Context: CREATE TABLE table_name_62 (player VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_62 WHERE to_par = "–3" AND score = 73 - 68 = 141</s>
CREATE TABLE table_name_39 (venue VARCHAR, position VARCHAR)
SELECT venue FROM table_name_39 WHERE position = "5th"
Name the Venue which has a Position of 5th?
<s>[INST]Name the Venue which has a Position of 5th? Context: CREATE TABLE table_name_39 (venue VARCHAR, position VARCHAR)[/INST]SELECT venue FROM table_name_39 WHERE position = "5th"</s>
CREATE TABLE table_name_65 (nickname_s_ VARCHAR, location VARCHAR)
SELECT nickname_s_ FROM table_name_65 WHERE location = "elkville, illinois"
What Nickname(s) has a Location of elkville, illinois?
<s>[INST]What Nickname(s) has a Location of elkville, illinois? Context: CREATE TABLE table_name_65 (nickname_s_ VARCHAR, location VARCHAR)[/INST]SELECT nickname_s_ FROM table_name_65 WHERE location = "elkville, illinois"</s>
CREATE TABLE table_name_59 (third VARCHAR, lead VARCHAR)
SELECT third FROM table_name_59 WHERE lead = "holger höhne"
When did holger höhne come in third?
<s>[INST]When did holger höhne come in third? Context: CREATE TABLE table_name_59 (third VARCHAR, lead VARCHAR)[/INST]SELECT third FROM table_name_59 WHERE lead = "holger höhne"</s>
CREATE TABLE table_name_14 (board__cm_ VARCHAR, release VARCHAR, start VARCHAR, type VARCHAR)
SELECT board__cm_ FROM table_name_14 WHERE start = "1940" AND type = "theater" AND release > 2010
What is the dimensions in centimeters of a theater board who started in 1940, who was released after 2010?
<s>[INST]What is the dimensions in centimeters of a theater board who started in 1940, who was released after 2010? Context: CREATE TABLE table_name_14 (board__cm_ VARCHAR, release VARCHAR, start VARCHAR, type VARCHAR)[/INST]SELECT board__cm_ FROM table_name_14 WHERE start = "1940" AND type = "theater" AND release > 20...
CREATE TABLE table_name_33 (total VARCHAR, player VARCHAR)
SELECT total FROM table_name_33 WHERE player = "tony jacklin"
What is Tony Jacklin's total?
<s>[INST]What is Tony Jacklin's total? Context: CREATE TABLE table_name_33 (total VARCHAR, player VARCHAR)[/INST]SELECT total FROM table_name_33 WHERE player = "tony jacklin"</s>
CREATE TABLE table_2668254_17 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_2668254_17 WHERE incumbent = "Joshua Sands"
Who were the running candidates when Joshua Sands was the incumbent?
<s>[INST]Who were the running candidates when Joshua Sands was the incumbent? Context: CREATE TABLE table_2668254_17 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_2668254_17 WHERE incumbent = "Joshua Sands"</s>
CREATE TABLE table_name_76 (week INTEGER, attendance INTEGER)
SELECT MAX(week) FROM table_name_76 WHERE attendance < 51 OFFSET 423
What week had a lower attendance than 51,423 but was still higher than the other weeks?
<s>[INST]What week had a lower attendance than 51,423 but was still higher than the other weeks? Context: CREATE TABLE table_name_76 (week INTEGER, attendance INTEGER)[/INST]SELECT MAX(week) FROM table_name_76 WHERE attendance < 51 OFFSET 423</s>
CREATE TABLE table_24285393_1 (country_or_region VARCHAR, highest_point VARCHAR)
SELECT country_or_region FROM table_24285393_1 WHERE highest_point = "Mont Sokbaro"
In what country is mont sokbaro a highest point
<s>[INST]In what country is mont sokbaro a highest point Context: CREATE TABLE table_24285393_1 (country_or_region VARCHAR, highest_point VARCHAR)[/INST]SELECT country_or_region FROM table_24285393_1 WHERE highest_point = "Mont Sokbaro"</s>
CREATE TABLE table_name_41 (first_leg VARCHAR, round VARCHAR)
SELECT first_leg FROM table_name_41 WHERE round = "2nd"
What was the first leg score in the 2nd round?
<s>[INST]What was the first leg score in the 2nd round? Context: CREATE TABLE table_name_41 (first_leg VARCHAR, round VARCHAR)[/INST]SELECT first_leg FROM table_name_41 WHERE round = "2nd"</s>
CREATE TABLE table_name_97 (nhl_team VARCHAR, team_from VARCHAR, league_from VARCHAR, pick__number VARCHAR)
SELECT nhl_team FROM table_name_97 WHERE league_from = "western hockey league" AND pick__number < 23 AND team_from = "prince george cougars"
Which NHL team has a League from of western hockey league and a Pick # smaller than 23 and a Team from of prince george cougars?
<s>[INST]Which NHL team has a League from of western hockey league and a Pick # smaller than 23 and a Team from of prince george cougars? Context: CREATE TABLE table_name_97 (nhl_team VARCHAR, team_from VARCHAR, league_from VARCHAR, pick__number VARCHAR)[/INST]SELECT nhl_team FROM table_name_97 WHERE league_from = "wes...
CREATE TABLE Templates (template_id VARCHAR, version_number VARCHAR, template_type_code VARCHAR)
SELECT template_id, version_number, template_type_code FROM Templates
Show template ids, version numbers, and template type codes for all templates.
<s>[INST]Show template ids, version numbers, and template type codes for all templates. Context: CREATE TABLE Templates (template_id VARCHAR, version_number VARCHAR, template_type_code VARCHAR)[/INST]SELECT template_id, version_number, template_type_code FROM Templates</s>
CREATE TABLE table_20046379_3 (us_viewers__millions_ VARCHAR, production_code VARCHAR)
SELECT us_viewers__millions_ FROM table_20046379_3 WHERE production_code = "214"
How many millions of people in the US saw the episode with production code 214?
<s>[INST]How many millions of people in the US saw the episode with production code 214? Context: CREATE TABLE table_20046379_3 (us_viewers__millions_ VARCHAR, production_code VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_20046379_3 WHERE production_code = "214"</s>
CREATE TABLE table_2009095_2 (year INTEGER, opponents VARCHAR)
SELECT MIN(year) FROM table_2009095_2 WHERE opponents = "Evonne Goolagong Helen Gourlay"
Name the least year for evonne goolagong helen gourlay
<s>[INST]Name the least year for evonne goolagong helen gourlay Context: CREATE TABLE table_2009095_2 (year INTEGER, opponents VARCHAR)[/INST]SELECT MIN(year) FROM table_2009095_2 WHERE opponents = "Evonne Goolagong Helen Gourlay"</s>
CREATE TABLE table_name_20 (township VARCHAR, latitude VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR)
SELECT township FROM table_name_20 WHERE land___sqmi__ > 36.112 AND geo_id > 3801985060 AND latitude = 46.062384
what is the township when the land (sqmi) is more than 36.112, the geo id is higher than 3801985060 and the latitude is 46.062384?
<s>[INST]what is the township when the land (sqmi) is more than 36.112, the geo id is higher than 3801985060 and the latitude is 46.062384? Context: CREATE TABLE table_name_20 (township VARCHAR, latitude VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR)[/INST]SELECT township FROM table_name_20 WHERE land___sqmi__ > 36.11...
CREATE TABLE table_29506171_2 (rolex_ranking INTEGER, money_list_rank VARCHAR)
SELECT MAX(rolex_ranking) FROM table_29506171_2 WHERE money_list_rank = "3"
What was Reid's rolex ranking in the year that her money list rank was 3?
<s>[INST]What was Reid's rolex ranking in the year that her money list rank was 3? Context: CREATE TABLE table_29506171_2 (rolex_ranking INTEGER, money_list_rank VARCHAR)[/INST]SELECT MAX(rolex_ranking) FROM table_29506171_2 WHERE money_list_rank = "3"</s>
CREATE TABLE table_name_46 (year VARCHAR, formula VARCHAR)
SELECT COUNT(year) FROM table_name_46 WHERE formula = "grand prix"
How many years had a formula of Grand Prix?
<s>[INST]How many years had a formula of Grand Prix? Context: CREATE TABLE table_name_46 (year VARCHAR, formula VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_46 WHERE formula = "grand prix"</s>
CREATE TABLE table_name_36 (latest_stable_release VARCHAR, price_in_usd VARCHAR)
SELECT latest_stable_release FROM table_name_36 WHERE price_in_usd = "free / negotiable"
Name the Latest stable release that has a Price in USD of free / negotiable?
<s>[INST]Name the Latest stable release that has a Price in USD of free / negotiable? Context: CREATE TABLE table_name_36 (latest_stable_release VARCHAR, price_in_usd VARCHAR)[/INST]SELECT latest_stable_release FROM table_name_36 WHERE price_in_usd = "free / negotiable"</s>
CREATE TABLE table_name_4 (constructor VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_4 WHERE time_retired = "+1 lap" AND driver = "olivier panis"
Who constructed olivier panis' car that retired after +1 lap?
<s>[INST]Who constructed olivier panis' car that retired after +1 lap? Context: CREATE TABLE table_name_4 (constructor VARCHAR, time_retired VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_4 WHERE time_retired = "+1 lap" AND driver = "olivier panis"</s>
CREATE TABLE CARS_DATA (Accelerate INTEGER, Horsepower VARCHAR)
SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > (SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1)
How many cars have a larger accelerate than the car with the largest horsepower?
<s>[INST]How many cars have a larger accelerate than the car with the largest horsepower? Context: CREATE TABLE CARS_DATA (Accelerate INTEGER, Horsepower VARCHAR)[/INST]SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > (SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1)</s>
CREATE TABLE table_name_54 (playoffs VARCHAR, year VARCHAR, record VARCHAR)
SELECT playoffs FROM table_name_54 WHERE year > 1975 AND record = "13–11"
Year larger than 1975, and a Record of 13–11 is what playoffs?
<s>[INST]Year larger than 1975, and a Record of 13–11 is what playoffs? Context: CREATE TABLE table_name_54 (playoffs VARCHAR, year VARCHAR, record VARCHAR)[/INST]SELECT playoffs FROM table_name_54 WHERE year > 1975 AND record = "13–11"</s>
CREATE TABLE table_name_3 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_3 WHERE date = "bye"
What was the attendance on the bye week?
<s>[INST]What was the attendance on the bye week? Context: CREATE TABLE table_name_3 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_3 WHERE date = "bye"</s>
CREATE TABLE table_12434380_1 (school_colors VARCHAR, main_campus_location VARCHAR)
SELECT COUNT(school_colors) FROM table_12434380_1 WHERE main_campus_location = "Highland"
How many school colors is there for the main campus location of highland?
<s>[INST]How many school colors is there for the main campus location of highland? Context: CREATE TABLE table_12434380_1 (school_colors VARCHAR, main_campus_location VARCHAR)[/INST]SELECT COUNT(school_colors) FROM table_12434380_1 WHERE main_campus_location = "Highland"</s>
CREATE TABLE table_name_18 (podiums INTEGER, class VARCHAR, f_laps VARCHAR)
SELECT SUM(podiums) FROM table_name_18 WHERE class = "250cc" AND f_laps = 0
How many Podiums have a Class of 250cc, and an F laps of 0?
<s>[INST]How many Podiums have a Class of 250cc, and an F laps of 0? Context: CREATE TABLE table_name_18 (podiums INTEGER, class VARCHAR, f_laps VARCHAR)[/INST]SELECT SUM(podiums) FROM table_name_18 WHERE class = "250cc" AND f_laps = 0</s>
CREATE TABLE table_name_13 (founded INTEGER, suburb_town VARCHAR)
SELECT AVG(founded) FROM table_name_13 WHERE suburb_town = "vineyard"
On average, when were vineyard schools founded?
<s>[INST]On average, when were vineyard schools founded? Context: CREATE TABLE table_name_13 (founded INTEGER, suburb_town VARCHAR)[/INST]SELECT AVG(founded) FROM table_name_13 WHERE suburb_town = "vineyard"</s>
CREATE TABLE table_name_18 (year_startup VARCHAR, operator VARCHAR, project_name VARCHAR)
SELECT year_startup FROM table_name_18 WHERE operator = "albian sands" AND project_name = "jackpine mine (ph 2)"
What was the startup year for the Jackpine Mine (ph 2) project with an albian sands operator?
<s>[INST]What was the startup year for the Jackpine Mine (ph 2) project with an albian sands operator? Context: CREATE TABLE table_name_18 (year_startup VARCHAR, operator VARCHAR, project_name VARCHAR)[/INST]SELECT year_startup FROM table_name_18 WHERE operator = "albian sands" AND project_name = "jackpine mine (ph 2)"...
CREATE TABLE table_name_74 (cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR, wins VARCHAR)
SELECT COUNT(cuts_made) FROM table_name_74 WHERE top_10 > 1 AND wins > 0 AND top_5 > 2 AND events > 18
How many cuts made when the Top-10 is larger than 1, and the wins greater than 0, and a Top-5 greater than 2, when the events is greater than 18?
<s>[INST]How many cuts made when the Top-10 is larger than 1, and the wins greater than 0, and a Top-5 greater than 2, when the events is greater than 18? Context: CREATE TABLE table_name_74 (cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(cuts_made) FROM table_name_74...
CREATE TABLE table_2156758_4 (no_in_season VARCHAR, written_by VARCHAR)
SELECT no_in_season FROM table_2156758_4 WHERE written_by = "Chris Mitchell and Erik Wiese"
What is the number in season for the episode written by Chris Mitchell and Erik Wiese?
<s>[INST]What is the number in season for the episode written by Chris Mitchell and Erik Wiese? Context: CREATE TABLE table_2156758_4 (no_in_season VARCHAR, written_by VARCHAR)[/INST]SELECT no_in_season FROM table_2156758_4 WHERE written_by = "Chris Mitchell and Erik Wiese"</s>
CREATE TABLE table_1977630_2 (verbs VARCHAR, yo VARCHAR)
SELECT COUNT(verbs) FROM table_1977630_2 WHERE yo = "sienta"
how many verbs have the yo form as sienta?
<s>[INST]how many verbs have the yo form as sienta? Context: CREATE TABLE table_1977630_2 (verbs VARCHAR, yo VARCHAR)[/INST]SELECT COUNT(verbs) FROM table_1977630_2 WHERE yo = "sienta"</s>
CREATE TABLE table_11764007_2 (week_sent_to_third_island VARCHAR, week_arrived_on_main_island VARCHAR)
SELECT week_sent_to_third_island FROM table_11764007_2 WHERE week_arrived_on_main_island = "6"
What week was the member who arrived on the main island in week 6 sent to the third island?
<s>[INST]What week was the member who arrived on the main island in week 6 sent to the third island? Context: CREATE TABLE table_11764007_2 (week_sent_to_third_island VARCHAR, week_arrived_on_main_island VARCHAR)[/INST]SELECT week_sent_to_third_island FROM table_11764007_2 WHERE week_arrived_on_main_island = "6"</s>
CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_33 WHERE place = "t5" AND score = 73 - 72 - 71 - 75 = 291
Can you tell me the Player that has the Place of t5, and the Score of 73-72-71-75=291?
<s>[INST]Can you tell me the Player that has the Place of t5, and the Score of 73-72-71-75=291? Context: CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_33 WHERE place = "t5" AND score = 73 - 72 - 71 - 75 = 291</s>
CREATE TABLE church (name VARCHAR, church_id VARCHAR); CREATE TABLE people (people_id VARCHAR, age VARCHAR); CREATE TABLE wedding (male_id VARCHAR, female_id VARCHAR, church_id VARCHAR)
SELECT T4.name FROM wedding AS T1 JOIN people AS T2 ON T1.male_id = T2.people_id JOIN people AS T3 ON T1.female_id = T3.people_id JOIN church AS T4 ON T4.church_id = T1.church_id WHERE T2.age > 30 OR T3.age > 30
Show the church names for the weddings of all people older than 30.
<s>[INST]Show the church names for the weddings of all people older than 30. Context: CREATE TABLE church (name VARCHAR, church_id VARCHAR); CREATE TABLE people (people_id VARCHAR, age VARCHAR); CREATE TABLE wedding (male_id VARCHAR, female_id VARCHAR, church_id VARCHAR)[/INST]SELECT T4.name FROM wedding AS T1 JOIN peo...
CREATE TABLE table_name_4 (opponents_in_the_final VARCHAR, date VARCHAR)
SELECT opponents_in_the_final FROM table_name_4 WHERE date = "june 23, 2003"
Who were the opponents of the final on June 23, 2003?
<s>[INST]Who were the opponents of the final on June 23, 2003? Context: CREATE TABLE table_name_4 (opponents_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_4 WHERE date = "june 23, 2003"</s>
CREATE TABLE table_1059743_2 (member_association VARCHAR, points VARCHAR)
SELECT COUNT(member_association) FROM table_1059743_2 WHERE points = "177.2"
How many countries earned 177.2 points?
<s>[INST]How many countries earned 177.2 points? Context: CREATE TABLE table_1059743_2 (member_association VARCHAR, points VARCHAR)[/INST]SELECT COUNT(member_association) FROM table_1059743_2 WHERE points = "177.2"</s>