context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, county VARCHAR)
SELECT mccain__percentage FROM table_20278716_2 WHERE county = "Burlington"
What percentage of voters choise McCain in Burlington?
<s>[INST]What percentage of voters choise McCain in Burlington? Context: CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, county VARCHAR)[/INST]SELECT mccain__percentage FROM table_20278716_2 WHERE county = "Burlington"</s>
CREATE TABLE table_name_99 (games INTEGER, player VARCHAR)
SELECT AVG(games) FROM table_name_99 WHERE player = "nick rimando"
How many average games did Nick Rimando have?
<s>[INST]How many average games did Nick Rimando have? Context: CREATE TABLE table_name_99 (games INTEGER, player VARCHAR)[/INST]SELECT AVG(games) FROM table_name_99 WHERE player = "nick rimando"</s>
CREATE TABLE table_name_24 (total INTEGER, rank VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT MAX(total) FROM table_name_24 WHERE gold = 2 AND bronze = 0 AND rank < 2
What is the highest metal total when there are 2 Gold medals, 0 Bronze metals, and the rank is smaller than 2?
<s>[INST]What is the highest metal total when there are 2 Gold medals, 0 Bronze metals, and the rank is smaller than 2? Context: CREATE TABLE table_name_24 (total INTEGER, rank VARCHAR, gold VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(total) FROM table_name_24 WHERE gold = 2 AND bronze = 0 AND rank < 2</s>
CREATE TABLE table_name_36 (tv_station__operator_ VARCHAR)
SELECT MAX(2005) FROM table_name_36 WHERE 2007 < 42 AND tv_station__operator_ = "tv3" AND 2010 < 29.5
What's the 2005 of TV3 when there is less than 42 in 2007 and less than 29.5 in 2010?
<s>[INST]What's the 2005 of TV3 when there is less than 42 in 2007 and less than 29.5 in 2010? Context: CREATE TABLE table_name_36 (tv_station__operator_ VARCHAR)[/INST]SELECT MAX(2005) FROM table_name_36 WHERE 2007 < 42 AND tv_station__operator_ = "tv3" AND 2010 < 29.5</s>
CREATE TABLE table_name_43 (school VARCHAR, mascot VARCHAR, _number___county VARCHAR, ihsaa_football_class VARCHAR)
SELECT school FROM table_name_43 WHERE _number___county = "85 wabash" AND ihsaa_football_class = "a" AND mascot = "norsemen"
Which School has a #/ County of 85 wabash, and an IHSAA Football Class of A, and a Mascot of norsemen?
<s>[INST]Which School has a #/ County of 85 wabash, and an IHSAA Football Class of A, and a Mascot of norsemen? Context: CREATE TABLE table_name_43 (school VARCHAR, mascot VARCHAR, _number___county VARCHAR, ihsaa_football_class VARCHAR)[/INST]SELECT school FROM table_name_43 WHERE _number___county = "85 wabash" AND ihs...
CREATE TABLE table_name_31 (team VARCHAR, league VARCHAR, year VARCHAR)
SELECT team FROM table_name_31 WHERE league = "national" AND year = 2001
What team has a national league in 2001?
<s>[INST]What team has a national league in 2001? Context: CREATE TABLE table_name_31 (team VARCHAR, league VARCHAR, year VARCHAR)[/INST]SELECT team FROM table_name_31 WHERE league = "national" AND year = 2001</s>
CREATE TABLE table_name_41 (year VARCHAR, rank VARCHAR)
SELECT year FROM table_name_41 WHERE rank = "8"
Name the year for 8 rank
<s>[INST]Name the year for 8 rank Context: CREATE TABLE table_name_41 (year VARCHAR, rank VARCHAR)[/INST]SELECT year FROM table_name_41 WHERE rank = "8"</s>
CREATE TABLE table_1682865_1 (introduction VARCHAR, numeral VARCHAR)
SELECT introduction FROM table_1682865_1 WHERE numeral = "6d"
What date was the 6d introduced?
<s>[INST]What date was the 6d introduced? Context: CREATE TABLE table_1682865_1 (introduction VARCHAR, numeral VARCHAR)[/INST]SELECT introduction FROM table_1682865_1 WHERE numeral = "6d"</s>
CREATE TABLE table_name_78 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_78 WHERE date = "august 20, 2004"
Where was the game held on August 20, 2004?
<s>[INST]Where was the game held on August 20, 2004? Context: CREATE TABLE table_name_78 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_78 WHERE date = "august 20, 2004"</s>
CREATE TABLE table_name_50 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_50 WHERE venue = "windy hill"
Which Away team played at the Windy Hill Venue?
<s>[INST]Which Away team played at the Windy Hill Venue? Context: CREATE TABLE table_name_50 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_50 WHERE venue = "windy hill"</s>
CREATE TABLE table_27155243_3 (total__number VARCHAR, directed_by VARCHAR)
SELECT COUNT(total__number) FROM table_27155243_3 WHERE directed_by = "Sheri Elwood"
How many different episode numbers are there for the episodes directed by Sheri Elwood?
<s>[INST]How many different episode numbers are there for the episodes directed by Sheri Elwood? Context: CREATE TABLE table_27155243_3 (total__number VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(total__number) FROM table_27155243_3 WHERE directed_by = "Sheri Elwood"</s>
CREATE TABLE table_name_62 (player VARCHAR, new_wnba_team VARCHAR, college_country_team VARCHAR)
SELECT player FROM table_name_62 WHERE new_wnba_team = "miami sol" AND college_country_team = "north carolina state"
Who is the player who played for the Miami Sol and went to school at North Carolina State?
<s>[INST]Who is the player who played for the Miami Sol and went to school at North Carolina State? Context: CREATE TABLE table_name_62 (player VARCHAR, new_wnba_team VARCHAR, college_country_team VARCHAR)[/INST]SELECT player FROM table_name_62 WHERE new_wnba_team = "miami sol" AND college_country_team = "north carolin...
CREATE TABLE table_12828723_3 (lost VARCHAR, try_bonus VARCHAR, points_for VARCHAR)
SELECT lost FROM table_12828723_3 WHERE try_bonus = "5" AND points_for = "390"
what's the loss with try bonus being 5 and points for being 390
<s>[INST]what's the loss with try bonus being 5 and points for being 390 Context: CREATE TABLE table_12828723_3 (lost VARCHAR, try_bonus VARCHAR, points_for VARCHAR)[/INST]SELECT lost FROM table_12828723_3 WHERE try_bonus = "5" AND points_for = "390"</s>
CREATE TABLE problems (product_id VARCHAR); CREATE TABLE product (product_name VARCHAR, product_id VARCHAR)
SELECT COUNT(*), T1.product_name FROM product AS T1 JOIN problems AS T2 ON T1.product_id = T2.product_id GROUP BY T1.product_name ORDER BY COUNT(*) DESC LIMIT 1
How many problems does the product with the most problems have? List the number of the problems and product name.
<s>[INST]How many problems does the product with the most problems have? List the number of the problems and product name. Context: CREATE TABLE problems (product_id VARCHAR); CREATE TABLE product (product_name VARCHAR, product_id VARCHAR)[/INST]SELECT COUNT(*), T1.product_name FROM product AS T1 JOIN problems AS T2 ON...
CREATE TABLE table_name_40 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_40 WHERE score = 67 - 72 - 71 - 75 = 285
Which To par has a Score of 67-72-71-75=285?
<s>[INST]Which To par has a Score of 67-72-71-75=285? Context: CREATE TABLE table_name_40 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_40 WHERE score = 67 - 72 - 71 - 75 = 285</s>
CREATE TABLE table_name_35 (score INTEGER, place VARCHAR, player VARCHAR)
SELECT AVG(score) FROM table_name_35 WHERE place = "t1" AND player = "hubert green"
Which Score has a Place of t1, and a Player of hubert green?
<s>[INST]Which Score has a Place of t1, and a Player of hubert green? Context: CREATE TABLE table_name_35 (score INTEGER, place VARCHAR, player VARCHAR)[/INST]SELECT AVG(score) FROM table_name_35 WHERE place = "t1" AND player = "hubert green"</s>
CREATE TABLE table_name_96 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
SELECT AVG(bronze) FROM table_name_96 WHERE nation = "romania" AND silver > 1
How many bronze medals for Romania when the silver count is more than 1?
<s>[INST]How many bronze medals for Romania when the silver count is more than 1? Context: CREATE TABLE table_name_96 (bronze INTEGER, nation VARCHAR, silver VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_96 WHERE nation = "romania" AND silver > 1</s>
CREATE TABLE table_name_25 (tracking_method VARCHAR, latest_stable_release VARCHAR, price_in_usd VARCHAR)
SELECT tracking_method FROM table_name_25 WHERE latest_stable_release = "n/a" AND price_in_usd = "from $202/month"
Which Tracking Method has a Latest stable release of n/a, and a Price in USD of from $202/month?
<s>[INST]Which Tracking Method has a Latest stable release of n/a, and a Price in USD of from $202/month? Context: CREATE TABLE table_name_25 (tracking_method VARCHAR, latest_stable_release VARCHAR, price_in_usd VARCHAR)[/INST]SELECT tracking_method FROM table_name_25 WHERE latest_stable_release = "n/a" AND price_in_us...
CREATE TABLE table_name_35 (laps VARCHAR, time_retired VARCHAR)
SELECT laps FROM table_name_35 WHERE time_retired = "+8 laps"
Tell me the Laps for time/retired of +8 laps
<s>[INST]Tell me the Laps for time/retired of +8 laps Context: CREATE TABLE table_name_35 (laps VARCHAR, time_retired VARCHAR)[/INST]SELECT laps FROM table_name_35 WHERE time_retired = "+8 laps"</s>
CREATE TABLE product (product_name VARCHAR, product_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (product_id VARCHAR, reported_by_staff_id VARCHAR)
SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = "Lacey" AND T3.staff_last_name = "Bosco" INTERSECT SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.pr...
Find the products which have problems reported by both Lacey Bosco and Kenton Champlin?
<s>[INST]Find the products which have problems reported by both Lacey Bosco and Kenton Champlin? Context: CREATE TABLE product (product_name VARCHAR, product_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (product_id VARCHAR, reported_by_staf...
CREATE TABLE table_2562572_9 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR)
SELECT cyrillic_name_other_names FROM table_2562572_9 WHERE population__2011_ = 2125
What is the cyrillic name for the settlement with the population of 2125?
<s>[INST]What is the cyrillic name for the settlement with the population of 2125? Context: CREATE TABLE table_2562572_9 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR)[/INST]SELECT cyrillic_name_other_names FROM table_2562572_9 WHERE population__2011_ = 2125</s>
CREATE TABLE table_name_99 (pick INTEGER, position VARCHAR)
SELECT SUM(pick) FROM table_name_99 WHERE position = "guard"
What is the sum of the pick of the guard position player?
<s>[INST]What is the sum of the pick of the guard position player? Context: CREATE TABLE table_name_99 (pick INTEGER, position VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_99 WHERE position = "guard"</s>
CREATE TABLE table_name_44 (year INTEGER, result VARCHAR)
SELECT AVG(year) FROM table_name_44 WHERE result = "34-25"
What Year had a Result of 34-25?
<s>[INST]What Year had a Result of 34-25? Context: CREATE TABLE table_name_44 (year INTEGER, result VARCHAR)[/INST]SELECT AVG(year) FROM table_name_44 WHERE result = "34-25"</s>
CREATE TABLE table_name_97 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_97 WHERE tie_no = 28
what is the score when the tie no is 28?
<s>[INST]what is the score when the tie no is 28? Context: CREATE TABLE table_name_97 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_97 WHERE tie_no = 28</s>
CREATE TABLE table_17718005_2 (points_1 VARCHAR, team VARCHAR)
SELECT points_1 FROM table_17718005_2 WHERE team = "Ellesmere Port & Neston"
When ellesmere port & neston is the team what are the points 1?
<s>[INST]When ellesmere port & neston is the team what are the points 1? Context: CREATE TABLE table_17718005_2 (points_1 VARCHAR, team VARCHAR)[/INST]SELECT points_1 FROM table_17718005_2 WHERE team = "Ellesmere Port & Neston"</s>
CREATE TABLE table_name_96 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_96 WHERE attendance = "rose garden 20,126"
What is the record for the game that shows the Rose Garden 20,126 as attendance?
<s>[INST]What is the record for the game that shows the Rose Garden 20,126 as attendance? Context: CREATE TABLE table_name_96 (record VARCHAR, attendance VARCHAR)[/INST]SELECT record FROM table_name_96 WHERE attendance = "rose garden 20,126"</s>
CREATE TABLE table_name_57 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_name_57 WHERE date = "september 17, 2000"
How many weeks did a game happen on September 17, 2000?
<s>[INST]How many weeks did a game happen on September 17, 2000? Context: CREATE TABLE table_name_57 (week VARCHAR, date VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_57 WHERE date = "september 17, 2000"</s>
CREATE TABLE table_name_31 (week INTEGER, attendance VARCHAR)
SELECT MIN(week) FROM table_name_31 WHERE attendance = 65 OFFSET 866
What was the first week to have attendance of 65,866?
<s>[INST]What was the first week to have attendance of 65,866? Context: CREATE TABLE table_name_31 (week INTEGER, attendance VARCHAR)[/INST]SELECT MIN(week) FROM table_name_31 WHERE attendance = 65 OFFSET 866</s>
CREATE TABLE table_name_56 (game INTEGER, location VARCHAR)
SELECT SUM(game) FROM table_name_56 WHERE location = "staples center"
What was the total games played at the Staples Center?
<s>[INST]What was the total games played at the Staples Center? Context: CREATE TABLE table_name_56 (game INTEGER, location VARCHAR)[/INST]SELECT SUM(game) FROM table_name_56 WHERE location = "staples center"</s>
CREATE TABLE table_name_86 (label VARCHAR, format VARCHAR)
SELECT label FROM table_name_86 WHERE format = "lp"
What is the label with the LP format?
<s>[INST]What is the label with the LP format? Context: CREATE TABLE table_name_86 (label VARCHAR, format VARCHAR)[/INST]SELECT label FROM table_name_86 WHERE format = "lp"</s>
CREATE TABLE table_name_38 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_38 WHERE player = "leo diegel"
What place is player leo diegel?
<s>[INST]What place is player leo diegel? Context: CREATE TABLE table_name_38 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_38 WHERE player = "leo diegel"</s>
CREATE TABLE table_name_67 (played VARCHAR, goals_for VARCHAR, points VARCHAR, position VARCHAR)
SELECT COUNT(played) FROM table_name_67 WHERE points = "31-7" AND position = 16 AND goals_for < 35
Name the total number of played when points of is 31-7, position is 16 and goals for is less than 35
<s>[INST]Name the total number of played when points of is 31-7, position is 16 and goals for is less than 35 Context: CREATE TABLE table_name_67 (played VARCHAR, goals_for VARCHAR, points VARCHAR, position VARCHAR)[/INST]SELECT COUNT(played) FROM table_name_67 WHERE points = "31-7" AND position = 16 AND goals_for < 35...
CREATE TABLE table_name_87 (period_active VARCHAR, genre VARCHAR)
SELECT period_active FROM table_name_87 WHERE genre = "pop"
What was the active period for the pop genre?
<s>[INST]What was the active period for the pop genre? Context: CREATE TABLE table_name_87 (period_active VARCHAR, genre VARCHAR)[/INST]SELECT period_active FROM table_name_87 WHERE genre = "pop"</s>
CREATE TABLE table_23476629_2 (age VARCHAR, hometown VARCHAR)
SELECT COUNT(age) FROM table_23476629_2 WHERE hometown = "Andujar"
How many contestants of whatever age are there whose hometown of Andujar?
<s>[INST]How many contestants of whatever age are there whose hometown of Andujar? Context: CREATE TABLE table_23476629_2 (age VARCHAR, hometown VARCHAR)[/INST]SELECT COUNT(age) FROM table_23476629_2 WHERE hometown = "Andujar"</s>
CREATE TABLE table_name_26 (score_final INTEGER, rank_final VARCHAR, year VARCHAR)
SELECT MIN(score_final) FROM table_name_26 WHERE rank_final = 7 AND year > 2009
Which the lowest Score-Fina has a Rank-Final of 7 and a Year larger than 2009?
<s>[INST]Which the lowest Score-Fina has a Rank-Final of 7 and a Year larger than 2009? Context: CREATE TABLE table_name_26 (score_final INTEGER, rank_final VARCHAR, year VARCHAR)[/INST]SELECT MIN(score_final) FROM table_name_26 WHERE rank_final = 7 AND year > 2009</s>
CREATE TABLE table_name_67 (region VARCHAR, date VARCHAR)
SELECT region FROM table_name_67 WHERE date = "early september 1999"
Which Region has a Date of early september 1999?
<s>[INST]Which Region has a Date of early september 1999? Context: CREATE TABLE table_name_67 (region VARCHAR, date VARCHAR)[/INST]SELECT region FROM table_name_67 WHERE date = "early september 1999"</s>
CREATE TABLE table_name_73 (points INTEGER, year INTEGER)
SELECT AVG(points) FROM table_name_73 WHERE year < 1964
What is the average points of the drivers before 1964?
<s>[INST]What is the average points of the drivers before 1964? Context: CREATE TABLE table_name_73 (points INTEGER, year INTEGER)[/INST]SELECT AVG(points) FROM table_name_73 WHERE year < 1964</s>
CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, week VARCHAR)
SELECT SUM(attendance) FROM table_name_22 WHERE date = "1983-11-21" AND week < 12
before week 12 what was the attendance on 1983-11-21?
<s>[INST]before week 12 what was the attendance on 1983-11-21? Context: CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, week VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_22 WHERE date = "1983-11-21" AND week < 12</s>
CREATE TABLE table_name_55 (win__percentage INTEGER, drawn INTEGER)
SELECT SUM(win__percentage) FROM table_name_55 WHERE drawn > 35
Tell me the sum of win % for drawn being larger than 35
<s>[INST]Tell me the sum of win % for drawn being larger than 35 Context: CREATE TABLE table_name_55 (win__percentage INTEGER, drawn INTEGER)[/INST]SELECT SUM(win__percentage) FROM table_name_55 WHERE drawn > 35</s>
CREATE TABLE table_name_47 (time_to_ft__m__at_55 INTEGER, time_to_ft__m__at_40°__seconds_ INTEGER)
SELECT MAX(time_to_ft__m__at_55) AS °__seconds_ FROM table_name_47 WHERE time_to_ft__m__at_40°__seconds_ < 9.6
What is the maximum amount of time a shell travels at 55° when it traveled less than 9.6 seconds at 40°?
<s>[INST]What is the maximum amount of time a shell travels at 55° when it traveled less than 9.6 seconds at 40°? Context: CREATE TABLE table_name_47 (time_to_ft__m__at_55 INTEGER, time_to_ft__m__at_40°__seconds_ INTEGER)[/INST]SELECT MAX(time_to_ft__m__at_55) AS °__seconds_ FROM table_name_47 WHERE time_to_ft__m__at_4...
CREATE TABLE table_10953197_4 (no_in_season VARCHAR, production_code VARCHAR)
SELECT no_in_season FROM table_10953197_4 WHERE production_code = "2395118"
What's the number of the episode with production code 2395118?
<s>[INST]What's the number of the episode with production code 2395118? Context: CREATE TABLE table_10953197_4 (no_in_season VARCHAR, production_code VARCHAR)[/INST]SELECT no_in_season FROM table_10953197_4 WHERE production_code = "2395118"</s>
CREATE TABLE table_name_98 (top_10 INTEGER, wins VARCHAR, top_25 VARCHAR)
SELECT SUM(top_10) FROM table_name_98 WHERE wins > 2 AND top_25 < 16
What is the sum of Top 10 performances that have more than 2 wins and is higher than number 16 in the Top 25?
<s>[INST]What is the sum of Top 10 performances that have more than 2 wins and is higher than number 16 in the Top 25? Context: CREATE TABLE table_name_98 (top_10 INTEGER, wins VARCHAR, top_25 VARCHAR)[/INST]SELECT SUM(top_10) FROM table_name_98 WHERE wins > 2 AND top_25 < 16</s>
CREATE TABLE APPELLATIONS (County VARCHAR, Appelation VARCHAR); CREATE TABLE WINE (Appelation VARCHAR)
SELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation GROUP BY T2.Appelation HAVING COUNT(*) <= 3
Find the country of all appelations who have at most three wines.
<s>[INST]Find the country of all appelations who have at most three wines. Context: CREATE TABLE APPELLATIONS (County VARCHAR, Appelation VARCHAR); CREATE TABLE WINE (Appelation VARCHAR)[/INST]SELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation GROUP BY T2.Appelation HAVING COUNT(*...
CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)
SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge' EXCEPT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.am...
Find the name of dorms which have TV Lounge but no Study Room as amenity.
<s>[INST]Find the name of dorms which have TV Lounge but no Study Room as amenity. Context: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)[/INST]SELECT T1.dorm_name FROM dorm AS T1 JOIN ha...
CREATE TABLE table_name_34 (yam_ VARCHAR, y_ VARCHAR, cassava_ VARCHAR, e_ VARCHAR)
SELECT yam_[y_] FROM table_name_34 WHERE cassava_[e_] = "0.11"
What is the yam amount when the Cassava amount is 0.11?
<s>[INST]What is the yam amount when the Cassava amount is 0.11? Context: CREATE TABLE table_name_34 (yam_ VARCHAR, y_ VARCHAR, cassava_ VARCHAR, e_ VARCHAR)[/INST]SELECT yam_[y_] FROM table_name_34 WHERE cassava_[e_] = "0.11"</s>
CREATE TABLE table_name_63 (launched VARCHAR, laid_down VARCHAR)
SELECT launched FROM table_name_63 WHERE laid_down = "31 october 1981"
What is Launched, when Laid Down is "31 October 1981"?
<s>[INST]What is Launched, when Laid Down is "31 October 1981"? Context: CREATE TABLE table_name_63 (launched VARCHAR, laid_down VARCHAR)[/INST]SELECT launched FROM table_name_63 WHERE laid_down = "31 october 1981"</s>
CREATE TABLE table_name_56 (player VARCHAR, conf VARCHAR, pos VARCHAR)
SELECT player FROM table_name_56 WHERE conf = "pac-10" AND pos = "g"
Which player had a conference of PAC-10 and position of G?
<s>[INST]Which player had a conference of PAC-10 and position of G? Context: CREATE TABLE table_name_56 (player VARCHAR, conf VARCHAR, pos VARCHAR)[/INST]SELECT player FROM table_name_56 WHERE conf = "pac-10" AND pos = "g"</s>
CREATE TABLE table_2528382_2 (Co VARCHAR, singers VARCHAR, movie_album VARCHAR)
SELECT Co - singers FROM table_2528382_2 WHERE movie_album = "Pyaasa"
Which co-singers appear in the movie Pyaasa?
<s>[INST]Which co-singers appear in the movie Pyaasa? Context: CREATE TABLE table_2528382_2 (Co VARCHAR, singers VARCHAR, movie_album VARCHAR)[/INST]SELECT Co - singers FROM table_2528382_2 WHERE movie_album = "Pyaasa"</s>
CREATE TABLE table_name_25 (money___ INTEGER, score VARCHAR)
SELECT MIN(money___) AS $__ FROM table_name_25 WHERE score = 70 - 68 - 73 - 68 = 279
Which Money has a Score of 70-68-73-68=279?
<s>[INST]Which Money has a Score of 70-68-73-68=279? Context: CREATE TABLE table_name_25 (money___ INTEGER, score VARCHAR)[/INST]SELECT MIN(money___) AS $__ FROM table_name_25 WHERE score = 70 - 68 - 73 - 68 = 279</s>
CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_80 WHERE date = "july 1"
What source has july 1 as the date?
<s>[INST]What source has july 1 as the date? Context: CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_80 WHERE date = "july 1"</s>
CREATE TABLE table_15463188_7 (school_club_team VARCHAR, name VARCHAR)
SELECT school_club_team FROM table_15463188_7 WHERE name = "Norman Gonzales"
Nametheh school team for norman gonzales
<s>[INST]Nametheh school team for norman gonzales Context: CREATE TABLE table_15463188_7 (school_club_team VARCHAR, name VARCHAR)[/INST]SELECT school_club_team FROM table_15463188_7 WHERE name = "Norman Gonzales"</s>
CREATE TABLE table_name_64 (county VARCHAR, peak VARCHAR, elevation__m_ VARCHAR, isolation__km_ VARCHAR)
SELECT county FROM table_name_64 WHERE elevation__m_ < 1833 AND isolation__km_ > 18 AND peak = "store lenangstind"
What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind?
<s>[INST]What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind? Context: CREATE TABLE table_name_64 (county VARCHAR, peak VARCHAR, elevation__m_ VARCHAR, isolation__km_ VARCHAR)[/INST]SELECT county FROM table_name_64 WHERE elevation__m_ < 1833 AND isolation__...
CREATE TABLE table_name_62 (type VARCHAR, position VARCHAR, location VARCHAR)
SELECT type FROM table_name_62 WHERE position = "ambassador" AND location = "rabat"
what is the type when the position is ambassador and the location is rabat?
<s>[INST]what is the type when the position is ambassador and the location is rabat? Context: CREATE TABLE table_name_62 (type VARCHAR, position VARCHAR, location VARCHAR)[/INST]SELECT type FROM table_name_62 WHERE position = "ambassador" AND location = "rabat"</s>
CREATE TABLE table_name_15 (pick INTEGER, round VARCHAR, overall VARCHAR)
SELECT MIN(pick) FROM table_name_15 WHERE round < 3 AND overall > 4
What is the lowest pick with fewer than 3 rounds and more than 4 overall?
<s>[INST]What is the lowest pick with fewer than 3 rounds and more than 4 overall? Context: CREATE TABLE table_name_15 (pick INTEGER, round VARCHAR, overall VARCHAR)[/INST]SELECT MIN(pick) FROM table_name_15 WHERE round < 3 AND overall > 4</s>
CREATE TABLE table_1342218_5 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342218_5 WHERE district = "Arkansas 2"
Who is the candidate for the district Arkansas 2?
<s>[INST]Who is the candidate for the district Arkansas 2? Context: CREATE TABLE table_1342218_5 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342218_5 WHERE district = "Arkansas 2"</s>
CREATE TABLE table_name_70 (date VARCHAR, format VARCHAR)
SELECT date FROM table_name_70 WHERE format = "cd"
Which date is in CD format?
<s>[INST]Which date is in CD format? Context: CREATE TABLE table_name_70 (date VARCHAR, format VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE format = "cd"</s>
CREATE TABLE table_name_96 (money_requested__ INTEGER, first_aired VARCHAR, company_or_product_name VARCHAR)
SELECT AVG(money_requested__) AS £_ FROM table_name_96 WHERE first_aired = "18 january 2005" AND company_or_product_name = "iv cam"
What is the average money requested in the episode first aired on 18 January 2005 by the company/product name IV Cam
<s>[INST]What is the average money requested in the episode first aired on 18 January 2005 by the company/product name IV Cam Context: CREATE TABLE table_name_96 (money_requested__ INTEGER, first_aired VARCHAR, company_or_product_name VARCHAR)[/INST]SELECT AVG(money_requested__) AS £_ FROM table_name_96 WHERE first_air...
CREATE TABLE table_name_86 (freq_currently VARCHAR, frequency VARCHAR)
SELECT freq_currently FROM table_name_86 WHERE frequency = "0 657"
Which freq currently has 0 657?
<s>[INST]Which freq currently has 0 657? Context: CREATE TABLE table_name_86 (freq_currently VARCHAR, frequency VARCHAR)[/INST]SELECT freq_currently FROM table_name_86 WHERE frequency = "0 657"</s>
CREATE TABLE table_name_79 (heat INTEGER, lane VARCHAR, mark VARCHAR)
SELECT MAX(heat) FROM table_name_79 WHERE lane > 1 AND mark = "1:48.61"
What is the highest heat for a lane past 1 and mark of 1:48.61?
<s>[INST]What is the highest heat for a lane past 1 and mark of 1:48.61? Context: CREATE TABLE table_name_79 (heat INTEGER, lane VARCHAR, mark VARCHAR)[/INST]SELECT MAX(heat) FROM table_name_79 WHERE lane > 1 AND mark = "1:48.61"</s>
CREATE TABLE table_1847180_3 (reason_for_change VARCHAR, vacator VARCHAR)
SELECT COUNT(reason_for_change) FROM table_1847180_3 WHERE vacator = "A. Willis Robertson (D)"
How many reasons were given when A. Willis Robertson (D) resigned?
<s>[INST]How many reasons were given when A. Willis Robertson (D) resigned? Context: CREATE TABLE table_1847180_3 (reason_for_change VARCHAR, vacator VARCHAR)[/INST]SELECT COUNT(reason_for_change) FROM table_1847180_3 WHERE vacator = "A. Willis Robertson (D)"</s>
CREATE TABLE table_2108684_1 (episode VARCHAR, run_time VARCHAR)
SELECT episode FROM table_2108684_1 WHERE run_time = "23:38"
What episode had a run time of 23:38?
<s>[INST]What episode had a run time of 23:38? Context: CREATE TABLE table_2108684_1 (episode VARCHAR, run_time VARCHAR)[/INST]SELECT episode FROM table_2108684_1 WHERE run_time = "23:38"</s>
CREATE TABLE table_name_3 (comp VARCHAR, score VARCHAR)
SELECT comp FROM table_name_3 WHERE score = "489.5"
What is the Comp of the Shooter with a Score of 489.5?
<s>[INST]What is the Comp of the Shooter with a Score of 489.5? Context: CREATE TABLE table_name_3 (comp VARCHAR, score VARCHAR)[/INST]SELECT comp FROM table_name_3 WHERE score = "489.5"</s>
CREATE TABLE table_name_92 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_92 WHERE home = "ny rangers"
What is the record for the NY Rangers?
<s>[INST]What is the record for the NY Rangers? Context: CREATE TABLE table_name_92 (record VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_92 WHERE home = "ny rangers"</s>
CREATE TABLE table_name_82 (Id VARCHAR)
SELECT 2005 FROM table_name_82 WHERE 2003 = "a" AND 2011 = "3r"
Name the 2005 for 2003 of a and 2011 of 3r
<s>[INST]Name the 2005 for 2003 of a and 2011 of 3r Context: CREATE TABLE table_name_82 (Id VARCHAR)[/INST]SELECT 2005 FROM table_name_82 WHERE 2003 = "a" AND 2011 = "3r"</s>
CREATE TABLE table_30120556_1 (area__acres__ INTEGER, townland VARCHAR)
SELECT MIN(area__acres__) FROM table_30120556_1 WHERE townland = "Derrynanool"
What is the fewest area in Derrynanool townland?
<s>[INST]What is the fewest area in Derrynanool townland? Context: CREATE TABLE table_30120556_1 (area__acres__ INTEGER, townland VARCHAR)[/INST]SELECT MIN(area__acres__) FROM table_30120556_1 WHERE townland = "Derrynanool"</s>
CREATE TABLE table_name_99 (region_4_release VARCHAR, region_2_release VARCHAR)
SELECT region_4_release FROM table_name_99 WHERE region_2_release = "july 20, 2009"
What is the region 4 release that has july 20, 2009 as the region 2?
<s>[INST]What is the region 4 release that has july 20, 2009 as the region 2? Context: CREATE TABLE table_name_99 (region_4_release VARCHAR, region_2_release VARCHAR)[/INST]SELECT region_4_release FROM table_name_99 WHERE region_2_release = "july 20, 2009"</s>
CREATE TABLE table_name_28 (pepe_michinoku VARCHAR, ryuji_hijikata VARCHAR)
SELECT pepe_michinoku FROM table_name_28 WHERE ryuji_hijikata = "sabin (12:33)"
What is the PEPE Michinoku value for a Ryuji Hijikata value of sabin (12:33)?
<s>[INST]What is the PEPE Michinoku value for a Ryuji Hijikata value of sabin (12:33)? Context: CREATE TABLE table_name_28 (pepe_michinoku VARCHAR, ryuji_hijikata VARCHAR)[/INST]SELECT pepe_michinoku FROM table_name_28 WHERE ryuji_hijikata = "sabin (12:33)"</s>
CREATE TABLE Cartoon (Title VARCHAR, title VARCHAR)
SELECT Title FROM Cartoon ORDER BY title
List the title of all cartoons in alphabetical order.
<s>[INST]List the title of all cartoons in alphabetical order. Context: CREATE TABLE Cartoon (Title VARCHAR, title VARCHAR)[/INST]SELECT Title FROM Cartoon ORDER BY title</s>
CREATE TABLE Behavior_Incident (incident_type_code VARCHAR)
SELECT COUNT(DISTINCT incident_type_code) FROM Behavior_Incident
How many distinct incident type codes are there?
<s>[INST]How many distinct incident type codes are there? Context: CREATE TABLE Behavior_Incident (incident_type_code VARCHAR)[/INST]SELECT COUNT(DISTINCT incident_type_code) FROM Behavior_Incident</s>
CREATE TABLE table_name_40 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_40 WHERE score = 69 - 68 - 66 - 70 = 273
What Player's Score is 69-68-66-70=273?
<s>[INST]What Player's Score is 69-68-66-70=273? Context: CREATE TABLE table_name_40 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_40 WHERE score = 69 - 68 - 66 - 70 = 273</s>
CREATE TABLE table_name_70 (song VARCHAR, issue_date_s_ VARCHAR)
SELECT song FROM table_name_70 WHERE issue_date_s_ = "19 june"
What is the Song with an Issue Date(s) that is 19 june?
<s>[INST]What is the Song with an Issue Date(s) that is 19 june? Context: CREATE TABLE table_name_70 (song VARCHAR, issue_date_s_ VARCHAR)[/INST]SELECT song FROM table_name_70 WHERE issue_date_s_ = "19 june"</s>
CREATE TABLE table_25146455_1 (series VARCHAR, driver VARCHAR)
SELECT series FROM table_25146455_1 WHERE driver = "Bobby Labonte"
In what series did Bobby Labonte drive?
<s>[INST]In what series did Bobby Labonte drive? Context: CREATE TABLE table_25146455_1 (series VARCHAR, driver VARCHAR)[/INST]SELECT series FROM table_25146455_1 WHERE driver = "Bobby Labonte"</s>
CREATE TABLE table_name_65 (team VARCHAR, qual_1 VARCHAR)
SELECT team FROM table_name_65 WHERE qual_1 = "1:16.417"
What is Team, when Qual 1 is 1:16.417?
<s>[INST]What is Team, when Qual 1 is 1:16.417? Context: CREATE TABLE table_name_65 (team VARCHAR, qual_1 VARCHAR)[/INST]SELECT team FROM table_name_65 WHERE qual_1 = "1:16.417"</s>
CREATE TABLE table_name_17 (structure_type VARCHAR, name VARCHAR)
SELECT structure_type FROM table_name_17 WHERE name = "american tower christmas"
What type of structure is there at the American Tower Christmas?
<s>[INST]What type of structure is there at the American Tower Christmas? Context: CREATE TABLE table_name_17 (structure_type VARCHAR, name VARCHAR)[/INST]SELECT structure_type FROM table_name_17 WHERE name = "american tower christmas"</s>
CREATE TABLE table_name_47 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_47 WHERE nation = "austria" AND bronze < 1
What is the total for Austria when there is less than 1 bronze?
<s>[INST]What is the total for Austria when there is less than 1 bronze? Context: CREATE TABLE table_name_47 (total INTEGER, nation VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(total) FROM table_name_47 WHERE nation = "austria" AND bronze < 1</s>
CREATE TABLE table_name_37 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_37 WHERE date = "december 12, 1993"
Who played on december 12, 1993?
<s>[INST]Who played on december 12, 1993? Context: CREATE TABLE table_name_37 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_37 WHERE date = "december 12, 1993"</s>
CREATE TABLE table_name_18 (year_s__won VARCHAR, country VARCHAR, to_par VARCHAR, total VARCHAR)
SELECT year_s__won FROM table_name_18 WHERE to_par > 5 AND total < 155 AND country = "united states"
Can you tell me the Year(s) Won that has the To par larger than 5, and the Total smaller than 155, and the Country of united states?
<s>[INST]Can you tell me the Year(s) Won that has the To par larger than 5, and the Total smaller than 155, and the Country of united states? Context: CREATE TABLE table_name_18 (year_s__won VARCHAR, country VARCHAR, to_par VARCHAR, total VARCHAR)[/INST]SELECT year_s__won FROM table_name_18 WHERE to_par > 5 AND total <...
CREATE TABLE table_name_73 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_73 WHERE venue = "exhibition stadium"
On what Date was the Venue at Exhibition Stadium?
<s>[INST]On what Date was the Venue at Exhibition Stadium? Context: CREATE TABLE table_name_73 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_73 WHERE venue = "exhibition stadium"</s>
CREATE TABLE table_name_65 (top_25 INTEGER, wins VARCHAR, events VARCHAR)
SELECT SUM(top_25) FROM table_name_65 WHERE wins < 1 AND events = 12
Name the top-25 with wins less than 1 and events of 12
<s>[INST]Name the top-25 with wins less than 1 and events of 12 Context: CREATE TABLE table_name_65 (top_25 INTEGER, wins VARCHAR, events VARCHAR)[/INST]SELECT SUM(top_25) FROM table_name_65 WHERE wins < 1 AND events = 12</s>
CREATE TABLE table_21021796_1 (torque VARCHAR, stroke VARCHAR)
SELECT torque FROM table_21021796_1 WHERE stroke = "88.4mm"
List the torque possible when the stroke is 88.4mm?
<s>[INST]List the torque possible when the stroke is 88.4mm? Context: CREATE TABLE table_21021796_1 (torque VARCHAR, stroke VARCHAR)[/INST]SELECT torque FROM table_21021796_1 WHERE stroke = "88.4mm"</s>
CREATE TABLE table_name_85 (date VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT date FROM table_name_85 WHERE outcome = "runner-up" AND surface = "carpet"
Which Date had an Outcome of runner-up, and a Surface of carpet?
<s>[INST]Which Date had an Outcome of runner-up, and a Surface of carpet? Context: CREATE TABLE table_name_85 (date VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT date FROM table_name_85 WHERE outcome = "runner-up" AND surface = "carpet"</s>
CREATE TABLE table_name_53 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_53 WHERE score = "79"
What player has a score of 79?
<s>[INST]What player has a score of 79? Context: CREATE TABLE table_name_53 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_53 WHERE score = "79"</s>
CREATE TABLE table_name_37 (country VARCHAR, total VARCHAR)
SELECT country FROM table_name_37 WHERE total = 282
Which country had a total of 282?
<s>[INST]Which country had a total of 282? Context: CREATE TABLE table_name_37 (country VARCHAR, total VARCHAR)[/INST]SELECT country FROM table_name_37 WHERE total = 282</s>
CREATE TABLE table_27700530_5 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_27700530_5 WHERE date = "October 20"
Who had the high point total on october 20?
<s>[INST]Who had the high point total on october 20? Context: CREATE TABLE table_27700530_5 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_27700530_5 WHERE date = "October 20"</s>
CREATE TABLE table_name_63 (ret_number VARCHAR, records VARCHAR)
SELECT ret_number FROM table_name_63 WHERE records = "4"
what pitcher scored 4
<s>[INST]what pitcher scored 4 Context: CREATE TABLE table_name_63 (ret_number VARCHAR, records VARCHAR)[/INST]SELECT ret_number FROM table_name_63 WHERE records = "4"</s>
CREATE TABLE table_2472711_32 (average INTEGER, total VARCHAR)
SELECT MAX(average) FROM table_2472711_32 WHERE total = 221902
What is the maximum average associated with a total of 221902?
<s>[INST]What is the maximum average associated with a total of 221902? Context: CREATE TABLE table_2472711_32 (average INTEGER, total VARCHAR)[/INST]SELECT MAX(average) FROM table_2472711_32 WHERE total = 221902</s>
CREATE TABLE table_21576644_2 (mens_3rd_xi VARCHAR, ladies_1st_xi VARCHAR)
SELECT mens_3rd_xi FROM table_21576644_2 WHERE ladies_1st_xi = "3rd, Sedgemoor Division 1"
When 3rd, sedgemoor division 1 is the ladies 1st xi what is the mens 3rd xi?
<s>[INST]When 3rd, sedgemoor division 1 is the ladies 1st xi what is the mens 3rd xi? Context: CREATE TABLE table_21576644_2 (mens_3rd_xi VARCHAR, ladies_1st_xi VARCHAR)[/INST]SELECT mens_3rd_xi FROM table_21576644_2 WHERE ladies_1st_xi = "3rd, Sedgemoor Division 1"</s>
CREATE TABLE table_261954_1 (institution VARCHAR, nickname VARCHAR)
SELECT institution FROM table_261954_1 WHERE nickname = "WildCats"
What is every institution with the nickname of Wildcats?
<s>[INST]What is every institution with the nickname of Wildcats? Context: CREATE TABLE table_261954_1 (institution VARCHAR, nickname VARCHAR)[/INST]SELECT institution FROM table_261954_1 WHERE nickname = "WildCats"</s>
CREATE TABLE table_name_10 (laps INTEGER, rider VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_10 WHERE rider = "andrew pitt" AND grid < 18
What is the lowest laps for rider andrew pitt, with a grid smaller than 18? Wha
<s>[INST]What is the lowest laps for rider andrew pitt, with a grid smaller than 18? Wha Context: CREATE TABLE table_name_10 (laps INTEGER, rider VARCHAR, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_10 WHERE rider = "andrew pitt" AND grid < 18</s>
CREATE TABLE table_name_38 (agg VARCHAR, team_2 VARCHAR)
SELECT agg FROM table_name_38 WHERE team_2 = "vantour club mangoungou"
What is the agg of team 2 for Vantour Club Mangoungou?
<s>[INST]What is the agg of team 2 for Vantour Club Mangoungou? Context: CREATE TABLE table_name_38 (agg VARCHAR, team_2 VARCHAR)[/INST]SELECT agg FROM table_name_38 WHERE team_2 = "vantour club mangoungou"</s>
CREATE TABLE table_name_98 (genre VARCHAR, release_year_of_first_charted_record VARCHAR)
SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988
Name the genre for release-year of first charted record of 1988
<s>[INST]Name the genre for release-year of first charted record of 1988 Context: CREATE TABLE table_name_98 (genre VARCHAR, release_year_of_first_charted_record VARCHAR)[/INST]SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988</s>
CREATE TABLE table_name_15 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_15 WHERE opponent = "blackburn"
What is the Round with a Opponent with blackburn?
<s>[INST]What is the Round with a Opponent with blackburn? Context: CREATE TABLE table_name_15 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_15 WHERE opponent = "blackburn"</s>
CREATE TABLE table_name_81 (overall_record VARCHAR, week VARCHAR)
SELECT overall_record FROM table_name_81 WHERE week = 3
Can you tell me the Overall Record that has the Week of 3?
<s>[INST]Can you tell me the Overall Record that has the Week of 3? Context: CREATE TABLE table_name_81 (overall_record VARCHAR, week VARCHAR)[/INST]SELECT overall_record FROM table_name_81 WHERE week = 3</s>
CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, position VARCHAR)
SELECT AVG(year) FROM table_name_18 WHERE competition = "world junior championships" AND position = "20th (qf)"
What year was the Competition of World Junior Championships with a 20th (qf) position?
<s>[INST]What year was the Competition of World Junior Championships with a 20th (qf) position? Context: CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, position VARCHAR)[/INST]SELECT AVG(year) FROM table_name_18 WHERE competition = "world junior championships" AND position = "20th (qf)"</s>
CREATE TABLE table_name_31 (high_assists VARCHAR, location_attendance VARCHAR)
SELECT high_assists FROM table_name_31 WHERE location_attendance = "uic pavilion 3,520"
What high assists have uic pavilion 3,520 as the location/attendance?
<s>[INST]What high assists have uic pavilion 3,520 as the location/attendance? Context: CREATE TABLE table_name_31 (high_assists VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_assists FROM table_name_31 WHERE location_attendance = "uic pavilion 3,520"</s>
CREATE TABLE table_24565004_13 (position VARCHAR, nationality² VARCHAR)
SELECT COUNT(position) FROM table_24565004_13 WHERE nationality² = "Democratic Republic of the Congo"
Name the number of position for democratic republic of the congo
<s>[INST]Name the number of position for democratic republic of the congo Context: CREATE TABLE table_24565004_13 (position VARCHAR, nationality² VARCHAR)[/INST]SELECT COUNT(position) FROM table_24565004_13 WHERE nationality² = "Democratic Republic of the Congo"</s>
CREATE TABLE table_26982362_2 (directed_by VARCHAR, original_airdate VARCHAR)
SELECT directed_by FROM table_26982362_2 WHERE original_airdate = "October 8, 2010"
The episode with the original airdate October 8, 2010, is directed by who?
<s>[INST]The episode with the original airdate October 8, 2010, is directed by who? Context: CREATE TABLE table_26982362_2 (directed_by VARCHAR, original_airdate VARCHAR)[/INST]SELECT directed_by FROM table_26982362_2 WHERE original_airdate = "October 8, 2010"</s>
CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR, IsOfficial VARCHAR); CREATE TABLE country (LifeExpectancy INTEGER, Name VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR)
SELECT AVG(LifeExpectancy) FROM country WHERE NOT Name IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" AND T2.IsOfficial = "T")
What is average life expectancy in the countries where English is not the official language?
<s>[INST]What is average life expectancy in the countries where English is not the official language? Context: CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR, IsOfficial VARCHAR); CREATE TABLE country (LifeExpectancy INTEGER, Name VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR)[/INST]SE...
CREATE TABLE table_name_89 (player VARCHAR, nationality VARCHAR, round VARCHAR, draft VARCHAR, pick VARCHAR)
SELECT player FROM table_name_89 WHERE draft = 1994 AND pick > 8 AND round = "10" AND nationality = "canada"
Which Player has a Draft of 1994, a Pick larger than 8, a Round of 10, and a Nationality of canada?
<s>[INST]Which Player has a Draft of 1994, a Pick larger than 8, a Round of 10, and a Nationality of canada? Context: CREATE TABLE table_name_89 (player VARCHAR, nationality VARCHAR, round VARCHAR, draft VARCHAR, pick VARCHAR)[/INST]SELECT player FROM table_name_89 WHERE draft = 1994 AND pick > 8 AND round = "10" AND n...
CREATE TABLE table_25794010_1 (name VARCHAR, county VARCHAR)
SELECT name FROM table_25794010_1 WHERE county = "Desha"
Name the name for desha
<s>[INST]Name the name for desha Context: CREATE TABLE table_25794010_1 (name VARCHAR, county VARCHAR)[/INST]SELECT name FROM table_25794010_1 WHERE county = "Desha"</s>