context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_20630462_1 (also_currently_known_as VARCHAR, tournament VARCHAR)
SELECT also_currently_known_as FROM table_20630462_1 WHERE tournament = "Tampa"
What is the current tournament name for the event in Tampa?
<s>[INST]What is the current tournament name for the event in Tampa? Context: CREATE TABLE table_20630462_1 (also_currently_known_as VARCHAR, tournament VARCHAR)[/INST]SELECT also_currently_known_as FROM table_20630462_1 WHERE tournament = "Tampa"</s>
CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_22 WHERE date = "september 21, 1980"
How many people attended the September 21, 1980 game?
<s>[INST]How many people attended the September 21, 1980 game? Context: CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_22 WHERE date = "september 21, 1980"</s>
CREATE TABLE table_name_17 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_17 WHERE player = "tom kite"
What is the score of Player Tom Kite?
<s>[INST]What is the score of Player Tom Kite? Context: CREATE TABLE table_name_17 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_17 WHERE player = "tom kite"</s>
CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT tournament FROM table_name_74 WHERE 2005 = "n/a" AND 2002 = "0 / 1"
What is Tournament, when 2005 is "N/A", and when 2002 is "0 / 1"?
<s>[INST]What is Tournament, when 2005 is "N/A", and when 2002 is "0 / 1"? Context: CREATE TABLE table_name_74 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_74 WHERE 2005 = "n/a" AND 2002 = "0 / 1"</s>
CREATE TABLE table_name_68 (date VARCHAR, game VARCHAR, team VARCHAR)
SELECT date FROM table_name_68 WHERE game > 53 AND team = "toronto"
What date was the game against Toronto which had a game number higher than 53?
<s>[INST]What date was the game against Toronto which had a game number higher than 53? Context: CREATE TABLE table_name_68 (date VARCHAR, game VARCHAR, team VARCHAR)[/INST]SELECT date FROM table_name_68 WHERE game > 53 AND team = "toronto"</s>
CREATE TABLE table_27369069_4 (province VARCHAR, stadium_capacity VARCHAR)
SELECT province FROM table_27369069_4 WHERE stadium_capacity = 5100
What is the province for with the stadium capacity of 5100?
<s>[INST]What is the province for with the stadium capacity of 5100? Context: CREATE TABLE table_27369069_4 (province VARCHAR, stadium_capacity VARCHAR)[/INST]SELECT province FROM table_27369069_4 WHERE stadium_capacity = 5100</s>
CREATE TABLE table_name_38 (lost INTEGER, played INTEGER)
SELECT SUM(lost) FROM table_name_38 WHERE played < 4
What is the sum of losses for teams with less than 4 games played?
<s>[INST]What is the sum of losses for teams with less than 4 games played? Context: CREATE TABLE table_name_38 (lost INTEGER, played INTEGER)[/INST]SELECT SUM(lost) FROM table_name_38 WHERE played < 4</s>
CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, latitude VARCHAR)
SELECT diameter__km_ FROM table_16799784_7 WHERE latitude = "23.0S"
what is the diameter (km) of the feature of latitude 23.0s
<s>[INST]what is the diameter (km) of the feature of latitude 23.0s Context: CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, latitude VARCHAR)[/INST]SELECT diameter__km_ FROM table_16799784_7 WHERE latitude = "23.0S"</s>
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR, instid VARCHAR, authorder VARCHAR); CREATE TABLE authors (authid VARCHAR, lname VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE inst (instid VARCHAR, country VARCHAR)
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid JOIN inst AS t4 ON t2.instid = t4.instid WHERE t4.country = "Japan" AND t2.authorder = 1 AND t1.lname = "Ohori"
Find the titles of papers whose first author is affiliated with an institution in the country "Japan" and has last name "Ohori"?
<s>[INST]Find the titles of papers whose first author is affiliated with an institution in the country "Japan" and has last name "Ohori"? Context: CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR, instid VARCHAR, authorder VARCHAR); CREATE TABLE authors (authid VARCHAR, lname VARCHAR); CREATE TABLE papers (titl...
CREATE TABLE table_name_42 (build_date VARCHAR, total_produced VARCHAR, model VARCHAR)
SELECT build_date FROM table_name_42 WHERE total_produced < 45 AND model = "fb-2"
What is the build date of the locomotives with a total produced less than 45 and a fb-2 model?
<s>[INST]What is the build date of the locomotives with a total produced less than 45 and a fb-2 model? Context: CREATE TABLE table_name_42 (build_date VARCHAR, total_produced VARCHAR, model VARCHAR)[/INST]SELECT build_date FROM table_name_42 WHERE total_produced < 45 AND model = "fb-2"</s>
CREATE TABLE table_name_99 (draw INTEGER, language VARCHAR, points VARCHAR)
SELECT AVG(draw) FROM table_name_99 WHERE language = "swedish" AND points < 10
What is the average Draw for the artist(s), whose language is Swedish, and scored less than 10 points?
<s>[INST]What is the average Draw for the artist(s), whose language is Swedish, and scored less than 10 points? Context: CREATE TABLE table_name_99 (draw INTEGER, language VARCHAR, points VARCHAR)[/INST]SELECT AVG(draw) FROM table_name_99 WHERE language = "swedish" AND points < 10</s>
CREATE TABLE table_name_27 (team_2 VARCHAR, venue VARCHAR)
SELECT team_2 FROM table_name_27 WHERE venue = "binh duong stadium, vietnam"
Can you tell me the Team 2 that has the Venue of binh duong stadium, vietnam?
<s>[INST]Can you tell me the Team 2 that has the Venue of binh duong stadium, vietnam? Context: CREATE TABLE table_name_27 (team_2 VARCHAR, venue VARCHAR)[/INST]SELECT team_2 FROM table_name_27 WHERE venue = "binh duong stadium, vietnam"</s>
CREATE TABLE table_name_63 (year INTEGER, town VARCHAR)
SELECT MIN(year) FROM table_name_63 WHERE town = "gray court, south carolina"
What was the earliest year that a structure was located in gray court, south carolina?
<s>[INST]What was the earliest year that a structure was located in gray court, south carolina? Context: CREATE TABLE table_name_63 (year INTEGER, town VARCHAR)[/INST]SELECT MIN(year) FROM table_name_63 WHERE town = "gray court, south carolina"</s>
CREATE TABLE table_name_9 (pujehun INTEGER, tonkolili VARCHAR, kenema VARCHAR, kambia VARCHAR)
SELECT MAX(pujehun) FROM table_name_9 WHERE kenema > 559 AND kambia = "45,653" AND tonkolili > 113 OFFSET 926
What is the highest pjuehun with a kenema greater than 559, a kambia of 45,653, and a tonkolili greater than 113,926?
<s>[INST]What is the highest pjuehun with a kenema greater than 559, a kambia of 45,653, and a tonkolili greater than 113,926? Context: CREATE TABLE table_name_9 (pujehun INTEGER, tonkolili VARCHAR, kenema VARCHAR, kambia VARCHAR)[/INST]SELECT MAX(pujehun) FROM table_name_9 WHERE kenema > 559 AND kambia = "45,653" AND ...
CREATE TABLE table_name_75 (runners_up VARCHAR, champions VARCHAR)
SELECT runners_up FROM table_name_75 WHERE champions = "1 (2013)"
What runner(s)-up has 1 (2013) as the champions?
<s>[INST]What runner(s)-up has 1 (2013) as the champions? Context: CREATE TABLE table_name_75 (runners_up VARCHAR, champions VARCHAR)[/INST]SELECT runners_up FROM table_name_75 WHERE champions = "1 (2013)"</s>
CREATE TABLE table_name_53 (club VARCHAR, round VARCHAR, home VARCHAR)
SELECT club FROM table_name_53 WHERE round = 1 AND home = "0-2"
What club has a home score of 0-2 in Round 1?
<s>[INST]What club has a home score of 0-2 in Round 1? Context: CREATE TABLE table_name_53 (club VARCHAR, round VARCHAR, home VARCHAR)[/INST]SELECT club FROM table_name_53 WHERE round = 1 AND home = "0-2"</s>
CREATE TABLE table_name_64 (released VARCHAR, dvd_name VARCHAR)
SELECT released FROM table_name_64 WHERE dvd_name = "escape to river cottage"
What was escape to river cottage released?
<s>[INST]What was escape to river cottage released? Context: CREATE TABLE table_name_64 (released VARCHAR, dvd_name VARCHAR)[/INST]SELECT released FROM table_name_64 WHERE dvd_name = "escape to river cottage"</s>
CREATE TABLE table_name_14 (chassis VARCHAR, driver VARCHAR, tyre VARCHAR, engine_† VARCHAR)
SELECT chassis FROM table_name_14 WHERE tyre = "b" AND engine_† = "ferrari 050 ferrari 051" AND driver = "rubens barrichello"
what is the chassis when the tyre is b, the engine is ferrari 050 ferrari 051 and the driver is rubens barrichello?
<s>[INST]what is the chassis when the tyre is b, the engine is ferrari 050 ferrari 051 and the driver is rubens barrichello? Context: CREATE TABLE table_name_14 (chassis VARCHAR, driver VARCHAR, tyre VARCHAR, engine_† VARCHAR)[/INST]SELECT chassis FROM table_name_14 WHERE tyre = "b" AND engine_† = "ferrari 050 ferrari ...
CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR)
SELECT COUNT(young_rider_classification) FROM table_28538368_2 WHERE winner = "Diego Ulissi"
Who was the young rider classification when Diego Ulissi won?
<s>[INST]Who was the young rider classification when Diego Ulissi won? Context: CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR)[/INST]SELECT COUNT(young_rider_classification) FROM table_28538368_2 WHERE winner = "Diego Ulissi"</s>
CREATE TABLE table_14418812_1 (opponent VARCHAR, game_site VARCHAR)
SELECT opponent FROM table_14418812_1 WHERE game_site = "Astrodome"
Name the opponent for astrodome
<s>[INST]Name the opponent for astrodome Context: CREATE TABLE table_14418812_1 (opponent VARCHAR, game_site VARCHAR)[/INST]SELECT opponent FROM table_14418812_1 WHERE game_site = "Astrodome"</s>
CREATE TABLE table_name_9 (bronze INTEGER, gold VARCHAR, rank VARCHAR)
SELECT SUM(bronze) FROM table_name_9 WHERE gold = 2 AND rank > 2
How many bronzes for the nation with 2 golds and ranked below 2?
<s>[INST]How many bronzes for the nation with 2 golds and ranked below 2? Context: CREATE TABLE table_name_9 (bronze INTEGER, gold VARCHAR, rank VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_9 WHERE gold = 2 AND rank > 2</s>
CREATE TABLE table_name_86 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_86 WHERE record = "43-28"
What is the attendance that has a record of 43-28?
<s>[INST]What is the attendance that has a record of 43-28? Context: CREATE TABLE table_name_86 (attendance VARCHAR, record VARCHAR)[/INST]SELECT attendance FROM table_name_86 WHERE record = "43-28"</s>
CREATE TABLE table_name_31 (current_club VARCHAR, height VARCHAR, year_born VARCHAR)
SELECT current_club FROM table_name_31 WHERE height < 1.92 AND year_born > 1978
What player was born in 1978 and smaller than 1.92?
<s>[INST]What player was born in 1978 and smaller than 1.92? Context: CREATE TABLE table_name_31 (current_club VARCHAR, height VARCHAR, year_born VARCHAR)[/INST]SELECT current_club FROM table_name_31 WHERE height < 1.92 AND year_born > 1978</s>
CREATE TABLE table_14496232_2 (tour VARCHAR, mens_singles VARCHAR, womens_doubles VARCHAR)
SELECT tour FROM table_14496232_2 WHERE mens_singles = "Chen Jin" AND womens_doubles = "Zhang Yawen Zhao Tingting"
Name the tour when mens singles is chen jin and womens doubles is zhang yawen zhao tingting
<s>[INST]Name the tour when mens singles is chen jin and womens doubles is zhang yawen zhao tingting Context: CREATE TABLE table_14496232_2 (tour VARCHAR, mens_singles VARCHAR, womens_doubles VARCHAR)[/INST]SELECT tour FROM table_14496232_2 WHERE mens_singles = "Chen Jin" AND womens_doubles = "Zhang Yawen Zhao Tingting...
CREATE TABLE table_name_65 (total_horses INTEGER, cows VARCHAR, bulls VARCHAR, total_cattle VARCHAR, oxen VARCHAR)
SELECT MIN(total_horses) FROM table_name_65 WHERE total_cattle < 6274.1 AND oxen < 156.5 AND bulls = "40.0" AND cows < 3377
What was the lowest total number of horses that has a total cattle smaller than 6274.1, and a oxen smaller than 156.5, and a bulls of 40.0, and fewer than 3377 cows?
<s>[INST]What was the lowest total number of horses that has a total cattle smaller than 6274.1, and a oxen smaller than 156.5, and a bulls of 40.0, and fewer than 3377 cows? Context: CREATE TABLE table_name_65 (total_horses INTEGER, cows VARCHAR, bulls VARCHAR, total_cattle VARCHAR, oxen VARCHAR)[/INST]SELECT MIN(tota...
CREATE TABLE table_name_97 (episode VARCHAR, viewers VARCHAR)
SELECT episode FROM table_name_97 WHERE viewers = 6.71
What episode had 6.71 viewers?
<s>[INST]What episode had 6.71 viewers? Context: CREATE TABLE table_name_97 (episode VARCHAR, viewers VARCHAR)[/INST]SELECT episode FROM table_name_97 WHERE viewers = 6.71</s>
CREATE TABLE table_name_54 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_54 WHERE home_team = "collingwood"
Who faced Collingwood as an away team?
<s>[INST]Who faced Collingwood as an away team? Context: CREATE TABLE table_name_54 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_54 WHERE home_team = "collingwood"</s>
CREATE TABLE table_16734640_1 (location VARCHAR, institution VARCHAR)
SELECT location FROM table_16734640_1 WHERE institution = "Abraham Baldwin Agricultural College"
Name the location for abraham baldwin agricultural college
<s>[INST]Name the location for abraham baldwin agricultural college Context: CREATE TABLE table_16734640_1 (location VARCHAR, institution VARCHAR)[/INST]SELECT location FROM table_16734640_1 WHERE institution = "Abraham Baldwin Agricultural College"</s>
CREATE TABLE table_name_99 (fall_07 INTEGER, fall_09 INTEGER)
SELECT AVG(fall_07) FROM table_name_99 WHERE fall_09 < 296
What was the average value for Fall 07 when Fall 09 is less than 296?
<s>[INST]What was the average value for Fall 07 when Fall 09 is less than 296? Context: CREATE TABLE table_name_99 (fall_07 INTEGER, fall_09 INTEGER)[/INST]SELECT AVG(fall_07) FROM table_name_99 WHERE fall_09 < 296</s>
CREATE TABLE table_name_53 (score VARCHAR, opponent VARCHAR, player VARCHAR)
SELECT score FROM table_name_53 WHERE opponent = "essendon" AND player = "steven clark"
Which score had Essendon as an opponent and Steven Clark as a player?
<s>[INST]Which score had Essendon as an opponent and Steven Clark as a player? Context: CREATE TABLE table_name_53 (score VARCHAR, opponent VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_53 WHERE opponent = "essendon" AND player = "steven clark"</s>
CREATE TABLE table_name_4 (tournament VARCHAR)
SELECT tournament FROM table_name_4 WHERE 2008 = "a" AND 2010 = "1r"
Which tournament had A in 2008, and a 1r in 2010?
<s>[INST]Which tournament had A in 2008, and a 1r in 2010? Context: CREATE TABLE table_name_4 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_4 WHERE 2008 = "a" AND 2010 = "1r"</s>
CREATE TABLE weather (date VARCHAR, zip_code VARCHAR, min_dew_point_f INTEGER)
SELECT date, zip_code FROM weather WHERE min_dew_point_f < (SELECT MIN(min_dew_point_f) FROM weather WHERE zip_code = 94107)
On which day and in which zip code was the min dew point lower than any day in zip code 94107?
<s>[INST]On which day and in which zip code was the min dew point lower than any day in zip code 94107? Context: CREATE TABLE weather (date VARCHAR, zip_code VARCHAR, min_dew_point_f INTEGER)[/INST]SELECT date, zip_code FROM weather WHERE min_dew_point_f < (SELECT MIN(min_dew_point_f) FROM weather WHERE zip_code = 9410...
CREATE TABLE table_name_30 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_30 WHERE date = "july 17, 1983"
What surface was used on July 17, 1983?
<s>[INST]What surface was used on July 17, 1983? Context: CREATE TABLE table_name_30 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_30 WHERE date = "july 17, 1983"</s>
CREATE TABLE table_name_44 (silver VARCHAR, nation VARCHAR, total VARCHAR)
SELECT COUNT(silver) FROM table_name_44 WHERE nation = "united states" AND total > 1
how many times is the nation listed as united states with the total more than 1?
<s>[INST]how many times is the nation listed as united states with the total more than 1? Context: CREATE TABLE table_name_44 (silver VARCHAR, nation VARCHAR, total VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_44 WHERE nation = "united states" AND total > 1</s>
CREATE TABLE table_name_61 (date VARCHAR, tyre VARCHAR, winning_driver VARCHAR)
SELECT date FROM table_name_61 WHERE tyre = "d" AND winning_driver = "bruce mclaren"
What date was the Tyre d and Bruce Mclaren won?
<s>[INST]What date was the Tyre d and Bruce Mclaren won? Context: CREATE TABLE table_name_61 (date VARCHAR, tyre VARCHAR, winning_driver VARCHAR)[/INST]SELECT date FROM table_name_61 WHERE tyre = "d" AND winning_driver = "bruce mclaren"</s>
CREATE TABLE table_11665016_2 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_11665016_2 WHERE written_by = "Anthony E. Zuiker & Ken Solarz"
Which episode was written by anthony e. zuiker & ken solarz
<s>[INST]Which episode was written by anthony e. zuiker & ken solarz Context: CREATE TABLE table_11665016_2 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_11665016_2 WHERE written_by = "Anthony E. Zuiker & Ken Solarz"</s>
CREATE TABLE table_27268238_5 (team VARCHAR, economy VARCHAR)
SELECT team FROM table_27268238_5 WHERE economy = "5.73"
What is the team when the economy is 5.73?
<s>[INST]What is the team when the economy is 5.73? Context: CREATE TABLE table_27268238_5 (team VARCHAR, economy VARCHAR)[/INST]SELECT team FROM table_27268238_5 WHERE economy = "5.73"</s>
CREATE TABLE procedures (cost INTEGER)
SELECT MAX(cost), MIN(cost), AVG(cost) FROM procedures
What are the highest cost, lowest cost and average cost of procedures?
<s>[INST]What are the highest cost, lowest cost and average cost of procedures? Context: CREATE TABLE procedures (cost INTEGER)[/INST]SELECT MAX(cost), MIN(cost), AVG(cost) FROM procedures</s>
CREATE TABLE table_name_39 (conv VARCHAR, pens VARCHAR, tries VARCHAR)
SELECT conv FROM table_name_39 WHERE pens = "0" AND tries = "0"
How many conversions had 0 pens and 0 tries?
<s>[INST]How many conversions had 0 pens and 0 tries? Context: CREATE TABLE table_name_39 (conv VARCHAR, pens VARCHAR, tries VARCHAR)[/INST]SELECT conv FROM table_name_39 WHERE pens = "0" AND tries = "0"</s>
CREATE TABLE table_11545282_6 (player VARCHAR, years_for_jazz VARCHAR)
SELECT COUNT(player) FROM table_11545282_6 WHERE years_for_jazz = "2006-2007"
How many players have played for Jazz during 2006-2007?
<s>[INST]How many players have played for Jazz during 2006-2007? Context: CREATE TABLE table_11545282_6 (player VARCHAR, years_for_jazz VARCHAR)[/INST]SELECT COUNT(player) FROM table_11545282_6 WHERE years_for_jazz = "2006-2007"</s>
CREATE TABLE people (People_ID VARCHAR, Height INTEGER); CREATE TABLE body_builder (Total INTEGER, People_ID VARCHAR)
SELECT AVG(T1.Total) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Height > 200
What is the average total score of body builders with height bigger than 200?
<s>[INST]What is the average total score of body builders with height bigger than 200? Context: CREATE TABLE people (People_ID VARCHAR, Height INTEGER); CREATE TABLE body_builder (Total INTEGER, People_ID VARCHAR)[/INST]SELECT AVG(T1.Total) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE ...
CREATE TABLE table_2224692_1 (hp__hr_gal VARCHAR, gge VARCHAR)
SELECT hp__hr_gal FROM table_2224692_1 WHERE gge = "0.9000"
What's the HP -hr/gal of the fuel whose GGE is 0.9000?
<s>[INST]What's the HP -hr/gal of the fuel whose GGE is 0.9000? Context: CREATE TABLE table_2224692_1 (hp__hr_gal VARCHAR, gge VARCHAR)[/INST]SELECT hp__hr_gal FROM table_2224692_1 WHERE gge = "0.9000"</s>
CREATE TABLE table_name_25 (chassis VARCHAR, rank VARCHAR)
SELECT chassis FROM table_name_25 WHERE rank = "3rd"
What is the chassis when the rank is 3rd?
<s>[INST]What is the chassis when the rank is 3rd? Context: CREATE TABLE table_name_25 (chassis VARCHAR, rank VARCHAR)[/INST]SELECT chassis FROM table_name_25 WHERE rank = "3rd"</s>
CREATE TABLE table_name_37 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)
SELECT republican_ticket FROM table_name_37 WHERE american_labor_ticket = "spencer c. young"
What name is on the Republican ticket when the American Labor ticket was spencer c. young?
<s>[INST]What name is on the Republican ticket when the American Labor ticket was spencer c. young? Context: CREATE TABLE table_name_37 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)[/INST]SELECT republican_ticket FROM table_name_37 WHERE american_labor_ticket = "spencer c. young"</s>
CREATE TABLE table_name_60 (mountains_classification VARCHAR, winner VARCHAR, general_classification VARCHAR)
SELECT mountains_classification FROM table_name_60 WHERE winner = "mario cipollini" AND general_classification = "pavel tonkov"
What is the mountain classification of Mario Cipollini, who has a general classification of Pavel tonkov?
<s>[INST]What is the mountain classification of Mario Cipollini, who has a general classification of Pavel tonkov? Context: CREATE TABLE table_name_60 (mountains_classification VARCHAR, winner VARCHAR, general_classification VARCHAR)[/INST]SELECT mountains_classification FROM table_name_60 WHERE winner = "mario cipolli...
CREATE TABLE table_name_23 (weight VARCHAR, date_of_birth VARCHAR)
SELECT weight FROM table_name_23 WHERE date_of_birth = "1981-11-21"
What is the weight of the entry that has a date of birth of 1981-11-21?
<s>[INST]What is the weight of the entry that has a date of birth of 1981-11-21? Context: CREATE TABLE table_name_23 (weight VARCHAR, date_of_birth VARCHAR)[/INST]SELECT weight FROM table_name_23 WHERE date_of_birth = "1981-11-21"</s>
CREATE TABLE College (cName VARCHAR, enr VARCHAR, state VARCHAR)
SELECT cName, enr FROM College WHERE enr > 10000 AND state = "LA"
Find the name, enrollment of the colleges whose size is bigger than 10000 and location is in state LA.
<s>[INST]Find the name, enrollment of the colleges whose size is bigger than 10000 and location is in state LA. Context: CREATE TABLE College (cName VARCHAR, enr VARCHAR, state VARCHAR)[/INST]SELECT cName, enr FROM College WHERE enr > 10000 AND state = "LA"</s>
CREATE TABLE table_name_87 (college_junior_club_team__league_ VARCHAR, round VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_87 WHERE round > 3 AND player = "julien cayer"
Which College/Junior/Club Team (League) did the player julien cayer who was selected before round 3 play for?
<s>[INST]Which College/Junior/Club Team (League) did the player julien cayer who was selected before round 3 play for? Context: CREATE TABLE table_name_87 (college_junior_club_team__league_ VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_87 WHERE round > 3 AND play...
CREATE TABLE advisor (i_id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR)
SELECT T1.name FROM instructor AS T1 JOIN advisor AS T2 ON T1.id = T2.i_id GROUP BY T2.i_id HAVING COUNT(*) > 1
Find the name of instructors who are advising more than one student.
<s>[INST]Find the name of instructors who are advising more than one student. Context: CREATE TABLE advisor (i_id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR)[/INST]SELECT T1.name FROM instructor AS T1 JOIN advisor AS T2 ON T1.id = T2.i_id GROUP BY T2.i_id HAVING COUNT(*) > 1</s>
CREATE TABLE table_name_74 (position INTEGER, points_1 VARCHAR, drawn VARCHAR)
SELECT MIN(position) FROM table_name_74 WHERE points_1 = "27 2" AND drawn < 9
What is the lowest position with points 1 of 27 2 and fewer than 9 drawn?
<s>[INST]What is the lowest position with points 1 of 27 2 and fewer than 9 drawn? Context: CREATE TABLE table_name_74 (position INTEGER, points_1 VARCHAR, drawn VARCHAR)[/INST]SELECT MIN(position) FROM table_name_74 WHERE points_1 = "27 2" AND drawn < 9</s>
CREATE TABLE table_name_65 (gauthier VARCHAR, liscumb VARCHAR)
SELECT gauthier FROM table_name_65 WHERE liscumb = "15"
What Gauthier had a 15 Liscumb?
<s>[INST]What Gauthier had a 15 Liscumb? Context: CREATE TABLE table_name_65 (gauthier VARCHAR, liscumb VARCHAR)[/INST]SELECT gauthier FROM table_name_65 WHERE liscumb = "15"</s>
CREATE TABLE table_name_72 (frequency_mhz INTEGER, city_of_license VARCHAR)
SELECT AVG(frequency_mhz) FROM table_name_72 WHERE city_of_license = "farwell, texas"
What is the average Frequency MHz that is on farwell, texas?
<s>[INST]What is the average Frequency MHz that is on farwell, texas? Context: CREATE TABLE table_name_72 (frequency_mhz INTEGER, city_of_license VARCHAR)[/INST]SELECT AVG(frequency_mhz) FROM table_name_72 WHERE city_of_license = "farwell, texas"</s>
CREATE TABLE Flight (origin VARCHAR, destination VARCHAR)
SELECT origin FROM Flight WHERE destination = "Honolulu"
Show origins of all flights with destination Honolulu.
<s>[INST]Show origins of all flights with destination Honolulu. Context: CREATE TABLE Flight (origin VARCHAR, destination VARCHAR)[/INST]SELECT origin FROM Flight WHERE destination = "Honolulu"</s>
CREATE TABLE table_name_37 (overall_rank INTEGER, lane VARCHAR, time VARCHAR)
SELECT MAX(overall_rank) FROM table_name_37 WHERE lane < 8 AND time < 27.16
Tell me the highest overall rank for lane less than 8 and time less than 27.16
<s>[INST]Tell me the highest overall rank for lane less than 8 and time less than 27.16 Context: CREATE TABLE table_name_37 (overall_rank INTEGER, lane VARCHAR, time VARCHAR)[/INST]SELECT MAX(overall_rank) FROM table_name_37 WHERE lane < 8 AND time < 27.16</s>
CREATE TABLE table_27721131_2 (team VARCHAR, high_assists VARCHAR, score VARCHAR)
SELECT COUNT(team) FROM table_27721131_2 WHERE high_assists = "John Wall (9)" AND score = "W 97–83 (OT)"
What's the team number with John Wall (9) in high assists and a w 97–83 (ot) score?
<s>[INST]What's the team number with John Wall (9) in high assists and a w 97–83 (ot) score? Context: CREATE TABLE table_27721131_2 (team VARCHAR, high_assists VARCHAR, score VARCHAR)[/INST]SELECT COUNT(team) FROM table_27721131_2 WHERE high_assists = "John Wall (9)" AND score = "W 97–83 (OT)"</s>
CREATE TABLE table_name_97 (platform VARCHAR, system VARCHAR, name VARCHAR)
SELECT platform FROM table_name_97 WHERE system = "nintendo ds" AND name = "nds4droid"
What platform is nds4droid on for the nintendo ds?
<s>[INST]What platform is nds4droid on for the nintendo ds? Context: CREATE TABLE table_name_97 (platform VARCHAR, system VARCHAR, name VARCHAR)[/INST]SELECT platform FROM table_name_97 WHERE system = "nintendo ds" AND name = "nds4droid"</s>
CREATE TABLE table_name_58 (format VARCHAR, year INTEGER)
SELECT format FROM table_name_58 WHERE year < 1992
What is the format of the album with a year less than 1992?
<s>[INST]What is the format of the album with a year less than 1992? Context: CREATE TABLE table_name_58 (format VARCHAR, year INTEGER)[/INST]SELECT format FROM table_name_58 WHERE year < 1992</s>
CREATE TABLE table_name_16 (transfer_window VARCHAR, name VARCHAR)
SELECT transfer_window FROM table_name_16 WHERE name = "habarugira"
What is the transfer period for habarugira?
<s>[INST]What is the transfer period for habarugira? Context: CREATE TABLE table_name_16 (transfer_window VARCHAR, name VARCHAR)[/INST]SELECT transfer_window FROM table_name_16 WHERE name = "habarugira"</s>
CREATE TABLE table_name_73 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_73 WHERE competition = "euro 2004 qualifier"
What is Score, when Competition is "Euro 2004 Qualifier"?
<s>[INST]What is Score, when Competition is "Euro 2004 Qualifier"? Context: CREATE TABLE table_name_73 (score VARCHAR, competition VARCHAR)[/INST]SELECT score FROM table_name_73 WHERE competition = "euro 2004 qualifier"</s>
CREATE TABLE table_21191496_1 (report VARCHAR, country VARCHAR)
SELECT report FROM table_21191496_1 WHERE country = "Netherlands"
When Netherlands is the country what is the report?
<s>[INST]When Netherlands is the country what is the report? Context: CREATE TABLE table_21191496_1 (report VARCHAR, country VARCHAR)[/INST]SELECT report FROM table_21191496_1 WHERE country = "Netherlands"</s>
CREATE TABLE table_name_31 (venue VARCHAR, report VARCHAR, date VARCHAR)
SELECT venue FROM table_name_31 WHERE report = "eaff" AND date = "june 24, 2007"
What venue has a EAFF report on June 24, 2007?
<s>[INST]What venue has a EAFF report on June 24, 2007? Context: CREATE TABLE table_name_31 (venue VARCHAR, report VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_31 WHERE report = "eaff" AND date = "june 24, 2007"</s>
CREATE TABLE table_name_1 (home VARCHAR, leading_scorer VARCHAR)
SELECT home FROM table_name_1 WHERE leading_scorer = "carlos boozer (27)"
What is the home of the team with Carlos Boozer (27) as the leading scorer?
<s>[INST]What is the home of the team with Carlos Boozer (27) as the leading scorer? Context: CREATE TABLE table_name_1 (home VARCHAR, leading_scorer VARCHAR)[/INST]SELECT home FROM table_name_1 WHERE leading_scorer = "carlos boozer (27)"</s>
CREATE TABLE table_name_9 (date VARCHAR, opponents VARCHAR)
SELECT date FROM table_name_9 WHERE opponents = "guillermo garcía-lópez albert portas"
What are the dates where the opponent was guillermo garcía-lópez albert portas?
<s>[INST]What are the dates where the opponent was guillermo garcía-lópez albert portas? Context: CREATE TABLE table_name_9 (date VARCHAR, opponents VARCHAR)[/INST]SELECT date FROM table_name_9 WHERE opponents = "guillermo garcía-lópez albert portas"</s>
CREATE TABLE TRANSACTIONS (amount_of_transaction INTEGER, transaction_type_code VARCHAR, share_count VARCHAR)
SELECT MIN(amount_of_transaction) FROM TRANSACTIONS WHERE transaction_type_code = "PUR" AND share_count > 50
Show the minimum amount of transactions whose type code is "PUR" and whose share count is bigger than 50.
<s>[INST]Show the minimum amount of transactions whose type code is "PUR" and whose share count is bigger than 50. Context: CREATE TABLE TRANSACTIONS (amount_of_transaction INTEGER, transaction_type_code VARCHAR, share_count VARCHAR)[/INST]SELECT MIN(amount_of_transaction) FROM TRANSACTIONS WHERE transaction_type_code ...
CREATE TABLE course (crs_credit VARCHAR, crs_description VARCHAR, crs_code VARCHAR)
SELECT crs_credit, crs_description FROM course WHERE crs_code = 'CIS-220'
How many credits does course CIS-220 have, and what its description?
<s>[INST]How many credits does course CIS-220 have, and what its description? Context: CREATE TABLE course (crs_credit VARCHAR, crs_description VARCHAR, crs_code VARCHAR)[/INST]SELECT crs_credit, crs_description FROM course WHERE crs_code = 'CIS-220'</s>
CREATE TABLE table_name_65 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_65 WHERE score = "4-1"
What was the result of the game with a score of 4-1?
<s>[INST]What was the result of the game with a score of 4-1? Context: CREATE TABLE table_name_65 (result VARCHAR, score VARCHAR)[/INST]SELECT result FROM table_name_65 WHERE score = "4-1"</s>
CREATE TABLE table_26986076_1 (fri_27_aug VARCHAR, tues_24_aug VARCHAR)
SELECT fri_27_aug FROM table_26986076_1 WHERE tues_24_aug = "20' 49.46 108.709mph"
If the time on Tues Aug 24 is 20' 49.46 108.709mph, what is the time on Fri Aug 27?
<s>[INST]If the time on Tues Aug 24 is 20' 49.46 108.709mph, what is the time on Fri Aug 27? Context: CREATE TABLE table_26986076_1 (fri_27_aug VARCHAR, tues_24_aug VARCHAR)[/INST]SELECT fri_27_aug FROM table_26986076_1 WHERE tues_24_aug = "20' 49.46 108.709mph"</s>
CREATE TABLE table_27755603_11 (game INTEGER, date VARCHAR)
SELECT MAX(game) FROM table_27755603_11 WHERE date = "April 5"
What numbered game did they play on april 5?
<s>[INST]What numbered game did they play on april 5? Context: CREATE TABLE table_27755603_11 (game INTEGER, date VARCHAR)[/INST]SELECT MAX(game) FROM table_27755603_11 WHERE date = "April 5"</s>
CREATE TABLE table_name_27 (wins INTEGER, losses VARCHAR, draws VARCHAR)
SELECT MIN(wins) FROM table_name_27 WHERE losses > 12 AND draws < 0
What is the lowest number of wins where the losses are more than 12 and the draws are less than 0?
<s>[INST]What is the lowest number of wins where the losses are more than 12 and the draws are less than 0? Context: CREATE TABLE table_name_27 (wins INTEGER, losses VARCHAR, draws VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_27 WHERE losses > 12 AND draws < 0</s>
CREATE TABLE MODEL_LIST (Maker VARCHAR); CREATE TABLE CAR_MAKERS (FullName VARCHAR, Id VARCHAR)
SELECT T1.FullName, T1.Id, COUNT(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id
How many models does each car maker produce? List maker full name, id and the number.
<s>[INST]How many models does each car maker produce? List maker full name, id and the number. Context: CREATE TABLE MODEL_LIST (Maker VARCHAR); CREATE TABLE CAR_MAKERS (FullName VARCHAR, Id VARCHAR)[/INST]SELECT T1.FullName, T1.Id, COUNT(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id...
CREATE TABLE table_name_98 (club_team VARCHAR, player VARCHAR)
SELECT club_team FROM table_name_98 WHERE player = "kyle de coste"
What was the club team for Kyle de Coste?
<s>[INST]What was the club team for Kyle de Coste? Context: CREATE TABLE table_name_98 (club_team VARCHAR, player VARCHAR)[/INST]SELECT club_team FROM table_name_98 WHERE player = "kyle de coste"</s>
CREATE TABLE table_name_16 (points INTEGER, performer VARCHAR)
SELECT SUM(points) FROM table_name_16 WHERE performer = "partners in crime"
What is the total sum of points for songs performed by Partners in Crime?
<s>[INST]What is the total sum of points for songs performed by Partners in Crime? Context: CREATE TABLE table_name_16 (points INTEGER, performer VARCHAR)[/INST]SELECT SUM(points) FROM table_name_16 WHERE performer = "partners in crime"</s>
CREATE TABLE table_name_32 (overall INTEGER, round VARCHAR, college VARCHAR)
SELECT AVG(overall) FROM table_name_32 WHERE round < 4 AND college = "georgia"
What is the average overall value for a round less than 4 associated with the College of Georgia?
<s>[INST]What is the average overall value for a round less than 4 associated with the College of Georgia? Context: CREATE TABLE table_name_32 (overall INTEGER, round VARCHAR, college VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_32 WHERE round < 4 AND college = "georgia"</s>
CREATE TABLE table_name_98 (roll VARCHAR, area VARCHAR, decile VARCHAR, authority VARCHAR)
SELECT COUNT(roll) FROM table_name_98 WHERE decile = 7 AND authority = "state" AND area = "macraes flat"
What is the total roll with a decile less than 7, and an authority of state, in the Macraes Flat area?
<s>[INST]What is the total roll with a decile less than 7, and an authority of state, in the Macraes Flat area? Context: CREATE TABLE table_name_98 (roll VARCHAR, area VARCHAR, decile VARCHAR, authority VARCHAR)[/INST]SELECT COUNT(roll) FROM table_name_98 WHERE decile = 7 AND authority = "state" AND area = "macraes fla...
CREATE TABLE table_name_88 (rank INTEGER, athlete VARCHAR)
SELECT SUM(rank) FROM table_name_88 WHERE athlete = "hauffe, seifert, kaeufer, adamski"
what is the rank for athlete hauffe, seifert, kaeufer, adamski?
<s>[INST]what is the rank for athlete hauffe, seifert, kaeufer, adamski? Context: CREATE TABLE table_name_88 (rank INTEGER, athlete VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_88 WHERE athlete = "hauffe, seifert, kaeufer, adamski"</s>
CREATE TABLE table_name_30 (name VARCHAR, moving_to VARCHAR)
SELECT name FROM table_name_30 WHERE moving_to = "nec nijmegen"
What is Name, when Moving To is "NEC Nijmegen"?
<s>[INST]What is Name, when Moving To is "NEC Nijmegen"? Context: CREATE TABLE table_name_30 (name VARCHAR, moving_to VARCHAR)[/INST]SELECT name FROM table_name_30 WHERE moving_to = "nec nijmegen"</s>
CREATE TABLE table_name_67 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_67 WHERE laps > 39 AND grid = 15
What driver has more than 39 laps on gird 15?
<s>[INST]What driver has more than 39 laps on gird 15? Context: CREATE TABLE table_name_67 (driver VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_67 WHERE laps > 39 AND grid = 15</s>
CREATE TABLE table_21378160_2 (opponent VARCHAR, date VARCHAR)
SELECT COUNT(opponent) FROM table_21378160_2 WHERE date = "17/05/2009"
How many opponents did they play on 17/05/2009?
<s>[INST]How many opponents did they play on 17/05/2009? Context: CREATE TABLE table_21378160_2 (opponent VARCHAR, date VARCHAR)[/INST]SELECT COUNT(opponent) FROM table_21378160_2 WHERE date = "17/05/2009"</s>
CREATE TABLE table_name_43 (name VARCHAR, entered_service VARCHAR, location VARCHAR, type VARCHAR)
SELECT name FROM table_name_43 WHERE location = "gulf of mexico" AND type = "ship" AND entered_service = "1999"
What is the name of the location and ship type in the Gulf of Mexico that entered service in 1999?
<s>[INST]What is the name of the location and ship type in the Gulf of Mexico that entered service in 1999? Context: CREATE TABLE table_name_43 (name VARCHAR, entered_service VARCHAR, location VARCHAR, type VARCHAR)[/INST]SELECT name FROM table_name_43 WHERE location = "gulf of mexico" AND type = "ship" AND entered_ser...
CREATE TABLE table_name_14 (home VARCHAR, country VARCHAR)
SELECT home FROM table_name_14 WHERE country = "sweden"
Where in Sweden is the home of the Swedish team?
<s>[INST]Where in Sweden is the home of the Swedish team? Context: CREATE TABLE table_name_14 (home VARCHAR, country VARCHAR)[/INST]SELECT home FROM table_name_14 WHERE country = "sweden"</s>
CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_26 WHERE date = "24 july 2010"
Who won that game on 24 July 2010?
<s>[INST]Who won that game on 24 July 2010? Context: CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_26 WHERE date = "24 july 2010"</s>
CREATE TABLE table_name_70 (nationality VARCHAR, time VARCHAR, athlete VARCHAR)
SELECT nationality FROM table_name_70 WHERE time = "20.6" AND athlete = "ray norton"
What's the nationality of Ray norton with a time of 20.6?
<s>[INST]What's the nationality of Ray norton with a time of 20.6? Context: CREATE TABLE table_name_70 (nationality VARCHAR, time VARCHAR, athlete VARCHAR)[/INST]SELECT nationality FROM table_name_70 WHERE time = "20.6" AND athlete = "ray norton"</s>
CREATE TABLE table_name_19 (position VARCHAR, bike_no VARCHAR)
SELECT COUNT(position) FROM table_name_19 WHERE bike_no = 4
What is the aggregate number of Position that has a Bike No of 4?
<s>[INST]What is the aggregate number of Position that has a Bike No of 4? Context: CREATE TABLE table_name_19 (position VARCHAR, bike_no VARCHAR)[/INST]SELECT COUNT(position) FROM table_name_19 WHERE bike_no = 4</s>
CREATE TABLE country (name VARCHAR, area VARCHAR, population VARCHAR, Country_ID VARCHAR); CREATE TABLE roller_coaster (Country_ID VARCHAR, speed INTEGER)
SELECT T1.name, T1.area, T1.population FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID WHERE T2.speed > 60 INTERSECT SELECT T1.name, T1.area, T1.population FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID WHERE T2.speed < 55
What are the country names, area and population which has both roller coasters with speed higher
<s>[INST]What are the country names, area and population which has both roller coasters with speed higher Context: CREATE TABLE country (name VARCHAR, area VARCHAR, population VARCHAR, Country_ID VARCHAR); CREATE TABLE roller_coaster (Country_ID VARCHAR, speed INTEGER)[/INST]SELECT T1.name, T1.area, T1.population FROM ...
CREATE TABLE Accounts (account_id VARCHAR, customer_id VARCHAR, account_name VARCHAR)
SELECT account_id, customer_id, account_name FROM Accounts
Show ids, customer ids, names for all accounts.
<s>[INST]Show ids, customer ids, names for all accounts. Context: CREATE TABLE Accounts (account_id VARCHAR, customer_id VARCHAR, account_name VARCHAR)[/INST]SELECT account_id, customer_id, account_name FROM Accounts</s>
CREATE TABLE table_19112_3 (world_rank VARCHAR, market_value__billion_$_ VARCHAR)
SELECT world_rank FROM table_19112_3 WHERE market_value__billion_$_ = "17.2"
Name the world rank for market value 17.2
<s>[INST]Name the world rank for market value 17.2 Context: CREATE TABLE table_19112_3 (world_rank VARCHAR, market_value__billion_$_ VARCHAR)[/INST]SELECT world_rank FROM table_19112_3 WHERE market_value__billion_$_ = "17.2"</s>
CREATE TABLE table_name_37 (award VARCHAR, year VARCHAR, result VARCHAR)
SELECT award FROM table_name_37 WHERE year = 2000 AND result = "nominated"
Which award was nominated for in 2000?
<s>[INST]Which award was nominated for in 2000? Context: CREATE TABLE table_name_37 (award VARCHAR, year VARCHAR, result VARCHAR)[/INST]SELECT award FROM table_name_37 WHERE year = 2000 AND result = "nominated"</s>
CREATE TABLE table_name_2 (heat INTEGER, nationality VARCHAR, lane VARCHAR)
SELECT MAX(heat) FROM table_name_2 WHERE nationality = "spain" AND lane < 7
What is the highest heat of the athlete from spain with a lane less than 7?
<s>[INST]What is the highest heat of the athlete from spain with a lane less than 7? Context: CREATE TABLE table_name_2 (heat INTEGER, nationality VARCHAR, lane VARCHAR)[/INST]SELECT MAX(heat) FROM table_name_2 WHERE nationality = "spain" AND lane < 7</s>
CREATE TABLE table_name_23 (day_2 VARCHAR, day_1 VARCHAR)
SELECT day_2 FROM table_name_23 WHERE day_1 = "4:05.096"
For the team that had 4:05.096, what was their day 2?
<s>[INST]For the team that had 4:05.096, what was their day 2? Context: CREATE TABLE table_name_23 (day_2 VARCHAR, day_1 VARCHAR)[/INST]SELECT day_2 FROM table_name_23 WHERE day_1 = "4:05.096"</s>
CREATE TABLE table_name_33 (lost VARCHAR)
SELECT lost FROM table_name_33 WHERE "club" = "club"
Which Lost has a Club of club?
<s>[INST]Which Lost has a Club of club? Context: CREATE TABLE table_name_33 (lost VARCHAR)[/INST]SELECT lost FROM table_name_33 WHERE "club" = "club"</s>
CREATE TABLE table_name_76 (state VARCHAR, region VARCHAR, city VARCHAR)
SELECT state FROM table_name_76 WHERE region = "mideast" AND city = "knoxville"
What state is Knoxville and the mideast region located in?
<s>[INST]What state is Knoxville and the mideast region located in? Context: CREATE TABLE table_name_76 (state VARCHAR, region VARCHAR, city VARCHAR)[/INST]SELECT state FROM table_name_76 WHERE region = "mideast" AND city = "knoxville"</s>
CREATE TABLE table_name_21 (year INTEGER, edition VARCHAR)
SELECT AVG(year) FROM table_name_21 WHERE edition = "115th"
What year had an edition of 115th?
<s>[INST]What year had an edition of 115th? Context: CREATE TABLE table_name_21 (year INTEGER, edition VARCHAR)[/INST]SELECT AVG(year) FROM table_name_21 WHERE edition = "115th"</s>
CREATE TABLE table_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR)
SELECT COUNT(winning_driver) FROM table_19850806_3 WHERE winning_team = "Bryan Herta Autosport"
How many winning drivers are there when the winning team is Bryan herta autosport?
<s>[INST]How many winning drivers are there when the winning team is Bryan herta autosport? Context: CREATE TABLE table_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR)[/INST]SELECT COUNT(winning_driver) FROM table_19850806_3 WHERE winning_team = "Bryan Herta Autosport"</s>
CREATE TABLE table_name_97 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_97 WHERE record = "38-34-10"
Name the opponent with record of 38-34-10
<s>[INST]Name the opponent with record of 38-34-10 Context: CREATE TABLE table_name_97 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_97 WHERE record = "38-34-10"</s>
CREATE TABLE course_arrange (Name VARCHAR, Teacher_id VARCHAR); CREATE TABLE teacher (Name VARCHAR, Teacher_id VARCHAR)
SELECT Name FROM teacher WHERE NOT Teacher_id IN (SELECT Teacher_id FROM course_arrange)
List the names of teachers who have not been arranged to teach courses.
<s>[INST]List the names of teachers who have not been arranged to teach courses. Context: CREATE TABLE course_arrange (Name VARCHAR, Teacher_id VARCHAR); CREATE TABLE teacher (Name VARCHAR, Teacher_id VARCHAR)[/INST]SELECT Name FROM teacher WHERE NOT Teacher_id IN (SELECT Teacher_id FROM course_arrange)</s>
CREATE TABLE table_name_49 (residence VARCHAR, representative VARCHAR)
SELECT residence FROM table_name_49 WHERE representative = "quincy murphy"
What residence has representative Quincy Murphy?
<s>[INST]What residence has representative Quincy Murphy? Context: CREATE TABLE table_name_49 (residence VARCHAR, representative VARCHAR)[/INST]SELECT residence FROM table_name_49 WHERE representative = "quincy murphy"</s>
CREATE TABLE table_name_5 (team VARCHAR, race_title VARCHAR)
SELECT team FROM table_name_5 WHERE race_title = "calder"
What team has a title of calder?
<s>[INST]What team has a title of calder? Context: CREATE TABLE table_name_5 (team VARCHAR, race_title VARCHAR)[/INST]SELECT team FROM table_name_5 WHERE race_title = "calder"</s>
CREATE TABLE table_name_33 (party VARCHAR, opinion_research_centre__opc_ VARCHAR)
SELECT party FROM table_name_33 WHERE opinion_research_centre__opc_ = "1.5%"
What is Party, when Opinion Research Centre (OPC) is 1.5%?
<s>[INST]What is Party, when Opinion Research Centre (OPC) is 1.5%? Context: CREATE TABLE table_name_33 (party VARCHAR, opinion_research_centre__opc_ VARCHAR)[/INST]SELECT party FROM table_name_33 WHERE opinion_research_centre__opc_ = "1.5%"</s>
CREATE TABLE table_19605700_1 (capital VARCHAR, population VARCHAR)
SELECT capital FROM table_19605700_1 WHERE population = 1339724852
What capital has a population of exactly 1339724852?
<s>[INST]What capital has a population of exactly 1339724852? Context: CREATE TABLE table_19605700_1 (capital VARCHAR, population VARCHAR)[/INST]SELECT capital FROM table_19605700_1 WHERE population = 1339724852</s>
CREATE TABLE table_name_76 (pick INTEGER, position VARCHAR)
SELECT MAX(pick) FROM table_name_76 WHERE position = "ss"
What's the highest pick for SS position?
<s>[INST]What's the highest pick for SS position? Context: CREATE TABLE table_name_76 (pick INTEGER, position VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_76 WHERE position = "ss"</s>