context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_33 WHERE home_team = "bristol rovers"
What is the Away team at Bristol Rovers' Home game?
<s>[INST]What is the Away team at Bristol Rovers' Home game? Context: CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_33 WHERE home_team = "bristol rovers"</s>
CREATE TABLE table_name_26 (rules VARCHAR, method VARCHAR)
SELECT rules FROM table_name_26 WHERE method = "ko (punch)"
WHich Rules has a Method of ko (punch)?
<s>[INST]WHich Rules has a Method of ko (punch)? Context: CREATE TABLE table_name_26 (rules VARCHAR, method VARCHAR)[/INST]SELECT rules FROM table_name_26 WHERE method = "ko (punch)"</s>
CREATE TABLE table_name_26 (name VARCHAR, first_performance VARCHAR)
SELECT name FROM table_name_26 WHERE first_performance = "3 july 2011"
who had the first performance on 3 july 2011?
<s>[INST]who had the first performance on 3 july 2011? Context: CREATE TABLE table_name_26 (name VARCHAR, first_performance VARCHAR)[/INST]SELECT name FROM table_name_26 WHERE first_performance = "3 july 2011"</s>
CREATE TABLE table_name_96 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_96 WHERE record = "44-49"
Which score has a Record of 44-49?
<s>[INST]Which score has a Record of 44-49? Context: CREATE TABLE table_name_96 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_96 WHERE record = "44-49"</s>
CREATE TABLE table_name_84 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_84 WHERE loss = "hargan (14–13)"
What is the record for the game when the loss was hargan (14–13)?
<s>[INST]What is the record for the game when the loss was hargan (14–13)? Context: CREATE TABLE table_name_84 (record VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_84 WHERE loss = "hargan (14–13)"</s>
CREATE TABLE table_name_60 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_60 WHERE date = "21 june 1993"
What is the surface on 21 june 1993?
<s>[INST]What is the surface on 21 june 1993? Context: CREATE TABLE table_name_60 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_60 WHERE date = "21 june 1993"</s>
CREATE TABLE table_16751596_5 (democrat VARCHAR, dates_administered VARCHAR)
SELECT democrat AS :_john_kerry FROM table_16751596_5 WHERE dates_administered = "April 22, 2008"
what is the percentage for john kerry and dates administered is april 22, 2008?
<s>[INST]what is the percentage for john kerry and dates administered is april 22, 2008? Context: CREATE TABLE table_16751596_5 (democrat VARCHAR, dates_administered VARCHAR)[/INST]SELECT democrat AS :_john_kerry FROM table_16751596_5 WHERE dates_administered = "April 22, 2008"</s>
CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR, player VARCHAR)
SELECT country FROM table_name_41 WHERE score = 72 AND player = "andrew brooks"
Which country has a score of 72 by Andrew Brooks?
<s>[INST]Which country has a score of 72 by Andrew Brooks? Context: CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_41 WHERE score = 72 AND player = "andrew brooks"</s>
CREATE TABLE table_name_90 (regional_county_municipality VARCHAR, type VARCHAR, code VARCHAR)
SELECT regional_county_municipality FROM table_name_90 WHERE type = "m" AND code < 91015
what is the regional county municipality when the type is m and the code is less than 91015?
<s>[INST]what is the regional county municipality when the type is m and the code is less than 91015? Context: CREATE TABLE table_name_90 (regional_county_municipality VARCHAR, type VARCHAR, code VARCHAR)[/INST]SELECT regional_county_municipality FROM table_name_90 WHERE type = "m" AND code < 91015</s>
CREATE TABLE table_name_89 (opponent VARCHAR, attendance INTEGER)
SELECT opponent FROM table_name_89 WHERE attendance > 59 OFFSET 000
Who is the opponent of the match with an attendance larger than 59,000?
<s>[INST]Who is the opponent of the match with an attendance larger than 59,000? Context: CREATE TABLE table_name_89 (opponent VARCHAR, attendance INTEGER)[/INST]SELECT opponent FROM table_name_89 WHERE attendance > 59 OFFSET 000</s>
CREATE TABLE table_name_80 (assist_pass VARCHAR, location VARCHAR)
SELECT assist_pass FROM table_name_80 WHERE location = "ferreiras"
Which assist/pass is in Ferreiras?
<s>[INST]Which assist/pass is in Ferreiras? Context: CREATE TABLE table_name_80 (assist_pass VARCHAR, location VARCHAR)[/INST]SELECT assist_pass FROM table_name_80 WHERE location = "ferreiras"</s>
CREATE TABLE table_19047_2 (year INTEGER)
SELECT MIN(year) FROM table_19047_2
What is the first year in the competition?
<s>[INST]What is the first year in the competition? Context: CREATE TABLE table_19047_2 (year INTEGER)[/INST]SELECT MIN(year) FROM table_19047_2</s>
CREATE TABLE table_name_75 (time VARCHAR, team VARCHAR, rider VARCHAR)
SELECT time FROM table_name_75 WHERE team = "suzuki" AND rider = "peter berwick"
What was the time for Peter Berwick of Team Suzuki?
<s>[INST]What was the time for Peter Berwick of Team Suzuki? Context: CREATE TABLE table_name_75 (time VARCHAR, team VARCHAR, rider VARCHAR)[/INST]SELECT time FROM table_name_75 WHERE team = "suzuki" AND rider = "peter berwick"</s>
CREATE TABLE table_name_80 (episode_number VARCHAR, audience_share__average_ VARCHAR)
SELECT COUNT(episode_number) FROM table_name_80 WHERE audience_share__average_ = "10%"
What episode number has an audience share of 10%?
<s>[INST]What episode number has an audience share of 10%? Context: CREATE TABLE table_name_80 (episode_number VARCHAR, audience_share__average_ VARCHAR)[/INST]SELECT COUNT(episode_number) FROM table_name_80 WHERE audience_share__average_ = "10%"</s>
CREATE TABLE election (Delegate VARCHAR, Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)
SELECT T1.Delegate, T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID
Show the delegates and the names of the party they belong to.
<s>[INST]Show the delegates and the names of the party they belong to. Context: CREATE TABLE election (Delegate VARCHAR, Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)[/INST]SELECT T1.Delegate, T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID</s>
CREATE TABLE table_12275654_1 (mens_doubles VARCHAR, mens_singles VARCHAR)
SELECT mens_doubles FROM table_12275654_1 WHERE mens_singles = "Chou Tien-chen"
Who won the men's double when Chou Tien-Chen won the men's single?
<s>[INST]Who won the men's double when Chou Tien-Chen won the men's single? Context: CREATE TABLE table_12275654_1 (mens_doubles VARCHAR, mens_singles VARCHAR)[/INST]SELECT mens_doubles FROM table_12275654_1 WHERE mens_singles = "Chou Tien-chen"</s>
CREATE TABLE table_name_5 (to_par VARCHAR, place VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_5 WHERE place = "t8" AND country = "argentina"
What is the to par of the player from Argentina with a t8 place?
<s>[INST]What is the to par of the player from Argentina with a t8 place? Context: CREATE TABLE table_name_5 (to_par VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_5 WHERE place = "t8" AND country = "argentina"</s>
CREATE TABLE table_name_61 (county VARCHAR, cerclis_id VARCHAR)
SELECT county FROM table_name_61 WHERE cerclis_id = "nhd062004569"
What county is CERCLIS ID nhd062004569 in?
<s>[INST]What county is CERCLIS ID nhd062004569 in? Context: CREATE TABLE table_name_61 (county VARCHAR, cerclis_id VARCHAR)[/INST]SELECT county FROM table_name_61 WHERE cerclis_id = "nhd062004569"</s>
CREATE TABLE table_name_15 (driver VARCHAR, winnings VARCHAR, car__number VARCHAR, laps VARCHAR, points VARCHAR)
SELECT driver FROM table_name_15 WHERE laps < 498 AND points < 58 AND car__number > 22 AND winnings = "$93,514"
Who is the Driver that has a Laps smaller than 498, less than 58 points, a car number bigger than 22 and who has won $93,514?
<s>[INST]Who is the Driver that has a Laps smaller than 498, less than 58 points, a car number bigger than 22 and who has won $93,514? Context: CREATE TABLE table_name_15 (driver VARCHAR, winnings VARCHAR, car__number VARCHAR, laps VARCHAR, points VARCHAR)[/INST]SELECT driver FROM table_name_15 WHERE laps < 498 AND po...
CREATE TABLE table_name_25 (overs INTEGER, player VARCHAR)
SELECT MAX(overs) FROM table_name_25 WHERE player = "xavier doherty (tasmania)"
What did Xavier Doherty (Tasmania) set as his highest Overs?
<s>[INST]What did Xavier Doherty (Tasmania) set as his highest Overs? Context: CREATE TABLE table_name_25 (overs INTEGER, player VARCHAR)[/INST]SELECT MAX(overs) FROM table_name_25 WHERE player = "xavier doherty (tasmania)"</s>
CREATE TABLE table_name_37 (year VARCHAR, time VARCHAR)
SELECT year FROM table_name_37 WHERE time = "1:47.55"
What is Year, when Time is "1:47.55"?
<s>[INST]What is Year, when Time is "1:47.55"? Context: CREATE TABLE table_name_37 (year VARCHAR, time VARCHAR)[/INST]SELECT year FROM table_name_37 WHERE time = "1:47.55"</s>
CREATE TABLE table_name_84 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_84 WHERE player = "fred couples"
What place did Fred Couples finish in?
<s>[INST]What place did Fred Couples finish in? Context: CREATE TABLE table_name_84 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_84 WHERE player = "fred couples"</s>
CREATE TABLE table_16268026_3 (semifinal_average VARCHAR, preliminary_average VARCHAR)
SELECT semifinal_average FROM table_16268026_3 WHERE preliminary_average = "9.084 (1)"
What is the semifinal average where the preliminary average is 9.084 (1) ?
<s>[INST]What is the semifinal average where the preliminary average is 9.084 (1) ? Context: CREATE TABLE table_16268026_3 (semifinal_average VARCHAR, preliminary_average VARCHAR)[/INST]SELECT semifinal_average FROM table_16268026_3 WHERE preliminary_average = "9.084 (1)"</s>
CREATE TABLE table_14945881_1 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_14945881_1 WHERE attendance = 42827
Name the record when attendance 42827
<s>[INST]Name the record when attendance 42827 Context: CREATE TABLE table_14945881_1 (record VARCHAR, attendance VARCHAR)[/INST]SELECT record FROM table_14945881_1 WHERE attendance = 42827</s>
CREATE TABLE table_13619135_8 (team VARCHAR, record VARCHAR)
SELECT team FROM table_13619135_8 WHERE record = "45-36"
Who did the Raptors play when their record was 45-36?
<s>[INST]Who did the Raptors play when their record was 45-36? Context: CREATE TABLE table_13619135_8 (team VARCHAR, record VARCHAR)[/INST]SELECT team FROM table_13619135_8 WHERE record = "45-36"</s>
CREATE TABLE table_name_56 (package_option VARCHAR, television_service VARCHAR, content VARCHAR, hdtv VARCHAR)
SELECT package_option FROM table_name_56 WHERE content = "documentaries" AND hdtv = "yes" AND television_service = "history hd"
What package/option has documentaries as the content, yes as the HDTV, and a television service of history hd?
<s>[INST]What package/option has documentaries as the content, yes as the HDTV, and a television service of history hd? Context: CREATE TABLE table_name_56 (package_option VARCHAR, television_service VARCHAR, content VARCHAR, hdtv VARCHAR)[/INST]SELECT package_option FROM table_name_56 WHERE content = "documentaries" A...
CREATE TABLE table_11677100_16 (mlb_draft VARCHAR, position VARCHAR)
SELECT mlb_draft FROM table_11677100_16 WHERE position = "Pitcher/Infielder"
What MLB Drafts have the position pitcher/infielder?
<s>[INST]What MLB Drafts have the position pitcher/infielder? Context: CREATE TABLE table_11677100_16 (mlb_draft VARCHAR, position VARCHAR)[/INST]SELECT mlb_draft FROM table_11677100_16 WHERE position = "Pitcher/Infielder"</s>
CREATE TABLE table_name_66 (venue VARCHAR, rank VARCHAR)
SELECT venue FROM table_name_66 WHERE rank = "2"
What is the Venue that has a Rank of 2?
<s>[INST]What is the Venue that has a Rank of 2? Context: CREATE TABLE table_name_66 (venue VARCHAR, rank VARCHAR)[/INST]SELECT venue FROM table_name_66 WHERE rank = "2"</s>
CREATE TABLE table_name_18 (segment_a VARCHAR, netflix VARCHAR)
SELECT segment_a FROM table_name_18 WHERE netflix = "s01e12"
What is the segment A name, having a Netflix of s01e12?
<s>[INST]What is the segment A name, having a Netflix of s01e12? Context: CREATE TABLE table_name_18 (segment_a VARCHAR, netflix VARCHAR)[/INST]SELECT segment_a FROM table_name_18 WHERE netflix = "s01e12"</s>
CREATE TABLE table_name_1 (constructor VARCHAR, fastest_lap VARCHAR)
SELECT constructor FROM table_name_1 WHERE fastest_lap = "nigel mansell"
What is the constructor for the race with Nigel Mansell as the fastest lap?
<s>[INST]What is the constructor for the race with Nigel Mansell as the fastest lap? Context: CREATE TABLE table_name_1 (constructor VARCHAR, fastest_lap VARCHAR)[/INST]SELECT constructor FROM table_name_1 WHERE fastest_lap = "nigel mansell"</s>
CREATE TABLE table_name_67 (date VARCHAR, catalogue VARCHAR)
SELECT date FROM table_name_67 WHERE catalogue = "tojp 60121-22"
What was Catalogue tojp 60121-22's Date?
<s>[INST]What was Catalogue tojp 60121-22's Date? Context: CREATE TABLE table_name_67 (date VARCHAR, catalogue VARCHAR)[/INST]SELECT date FROM table_name_67 WHERE catalogue = "tojp 60121-22"</s>
CREATE TABLE table_name_5 (years_at_club VARCHAR, player VARCHAR, games VARCHAR, goals VARCHAR, debut_year VARCHAR)
SELECT years_at_club FROM table_name_5 WHERE goals > 0 AND debut_year > 1904 AND games > 136 AND player = "wally johnson"
For player Wally Johnson, with goals larger than 0, the debut year later than 1904, and games greater than 136, what were the years at club?
<s>[INST]For player Wally Johnson, with goals larger than 0, the debut year later than 1904, and games greater than 136, what were the years at club? Context: CREATE TABLE table_name_5 (years_at_club VARCHAR, player VARCHAR, games VARCHAR, goals VARCHAR, debut_year VARCHAR)[/INST]SELECT years_at_club FROM table_name_5 ...
CREATE TABLE table_26257223_13 (team_classification VARCHAR, winner VARCHAR)
SELECT team_classification FROM table_26257223_13 WHERE winner = "Chris Horner"
Who led team classification during the stage whose winner was Chris Horner?
<s>[INST]Who led team classification during the stage whose winner was Chris Horner? Context: CREATE TABLE table_26257223_13 (team_classification VARCHAR, winner VARCHAR)[/INST]SELECT team_classification FROM table_26257223_13 WHERE winner = "Chris Horner"</s>
CREATE TABLE table_name_66 (head_linesman VARCHAR, game VARCHAR)
SELECT head_linesman FROM table_name_66 WHERE game = "xxxv"
Who is the head linesman at game xxxv?
<s>[INST]Who is the head linesman at game xxxv? Context: CREATE TABLE table_name_66 (head_linesman VARCHAR, game VARCHAR)[/INST]SELECT head_linesman FROM table_name_66 WHERE game = "xxxv"</s>
CREATE TABLE table_name_72 (points INTEGER, played INTEGER)
SELECT AVG(points) FROM table_name_72 WHERE played > 18
What is the average number of points of the team with more than 18 played?
<s>[INST]What is the average number of points of the team with more than 18 played? Context: CREATE TABLE table_name_72 (points INTEGER, played INTEGER)[/INST]SELECT AVG(points) FROM table_name_72 WHERE played > 18</s>
CREATE TABLE table_name_16 (record VARCHAR, location VARCHAR, date VARCHAR)
SELECT record FROM table_name_16 WHERE location = "fleetcenter" AND date = "fri. apr. 5"
Can you tell me the Record that has the Location of fleetcenter, and the Date of fri. apr. 5?
<s>[INST]Can you tell me the Record that has the Location of fleetcenter, and the Date of fri. apr. 5? Context: CREATE TABLE table_name_16 (record VARCHAR, location VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_16 WHERE location = "fleetcenter" AND date = "fri. apr. 5"</s>
CREATE TABLE table_name_57 (attendance VARCHAR, opponent_number VARCHAR)
SELECT attendance FROM table_name_57 WHERE opponent_number = "vs. 12 stanford"
How many were in attendance when they played vs. 12 Stanford?
<s>[INST]How many were in attendance when they played vs. 12 Stanford? Context: CREATE TABLE table_name_57 (attendance VARCHAR, opponent_number VARCHAR)[/INST]SELECT attendance FROM table_name_57 WHERE opponent_number = "vs. 12 stanford"</s>
CREATE TABLE table_name_82 (catalogue VARCHAR, time VARCHAR)
SELECT catalogue FROM table_name_82 WHERE time = "2:10"
What catalogue has a length of 2:10?
<s>[INST]What catalogue has a length of 2:10? Context: CREATE TABLE table_name_82 (catalogue VARCHAR, time VARCHAR)[/INST]SELECT catalogue FROM table_name_82 WHERE time = "2:10"</s>
CREATE TABLE table_name_96 (season VARCHAR, opponent VARCHAR)
SELECT season FROM table_name_96 WHERE opponent = "necaxa"
In what Season is Necaxa an Opponent?
<s>[INST]In what Season is Necaxa an Opponent? Context: CREATE TABLE table_name_96 (season VARCHAR, opponent VARCHAR)[/INST]SELECT season FROM table_name_96 WHERE opponent = "necaxa"</s>
CREATE TABLE table_14649522_1 (nfl_team VARCHAR, college VARCHAR)
SELECT nfl_team FROM table_14649522_1 WHERE college = "South Carolina"
Which team picked from South Carolina college?
<s>[INST]Which team picked from South Carolina college? Context: CREATE TABLE table_14649522_1 (nfl_team VARCHAR, college VARCHAR)[/INST]SELECT nfl_team FROM table_14649522_1 WHERE college = "South Carolina"</s>
CREATE TABLE table_19886463_1 (round_winner VARCHAR, entrant VARCHAR)
SELECT round_winner FROM table_19886463_1 WHERE entrant = "Craven Mild Racing"
Who is the round winner when entrant is craven mild racing?
<s>[INST]Who is the round winner when entrant is craven mild racing? Context: CREATE TABLE table_19886463_1 (round_winner VARCHAR, entrant VARCHAR)[/INST]SELECT round_winner FROM table_19886463_1 WHERE entrant = "Craven Mild Racing"</s>
CREATE TABLE table_name_98 (nationality VARCHAR, round VARCHAR)
SELECT nationality FROM table_name_98 WHERE round = "9"
In round 9 what was the nationality?
<s>[INST]In round 9 what was the nationality? Context: CREATE TABLE table_name_98 (nationality VARCHAR, round VARCHAR)[/INST]SELECT nationality FROM table_name_98 WHERE round = "9"</s>
CREATE TABLE table_name_57 (date VARCHAR, location VARCHAR, competition VARCHAR)
SELECT date FROM table_name_57 WHERE location = "prague" AND competition = "world group, consolation round"
what is the date for the game in prague for the world group, consolation round competition?
<s>[INST]what is the date for the game in prague for the world group, consolation round competition? Context: CREATE TABLE table_name_57 (date VARCHAR, location VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_57 WHERE location = "prague" AND competition = "world group, consolation round"</s>
CREATE TABLE table_name_42 (pick INTEGER, position VARCHAR, hometown_school VARCHAR)
SELECT MIN(pick) FROM table_name_42 WHERE position = "rhp" AND hometown_school = "university of hawaii"
What pick number was the rhp with a hometown/school of university of hawaii?
<s>[INST]What pick number was the rhp with a hometown/school of university of hawaii? Context: CREATE TABLE table_name_42 (pick INTEGER, position VARCHAR, hometown_school VARCHAR)[/INST]SELECT MIN(pick) FROM table_name_42 WHERE position = "rhp" AND hometown_school = "university of hawaii"</s>
CREATE TABLE table_name_2 (females_rank INTEGER, state VARCHAR, females___percentage_ VARCHAR, hiv_awareness__males_percentage_ VARCHAR)
SELECT MAX(females_rank) FROM table_name_2 WHERE females___percentage_ > 53 AND hiv_awareness__males_percentage_ < 89 AND state = "odisha"
Which Females Rank is the highest one that has Females (%) larger than 53, and an HIV awareness (males%) smaller than 89, and a State of odisha?
<s>[INST]Which Females Rank is the highest one that has Females (%) larger than 53, and an HIV awareness (males%) smaller than 89, and a State of odisha? Context: CREATE TABLE table_name_2 (females_rank INTEGER, state VARCHAR, females___percentage_ VARCHAR, hiv_awareness__males_percentage_ VARCHAR)[/INST]SELECT MAX(fem...
CREATE TABLE festival_detail (YEAR VARCHAR)
SELECT YEAR FROM festival_detail GROUP BY YEAR HAVING COUNT(*) > 1
List the year in which there are more than one festivals.
<s>[INST]List the year in which there are more than one festivals. Context: CREATE TABLE festival_detail (YEAR VARCHAR)[/INST]SELECT YEAR FROM festival_detail GROUP BY YEAR HAVING COUNT(*) > 1</s>
CREATE TABLE table_name_29 (circuit VARCHAR, championship VARCHAR)
SELECT circuit FROM table_name_29 WHERE championship = "sprint cup series"
What circuit is the Sprint Cup series championship?
<s>[INST]What circuit is the Sprint Cup series championship? Context: CREATE TABLE table_name_29 (circuit VARCHAR, championship VARCHAR)[/INST]SELECT circuit FROM table_name_29 WHERE championship = "sprint cup series"</s>
CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR, country VARCHAR)
SELECT player FROM table_name_33 WHERE place = "t2" AND country = "fiji"
Which Player has a Place of T2 and a Country listed as Fiji?
<s>[INST]Which Player has a Place of T2 and a Country listed as Fiji? Context: CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_33 WHERE place = "t2" AND country = "fiji"</s>
CREATE TABLE table_name_30 (tries_against VARCHAR, try_diff VARCHAR, points_for VARCHAR)
SELECT COUNT(tries_against) FROM table_name_30 WHERE try_diff = "–17" AND points_for < 80
How many Tries against has a Try diff of –17 and Points for smaller than 80?
<s>[INST]How many Tries against has a Try diff of –17 and Points for smaller than 80? Context: CREATE TABLE table_name_30 (tries_against VARCHAR, try_diff VARCHAR, points_for VARCHAR)[/INST]SELECT COUNT(tries_against) FROM table_name_30 WHERE try_diff = "–17" AND points_for < 80</s>
CREATE TABLE table_name_64 (player_name VARCHAR, position VARCHAR, college VARCHAR)
SELECT player_name FROM table_name_64 WHERE position = "linebacker" AND college = "tennessee"
Who was a linebacker at Tennessee?
<s>[INST]Who was a linebacker at Tennessee? Context: CREATE TABLE table_name_64 (player_name VARCHAR, position VARCHAR, college VARCHAR)[/INST]SELECT player_name FROM table_name_64 WHERE position = "linebacker" AND college = "tennessee"</s>
CREATE TABLE table_name_74 (location VARCHAR, opponent_team VARCHAR)
SELECT location FROM table_name_74 WHERE opponent_team = "napoli"
Where did Milan play against Napoli?
<s>[INST]Where did Milan play against Napoli? Context: CREATE TABLE table_name_74 (location VARCHAR, opponent_team VARCHAR)[/INST]SELECT location FROM table_name_74 WHERE opponent_team = "napoli"</s>
CREATE TABLE review (i_id VARCHAR); CREATE TABLE item (i_id VARCHAR)
SELECT COUNT(*) FROM item WHERE NOT i_id IN (SELECT i_id FROM review)
Find the number of items that did not receive any review.
<s>[INST]Find the number of items that did not receive any review. Context: CREATE TABLE review (i_id VARCHAR); CREATE TABLE item (i_id VARCHAR)[/INST]SELECT COUNT(*) FROM item WHERE NOT i_id IN (SELECT i_id FROM review)</s>
CREATE TABLE table_name_2 (country VARCHAR, class___type VARCHAR)
SELECT country FROM table_name_2 WHERE class___type = "three masted full rigged ship"
What is Country, when Class / Type is "Three masted full rigged ship"?
<s>[INST]What is Country, when Class / Type is "Three masted full rigged ship"? Context: CREATE TABLE table_name_2 (country VARCHAR, class___type VARCHAR)[/INST]SELECT country FROM table_name_2 WHERE class___type = "three masted full rigged ship"</s>
CREATE TABLE table_name_79 (team VARCHAR, average VARCHAR)
SELECT team FROM table_name_79 WHERE average = 1.035
Team with average of 1.035?
<s>[INST]Team with average of 1.035? Context: CREATE TABLE table_name_79 (team VARCHAR, average VARCHAR)[/INST]SELECT team FROM table_name_79 WHERE average = 1.035</s>
CREATE TABLE table_name_65 (towns_represented VARCHAR, district VARCHAR)
SELECT towns_represented FROM table_name_65 WHERE district = "31"
Which towns are represented in district 31?
<s>[INST]Which towns are represented in district 31? Context: CREATE TABLE table_name_65 (towns_represented VARCHAR, district VARCHAR)[/INST]SELECT towns_represented FROM table_name_65 WHERE district = "31"</s>
CREATE TABLE table_name_16 (round INTEGER, overall VARCHAR, position VARCHAR, name VARCHAR)
SELECT AVG(round) FROM table_name_16 WHERE position = "wide receiver" AND name = "r. jay soward" AND overall < 29
What is the average Round for wide receiver r. jay soward and Overall smaller than 29?
<s>[INST]What is the average Round for wide receiver r. jay soward and Overall smaller than 29? Context: CREATE TABLE table_name_16 (round INTEGER, overall VARCHAR, position VARCHAR, name VARCHAR)[/INST]SELECT AVG(round) FROM table_name_16 WHERE position = "wide receiver" AND name = "r. jay soward" AND overall < 29</s>
CREATE TABLE table_name_38 (term_start VARCHAR, name VARCHAR)
SELECT term_start FROM table_name_38 WHERE name = "fejzi bej alizoti"
When did Fejzi Bej Alizoti's term start?
<s>[INST]When did Fejzi Bej Alizoti's term start? Context: CREATE TABLE table_name_38 (term_start VARCHAR, name VARCHAR)[/INST]SELECT term_start FROM table_name_38 WHERE name = "fejzi bej alizoti"</s>
CREATE TABLE table_name_14 (record VARCHAR, event VARCHAR)
SELECT record FROM table_name_14 WHERE event = "ufc 27"
What is the record during the event, UFC 27?
<s>[INST]What is the record during the event, UFC 27? Context: CREATE TABLE table_name_14 (record VARCHAR, event VARCHAR)[/INST]SELECT record FROM table_name_14 WHERE event = "ufc 27"</s>
CREATE TABLE table_name_65 (name_of_kingdom VARCHAR, capital VARCHAR)
SELECT name_of_kingdom FROM table_name_65 WHERE capital = "suin"
Which kingdom has Suin as its capital?
<s>[INST]Which kingdom has Suin as its capital? Context: CREATE TABLE table_name_65 (name_of_kingdom VARCHAR, capital VARCHAR)[/INST]SELECT name_of_kingdom FROM table_name_65 WHERE capital = "suin"</s>
CREATE TABLE journalist (Nationality VARCHAR)
SELECT Nationality, COUNT(*) FROM journalist GROUP BY Nationality
Show the different nationalities and the number of journalists of each nationality.
<s>[INST]Show the different nationalities and the number of journalists of each nationality. Context: CREATE TABLE journalist (Nationality VARCHAR)[/INST]SELECT Nationality, COUNT(*) FROM journalist GROUP BY Nationality</s>
CREATE TABLE table_1213511_2 (nhl_team VARCHAR, player VARCHAR)
SELECT COUNT(nhl_team) FROM table_1213511_2 WHERE player = "Terry French"
How many NHL teams does Terry French play for?
<s>[INST]How many NHL teams does Terry French play for? Context: CREATE TABLE table_1213511_2 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT COUNT(nhl_team) FROM table_1213511_2 WHERE player = "Terry French"</s>
CREATE TABLE table_name_21 (decision VARCHAR, home VARCHAR)
SELECT decision FROM table_name_21 WHERE home = "toronto"
Who made the decision when toronto was the home team?
<s>[INST]Who made the decision when toronto was the home team? Context: CREATE TABLE table_name_21 (decision VARCHAR, home VARCHAR)[/INST]SELECT decision FROM table_name_21 WHERE home = "toronto"</s>
CREATE TABLE table_27723228_7 (score VARCHAR, team VARCHAR)
SELECT score FROM table_27723228_7 WHERE team = "Miami"
Name the score for miami
<s>[INST]Name the score for miami Context: CREATE TABLE table_27723228_7 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_27723228_7 WHERE team = "Miami"</s>
CREATE TABLE table_19897896_7 (class VARCHAR, position VARCHAR)
SELECT class FROM table_19897896_7 WHERE position = "Forward"
in which class is the position forward
<s>[INST]in which class is the position forward Context: CREATE TABLE table_19897896_7 (class VARCHAR, position VARCHAR)[/INST]SELECT class FROM table_19897896_7 WHERE position = "Forward"</s>
CREATE TABLE table_17924362_1 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_17924362_1 WHERE date = "October 26"
Name the number of weeks for october 26
<s>[INST]Name the number of weeks for october 26 Context: CREATE TABLE table_17924362_1 (week VARCHAR, date VARCHAR)[/INST]SELECT COUNT(week) FROM table_17924362_1 WHERE date = "October 26"</s>
CREATE TABLE table_21808535_1 (round VARCHAR, date VARCHAR)
SELECT COUNT(round) FROM table_21808535_1 WHERE date = "July 10"
How many rounds were on July 10?
<s>[INST]How many rounds were on July 10? Context: CREATE TABLE table_21808535_1 (round VARCHAR, date VARCHAR)[/INST]SELECT COUNT(round) FROM table_21808535_1 WHERE date = "July 10"</s>
CREATE TABLE table_name_47 (start_source VARCHAR, started VARCHAR)
SELECT start_source FROM table_name_47 WHERE started = "2 february"
what is the start source when started on 2 february?
<s>[INST]what is the start source when started on 2 february? Context: CREATE TABLE table_name_47 (start_source VARCHAR, started VARCHAR)[/INST]SELECT start_source FROM table_name_47 WHERE started = "2 february"</s>
CREATE TABLE table_name_37 (date VARCHAR, against VARCHAR, status VARCHAR)
SELECT date FROM table_name_37 WHERE against < 21 AND status = "second test"
Which Date has an Against smaller than 21, and a Status of second test?
<s>[INST]Which Date has an Against smaller than 21, and a Status of second test? Context: CREATE TABLE table_name_37 (date VARCHAR, against VARCHAR, status VARCHAR)[/INST]SELECT date FROM table_name_37 WHERE against < 21 AND status = "second test"</s>
CREATE TABLE table_name_17 (county VARCHAR, school VARCHAR)
SELECT county FROM table_name_17 WHERE school = "merrillville"
In what county is the school of Merrillville?
<s>[INST]In what county is the school of Merrillville? Context: CREATE TABLE table_name_17 (county VARCHAR, school VARCHAR)[/INST]SELECT county FROM table_name_17 WHERE school = "merrillville"</s>
CREATE TABLE table_name_17 (power VARCHAR, city_of_license VARCHAR)
SELECT power FROM table_name_17 WHERE city_of_license = "thunder bay"
What power has thunder bay as the city of license?
<s>[INST]What power has thunder bay as the city of license? Context: CREATE TABLE table_name_17 (power VARCHAR, city_of_license VARCHAR)[/INST]SELECT power FROM table_name_17 WHERE city_of_license = "thunder bay"</s>
CREATE TABLE table_name_31 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_31 WHERE venue = "victoria park"
What is the home teams score at Victoria Park?
<s>[INST]What is the home teams score at Victoria Park? Context: CREATE TABLE table_name_31 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_31 WHERE venue = "victoria park"</s>
CREATE TABLE table_name_91 (played INTEGER, losses VARCHAR, points VARCHAR, wins VARCHAR, goals_for VARCHAR)
SELECT AVG(played) FROM table_name_91 WHERE wins < 11 AND goals_for > 42 AND points > 22 AND losses = 11
What is the average number played that has fewer than 11 wins, more than 42 goals, more than 22 points, and 11 losses?
<s>[INST]What is the average number played that has fewer than 11 wins, more than 42 goals, more than 22 points, and 11 losses? Context: CREATE TABLE table_name_91 (played INTEGER, losses VARCHAR, points VARCHAR, wins VARCHAR, goals_for VARCHAR)[/INST]SELECT AVG(played) FROM table_name_91 WHERE wins < 11 AND goals_for ...
CREATE TABLE table_name_26 (role VARCHAR, registration VARCHAR)
SELECT role FROM table_name_26 WHERE registration = "s5-hpg s5-hpc"
What is the role of the aircraft that has a registration of s5-hpg s5-hpc?
<s>[INST]What is the role of the aircraft that has a registration of s5-hpg s5-hpc? Context: CREATE TABLE table_name_26 (role VARCHAR, registration VARCHAR)[/INST]SELECT role FROM table_name_26 WHERE registration = "s5-hpg s5-hpc"</s>
CREATE TABLE table_name_76 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_76 WHERE away_team = "liverpool"
Who is the home team with Liverpool as the away?
<s>[INST]Who is the home team with Liverpool as the away? Context: CREATE TABLE table_name_76 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_76 WHERE away_team = "liverpool"</s>
CREATE TABLE table_name_20 (rounds VARCHAR, chassis VARCHAR)
SELECT rounds FROM table_name_20 WHERE chassis = "sf01"
Which round has a car with a chassis of sf01?
<s>[INST]Which round has a car with a chassis of sf01? Context: CREATE TABLE table_name_20 (rounds VARCHAR, chassis VARCHAR)[/INST]SELECT rounds FROM table_name_20 WHERE chassis = "sf01"</s>
CREATE TABLE table_1965650_11 (player VARCHAR, pick__number VARCHAR)
SELECT COUNT(player) FROM table_1965650_11 WHERE pick__number = 166
How many players have the pick number 166?
<s>[INST]How many players have the pick number 166? Context: CREATE TABLE table_1965650_11 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT COUNT(player) FROM table_1965650_11 WHERE pick__number = 166</s>
CREATE TABLE table_name_38 (school_club_team VARCHAR, round VARCHAR, overall VARCHAR)
SELECT school_club_team FROM table_name_38 WHERE round > 13 AND overall = 384
What school/club team did the player who was drafted after round 13 with an overall rank of 384 play for?
<s>[INST]What school/club team did the player who was drafted after round 13 with an overall rank of 384 play for? Context: CREATE TABLE table_name_38 (school_club_team VARCHAR, round VARCHAR, overall VARCHAR)[/INST]SELECT school_club_team FROM table_name_38 WHERE round > 13 AND overall = 384</s>
CREATE TABLE table_27723228_8 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_27723228_8 WHERE record = "16–11"
Where was the game played when the record was 16–11?
<s>[INST]Where was the game played when the record was 16–11? Context: CREATE TABLE table_27723228_8 (location_attendance VARCHAR, record VARCHAR)[/INST]SELECT location_attendance FROM table_27723228_8 WHERE record = "16–11"</s>
CREATE TABLE table_name_91 (viewers INTEGER, share VARCHAR, rating VARCHAR, airdate VARCHAR)
SELECT SUM(viewers) FROM table_name_91 WHERE rating > 7.8 AND airdate = "october 26, 2006" AND share > 14
Of all shows who have a rating larger than 7.8, aired on October 26, 2006, and has a share of over 14, what is the sum of the viewers?
<s>[INST]Of all shows who have a rating larger than 7.8, aired on October 26, 2006, and has a share of over 14, what is the sum of the viewers? Context: CREATE TABLE table_name_91 (viewers INTEGER, share VARCHAR, rating VARCHAR, airdate VARCHAR)[/INST]SELECT SUM(viewers) FROM table_name_91 WHERE rating > 7.8 AND airdat...
CREATE TABLE table_name_65 (death_date VARCHAR, rank VARCHAR, age__as_of_1_february_2014_ VARCHAR)
SELECT death_date FROM table_name_65 WHERE rank < 49 AND age__as_of_1_february_2014_ = "112 years, 172 days"
Which Death date has a Rank smaller than 49, and an Age (as of 1 February 2014) of 112 years, 172 days?
<s>[INST]Which Death date has a Rank smaller than 49, and an Age (as of 1 February 2014) of 112 years, 172 days? Context: CREATE TABLE table_name_65 (death_date VARCHAR, rank VARCHAR, age__as_of_1_february_2014_ VARCHAR)[/INST]SELECT death_date FROM table_name_65 WHERE rank < 49 AND age__as_of_1_february_2014_ = "112 y...
CREATE TABLE table_name_52 (total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT COUNT(total) FROM table_name_52 WHERE gold = 1 AND bronze = 6
How many total medals for the nation with 1 gold and 6 bronzes?
<s>[INST]How many total medals for the nation with 1 gold and 6 bronzes? Context: CREATE TABLE table_name_52 (total VARCHAR, gold VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_52 WHERE gold = 1 AND bronze = 6</s>
CREATE TABLE table_11240028_3 (portrayed_by VARCHAR, character VARCHAR)
SELECT portrayed_by FROM table_11240028_3 WHERE character = "Reed Garrett"
Which characters were portrayed by reed garrett?
<s>[INST]Which characters were portrayed by reed garrett? Context: CREATE TABLE table_11240028_3 (portrayed_by VARCHAR, character VARCHAR)[/INST]SELECT portrayed_by FROM table_11240028_3 WHERE character = "Reed Garrett"</s>
CREATE TABLE table_name_99 (visiting_team VARCHAR, stadium VARCHAR)
SELECT visiting_team FROM table_name_99 WHERE stadium = "rca dome"
Who was the visiting team at the matchup at the RCA Dome?
<s>[INST]Who was the visiting team at the matchup at the RCA Dome? Context: CREATE TABLE table_name_99 (visiting_team VARCHAR, stadium VARCHAR)[/INST]SELECT visiting_team FROM table_name_99 WHERE stadium = "rca dome"</s>
CREATE TABLE table_name_18 (game INTEGER, record VARCHAR)
SELECT AVG(game) FROM table_name_18 WHERE record = "4-1"
What is the average game number when the record is 4-1?
<s>[INST]What is the average game number when the record is 4-1? Context: CREATE TABLE table_name_18 (game INTEGER, record VARCHAR)[/INST]SELECT AVG(game) FROM table_name_18 WHERE record = "4-1"</s>
CREATE TABLE table_name_48 (title VARCHAR, studio VARCHAR)
SELECT title FROM table_name_48 WHERE studio = "embassy pictures"
What is Title, when Studio is "Embassy Pictures"?
<s>[INST]What is Title, when Studio is "Embassy Pictures"? Context: CREATE TABLE table_name_48 (title VARCHAR, studio VARCHAR)[/INST]SELECT title FROM table_name_48 WHERE studio = "embassy pictures"</s>
CREATE TABLE table_name_83 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_83 WHERE away_team = "hawthorn"
hat was Hawthorn's score as the away team?
<s>[INST]hat was Hawthorn's score as the away team? Context: CREATE TABLE table_name_83 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_83 WHERE away_team = "hawthorn"</s>
CREATE TABLE table_name_6 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_6 WHERE team_2 = "gazélec ajaccio (d3)"
what is team 1 when team 2 is gazélec ajaccio (d3)?
<s>[INST]what is team 1 when team 2 is gazélec ajaccio (d3)? Context: CREATE TABLE table_name_6 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_6 WHERE team_2 = "gazélec ajaccio (d3)"</s>
CREATE TABLE table_name_94 (Id VARCHAR)
SELECT 2008 FROM table_name_94 WHERE 2010 = "7"
What is the 2008 value with a 7 in 2010?
<s>[INST]What is the 2008 value with a 7 in 2010? Context: CREATE TABLE table_name_94 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_94 WHERE 2010 = "7"</s>
CREATE TABLE table_name_89 (trial_start_date VARCHAR, candidate_name VARCHAR)
SELECT trial_start_date FROM table_name_89 WHERE candidate_name = "pbt2"
What is Trial Start Date, when Candidate Name is PBT2?
<s>[INST]What is Trial Start Date, when Candidate Name is PBT2? Context: CREATE TABLE table_name_89 (trial_start_date VARCHAR, candidate_name VARCHAR)[/INST]SELECT trial_start_date FROM table_name_89 WHERE candidate_name = "pbt2"</s>
CREATE TABLE table_name_49 (results¹ VARCHAR, date VARCHAR)
SELECT results¹ FROM table_name_49 WHERE date = "december 19"
what results are dated december 19?
<s>[INST]what results are dated december 19? Context: CREATE TABLE table_name_49 (results¹ VARCHAR, date VARCHAR)[/INST]SELECT results¹ FROM table_name_49 WHERE date = "december 19"</s>
CREATE TABLE table_name_2 (group_position VARCHAR, opponents VARCHAR, attendance VARCHAR)
SELECT group_position FROM table_name_2 WHERE opponents = "juventus" AND attendance > 47 OFFSET 786
What group of juventus had an attendance larger than 47,786?
<s>[INST]What group of juventus had an attendance larger than 47,786? Context: CREATE TABLE table_name_2 (group_position VARCHAR, opponents VARCHAR, attendance VARCHAR)[/INST]SELECT group_position FROM table_name_2 WHERE opponents = "juventus" AND attendance > 47 OFFSET 786</s>
CREATE TABLE table_name_35 (other VARCHAR, margin_of_error VARCHAR)
SELECT other FROM table_name_35 WHERE margin_of_error = "± 3%"
what is the percent for other when the margin of error is ± 3%?
<s>[INST]what is the percent for other when the margin of error is ± 3%? Context: CREATE TABLE table_name_35 (other VARCHAR, margin_of_error VARCHAR)[/INST]SELECT other FROM table_name_35 WHERE margin_of_error = "± 3%"</s>
CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR)
SELECT role_description FROM ROLES WHERE role_code = "ED"
What is the description of role code ED?
<s>[INST]What is the description of role code ED? Context: CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR)[/INST]SELECT role_description FROM ROLES WHERE role_code = "ED"</s>
CREATE TABLE table_name_95 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_95 WHERE player = "vince carter"
Which School/Club Team does Vince Carter Play for?
<s>[INST]Which School/Club Team does Vince Carter Play for? Context: CREATE TABLE table_name_95 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_95 WHERE player = "vince carter"</s>
CREATE TABLE table_name_81 (result VARCHAR, captain_2 VARCHAR)
SELECT result FROM table_name_81 WHERE captain_2 = "louis burger"
Which Result has a Captain 2 of louis burger?
<s>[INST]Which Result has a Captain 2 of louis burger? Context: CREATE TABLE table_name_81 (result VARCHAR, captain_2 VARCHAR)[/INST]SELECT result FROM table_name_81 WHERE captain_2 = "louis burger"</s>
CREATE TABLE table_name_11 (last_performance VARCHAR, name VARCHAR)
SELECT last_performance FROM table_name_11 WHERE name = "liam mower"
What is the date of the last performance for Liam Mower?
<s>[INST]What is the date of the last performance for Liam Mower? Context: CREATE TABLE table_name_11 (last_performance VARCHAR, name VARCHAR)[/INST]SELECT last_performance FROM table_name_11 WHERE name = "liam mower"</s>
CREATE TABLE table_17814458_1 (slope_length VARCHAR, elevation_groundstation VARCHAR)
SELECT COUNT(slope_length) FROM table_17814458_1 WHERE elevation_groundstation = 1966
Name the slope length for 1966 groundstation
<s>[INST]Name the slope length for 1966 groundstation Context: CREATE TABLE table_17814458_1 (slope_length VARCHAR, elevation_groundstation VARCHAR)[/INST]SELECT COUNT(slope_length) FROM table_17814458_1 WHERE elevation_groundstation = 1966</s>
CREATE TABLE table_name_10 (leading_lady VARCHAR, title VARCHAR)
SELECT leading_lady FROM table_name_10 WHERE title = "a yank in the r.a.f."
Who is the leading lady in a yank in the r.a.f.?
<s>[INST]Who is the leading lady in a yank in the r.a.f.? Context: CREATE TABLE table_name_10 (leading_lady VARCHAR, title VARCHAR)[/INST]SELECT leading_lady FROM table_name_10 WHERE title = "a yank in the r.a.f."</s>
CREATE TABLE table_name_77 (laps VARCHAR, manufacturer VARCHAR, rider VARCHAR)
SELECT laps FROM table_name_77 WHERE manufacturer = "yamaha" AND rider = "valentino rossi"
How many laps did Valentino rossi have when riding a vehicle manufactured by yamaha?
<s>[INST]How many laps did Valentino rossi have when riding a vehicle manufactured by yamaha? Context: CREATE TABLE table_name_77 (laps VARCHAR, manufacturer VARCHAR, rider VARCHAR)[/INST]SELECT laps FROM table_name_77 WHERE manufacturer = "yamaha" AND rider = "valentino rossi"</s>
CREATE TABLE table_name_96 (Id VARCHAR)
SELECT 2006 FROM table_name_96 WHERE 2002 = "0–1"
What shows for 2006 when 2002 is 0–1?
<s>[INST]What shows for 2006 when 2002 is 0–1? Context: CREATE TABLE table_name_96 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_96 WHERE 2002 = "0–1"</s>