context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_36 (pick__number INTEGER, position VARCHAR, round VARCHAR)
SELECT SUM(pick__number) FROM table_name_36 WHERE position = "guard" AND round > 2
What is the sum of Pick #, when Position is Guard, and when Round is greater than 2?
<s>[INST]What is the sum of Pick #, when Position is Guard, and when Round is greater than 2? Context: CREATE TABLE table_name_36 (pick__number INTEGER, position VARCHAR, round VARCHAR)[/INST]SELECT SUM(pick__number) FROM table_name_36 WHERE position = "guard" AND round > 2</s>
CREATE TABLE table_name_74 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_74 WHERE opponent = "sofia bagherdai"
What round did the fight against Sofia Bagherdai go to?
<s>[INST]What round did the fight against Sofia Bagherdai go to? Context: CREATE TABLE table_name_74 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_74 WHERE opponent = "sofia bagherdai"</s>
CREATE TABLE table_28848697_4 (year VARCHAR, tied VARCHAR)
SELECT year FROM table_28848697_4 WHERE tied = 11
What is the year listed when tied is listed as 11?
<s>[INST]What is the year listed when tied is listed as 11? Context: CREATE TABLE table_28848697_4 (year VARCHAR, tied VARCHAR)[/INST]SELECT year FROM table_28848697_4 WHERE tied = 11</s>
CREATE TABLE table_name_66 (rank INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT MAX(rank) FROM table_name_66 WHERE silver = 1 AND bronze < 5
What is the highest rank a team with 1 silver and less than 5 bronze medals has?
<s>[INST]What is the highest rank a team with 1 silver and less than 5 bronze medals has? Context: CREATE TABLE table_name_66 (rank INTEGER, silver VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_66 WHERE silver = 1 AND bronze < 5</s>
CREATE TABLE table_name_43 (tournament VARCHAR)
SELECT 2010 FROM table_name_43 WHERE 2009 = "a" AND 2008 = "a" AND tournament = "australian open"
What is the 2010 value with A in 2009 and A in 2008 in the Australian Open?
<s>[INST]What is the 2010 value with A in 2009 and A in 2008 in the Australian Open? Context: CREATE TABLE table_name_43 (tournament VARCHAR)[/INST]SELECT 2010 FROM table_name_43 WHERE 2009 = "a" AND 2008 = "a" AND tournament = "australian open"</s>
CREATE TABLE table_name_13 (high_rebounds VARCHAR, game VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_13 WHERE game > 4 AND date = "may 27"
Which High rebounds have a Game larger than 4, and a Date of may 27?
<s>[INST]Which High rebounds have a Game larger than 4, and a Date of may 27? Context: CREATE TABLE table_name_13 (high_rebounds VARCHAR, game VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_name_13 WHERE game > 4 AND date = "may 27"</s>
CREATE TABLE table_name_95 (lane VARCHAR, nationality VARCHAR, time VARCHAR)
SELECT COUNT(lane) FROM table_name_95 WHERE nationality = "great britain" AND time > 57.78
What lane is from Great Britain and a 57.78 time?
<s>[INST]What lane is from Great Britain and a 57.78 time? Context: CREATE TABLE table_name_95 (lane VARCHAR, nationality VARCHAR, time VARCHAR)[/INST]SELECT COUNT(lane) FROM table_name_95 WHERE nationality = "great britain" AND time > 57.78</s>
CREATE TABLE table_23408094_14 (tournament_at_which_lead_began VARCHAR, player VARCHAR, titles_won_at_point_of_lead VARCHAR)
SELECT tournament_at_which_lead_began FROM table_23408094_14 WHERE player = "William Renshaw" AND titles_won_at_point_of_lead = 7
At which tournament did william renshaw begin his lead when he had won 7 titles?
<s>[INST]At which tournament did william renshaw begin his lead when he had won 7 titles? Context: CREATE TABLE table_23408094_14 (tournament_at_which_lead_began VARCHAR, player VARCHAR, titles_won_at_point_of_lead VARCHAR)[/INST]SELECT tournament_at_which_lead_began FROM table_23408094_14 WHERE player = "William Renshaw" AND titles_won_at_point_of_lead = 7</s>
CREATE TABLE table_name_11 (title VARCHAR, rank VARCHAR, gross VARCHAR)
SELECT title FROM table_name_11 WHERE rank < 19 AND gross = "$11,833,696"
Which title ranked lower than 19 has a gross of $11,833,696?
<s>[INST]Which title ranked lower than 19 has a gross of $11,833,696? Context: CREATE TABLE table_name_11 (title VARCHAR, rank VARCHAR, gross VARCHAR)[/INST]SELECT title FROM table_name_11 WHERE rank < 19 AND gross = "$11,833,696"</s>
CREATE TABLE table_1594772_2 (team__b_ VARCHAR, match_date VARCHAR)
SELECT team__b_ FROM table_1594772_2 WHERE match_date = "Oct 30, 1989"
Name the team for oct 30, 1989
<s>[INST]Name the team for oct 30, 1989 Context: CREATE TABLE table_1594772_2 (team__b_ VARCHAR, match_date VARCHAR)[/INST]SELECT team__b_ FROM table_1594772_2 WHERE match_date = "Oct 30, 1989"</s>
CREATE TABLE table_name_39 (gold VARCHAR, silver VARCHAR, year VARCHAR)
SELECT gold FROM table_name_39 WHERE silver = "south korea" AND year = 1986
Can you tell me the Gold that has the Silver of south korea, and the Year of 1986?
<s>[INST]Can you tell me the Gold that has the Silver of south korea, and the Year of 1986? Context: CREATE TABLE table_name_39 (gold VARCHAR, silver VARCHAR, year VARCHAR)[/INST]SELECT gold FROM table_name_39 WHERE silver = "south korea" AND year = 1986</s>
CREATE TABLE table_name_16 (year INTEGER, venue VARCHAR)
SELECT AVG(year) FROM table_name_16 WHERE venue = "bokskogens"
What was the average year that the venue was Bokskogens?
<s>[INST]What was the average year that the venue was Bokskogens? Context: CREATE TABLE table_name_16 (year INTEGER, venue VARCHAR)[/INST]SELECT AVG(year) FROM table_name_16 WHERE venue = "bokskogens"</s>
CREATE TABLE table_name_37 (name VARCHAR, laid_down VARCHAR)
SELECT name FROM table_name_37 WHERE laid_down = "28 february 1943"
what is the name when the laid down is 28 february 1943?
<s>[INST]what is the name when the laid down is 28 february 1943? Context: CREATE TABLE table_name_37 (name VARCHAR, laid_down VARCHAR)[/INST]SELECT name FROM table_name_37 WHERE laid_down = "28 february 1943"</s>
CREATE TABLE table_name_43 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_43 WHERE away_team = "collingwood"
If collingwood is playing away, who played as the home team?
<s>[INST]If collingwood is playing away, who played as the home team? Context: CREATE TABLE table_name_43 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_43 WHERE away_team = "collingwood"</s>
CREATE TABLE table_name_54 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_54 WHERE home_team = "st kilda"
What was the crowd size when st kilda played home?
<s>[INST]What was the crowd size when st kilda played home? Context: CREATE TABLE table_name_54 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_54 WHERE home_team = "st kilda"</s>
CREATE TABLE table_name_82 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_82 WHERE home_team = "fitzroy"
What is Fitzroy's home field?
<s>[INST]What is Fitzroy's home field? Context: CREATE TABLE table_name_82 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_82 WHERE home_team = "fitzroy"</s>
CREATE TABLE table_name_76 (first VARCHAR, surname VARCHAR)
SELECT first FROM table_name_76 WHERE surname = "cook"
Which first's surname is Cook?
<s>[INST]Which first's surname is Cook? Context: CREATE TABLE table_name_76 (first VARCHAR, surname VARCHAR)[/INST]SELECT first FROM table_name_76 WHERE surname = "cook"</s>
CREATE TABLE table_name_39 (end_term INTEGER, start_term VARCHAR, name VARCHAR)
SELECT MIN(end_term) FROM table_name_39 WHERE start_term = 1913 AND name = "ludwig iii"
What is the smallest End term with a Start term of 1913, and a Name of ludwig iii?
<s>[INST]What is the smallest End term with a Start term of 1913, and a Name of ludwig iii? Context: CREATE TABLE table_name_39 (end_term INTEGER, start_term VARCHAR, name VARCHAR)[/INST]SELECT MIN(end_term) FROM table_name_39 WHERE start_term = 1913 AND name = "ludwig iii"</s>
CREATE TABLE table_29583441_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_29583441_1 WHERE production_code = 57376
Who wrote the episode with production code 57376?
<s>[INST]Who wrote the episode with production code 57376? Context: CREATE TABLE table_29583441_1 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_29583441_1 WHERE production_code = 57376</s>
CREATE TABLE table_name_10 (population_density___km_2__ INTEGER)
SELECT COUNT(2013 AS _population__july_est_) FROM table_name_10 WHERE population_density___km_2__ > 14.1
What was the July 2013 population estimate of the location which had a population density larger than 14.1?
<s>[INST]What was the July 2013 population estimate of the location which had a population density larger than 14.1? Context: CREATE TABLE table_name_10 (population_density___km_2__ INTEGER)[/INST]SELECT COUNT(2013 AS _population__july_est_) FROM table_name_10 WHERE population_density___km_2__ > 14.1</s>
CREATE TABLE table_name_67 (pick VARCHAR, round VARCHAR, position VARCHAR)
SELECT COUNT(pick) FROM table_name_67 WHERE round > 6 AND position = "tight end"
What is the pick number for the tight end who was picked after round 6?
<s>[INST]What is the pick number for the tight end who was picked after round 6? Context: CREATE TABLE table_name_67 (pick VARCHAR, round VARCHAR, position VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_67 WHERE round > 6 AND position = "tight end"</s>
CREATE TABLE table_1507431_1 (to_par VARCHAR, winning_score VARCHAR)
SELECT to_par FROM table_1507431_1 WHERE winning_score = 67 - 67 - 69 - 69 = 272
What are all values for 'to par' for the winning score of 67-67-69-69=272?
<s>[INST]What are all values for 'to par' for the winning score of 67-67-69-69=272? Context: CREATE TABLE table_1507431_1 (to_par VARCHAR, winning_score VARCHAR)[/INST]SELECT to_par FROM table_1507431_1 WHERE winning_score = 67 - 67 - 69 - 69 = 272</s>
CREATE TABLE student (stu_gpa VARCHAR, stu_phone VARCHAR, stu_fname VARCHAR)
SELECT stu_gpa, stu_phone, stu_fname FROM student ORDER BY stu_gpa DESC LIMIT 5
What is the first name, gpa and phone number of the top 5 students with highest gpa?
<s>[INST]What is the first name, gpa and phone number of the top 5 students with highest gpa? Context: CREATE TABLE student (stu_gpa VARCHAR, stu_phone VARCHAR, stu_fname VARCHAR)[/INST]SELECT stu_gpa, stu_phone, stu_fname FROM student ORDER BY stu_gpa DESC LIMIT 5</s>
CREATE TABLE table_16078390_2 (founded INTEGER, team_nickname VARCHAR)
SELECT MAX(founded) FROM table_16078390_2 WHERE team_nickname = "Raiders"
What year was the team named the Raiders established?
<s>[INST]What year was the team named the Raiders established? Context: CREATE TABLE table_16078390_2 (founded INTEGER, team_nickname VARCHAR)[/INST]SELECT MAX(founded) FROM table_16078390_2 WHERE team_nickname = "Raiders"</s>
CREATE TABLE table_14254419_3 (elementary_schools VARCHAR, principal__2013_2014_ VARCHAR)
SELECT elementary_schools FROM table_14254419_3 WHERE principal__2013_2014_ = "Cort Monroe"
Which elementary schools list Cort Monroe as the principal from 2013 to 2014?
<s>[INST]Which elementary schools list Cort Monroe as the principal from 2013 to 2014? Context: CREATE TABLE table_14254419_3 (elementary_schools VARCHAR, principal__2013_2014_ VARCHAR)[/INST]SELECT elementary_schools FROM table_14254419_3 WHERE principal__2013_2014_ = "Cort Monroe"</s>
CREATE TABLE table_name_89 (games_played INTEGER, goals_scored VARCHAR)
SELECT SUM(games_played) FROM table_name_89 WHERE goals_scored = "2"
How many games had 2 goals scored?
<s>[INST]How many games had 2 goals scored? Context: CREATE TABLE table_name_89 (games_played INTEGER, goals_scored VARCHAR)[/INST]SELECT SUM(games_played) FROM table_name_89 WHERE goals_scored = "2"</s>
CREATE TABLE table_name_51 (part_number_s_ VARCHAR, model_number VARCHAR)
SELECT part_number_s_ FROM table_name_51 WHERE model_number = "atom z500"
Which part number was used for the Atom Z500 processor?
<s>[INST]Which part number was used for the Atom Z500 processor? Context: CREATE TABLE table_name_51 (part_number_s_ VARCHAR, model_number VARCHAR)[/INST]SELECT part_number_s_ FROM table_name_51 WHERE model_number = "atom z500"</s>
CREATE TABLE table_1341472_49 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1341472_49 WHERE district = "Washington 7"
what's the result with district being washington 7
<s>[INST]what's the result with district being washington 7 Context: CREATE TABLE table_1341472_49 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_1341472_49 WHERE district = "Washington 7"</s>
CREATE TABLE table_1850282_5 (tobago VARCHAR, species VARCHAR)
SELECT tobago FROM table_1850282_5 WHERE species = "Liophis cobellus cobellus"
are in tobago species liophis cobellus cobellus?
<s>[INST]are in tobago species liophis cobellus cobellus? Context: CREATE TABLE table_1850282_5 (tobago VARCHAR, species VARCHAR)[/INST]SELECT tobago FROM table_1850282_5 WHERE species = "Liophis cobellus cobellus"</s>
CREATE TABLE table_name_48 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_48 WHERE date = "18 january 1999"
What was the score of the match played on 18 January 1999?
<s>[INST]What was the score of the match played on 18 January 1999? Context: CREATE TABLE table_name_48 (outcome VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_48 WHERE date = "18 january 1999"</s>
CREATE TABLE table_name_94 (bore VARCHAR, name VARCHAR)
SELECT bore FROM table_name_94 WHERE name = "9 adr"
Which Bore has a Name of 9 adr?
<s>[INST]Which Bore has a Name of 9 adr? Context: CREATE TABLE table_name_94 (bore VARCHAR, name VARCHAR)[/INST]SELECT bore FROM table_name_94 WHERE name = "9 adr"</s>
CREATE TABLE table_name_17 (player VARCHAR, opponent VARCHAR)
SELECT player FROM table_name_17 WHERE opponent = "queensland"
which athlete played against Queensland?
<s>[INST]which athlete played against Queensland? Context: CREATE TABLE table_name_17 (player VARCHAR, opponent VARCHAR)[/INST]SELECT player FROM table_name_17 WHERE opponent = "queensland"</s>
CREATE TABLE table_name_26 (gdp__ppp__$m_usd VARCHAR, area__km²_ VARCHAR)
SELECT gdp__ppp__$m_usd FROM table_name_26 WHERE area__km²_ = "116"
How much is the GDP for an area of 116?
<s>[INST]How much is the GDP for an area of 116? Context: CREATE TABLE table_name_26 (gdp__ppp__$m_usd VARCHAR, area__km²_ VARCHAR)[/INST]SELECT gdp__ppp__$m_usd FROM table_name_26 WHERE area__km²_ = "116"</s>
CREATE TABLE table_2009095_2 (outcome VARCHAR, championship VARCHAR)
SELECT outcome FROM table_2009095_2 WHERE championship = "Wimbledon"
Name the outcome for wimbledon
<s>[INST]Name the outcome for wimbledon Context: CREATE TABLE table_2009095_2 (outcome VARCHAR, championship VARCHAR)[/INST]SELECT outcome FROM table_2009095_2 WHERE championship = "Wimbledon"</s>
CREATE TABLE table_name_71 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_71 WHERE venue = "western oval"
For the Venue of western oval, what's the Away team playing?
<s>[INST]For the Venue of western oval, what's the Away team playing? Context: CREATE TABLE table_name_71 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_71 WHERE venue = "western oval"</s>
CREATE TABLE table_22181917_2 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
SELECT production_code FROM table_22181917_2 WHERE us_viewers__millions_ = "8.56"
What is the production code for the episode with 8.56 million U.S. viewers?
<s>[INST]What is the production code for the episode with 8.56 million U.S. viewers? Context: CREATE TABLE table_22181917_2 (production_code VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT production_code FROM table_22181917_2 WHERE us_viewers__millions_ = "8.56"</s>
CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_45 WHERE date = "5 april 2000"
What is the venue of the match on 5 April 2000?
<s>[INST]What is the venue of the match on 5 April 2000? Context: CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_45 WHERE date = "5 april 2000"</s>
CREATE TABLE table_29273243_1 (written_by VARCHAR, no_in_season VARCHAR)
SELECT written_by FROM table_29273243_1 WHERE no_in_season = 11
Who wrote episode number 11?
<s>[INST]Who wrote episode number 11? Context: CREATE TABLE table_29273243_1 (written_by VARCHAR, no_in_season VARCHAR)[/INST]SELECT written_by FROM table_29273243_1 WHERE no_in_season = 11</s>
CREATE TABLE table_27882867_9 (high_points VARCHAR, high_assists VARCHAR)
SELECT COUNT(high_points) FROM table_27882867_9 WHERE high_assists = "A. Webb (7)"
How many people had the high points when a. webb (7) had the high assists?
<s>[INST]How many people had the high points when a. webb (7) had the high assists? Context: CREATE TABLE table_27882867_9 (high_points VARCHAR, high_assists VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_27882867_9 WHERE high_assists = "A. Webb (7)"</s>
CREATE TABLE table_25675509_1 (longitude VARCHAR, date__yyyy_mm_dd_ VARCHAR)
SELECT longitude FROM table_25675509_1 WHERE date__yyyy_mm_dd_ = "2010-01-09"
What was the longitude for the shock that occured on 2010-01-09?
<s>[INST]What was the longitude for the shock that occured on 2010-01-09? Context: CREATE TABLE table_25675509_1 (longitude VARCHAR, date__yyyy_mm_dd_ VARCHAR)[/INST]SELECT longitude FROM table_25675509_1 WHERE date__yyyy_mm_dd_ = "2010-01-09"</s>
CREATE TABLE table_name_37 (bronze INTEGER, total VARCHAR, silver VARCHAR)
SELECT SUM(bronze) FROM table_name_37 WHERE total = 4 AND silver < 3
How many bronzes were held by those with a total of 4 and less than 3 silvers.
<s>[INST]How many bronzes were held by those with a total of 4 and less than 3 silvers. Context: CREATE TABLE table_name_37 (bronze INTEGER, total VARCHAR, silver VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_37 WHERE total = 4 AND silver < 3</s>
CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR, college VARCHAR)
SELECT original_nfl_team FROM table_name_31 WHERE pos = "s" AND college = "georgia tech"
What's the original NFL team when the POS is S and college is Georgia Tech?
<s>[INST]What's the original NFL team when the POS is S and college is Georgia Tech? Context: CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR, college VARCHAR)[/INST]SELECT original_nfl_team FROM table_name_31 WHERE pos = "s" AND college = "georgia tech"</s>
CREATE TABLE table_13663434_1 (title_and_source VARCHAR, pal__295_ VARCHAR, jp__210_ VARCHAR)
SELECT COUNT(title_and_source) FROM table_13663434_1 WHERE pal__295_ = "Yes" AND jp__210_ = "Yes"
how many title and source with pal -295- being yes and jp -210- being yes
<s>[INST] how many title and source with pal -295- being yes and jp -210- being yes Context: CREATE TABLE table_13663434_1 (title_and_source VARCHAR, pal__295_ VARCHAR, jp__210_ VARCHAR)[/INST]SELECT COUNT(title_and_source) FROM table_13663434_1 WHERE pal__295_ = "Yes" AND jp__210_ = "Yes"</s>
CREATE TABLE table_name_11 (event VARCHAR, method VARCHAR, record VARCHAR)
SELECT event FROM table_name_11 WHERE method = "submission (rear naked choke)" AND record = "9-4"
What Event used submission (rear naked choke) with 9-4?
<s>[INST]What Event used submission (rear naked choke) with 9-4? Context: CREATE TABLE table_name_11 (event VARCHAR, method VARCHAR, record VARCHAR)[/INST]SELECT event FROM table_name_11 WHERE method = "submission (rear naked choke)" AND record = "9-4"</s>
CREATE TABLE table_27495117_3 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
SELECT manner_of_departure FROM table_27495117_3 WHERE date_of_appointment = "21 September 2010"
What was the manner of departure for the appointment date of 21 september 2010
<s>[INST]What was the manner of departure for the appointment date of 21 september 2010 Context: CREATE TABLE table_27495117_3 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT manner_of_departure FROM table_27495117_3 WHERE date_of_appointment = "21 September 2010"</s>
CREATE TABLE table_16423070_4 (volleyball VARCHAR, school_year VARCHAR, basketball VARCHAR, swimming VARCHAR)
SELECT volleyball FROM table_16423070_4 WHERE basketball = "West Holmes" AND swimming = "Wooster" AND school_year = "2011-12"
Who won volleyball when west holmes won basketball and wooster won swimming in 2011-12
<s>[INST]Who won volleyball when west holmes won basketball and wooster won swimming in 2011-12 Context: CREATE TABLE table_16423070_4 (volleyball VARCHAR, school_year VARCHAR, basketball VARCHAR, swimming VARCHAR)[/INST]SELECT volleyball FROM table_16423070_4 WHERE basketball = "West Holmes" AND swimming = "Wooster" AND school_year = "2011-12"</s>
CREATE TABLE table_name_29 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_29 WHERE country = "fiji"
Name the player for fiji
<s>[INST]Name the player for fiji Context: CREATE TABLE table_name_29 (player VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_29 WHERE country = "fiji"</s>
CREATE TABLE table_name_47 (pole_position VARCHAR, race_name VARCHAR)
SELECT pole_position FROM table_name_47 WHERE race_name = "marlboro challenge"
What is the pole position for marlboro challenge?
<s>[INST]What is the pole position for marlboro challenge? Context: CREATE TABLE table_name_47 (pole_position VARCHAR, race_name VARCHAR)[/INST]SELECT pole_position FROM table_name_47 WHERE race_name = "marlboro challenge"</s>
CREATE TABLE table_name_28 (bronze VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT COUNT(bronze) FROM table_name_28 WHERE silver = 4 AND gold > 2
What is the total number of bronze medals, and 4 silver medals, and 2 gold medals?
<s>[INST]What is the total number of bronze medals, and 4 silver medals, and 2 gold medals? Context: CREATE TABLE table_name_28 (bronze VARCHAR, silver VARCHAR, gold VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_28 WHERE silver = 4 AND gold > 2</s>
CREATE TABLE table_name_34 (soccer VARCHAR, school VARCHAR)
SELECT soccer FROM table_name_34 WHERE school = "detroit"
Does Detroit have a soccer team?
<s>[INST]Does Detroit have a soccer team? Context: CREATE TABLE table_name_34 (soccer VARCHAR, school VARCHAR)[/INST]SELECT soccer FROM table_name_34 WHERE school = "detroit"</s>
CREATE TABLE table_name_85 (award VARCHAR, result VARCHAR, year VARCHAR)
SELECT award FROM table_name_85 WHERE result = "nominated" AND year = 2003
Which Award has a Result of nominated, and a Year of 2003?
<s>[INST]Which Award has a Result of nominated, and a Year of 2003? Context: CREATE TABLE table_name_85 (award VARCHAR, result VARCHAR, year VARCHAR)[/INST]SELECT award FROM table_name_85 WHERE result = "nominated" AND year = 2003</s>
CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)
SELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = "0–1 ot"
Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot?
<s>[INST]Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot? Context: CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)[/INST]SELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = "0–1 ot"</s>
CREATE TABLE table_22514845_5 (reporters VARCHAR, s_analyst VARCHAR)
SELECT COUNT(reporters) FROM table_22514845_5 WHERE s_analyst = "Heywood Hale Broun"
Name the number of reporters for heywood hale broun
<s>[INST]Name the number of reporters for heywood hale broun Context: CREATE TABLE table_22514845_5 (reporters VARCHAR, s_analyst VARCHAR)[/INST]SELECT COUNT(reporters) FROM table_22514845_5 WHERE s_analyst = "Heywood Hale Broun"</s>
CREATE TABLE table_name_54 (frequency VARCHAR, model_number VARCHAR)
SELECT frequency FROM table_name_54 WHERE model_number = "c7 1.0"
What is the Frequency for Model Number c7 1.0?
<s>[INST]What is the Frequency for Model Number c7 1.0? Context: CREATE TABLE table_name_54 (frequency VARCHAR, model_number VARCHAR)[/INST]SELECT frequency FROM table_name_54 WHERE model_number = "c7 1.0"</s>
CREATE TABLE table_name_37 (novelty VARCHAR, authors VARCHAR)
SELECT novelty FROM table_name_37 WHERE authors = "galton"
What is the Novelty of the dinosaur, whose naming Author was Galton?
<s>[INST]What is the Novelty of the dinosaur, whose naming Author was Galton? Context: CREATE TABLE table_name_37 (novelty VARCHAR, authors VARCHAR)[/INST]SELECT novelty FROM table_name_37 WHERE authors = "galton"</s>
CREATE TABLE table_name_13 (Id VARCHAR)
SELECT 1992 FROM table_name_13 WHERE 1989 = "1–2"
Which 992 has a 1–2 of 1989 ?
<s>[INST]Which 992 has a 1–2 of 1989 ? Context: CREATE TABLE table_name_13 (Id VARCHAR)[/INST]SELECT 1992 FROM table_name_13 WHERE 1989 = "1–2"</s>
CREATE TABLE table_name_70 (episodes INTEGER, region_1_release VARCHAR)
SELECT AVG(episodes) FROM table_name_70 WHERE region_1_release = "september 11, 2007"
What is the average episode that has September 11, 2007 as a region 1?
<s>[INST]What is the average episode that has September 11, 2007 as a region 1? Context: CREATE TABLE table_name_70 (episodes INTEGER, region_1_release VARCHAR)[/INST]SELECT AVG(episodes) FROM table_name_70 WHERE region_1_release = "september 11, 2007"</s>
CREATE TABLE table_1140076_2 (constructor VARCHAR, date VARCHAR)
SELECT constructor FROM table_1140076_2 WHERE date = "9 May"
What is the constructor for 9 May?
<s>[INST]What is the constructor for 9 May? Context: CREATE TABLE table_1140076_2 (constructor VARCHAR, date VARCHAR)[/INST]SELECT constructor FROM table_1140076_2 WHERE date = "9 May"</s>
CREATE TABLE table_name_3 (host_country___countries VARCHAR, year VARCHAR)
SELECT host_country___countries FROM table_name_3 WHERE year = "2007"
Who was the host country in 2007?
<s>[INST]Who was the host country in 2007? Context: CREATE TABLE table_name_3 (host_country___countries VARCHAR, year VARCHAR)[/INST]SELECT host_country___countries FROM table_name_3 WHERE year = "2007"</s>
CREATE TABLE table_225094_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR)
SELECT date_successor_seated FROM table_225094_4 WHERE reason_for_change = "failure to elect"
Name the date successor seated for failure to elect
<s>[INST]Name the date successor seated for failure to elect Context: CREATE TABLE table_225094_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR)[/INST]SELECT date_successor_seated FROM table_225094_4 WHERE reason_for_change = "failure to elect"</s>
CREATE TABLE table_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR)
SELECT gtu_winning_team FROM table_13642023_2 WHERE to_winning_team = "#3 Camaro"
Who was the GTU winning team when the TO winning team was #3 Camaro?
<s>[INST]Who was the GTU winning team when the TO winning team was #3 Camaro? Context: CREATE TABLE table_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR)[/INST]SELECT gtu_winning_team FROM table_13642023_2 WHERE to_winning_team = "#3 Camaro"</s>
CREATE TABLE table_name_23 (d_45 VARCHAR, d_42 VARCHAR)
SELECT d_45 FROM table_name_23 WHERE d_42 = "r 22"
What is the D45 associated with a D42 of r 22?
<s>[INST]What is the D45 associated with a D42 of r 22? Context: CREATE TABLE table_name_23 (d_45 VARCHAR, d_42 VARCHAR)[/INST]SELECT d_45 FROM table_name_23 WHERE d_42 = "r 22"</s>
CREATE TABLE table_name_30 (sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, church_name VARCHAR)
SELECT sub_parish__sogn_ FROM table_name_30 WHERE parish__prestegjeld_ = "hafslo parish" AND church_name = "hafslo kyrkje"
Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and has a church called Hafslo Kyrkje?
<s>[INST]Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and has a church called Hafslo Kyrkje? Context: CREATE TABLE table_name_30 (sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, church_name VARCHAR)[/INST]SELECT sub_parish__sogn_ FROM table_name_30 WHERE parish__prestegjeld_ = "hafslo parish" AND church_name = "hafslo kyrkje"</s>
CREATE TABLE singer (Name VARCHAR, Net_Worth_Millions VARCHAR)
SELECT Name FROM singer ORDER BY Net_Worth_Millions
List the name of singers in ascending order of net worth.
<s>[INST]List the name of singers in ascending order of net worth. Context: CREATE TABLE singer (Name VARCHAR, Net_Worth_Millions VARCHAR)[/INST]SELECT Name FROM singer ORDER BY Net_Worth_Millions</s>
CREATE TABLE table_name_79 (year VARCHAR, chassis VARCHAR)
SELECT COUNT(year) FROM table_name_79 WHERE chassis = "brabham bt33"
how many times is the chassis brabham bt33?
<s>[INST]how many times is the chassis brabham bt33? Context: CREATE TABLE table_name_79 (year VARCHAR, chassis VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_79 WHERE chassis = "brabham bt33"</s>
CREATE TABLE table_name_73 (tries_for VARCHAR, losing_bonus VARCHAR, club VARCHAR)
SELECT tries_for FROM table_name_73 WHERE losing_bonus = "5" AND club = "maesteg celtic rfc"
How many tries had a losing bonus of 5, and were part of the Maesteg Celtic RFC club?
<s>[INST]How many tries had a losing bonus of 5, and were part of the Maesteg Celtic RFC club? Context: CREATE TABLE table_name_73 (tries_for VARCHAR, losing_bonus VARCHAR, club VARCHAR)[/INST]SELECT tries_for FROM table_name_73 WHERE losing_bonus = "5" AND club = "maesteg celtic rfc"</s>
CREATE TABLE table_name_76 (team VARCHAR, high_assists VARCHAR)
SELECT team FROM table_name_76 WHERE high_assists = "brad miller (8)"
What team has brad miller (8) as the high assists?
<s>[INST]What team has brad miller (8) as the high assists? Context: CREATE TABLE table_name_76 (team VARCHAR, high_assists VARCHAR)[/INST]SELECT team FROM table_name_76 WHERE high_assists = "brad miller (8)"</s>
CREATE TABLE table_name_53 (complement VARCHAR, unit VARCHAR, killed VARCHAR, wounded VARCHAR)
SELECT complement FROM table_name_53 WHERE killed = "0 off 0 men" AND wounded = "0 off 0 men" AND unit = "artillery corps"
What was the Complement of Artillery Corps Units that had 0 off 0 men Killed or Wounded?
<s>[INST]What was the Complement of Artillery Corps Units that had 0 off 0 men Killed or Wounded? Context: CREATE TABLE table_name_53 (complement VARCHAR, unit VARCHAR, killed VARCHAR, wounded VARCHAR)[/INST]SELECT complement FROM table_name_53 WHERE killed = "0 off 0 men" AND wounded = "0 off 0 men" AND unit = "artillery corps"</s>
CREATE TABLE table_name_25 (goals VARCHAR, gp_gs VARCHAR, year VARCHAR)
SELECT goals FROM table_name_25 WHERE gp_gs = "did not play" AND year = "2004"
How many goals were scored in 2004 when the gp/gs was "did not play"?
<s>[INST]How many goals were scored in 2004 when the gp/gs was "did not play"? Context: CREATE TABLE table_name_25 (goals VARCHAR, gp_gs VARCHAR, year VARCHAR)[/INST]SELECT goals FROM table_name_25 WHERE gp_gs = "did not play" AND year = "2004"</s>
CREATE TABLE table_24096813_15 (voltage VARCHAR, part_number_s_ VARCHAR)
SELECT voltage FROM table_24096813_15 WHERE part_number_s_ = "TT80503300"
What's the voltage of the model with part number TT80503300?
<s>[INST]What's the voltage of the model with part number TT80503300? Context: CREATE TABLE table_24096813_15 (voltage VARCHAR, part_number_s_ VARCHAR)[/INST]SELECT voltage FROM table_24096813_15 WHERE part_number_s_ = "TT80503300"</s>
CREATE TABLE table_name_10 (attendance INTEGER, week INTEGER)
SELECT AVG(attendance) FROM table_name_10 WHERE week > 16
What is the average attendance after week 16?
<s>[INST]What is the average attendance after week 16? Context: CREATE TABLE table_name_10 (attendance INTEGER, week INTEGER)[/INST]SELECT AVG(attendance) FROM table_name_10 WHERE week > 16</s>
CREATE TABLE table_name_88 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_88 WHERE money___$__ = 100 AND player = "vic ghezzi"
Which To par has $100 in money played by Vic Ghezzi?
<s>[INST]Which To par has $100 in money played by Vic Ghezzi? Context: CREATE TABLE table_name_88 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_88 WHERE money___$__ = 100 AND player = "vic ghezzi"</s>
CREATE TABLE table_name_8 (vehicle VARCHAR, class VARCHAR)
SELECT vehicle FROM table_name_8 WHERE class = "cm14"
Which vehicle had a class of CM14?
<s>[INST]Which vehicle had a class of CM14? Context: CREATE TABLE table_name_8 (vehicle VARCHAR, class VARCHAR)[/INST]SELECT vehicle FROM table_name_8 WHERE class = "cm14"</s>
CREATE TABLE table_name_85 (losses INTEGER, played VARCHAR, club VARCHAR, goals_against VARCHAR, goals_for VARCHAR)
SELECT MAX(losses) FROM table_name_85 WHERE goals_against > 31 AND goals_for = 38 AND club = "cf calvo sotelo" AND played < 30
What is the highest number of losses of club cf calvo sotelo, which has more than 31 goals against, 38 goals for, and less than 30 played?
<s>[INST]What is the highest number of losses of club cf calvo sotelo, which has more than 31 goals against, 38 goals for, and less than 30 played? Context: CREATE TABLE table_name_85 (losses INTEGER, played VARCHAR, club VARCHAR, goals_against VARCHAR, goals_for VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_85 WHERE goals_against > 31 AND goals_for = 38 AND club = "cf calvo sotelo" AND played < 30</s>
CREATE TABLE table_name_59 (record VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT record FROM table_name_59 WHERE visitor = "los angeles kings" AND date = "april 22"
On April 22 when the Los Angeles Kings where visitors what was the record?
<s>[INST]On April 22 when the Los Angeles Kings where visitors what was the record? Context: CREATE TABLE table_name_59 (record VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_59 WHERE visitor = "los angeles kings" AND date = "april 22"</s>
CREATE TABLE table_1242447_1 (english_spelling VARCHAR, strongs_transliteration VARCHAR)
SELECT english_spelling FROM table_1242447_1 WHERE strongs_transliteration = "Y e howram"
What is the english spelling of the word that has the strongs trasliteration of y e howram?
<s>[INST]What is the english spelling of the word that has the strongs trasliteration of y e howram? Context: CREATE TABLE table_1242447_1 (english_spelling VARCHAR, strongs_transliteration VARCHAR)[/INST]SELECT english_spelling FROM table_1242447_1 WHERE strongs_transliteration = "Y e howram"</s>
CREATE TABLE table_18428024_3 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT no_in_series FROM table_18428024_3 WHERE directed_by = "John Banas"
How many series did John Banas direct?
<s>[INST]How many series did John Banas direct? Context: CREATE TABLE table_18428024_3 (no_in_series VARCHAR, directed_by VARCHAR)[/INST]SELECT no_in_series FROM table_18428024_3 WHERE directed_by = "John Banas"</s>
CREATE TABLE table_name_50 (year INTEGER, actor VARCHAR)
SELECT MAX(year) FROM table_name_50 WHERE actor = "marianne jean-baptiste"
What is the latest Year with Marianne Jean-Baptiste as the Golden Globe Actor?
<s>[INST]What is the latest Year with Marianne Jean-Baptiste as the Golden Globe Actor? Context: CREATE TABLE table_name_50 (year INTEGER, actor VARCHAR)[/INST]SELECT MAX(year) FROM table_name_50 WHERE actor = "marianne jean-baptiste"</s>
CREATE TABLE table_name_90 (name VARCHAR, floors INTEGER)
SELECT name FROM table_name_90 WHERE floors > 34
Which building has more than 34 floors?
<s>[INST]Which building has more than 34 floors? Context: CREATE TABLE table_name_90 (name VARCHAR, floors INTEGER)[/INST]SELECT name FROM table_name_90 WHERE floors > 34</s>
CREATE TABLE table_22355_29 (silver INTEGER)
SELECT MIN(silver) FROM table_22355_29
What is the smallest amount of silver?
<s>[INST]What is the smallest amount of silver? Context: CREATE TABLE table_22355_29 (silver INTEGER)[/INST]SELECT MIN(silver) FROM table_22355_29</s>
CREATE TABLE table_name_6 (date VARCHAR, event VARCHAR)
SELECT date FROM table_name_6 WHERE event = "3000 m"
Whcih Date has an Event of 3000 m?
<s>[INST]Whcih Date has an Event of 3000 m? Context: CREATE TABLE table_name_6 (date VARCHAR, event VARCHAR)[/INST]SELECT date FROM table_name_6 WHERE event = "3000 m"</s>
CREATE TABLE table_27512025_1 (program VARCHAR, type VARCHAR)
SELECT COUNT(program) FROM table_27512025_1 WHERE type = "Cardio"
How many types are cardio?
<s>[INST]How many types are cardio? Context: CREATE TABLE table_27512025_1 (program VARCHAR, type VARCHAR)[/INST]SELECT COUNT(program) FROM table_27512025_1 WHERE type = "Cardio"</s>
CREATE TABLE table_name_59 (opponents VARCHAR, partner VARCHAR)
SELECT opponents FROM table_name_59 WHERE partner = "alicja rosolska"
Who were the Opponents when Liga Dekmeijere had Alicja Rosolska as a Partner?
<s>[INST]Who were the Opponents when Liga Dekmeijere had Alicja Rosolska as a Partner? Context: CREATE TABLE table_name_59 (opponents VARCHAR, partner VARCHAR)[/INST]SELECT opponents FROM table_name_59 WHERE partner = "alicja rosolska"</s>
CREATE TABLE table_name_39 (lost INTEGER, goals_for INTEGER)
SELECT MIN(lost) FROM table_name_39 WHERE goals_for < 21
What was the lowest lost entry for a team with fewer than 21 goals for?
<s>[INST]What was the lowest lost entry for a team with fewer than 21 goals for? Context: CREATE TABLE table_name_39 (lost INTEGER, goals_for INTEGER)[/INST]SELECT MIN(lost) FROM table_name_39 WHERE goals_for < 21</s>
CREATE TABLE table_13399573_4 (losing_bonus VARCHAR, tries_against VARCHAR)
SELECT losing_bonus FROM table_13399573_4 WHERE tries_against = "39"
In the 2008/2009 season one team had 39 tries against, how many losing bonuses did they have that year?
<s>[INST]In the 2008/2009 season one team had 39 tries against, how many losing bonuses did they have that year? Context: CREATE TABLE table_13399573_4 (losing_bonus VARCHAR, tries_against VARCHAR)[/INST]SELECT losing_bonus FROM table_13399573_4 WHERE tries_against = "39"</s>
CREATE TABLE table_name_6 (region VARCHAR, catalog VARCHAR)
SELECT region FROM table_name_6 WHERE catalog = "38xa-5"
What was the region for the 38xa-5 catalog?
<s>[INST]What was the region for the 38xa-5 catalog? Context: CREATE TABLE table_name_6 (region VARCHAR, catalog VARCHAR)[/INST]SELECT region FROM table_name_6 WHERE catalog = "38xa-5"</s>
CREATE TABLE table_249512_2 (a_ VARCHAR, county_ies__ VARCHAR, place_name VARCHAR)
SELECT COUNT(county_ies__)[a_] FROM table_249512_2 WHERE place_name = "Macedonia"
How many counties have a place name of Macedonia?
<s>[INST]How many counties have a place name of Macedonia? Context: CREATE TABLE table_249512_2 (a_ VARCHAR, county_ies__ VARCHAR, place_name VARCHAR)[/INST]SELECT COUNT(county_ies__)[a_] FROM table_249512_2 WHERE place_name = "Macedonia"</s>
CREATE TABLE table_name_80 (quantity VARCHAR, number_of_seats VARCHAR, make VARCHAR)
SELECT quantity FROM table_name_80 WHERE number_of_seats > 45 AND make = "mci"
What is the quantity with more than 45 seats and MCI make?
<s>[INST]What is the quantity with more than 45 seats and MCI make? Context: CREATE TABLE table_name_80 (quantity VARCHAR, number_of_seats VARCHAR, make VARCHAR)[/INST]SELECT quantity FROM table_name_80 WHERE number_of_seats > 45 AND make = "mci"</s>
CREATE TABLE table_name_27 (team_2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_27 WHERE team_2 = "portol drac palma mallorca"
What is the 1st leg for team 2 Portol Drac Palma Mallorca?
<s>[INST]What is the 1st leg for team 2 Portol Drac Palma Mallorca? Context: CREATE TABLE table_name_27 (team_2 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_27 WHERE team_2 = "portol drac palma mallorca"</s>
CREATE TABLE table_10650711_1 (nfl_team VARCHAR, player VARCHAR)
SELECT nfl_team FROM table_10650711_1 WHERE player = "Thane Gash"
what is the nfl team where player is thane gash
<s>[INST] what is the nfl team where player is thane gash Context: CREATE TABLE table_10650711_1 (nfl_team VARCHAR, player VARCHAR)[/INST]SELECT nfl_team FROM table_10650711_1 WHERE player = "Thane Gash"</s>
CREATE TABLE table_name_33 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_33 WHERE circuit = "indianapolis"
What date was the Circuit of Indianapolis?
<s>[INST]What date was the Circuit of Indianapolis? Context: CREATE TABLE table_name_33 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE circuit = "indianapolis"</s>
CREATE TABLE table_name_12 (partner VARCHAR, date VARCHAR)
SELECT partner FROM table_name_12 WHERE date = "6 july 1987"
Who is the partner of the tournament on 6 July 1987?
<s>[INST]Who is the partner of the tournament on 6 July 1987? Context: CREATE TABLE table_name_12 (partner VARCHAR, date VARCHAR)[/INST]SELECT partner FROM table_name_12 WHERE date = "6 july 1987"</s>
CREATE TABLE table_name_9 (team_1 VARCHAR, season VARCHAR, score VARCHAR)
SELECT team_1 FROM table_name_9 WHERE season = "2005" AND score = "0-4"
In the 2005 season with a score of 0-4 what is the team 1?
<s>[INST]In the 2005 season with a score of 0-4 what is the team 1? Context: CREATE TABLE table_name_9 (team_1 VARCHAR, season VARCHAR, score VARCHAR)[/INST]SELECT team_1 FROM table_name_9 WHERE season = "2005" AND score = "0-4"</s>
CREATE TABLE table_1646960_3 (winner VARCHAR, debut_album VARCHAR)
SELECT winner FROM table_1646960_3 WHERE debut_album = "Mike"
How many winners had a debut album titled "mike"?
<s>[INST]How many winners had a debut album titled "mike"? Context: CREATE TABLE table_1646960_3 (winner VARCHAR, debut_album VARCHAR)[/INST]SELECT winner FROM table_1646960_3 WHERE debut_album = "Mike"</s>
CREATE TABLE table_name_36 (fourth_place VARCHAR, year VARCHAR)
SELECT fourth_place FROM table_name_36 WHERE year = 2010
Tell me fourth place for year of 2010
<s>[INST]Tell me fourth place for year of 2010 Context: CREATE TABLE table_name_36 (fourth_place VARCHAR, year VARCHAR)[/INST]SELECT fourth_place FROM table_name_36 WHERE year = 2010</s>
CREATE TABLE table_name_94 (average_attendance INTEGER, season VARCHAR)
SELECT MAX(average_attendance) FROM table_name_94 WHERE season = "2009"
What was the highest average attendance in the 2009 season?
<s>[INST]What was the highest average attendance in the 2009 season? Context: CREATE TABLE table_name_94 (average_attendance INTEGER, season VARCHAR)[/INST]SELECT MAX(average_attendance) FROM table_name_94 WHERE season = "2009"</s>
CREATE TABLE table_name_13 (site VARCHAR, opponent VARCHAR)
SELECT site FROM table_name_13 WHERE opponent = "all times are in eastern."
What is Site, when Opponent is "All times are in eastern."?
<s>[INST]What is Site, when Opponent is "All times are in eastern."? Context: CREATE TABLE table_name_13 (site VARCHAR, opponent VARCHAR)[/INST]SELECT site FROM table_name_13 WHERE opponent = "all times are in eastern."</s>
CREATE TABLE airport (id VARCHAR, country VARCHAR, name VARCHAR); CREATE TABLE flight (pilot VARCHAR, airport_id VARCHAR)
SELECT DISTINCT T2.pilot FROM airport AS T1 JOIN flight AS T2 ON T1.id = T2.airport_id WHERE T1.country = 'United States' OR T1.name = 'Billund Airport'
What are the different pilot names who had piloted a flight in the country 'United States' or in the airport named 'Billund Airport'?
<s>[INST]What are the different pilot names who had piloted a flight in the country 'United States' or in the airport named 'Billund Airport'? Context: CREATE TABLE airport (id VARCHAR, country VARCHAR, name VARCHAR); CREATE TABLE flight (pilot VARCHAR, airport_id VARCHAR)[/INST]SELECT DISTINCT T2.pilot FROM airport AS T1 JOIN flight AS T2 ON T1.id = T2.airport_id WHERE T1.country = 'United States' OR T1.name = 'Billund Airport'</s>
CREATE TABLE table_name_81 (_number_of_episodes VARCHAR, portrayed_by VARCHAR)
SELECT COUNT(_number_of_episodes) FROM table_name_81 WHERE portrayed_by = "nick jonas"
How many episodes were portrayed by Nick Jonas?
<s>[INST]How many episodes were portrayed by Nick Jonas? Context: CREATE TABLE table_name_81 (_number_of_episodes VARCHAR, portrayed_by VARCHAR)[/INST]SELECT COUNT(_number_of_episodes) FROM table_name_81 WHERE portrayed_by = "nick jonas"</s>
CREATE TABLE party (Id VARCHAR)
SELECT COUNT(*) FROM party
How many parties are there?
<s>[INST]How many parties are there? Context: CREATE TABLE party (Id VARCHAR)[/INST]SELECT COUNT(*) FROM party</s>