context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_29826467_2 (lmp2_winning_team VARCHAR, flm_winning_team VARCHAR)
SELECT lmp2_winning_team FROM table_29826467_2 WHERE flm_winning_team = "No. 99 JMB Racing"
if the flm winning team is no. 99 jmb racing what is the name of the lmp2 winning team
<s>[INST]if the flm winning team is no. 99 jmb racing what is the name of the lmp2 winning team Context: CREATE TABLE table_29826467_2 (lmp2_winning_team VARCHAR, flm_winning_team VARCHAR)[/INST]SELECT lmp2_winning_team FROM table_29826467_2 WHERE flm_winning_team = "No. 99 JMB Racing"</s>
CREATE TABLE table_23995075_2 (confederation VARCHAR, remaining_places_in_finals VARCHAR)
SELECT confederation FROM table_23995075_2 WHERE remaining_places_in_finals = "4"
What is the confederation when there are 4 places remaining in the finals?
<s>[INST]What is the confederation when there are 4 places remaining in the finals? Context: CREATE TABLE table_23995075_2 (confederation VARCHAR, remaining_places_in_finals VARCHAR)[/INST]SELECT confederation FROM table_23995075_2 WHERE remaining_places_in_finals = "4"</s>
CREATE TABLE table_14325808_1 (density__pop_km²_ VARCHAR, population__2011_census_ VARCHAR)
SELECT density__pop_km²_ FROM table_14325808_1 WHERE population__2011_census_ = 5402
What is the density in places where the 2011 census gives a population of 5402?
<s>[INST]What is the density in places where the 2011 census gives a population of 5402? Context: CREATE TABLE table_14325808_1 (density__pop_km²_ VARCHAR, population__2011_census_ VARCHAR)[/INST]SELECT density__pop_km²_ FROM table_14325808_1 WHERE population__2011_census_ = 5402</s>
CREATE TABLE building (height_feet INTEGER, floors INTEGER)
SELECT COUNT(*) FROM building WHERE height_feet > (SELECT AVG(height_feet) FROM building) OR floors > (SELECT AVG(floors) FROM building)
Show the number of buildings with a height above the average or a number of floors above the average.
<s>[INST]Show the number of buildings with a height above the average or a number of floors above the average. Context: CREATE TABLE building (height_feet INTEGER, floors INTEGER)[/INST]SELECT COUNT(*) FROM building WHERE height_feet > (SELECT AVG(height_feet) FROM building) OR floors > (SELECT AVG(floors) FROM buildin...
CREATE TABLE table_name_53 (reaction INTEGER, heat VARCHAR, name VARCHAR)
SELECT AVG(reaction) FROM table_name_53 WHERE heat > 1 AND name = "brigitte foster-hylton"
What is the average reaction for brigitte foster-hylton after heat 1?
<s>[INST]What is the average reaction for brigitte foster-hylton after heat 1? Context: CREATE TABLE table_name_53 (reaction INTEGER, heat VARCHAR, name VARCHAR)[/INST]SELECT AVG(reaction) FROM table_name_53 WHERE heat > 1 AND name = "brigitte foster-hylton"</s>
CREATE TABLE loan (credit_score INTEGER, cust_id VARCHAR); CREATE TABLE customer (credit_score INTEGER, cust_id VARCHAR)
SELECT AVG(credit_score) FROM customer WHERE cust_id IN (SELECT cust_id FROM loan)
Find the average credit score of the customers who have some loan.
<s>[INST]Find the average credit score of the customers who have some loan. Context: CREATE TABLE loan (credit_score INTEGER, cust_id VARCHAR); CREATE TABLE customer (credit_score INTEGER, cust_id VARCHAR)[/INST]SELECT AVG(credit_score) FROM customer WHERE cust_id IN (SELECT cust_id FROM loan)</s>
CREATE TABLE table_23248869_8 (high_assists VARCHAR, score VARCHAR)
SELECT high_assists FROM table_23248869_8 WHERE score = "L 85–118 (OT)"
Who had the high assists when the score was l 85–118 (ot)
<s>[INST]Who had the high assists when the score was l 85–118 (ot) Context: CREATE TABLE table_23248869_8 (high_assists VARCHAR, score VARCHAR)[/INST]SELECT high_assists FROM table_23248869_8 WHERE score = "L 85–118 (OT)"</s>
CREATE TABLE table_name_6 (rookie VARCHAR, defensive VARCHAR, offensive VARCHAR)
SELECT rookie FROM table_name_6 WHERE defensive = "matt vinc" AND offensive = "pat maddalena"
Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive?
<s>[INST]Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive? Context: CREATE TABLE table_name_6 (rookie VARCHAR, defensive VARCHAR, offensive VARCHAR)[/INST]SELECT rookie FROM table_name_6 WHERE defensive = "matt vinc" AND offensive = "pat maddalena"</s>
CREATE TABLE table_name_29 (top_5 INTEGER, wins VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)
SELECT MAX(top_5) FROM table_name_29 WHERE top_25 < 4 AND cuts_made > 3 AND wins < 0
what is the highest top-5 when the top-25 is less than 4, cuts made is more than 3 and wins is 0?
<s>[INST]what is the highest top-5 when the top-25 is less than 4, cuts made is more than 3 and wins is 0? Context: CREATE TABLE table_name_29 (top_5 INTEGER, wins VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)[/INST]SELECT MAX(top_5) FROM table_name_29 WHERE top_25 < 4 AND cuts_made > 3 AND wins < 0</s>
CREATE TABLE table_name_79 (rider VARCHAR, speed VARCHAR)
SELECT rider FROM table_name_79 WHERE speed = "120.953 mph"
Who was the rider with 120.953 mph speed?
<s>[INST]Who was the rider with 120.953 mph speed? Context: CREATE TABLE table_name_79 (rider VARCHAR, speed VARCHAR)[/INST]SELECT rider FROM table_name_79 WHERE speed = "120.953 mph"</s>
CREATE TABLE table_name_10 (team__b_ VARCHAR, s_no INTEGER)
SELECT team__b_ FROM table_name_10 WHERE s_no > 17
What is Team (B), when S No is greater than 17?
<s>[INST]What is Team (B), when S No is greater than 17? Context: CREATE TABLE table_name_10 (team__b_ VARCHAR, s_no INTEGER)[/INST]SELECT team__b_ FROM table_name_10 WHERE s_no > 17</s>
CREATE TABLE table_name_30 (time VARCHAR, away_team VARCHAR)
SELECT time FROM table_name_30 WHERE away_team = "happy valley team b"
What time did the match with an away team of Happy Valley Team B start?
<s>[INST]What time did the match with an away team of Happy Valley Team B start? Context: CREATE TABLE table_name_30 (time VARCHAR, away_team VARCHAR)[/INST]SELECT time FROM table_name_30 WHERE away_team = "happy valley team b"</s>
CREATE TABLE table_name_9 (bore_ VARCHAR, _stroke VARCHAR, engine VARCHAR)
SELECT bore_ & _stroke FROM table_name_9 WHERE engine = "351-2v cleveland v8"
Tell me the bore and stroke for Engine of 351-2v cleveland v8
<s>[INST]Tell me the bore and stroke for Engine of 351-2v cleveland v8 Context: CREATE TABLE table_name_9 (bore_ VARCHAR, _stroke VARCHAR, engine VARCHAR)[/INST]SELECT bore_ & _stroke FROM table_name_9 WHERE engine = "351-2v cleveland v8"</s>
CREATE TABLE table_14253123_1 (population__2010___rank_ VARCHAR, area_sq_mi__km_2____rank_ VARCHAR)
SELECT population__2010___rank_ FROM table_14253123_1 WHERE area_sq_mi__km_2____rank_ = "sqmi (km2) (5)"
When the area sq mi (km 2 ) (rank) is sqmi (km2) (5) what is the population (2010) (rank)?
<s>[INST]When the area sq mi (km 2 ) (rank) is sqmi (km2) (5) what is the population (2010) (rank)? Context: CREATE TABLE table_14253123_1 (population__2010___rank_ VARCHAR, area_sq_mi__km_2____rank_ VARCHAR)[/INST]SELECT population__2010___rank_ FROM table_14253123_1 WHERE area_sq_mi__km_2____rank_ = "sqmi (km2) (5)...
CREATE TABLE table_name_50 (erp_w VARCHAR, class VARCHAR, call_sign VARCHAR)
SELECT erp_w FROM table_name_50 WHERE class = "a" AND call_sign = "wffc"
Which ERP W has a Class of A, and a Call sign of wffc?
<s>[INST]Which ERP W has a Class of A, and a Call sign of wffc? Context: CREATE TABLE table_name_50 (erp_w VARCHAR, class VARCHAR, call_sign VARCHAR)[/INST]SELECT erp_w FROM table_name_50 WHERE class = "a" AND call_sign = "wffc"</s>
CREATE TABLE table_11391954_3 (Half VARCHAR, country VARCHAR)
SELECT COUNT(Half) AS marathon__mens_ FROM table_11391954_3 WHERE country = "Kazakhstan"
Whatis the total number of half marathon (mens) that represented kazakhstan?
<s>[INST]Whatis the total number of half marathon (mens) that represented kazakhstan? Context: CREATE TABLE table_11391954_3 (Half VARCHAR, country VARCHAR)[/INST]SELECT COUNT(Half) AS marathon__mens_ FROM table_11391954_3 WHERE country = "Kazakhstan"</s>
CREATE TABLE table_225204_4 (successor VARCHAR, district VARCHAR)
SELECT successor FROM table_225204_4 WHERE district = "North Carolina 13th"
Name the successor for north carolina 13th
<s>[INST]Name the successor for north carolina 13th Context: CREATE TABLE table_225204_4 (successor VARCHAR, district VARCHAR)[/INST]SELECT successor FROM table_225204_4 WHERE district = "North Carolina 13th"</s>
CREATE TABLE table_name_9 (athlete VARCHAR)
SELECT 215 FROM table_name_9 WHERE athlete = "tom parsons"
What is the 2.15 for Tom Parsons?
<s>[INST]What is the 2.15 for Tom Parsons? Context: CREATE TABLE table_name_9 (athlete VARCHAR)[/INST]SELECT 215 FROM table_name_9 WHERE athlete = "tom parsons"</s>
CREATE TABLE table_name_99 (floors__stories_ INTEGER, height_ft__m_ VARCHAR, rank VARCHAR)
SELECT AVG(floors__stories_) FROM table_name_99 WHERE height_ft__m_ = "274 (84)" AND rank > 1
How many floors are in the 274 (84) ft (m) building that is ranked number 1?
<s>[INST]How many floors are in the 274 (84) ft (m) building that is ranked number 1? Context: CREATE TABLE table_name_99 (floors__stories_ INTEGER, height_ft__m_ VARCHAR, rank VARCHAR)[/INST]SELECT AVG(floors__stories_) FROM table_name_99 WHERE height_ft__m_ = "274 (84)" AND rank > 1</s>
CREATE TABLE table_25816476_2 (team_coxy VARCHAR, air_date VARCHAR, team_guest_captain VARCHAR)
SELECT COUNT(team_coxy) FROM table_25816476_2 WHERE air_date = "24 January 2010" AND team_guest_captain = "Gail Porter"
How many entries are there for team coxy for the air date of 24 january 2010 and team guest captain of gail porter?
<s>[INST]How many entries are there for team coxy for the air date of 24 january 2010 and team guest captain of gail porter? Context: CREATE TABLE table_25816476_2 (team_coxy VARCHAR, air_date VARCHAR, team_guest_captain VARCHAR)[/INST]SELECT COUNT(team_coxy) FROM table_25816476_2 WHERE air_date = "24 January 2010" AND...
CREATE TABLE table_name_14 (law_school_attended VARCHAR, appointed VARCHAR, name VARCHAR)
SELECT law_school_attended FROM table_name_14 WHERE appointed > 2004 AND name = "judge sheila abdus-salaam"
Which law school did judge sheila abdus-salaam attend, who was appointed in 2004?
<s>[INST]Which law school did judge sheila abdus-salaam attend, who was appointed in 2004? Context: CREATE TABLE table_name_14 (law_school_attended VARCHAR, appointed VARCHAR, name VARCHAR)[/INST]SELECT law_school_attended FROM table_name_14 WHERE appointed > 2004 AND name = "judge sheila abdus-salaam"</s>
CREATE TABLE table_2668405_17 (first_elected VARCHAR, candidates VARCHAR)
SELECT COUNT(first_elected) FROM table_2668405_17 WHERE candidates = "Leven Powell (F) 63.8% Roger West (DR) 36.4%"
How many times were the candidates leven powell (f) 63.8% roger west (dr) 36.4%?
<s>[INST]How many times were the candidates leven powell (f) 63.8% roger west (dr) 36.4%? Context: CREATE TABLE table_2668405_17 (first_elected VARCHAR, candidates VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_2668405_17 WHERE candidates = "Leven Powell (F) 63.8% Roger West (DR) 36.4%"</s>
CREATE TABLE table_name_77 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_77 WHERE driver = "chris amon"
Who constructed Chris Amon's car?
<s>[INST]Who constructed Chris Amon's car? Context: CREATE TABLE table_name_77 (constructor VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_77 WHERE driver = "chris amon"</s>
CREATE TABLE table_name_38 (byes INTEGER, losses INTEGER)
SELECT AVG(byes) FROM table_name_38 WHERE losses < 4
Which Byes have Losses smaller than 4?
<s>[INST]Which Byes have Losses smaller than 4? Context: CREATE TABLE table_name_38 (byes INTEGER, losses INTEGER)[/INST]SELECT AVG(byes) FROM table_name_38 WHERE losses < 4</s>
CREATE TABLE table_13779832_1 (local_title VARCHAR, seasons_and_winners VARCHAR)
SELECT local_title FROM table_13779832_1 WHERE seasons_and_winners = "Series 1, 2006: Lucy Benjamin"
what's the local title with seasons and winners being series 1, 2006: lucy benjamin
<s>[INST]what's the local title with seasons and winners being series 1, 2006: lucy benjamin Context: CREATE TABLE table_13779832_1 (local_title VARCHAR, seasons_and_winners VARCHAR)[/INST]SELECT local_title FROM table_13779832_1 WHERE seasons_and_winners = "Series 1, 2006: Lucy Benjamin"</s>
CREATE TABLE table_name_13 (losses INTEGER, draws VARCHAR, season VARCHAR)
SELECT MIN(losses) FROM table_name_13 WHERE draws > 0 AND season < 1926
What is the least amount of losses for the team that had more than 0 draws during the seasons earlier than 1926?
<s>[INST]What is the least amount of losses for the team that had more than 0 draws during the seasons earlier than 1926? Context: CREATE TABLE table_name_13 (losses INTEGER, draws VARCHAR, season VARCHAR)[/INST]SELECT MIN(losses) FROM table_name_13 WHERE draws > 0 AND season < 1926</s>
CREATE TABLE table_name_59 (italian VARCHAR, mexican VARCHAR)
SELECT italian FROM table_name_59 WHERE mexican = "frijol"
What is the Italian word for the Mexican word frijol?
<s>[INST]What is the Italian word for the Mexican word frijol? Context: CREATE TABLE table_name_59 (italian VARCHAR, mexican VARCHAR)[/INST]SELECT italian FROM table_name_59 WHERE mexican = "frijol"</s>
CREATE TABLE table_name_10 (rank INTEGER, time VARCHAR)
SELECT MIN(rank) FROM table_name_10 WHERE time = "7:52.53"
What was the rank when then time was 7:52.53?
<s>[INST]What was the rank when then time was 7:52.53? Context: CREATE TABLE table_name_10 (rank INTEGER, time VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_10 WHERE time = "7:52.53"</s>
CREATE TABLE table_15409403_1 (regular_season VARCHAR, year VARCHAR)
SELECT regular_season FROM table_15409403_1 WHERE year = 2012
What was the regular season from year 2012?
<s>[INST]What was the regular season from year 2012? Context: CREATE TABLE table_15409403_1 (regular_season VARCHAR, year VARCHAR)[/INST]SELECT regular_season FROM table_15409403_1 WHERE year = 2012</s>
CREATE TABLE table_name_99 (opponent VARCHAR, week VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_99 WHERE week < 5 AND date = "september 23, 2001"
Who was the opponent before week 5 that played on September 23, 2001?
<s>[INST]Who was the opponent before week 5 that played on September 23, 2001? Context: CREATE TABLE table_name_99 (opponent VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_99 WHERE week < 5 AND date = "september 23, 2001"</s>
CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_vacancy FROM table_11190568_7 WHERE outgoing_manager = "Damien Fox"
When are the vacancy dates for outgoing manager Damien Fox?
<s>[INST]When are the vacancy dates for outgoing manager Damien Fox? Context: CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_of_vacancy FROM table_11190568_7 WHERE outgoing_manager = "Damien Fox"</s>
CREATE TABLE table_name_41 (points VARCHAR)
SELECT points FROM table_name_41 WHERE "club" = "club"
How many points does Club have?
<s>[INST]How many points does Club have? Context: CREATE TABLE table_name_41 (points VARCHAR)[/INST]SELECT points FROM table_name_41 WHERE "club" = "club"</s>
CREATE TABLE table_24613895_1 (number_of_believers VARCHAR, name_of_village VARCHAR)
SELECT COUNT(number_of_believers) FROM table_24613895_1 WHERE name_of_village = "Patavur"
Name the number of believers for patavur
<s>[INST]Name the number of believers for patavur Context: CREATE TABLE table_24613895_1 (number_of_believers VARCHAR, name_of_village VARCHAR)[/INST]SELECT COUNT(number_of_believers) FROM table_24613895_1 WHERE name_of_village = "Patavur"</s>
CREATE TABLE table_name_92 (bayonet_lug VARCHAR, name VARCHAR)
SELECT bayonet_lug FROM table_name_92 WHERE name = "ar-15 lightweight"
Name the bayonet lug with ar-15 lightweight
<s>[INST]Name the bayonet lug with ar-15 lightweight Context: CREATE TABLE table_name_92 (bayonet_lug VARCHAR, name VARCHAR)[/INST]SELECT bayonet_lug FROM table_name_92 WHERE name = "ar-15 lightweight"</s>
CREATE TABLE table_name_95 (date VARCHAR, time VARCHAR)
SELECT date FROM table_name_95 WHERE time = "2:59"
What date has 2:59 as the time?
<s>[INST]What date has 2:59 as the time? Context: CREATE TABLE table_name_95 (date VARCHAR, time VARCHAR)[/INST]SELECT date FROM table_name_95 WHERE time = "2:59"</s>
CREATE TABLE table_name_55 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_55 WHERE home_team = "carlton"
What was the opponents score when Carlton played at home?
<s>[INST]What was the opponents score when Carlton played at home? Context: CREATE TABLE table_name_55 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_55 WHERE home_team = "carlton"</s>
CREATE TABLE table_name_38 (cuts_made INTEGER, top_10 VARCHAR)
SELECT AVG(cuts_made) FROM table_name_38 WHERE top_10 = 11
How many average cuts made when 11 is the Top-10?
<s>[INST]How many average cuts made when 11 is the Top-10? Context: CREATE TABLE table_name_38 (cuts_made INTEGER, top_10 VARCHAR)[/INST]SELECT AVG(cuts_made) FROM table_name_38 WHERE top_10 = 11</s>
CREATE TABLE table_name_81 (team VARCHAR, points VARCHAR, year VARCHAR)
SELECT team FROM table_name_81 WHERE points < 6 AND year > 1969
Which team has points less than 6 in a year after 1969?
<s>[INST]Which team has points less than 6 in a year after 1969? Context: CREATE TABLE table_name_81 (team VARCHAR, points VARCHAR, year VARCHAR)[/INST]SELECT team FROM table_name_81 WHERE points < 6 AND year > 1969</s>
CREATE TABLE table_26708105_2 (occurrence INTEGER, matrix_sim VARCHAR)
SELECT MAX(occurrence) FROM table_26708105_2 WHERE matrix_sim = "0.925"
What occurence has 0.925 listed as the matrix sim?
<s>[INST]What occurence has 0.925 listed as the matrix sim? Context: CREATE TABLE table_26708105_2 (occurrence INTEGER, matrix_sim VARCHAR)[/INST]SELECT MAX(occurrence) FROM table_26708105_2 WHERE matrix_sim = "0.925"</s>
CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)
SELECT directed_by FROM table_29063233_1 WHERE uk_viewers__million_ = "6.09"
Who directed the episode with UK viewership of 6.09 million?
<s>[INST]Who directed the episode with UK viewership of 6.09 million? Context: CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)[/INST]SELECT directed_by FROM table_29063233_1 WHERE uk_viewers__million_ = "6.09"</s>
CREATE TABLE table_name_65 (runs INTEGER, ovrs VARCHAR, wkts VARCHAR)
SELECT SUM(runs) FROM table_name_65 WHERE ovrs < 2 AND wkts > 0
What is the sum of the runs when the wkts were bigger than 0 and ovrs were smaller than 2?
<s>[INST]What is the sum of the runs when the wkts were bigger than 0 and ovrs were smaller than 2? Context: CREATE TABLE table_name_65 (runs INTEGER, ovrs VARCHAR, wkts VARCHAR)[/INST]SELECT SUM(runs) FROM table_name_65 WHERE ovrs < 2 AND wkts > 0</s>
CREATE TABLE table_name_62 (length VARCHAR, fleet_number VARCHAR)
SELECT length FROM table_name_62 WHERE fleet_number = "501-506"
What is the length of fleet number 501-506?
<s>[INST]What is the length of fleet number 501-506? Context: CREATE TABLE table_name_62 (length VARCHAR, fleet_number VARCHAR)[/INST]SELECT length FROM table_name_62 WHERE fleet_number = "501-506"</s>
CREATE TABLE table_name_89 (distance VARCHAR, name VARCHAR)
SELECT distance FROM table_name_89 WHERE name = "mjåkollen"
what is the distance for mjåkollen?
<s>[INST]what is the distance for mjåkollen? Context: CREATE TABLE table_name_89 (distance VARCHAR, name VARCHAR)[/INST]SELECT distance FROM table_name_89 WHERE name = "mjåkollen"</s>
CREATE TABLE table_name_8 (driving_wheels VARCHAR, original_ner_class VARCHAR)
SELECT driving_wheels FROM table_name_8 WHERE original_ner_class = "m1"
What driving wheels are on the m1 original NER class?
<s>[INST]What driving wheels are on the m1 original NER class? Context: CREATE TABLE table_name_8 (driving_wheels VARCHAR, original_ner_class VARCHAR)[/INST]SELECT driving_wheels FROM table_name_8 WHERE original_ner_class = "m1"</s>
CREATE TABLE table_name_38 (player VARCHAR, position VARCHAR, college VARCHAR)
SELECT player FROM table_name_38 WHERE position = "quarterback" AND college = "arkansas state"
Who is the quarterback for Arkansas State?
<s>[INST]Who is the quarterback for Arkansas State? Context: CREATE TABLE table_name_38 (player VARCHAR, position VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_38 WHERE position = "quarterback" AND college = "arkansas state"</s>
CREATE TABLE table_name_5 (rank INTEGER, mountain_range VARCHAR)
SELECT MAX(rank) FROM table_name_5 WHERE mountain_range = "kuskokwim mountains"
Where does the Kuskokwim Mountains rank on the chart?
<s>[INST]Where does the Kuskokwim Mountains rank on the chart? Context: CREATE TABLE table_name_5 (rank INTEGER, mountain_range VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_5 WHERE mountain_range = "kuskokwim mountains"</s>
CREATE TABLE table_name_96 (year INTEGER, release_air_date VARCHAR, role VARCHAR, radio_station_production_company VARCHAR)
SELECT SUM(year) FROM table_name_96 WHERE role = "narrator" AND radio_station_production_company = "bbc audiobooks" AND release_air_date = "13 november 2008"
Role of narrator, and a Radio Station/Production Company of bbc audiobooks, and a Release/Air Date of 13 november 2008 is what sum of the year?
<s>[INST]Role of narrator, and a Radio Station/Production Company of bbc audiobooks, and a Release/Air Date of 13 november 2008 is what sum of the year? Context: CREATE TABLE table_name_96 (year INTEGER, release_air_date VARCHAR, role VARCHAR, radio_station_production_company VARCHAR)[/INST]SELECT SUM(year) FROM table_...
CREATE TABLE table_name_85 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_85 WHERE score = "11-10"
What was the record when the score was 11-10?
<s>[INST]What was the record when the score was 11-10? Context: CREATE TABLE table_name_85 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_85 WHERE score = "11-10"</s>
CREATE TABLE table_name_87 (result VARCHAR, film VARCHAR, award VARCHAR)
SELECT result FROM table_name_87 WHERE film = "dharma chakram" AND award = "nandi award for best actor"
What is Result, when Film is "Dharma Chakram", and when Award is "Nandi Award for Best Actor"?
<s>[INST]What is Result, when Film is "Dharma Chakram", and when Award is "Nandi Award for Best Actor"? Context: CREATE TABLE table_name_87 (result VARCHAR, film VARCHAR, award VARCHAR)[/INST]SELECT result FROM table_name_87 WHERE film = "dharma chakram" AND award = "nandi award for best actor"</s>
CREATE TABLE table_name_21 (earned VARCHAR, rank VARCHAR)
SELECT earned FROM table_name_21 WHERE rank = 5
What earned has 5 for the rank?
<s>[INST]What earned has 5 for the rank? Context: CREATE TABLE table_name_21 (earned VARCHAR, rank VARCHAR)[/INST]SELECT earned FROM table_name_21 WHERE rank = 5</s>
CREATE TABLE table_name_82 (international_mail INTEGER, total_freight_and_mail VARCHAR, year VARCHAR, domestic_freight VARCHAR, domestic_mail VARCHAR)
SELECT MIN(international_mail) FROM table_name_82 WHERE domestic_freight < 72 AND domestic_mail = 0 AND year < 2012 AND total_freight_and_mail > 4 OFFSET 695
What is the international mail with the lowest number to have less than 72 domestic freight, 0 domestic mail later than 2012 with total freight and mail more than 4,695?
<s>[INST]What is the international mail with the lowest number to have less than 72 domestic freight, 0 domestic mail later than 2012 with total freight and mail more than 4,695? Context: CREATE TABLE table_name_82 (international_mail INTEGER, total_freight_and_mail VARCHAR, year VARCHAR, domestic_freight VARCHAR, dome...
CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_40 WHERE venue = "mcg"
Who was the home team at MCG?
<s>[INST]Who was the home team at MCG? Context: CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_40 WHERE venue = "mcg"</s>
CREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.57"
Who directed the episode that was viewed by 2.57 million people in the U.S.?
<s>[INST]Who directed the episode that was viewed by 2.57 million people in the U.S.? Context: CREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.57"</s>
CREATE TABLE table_name_44 (speed VARCHAR, rider VARCHAR)
SELECT speed FROM table_name_44 WHERE rider = "peter williams"
What is the average speed of rider Peter Williams?
<s>[INST]What is the average speed of rider Peter Williams? Context: CREATE TABLE table_name_44 (speed VARCHAR, rider VARCHAR)[/INST]SELECT speed FROM table_name_44 WHERE rider = "peter williams"</s>
CREATE TABLE table_name_77 (attendance INTEGER, week VARCHAR)
SELECT MAX(attendance) FROM table_name_77 WHERE week = 7
In Week 7, what is the highest attendance number?
<s>[INST]In Week 7, what is the highest attendance number? Context: CREATE TABLE table_name_77 (attendance INTEGER, week VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_77 WHERE week = 7</s>
CREATE TABLE table_25716397_1 (directed_by VARCHAR, written_by VARCHAR)
SELECT COUNT(directed_by) FROM table_25716397_1 WHERE written_by = "Joe Toplyn"
How many people directed the episode that Joe Toplyn wrote?
<s>[INST]How many people directed the episode that Joe Toplyn wrote? Context: CREATE TABLE table_25716397_1 (directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_25716397_1 WHERE written_by = "Joe Toplyn"</s>
CREATE TABLE table_name_31 (season VARCHAR, average VARCHAR)
SELECT season FROM table_name_31 WHERE average = 37.5
Which season's average was 37.5?
<s>[INST]Which season's average was 37.5? Context: CREATE TABLE table_name_31 (season VARCHAR, average VARCHAR)[/INST]SELECT season FROM table_name_31 WHERE average = 37.5</s>
CREATE TABLE table_name_60 (position VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
SELECT position FROM table_name_60 WHERE co_contestant__yaar_vs_pyaar_ = "tina sachdev"
What is Tina Sachdev's position?
<s>[INST]What is Tina Sachdev's position? Context: CREATE TABLE table_name_60 (position VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)[/INST]SELECT position FROM table_name_60 WHERE co_contestant__yaar_vs_pyaar_ = "tina sachdev"</s>
CREATE TABLE table_name_73 (team_2 VARCHAR, team_1 VARCHAR)
SELECT team_2 FROM table_name_73 WHERE team_1 = "sc gagnoa"
Who played as Team 2 against Team 1 SC Gagnoa?
<s>[INST]Who played as Team 2 against Team 1 SC Gagnoa? Context: CREATE TABLE table_name_73 (team_2 VARCHAR, team_1 VARCHAR)[/INST]SELECT team_2 FROM table_name_73 WHERE team_1 = "sc gagnoa"</s>
CREATE TABLE table_name_74 (number_of_deputies INTEGER, percentage_of_votes VARCHAR)
SELECT SUM(number_of_deputies) FROM table_name_74 WHERE percentage_of_votes = "94.2%"
What is the number of deputies with 94.2% of the votes?
<s>[INST]What is the number of deputies with 94.2% of the votes? Context: CREATE TABLE table_name_74 (number_of_deputies INTEGER, percentage_of_votes VARCHAR)[/INST]SELECT SUM(number_of_deputies) FROM table_name_74 WHERE percentage_of_votes = "94.2%"</s>
CREATE TABLE table_name_13 (event VARCHAR, record VARCHAR)
SELECT event FROM table_name_13 WHERE record = "3-0"
What is Event, when Record is "3-0"?
<s>[INST]What is Event, when Record is "3-0"? Context: CREATE TABLE table_name_13 (event VARCHAR, record VARCHAR)[/INST]SELECT event FROM table_name_13 WHERE record = "3-0"</s>
CREATE TABLE table_name_1 (grid VARCHAR, laps VARCHAR, rider VARCHAR)
SELECT grid FROM table_name_1 WHERE laps = 23 AND rider = "josh brookes"
What grid has 23 laps done by Josh Brookes?
<s>[INST]What grid has 23 laps done by Josh Brookes? Context: CREATE TABLE table_name_1 (grid VARCHAR, laps VARCHAR, rider VARCHAR)[/INST]SELECT grid FROM table_name_1 WHERE laps = 23 AND rider = "josh brookes"</s>
CREATE TABLE table_24257833_4 (webkit_version VARCHAR, minor_version VARCHAR)
SELECT webkit_version FROM table_24257833_4 WHERE minor_version = "3.1.2"
What is the webkit version when the minor version was 3.1.2.?
<s>[INST]What is the webkit version when the minor version was 3.1.2.? Context: CREATE TABLE table_24257833_4 (webkit_version VARCHAR, minor_version VARCHAR)[/INST]SELECT webkit_version FROM table_24257833_4 WHERE minor_version = "3.1.2"</s>
CREATE TABLE table_25647137_2 (points INTEGER, player VARCHAR)
SELECT MIN(points) FROM table_25647137_2 WHERE player = "Robert Stenberg"
How many points did robert stenberg have?
<s>[INST]How many points did robert stenberg have? Context: CREATE TABLE table_25647137_2 (points INTEGER, player VARCHAR)[/INST]SELECT MIN(points) FROM table_25647137_2 WHERE player = "Robert Stenberg"</s>
CREATE TABLE table_1140067_2 (date VARCHAR, race VARCHAR)
SELECT date FROM table_1140067_2 WHERE race = "Monaco Grand Prix"
What was the date for monaco grand prix?
<s>[INST]What was the date for monaco grand prix? Context: CREATE TABLE table_1140067_2 (date VARCHAR, race VARCHAR)[/INST]SELECT date FROM table_1140067_2 WHERE race = "Monaco Grand Prix"</s>
CREATE TABLE table_name_64 (formula VARCHAR, driver VARCHAR)
SELECT formula FROM table_name_64 WHERE driver = "john moore-brabazon"
Which formula had a driver of John Moore-Brabazon?
<s>[INST]Which formula had a driver of John Moore-Brabazon? Context: CREATE TABLE table_name_64 (formula VARCHAR, driver VARCHAR)[/INST]SELECT formula FROM table_name_64 WHERE driver = "john moore-brabazon"</s>
CREATE TABLE table_name_5 (venue VARCHAR, against VARCHAR)
SELECT venue FROM table_name_5 WHERE against = 16
Which venue has 16 against?
<s>[INST]Which venue has 16 against? Context: CREATE TABLE table_name_5 (venue VARCHAR, against VARCHAR)[/INST]SELECT venue FROM table_name_5 WHERE against = 16</s>
CREATE TABLE table_name_46 (class_aA VARCHAR, class_aAA VARCHAR, commerce VARCHAR)
SELECT class_aA FROM table_name_46 WHERE class_aAA = commerce
what AA class has a AAA class of commerce?
<s>[INST]what AA class has a AAA class of commerce? Context: CREATE TABLE table_name_46 (class_aA VARCHAR, class_aAA VARCHAR, commerce VARCHAR)[/INST]SELECT class_aA FROM table_name_46 WHERE class_aAA = commerce</s>
CREATE TABLE table_23284271_11 (high_rebounds VARCHAR, location_attendance VARCHAR)
SELECT high_rebounds FROM table_23284271_11 WHERE location_attendance = "American Airlines Center 20,557"
Name the high rebounds for american airlines center 20,557
<s>[INST]Name the high rebounds for american airlines center 20,557 Context: CREATE TABLE table_23284271_11 (high_rebounds VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_rebounds FROM table_23284271_11 WHERE location_attendance = "American Airlines Center 20,557"</s>
CREATE TABLE table_name_15 (lost INTEGER, drawn INTEGER)
SELECT MAX(lost) FROM table_name_15 WHERE drawn < 0
what is the most games lost when there were 0 draws?
<s>[INST]what is the most games lost when there were 0 draws? Context: CREATE TABLE table_name_15 (lost INTEGER, drawn INTEGER)[/INST]SELECT MAX(lost) FROM table_name_15 WHERE drawn < 0</s>
CREATE TABLE table_name_53 (surface VARCHAR, opponent_in_final VARCHAR)
SELECT surface FROM table_name_53 WHERE opponent_in_final = "david nalbandian"
What is the surface of the tournament with david nalbandian as the opponent in the final?
<s>[INST]What is the surface of the tournament with david nalbandian as the opponent in the final? Context: CREATE TABLE table_name_53 (surface VARCHAR, opponent_in_final VARCHAR)[/INST]SELECT surface FROM table_name_53 WHERE opponent_in_final = "david nalbandian"</s>
CREATE TABLE table_name_76 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_76 WHERE away_team = "north melbourne"
How big was the crowd in game that featured the visiting team of north melbourne?
<s>[INST]How big was the crowd in game that featured the visiting team of north melbourne? Context: CREATE TABLE table_name_76 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT crowd FROM table_name_76 WHERE away_team = "north melbourne"</s>
CREATE TABLE table_name_58 (player VARCHAR, year VARCHAR, college_high_school_club VARCHAR)
SELECT player FROM table_name_58 WHERE year > 2007 AND college_high_school_club = "arizona"
Who is the player with a year later than 2007 and the college/high school/club of Arizona?
<s>[INST]Who is the player with a year later than 2007 and the college/high school/club of Arizona? Context: CREATE TABLE table_name_58 (player VARCHAR, year VARCHAR, college_high_school_club VARCHAR)[/INST]SELECT player FROM table_name_58 WHERE year > 2007 AND college_high_school_club = "arizona"</s>
CREATE TABLE table_name_60 (category VARCHAR, year VARCHAR, role_episode VARCHAR)
SELECT category FROM table_name_60 WHERE year < 2009 AND role_episode = "libby goldstein and junie lowry-johnson"
Which Category was from before 2009 with a Role/Episode of Libby Goldstein and Junie Lowry-Johnson?
<s>[INST]Which Category was from before 2009 with a Role/Episode of Libby Goldstein and Junie Lowry-Johnson? Context: CREATE TABLE table_name_60 (category VARCHAR, year VARCHAR, role_episode VARCHAR)[/INST]SELECT category FROM table_name_60 WHERE year < 2009 AND role_episode = "libby goldstein and junie lowry-johnson"<...
CREATE TABLE table_name_39 (date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_39 WHERE catalog = "rr 8655-2"
What is the release Date of Catalog RR 8655-2?
<s>[INST]What is the release Date of Catalog RR 8655-2? Context: CREATE TABLE table_name_39 (date VARCHAR, catalog VARCHAR)[/INST]SELECT date FROM table_name_39 WHERE catalog = "rr 8655-2"</s>
CREATE TABLE table_name_37 (date INTEGER, building VARCHAR)
SELECT MIN(date) FROM table_name_37 WHERE building = "victoria hall"
Name the least date for the place which has a building of victoria hall
<s>[INST]Name the least date for the place which has a building of victoria hall Context: CREATE TABLE table_name_37 (date INTEGER, building VARCHAR)[/INST]SELECT MIN(date) FROM table_name_37 WHERE building = "victoria hall"</s>
CREATE TABLE table_name_5 (recipient_s_ VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)
SELECT recipient_s_ FROM table_name_5 WHERE result = "nominated" AND category = "most popular drama" AND year > 2004
Who was the recipient when the show was nominated for Most Popular Drama after 2004?
<s>[INST]Who was the recipient when the show was nominated for Most Popular Drama after 2004? Context: CREATE TABLE table_name_5 (recipient_s_ VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)[/INST]SELECT recipient_s_ FROM table_name_5 WHERE result = "nominated" AND category = "most popular drama" AND year > 20...
CREATE TABLE table_name_97 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_97 WHERE date = "19 september 2012"
What is Outcome, when Date is "19 September 2012"?
<s>[INST]What is Outcome, when Date is "19 September 2012"? Context: CREATE TABLE table_name_97 (outcome VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_97 WHERE date = "19 september 2012"</s>
CREATE TABLE table_14871601_2 (losses INTEGER, scored VARCHAR)
SELECT MAX(losses) FROM table_14871601_2 WHERE scored = 25
What was the number of losses when the scored value was 25?
<s>[INST]What was the number of losses when the scored value was 25? Context: CREATE TABLE table_14871601_2 (losses INTEGER, scored VARCHAR)[/INST]SELECT MAX(losses) FROM table_14871601_2 WHERE scored = 25</s>
CREATE TABLE table_name_26 (athlete VARCHAR, semifinal VARCHAR, event VARCHAR)
SELECT athlete FROM table_name_26 WHERE semifinal = "did not advance" AND event = "light heavyweight –81 kg"
For the light heavyweight –81 kg event that did not advance to semifinal, who was the athlete?
<s>[INST]For the light heavyweight –81 kg event that did not advance to semifinal, who was the athlete? Context: CREATE TABLE table_name_26 (athlete VARCHAR, semifinal VARCHAR, event VARCHAR)[/INST]SELECT athlete FROM table_name_26 WHERE semifinal = "did not advance" AND event = "light heavyweight –81 kg"</s>
CREATE TABLE table_name_50 (class_aAA VARCHAR, school_year VARCHAR)
SELECT class_aAA FROM table_name_50 WHERE school_year = "1989-90"
what AAA class has a school year of 1989-90?
<s>[INST]what AAA class has a school year of 1989-90? Context: CREATE TABLE table_name_50 (class_aAA VARCHAR, school_year VARCHAR)[/INST]SELECT class_aAA FROM table_name_50 WHERE school_year = "1989-90"</s>
CREATE TABLE table_name_5 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR)
SELECT MIN(field_goals) FROM table_name_5 WHERE touchdowns = 4 AND extra_points < 9
What is the smallest number of field goals for players with 4 touchdowns and less than 9 extra points?
<s>[INST]What is the smallest number of field goals for players with 4 touchdowns and less than 9 extra points? Context: CREATE TABLE table_name_5 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR)[/INST]SELECT MIN(field_goals) FROM table_name_5 WHERE touchdowns = 4 AND extra_points < 9</s>
CREATE TABLE table_name_52 (to_par INTEGER, player VARCHAR, total VARCHAR)
SELECT SUM(to_par) FROM table_name_52 WHERE player = "meg mallon" AND total > 157
What is the sum of the to par of player meg mallon, who had a total greater than 157?
<s>[INST]What is the sum of the to par of player meg mallon, who had a total greater than 157? Context: CREATE TABLE table_name_52 (to_par INTEGER, player VARCHAR, total VARCHAR)[/INST]SELECT SUM(to_par) FROM table_name_52 WHERE player = "meg mallon" AND total > 157</s>
CREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, driver VARCHAR)
SELECT MIN(laps) FROM table_name_65 WHERE grid < 4 AND driver = "juan pablo montoya"
What is the low lap total for the under 4 grid car driven by juan pablo montoya?
<s>[INST]What is the low lap total for the under 4 grid car driven by juan pablo montoya? Context: CREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, driver VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_65 WHERE grid < 4 AND driver = "juan pablo montoya"</s>
CREATE TABLE table_17001658_9 (high_assists VARCHAR, game VARCHAR)
SELECT high_assists FROM table_17001658_9 WHERE game = 70
Name the high assists for 70 game
<s>[INST]Name the high assists for 70 game Context: CREATE TABLE table_17001658_9 (high_assists VARCHAR, game VARCHAR)[/INST]SELECT high_assists FROM table_17001658_9 WHERE game = 70</s>
CREATE TABLE table_name_28 (mean_free_path VARCHAR, vacuum_range VARCHAR)
SELECT mean_free_path FROM table_name_28 WHERE vacuum_range = "medium vacuum"
What is Mean Free Path, when Vacuum Range is "medium vacuum"?
<s>[INST]What is Mean Free Path, when Vacuum Range is "medium vacuum"? Context: CREATE TABLE table_name_28 (mean_free_path VARCHAR, vacuum_range VARCHAR)[/INST]SELECT mean_free_path FROM table_name_28 WHERE vacuum_range = "medium vacuum"</s>
CREATE TABLE table_name_40 (attendance INTEGER, record VARCHAR, date VARCHAR)
SELECT SUM(attendance) FROM table_name_40 WHERE record = "loss" AND date = "march 16, 1990"
What is the attendance sum of the game on March 16, 1990 with a loss record?
<s>[INST]What is the attendance sum of the game on March 16, 1990 with a loss record? Context: CREATE TABLE table_name_40 (attendance INTEGER, record VARCHAR, date VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_40 WHERE record = "loss" AND date = "march 16, 1990"</s>
CREATE TABLE table_24649082_1 (_number INTEGER, written_by VARCHAR)
SELECT MAX(_number) FROM table_24649082_1 WHERE written_by = "Matthew Pitts"
What is the most recent episode number written by Matthew Pitts?
<s>[INST]What is the most recent episode number written by Matthew Pitts? Context: CREATE TABLE table_24649082_1 (_number INTEGER, written_by VARCHAR)[/INST]SELECT MAX(_number) FROM table_24649082_1 WHERE written_by = "Matthew Pitts"</s>
CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_15 WHERE venue = "brunswick street oval"
What was the away team score for the game played at the Brunswick Street Oval?
<s>[INST]What was the away team score for the game played at the Brunswick Street Oval? Context: CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_15 WHERE venue = "brunswick street oval"</s>
CREATE TABLE table_name_93 (quantity VARCHAR, drg_number_s_ VARCHAR)
SELECT COUNT(quantity) FROM table_name_93 WHERE drg_number_s_ = "e 62 01–e 62 05"
What is the quantity when the DRG was E 62 01–E 62 05?
<s>[INST]What is the quantity when the DRG was E 62 01–E 62 05? Context: CREATE TABLE table_name_93 (quantity VARCHAR, drg_number_s_ VARCHAR)[/INST]SELECT COUNT(quantity) FROM table_name_93 WHERE drg_number_s_ = "e 62 01–e 62 05"</s>
CREATE TABLE table_name_25 (height VARCHAR, contestant VARCHAR)
SELECT height FROM table_name_25 WHERE contestant = "andrea suarez lazaro"
What is Andrea Suarez Lazaro's height?
<s>[INST]What is Andrea Suarez Lazaro's height? Context: CREATE TABLE table_name_25 (height VARCHAR, contestant VARCHAR)[/INST]SELECT height FROM table_name_25 WHERE contestant = "andrea suarez lazaro"</s>
CREATE TABLE table_12791809_1 (super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR, number_of_truck_loads_north VARCHAR)
SELECT super_b_capacity_reached_[_citation_needed_] FROM table_12791809_1 WHERE number_of_truck_loads_north = 7735
When was the Super B capacity reached when the number of truck loads north was 7735?
<s>[INST]When was the Super B capacity reached when the number of truck loads north was 7735? Context: CREATE TABLE table_12791809_1 (super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR, number_of_truck_loads_north VARCHAR)[/INST]SELECT super_b_capacity_reached_[_citation_needed_] FROM table_12791809_1 WHERE n...
CREATE TABLE table_name_74 (finish VARCHAR, start VARCHAR, year VARCHAR)
SELECT finish FROM table_name_74 WHERE start = "3" AND year = 2010
What is the Finish when the start shows 3 in the year of 2010?
<s>[INST]What is the Finish when the start shows 3 in the year of 2010? Context: CREATE TABLE table_name_74 (finish VARCHAR, start VARCHAR, year VARCHAR)[/INST]SELECT finish FROM table_name_74 WHERE start = "3" AND year = 2010</s>
CREATE TABLE table_name_78 (position VARCHAR, surname VARCHAR)
SELECT position FROM table_name_78 WHERE surname = "naylor"
Which Position has a Surname of naylor?
<s>[INST]Which Position has a Surname of naylor? Context: CREATE TABLE table_name_78 (position VARCHAR, surname VARCHAR)[/INST]SELECT position FROM table_name_78 WHERE surname = "naylor"</s>
CREATE TABLE table_30057479_1 (synthesis VARCHAR, output_power VARCHAR)
SELECT COUNT(synthesis) FROM table_30057479_1 WHERE output_power = "5~16.2 pW per cycle (calculated)"
How many synthesis are there for 5~16.2 pw per cycle (calculated) output power?
<s>[INST]How many synthesis are there for 5~16.2 pw per cycle (calculated) output power? Context: CREATE TABLE table_30057479_1 (synthesis VARCHAR, output_power VARCHAR)[/INST]SELECT COUNT(synthesis) FROM table_30057479_1 WHERE output_power = "5~16.2 pW per cycle (calculated)"</s>
CREATE TABLE table_12834315_5 (barrel_length VARCHAR, colt_model_no VARCHAR)
SELECT barrel_length FROM table_12834315_5 WHERE colt_model_no = "LE6921SP"
What is the barrel length for a cold model le6921sp?
<s>[INST]What is the barrel length for a cold model le6921sp? Context: CREATE TABLE table_12834315_5 (barrel_length VARCHAR, colt_model_no VARCHAR)[/INST]SELECT barrel_length FROM table_12834315_5 WHERE colt_model_no = "LE6921SP"</s>
CREATE TABLE table_28846752_5 (innings VARCHAR, average VARCHAR)
SELECT innings FROM table_28846752_5 WHERE average = "19.60"
how many innings have an average of 19.60?
<s>[INST]how many innings have an average of 19.60? Context: CREATE TABLE table_28846752_5 (innings VARCHAR, average VARCHAR)[/INST]SELECT innings FROM table_28846752_5 WHERE average = "19.60"</s>
CREATE TABLE table_299271_2 (attendance VARCHAR, competition VARCHAR)
SELECT attendance FROM table_299271_2 WHERE competition = "UEFA Champions League"
How many people attended the uefa champions league competition?
<s>[INST]How many people attended the uefa champions league competition? Context: CREATE TABLE table_299271_2 (attendance VARCHAR, competition VARCHAR)[/INST]SELECT attendance FROM table_299271_2 WHERE competition = "UEFA Champions League"</s>
CREATE TABLE table_13241993_3 (part_6 VARCHAR, episode__number VARCHAR)
SELECT COUNT(part_6) FROM table_13241993_3 WHERE episode__number = 5
How many part 6 parts are there in the episode number 5?
<s>[INST]How many part 6 parts are there in the episode number 5? Context: CREATE TABLE table_13241993_3 (part_6 VARCHAR, episode__number VARCHAR)[/INST]SELECT COUNT(part_6) FROM table_13241993_3 WHERE episode__number = 5</s>
CREATE TABLE table_19744915_17 (vote_percentage VARCHAR, couple VARCHAR)
SELECT vote_percentage FROM table_19744915_17 WHERE couple = "Todd and Susie"
For couple Todd and Susie, what was the vote percentage?
<s>[INST]For couple Todd and Susie, what was the vote percentage? Context: CREATE TABLE table_19744915_17 (vote_percentage VARCHAR, couple VARCHAR)[/INST]SELECT vote_percentage FROM table_19744915_17 WHERE couple = "Todd and Susie"</s>