context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_63 (rank INTEGER, director VARCHAR)
SELECT MAX(rank) FROM table_name_63 WHERE director = "henry hathaway"
What is the highest Rank, when Director is "Henry Hathaway"?
<s>[INST]What is the highest Rank, when Director is "Henry Hathaway"? Context: CREATE TABLE table_name_63 (rank INTEGER, director VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_63 WHERE director = "henry hathaway"</s>
CREATE TABLE table_name_78 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_78 WHERE away_team = "morecambe"
What date was the away team Morecambe?
<s>[INST]What date was the away team Morecambe? Context: CREATE TABLE table_name_78 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_78 WHERE away_team = "morecambe"</s>
CREATE TABLE table_name_49 (cerclis_id VARCHAR, listed VARCHAR)
SELECT cerclis_id FROM table_name_49 WHERE listed = "10/14/1992"
What CERCLIS ID was listed 10/14/1992?
<s>[INST]What CERCLIS ID was listed 10/14/1992? Context: CREATE TABLE table_name_49 (cerclis_id VARCHAR, listed VARCHAR)[/INST]SELECT cerclis_id FROM table_name_49 WHERE listed = "10/14/1992"</s>
CREATE TABLE table_name_6 (partner VARCHAR, championship VARCHAR, score VARCHAR)
SELECT partner FROM table_name_6 WHERE championship = "australian open, melbourne" AND score = "2–6, 7–5, 6–2, 4–6, 3–6"
Who was the partner at the Australian Open, Melbourne when the score was 2–6, 7–5, 6–2, 4–6, 3–6?
<s>[INST]Who was the partner at the Australian Open, Melbourne when the score was 2–6, 7–5, 6–2, 4–6, 3–6? Context: CREATE TABLE table_name_6 (partner VARCHAR, championship VARCHAR, score VARCHAR)[/INST]SELECT partner FROM table_name_6 WHERE championship = "australian open, melbourne" AND score = "2–6, 7–5, 6–2, 4–6, 3–6"</s>
CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_6 WHERE date = "december 7, 1998"
what is the venue when the date is december 7, 1998?
<s>[INST]what is the venue when the date is december 7, 1998? Context: CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_6 WHERE date = "december 7, 1998"</s>
CREATE TABLE table_name_94 (liberal_candidates VARCHAR, seats_won VARCHAR, liberal_leader VARCHAR, _percentage_of_popular_vote VARCHAR)
SELECT COUNT(liberal_candidates) FROM table_name_94 WHERE liberal_leader = "pearson" AND _percentage_of_popular_vote = "40.2%" AND seats_won < 131
How many Liberal candidates have a Liberal leader of pearson, and a % of popular vote of 40.2%, and Seats won smaller than 131?
<s>[INST]How many Liberal candidates have a Liberal leader of pearson, and a % of popular vote of 40.2%, and Seats won smaller than 131? Context: CREATE TABLE table_name_94 (liberal_candidates VARCHAR, seats_won VARCHAR, liberal_leader VARCHAR, _percentage_of_popular_vote VARCHAR)[/INST]SELECT COUNT(liberal_candidates) FROM table_name_94 WHERE liberal_leader = "pearson" AND _percentage_of_popular_vote = "40.2%" AND seats_won < 131</s>
CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_39 WHERE player = "josé maría olazábal"
What is josé maría olazábal's country?
<s>[INST]What is josé maría olazábal's country? Context: CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_39 WHERE player = "josé maría olazábal"</s>
CREATE TABLE table_name_42 (season VARCHAR, ufl_cup VARCHAR)
SELECT season FROM table_name_42 WHERE ufl_cup = "quarter-finals"
Which Season has a UFL Cup of quarter-finals?
<s>[INST]Which Season has a UFL Cup of quarter-finals? Context: CREATE TABLE table_name_42 (season VARCHAR, ufl_cup VARCHAR)[/INST]SELECT season FROM table_name_42 WHERE ufl_cup = "quarter-finals"</s>
CREATE TABLE table_11916083_1 (year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR)
SELECT year FROM table_11916083_1 WHERE issue_price__bu_[_clarification_needed_] = "$26.95"
What is the year that the issue price (bu) is $26.95?
<s>[INST]What is the year that the issue price (bu) is $26.95? Context: CREATE TABLE table_11916083_1 (year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR)[/INST]SELECT year FROM table_11916083_1 WHERE issue_price__bu_[_clarification_needed_] = "$26.95"</s>
CREATE TABLE table_name_15 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_15 WHERE date = "may 21"
What was the record on May 21?
<s>[INST]What was the record on May 21? Context: CREATE TABLE table_name_15 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_15 WHERE date = "may 21"</s>
CREATE TABLE table_1404486_1 (code VARCHAR, population_census_2009 VARCHAR)
SELECT code FROM table_1404486_1 WHERE population_census_2009 = 1356301
what is the code of population census 2009 is 1356301?
<s>[INST]what is the code of population census 2009 is 1356301? Context: CREATE TABLE table_1404486_1 (code VARCHAR, population_census_2009 VARCHAR)[/INST]SELECT code FROM table_1404486_1 WHERE population_census_2009 = 1356301</s>
CREATE TABLE table_29141354_1 (episode VARCHAR, jamie_and_johns_guest VARCHAR)
SELECT episode FROM table_29141354_1 WHERE jamie_and_johns_guest = "Tom Daley"
what was the size when tom daley appeared
<s>[INST]what was the size when tom daley appeared Context: CREATE TABLE table_29141354_1 (episode VARCHAR, jamie_and_johns_guest VARCHAR)[/INST]SELECT episode FROM table_29141354_1 WHERE jamie_and_johns_guest = "Tom Daley"</s>
CREATE TABLE table_name_22 (max_speed__km_h_ INTEGER, quantity_built VARCHAR, year_built VARCHAR)
SELECT SUM(max_speed__km_h_) FROM table_name_22 WHERE quantity_built = "8+4" AND year_built < 1971
What is the max speed of the unit with an 8+4 quantity built before 1971?
<s>[INST]What is the max speed of the unit with an 8+4 quantity built before 1971? Context: CREATE TABLE table_name_22 (max_speed__km_h_ INTEGER, quantity_built VARCHAR, year_built VARCHAR)[/INST]SELECT SUM(max_speed__km_h_) FROM table_name_22 WHERE quantity_built = "8+4" AND year_built < 1971</s>
CREATE TABLE table_name_90 (took_office VARCHAR, left_office VARCHAR)
SELECT took_office FROM table_name_90 WHERE left_office = "2003"
The deputy that left office in 2003 took office in which year?
<s>[INST]The deputy that left office in 2003 took office in which year? Context: CREATE TABLE table_name_90 (took_office VARCHAR, left_office VARCHAR)[/INST]SELECT took_office FROM table_name_90 WHERE left_office = "2003"</s>
CREATE TABLE table_name_1 (year INTEGER, location VARCHAR)
SELECT MIN(year) FROM table_name_1 WHERE location = "guangzhou"
What is the oldest year that the location was at Guangzhou?
<s>[INST]What is the oldest year that the location was at Guangzhou? Context: CREATE TABLE table_name_1 (year INTEGER, location VARCHAR)[/INST]SELECT MIN(year) FROM table_name_1 WHERE location = "guangzhou"</s>
CREATE TABLE table_27914076_1 (coverage VARCHAR, branding VARCHAR)
SELECT COUNT(coverage) FROM table_27914076_1 WHERE branding = "106.7 Energy FM"
Name the number of coverage for 106.7 energy fm
<s>[INST]Name the number of coverage for 106.7 energy fm Context: CREATE TABLE table_27914076_1 (coverage VARCHAR, branding VARCHAR)[/INST]SELECT COUNT(coverage) FROM table_27914076_1 WHERE branding = "106.7 Energy FM"</s>
CREATE TABLE affiliated_with (department VARCHAR); CREATE TABLE department (name VARCHAR, departmentid VARCHAR)
SELECT DISTINCT T2.name FROM affiliated_with AS T1 JOIN department AS T2 ON T1.department = T2.departmentid WHERE PrimaryAffiliation = 1
List the names of departments where some physicians are primarily affiliated with.
<s>[INST]List the names of departments where some physicians are primarily affiliated with. Context: CREATE TABLE affiliated_with (department VARCHAR); CREATE TABLE department (name VARCHAR, departmentid VARCHAR)[/INST]SELECT DISTINCT T2.name FROM affiliated_with AS T1 JOIN department AS T2 ON T1.department = T2.departmentid WHERE PrimaryAffiliation = 1</s>
CREATE TABLE table_27744976_6 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_27744976_6 WHERE date = "November 17"
Who had the high assists on November 17?
<s>[INST]Who had the high assists on November 17? Context: CREATE TABLE table_27744976_6 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_27744976_6 WHERE date = "November 17"</s>
CREATE TABLE table_22825679_1 (percentage VARCHAR, team VARCHAR)
SELECT percentage FROM table_22825679_1 WHERE team = "Ole Miss"
Name the percentage for ole miss
<s>[INST]Name the percentage for ole miss Context: CREATE TABLE table_22825679_1 (percentage VARCHAR, team VARCHAR)[/INST]SELECT percentage FROM table_22825679_1 WHERE team = "Ole Miss"</s>
CREATE TABLE table_name_9 (exit_date VARCHAR, to_club VARCHAR)
SELECT exit_date FROM table_name_9 WHERE to_club = "cardiff city"
What is the exit date of the player who transferred to Cardiff City?
<s>[INST]What is the exit date of the player who transferred to Cardiff City? Context: CREATE TABLE table_name_9 (exit_date VARCHAR, to_club VARCHAR)[/INST]SELECT exit_date FROM table_name_9 WHERE to_club = "cardiff city"</s>
CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_7 WHERE opponent = "guillermo olaso"
What is the Date of the match against Guillermo Olaso?
<s>[INST]What is the Date of the match against Guillermo Olaso? Context: CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_7 WHERE opponent = "guillermo olaso"</s>
CREATE TABLE table_name_26 (finals_mvp VARCHAR, eastern_champion VARCHAR, western_champion VARCHAR)
SELECT finals_mvp FROM table_name_26 WHERE eastern_champion = "detroit shock" AND western_champion = "sacramento monarchs"
Who is the MVP finals that includes Detroit shock from the eastern championship and Sacramento monarchs from western championship?
<s>[INST]Who is the MVP finals that includes Detroit shock from the eastern championship and Sacramento monarchs from western championship? Context: CREATE TABLE table_name_26 (finals_mvp VARCHAR, eastern_champion VARCHAR, western_champion VARCHAR)[/INST]SELECT finals_mvp FROM table_name_26 WHERE eastern_champion = "detroit shock" AND western_champion = "sacramento monarchs"</s>
CREATE TABLE table_name_2 (goal_difference INTEGER, draw VARCHAR, played VARCHAR)
SELECT AVG(goal_difference) FROM table_name_2 WHERE draw = 7 AND played > 18
Name the average goal difference for draw of 7 and played more than 18
<s>[INST]Name the average goal difference for draw of 7 and played more than 18 Context: CREATE TABLE table_name_2 (goal_difference INTEGER, draw VARCHAR, played VARCHAR)[/INST]SELECT AVG(goal_difference) FROM table_name_2 WHERE draw = 7 AND played > 18</s>
CREATE TABLE table_15346009_1 (date VARCHAR, location VARCHAR)
SELECT date FROM table_15346009_1 WHERE location = "Alabama"
On what day was the tournament in Alabama?
<s>[INST]On what day was the tournament in Alabama? Context: CREATE TABLE table_15346009_1 (date VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_15346009_1 WHERE location = "Alabama"</s>
CREATE TABLE table_name_3 (goal_difference INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR)
SELECT SUM(goal_difference) FROM table_name_3 WHERE draws = 8 AND goals_against = 32 AND wins < 12
What is the goal difference when there are fewer than 12 wins, 32 goals against and 8 draws?
<s>[INST]What is the goal difference when there are fewer than 12 wins, 32 goals against and 8 draws? Context: CREATE TABLE table_name_3 (goal_difference INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR)[/INST]SELECT SUM(goal_difference) FROM table_name_3 WHERE draws = 8 AND goals_against = 32 AND wins < 12</s>
CREATE TABLE table_name_27 (country_of_origin VARCHAR, year_of_intro VARCHAR, primary_cartridge VARCHAR)
SELECT country_of_origin FROM table_name_27 WHERE year_of_intro > 1985 AND primary_cartridge = "125mm"
What is Country of Origin, when Year of Intro is greater than 1985, and when Primary Cartridge is 125mm?
<s>[INST]What is Country of Origin, when Year of Intro is greater than 1985, and when Primary Cartridge is 125mm? Context: CREATE TABLE table_name_27 (country_of_origin VARCHAR, year_of_intro VARCHAR, primary_cartridge VARCHAR)[/INST]SELECT country_of_origin FROM table_name_27 WHERE year_of_intro > 1985 AND primary_cartridge = "125mm"</s>
CREATE TABLE ship (Name VARCHAR, Tonnage VARCHAR)
SELECT Name FROM ship ORDER BY Tonnage
List the name of ships in ascending order of tonnage.
<s>[INST]List the name of ships in ascending order of tonnage. Context: CREATE TABLE ship (Name VARCHAR, Tonnage VARCHAR)[/INST]SELECT Name FROM ship ORDER BY Tonnage</s>
CREATE TABLE table_name_9 (play_offs INTEGER, fa_cup INTEGER)
SELECT AVG(play_offs) FROM table_name_9 WHERE fa_cup > 3
What are the average play-offs that have an FA Cup greater than 3?
<s>[INST]What are the average play-offs that have an FA Cup greater than 3? Context: CREATE TABLE table_name_9 (play_offs INTEGER, fa_cup INTEGER)[/INST]SELECT AVG(play_offs) FROM table_name_9 WHERE fa_cup > 3</s>
CREATE TABLE table_name_48 (highest_finish VARCHAR, most_recent_finish VARCHAR)
SELECT highest_finish FROM table_name_48 WHERE most_recent_finish = "2nd"
What is the Highest finish with a Most recent finish that was 2nd?
<s>[INST]What is the Highest finish with a Most recent finish that was 2nd? Context: CREATE TABLE table_name_48 (highest_finish VARCHAR, most_recent_finish VARCHAR)[/INST]SELECT highest_finish FROM table_name_48 WHERE most_recent_finish = "2nd"</s>
CREATE TABLE table_name_16 (laps INTEGER, qual VARCHAR)
SELECT MIN(laps) FROM table_name_16 WHERE qual = "138.750"
What car had the fewest laps with a qual of 138.750?
<s>[INST]What car had the fewest laps with a qual of 138.750? Context: CREATE TABLE table_name_16 (laps INTEGER, qual VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_16 WHERE qual = "138.750"</s>
CREATE TABLE table_name_84 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT place FROM table_name_84 WHERE country = "united states" AND player = "raymond floyd"
What did United States place when the player was Raymond Floyd?
<s>[INST]What did United States place when the player was Raymond Floyd? Context: CREATE TABLE table_name_84 (place VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_84 WHERE country = "united states" AND player = "raymond floyd"</s>
CREATE TABLE table_name_41 (rank VARCHAR, lane VARCHAR)
SELECT rank FROM table_name_41 WHERE lane = 4
What rank was the swimmer in lane 4?
<s>[INST]What rank was the swimmer in lane 4? Context: CREATE TABLE table_name_41 (rank VARCHAR, lane VARCHAR)[/INST]SELECT rank FROM table_name_41 WHERE lane = 4</s>
CREATE TABLE table_name_11 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_11 WHERE score = "6–1 7–6 (8–6)"
Which Date has a Score of 6–1 7–6 (8–6)?
<s>[INST]Which Date has a Score of 6–1 7–6 (8–6)? Context: CREATE TABLE table_name_11 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_11 WHERE score = "6–1 7–6 (8–6)"</s>
CREATE TABLE table_name_20 (finish VARCHAR, total VARCHAR)
SELECT finish FROM table_name_20 WHERE total = 287
Name the Finish which has a Total of 287?
<s>[INST]Name the Finish which has a Total of 287? Context: CREATE TABLE table_name_20 (finish VARCHAR, total VARCHAR)[/INST]SELECT finish FROM table_name_20 WHERE total = 287</s>
CREATE TABLE table_name_51 (decision VARCHAR, home VARCHAR)
SELECT decision FROM table_name_51 WHERE home = "anaheim"
Who was the Decision at Anaheim's home game?
<s>[INST]Who was the Decision at Anaheim's home game? Context: CREATE TABLE table_name_51 (decision VARCHAR, home VARCHAR)[/INST]SELECT decision FROM table_name_51 WHERE home = "anaheim"</s>
CREATE TABLE table_name_49 (prince_devitt VARCHAR, block_a VARCHAR)
SELECT prince_devitt FROM table_name_49 WHERE block_a = "yamato"
What is the Prince Devitt when Block A is Yamato?
<s>[INST]What is the Prince Devitt when Block A is Yamato? Context: CREATE TABLE table_name_49 (prince_devitt VARCHAR, block_a VARCHAR)[/INST]SELECT prince_devitt FROM table_name_49 WHERE block_a = "yamato"</s>
CREATE TABLE table_name_62 (podiums VARCHAR, wins VARCHAR, season VARCHAR)
SELECT podiums FROM table_name_62 WHERE wins = "2" AND season = 2008
What is the value for Podiums when the value for Wins is 2, and when the Season is 2008?
<s>[INST]What is the value for Podiums when the value for Wins is 2, and when the Season is 2008? Context: CREATE TABLE table_name_62 (podiums VARCHAR, wins VARCHAR, season VARCHAR)[/INST]SELECT podiums FROM table_name_62 WHERE wins = "2" AND season = 2008</s>
CREATE TABLE table_name_51 (latitude VARCHAR, township VARCHAR, geo_id VARCHAR, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR)
SELECT COUNT(latitude) FROM table_name_51 WHERE land___sqmi__ > 35.747 AND water__sqmi_ = 0 AND geo_id < 3809981860 AND township = "van meter"
What was the latitude for van meter who had a land(sqmi) larger than 35.747, Water(sqmi) of 0 and a GEO ID smaller than 3809981860?
<s>[INST]What was the latitude for van meter who had a land(sqmi) larger than 35.747, Water(sqmi) of 0 and a GEO ID smaller than 3809981860? Context: CREATE TABLE table_name_51 (latitude VARCHAR, township VARCHAR, geo_id VARCHAR, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR)[/INST]SELECT COUNT(latitude) FROM table_name_51 WHERE land___sqmi__ > 35.747 AND water__sqmi_ = 0 AND geo_id < 3809981860 AND township = "van meter"</s>
CREATE TABLE table_name_1 (record VARCHAR, january INTEGER)
SELECT record FROM table_name_1 WHERE january < 7
What was the record after the game before Jan 7?
<s>[INST]What was the record after the game before Jan 7? Context: CREATE TABLE table_name_1 (record VARCHAR, january INTEGER)[/INST]SELECT record FROM table_name_1 WHERE january < 7</s>
CREATE TABLE table_26218124_1 (original_club VARCHAR, name VARCHAR)
SELECT original_club FROM table_26218124_1 WHERE name = "Newcastle Falcons"
Which club was originally named the newcastle falcons?
<s>[INST]Which club was originally named the newcastle falcons? Context: CREATE TABLE table_26218124_1 (original_club VARCHAR, name VARCHAR)[/INST]SELECT original_club FROM table_26218124_1 WHERE name = "Newcastle Falcons"</s>
CREATE TABLE table_name_14 (tracking_method VARCHAR, latest_stable_release VARCHAR)
SELECT tracking_method FROM table_name_14 WHERE latest_stable_release = "2.23-05"
Which tracking method has a latest stable release of 2.23-05?
<s>[INST]Which tracking method has a latest stable release of 2.23-05? Context: CREATE TABLE table_name_14 (tracking_method VARCHAR, latest_stable_release VARCHAR)[/INST]SELECT tracking_method FROM table_name_14 WHERE latest_stable_release = "2.23-05"</s>
CREATE TABLE table_name_86 (driver VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_86 WHERE time_retired = "+1.027"
What Driver has a +1.027 Time/Retired?
<s>[INST]What Driver has a +1.027 Time/Retired? Context: CREATE TABLE table_name_86 (driver VARCHAR, time_retired VARCHAR)[/INST]SELECT driver FROM table_name_86 WHERE time_retired = "+1.027"</s>
CREATE TABLE table_name_32 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_32 WHERE date = "november 22"
What is Result, when Date is "November 22"?
<s>[INST]What is Result, when Date is "November 22"? Context: CREATE TABLE table_name_32 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_32 WHERE date = "november 22"</s>
CREATE TABLE table_name_56 (format VARCHAR, notes VARCHAR, call_sign VARCHAR)
SELECT format FROM table_name_56 WHERE notes = "french" AND call_sign = "ckrl-fm"
What is the Format of the French Frequency with a Call sign of CKRL-FM?
<s>[INST]What is the Format of the French Frequency with a Call sign of CKRL-FM? Context: CREATE TABLE table_name_56 (format VARCHAR, notes VARCHAR, call_sign VARCHAR)[/INST]SELECT format FROM table_name_56 WHERE notes = "french" AND call_sign = "ckrl-fm"</s>
CREATE TABLE table_name_10 (wins INTEGER, points VARCHAR, year VARCHAR)
SELECT SUM(wins) FROM table_name_10 WHERE points = "48" AND year < 2007
Before 2007, how many wins were there when the point total was 48?
<s>[INST]Before 2007, how many wins were there when the point total was 48? Context: CREATE TABLE table_name_10 (wins INTEGER, points VARCHAR, year VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_10 WHERE points = "48" AND year < 2007</s>
CREATE TABLE table_name_55 (skip VARCHAR, third VARCHAR, season VARCHAR)
SELECT skip FROM table_name_55 WHERE third = "anna sloan" AND season = "2012-13"
What is the skip that has a third of Anna Sloan in season 2012-13?
<s>[INST]What is the skip that has a third of Anna Sloan in season 2012-13? Context: CREATE TABLE table_name_55 (skip VARCHAR, third VARCHAR, season VARCHAR)[/INST]SELECT skip FROM table_name_55 WHERE third = "anna sloan" AND season = "2012-13"</s>
CREATE TABLE table_name_83 (catalogue VARCHAR, song_title VARCHAR, track VARCHAR, recorded VARCHAR)
SELECT catalogue FROM table_name_83 WHERE track < 16 AND recorded = "2/3/56" AND song_title = "lawdy miss clawdy"
What catalogue has a track less than 16 and 2/3/56 recorded with a song titled Lawdy Miss Clawdy?
<s>[INST]What catalogue has a track less than 16 and 2/3/56 recorded with a song titled Lawdy Miss Clawdy? Context: CREATE TABLE table_name_83 (catalogue VARCHAR, song_title VARCHAR, track VARCHAR, recorded VARCHAR)[/INST]SELECT catalogue FROM table_name_83 WHERE track < 16 AND recorded = "2/3/56" AND song_title = "lawdy miss clawdy"</s>
CREATE TABLE table_name_81 (score VARCHAR, competition VARCHAR, result VARCHAR)
SELECT score FROM table_name_81 WHERE competition = "2007 afc asian cup qualification" AND result = "8–0"
What is the Score of 2007 afc asian cup qualification with a Result of 8–0?
<s>[INST]What is the Score of 2007 afc asian cup qualification with a Result of 8–0? Context: CREATE TABLE table_name_81 (score VARCHAR, competition VARCHAR, result VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE competition = "2007 afc asian cup qualification" AND result = "8–0"</s>
CREATE TABLE table_23793770_1 (production_code INTEGER, us_viewers__millions_ VARCHAR)
SELECT MAX(production_code) FROM table_23793770_1 WHERE us_viewers__millions_ = "16.10"
What the production code for the episode with 16.10 U.S. viewers?
<s>[INST]What the production code for the episode with 16.10 U.S. viewers? Context: CREATE TABLE table_23793770_1 (production_code INTEGER, us_viewers__millions_ VARCHAR)[/INST]SELECT MAX(production_code) FROM table_23793770_1 WHERE us_viewers__millions_ = "16.10"</s>
CREATE TABLE table_26124171_1 (points VARCHAR, team VARCHAR)
SELECT points FROM table_26124171_1 WHERE team = "Pole Services"
How many points were scored on pole services?
<s>[INST]How many points were scored on pole services? Context: CREATE TABLE table_26124171_1 (points VARCHAR, team VARCHAR)[/INST]SELECT points FROM table_26124171_1 WHERE team = "Pole Services"</s>
CREATE TABLE table_name_13 (score_in_the_final VARCHAR, championship VARCHAR)
SELECT score_in_the_final FROM table_name_13 WHERE championship = "australian open"
What was the final score of the Australian Open?
<s>[INST]What was the final score of the Australian Open? Context: CREATE TABLE table_name_13 (score_in_the_final VARCHAR, championship VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_13 WHERE championship = "australian open"</s>
CREATE TABLE table_28243691_1 (team_nickname VARCHAR, institution VARCHAR)
SELECT team_nickname FROM table_28243691_1 WHERE institution = "Texas Tech University"
What is the mascot for texas tech university?
<s>[INST]What is the mascot for texas tech university? Context: CREATE TABLE table_28243691_1 (team_nickname VARCHAR, institution VARCHAR)[/INST]SELECT team_nickname FROM table_28243691_1 WHERE institution = "Texas Tech University"</s>
CREATE TABLE table_name_35 (fastest_lap VARCHAR, winning_driver VARCHAR, circuit VARCHAR)
SELECT fastest_lap FROM table_name_35 WHERE winning_driver = "jim clark" AND circuit = "prince george"
Tell me the fastest lapf or jim clark being the winning driver for prince george
<s>[INST]Tell me the fastest lapf or jim clark being the winning driver for prince george Context: CREATE TABLE table_name_35 (fastest_lap VARCHAR, winning_driver VARCHAR, circuit VARCHAR)[/INST]SELECT fastest_lap FROM table_name_35 WHERE winning_driver = "jim clark" AND circuit = "prince george"</s>
CREATE TABLE table_name_32 (year INTEGER, cargo__tonnes_ VARCHAR)
SELECT AVG(year) FROM table_name_32 WHERE cargo__tonnes_ = "13 585"
What year had cargo tonnes of 13 585?
<s>[INST]What year had cargo tonnes of 13 585? Context: CREATE TABLE table_name_32 (year INTEGER, cargo__tonnes_ VARCHAR)[/INST]SELECT AVG(year) FROM table_name_32 WHERE cargo__tonnes_ = "13 585"</s>
CREATE TABLE table_name_62 (event VARCHAR, round VARCHAR)
SELECT event FROM table_name_62 WHERE round = 10
What is Event, when Round is "10"?
<s>[INST]What is Event, when Round is "10"? Context: CREATE TABLE table_name_62 (event VARCHAR, round VARCHAR)[/INST]SELECT event FROM table_name_62 WHERE round = 10</s>
CREATE TABLE table_name_29 (wins VARCHAR, rank VARCHAR, college VARCHAR, losses VARCHAR, first_season VARCHAR)
SELECT COUNT(wins) FROM table_name_29 WHERE losses > 980 AND first_season < 1906 AND college = "washington state" AND rank > 42
How many wins were there for Washington State College with losses greater than 980 and a first season before 1906 and rank greater than 42?
<s>[INST]How many wins were there for Washington State College with losses greater than 980 and a first season before 1906 and rank greater than 42? Context: CREATE TABLE table_name_29 (wins VARCHAR, rank VARCHAR, college VARCHAR, losses VARCHAR, first_season VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_29 WHERE losses > 980 AND first_season < 1906 AND college = "washington state" AND rank > 42</s>
CREATE TABLE table_name_35 (year VARCHAR, runner_up VARCHAR)
SELECT year FROM table_name_35 WHERE runner_up = "jane geddes"
When was the runner-up Jane Geddes?
<s>[INST]When was the runner-up Jane Geddes? Context: CREATE TABLE table_name_35 (year VARCHAR, runner_up VARCHAR)[/INST]SELECT year FROM table_name_35 WHERE runner_up = "jane geddes"</s>
CREATE TABLE table_17964087_2 (govt_salary VARCHAR, chinese_name VARCHAR)
SELECT COUNT(govt_salary) FROM table_17964087_2 WHERE chinese_name = "盧奕基"
For the chinese name 盧奕基 how many in total is the govt salary?
<s>[INST]For the chinese name 盧奕基 how many in total is the govt salary? Context: CREATE TABLE table_17964087_2 (govt_salary VARCHAR, chinese_name VARCHAR)[/INST]SELECT COUNT(govt_salary) FROM table_17964087_2 WHERE chinese_name = "盧奕基"</s>
CREATE TABLE table_16849531_2 (ncbi_accession_number__mrna_protein_ VARCHAR, species VARCHAR)
SELECT ncbi_accession_number__mrna_protein_ FROM table_16849531_2 WHERE species = "Homo sapiens"
What is the NCBI Accession Number of the Homo Sapiens species?
<s>[INST]What is the NCBI Accession Number of the Homo Sapiens species? Context: CREATE TABLE table_16849531_2 (ncbi_accession_number__mrna_protein_ VARCHAR, species VARCHAR)[/INST]SELECT ncbi_accession_number__mrna_protein_ FROM table_16849531_2 WHERE species = "Homo sapiens"</s>
CREATE TABLE table_name_20 (finalist VARCHAR, surface VARCHAR, semifinalists VARCHAR)
SELECT finalist FROM table_name_20 WHERE surface = "clay" AND semifinalists = "yevgeny kafelnikov juan carlos ferrero (2)"
Who is the Finalist, when the Surface is Clay, and when the Semifinalist is Yevgeny Kafelnikov Juan Carlos Ferrero (2)?
<s>[INST]Who is the Finalist, when the Surface is Clay, and when the Semifinalist is Yevgeny Kafelnikov Juan Carlos Ferrero (2)? Context: CREATE TABLE table_name_20 (finalist VARCHAR, surface VARCHAR, semifinalists VARCHAR)[/INST]SELECT finalist FROM table_name_20 WHERE surface = "clay" AND semifinalists = "yevgeny kafelnikov juan carlos ferrero (2)"</s>
CREATE TABLE table_name_52 (rank INTEGER, name VARCHAR, time VARCHAR)
SELECT SUM(rank) FROM table_name_52 WHERE name = "flori lang" AND time < 22.27
What was the rank of flori lang when his time was less than 22.27
<s>[INST]What was the rank of flori lang when his time was less than 22.27 Context: CREATE TABLE table_name_52 (rank INTEGER, name VARCHAR, time VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_52 WHERE name = "flori lang" AND time < 22.27</s>
CREATE TABLE table_name_45 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_45 WHERE record = "20-12"
Who was the opponent with the 20-12 record?
<s>[INST]Who was the opponent with the 20-12 record? Context: CREATE TABLE table_name_45 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_45 WHERE record = "20-12"</s>
CREATE TABLE table_name_1 (author VARCHAR, last_issue VARCHAR)
SELECT author FROM table_name_1 WHERE last_issue = "ongoing"
What is the Author of the Title with an Ongoing Last Issue?
<s>[INST]What is the Author of the Title with an Ongoing Last Issue? Context: CREATE TABLE table_name_1 (author VARCHAR, last_issue VARCHAR)[/INST]SELECT author FROM table_name_1 WHERE last_issue = "ongoing"</s>
CREATE TABLE VOTING_RECORD (PRESIDENT_Vote VARCHAR, Registration_Date VARCHAR)
SELECT DISTINCT PRESIDENT_Vote FROM VOTING_RECORD WHERE Registration_Date = "08/30/2015"
What are the distinct president votes on 08/30/2015?
<s>[INST]What are the distinct president votes on 08/30/2015? Context: CREATE TABLE VOTING_RECORD (PRESIDENT_Vote VARCHAR, Registration_Date VARCHAR)[/INST]SELECT DISTINCT PRESIDENT_Vote FROM VOTING_RECORD WHERE Registration_Date = "08/30/2015"</s>
CREATE TABLE table_name_38 (area_2006_km² INTEGER, area_1996_km² INTEGER)
SELECT MAX(area_2006_km²) FROM table_name_38 WHERE area_1996_km² < 17.31
Which area 2006 km² has an area 1996 km² smaller than 17.31?
<s>[INST]Which area 2006 km² has an area 1996 km² smaller than 17.31? Context: CREATE TABLE table_name_38 (area_2006_km² INTEGER, area_1996_km² INTEGER)[/INST]SELECT MAX(area_2006_km²) FROM table_name_38 WHERE area_1996_km² < 17.31</s>
CREATE TABLE table_name_18 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_18 WHERE away_team = "fitzroy"
What was Fitzroy's score when they were the away team?
<s>[INST]What was Fitzroy's score when they were the away team? Context: CREATE TABLE table_name_18 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_18 WHERE away_team = "fitzroy"</s>
CREATE TABLE Person (name VARCHAR, age INTEGER)
SELECT name FROM Person WHERE age < 30
Who is the person whose age is below 30?
<s>[INST]Who is the person whose age is below 30? Context: CREATE TABLE Person (name VARCHAR, age INTEGER)[/INST]SELECT name FROM Person WHERE age < 30</s>
CREATE TABLE table_name_73 (name VARCHAR, position VARCHAR, jersey__number VARCHAR)
SELECT name FROM table_name_73 WHERE position = "w" AND jersey__number = 11
What is the Name, when the Position is W, and when the Jersey # is 11?
<s>[INST]What is the Name, when the Position is W, and when the Jersey # is 11? Context: CREATE TABLE table_name_73 (name VARCHAR, position VARCHAR, jersey__number VARCHAR)[/INST]SELECT name FROM table_name_73 WHERE position = "w" AND jersey__number = 11</s>
CREATE TABLE table_name_83 (founded INTEGER, type VARCHAR, nickname VARCHAR)
SELECT MIN(founded) FROM table_name_83 WHERE type = "private" AND nickname = "mountaineers"
Which of the private colleges is the oldest, and whose nickname is the Mountaineers?
<s>[INST]Which of the private colleges is the oldest, and whose nickname is the Mountaineers? Context: CREATE TABLE table_name_83 (founded INTEGER, type VARCHAR, nickname VARCHAR)[/INST]SELECT MIN(founded) FROM table_name_83 WHERE type = "private" AND nickname = "mountaineers"</s>
CREATE TABLE table_name_25 (club VARCHAR, goal_difference VARCHAR, goals_against VARCHAR, wins VARCHAR)
SELECT club FROM table_name_25 WHERE goals_against > 46 AND wins = 10 AND goal_difference = -24
Which club has more than 46 goals, 10 wins, and a goal difference of -24?
<s>[INST]Which club has more than 46 goals, 10 wins, and a goal difference of -24? Context: CREATE TABLE table_name_25 (club VARCHAR, goal_difference VARCHAR, goals_against VARCHAR, wins VARCHAR)[/INST]SELECT club FROM table_name_25 WHERE goals_against > 46 AND wins = 10 AND goal_difference = -24</s>
CREATE TABLE table_name_89 (air_date VARCHAR, episode_number VARCHAR, event_1 VARCHAR)
SELECT air_date FROM table_name_89 WHERE episode_number < 11 AND event_1 = "atlasphere"
What is the air date the had atlasphere for event 1 before episode 11?
<s>[INST]What is the air date the had atlasphere for event 1 before episode 11? Context: CREATE TABLE table_name_89 (air_date VARCHAR, episode_number VARCHAR, event_1 VARCHAR)[/INST]SELECT air_date FROM table_name_89 WHERE episode_number < 11 AND event_1 = "atlasphere"</s>
CREATE TABLE table_name_47 (mission VARCHAR, apogee VARCHAR)
SELECT mission FROM table_name_47 WHERE apogee = "707 km"
What kind of Mission has a Apogee of 707 km?
<s>[INST]What kind of Mission has a Apogee of 707 km? Context: CREATE TABLE table_name_47 (mission VARCHAR, apogee VARCHAR)[/INST]SELECT mission FROM table_name_47 WHERE apogee = "707 km"</s>
CREATE TABLE table_20884163_2 (date VARCHAR, team VARCHAR, race_title VARCHAR)
SELECT date FROM table_20884163_2 WHERE team = "Triple Eight Race Engineering" AND race_title = "Falken Tasmania Challenge"
What dates was the falken tasmania challenge race that had triple eight race engineering as the team?
<s>[INST]What dates was the falken tasmania challenge race that had triple eight race engineering as the team? Context: CREATE TABLE table_20884163_2 (date VARCHAR, team VARCHAR, race_title VARCHAR)[/INST]SELECT date FROM table_20884163_2 WHERE team = "Triple Eight Race Engineering" AND race_title = "Falken Tasmania Challenge"</s>
CREATE TABLE table_name_12 (date VARCHAR, set_1 VARCHAR, set_3 VARCHAR)
SELECT date FROM table_name_12 WHERE set_1 = "25–23" AND set_3 = "25–14"
What date was the set 1 25–23, and a Set 3 of 25–14?
<s>[INST]What date was the set 1 25–23, and a Set 3 of 25–14? Context: CREATE TABLE table_name_12 (date VARCHAR, set_1 VARCHAR, set_3 VARCHAR)[/INST]SELECT date FROM table_name_12 WHERE set_1 = "25–23" AND set_3 = "25–14"</s>
CREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT SUM(silver) FROM table_name_45 WHERE bronze < 5 AND gold > 0 AND rank = "22"
How many silver for rank 22 when gold count was more than 0 and Bronze count was less than 5?
<s>[INST]How many silver for rank 22 when gold count was more than 0 and Bronze count was less than 5? Context: CREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_45 WHERE bronze < 5 AND gold > 0 AND rank = "22"</s>
CREATE TABLE table_182410_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR)
SELECT channel FROM table_182410_10 WHERE digital_terrestrial_channel = "10"
What is the channel that is on digital terrestrial channel 10?
<s>[INST]What is the channel that is on digital terrestrial channel 10? Context: CREATE TABLE table_182410_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR)[/INST]SELECT channel FROM table_182410_10 WHERE digital_terrestrial_channel = "10"</s>
CREATE TABLE table_24565004_8 (goals¹ VARCHAR, name VARCHAR)
SELECT goals¹ FROM table_24565004_8 WHERE name = "Xavier Gravelaine"
What is the number of goals if the name is Xavier Gravelaine?
<s>[INST]What is the number of goals if the name is Xavier Gravelaine? Context: CREATE TABLE table_24565004_8 (goals¹ VARCHAR, name VARCHAR)[/INST]SELECT goals¹ FROM table_24565004_8 WHERE name = "Xavier Gravelaine"</s>
CREATE TABLE table_name_82 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR, genre VARCHAR, number_of_episodes VARCHAR)
SELECT english_title__chinese_title_ FROM table_name_82 WHERE genre = "modern drama" AND number_of_episodes = 20 AND airing_date = "26 sep- 21 oct"
What is the english title of the modern drama, episode 20, that airs on 26 sep- 21 oct?
<s>[INST]What is the english title of the modern drama, episode 20, that airs on 26 sep- 21 oct? Context: CREATE TABLE table_name_82 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR, genre VARCHAR, number_of_episodes VARCHAR)[/INST]SELECT english_title__chinese_title_ FROM table_name_82 WHERE genre = "modern drama" AND number_of_episodes = 20 AND airing_date = "26 sep- 21 oct"</s>
CREATE TABLE table_name_24 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT grand_prix FROM table_name_24 WHERE fastest_lap = "gerhard berger" AND pole_position = "jacques villeneuve"
Which grand prix had gerhard berger in his fastest lap and a jacques villeneuve pole position?
<s>[INST]Which grand prix had gerhard berger in his fastest lap and a jacques villeneuve pole position? Context: CREATE TABLE table_name_24 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)[/INST]SELECT grand_prix FROM table_name_24 WHERE fastest_lap = "gerhard berger" AND pole_position = "jacques villeneuve"</s>
CREATE TABLE table_name_43 (wicket VARCHAR, runs__balls_ VARCHAR)
SELECT wicket FROM table_name_43 WHERE runs__balls_ = "100 (45)"
Which wicket had a 100 (45) Runs (balls) amount?
<s>[INST]Which wicket had a 100 (45) Runs (balls) amount? Context: CREATE TABLE table_name_43 (wicket VARCHAR, runs__balls_ VARCHAR)[/INST]SELECT wicket FROM table_name_43 WHERE runs__balls_ = "100 (45)"</s>
CREATE TABLE table_12720275_1 (rank__csa_ VARCHAR)
SELECT COUNT(2000 AS _population) FROM table_12720275_1 WHERE rank__csa_ = "(MSA 348)"
How many times was the rank (csa) was (msa 348)?
<s>[INST]How many times was the rank (csa) was (msa 348)? Context: CREATE TABLE table_12720275_1 (rank__csa_ VARCHAR)[/INST]SELECT COUNT(2000 AS _population) FROM table_12720275_1 WHERE rank__csa_ = "(MSA 348)"</s>
CREATE TABLE table_22265261_1 (distance VARCHAR, handicap__st_lb_ VARCHAR)
SELECT distance FROM table_22265261_1 WHERE handicap__st_lb_ = "11-2"
What was the distance when the handicap was 11-2?
<s>[INST]What was the distance when the handicap was 11-2? Context: CREATE TABLE table_22265261_1 (distance VARCHAR, handicap__st_lb_ VARCHAR)[/INST]SELECT distance FROM table_22265261_1 WHERE handicap__st_lb_ = "11-2"</s>
CREATE TABLE table_name_62 (college VARCHAR, position VARCHAR)
SELECT college FROM table_name_62 WHERE position = "safety"
The safety position is represented in the draft by which colleges?
<s>[INST]The safety position is represented in the draft by which colleges? Context: CREATE TABLE table_name_62 (college VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_name_62 WHERE position = "safety"</s>
CREATE TABLE table_name_13 (date VARCHAR, region VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_13 WHERE region = "europe" AND catalog = "28765 22392 8"
What's the Date with the Region of Europe and has a Catalog of 28765 22392 8?
<s>[INST]What's the Date with the Region of Europe and has a Catalog of 28765 22392 8? Context: CREATE TABLE table_name_13 (date VARCHAR, region VARCHAR, catalog VARCHAR)[/INST]SELECT date FROM table_name_13 WHERE region = "europe" AND catalog = "28765 22392 8"</s>
CREATE TABLE table_name_62 (class VARCHAR, part_4 VARCHAR)
SELECT class FROM table_name_62 WHERE part_4 = "*alanaz"
Which class has *alanaz as Part 4?
<s>[INST]Which class has *alanaz as Part 4? Context: CREATE TABLE table_name_62 (class VARCHAR, part_4 VARCHAR)[/INST]SELECT class FROM table_name_62 WHERE part_4 = "*alanaz"</s>
CREATE TABLE table_name_76 (nation VARCHAR, model VARCHAR)
SELECT nation FROM table_name_76 WHERE model = "m1895 & m1897 carbine"
What is Nation, when Model is M1895 & M1897 Carbine?
<s>[INST]What is Nation, when Model is M1895 & M1897 Carbine? Context: CREATE TABLE table_name_76 (nation VARCHAR, model VARCHAR)[/INST]SELECT nation FROM table_name_76 WHERE model = "m1895 & m1897 carbine"</s>
CREATE TABLE table_name_24 (conf VARCHAR, date VARCHAR)
SELECT conf FROM table_name_24 WHERE date = "ncaa tournament"
What Conference was during the NCAA Tournament?
<s>[INST]What Conference was during the NCAA Tournament? Context: CREATE TABLE table_name_24 (conf VARCHAR, date VARCHAR)[/INST]SELECT conf FROM table_name_24 WHERE date = "ncaa tournament"</s>
CREATE TABLE table_name_74 (event VARCHAR)
SELECT 2007 AS _08 FROM table_name_74 WHERE event = "colonial square"
What is the 2007-08 result when the event was Colonial Square?
<s>[INST]What is the 2007-08 result when the event was Colonial Square? Context: CREATE TABLE table_name_74 (event VARCHAR)[/INST]SELECT 2007 AS _08 FROM table_name_74 WHERE event = "colonial square"</s>
CREATE TABLE table_name_97 (venue VARCHAR, position VARCHAR)
SELECT venue FROM table_name_97 WHERE position = "12th (sf)"
What Venue has a Position of 12th (sf)?
<s>[INST]What Venue has a Position of 12th (sf)? Context: CREATE TABLE table_name_97 (venue VARCHAR, position VARCHAR)[/INST]SELECT venue FROM table_name_97 WHERE position = "12th (sf)"</s>
CREATE TABLE table_23346983_1 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_23346983_1 WHERE opponent = "Army"
What was the record for the Orangemen when they played against Army?
<s>[INST]What was the record for the Orangemen when they played against Army? Context: CREATE TABLE table_23346983_1 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_23346983_1 WHERE opponent = "Army"</s>
CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_40 WHERE date = "october 12"
What was the average attendance on October 12?
<s>[INST]What was the average attendance on October 12? Context: CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_40 WHERE date = "october 12"</s>
CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)
SELECT COUNT(_percentage_of_popular_vote) FROM table_19769687_3 WHERE _number_of_seats_won = 83
Name the total number for % popular vote for # of seats won for 83
<s>[INST]Name the total number for % popular vote for # of seats won for 83 Context: CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)[/INST]SELECT COUNT(_percentage_of_popular_vote) FROM table_19769687_3 WHERE _number_of_seats_won = 83</s>
CREATE TABLE table_name_6 (seating VARCHAR, notes VARCHAR, introduced VARCHAR)
SELECT seating FROM table_name_6 WHERE notes = "in service" AND introduced = 2008
How many people can be seated on the aircraft that was introduced in 2008 and has notes of in service?
<s>[INST]How many people can be seated on the aircraft that was introduced in 2008 and has notes of in service? Context: CREATE TABLE table_name_6 (seating VARCHAR, notes VARCHAR, introduced VARCHAR)[/INST]SELECT seating FROM table_name_6 WHERE notes = "in service" AND introduced = 2008</s>
CREATE TABLE table_name_36 (cuts_made INTEGER, tournament VARCHAR, events VARCHAR)
SELECT MAX(cuts_made) FROM table_name_36 WHERE tournament = "pga championship" AND events > 3
How many cuts did he make at the PGA championship in 3 events?
<s>[INST]How many cuts did he make at the PGA championship in 3 events? Context: CREATE TABLE table_name_36 (cuts_made INTEGER, tournament VARCHAR, events VARCHAR)[/INST]SELECT MAX(cuts_made) FROM table_name_36 WHERE tournament = "pga championship" AND events > 3</s>
CREATE TABLE table_name_46 (country VARCHAR, gdp__nominal_ VARCHAR)
SELECT country FROM table_name_46 WHERE gdp__nominal_ = "$29.9 billion"
Which country has a GDP (nominal) of $29.9 billion?
<s>[INST]Which country has a GDP (nominal) of $29.9 billion? Context: CREATE TABLE table_name_46 (country VARCHAR, gdp__nominal_ VARCHAR)[/INST]SELECT country FROM table_name_46 WHERE gdp__nominal_ = "$29.9 billion"</s>
CREATE TABLE table_name_45 (position INTEGER, losses VARCHAR, played VARCHAR)
SELECT SUM(position) FROM table_name_45 WHERE losses = 11 AND played > 22
Which Position has Losses of 11, and a Played larger than 22?
<s>[INST]Which Position has Losses of 11, and a Played larger than 22? Context: CREATE TABLE table_name_45 (position INTEGER, losses VARCHAR, played VARCHAR)[/INST]SELECT SUM(position) FROM table_name_45 WHERE losses = 11 AND played > 22</s>
CREATE TABLE table_name_96 (area__km_2__ VARCHAR, population VARCHAR, place VARCHAR)
SELECT COUNT(area__km_2__) FROM table_name_96 WHERE population < 409 AND place = "cannonvale"
What is the total number of area listed for cannonvale with a population less than 409?
<s>[INST]What is the total number of area listed for cannonvale with a population less than 409? Context: CREATE TABLE table_name_96 (area__km_2__ VARCHAR, population VARCHAR, place VARCHAR)[/INST]SELECT COUNT(area__km_2__) FROM table_name_96 WHERE population < 409 AND place = "cannonvale"</s>
CREATE TABLE table_name_12 (rank INTEGER, nation VARCHAR, silver VARCHAR)
SELECT MAX(rank) FROM table_name_12 WHERE nation = "iceland" AND silver < 19
Where does Iceland rank with under 19 silvers?
<s>[INST]Where does Iceland rank with under 19 silvers? Context: CREATE TABLE table_name_12 (rank INTEGER, nation VARCHAR, silver VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_12 WHERE nation = "iceland" AND silver < 19</s>
CREATE TABLE table_name_45 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR)
SELECT AVG(year) FROM table_name_45 WHERE points > 3 AND team = "mv agusta" AND rank = "10th"
What is the average Year when there were more than 3 points, for MV Agusta and ranked 10th?
<s>[INST]What is the average Year when there were more than 3 points, for MV Agusta and ranked 10th? Context: CREATE TABLE table_name_45 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR)[/INST]SELECT AVG(year) FROM table_name_45 WHERE points > 3 AND team = "mv agusta" AND rank = "10th"</s>
CREATE TABLE table_name_65 (Id VARCHAR)
SELECT 1971 FROM table_name_65 WHERE 1969 = "30"
What is the value in 1971 when 30 is the value for 1969?
<s>[INST]What is the value in 1971 when 30 is the value for 1969? Context: CREATE TABLE table_name_65 (Id VARCHAR)[/INST]SELECT 1971 FROM table_name_65 WHERE 1969 = "30"</s>