context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_54 (Id VARCHAR)
SELECT 1988 FROM table_name_54 WHERE 1985 = "2r"
Which 1988 has a 1985 of 2r?
<s>[INST]Which 1988 has a 1985 of 2r? Context: CREATE TABLE table_name_54 (Id VARCHAR)[/INST]SELECT 1988 FROM table_name_54 WHERE 1985 = "2r"</s>
CREATE TABLE table_name_55 (location_attendance VARCHAR, high_assists VARCHAR)
SELECT location_attendance FROM table_name_55 WHERE high_assists = "ben gordon (8)"
Where did Ben Gordon (8) have the high assists?
<s>[INST]Where did Ben Gordon (8) have the high assists? Context: CREATE TABLE table_name_55 (location_attendance VARCHAR, high_assists VARCHAR)[/INST]SELECT location_attendance FROM table_name_55 WHERE high_assists = "ben gordon (8)"</s>
CREATE TABLE table_name_37 (goals_against INTEGER, points VARCHAR, games VARCHAR, lost VARCHAR)
SELECT SUM(goals_against) FROM table_name_37 WHERE games = 64 AND lost < 12 AND points > 107
How many goals against have 64 for games, a loss less than 12, with points greater than 107?
<s>[INST]How many goals against have 64 for games, a loss less than 12, with points greater than 107? Context: CREATE TABLE table_name_37 (goals_against INTEGER, points VARCHAR, games VARCHAR, lost VARCHAR)[/INST]SELECT SUM(goals_against) FROM table_name_37 WHERE games = 64 AND lost < 12 AND points > 107</s>
CREATE TABLE table_name_61 (total_seats INTEGER, share_of_votes VARCHAR)
SELECT SUM(total_seats) FROM table_name_61 WHERE share_of_votes = "21.8%"
When the share of votes equals 21.8%, what's the sum of the total amount of seats?
<s>[INST]When the share of votes equals 21.8%, what's the sum of the total amount of seats? Context: CREATE TABLE table_name_61 (total_seats INTEGER, share_of_votes VARCHAR)[/INST]SELECT SUM(total_seats) FROM table_name_61 WHERE share_of_votes = "21.8%"</s>
CREATE TABLE table_name_82 (nation VARCHAR, silver VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT nation FROM table_name_82 WHERE bronze < 1 AND total > 1 AND silver = 1
Which Nation has a Bronze smaller than 1, and a Total larger than 1, and a Silver of 1?
<s>[INST]Which Nation has a Bronze smaller than 1, and a Total larger than 1, and a Silver of 1? Context: CREATE TABLE table_name_82 (nation VARCHAR, silver VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT nation FROM table_name_82 WHERE bronze < 1 AND total > 1 AND silver = 1</s>
CREATE TABLE table_name_26 (verb_meaning VARCHAR, part_1 VARCHAR)
SELECT verb_meaning FROM table_name_26 WHERE part_1 = "*haldaną *fanhaną"
What is the verb meaning of *haldaną *fanhaną in part 1?
<s>[INST]What is the verb meaning of *haldaną *fanhaną in part 1? Context: CREATE TABLE table_name_26 (verb_meaning VARCHAR, part_1 VARCHAR)[/INST]SELECT verb_meaning FROM table_name_26 WHERE part_1 = "*haldaną *fanhaną"</s>
CREATE TABLE table_name_55 (top_division_titles VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR, first_season_of_current_spell_in_top_division VARCHAR)
SELECT COUNT(top_division_titles) FROM table_name_55 WHERE number_of_seasons_in_top_division > 40 AND first_season_of_current_spell_in_top_division = "1943-44" AND number_of_seasons_in_liga_mx > 89
What is the total number of Top division titles for the club that has more than 40 seasons in top division, a First season of current spell in top division of 1943-44, and more than 89 seasons in Liga MX?
<s>[INST]What is the total number of Top division titles for the club that has more than 40 seasons in top division, a First season of current spell in top division of 1943-44, and more than 89 seasons in Liga MX? Context: CREATE TABLE table_name_55 (top_division_titles VARCHAR, number_of_seasons_in_liga_mx VARCHAR, nu...
CREATE TABLE table_name_84 (title VARCHAR, published_in VARCHAR, main_characters VARCHAR)
SELECT title FROM table_name_84 WHERE published_in = "astounding stories" AND main_characters = "grant calthorpe, lee neilan"
Name the title when the main characters are grant calthorpe, lee neilan and the published in of astounding stories
<s>[INST]Name the title when the main characters are grant calthorpe, lee neilan and the published in of astounding stories Context: CREATE TABLE table_name_84 (title VARCHAR, published_in VARCHAR, main_characters VARCHAR)[/INST]SELECT title FROM table_name_84 WHERE published_in = "astounding stories" AND main_characte...
CREATE TABLE table_26967904_2 (p1_diameter__mm_ VARCHAR, chambering VARCHAR)
SELECT p1_diameter__mm_ FROM table_26967904_2 WHERE chambering = ".300 Lapua Magnum"
What is the p1 diameter (mm) when .300 lapua magnum is the chambering?
<s>[INST]What is the p1 diameter (mm) when .300 lapua magnum is the chambering? Context: CREATE TABLE table_26967904_2 (p1_diameter__mm_ VARCHAR, chambering VARCHAR)[/INST]SELECT p1_diameter__mm_ FROM table_26967904_2 WHERE chambering = ".300 Lapua Magnum"</s>
CREATE TABLE table_27723526_9 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_27723526_9 WHERE team = "Milwaukee"
What location did the Mavericks play against Milwaukee?
<s>[INST]What location did the Mavericks play against Milwaukee? Context: CREATE TABLE table_27723526_9 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_27723526_9 WHERE team = "Milwaukee"</s>
CREATE TABLE table_21350772_2 (lifetime__years_ VARCHAR, chemical_formula VARCHAR)
SELECT lifetime__years_ FROM table_21350772_2 WHERE chemical_formula = "CH 4"
What is the lifetime (years) for chemical formula ch 4?
<s>[INST]What is the lifetime (years) for chemical formula ch 4? Context: CREATE TABLE table_21350772_2 (lifetime__years_ VARCHAR, chemical_formula VARCHAR)[/INST]SELECT lifetime__years_ FROM table_21350772_2 WHERE chemical_formula = "CH 4"</s>
CREATE TABLE table_name_86 (goals_conceded INTEGER, points VARCHAR, played VARCHAR)
SELECT SUM(goals_conceded) FROM table_name_86 WHERE points < 26 AND played < 18
What are the total amount of Goals Conceded when the Points are less than 26, and when the value for Played is less than 18?
<s>[INST]What are the total amount of Goals Conceded when the Points are less than 26, and when the value for Played is less than 18? Context: CREATE TABLE table_name_86 (goals_conceded INTEGER, points VARCHAR, played VARCHAR)[/INST]SELECT SUM(goals_conceded) FROM table_name_86 WHERE points < 26 AND played < 18</s>
CREATE TABLE table_name_33 (road_numbers VARCHAR, build_year VARCHAR, railroad__quantity_ VARCHAR)
SELECT road_numbers FROM table_name_33 WHERE build_year = "1943" AND railroad__quantity_ = "clinchfield railroad (12 new, 6 secondhand)"
what is the road numbers when the build year is 1943, the railroad (quantity) is clinchfield railroad (12 new, 6 secondhand)?
<s>[INST]what is the road numbers when the build year is 1943, the railroad (quantity) is clinchfield railroad (12 new, 6 secondhand)? Context: CREATE TABLE table_name_33 (road_numbers VARCHAR, build_year VARCHAR, railroad__quantity_ VARCHAR)[/INST]SELECT road_numbers FROM table_name_33 WHERE build_year = "1943" AND ra...
CREATE TABLE table_name_32 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_32 WHERE to_par = "–7" AND player = "justin leonard"
What is Justin Leonard with a To par of –7's Score?
<s>[INST]What is Justin Leonard with a To par of –7's Score? Context: CREATE TABLE table_name_32 (score VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_32 WHERE to_par = "–7" AND player = "justin leonard"</s>
CREATE TABLE table_name_29 (origin VARCHAR, destination VARCHAR)
SELECT origin FROM table_name_29 WHERE destination = "anand vihar terminal"
From where did the train that arrived in the Anand Vihar Terminal originate?
<s>[INST]From where did the train that arrived in the Anand Vihar Terminal originate? Context: CREATE TABLE table_name_29 (origin VARCHAR, destination VARCHAR)[/INST]SELECT origin FROM table_name_29 WHERE destination = "anand vihar terminal"</s>
CREATE TABLE table_name_96 (record VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_96 WHERE visitor = "mavericks"
Name the record when the visitor is mavericks
<s>[INST]Name the record when the visitor is mavericks Context: CREATE TABLE table_name_96 (record VARCHAR, visitor VARCHAR)[/INST]SELECT record FROM table_name_96 WHERE visitor = "mavericks"</s>
CREATE TABLE table_name_95 (meet VARCHAR, time VARCHAR)
SELECT meet FROM table_name_95 WHERE time = "3:50.65"
Which Meet has a Time of 3:50.65?
<s>[INST]Which Meet has a Time of 3:50.65? Context: CREATE TABLE table_name_95 (meet VARCHAR, time VARCHAR)[/INST]SELECT meet FROM table_name_95 WHERE time = "3:50.65"</s>
CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR, score VARCHAR)
SELECT place FROM table_name_66 WHERE score = 73 - 71 = 144 AND player = "scott simpson"
What is Place, when Score is "73-71=144", and when Player is "Scott Simpson"?
<s>[INST]What is Place, when Score is "73-71=144", and when Player is "Scott Simpson"? Context: CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_66 WHERE score = 73 - 71 = 144 AND player = "scott simpson"</s>
CREATE TABLE table_name_13 (year VARCHAR, actress VARCHAR)
SELECT year FROM table_name_13 WHERE actress = "shelley winters"
What year did Shelley Winters win?
<s>[INST]What year did Shelley Winters win? Context: CREATE TABLE table_name_13 (year VARCHAR, actress VARCHAR)[/INST]SELECT year FROM table_name_13 WHERE actress = "shelley winters"</s>
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (stuid VARCHAR, age VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.age > 18
How many members of "Bootup Baltimore" are older than 18?
<s>[INST]How many members of "Bootup Baltimore" are older than 18? Context: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (stuid VARCHAR, age VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)[/INST]SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = ...
CREATE TABLE table_name_22 (dob VARCHAR, surname VARCHAR)
SELECT dob FROM table_name_22 WHERE surname = "collins"
When is Collins' DOB?
<s>[INST]When is Collins' DOB? Context: CREATE TABLE table_name_22 (dob VARCHAR, surname VARCHAR)[/INST]SELECT dob FROM table_name_22 WHERE surname = "collins"</s>
CREATE TABLE table_name_3 (cores VARCHAR, part_number_s_ VARCHAR, release_date VARCHAR, release_price___usd__ VARCHAR)
SELECT cores FROM table_name_3 WHERE release_date = "april 2012" AND release_price___usd__ = "$393" AND part_number_s_ = "av8063801117503"
How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have?
<s>[INST]How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have? Context: CREATE TABLE table_name_3 (cores VARCHAR, part_number_s_ VARCHAR, release_date VARCHAR, release_price___usd__ VARCHAR)[/INST]SELECT cores FROM table_name_3 WHERE release_date = "april 20...
CREATE TABLE table_10023387_1 (doubles_w_l VARCHAR, years_played VARCHAR)
SELECT doubles_w_l FROM table_10023387_1 WHERE years_played = "1 (1968)"
what's the doubles w-l with years played value of 1 (1968)
<s>[INST]what's the doubles w-l with years played value of 1 (1968) Context: CREATE TABLE table_10023387_1 (doubles_w_l VARCHAR, years_played VARCHAR)[/INST]SELECT doubles_w_l FROM table_10023387_1 WHERE years_played = "1 (1968)"</s>
CREATE TABLE table_name_53 (intergiro_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR)
SELECT intergiro_classification FROM table_name_53 WHERE trofeo_fast_team = "team polti" AND stage = "14"
Which intergiro classification is there for team Polti at stage 14?
<s>[INST]Which intergiro classification is there for team Polti at stage 14? Context: CREATE TABLE table_name_53 (intergiro_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR)[/INST]SELECT intergiro_classification FROM table_name_53 WHERE trofeo_fast_team = "team polti" AND stage = "14"</s>
CREATE TABLE table_name_81 (name VARCHAR, overall VARCHAR, pick__number VARCHAR)
SELECT name FROM table_name_81 WHERE overall > 414 AND pick__number > 9
Who has an overall greater than 414 with a pick# bigger than 9?
<s>[INST]Who has an overall greater than 414 with a pick# bigger than 9? Context: CREATE TABLE table_name_81 (name VARCHAR, overall VARCHAR, pick__number VARCHAR)[/INST]SELECT name FROM table_name_81 WHERE overall > 414 AND pick__number > 9</s>
CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_62 WHERE home_team = "fitzroy"
What did the away team score when playing against fitzroy?
<s>[INST]What did the away team score when playing against fitzroy? Context: CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_62 WHERE home_team = "fitzroy"</s>
CREATE TABLE table_name_47 (tournament VARCHAR)
SELECT tournament FROM table_name_47 WHERE 2003 = "a"
What tournament has a 2003 of a?
<s>[INST]What tournament has a 2003 of a? Context: CREATE TABLE table_name_47 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_47 WHERE 2003 = "a"</s>
CREATE TABLE table_27599216_6 (capacity VARCHAR, institution VARCHAR)
SELECT capacity FROM table_27599216_6 WHERE institution = "University of Alberta"
What is the capacity for the institution of university of alberta?
<s>[INST]What is the capacity for the institution of university of alberta? Context: CREATE TABLE table_27599216_6 (capacity VARCHAR, institution VARCHAR)[/INST]SELECT capacity FROM table_27599216_6 WHERE institution = "University of Alberta"</s>
CREATE TABLE table_name_67 (anand VARCHAR, game VARCHAR)
SELECT anand FROM table_name_67 WHERE game = "8"
What was Anand's score in game 8?
<s>[INST]What was Anand's score in game 8? Context: CREATE TABLE table_name_67 (anand VARCHAR, game VARCHAR)[/INST]SELECT anand FROM table_name_67 WHERE game = "8"</s>
CREATE TABLE table_name_75 (score VARCHAR, march VARCHAR, game VARCHAR)
SELECT score FROM table_name_75 WHERE march > 19 AND game = 67
After March 19, what's the score of game 67?
<s>[INST]After March 19, what's the score of game 67? Context: CREATE TABLE table_name_75 (score VARCHAR, march VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_75 WHERE march > 19 AND game = 67</s>
CREATE TABLE table_name_56 (game VARCHAR, opponent VARCHAR)
SELECT COUNT(game) FROM table_name_56 WHERE opponent = "montreal canadiens"
What is the fame number when the Montreal Canadiens were the opponent?
<s>[INST]What is the fame number when the Montreal Canadiens were the opponent? Context: CREATE TABLE table_name_56 (game VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_56 WHERE opponent = "montreal canadiens"</s>
CREATE TABLE table_name_3 (callsign VARCHAR, commenced_operations INTEGER)
SELECT callsign FROM table_name_3 WHERE commenced_operations < 1976
Who is the call sign that has a commenced operation before 1976?
<s>[INST]Who is the call sign that has a commenced operation before 1976? Context: CREATE TABLE table_name_3 (callsign VARCHAR, commenced_operations INTEGER)[/INST]SELECT callsign FROM table_name_3 WHERE commenced_operations < 1976</s>
CREATE TABLE table_name_63 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_63 WHERE date = "december 30"
What is Location Attendance, when Date is "December 30"?
<s>[INST]What is Location Attendance, when Date is "December 30"? Context: CREATE TABLE table_name_63 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_name_63 WHERE date = "december 30"</s>
CREATE TABLE table_name_28 (frequency_mhz VARCHAR, city_of_license VARCHAR)
SELECT frequency_mhz FROM table_name_28 WHERE city_of_license = "allapattah, florida"
Give me the MHz Frequency of Allapattah, Florida.
<s>[INST]Give me the MHz Frequency of Allapattah, Florida. Context: CREATE TABLE table_name_28 (frequency_mhz VARCHAR, city_of_license VARCHAR)[/INST]SELECT frequency_mhz FROM table_name_28 WHERE city_of_license = "allapattah, florida"</s>
CREATE TABLE table_name_58 (round INTEGER, player VARCHAR, pick VARCHAR)
SELECT MIN(round) FROM table_name_58 WHERE player = "matt delahey" AND pick > 112
What is the littlest round that has Matt Delahey, and a greater than 112 pick?
<s>[INST]What is the littlest round that has Matt Delahey, and a greater than 112 pick? Context: CREATE TABLE table_name_58 (round INTEGER, player VARCHAR, pick VARCHAR)[/INST]SELECT MIN(round) FROM table_name_58 WHERE player = "matt delahey" AND pick > 112</s>
CREATE TABLE table_name_38 (winners INTEGER, runners_up INTEGER)
SELECT SUM(winners) FROM table_name_38 WHERE runners_up > 0
When the Runners-Up is larger than 0, what's the sum of winners?
<s>[INST]When the Runners-Up is larger than 0, what's the sum of winners? Context: CREATE TABLE table_name_38 (winners INTEGER, runners_up INTEGER)[/INST]SELECT SUM(winners) FROM table_name_38 WHERE runners_up > 0</s>
CREATE TABLE table_name_28 (points INTEGER, winnings VARCHAR)
SELECT MAX(points) FROM table_name_28 WHERE winnings = "$133,386"
Which driver has the highest point total after winning $133,386?
<s>[INST]Which driver has the highest point total after winning $133,386? Context: CREATE TABLE table_name_28 (points INTEGER, winnings VARCHAR)[/INST]SELECT MAX(points) FROM table_name_28 WHERE winnings = "$133,386"</s>
CREATE TABLE table_1976898_1 (english_name VARCHAR, chinese_name__simplified___traditional_ VARCHAR)
SELECT english_name FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "太湖县 / 太湖縣"
What's the English name of the county called 太湖县 / 太湖縣 in Chinese?
<s>[INST]What's the English name of the county called 太湖县 / 太湖縣 in Chinese? Context: CREATE TABLE table_1976898_1 (english_name VARCHAR, chinese_name__simplified___traditional_ VARCHAR)[/INST]SELECT english_name FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "太湖县 / 太湖縣"</s>
CREATE TABLE table_24638867_6 (score VARCHAR, outcome VARCHAR, opponents VARCHAR)
SELECT score FROM table_24638867_6 WHERE outcome = "Winner" AND opponents = "Julie Halard-Decugis Ai Sugiyama"
Name the score for winner and julie halard-decugis ai sugiyama
<s>[INST]Name the score for winner and julie halard-decugis ai sugiyama Context: CREATE TABLE table_24638867_6 (score VARCHAR, outcome VARCHAR, opponents VARCHAR)[/INST]SELECT score FROM table_24638867_6 WHERE outcome = "Winner" AND opponents = "Julie Halard-Decugis Ai Sugiyama"</s>
CREATE TABLE Player (pName VARCHAR, HS INTEGER)
SELECT pName FROM Player WHERE HS BETWEEN 500 AND 1500
What are the names of players whose training hours is between 500 and 1500?
<s>[INST]What are the names of players whose training hours is between 500 and 1500? Context: CREATE TABLE Player (pName VARCHAR, HS INTEGER)[/INST]SELECT pName FROM Player WHERE HS BETWEEN 500 AND 1500</s>
CREATE TABLE table_name_60 (result VARCHAR, horse VARCHAR, event VARCHAR)
SELECT result FROM table_name_60 WHERE horse = "toscane" AND event = "freestyle test"
What is the result for the Toscane Horse in the freestyle test?
<s>[INST]What is the result for the Toscane Horse in the freestyle test? Context: CREATE TABLE table_name_60 (result VARCHAR, horse VARCHAR, event VARCHAR)[/INST]SELECT result FROM table_name_60 WHERE horse = "toscane" AND event = "freestyle test"</s>
CREATE TABLE table_name_12 (date VARCHAR, grand_prix VARCHAR)
SELECT date FROM table_name_12 WHERE grand_prix = "australian grand prix"
Name the date for the australian grand prix.
<s>[INST]Name the date for the australian grand prix. Context: CREATE TABLE table_name_12 (date VARCHAR, grand_prix VARCHAR)[/INST]SELECT date FROM table_name_12 WHERE grand_prix = "australian grand prix"</s>
CREATE TABLE table_name_22 (jersey_number_s_ VARCHAR, player VARCHAR)
SELECT jersey_number_s_ FROM table_name_22 WHERE player = "tom lagarde category:articles with hcards"
Tom Lagarde Category:Articles with hCards used what Jersey Number(s)?
<s>[INST]Tom Lagarde Category:Articles with hCards used what Jersey Number(s)? Context: CREATE TABLE table_name_22 (jersey_number_s_ VARCHAR, player VARCHAR)[/INST]SELECT jersey_number_s_ FROM table_name_22 WHERE player = "tom lagarde category:articles with hcards"</s>
CREATE TABLE table_name_14 (gold INTEGER, silver INTEGER)
SELECT MIN(gold) FROM table_name_14 WHERE silver > 16
What is the lowest amount of gold for more than 16 silver?
<s>[INST]What is the lowest amount of gold for more than 16 silver? Context: CREATE TABLE table_name_14 (gold INTEGER, silver INTEGER)[/INST]SELECT MIN(gold) FROM table_name_14 WHERE silver > 16</s>
CREATE TABLE table_10015132_14 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_10015132_14 WHERE player = "Patrick O'Bryant"
What school did Patrick O'Bryant play for?
<s>[INST]What school did Patrick O'Bryant play for? Context: CREATE TABLE table_10015132_14 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_10015132_14 WHERE player = "Patrick O'Bryant"</s>
CREATE TABLE table_name_87 (laps INTEGER, constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT AVG(laps) FROM table_name_87 WHERE grid > 2 AND time_retired = "accident" AND constructor = "ferrari"
What is the average laps for a grid larger than 2, for a ferrari that got in an accident?
<s>[INST]What is the average laps for a grid larger than 2, for a ferrari that got in an accident? Context: CREATE TABLE table_name_87 (laps INTEGER, constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_87 WHERE grid > 2 AND time_retired = "accident" AND constructor = "ferrari...
CREATE TABLE table_27553627_2 (season VARCHAR, viewers__in_millions_ VARCHAR)
SELECT COUNT(season) AS premiere FROM table_27553627_2 WHERE viewers__in_millions_ = "15.27"
How many season premieres had 15.27 million viewers?
<s>[INST]How many season premieres had 15.27 million viewers? Context: CREATE TABLE table_27553627_2 (season VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT COUNT(season) AS premiere FROM table_27553627_2 WHERE viewers__in_millions_ = "15.27"</s>
CREATE TABLE table_1405704_1 (chassis VARCHAR, season VARCHAR, engine VARCHAR)
SELECT chassis FROM table_1405704_1 WHERE season = 1979 AND engine = "Foyt"
What kind of chassis did a winning car with a Foyt engine have in 1979?
<s>[INST]What kind of chassis did a winning car with a Foyt engine have in 1979? Context: CREATE TABLE table_1405704_1 (chassis VARCHAR, season VARCHAR, engine VARCHAR)[/INST]SELECT chassis FROM table_1405704_1 WHERE season = 1979 AND engine = "Foyt"</s>
CREATE TABLE table_293465_1 (country VARCHAR, rank_2011 VARCHAR)
SELECT country FROM table_293465_1 WHERE rank_2011 = 5
When 5 is the rank of 2011 what is the country?
<s>[INST]When 5 is the rank of 2011 what is the country? Context: CREATE TABLE table_293465_1 (country VARCHAR, rank_2011 VARCHAR)[/INST]SELECT country FROM table_293465_1 WHERE rank_2011 = 5</s>
CREATE TABLE table_name_78 (year VARCHAR, total VARCHAR, competitors VARCHAR)
SELECT year FROM table_name_78 WHERE total = "0" AND competitors = "4"
In what Year did Yugoslavia have 4 Competitors with 0 medals Total?
<s>[INST]In what Year did Yugoslavia have 4 Competitors with 0 medals Total? Context: CREATE TABLE table_name_78 (year VARCHAR, total VARCHAR, competitors VARCHAR)[/INST]SELECT year FROM table_name_78 WHERE total = "0" AND competitors = "4"</s>
CREATE TABLE table_name_60 (long INTEGER, gain VARCHAR, avg_g VARCHAR, name VARCHAR)
SELECT MIN(long) FROM table_name_60 WHERE avg_g > -2.2 AND name = "total" AND gain > 2 OFFSET 488
What is the lowest long with an avg/G more than -2.2 and a total name and a gain of more than 2,488?
<s>[INST]What is the lowest long with an avg/G more than -2.2 and a total name and a gain of more than 2,488? Context: CREATE TABLE table_name_60 (long INTEGER, gain VARCHAR, avg_g VARCHAR, name VARCHAR)[/INST]SELECT MIN(long) FROM table_name_60 WHERE avg_g > -2.2 AND name = "total" AND gain > 2 OFFSET 488</s>
CREATE TABLE table_name_46 (equipment VARCHAR, points VARCHAR, position VARCHAR)
SELECT equipment FROM table_name_46 WHERE points > 256 AND position = 3
What is the Equipment that has a Point bigger than 256, and a Position of 3?
<s>[INST]What is the Equipment that has a Point bigger than 256, and a Position of 3? Context: CREATE TABLE table_name_46 (equipment VARCHAR, points VARCHAR, position VARCHAR)[/INST]SELECT equipment FROM table_name_46 WHERE points > 256 AND position = 3</s>
CREATE TABLE representative (Party VARCHAR, State VARCHAR)
SELECT Party FROM representative WHERE State = "New York" INTERSECT SELECT Party FROM representative WHERE State = "Pennsylvania"
Show the parties that have both representatives in New York state and representatives in Pennsylvania state.
<s>[INST]Show the parties that have both representatives in New York state and representatives in Pennsylvania state. Context: CREATE TABLE representative (Party VARCHAR, State VARCHAR)[/INST]SELECT Party FROM representative WHERE State = "New York" INTERSECT SELECT Party FROM representative WHERE State = "Pennsylvania...
CREATE TABLE table_name_51 (result VARCHAR, week VARCHAR, date VARCHAR)
SELECT result FROM table_name_51 WHERE week < 15 AND date = "november 20, 1983"
What happened on November 20, 1983 before week 15?
<s>[INST]What happened on November 20, 1983 before week 15? Context: CREATE TABLE table_name_51 (result VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_51 WHERE week < 15 AND date = "november 20, 1983"</s>
CREATE TABLE table_name_82 (ben_tahir VARCHAR, liscumb VARCHAR, libweshya VARCHAR)
SELECT ben_tahir FROM table_name_82 WHERE liscumb = "6" AND libweshya = "3"
What Ben-Tahir has a 6 Liscumb and 3 Libweshya?
<s>[INST]What Ben-Tahir has a 6 Liscumb and 3 Libweshya? Context: CREATE TABLE table_name_82 (ben_tahir VARCHAR, liscumb VARCHAR, libweshya VARCHAR)[/INST]SELECT ben_tahir FROM table_name_82 WHERE liscumb = "6" AND libweshya = "3"</s>
CREATE TABLE table_name_82 (pick INTEGER, round VARCHAR)
SELECT MAX(pick) FROM table_name_82 WHERE round = 8
What is the largest pick in round 8?
<s>[INST]What is the largest pick in round 8? Context: CREATE TABLE table_name_82 (pick INTEGER, round VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_82 WHERE round = 8</s>
CREATE TABLE table_name_49 (pavilion_depth VARCHAR, crown_angle VARCHAR)
SELECT pavilion_depth FROM table_name_49 WHERE crown_angle = "34.0–34.7°"
Which Pavilion depth has a Crown angle of 34.0–34.7°?
<s>[INST]Which Pavilion depth has a Crown angle of 34.0–34.7°? Context: CREATE TABLE table_name_49 (pavilion_depth VARCHAR, crown_angle VARCHAR)[/INST]SELECT pavilion_depth FROM table_name_49 WHERE crown_angle = "34.0–34.7°"</s>
CREATE TABLE table_name_86 (date VARCHAR, road_team VARCHAR, result VARCHAR)
SELECT date FROM table_name_86 WHERE road_team = "boston" AND result = "126-105"
WHAT IS THE DATE WITH BOSTON ROAD TEAM AND 126-105 RESULT?
<s>[INST]WHAT IS THE DATE WITH BOSTON ROAD TEAM AND 126-105 RESULT? Context: CREATE TABLE table_name_86 (date VARCHAR, road_team VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_86 WHERE road_team = "boston" AND result = "126-105"</s>
CREATE TABLE table_name_19 (population INTEGER, code VARCHAR, area__km_2__ VARCHAR)
SELECT MIN(population) FROM table_name_19 WHERE code > 90902 AND area__km_2__ < 1 OFFSET 335.47
What's the population with a code more than 90902 and an area less than 1,335.47?
<s>[INST]What's the population with a code more than 90902 and an area less than 1,335.47? Context: CREATE TABLE table_name_19 (population INTEGER, code VARCHAR, area__km_2__ VARCHAR)[/INST]SELECT MIN(population) FROM table_name_19 WHERE code > 90902 AND area__km_2__ < 1 OFFSET 335.47</s>
CREATE TABLE table_15187735_19 (segment_b VARCHAR, episode VARCHAR)
SELECT segment_b FROM table_15187735_19 WHERE episode = 242
What is the segment B of episode 242?
<s>[INST]What is the segment B of episode 242? Context: CREATE TABLE table_15187735_19 (segment_b VARCHAR, episode VARCHAR)[/INST]SELECT segment_b FROM table_15187735_19 WHERE episode = 242</s>
CREATE TABLE table_name_41 (tournament VARCHAR)
SELECT tournament FROM table_name_41 WHERE 2009 = "grand slam tournaments"
What is Tournament, when 2009 is "Grand Slam Tournaments"?
<s>[INST]What is Tournament, when 2009 is "Grand Slam Tournaments"? Context: CREATE TABLE table_name_41 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_41 WHERE 2009 = "grand slam tournaments"</s>
CREATE TABLE table_1193568_1 (electorate VARCHAR, election_date VARCHAR)
SELECT electorate FROM table_1193568_1 WHERE election_date = "16 Cannot handle non-empty timestamp argument!"
what's the electorate where election date is 16 cannot handle non-empty timestamp argument!
<s>[INST] what's the electorate where election date is 16 cannot handle non-empty timestamp argument! Context: CREATE TABLE table_1193568_1 (electorate VARCHAR, election_date VARCHAR)[/INST]SELECT electorate FROM table_1193568_1 WHERE election_date = "16 Cannot handle non-empty timestamp argument!"</s>
CREATE TABLE table_name_5 (nationality VARCHAR, title VARCHAR)
SELECT nationality FROM table_name_5 WHERE title = "deacon of s. maria in via lata"
What is the Nationality of the Deacon of S. Maria in Via Lata?
<s>[INST]What is the Nationality of the Deacon of S. Maria in Via Lata? Context: CREATE TABLE table_name_5 (nationality VARCHAR, title VARCHAR)[/INST]SELECT nationality FROM table_name_5 WHERE title = "deacon of s. maria in via lata"</s>
CREATE TABLE table_178408_1 (year_built INTEGER, church_name VARCHAR)
SELECT MAX(year_built) FROM table_178408_1 WHERE church_name = "Davik Kyrkje"
Name the most year built for davik kyrkje
<s>[INST]Name the most year built for davik kyrkje Context: CREATE TABLE table_178408_1 (year_built INTEGER, church_name VARCHAR)[/INST]SELECT MAX(year_built) FROM table_178408_1 WHERE church_name = "Davik Kyrkje"</s>
CREATE TABLE table_15405904_1 (points INTEGER, position VARCHAR)
SELECT MAX(points) FROM table_15405904_1 WHERE position = 2
How many points are listed when the position is 2?
<s>[INST]How many points are listed when the position is 2? Context: CREATE TABLE table_15405904_1 (points INTEGER, position VARCHAR)[/INST]SELECT MAX(points) FROM table_15405904_1 WHERE position = 2</s>
CREATE TABLE table_name_4 (original_name VARCHAR, designer VARCHAR, location VARCHAR)
SELECT original_name FROM table_name_4 WHERE designer = "glen peloso" AND location = "n/a"
What is the original name of the place by designer Glen Peloso with a Location of n/a?
<s>[INST]What is the original name of the place by designer Glen Peloso with a Location of n/a? Context: CREATE TABLE table_name_4 (original_name VARCHAR, designer VARCHAR, location VARCHAR)[/INST]SELECT original_name FROM table_name_4 WHERE designer = "glen peloso" AND location = "n/a"</s>
CREATE TABLE table_name_56 (body_tackle VARCHAR, diving_tackle VARCHAR, sliding_tackle VARCHAR)
SELECT body_tackle FROM table_name_56 WHERE diving_tackle = "yes" AND sliding_tackle = "classified as a trip"
Which body tackle has yes for the diving tackle and the sliding tackle classified as a trip?
<s>[INST]Which body tackle has yes for the diving tackle and the sliding tackle classified as a trip? Context: CREATE TABLE table_name_56 (body_tackle VARCHAR, diving_tackle VARCHAR, sliding_tackle VARCHAR)[/INST]SELECT body_tackle FROM table_name_56 WHERE diving_tackle = "yes" AND sliding_tackle = "classified as a tri...
CREATE TABLE table_name_16 (inclination VARCHAR, semimajor_axis___au__ VARCHAR)
SELECT inclination FROM table_name_16 WHERE semimajor_axis___au__ = "20 au"
What inclination has a semimajor axis of 20 au?
<s>[INST]What inclination has a semimajor axis of 20 au? Context: CREATE TABLE table_name_16 (inclination VARCHAR, semimajor_axis___au__ VARCHAR)[/INST]SELECT inclination FROM table_name_16 WHERE semimajor_axis___au__ = "20 au"</s>
CREATE TABLE table_16295365_1 (school VARCHAR, conference VARCHAR)
SELECT school FROM table_16295365_1 WHERE conference = "Patriot"
Which qualifying schools were in the Patriot conference?
<s>[INST]Which qualifying schools were in the Patriot conference? Context: CREATE TABLE table_16295365_1 (school VARCHAR, conference VARCHAR)[/INST]SELECT school FROM table_16295365_1 WHERE conference = "Patriot"</s>
CREATE TABLE table_15887683_19 (ppv VARCHAR, television_service VARCHAR)
SELECT ppv FROM table_15887683_19 WHERE television_service = "SCT"
Was there PPV when the service was SCT?
<s>[INST]Was there PPV when the service was SCT? Context: CREATE TABLE table_15887683_19 (ppv VARCHAR, television_service VARCHAR)[/INST]SELECT ppv FROM table_15887683_19 WHERE television_service = "SCT"</s>
CREATE TABLE table_name_47 (score VARCHAR, time VARCHAR)
SELECT score FROM table_name_47 WHERE time = "2:22"
what is the score when the time is 2:22?
<s>[INST]what is the score when the time is 2:22? Context: CREATE TABLE table_name_47 (score VARCHAR, time VARCHAR)[/INST]SELECT score FROM table_name_47 WHERE time = "2:22"</s>
CREATE TABLE table_name_6 (d_42_√ VARCHAR, d_45_√ VARCHAR)
SELECT d_42_√ FROM table_name_6 WHERE d_45_√ = "r 16"
What is the D 42 √ number when the D 45 √ is r 16?
<s>[INST]What is the D 42 √ number when the D 45 √ is r 16? Context: CREATE TABLE table_name_6 (d_42_√ VARCHAR, d_45_√ VARCHAR)[/INST]SELECT d_42_√ FROM table_name_6 WHERE d_45_√ = "r 16"</s>
CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, gender_mf VARCHAR, good_or_bad_customer VARCHAR)
SELECT first_name, last_name, gender_mf FROM customers WHERE good_or_bad_customer = 'good' ORDER BY last_name
What are the first name, last name, and gender of all the good customers? Order by their last name.
<s>[INST]What are the first name, last name, and gender of all the good customers? Order by their last name. Context: CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, gender_mf VARCHAR, good_or_bad_customer VARCHAR)[/INST]SELECT first_name, last_name, gender_mf FROM customers WHERE good_or_bad_customer = ...
CREATE TABLE table_name_48 (began_play VARCHAR, club VARCHAR)
SELECT began_play FROM table_name_48 WHERE club = "rochester rhinos"
When did the Rochester Rhinos begin to play?
<s>[INST]When did the Rochester Rhinos begin to play? Context: CREATE TABLE table_name_48 (began_play VARCHAR, club VARCHAR)[/INST]SELECT began_play FROM table_name_48 WHERE club = "rochester rhinos"</s>
CREATE TABLE table_name_63 (weight INTEGER, position VARCHAR, name VARCHAR)
SELECT AVG(weight) FROM table_name_63 WHERE position = "guard" AND name = "jeremy case"
What is the average weight of Jeremy Case, who plays guard?
<s>[INST]What is the average weight of Jeremy Case, who plays guard? Context: CREATE TABLE table_name_63 (weight INTEGER, position VARCHAR, name VARCHAR)[/INST]SELECT AVG(weight) FROM table_name_63 WHERE position = "guard" AND name = "jeremy case"</s>
CREATE TABLE table_name_90 (country VARCHAR, edition VARCHAR)
SELECT country FROM table_name_90 WHERE edition = "42nd"
What was the nationality of the winner of the 42nd Edition?
<s>[INST]What was the nationality of the winner of the 42nd Edition? Context: CREATE TABLE table_name_90 (country VARCHAR, edition VARCHAR)[/INST]SELECT country FROM table_name_90 WHERE edition = "42nd"</s>
CREATE TABLE table_name_65 (part_4 VARCHAR, part_3 VARCHAR)
SELECT part_4 FROM table_name_65 WHERE part_3 = "*hleupun"
What was part 4 when part 3 was *hleupun?
<s>[INST]What was part 4 when part 3 was *hleupun? Context: CREATE TABLE table_name_65 (part_4 VARCHAR, part_3 VARCHAR)[/INST]SELECT part_4 FROM table_name_65 WHERE part_3 = "*hleupun"</s>
CREATE TABLE table_name_19 (tournament VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR)
SELECT tournament FROM table_name_19 WHERE surface = "hard" AND opponents_in_the_final = "rohan bopanna & mustafa ghouse"
Which tournament has a hard surface and final opponents rohan bopanna & mustafa ghouse?
<s>[INST]Which tournament has a hard surface and final opponents rohan bopanna & mustafa ghouse? Context: CREATE TABLE table_name_19 (tournament VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT tournament FROM table_name_19 WHERE surface = "hard" AND opponents_in_the_final = "rohan bopanna & musta...
CREATE TABLE table_name_47 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
SELECT SUM(bronze) FROM table_name_47 WHERE rank > 11 AND gold < 0
What is the sum of Bronze when the rank is more than 11 and gold is less than 0?
<s>[INST]What is the sum of Bronze when the rank is more than 11 and gold is less than 0? Context: CREATE TABLE table_name_47 (bronze INTEGER, rank VARCHAR, gold VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_47 WHERE rank > 11 AND gold < 0</s>
CREATE TABLE table_2402209_1 (area_coordinator VARCHAR, population__2010_ VARCHAR)
SELECT area_coordinator FROM table_2402209_1 WHERE population__2010_ = 1715
What's the area coordinator for the municipality with 1715 people living in it in 2010?
<s>[INST]What's the area coordinator for the municipality with 1715 people living in it in 2010? Context: CREATE TABLE table_2402209_1 (area_coordinator VARCHAR, population__2010_ VARCHAR)[/INST]SELECT area_coordinator FROM table_2402209_1 WHERE population__2010_ = 1715</s>
CREATE TABLE table_name_58 (rank INTEGER, nationality VARCHAR, points VARCHAR)
SELECT SUM(rank) FROM table_name_58 WHERE nationality = "australia" AND points < 79
Tell me the sum of rank for australia when points are less than 79
<s>[INST]Tell me the sum of rank for australia when points are less than 79 Context: CREATE TABLE table_name_58 (rank INTEGER, nationality VARCHAR, points VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_58 WHERE nationality = "australia" AND points < 79</s>
CREATE TABLE table_name_14 (new_council VARCHAR, previous_council VARCHAR, seats_up_for_election VARCHAR)
SELECT COUNT(new_council) FROM table_name_14 WHERE previous_council = 19 AND seats_up_for_election < 6
Which number of New Councils had a previous council number of 19 and the seats up for election were bigger than 6?
<s>[INST]Which number of New Councils had a previous council number of 19 and the seats up for election were bigger than 6? Context: CREATE TABLE table_name_14 (new_council VARCHAR, previous_council VARCHAR, seats_up_for_election VARCHAR)[/INST]SELECT COUNT(new_council) FROM table_name_14 WHERE previous_council = 19 AN...
CREATE TABLE table_name_87 (grid INTEGER, time VARCHAR)
SELECT AVG(grid) FROM table_name_87 WHERE time = "+45.855"
What is the average Grid, when Time is +45.855?
<s>[INST]What is the average Grid, when Time is +45.855? Context: CREATE TABLE table_name_87 (grid INTEGER, time VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_87 WHERE time = "+45.855"</s>
CREATE TABLE table_name_23 (interview VARCHAR, state VARCHAR, evening_gown VARCHAR)
SELECT COUNT(interview) FROM table_name_23 WHERE state = "iowa" AND evening_gown < 9.625
What is the total interviews of Iowa, and with an evening gown smaller than 9.625?
<s>[INST]What is the total interviews of Iowa, and with an evening gown smaller than 9.625? Context: CREATE TABLE table_name_23 (interview VARCHAR, state VARCHAR, evening_gown VARCHAR)[/INST]SELECT COUNT(interview) FROM table_name_23 WHERE state = "iowa" AND evening_gown < 9.625</s>
CREATE TABLE table_24638867_6 (championship VARCHAR, outcome VARCHAR, score VARCHAR)
SELECT championship FROM table_24638867_6 WHERE outcome = "Winner" AND score = "7–5, 4–6, 6–1"
Name the championship for outcome being winner for 7–5, 4–6, 6–1
<s>[INST]Name the championship for outcome being winner for 7–5, 4–6, 6–1 Context: CREATE TABLE table_24638867_6 (championship VARCHAR, outcome VARCHAR, score VARCHAR)[/INST]SELECT championship FROM table_24638867_6 WHERE outcome = "Winner" AND score = "7–5, 4–6, 6–1"</s>
CREATE TABLE table_name_23 (finals_venue VARCHAR, number_of_delegates VARCHAR)
SELECT finals_venue FROM table_name_23 WHERE number_of_delegates = "82"
What was the final venue for 82 delegates?
<s>[INST]What was the final venue for 82 delegates? Context: CREATE TABLE table_name_23 (finals_venue VARCHAR, number_of_delegates VARCHAR)[/INST]SELECT finals_venue FROM table_name_23 WHERE number_of_delegates = "82"</s>
CREATE TABLE table_11891841_2 (type VARCHAR, name VARCHAR)
SELECT type FROM table_11891841_2 WHERE name = "Bojan"
What is the type where the name is bojan?
<s>[INST]What is the type where the name is bojan? Context: CREATE TABLE table_11891841_2 (type VARCHAR, name VARCHAR)[/INST]SELECT type FROM table_11891841_2 WHERE name = "Bojan"</s>
CREATE TABLE Invoices (Id VARCHAR)
SELECT COUNT(*) FROM Invoices
How many invoices do we have?
<s>[INST]How many invoices do we have? Context: CREATE TABLE Invoices (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Invoices</s>
CREATE TABLE table_27755603_8 (location_attendance VARCHAR, high_points VARCHAR)
SELECT location_attendance FROM table_27755603_8 WHERE high_points = "Austin Daye , Tracy McGrady , Tayshaun Prince (20)"
Name the location attendance for austin daye , tracy mcgrady , tayshaun prince (20)
<s>[INST]Name the location attendance for austin daye , tracy mcgrady , tayshaun prince (20) Context: CREATE TABLE table_27755603_8 (location_attendance VARCHAR, high_points VARCHAR)[/INST]SELECT location_attendance FROM table_27755603_8 WHERE high_points = "Austin Daye , Tracy McGrady , Tayshaun Prince (20)"</s>
CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_78 WHERE opponent = "yukiya naito"
Tell me the record for yukiya naito
<s>[INST]Tell me the record for yukiya naito Context: CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_78 WHERE opponent = "yukiya naito"</s>
CREATE TABLE table_name_25 (winner VARCHAR, finalist VARCHAR, tournament VARCHAR)
SELECT winner FROM table_name_25 WHERE finalist = "elena dementieva" AND tournament = "miami"
Who was the winner of the Miami tournament where Elena Dementieva was a finalist?
<s>[INST]Who was the winner of the Miami tournament where Elena Dementieva was a finalist? Context: CREATE TABLE table_name_25 (winner VARCHAR, finalist VARCHAR, tournament VARCHAR)[/INST]SELECT winner FROM table_name_25 WHERE finalist = "elena dementieva" AND tournament = "miami"</s>
CREATE TABLE table_name_57 (compression_ratio VARCHAR, dx_10_name VARCHAR, fourcc VARCHAR)
SELECT compression_ratio FROM table_name_57 WHERE dx_10_name = "(none)" AND fourcc = "dxt4"
Which Compression ratio has a (none) DX 10 Name and a FOURCC of dxt4?
<s>[INST]Which Compression ratio has a (none) DX 10 Name and a FOURCC of dxt4? Context: CREATE TABLE table_name_57 (compression_ratio VARCHAR, dx_10_name VARCHAR, fourcc VARCHAR)[/INST]SELECT compression_ratio FROM table_name_57 WHERE dx_10_name = "(none)" AND fourcc = "dxt4"</s>
CREATE TABLE table_name_77 (election_winner VARCHAR, incumbent VARCHAR, state VARCHAR)
SELECT election_winner FROM table_name_77 WHERE incumbent = "bjp" AND state = "chhattisgarh"
Who was the election winner with a BJP incumbent in Chhattisgarh?
<s>[INST]Who was the election winner with a BJP incumbent in Chhattisgarh? Context: CREATE TABLE table_name_77 (election_winner VARCHAR, incumbent VARCHAR, state VARCHAR)[/INST]SELECT election_winner FROM table_name_77 WHERE incumbent = "bjp" AND state = "chhattisgarh"</s>
CREATE TABLE table_name_98 (college_junior_club_team__league_ VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_98 WHERE round = "6"
Which College/Junior/Club Team (League) did the player in round 6 play for?
<s>[INST]Which College/Junior/Club Team (League) did the player in round 6 play for? Context: CREATE TABLE table_name_98 (college_junior_club_team__league_ VARCHAR, round VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_98 WHERE round = "6"</s>
CREATE TABLE table_name_74 (episode INTEGER, date VARCHAR, performer_1 VARCHAR, performer_3 VARCHAR)
SELECT AVG(episode) FROM table_name_74 WHERE performer_1 = "greg proops" AND performer_3 = "ryan stiles" AND date = "25 august 1995"
Performer 1 of greg proops, and a Performer 3 of ryan stiles, and a Date of 25 august 1995 is which average episode?
<s>[INST]Performer 1 of greg proops, and a Performer 3 of ryan stiles, and a Date of 25 august 1995 is which average episode? Context: CREATE TABLE table_name_74 (episode INTEGER, date VARCHAR, performer_1 VARCHAR, performer_3 VARCHAR)[/INST]SELECT AVG(episode) FROM table_name_74 WHERE performer_1 = "greg proops" AND p...
CREATE TABLE table_name_28 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_28 WHERE home = "columbus"
What was the date of the Capitals game when Columbus was the home team?
<s>[INST]What was the date of the Capitals game when Columbus was the home team? Context: CREATE TABLE table_name_28 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_28 WHERE home = "columbus"</s>
CREATE TABLE table_name_9 (record VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR)
SELECT record FROM table_name_9 WHERE res = "loss" AND round = "1" AND opponent = "akira maeda"
What record has loss as the res., 1 for the round, and akira maeda as the opponent?
<s>[INST]What record has loss as the res., 1 for the round, and akira maeda as the opponent? Context: CREATE TABLE table_name_9 (record VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR)[/INST]SELECT record FROM table_name_9 WHERE res = "loss" AND round = "1" AND opponent = "akira maeda"</s>
CREATE TABLE table_name_87 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_87 WHERE away_team = "hawthorn"
What date did Hawthorn play as the away team?
<s>[INST]What date did Hawthorn play as the away team? Context: CREATE TABLE table_name_87 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_87 WHERE away_team = "hawthorn"</s>
CREATE TABLE table_name_8 (championship VARCHAR, opponent_in_the_final VARCHAR)
SELECT championship FROM table_name_8 WHERE opponent_in_the_final = "mario ančić"
Which championship had an oppenent of mario ančić in the final?
<s>[INST]Which championship had an oppenent of mario ančić in the final? Context: CREATE TABLE table_name_8 (championship VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT championship FROM table_name_8 WHERE opponent_in_the_final = "mario ančić"</s>
CREATE TABLE table_name_70 (set_2 VARCHAR, set_1 VARCHAR)
SELECT set_2 FROM table_name_70 WHERE set_1 = "19–25"
What is the score for set 2 when the score of set 1 is 19–25?
<s>[INST]What is the score for set 2 when the score of set 1 is 19–25? Context: CREATE TABLE table_name_70 (set_2 VARCHAR, set_1 VARCHAR)[/INST]SELECT set_2 FROM table_name_70 WHERE set_1 = "19–25"</s>