context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_87 (league INTEGER, total VARCHAR)
SELECT AVG(league) AS Cup FROM table_name_87 WHERE total = 19 AND league < 15
Which League Cup that has a Total of 19 and a League smaller than 15?
<s>[INST]Which League Cup that has a Total of 19 and a League smaller than 15? Context: CREATE TABLE table_name_87 (league INTEGER, total VARCHAR)[/INST]SELECT AVG(league) AS Cup FROM table_name_87 WHERE total = 19 AND league < 15</s>
CREATE TABLE table_25597136_1 (current_status VARCHAR, date_first_lit VARCHAR)
SELECT COUNT(current_status) FROM table_25597136_1 WHERE date_first_lit = "1853"
The date first lit is 1853 total number of current status.
<s>[INST]The date first lit is 1853 total number of current status. Context: CREATE TABLE table_25597136_1 (current_status VARCHAR, date_first_lit VARCHAR)[/INST]SELECT COUNT(current_status) FROM table_25597136_1 WHERE date_first_lit = "1853"</s>
CREATE TABLE table_21304155_1 (production_code VARCHAR, directed_by VARCHAR)
SELECT production_code FROM table_21304155_1 WHERE directed_by = "David Solomon"
What is the production code of the episode directed by David Solomon?
<s>[INST]What is the production code of the episode directed by David Solomon? Context: CREATE TABLE table_21304155_1 (production_code VARCHAR, directed_by VARCHAR)[/INST]SELECT production_code FROM table_21304155_1 WHERE directed_by = "David Solomon"</s>
CREATE TABLE table_name_43 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
SELECT COUNT(bronze) FROM table_name_43 WHERE total < 4 AND gold > 1
How many bronze had a total less than 4 and gold bigger than 1?
<s>[INST]How many bronze had a total less than 4 and gold bigger than 1? Context: CREATE TABLE table_name_43 (bronze VARCHAR, total VARCHAR, gold VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_43 WHERE total < 4 AND gold > 1</s>
CREATE TABLE table_15621965_7 (no INTEGER, player VARCHAR)
SELECT MAX(no) FROM table_15621965_7 WHERE player = "Chris Gatling"
What number identifies Chris Gatling?
<s>[INST]What number identifies Chris Gatling? Context: CREATE TABLE table_15621965_7 (no INTEGER, player VARCHAR)[/INST]SELECT MAX(no) FROM table_15621965_7 WHERE player = "Chris Gatling"</s>
CREATE TABLE table_2482547_5 (average VARCHAR, wickets_taken VARCHAR)
SELECT average FROM table_2482547_5 WHERE wickets_taken = 212
What are the averages for games with 212 wickets taken?
<s>[INST]What are the averages for games with 212 wickets taken? Context: CREATE TABLE table_2482547_5 (average VARCHAR, wickets_taken VARCHAR)[/INST]SELECT average FROM table_2482547_5 WHERE wickets_taken = 212</s>
CREATE TABLE table_name_21 (population_per_km²__2009_ INTEGER, province VARCHAR, area__km²_ VARCHAR)
SELECT MIN(population_per_km²__2009_) FROM table_name_21 WHERE province = "solomon islands" AND area__km²_ < 28 OFFSET 400
What is the lowest Population per km² (2009) that has a Solomon Islands province, with an Area (km²) smaller than 28,400?
<s>[INST]What is the lowest Population per km² (2009) that has a Solomon Islands province, with an Area (km²) smaller than 28,400? Context: CREATE TABLE table_name_21 (population_per_km²__2009_ INTEGER, province VARCHAR, area__km²_ VARCHAR)[/INST]SELECT MIN(population_per_km²__2009_) FROM table_name_21 WHERE province =...
CREATE TABLE table_name_60 (place INTEGER, draw VARCHAR, artist VARCHAR)
SELECT SUM(place) FROM table_name_60 WHERE draw < 12 AND artist = "quartissimo feat. martina"
what is the place when the draw is less than 12 and the artist is quartissimo feat. martina?
<s>[INST]what is the place when the draw is less than 12 and the artist is quartissimo feat. martina? Context: CREATE TABLE table_name_60 (place INTEGER, draw VARCHAR, artist VARCHAR)[/INST]SELECT SUM(place) FROM table_name_60 WHERE draw < 12 AND artist = "quartissimo feat. martina"</s>
CREATE TABLE table_1969634_1 (enrollment VARCHAR, location VARCHAR)
SELECT enrollment FROM table_1969634_1 WHERE location = "Garden City, New York"
What is the total enrollment for the school in garden city, new york?
<s>[INST]What is the total enrollment for the school in garden city, new york? Context: CREATE TABLE table_1969634_1 (enrollment VARCHAR, location VARCHAR)[/INST]SELECT enrollment FROM table_1969634_1 WHERE location = "Garden City, New York"</s>
CREATE TABLE table_name_33 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_33 WHERE event = "ramada perth masters"
What's the location of the Ramada Perth Masters event?
<s>[INST]What's the location of the Ramada Perth Masters event? Context: CREATE TABLE table_name_33 (location VARCHAR, event VARCHAR)[/INST]SELECT location FROM table_name_33 WHERE event = "ramada perth masters"</s>
CREATE TABLE table_1342331_5 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1342331_5 WHERE district = "Arkansas 1"
who is the the incumbent with dbeingtrict being arkansas 1
<s>[INST]who is the the incumbent with dbeingtrict being arkansas 1 Context: CREATE TABLE table_1342331_5 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1342331_5 WHERE district = "Arkansas 1"</s>
CREATE TABLE projects (hours INTEGER)
SELECT AVG(hours) FROM projects
Find the average hours of all projects.
<s>[INST]Find the average hours of all projects. Context: CREATE TABLE projects (hours INTEGER)[/INST]SELECT AVG(hours) FROM projects</s>
CREATE TABLE table_28523_2 (gender VARCHAR, school VARCHAR)
SELECT gender FROM table_28523_2 WHERE school = "Cunningham Hill Infant school"
What is the gender of the cunningham hill infant school?
<s>[INST]What is the gender of the cunningham hill infant school? Context: CREATE TABLE table_28523_2 (gender VARCHAR, school VARCHAR)[/INST]SELECT gender FROM table_28523_2 WHERE school = "Cunningham Hill Infant school"</s>
CREATE TABLE table_name_77 (time VARCHAR, lane VARCHAR)
SELECT time FROM table_name_77 WHERE lane = 7
What was the time of the swimmer in lane 7?
<s>[INST]What was the time of the swimmer in lane 7? Context: CREATE TABLE table_name_77 (time VARCHAR, lane VARCHAR)[/INST]SELECT time FROM table_name_77 WHERE lane = 7</s>
CREATE TABLE table_name_27 (outcome VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_27 WHERE surface = "carpet"
What is the outcome of the match played on carpet surface?
<s>[INST]What is the outcome of the match played on carpet surface? Context: CREATE TABLE table_name_27 (outcome VARCHAR, surface VARCHAR)[/INST]SELECT outcome FROM table_name_27 WHERE surface = "carpet"</s>
CREATE TABLE table_name_25 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_25 WHERE home_team = "fitzroy"
What was Fitzroy score at their home stadium?
<s>[INST]What was Fitzroy score at their home stadium? Context: CREATE TABLE table_name_25 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_25 WHERE home_team = "fitzroy"</s>
CREATE TABLE table_1140099_6 (report VARCHAR, winning_driver VARCHAR)
SELECT report FROM table_1140099_6 WHERE winning_driver = "Mike Spence"
What is the report for the race that Mike Spence won.
<s>[INST]What is the report for the race that Mike Spence won. Context: CREATE TABLE table_1140099_6 (report VARCHAR, winning_driver VARCHAR)[/INST]SELECT report FROM table_1140099_6 WHERE winning_driver = "Mike Spence"</s>
CREATE TABLE table_name_90 (winning_score VARCHAR, year VARCHAR)
SELECT winning_score FROM table_name_90 WHERE year = 1965
What is the Winning score in 1965?
<s>[INST]What is the Winning score in 1965? Context: CREATE TABLE table_name_90 (winning_score VARCHAR, year VARCHAR)[/INST]SELECT winning_score FROM table_name_90 WHERE year = 1965</s>
CREATE TABLE table_name_8 (s_no INTEGER, match_date VARCHAR)
SELECT MAX(s_no) FROM table_name_8 WHERE match_date = "nov 1, 2003"
What is the highest S No, when the Match Date is Nov 1, 2003?
<s>[INST]What is the highest S No, when the Match Date is Nov 1, 2003? Context: CREATE TABLE table_name_8 (s_no INTEGER, match_date VARCHAR)[/INST]SELECT MAX(s_no) FROM table_name_8 WHERE match_date = "nov 1, 2003"</s>
CREATE TABLE table_name_15 (year INTEGER, apparatus VARCHAR, rank_final VARCHAR)
SELECT MIN(year) FROM table_name_15 WHERE apparatus = "uneven bars" AND rank_final < 3
Which Year is the first one that has an Apparatus of uneven bars, and a Rank-Final smaller than 3?
<s>[INST]Which Year is the first one that has an Apparatus of uneven bars, and a Rank-Final smaller than 3? Context: CREATE TABLE table_name_15 (year INTEGER, apparatus VARCHAR, rank_final VARCHAR)[/INST]SELECT MIN(year) FROM table_name_15 WHERE apparatus = "uneven bars" AND rank_final < 3</s>
CREATE TABLE table_name_14 (date VARCHAR, to_par VARCHAR, tournament VARCHAR, margin_of_victory VARCHAR)
SELECT date FROM table_name_14 WHERE tournament = "at&t pebble beach national pro-am" AND margin_of_victory = "1 stroke" AND to_par = "–11"
Which Date has a Tournament of at&t pebble beach national pro-am, and a Margin of victory of 1 stroke, and a To par of –11?
<s>[INST]Which Date has a Tournament of at&t pebble beach national pro-am, and a Margin of victory of 1 stroke, and a To par of –11? Context: CREATE TABLE table_name_14 (date VARCHAR, to_par VARCHAR, tournament VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT date FROM table_name_14 WHERE tournament = "at&t pebble beac...
CREATE TABLE table_name_20 (winner VARCHAR, runner_up VARCHAR)
SELECT winner FROM table_name_20 WHERE runner_up = "real salt lake"
Who was the Winner when the Runner-up was Real Salt Lake?
<s>[INST]Who was the Winner when the Runner-up was Real Salt Lake? Context: CREATE TABLE table_name_20 (winner VARCHAR, runner_up VARCHAR)[/INST]SELECT winner FROM table_name_20 WHERE runner_up = "real salt lake"</s>
CREATE TABLE table_name_29 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_29 WHERE date = "september 19, 1976"
How many people attended the game on September 19, 1976?
<s>[INST]How many people attended the game on September 19, 1976? Context: CREATE TABLE table_name_29 (attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_29 WHERE date = "september 19, 1976"</s>
CREATE TABLE table_name_69 (city VARCHAR, built VARCHAR, spire__m_ VARCHAR, roof___m__ VARCHAR)
SELECT city FROM table_name_69 WHERE spire__m_ = "105" AND roof___m__ < 96 AND built = 1985
What's the name of the 1985 city with a Spire (m) of 105, and a Roof (m) smaller than 96?
<s>[INST]What's the name of the 1985 city with a Spire (m) of 105, and a Roof (m) smaller than 96? Context: CREATE TABLE table_name_69 (city VARCHAR, built VARCHAR, spire__m_ VARCHAR, roof___m__ VARCHAR)[/INST]SELECT city FROM table_name_69 WHERE spire__m_ = "105" AND roof___m__ < 96 AND built = 1985</s>
CREATE TABLE table_name_45 (no_10 VARCHAR, no_1 VARCHAR, no_9 VARCHAR)
SELECT no_10 FROM table_name_45 WHERE no_1 = "noah" AND no_9 = "carter"
What is No. 10, when No. 1 is Noah, and when No. 9 is Carter?
<s>[INST]What is No. 10, when No. 1 is Noah, and when No. 9 is Carter? Context: CREATE TABLE table_name_45 (no_10 VARCHAR, no_1 VARCHAR, no_9 VARCHAR)[/INST]SELECT no_10 FROM table_name_45 WHERE no_1 = "noah" AND no_9 = "carter"</s>
CREATE TABLE table_name_45 (score VARCHAR, result VARCHAR, date VARCHAR)
SELECT score FROM table_name_45 WHERE result = "l" AND date = "15-oct-64"
Result of l, and a Date of 15-oct-64 had what score?
<s>[INST]Result of l, and a Date of 15-oct-64 had what score? Context: CREATE TABLE table_name_45 (score VARCHAR, result VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_45 WHERE result = "l" AND date = "15-oct-64"</s>
CREATE TABLE table_name_21 (civilian_deaths VARCHAR, military_deaths VARCHAR)
SELECT civilian_deaths FROM table_name_21 WHERE military_deaths = "231"
How many civilians died in the conflict that left 231 members of the military dead?
<s>[INST]How many civilians died in the conflict that left 231 members of the military dead? Context: CREATE TABLE table_name_21 (civilian_deaths VARCHAR, military_deaths VARCHAR)[/INST]SELECT civilian_deaths FROM table_name_21 WHERE military_deaths = "231"</s>
CREATE TABLE table_name_79 (position VARCHAR, first_team_goals VARCHAR, current_club VARCHAR)
SELECT position FROM table_name_79 WHERE first_team_goals = "ongoing" AND current_club = "aston villa"
What is the position of the player who has ongoing first-team goals and currently plays for the Aston Villa club?
<s>[INST]What is the position of the player who has ongoing first-team goals and currently plays for the Aston Villa club? Context: CREATE TABLE table_name_79 (position VARCHAR, first_team_goals VARCHAR, current_club VARCHAR)[/INST]SELECT position FROM table_name_79 WHERE first_team_goals = "ongoing" AND current_club =...
CREATE TABLE table_name_45 (country VARCHAR, margin VARCHAR, score VARCHAR)
SELECT country FROM table_name_45 WHERE margin = "2 strokes" AND score = "276 (-4)"
What was the country when the margin was 2 strokes, and when the score was 276 (-4)?
<s>[INST]What was the country when the margin was 2 strokes, and when the score was 276 (-4)? Context: CREATE TABLE table_name_45 (country VARCHAR, margin VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_45 WHERE margin = "2 strokes" AND score = "276 (-4)"</s>
CREATE TABLE table_name_47 (top_25 VARCHAR, top_10 VARCHAR, events VARCHAR, cuts_made VARCHAR)
SELECT top_25 FROM table_name_47 WHERE events < 13 AND cuts_made < 3 AND top_10 = 1
What is the number of top-25s in events under 13, cuts made under 3, and 1 top-10?
<s>[INST]What is the number of top-25s in events under 13, cuts made under 3, and 1 top-10? Context: CREATE TABLE table_name_47 (top_25 VARCHAR, top_10 VARCHAR, events VARCHAR, cuts_made VARCHAR)[/INST]SELECT top_25 FROM table_name_47 WHERE events < 13 AND cuts_made < 3 AND top_10 = 1</s>
CREATE TABLE table_20403667_2 (district VARCHAR, crop_damaged__in_lakh_inr__ VARCHAR)
SELECT COUNT(district) FROM table_20403667_2 WHERE crop_damaged__in_lakh_inr__ = "1,164.50"
How many districts had crib damage of 1,164.50?
<s>[INST]How many districts had crib damage of 1,164.50? Context: CREATE TABLE table_20403667_2 (district VARCHAR, crop_damaged__in_lakh_inr__ VARCHAR)[/INST]SELECT COUNT(district) FROM table_20403667_2 WHERE crop_damaged__in_lakh_inr__ = "1,164.50"</s>
CREATE TABLE table_11677691_8 (hometown VARCHAR, school VARCHAR)
SELECT hometown FROM table_11677691_8 WHERE school = "Longview High school"
Where is longview high school
<s>[INST]Where is longview high school Context: CREATE TABLE table_11677691_8 (hometown VARCHAR, school VARCHAR)[/INST]SELECT hometown FROM table_11677691_8 WHERE school = "Longview High school"</s>
CREATE TABLE table_name_96 (date VARCHAR, film VARCHAR)
SELECT date FROM table_name_96 WHERE film = "monsters"
When did the film 'Monsters' come out?
<s>[INST]When did the film 'Monsters' come out? Context: CREATE TABLE table_name_96 (date VARCHAR, film VARCHAR)[/INST]SELECT date FROM table_name_96 WHERE film = "monsters"</s>
CREATE TABLE table_name_59 (date VARCHAR, opponent VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_59 WHERE surface = "hard" AND tournament = "maybelline classic" AND opponent = "wendy turnbull"
Name the date for hard surface at maybelline classic with opponent of wendy turnbull
<s>[INST]Name the date for hard surface at maybelline classic with opponent of wendy turnbull Context: CREATE TABLE table_name_59 (date VARCHAR, opponent VARCHAR, surface VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_59 WHERE surface = "hard" AND tournament = "maybelline classic" AND opponent = "wendy ...
CREATE TABLE table_19501664_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_19501664_1 WHERE us_viewers__millions_ = "18.29"
Name the title for us viewers being 18.29
<s>[INST]Name the title for us viewers being 18.29 Context: CREATE TABLE table_19501664_1 (title VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT title FROM table_19501664_1 WHERE us_viewers__millions_ = "18.29"</s>
CREATE TABLE table_name_39 (city VARCHAR, region VARCHAR, host VARCHAR)
SELECT city FROM table_name_39 WHERE region = "mideast" AND host = "temple university"
Which city in the mideast region is the hot of Temple University?
<s>[INST]Which city in the mideast region is the hot of Temple University? Context: CREATE TABLE table_name_39 (city VARCHAR, region VARCHAR, host VARCHAR)[/INST]SELECT city FROM table_name_39 WHERE region = "mideast" AND host = "temple university"</s>
CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR)
SELECT world_rank FROM table_name_81 WHERE year = 1977
Which World Rank happened in 1977?
<s>[INST]Which World Rank happened in 1977? Context: CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR)[/INST]SELECT world_rank FROM table_name_81 WHERE year = 1977</s>
CREATE TABLE member (address VARCHAR)
SELECT COUNT(*) FROM member WHERE address <> 'Hartford'
How many members are not living in Hartford?
<s>[INST]How many members are not living in Hartford? Context: CREATE TABLE member (address VARCHAR)[/INST]SELECT COUNT(*) FROM member WHERE address <> 'Hartford'</s>
CREATE TABLE Products (Product_Type_Code VARCHAR)
SELECT Product_Type_Code FROM Products GROUP BY Product_Type_Code HAVING COUNT(*) >= 2
Show the product type codes that have at least two products.
<s>[INST]Show the product type codes that have at least two products. Context: CREATE TABLE Products (Product_Type_Code VARCHAR)[/INST]SELECT Product_Type_Code FROM Products GROUP BY Product_Type_Code HAVING COUNT(*) >= 2</s>
CREATE TABLE table_name_50 (championship VARCHAR, year VARCHAR, surface VARCHAR)
SELECT championship FROM table_name_50 WHERE year > 2002 AND surface = "hard"
What is Championship, when Year is greater than 2002, and when Surface is Hard?
<s>[INST]What is Championship, when Year is greater than 2002, and when Surface is Hard? Context: CREATE TABLE table_name_50 (championship VARCHAR, year VARCHAR, surface VARCHAR)[/INST]SELECT championship FROM table_name_50 WHERE year > 2002 AND surface = "hard"</s>
CREATE TABLE table_name_95 (withdrawal VARCHAR, sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR)
SELECT withdrawal FROM table_name_95 WHERE lb & sc_number < 16 AND sr_number = 2011
what is the withdrawal when the lb&sc number is less than 16 and the s.r. number is 2011?
<s>[INST]what is the withdrawal when the lb&sc number is less than 16 and the s.r. number is 2011? Context: CREATE TABLE table_name_95 (withdrawal VARCHAR, sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR)[/INST]SELECT withdrawal FROM table_name_95 WHERE lb & sc_number < 16 AND sr_number = 2011</s>
CREATE TABLE table_name_52 (race VARCHAR, date_of_execution VARCHAR)
SELECT race FROM table_name_52 WHERE date_of_execution = "december 27, 1827"
What was the race of the person executed on December 27, 1827?
<s>[INST]What was the race of the person executed on December 27, 1827? Context: CREATE TABLE table_name_52 (race VARCHAR, date_of_execution VARCHAR)[/INST]SELECT race FROM table_name_52 WHERE date_of_execution = "december 27, 1827"</s>
CREATE TABLE table_name_43 (Id VARCHAR)
SELECT 1998 FROM table_name_43 WHERE 1996 = "1r" AND 2002 = "not held"
What shows for 1998 when 1996 is 1R, and 2002 is not held?
<s>[INST]What shows for 1998 when 1996 is 1R, and 2002 is not held? Context: CREATE TABLE table_name_43 (Id VARCHAR)[/INST]SELECT 1998 FROM table_name_43 WHERE 1996 = "1r" AND 2002 = "not held"</s>
CREATE TABLE table_2840500_6 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_2840500_6 WHERE player = "Blaine Russell"
Which team picked Blaine Russell?
<s>[INST]Which team picked Blaine Russell? Context: CREATE TABLE table_2840500_6 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT nhl_team FROM table_2840500_6 WHERE player = "Blaine Russell"</s>
CREATE TABLE table_1341598_36 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1341598_36 WHERE district = "Ohio 11"
what is the party for district ohio 11?
<s>[INST]what is the party for district ohio 11? Context: CREATE TABLE table_1341598_36 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_1341598_36 WHERE district = "Ohio 11"</s>
CREATE TABLE table_name_47 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_47 WHERE date = "may 2"
What is the Score with a Date with may 2?
<s>[INST]What is the Score with a Date with may 2? Context: CREATE TABLE table_name_47 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_47 WHERE date = "may 2"</s>
CREATE TABLE Video_games (gtype VARCHAR, gname VARCHAR)
SELECT gtype FROM Video_games WHERE gname = "Call of Destiny"
What is the type of video game Call of Destiny.
<s>[INST]What is the type of video game Call of Destiny. Context: CREATE TABLE Video_games (gtype VARCHAR, gname VARCHAR)[/INST]SELECT gtype FROM Video_games WHERE gname = "Call of Destiny"</s>
CREATE TABLE table_name_90 (genre VARCHAR, year VARCHAR, game VARCHAR)
SELECT genre FROM table_name_90 WHERE year > 1999 AND game = "tony hawk's pro skater 2"
Which Genre has a Year larger than 1999, and a Game of tony hawk's pro skater 2?
<s>[INST]Which Genre has a Year larger than 1999, and a Game of tony hawk's pro skater 2? Context: CREATE TABLE table_name_90 (genre VARCHAR, year VARCHAR, game VARCHAR)[/INST]SELECT genre FROM table_name_90 WHERE year > 1999 AND game = "tony hawk's pro skater 2"</s>
CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE all_star (player_id VARCHAR)
SELECT T1.name_first, T1.name_last, T1.player_id, COUNT(*) FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY COUNT(*) DESC LIMIT 1
What are the first name, last name and id of the player with the most all star game experiences? Also list the count.
<s>[INST]What are the first name, last name and id of the player with the most all star game experiences? Also list the count. Context: CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE all_star (player_id VARCHAR)[/INST]SELECT T1.name_first, T1.name_last, T1.player_id, COUNT(...
CREATE TABLE inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)
SELECT t1.name FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.name ORDER BY COUNT(*) DESC LIMIT 1
Find the name of the organization that has published the largest number of papers.
<s>[INST]Find the name of the organization that has published the largest number of papers. Context: CREATE TABLE inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)[/INST]SELECT t1.name FROM inst AS t1 JOIN authorship AS t2 ON t1.instid ...
CREATE TABLE table_2201541_3 (championship__titles_finals_ VARCHAR, year VARCHAR)
SELECT championship__titles_finals_ FROM table_2201541_3 WHERE year = 1981
What championship was played in 1981?
<s>[INST]What championship was played in 1981? Context: CREATE TABLE table_2201541_3 (championship__titles_finals_ VARCHAR, year VARCHAR)[/INST]SELECT championship__titles_finals_ FROM table_2201541_3 WHERE year = 1981</s>
CREATE TABLE table_name_94 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_94 WHERE date = "11/2/01"
What was the score of the match on 11/2/01?
<s>[INST]What was the score of the match on 11/2/01? Context: CREATE TABLE table_name_94 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_94 WHERE date = "11/2/01"</s>
CREATE TABLE table_name_43 (played INTEGER, club VARCHAR, wins VARCHAR)
SELECT AVG(played) FROM table_name_43 WHERE club = "botev plovdiv" AND wins > 11
What is the played average that has botev plovdiv as the club and wins larger than 11?
<s>[INST]What is the played average that has botev plovdiv as the club and wins larger than 11? Context: CREATE TABLE table_name_43 (played INTEGER, club VARCHAR, wins VARCHAR)[/INST]SELECT AVG(played) FROM table_name_43 WHERE club = "botev plovdiv" AND wins > 11</s>
CREATE TABLE table_name_52 (time VARCHAR, rank VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT COUNT(time) FROM table_name_52 WHERE lane < 8 AND nationality = "canada" AND rank < 8
What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8?
<s>[INST]What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8? Context: CREATE TABLE table_name_52 (time VARCHAR, rank VARCHAR, lane VARCHAR, nationality VARCHAR)[/INST]SELECT COUNT(time) FROM table_name_52 WHERE lane < 8 AND nationality = "canada" AND rank < 8</s>
CREATE TABLE table_278229_1 (commandery VARCHAR)
SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Changsha 長沙"
when changsha 長沙 is the commandery what is the commandery capital?
<s>[INST]when changsha 長沙 is the commandery what is the commandery capital? Context: CREATE TABLE table_278229_1 (commandery VARCHAR)[/INST]SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Changsha 長沙"</s>
CREATE TABLE table_name_84 (Id VARCHAR)
SELECT MAX(2003) FROM table_name_84 WHERE 1990 > 74 AND 1985 = 125 AND 1995 > 130
What is the highest 2003 value with a 1990 greater than 74, a 125 value in 1985, and a 1995 value greater than 130?
<s>[INST]What is the highest 2003 value with a 1990 greater than 74, a 125 value in 1985, and a 1995 value greater than 130? Context: CREATE TABLE table_name_84 (Id VARCHAR)[/INST]SELECT MAX(2003) FROM table_name_84 WHERE 1990 > 74 AND 1985 = 125 AND 1995 > 130</s>
CREATE TABLE table_name_66 (club_province VARCHAR, caps VARCHAR)
SELECT club_province FROM table_name_66 WHERE caps = 41
What club/province has 41 caps?
<s>[INST]What club/province has 41 caps? Context: CREATE TABLE table_name_66 (club_province VARCHAR, caps VARCHAR)[/INST]SELECT club_province FROM table_name_66 WHERE caps = 41</s>
CREATE TABLE table_name_21 (frequency VARCHAR, call_letters VARCHAR)
SELECT frequency FROM table_name_21 WHERE call_letters = "wmad"
What is the frequency of WMAD?
<s>[INST]What is the frequency of WMAD? Context: CREATE TABLE table_name_21 (frequency VARCHAR, call_letters VARCHAR)[/INST]SELECT frequency FROM table_name_21 WHERE call_letters = "wmad"</s>
CREATE TABLE table_name_22 (percent_of_slovenes_1951 VARCHAR, percent_of_slovenes_1991 VARCHAR)
SELECT percent_of_slovenes_1951 FROM table_name_22 WHERE percent_of_slovenes_1991 = "10.1%"
What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991?
<s>[INST]What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991? Context: CREATE TABLE table_name_22 (percent_of_slovenes_1951 VARCHAR, percent_of_slovenes_1991 VARCHAR)[/INST]SELECT percent_of_slovenes_1951 FROM table_name_22 WHERE percent_of_slovenes_1991 = "10.1%"</s>
CREATE TABLE table_243664_1 (game_cost VARCHAR, railroad VARCHAR)
SELECT game_cost FROM table_243664_1 WHERE railroad = "Chicago and North Western"
Name the game coast for chicago and north western
<s>[INST]Name the game coast for chicago and north western Context: CREATE TABLE table_243664_1 (game_cost VARCHAR, railroad VARCHAR)[/INST]SELECT game_cost FROM table_243664_1 WHERE railroad = "Chicago and North Western"</s>
CREATE TABLE table_12142298_2 (shortstop VARCHAR, starting_pitcher VARCHAR, second_baseman VARCHAR, centerfielder VARCHAR)
SELECT shortstop FROM table_12142298_2 WHERE second_baseman = "Jim Lefebvre" AND centerfielder = "Willie Davis" AND starting_pitcher = "Don Drysdale"
Who was the SS when jim lefebvre was at 2nd, willie davis at CF, and don drysdale was the SP.
<s>[INST]Who was the SS when jim lefebvre was at 2nd, willie davis at CF, and don drysdale was the SP. Context: CREATE TABLE table_12142298_2 (shortstop VARCHAR, starting_pitcher VARCHAR, second_baseman VARCHAR, centerfielder VARCHAR)[/INST]SELECT shortstop FROM table_12142298_2 WHERE second_baseman = "Jim Lefebvre" AN...
CREATE TABLE table_name_12 (round VARCHAR, position VARCHAR, player VARCHAR)
SELECT COUNT(round) FROM table_name_12 WHERE position = "linebacker" AND player = "blane smith"
How many rounds did Blane Smith play linebacker?
<s>[INST]How many rounds did Blane Smith play linebacker? Context: CREATE TABLE table_name_12 (round VARCHAR, position VARCHAR, player VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_12 WHERE position = "linebacker" AND player = "blane smith"</s>
CREATE TABLE table_26919_6 (tigrinya VARCHAR, arabic VARCHAR)
SELECT COUNT(tigrinya) FROM table_26919_6 WHERE arabic = "χams-"
Name the tigrinya for χams-
<s>[INST]Name the tigrinya for χams- Context: CREATE TABLE table_26919_6 (tigrinya VARCHAR, arabic VARCHAR)[/INST]SELECT COUNT(tigrinya) FROM table_26919_6 WHERE arabic = "χams-"</s>
CREATE TABLE table_23274514_5 (high_rebounds VARCHAR, record VARCHAR)
SELECT high_rebounds FROM table_23274514_5 WHERE record = "10-19"
Name the high rebounds for record 10-19
<s>[INST]Name the high rebounds for record 10-19 Context: CREATE TABLE table_23274514_5 (high_rebounds VARCHAR, record VARCHAR)[/INST]SELECT high_rebounds FROM table_23274514_5 WHERE record = "10-19"</s>
CREATE TABLE table_name_18 (wins INTEGER, years VARCHAR, pct VARCHAR)
SELECT AVG(wins) FROM table_name_18 WHERE years = "1881" AND pct > 0.75
Which Wins have Years of 1881, and a Pct larger than 0.75?
<s>[INST]Which Wins have Years of 1881, and a Pct larger than 0.75? Context: CREATE TABLE table_name_18 (wins INTEGER, years VARCHAR, pct VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_18 WHERE years = "1881" AND pct > 0.75</s>
CREATE TABLE table_25421463_1 (team_name VARCHAR, points VARCHAR)
SELECT team_name FROM table_25421463_1 WHERE points = "38"
What team was Sigachev on when he had 38 points?
<s>[INST]What team was Sigachev on when he had 38 points? Context: CREATE TABLE table_25421463_1 (team_name VARCHAR, points VARCHAR)[/INST]SELECT team_name FROM table_25421463_1 WHERE points = "38"</s>
CREATE TABLE table_name_59 (december INTEGER, record VARCHAR)
SELECT AVG(december) FROM table_name_59 WHERE record = "21–6–5"
Which December has a Record of 21–6–5?
<s>[INST]Which December has a Record of 21–6–5? Context: CREATE TABLE table_name_59 (december INTEGER, record VARCHAR)[/INST]SELECT AVG(december) FROM table_name_59 WHERE record = "21–6–5"</s>
CREATE TABLE table_17257687_1 (air_date VARCHAR, event_1 VARCHAR)
SELECT COUNT(air_date) FROM table_17257687_1 WHERE event_1 = "Suspension Bridge"
On how many different dates was event 1 Suspension Bridge?
<s>[INST]On how many different dates was event 1 Suspension Bridge? Context: CREATE TABLE table_17257687_1 (air_date VARCHAR, event_1 VARCHAR)[/INST]SELECT COUNT(air_date) FROM table_17257687_1 WHERE event_1 = "Suspension Bridge"</s>
CREATE TABLE artwork (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR)
SELECT T2.Name, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID
For each nomination, show the name of the artwork and name of the festival where it is nominated.
<s>[INST]For each nomination, show the name of the artwork and name of the festival where it is nominated. Context: CREATE TABLE artwork (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR)[/INST]...
CREATE TABLE table_name_61 (grid INTEGER, manufacturer VARCHAR, time VARCHAR)
SELECT MAX(grid) FROM table_name_61 WHERE manufacturer = "honda" AND time = "+1:38.407"
What is Honda's highest grid with a time of +1:38.407?
<s>[INST]What is Honda's highest grid with a time of +1:38.407? Context: CREATE TABLE table_name_61 (grid INTEGER, manufacturer VARCHAR, time VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_61 WHERE manufacturer = "honda" AND time = "+1:38.407"</s>
CREATE TABLE table_12608427_8 (loan_club VARCHAR, name VARCHAR)
SELECT loan_club FROM table_12608427_8 WHERE name = "Westlake"
Who was the loan club for the Westlake game?
<s>[INST]Who was the loan club for the Westlake game? Context: CREATE TABLE table_12608427_8 (loan_club VARCHAR, name VARCHAR)[/INST]SELECT loan_club FROM table_12608427_8 WHERE name = "Westlake"</s>
CREATE TABLE table_name_17 (stage__winner_ VARCHAR, points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)
SELECT stage__winner_ FROM table_name_17 WHERE general_classification = "vladimir karpets" AND team_classification = "relax-gam" AND points_classification = "denis menchov"
Which Stage (Winner) has a Vladimir Karpets General classification and a Team classification of relax-gam, and a Points classification of Denis Menchov?
<s>[INST]Which Stage (Winner) has a Vladimir Karpets General classification and a Team classification of relax-gam, and a Points classification of Denis Menchov? Context: CREATE TABLE table_name_17 (stage__winner_ VARCHAR, points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)[/INST...
CREATE TABLE Has_allergy (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Student (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR)
SELECT lname, age FROM Student WHERE StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy = "Milk" INTERSECT SELECT StuID FROM Has_allergy WHERE Allergy = "Cat")
Find the last name and age of the student who has allergy to both milk and cat.
<s>[INST]Find the last name and age of the student who has allergy to both milk and cat. Context: CREATE TABLE Has_allergy (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Student (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR)[/INST]SELECT lname, age FROM Student WHERE StuID IN (...
CREATE TABLE table_28180840_15 (act VARCHAR, name_name_of_act VARCHAR)
SELECT act FROM table_28180840_15 WHERE name_name_of_act = "Zhu Xiaoming"
What is the name of the performance zhu xiaoming performed?
<s>[INST]What is the name of the performance zhu xiaoming performed? Context: CREATE TABLE table_28180840_15 (act VARCHAR, name_name_of_act VARCHAR)[/INST]SELECT act FROM table_28180840_15 WHERE name_name_of_act = "Zhu Xiaoming"</s>
CREATE TABLE table_name_60 (to_par VARCHAR, player VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_60 WHERE score = 71 - 74 = 145 AND player = "tom weiskopf"
What is the to par of player tom weiskopf, who has a 71-74=145 score?
<s>[INST]What is the to par of player tom weiskopf, who has a 71-74=145 score? Context: CREATE TABLE table_name_60 (to_par VARCHAR, player VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_60 WHERE score = 71 - 74 = 145 AND player = "tom weiskopf"</s>
CREATE TABLE table_name_34 (party VARCHAR, electorate VARCHAR)
SELECT party FROM table_name_34 WHERE electorate = "lindsay"
What party is the member that has an electorate of Lindsay?
<s>[INST]What party is the member that has an electorate of Lindsay? Context: CREATE TABLE table_name_34 (party VARCHAR, electorate VARCHAR)[/INST]SELECT party FROM table_name_34 WHERE electorate = "lindsay"</s>
CREATE TABLE table_name_7 (venue VARCHAR, losing_team VARCHAR)
SELECT venue FROM table_name_7 WHERE losing_team = "newcastle knights"
Name the Venue which has a Losing Team of newcastle knights?
<s>[INST]Name the Venue which has a Losing Team of newcastle knights? Context: CREATE TABLE table_name_7 (venue VARCHAR, losing_team VARCHAR)[/INST]SELECT venue FROM table_name_7 WHERE losing_team = "newcastle knights"</s>
CREATE TABLE table_name_47 (event VARCHAR, record VARCHAR)
SELECT event FROM table_name_47 WHERE record = "19-9"
Which Event has a Record of 19-9?
<s>[INST]Which Event has a Record of 19-9? Context: CREATE TABLE table_name_47 (event VARCHAR, record VARCHAR)[/INST]SELECT event FROM table_name_47 WHERE record = "19-9"</s>
CREATE TABLE table_name_71 (rank INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
SELECT MIN(rank) FROM table_name_71 WHERE silver > 5 AND total = 29 AND bronze < 16
What is the lowest rank for a nation with 29 total medals, over 5 silvers, and under 16 bronze?
<s>[INST]What is the lowest rank for a nation with 29 total medals, over 5 silvers, and under 16 bronze? Context: CREATE TABLE table_name_71 (rank INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_71 WHERE silver > 5 AND total = 29 AND bronze < 16</s>
CREATE TABLE table_20760802_1 (played VARCHAR, lost VARCHAR, drawn VARCHAR)
SELECT played FROM table_20760802_1 WHERE lost = "4" AND drawn = "1"
What is the total of played where lost equals 4 and drawn equals 1?
<s>[INST]What is the total of played where lost equals 4 and drawn equals 1? Context: CREATE TABLE table_20760802_1 (played VARCHAR, lost VARCHAR, drawn VARCHAR)[/INST]SELECT played FROM table_20760802_1 WHERE lost = "4" AND drawn = "1"</s>
CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)
SELECT DISTINCT T1.customer_first_name, T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id
Show distinct first and last names for all customers with an account.
<s>[INST]Show distinct first and last names for all customers with an account. Context: CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)[/INST]SELECT DISTINCT T1.customer_first_name, T1.customer_last_name FROM Customers AS...
CREATE TABLE table_name_86 (constituted VARCHAR, party VARCHAR, name VARCHAR)
SELECT constituted FROM table_name_86 WHERE party = "labor" AND name = "scullin ministry"
Name the constituted for labor and scullin ministry
<s>[INST]Name the constituted for labor and scullin ministry Context: CREATE TABLE table_name_86 (constituted VARCHAR, party VARCHAR, name VARCHAR)[/INST]SELECT constituted FROM table_name_86 WHERE party = "labor" AND name = "scullin ministry"</s>
CREATE TABLE table_name_4 (venue VARCHAR, year INTEGER)
SELECT venue FROM table_name_4 WHERE year > 2012
What was the venue after 2012?
<s>[INST]What was the venue after 2012? Context: CREATE TABLE table_name_4 (venue VARCHAR, year INTEGER)[/INST]SELECT venue FROM table_name_4 WHERE year > 2012</s>
CREATE TABLE table_175442_1 (common_name VARCHAR, scientific_name VARCHAR)
SELECT common_name FROM table_175442_1 WHERE scientific_name = "Rhampholeon spectrum"
Name the common name for rhampholeon spectrum
<s>[INST]Name the common name for rhampholeon spectrum Context: CREATE TABLE table_175442_1 (common_name VARCHAR, scientific_name VARCHAR)[/INST]SELECT common_name FROM table_175442_1 WHERE scientific_name = "Rhampholeon spectrum"</s>
CREATE TABLE table_1206114_2 (comments VARCHAR, implementation VARCHAR)
SELECT comments FROM table_1206114_2 WHERE implementation = "Software running on Central Processor Module"
What are the comments when the implementation is software running on central processor module?
<s>[INST]What are the comments when the implementation is software running on central processor module? Context: CREATE TABLE table_1206114_2 (comments VARCHAR, implementation VARCHAR)[/INST]SELECT comments FROM table_1206114_2 WHERE implementation = "Software running on Central Processor Module"</s>
CREATE TABLE table_name_17 (finish VARCHAR, season VARCHAR)
SELECT finish FROM table_name_17 WHERE season = "playoffs"
What was the finish in the playoffs season?
<s>[INST]What was the finish in the playoffs season? Context: CREATE TABLE table_name_17 (finish VARCHAR, season VARCHAR)[/INST]SELECT finish FROM table_name_17 WHERE season = "playoffs"</s>
CREATE TABLE table_name_10 (catalog VARCHAR, format VARCHAR)
SELECT catalog FROM table_name_10 WHERE format = "stereo compact cassette"
What catalog uses the stereo compact cassette format?
<s>[INST]What catalog uses the stereo compact cassette format? Context: CREATE TABLE table_name_10 (catalog VARCHAR, format VARCHAR)[/INST]SELECT catalog FROM table_name_10 WHERE format = "stereo compact cassette"</s>
CREATE TABLE table_1140117_5 (report VARCHAR, circuit VARCHAR)
SELECT report FROM table_1140117_5 WHERE circuit = "Silverstone"
What's the report for the Silverstone circuit?
<s>[INST]What's the report for the Silverstone circuit? Context: CREATE TABLE table_1140117_5 (report VARCHAR, circuit VARCHAR)[/INST]SELECT report FROM table_1140117_5 WHERE circuit = "Silverstone"</s>
CREATE TABLE table_2668243_19 (result VARCHAR, first_elected VARCHAR)
SELECT result FROM table_2668243_19 WHERE first_elected = "1820"
What was the result for the candidate first elected in 1820?
<s>[INST]What was the result for the candidate first elected in 1820? Context: CREATE TABLE table_2668243_19 (result VARCHAR, first_elected VARCHAR)[/INST]SELECT result FROM table_2668243_19 WHERE first_elected = "1820"</s>
CREATE TABLE table_20453681_1 (county VARCHAR, mccain_percentage VARCHAR, obama_percentage VARCHAR)
SELECT county FROM table_20453681_1 WHERE mccain_percentage = "60.6%" AND obama_percentage = "37.3%"
What's the county where McCain got 60.6% and Obama got 37.3%?
<s>[INST]What's the county where McCain got 60.6% and Obama got 37.3%? Context: CREATE TABLE table_20453681_1 (county VARCHAR, mccain_percentage VARCHAR, obama_percentage VARCHAR)[/INST]SELECT county FROM table_20453681_1 WHERE mccain_percentage = "60.6%" AND obama_percentage = "37.3%"</s>
CREATE TABLE table_name_82 (weekly_rank VARCHAR, official_ratings__millions_ VARCHAR)
SELECT weekly_rank FROM table_name_82 WHERE official_ratings__millions_ = 11.58
Which Weekly Rank has an Official ratings (millions) of 11.58?
<s>[INST]Which Weekly Rank has an Official ratings (millions) of 11.58? Context: CREATE TABLE table_name_82 (weekly_rank VARCHAR, official_ratings__millions_ VARCHAR)[/INST]SELECT weekly_rank FROM table_name_82 WHERE official_ratings__millions_ = 11.58</s>
CREATE TABLE table_1342013_34 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342013_34 WHERE incumbent = "William H. Ayres"
what's the result with incumbent being william h. ayres
<s>[INST]what's the result with incumbent being william h. ayres Context: CREATE TABLE table_1342013_34 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1342013_34 WHERE incumbent = "William H. Ayres"</s>
CREATE TABLE table_name_59 (to_par INTEGER, finish VARCHAR)
SELECT SUM(to_par) FROM table_name_59 WHERE finish = "t11"
What is the sum of To par when the Finish is t11?
<s>[INST]What is the sum of To par when the Finish is t11? Context: CREATE TABLE table_name_59 (to_par INTEGER, finish VARCHAR)[/INST]SELECT SUM(to_par) FROM table_name_59 WHERE finish = "t11"</s>
CREATE TABLE table_name_29 (qual_2 VARCHAR, qual_1 VARCHAR)
SELECT qual_2 FROM table_name_29 WHERE qual_1 = "1:02.813"
What was the second qualification time with a first qualification time of 1:02.813?
<s>[INST]What was the second qualification time with a first qualification time of 1:02.813? Context: CREATE TABLE table_name_29 (qual_2 VARCHAR, qual_1 VARCHAR)[/INST]SELECT qual_2 FROM table_name_29 WHERE qual_1 = "1:02.813"</s>
CREATE TABLE table_2781227_7 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_2781227_7 WHERE player = "Tom White"
What NHL team picked Tom White?
<s>[INST]What NHL team picked Tom White? Context: CREATE TABLE table_2781227_7 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT nhl_team FROM table_2781227_7 WHERE player = "Tom White"</s>
CREATE TABLE table_17157367_1 (output VARCHAR, short_description VARCHAR)
SELECT output FROM table_17157367_1 WHERE short_description = "massive"
what ist he output where the short description is massive?
<s>[INST]what ist he output where the short description is massive? Context: CREATE TABLE table_17157367_1 (output VARCHAR, short_description VARCHAR)[/INST]SELECT output FROM table_17157367_1 WHERE short_description = "massive"</s>
CREATE TABLE table_name_97 (opponent VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_97 WHERE time = "0:10"
Who was the opponent when the fight had a time of 0:10?
<s>[INST]Who was the opponent when the fight had a time of 0:10? Context: CREATE TABLE table_name_97 (opponent VARCHAR, time VARCHAR)[/INST]SELECT opponent FROM table_name_97 WHERE time = "0:10"</s>
CREATE TABLE table_name_85 (language VARCHAR, publication_range VARCHAR)
SELECT language FROM table_name_85 WHERE publication_range = "1955–1999"
What language has a publication range from 1955–1999?
<s>[INST]What language has a publication range from 1955–1999? Context: CREATE TABLE table_name_85 (language VARCHAR, publication_range VARCHAR)[/INST]SELECT language FROM table_name_85 WHERE publication_range = "1955–1999"</s>
CREATE TABLE table_name_79 (height__cm_ INTEGER, position VARCHAR, birthplace VARCHAR)
SELECT AVG(height__cm_) FROM table_name_79 WHERE position = "d" AND birthplace = "new hope, minnesota"
What is the average Height for the Position of d, with a Birthplace of new hope, minnesota?
<s>[INST]What is the average Height for the Position of d, with a Birthplace of new hope, minnesota? Context: CREATE TABLE table_name_79 (height__cm_ INTEGER, position VARCHAR, birthplace VARCHAR)[/INST]SELECT AVG(height__cm_) FROM table_name_79 WHERE position = "d" AND birthplace = "new hope, minnesota"</s>
CREATE TABLE table_name_40 (conference_joined VARCHAR, mascot VARCHAR)
SELECT conference_joined FROM table_name_40 WHERE mascot = "indians"
What conference includes the Indians?
<s>[INST]What conference includes the Indians? Context: CREATE TABLE table_name_40 (conference_joined VARCHAR, mascot VARCHAR)[/INST]SELECT conference_joined FROM table_name_40 WHERE mascot = "indians"</s>