question
stringlengths
12
244
answer
stringlengths
18
557
context
stringlengths
27
489
text
stringlengths
108
1.05k
In the championship Miami , United States, what is the score in the final?
SELECT score_in_the_final FROM table_26202788_7 WHERE championship = "Miami , United States"
CREATE TABLE table_26202788_7 (score_in_the_final VARCHAR, championship VARCHAR)
<s>[INST] In the championship Miami , United States, what is the score in the final? context: CREATE TABLE table_26202788_7 (score_in_the_final VARCHAR, championship VARCHAR) [/INST] SELECT score_in_the_final FROM table_26202788_7 WHERE championship = "Miami , United States" </s>
Andy Roddick is the opponent in the final on what surface?
SELECT surface FROM table_26202788_7 WHERE opponent_in_the_final = "Andy Roddick"
CREATE TABLE table_26202788_7 (surface VARCHAR, opponent_in_the_final VARCHAR)
<s>[INST] Andy Roddick is the opponent in the final on what surface? context: CREATE TABLE table_26202788_7 (surface VARCHAR, opponent_in_the_final VARCHAR) [/INST] SELECT surface FROM table_26202788_7 WHERE opponent_in_the_final = "Andy Roddick" </s>
In the championship Indian Wells, United States (2), who are the opponents in the final?
SELECT opponent_in_the_final FROM table_26202788_7 WHERE championship = "Indian Wells, United States (2)"
CREATE TABLE table_26202788_7 (opponent_in_the_final VARCHAR, championship VARCHAR)
<s>[INST] In the championship Indian Wells, United States (2), who are the opponents in the final? context: CREATE TABLE table_26202788_7 (opponent_in_the_final VARCHAR, championship VARCHAR) [/INST] SELECT opponent_in_the_final FROM table_26202788_7 WHERE championship = "Indian Wells, United States (2)" </s>
Marat Safin is the opponent in the final in what championship?
SELECT championship FROM table_26202788_7 WHERE opponent_in_the_final = "Marat Safin"
CREATE TABLE table_26202788_7 (championship VARCHAR, opponent_in_the_final VARCHAR)
<s>[INST] Marat Safin is the opponent in the final in what championship? context: CREATE TABLE table_26202788_7 (championship VARCHAR, opponent_in_the_final VARCHAR) [/INST] SELECT championship FROM table_26202788_7 WHERE opponent_in_the_final = "Marat Safin" </s>
How many championships are there on the date January 9, 2005?
SELECT COUNT(championship) FROM table_26202788_7 WHERE date = "January 9, 2005"
CREATE TABLE table_26202788_7 (championship VARCHAR, date VARCHAR)
<s>[INST] How many championships are there on the date January 9, 2005? context: CREATE TABLE table_26202788_7 (championship VARCHAR, date VARCHAR) [/INST] SELECT COUNT(championship) FROM table_26202788_7 WHERE date = "January 9, 2005" </s>
Where the outcome is Winner and surface is Hard (i), what is the No.?
SELECT no FROM table_26202847_6 WHERE outcome = "Winner" AND surface = "Hard (i)"
CREATE TABLE table_26202847_6 (no VARCHAR, outcome VARCHAR, surface VARCHAR)
<s>[INST] Where the outcome is Winner and surface is Hard (i), what is the No.? context: CREATE TABLE table_26202847_6 (no VARCHAR, outcome VARCHAR, surface VARCHAR) [/INST] SELECT no FROM table_26202847_6 WHERE outcome = "Winner" AND surface = "Hard (i)" </s>
On the date October 21, 2007, what is the No.?
SELECT no FROM table_26202847_6 WHERE date = "October 21, 2007"
CREATE TABLE table_26202847_6 (no VARCHAR, date VARCHAR)
<s>[INST] On the date October 21, 2007, what is the No.? context: CREATE TABLE table_26202847_6 (no VARCHAR, date VARCHAR) [/INST] SELECT no FROM table_26202847_6 WHERE date = "October 21, 2007" </s>
Where is the championship where 6–1, 3–6, 3–6 is the score in the final?
SELECT championship FROM table_26202847_6 WHERE score_in_the_final = "6–1, 3–6, 3–6"
CREATE TABLE table_26202847_6 (championship VARCHAR, score_in_the_final VARCHAR)
<s>[INST] Where is the championship where 6–1, 3–6, 3–6 is the score in the final? context: CREATE TABLE table_26202847_6 (championship VARCHAR, score_in_the_final VARCHAR) [/INST] SELECT championship FROM table_26202847_6 WHERE score_in_the_final = "6–1, 3–6, 3–6" </s>
When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final?
SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = "3–6, 6–4, 3–6, 4–6"
CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
<s>[INST] When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final? context: CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) [/INST] SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = "3–6, 6–4, 3–6, 4–6" </s>
The score in the final is 2–6, 6–2, 6–0, on what surface?
SELECT surface FROM table_26202847_6 WHERE score_in_the_final = "2–6, 6–2, 6–0"
CREATE TABLE table_26202847_6 (surface VARCHAR, score_in_the_final VARCHAR)
<s>[INST] The score in the final is 2–6, 6–2, 6–0, on what surface? context: CREATE TABLE table_26202847_6 (surface VARCHAR, score_in_the_final VARCHAR) [/INST] SELECT surface FROM table_26202847_6 WHERE score_in_the_final = "2–6, 6–2, 6–0" </s>
The original artist Joan Osborne has what result?
SELECT result FROM table_26250199_1 WHERE original_artist = "Joan Osborne"
CREATE TABLE table_26250199_1 (result VARCHAR, original_artist VARCHAR)
<s>[INST] The original artist Joan Osborne has what result? context: CREATE TABLE table_26250199_1 (result VARCHAR, original_artist VARCHAR) [/INST] SELECT result FROM table_26250199_1 WHERE original_artist = "Joan Osborne" </s>
In which episode is the order number 10?
SELECT episode FROM table_26250199_1 WHERE order__number = "10"
CREATE TABLE table_26250199_1 (episode VARCHAR, order__number VARCHAR)
<s>[INST] In which episode is the order number 10? context: CREATE TABLE table_26250199_1 (episode VARCHAR, order__number VARCHAR) [/INST] SELECT episode FROM table_26250199_1 WHERE order__number = "10" </s>
In episode Top 16 (8 Men), what are the themes?
SELECT theme FROM table_26250199_1 WHERE episode = "Top 16 (8 Men)"
CREATE TABLE table_26250199_1 (theme VARCHAR, episode VARCHAR)
<s>[INST] In episode Top 16 (8 Men), what are the themes? context: CREATE TABLE table_26250199_1 (theme VARCHAR, episode VARCHAR) [/INST] SELECT theme FROM table_26250199_1 WHERE episode = "Top 16 (8 Men)" </s>
The theme Auditioner's Choice has what song choice?
SELECT song_choice FROM table_26250199_1 WHERE theme = "Auditioner's Choice"
CREATE TABLE table_26250199_1 (song_choice VARCHAR, theme VARCHAR)
<s>[INST] The theme Auditioner's Choice has what song choice? context: CREATE TABLE table_26250199_1 (song_choice VARCHAR, theme VARCHAR) [/INST] SELECT song_choice FROM table_26250199_1 WHERE theme = "Auditioner's Choice" </s>
What are all the week # where subject matter is auditioner's choice
SELECT week__number FROM table_26250227_1 WHERE theme = "Auditioner's Choice"
CREATE TABLE table_26250227_1 (week__number VARCHAR, theme VARCHAR)
<s>[INST] What are all the week # where subject matter is auditioner's choice context: CREATE TABLE table_26250227_1 (week__number VARCHAR, theme VARCHAR) [/INST] SELECT week__number FROM table_26250227_1 WHERE theme = "Auditioner's Choice" </s>
What are all of the order # where authentic artist is maroon 5
SELECT order__number FROM table_26250227_1 WHERE original_artist = "Maroon 5"
CREATE TABLE table_26250227_1 (order__number VARCHAR, original_artist VARCHAR)
<s>[INST] What are all of the order # where authentic artist is maroon 5 context: CREATE TABLE table_26250227_1 (order__number VARCHAR, original_artist VARCHAR) [/INST] SELECT order__number FROM table_26250227_1 WHERE original_artist = "Maroon 5" </s>
Name the represents for los alcarrizos
SELECT represents FROM table_26301697_2 WHERE hometown = "Los Alcarrizos"
CREATE TABLE table_26301697_2 (represents VARCHAR, hometown VARCHAR)
<s>[INST] Name the represents for los alcarrizos context: CREATE TABLE table_26301697_2 (represents VARCHAR, hometown VARCHAR) [/INST] SELECT represents FROM table_26301697_2 WHERE hometown = "Los Alcarrizos" </s>
Name the most age
SELECT MAX(age) FROM table_26301697_2
CREATE TABLE table_26301697_2 (age INTEGER)
<s>[INST] Name the most age context: CREATE TABLE table_26301697_2 (age INTEGER) [/INST] SELECT MAX(age) FROM table_26301697_2 </s>
Name the total number of represents for clary sermina delgado cid
SELECT COUNT(represents) FROM table_26301697_2 WHERE contestant = "Clary Sermina Delgado Cid"
CREATE TABLE table_26301697_2 (represents VARCHAR, contestant VARCHAR)
<s>[INST] Name the total number of represents for clary sermina delgado cid context: CREATE TABLE table_26301697_2 (represents VARCHAR, contestant VARCHAR) [/INST] SELECT COUNT(represents) FROM table_26301697_2 WHERE contestant = "Clary Sermina Delgado Cid" </s>
Name the least age for distrito nacional
SELECT MIN(age) FROM table_26301697_2 WHERE represents = "Distrito Nacional"
CREATE TABLE table_26301697_2 (age INTEGER, represents VARCHAR)
<s>[INST] Name the least age for distrito nacional context: CREATE TABLE table_26301697_2 (age INTEGER, represents VARCHAR) [/INST] SELECT MIN(age) FROM table_26301697_2 WHERE represents = "Distrito Nacional" </s>
Name the represents for 1.76 cm
SELECT represents FROM table_26301697_2 WHERE height__cm_ = "1.76"
CREATE TABLE table_26301697_2 (represents VARCHAR, height__cm_ VARCHAR)
<s>[INST] Name the represents for 1.76 cm context: CREATE TABLE table_26301697_2 (represents VARCHAR, height__cm_ VARCHAR) [/INST] SELECT represents FROM table_26301697_2 WHERE height__cm_ = "1.76" </s>
In how many rounds was Race 17?
SELECT COUNT(round) FROM table_26334740_3 WHERE race = 17
CREATE TABLE table_26334740_3 (round VARCHAR, race VARCHAR)
<s>[INST] In how many rounds was Race 17? context: CREATE TABLE table_26334740_3 (round VARCHAR, race VARCHAR) [/INST] SELECT COUNT(round) FROM table_26334740_3 WHERE race = 17 </s>
What team won Race 17?
SELECT winning_team FROM table_26334740_3 WHERE race = 17
CREATE TABLE table_26334740_3 (winning_team VARCHAR, race VARCHAR)
<s>[INST] What team won Race 17? context: CREATE TABLE table_26334740_3 (winning_team VARCHAR, race VARCHAR) [/INST] SELECT winning_team FROM table_26334740_3 WHERE race = 17 </s>
Who was his partner in 1989?
SELECT partner FROM table_26309085_1 WHERE year = 1989
CREATE TABLE table_26309085_1 (partner VARCHAR, year VARCHAR)
<s>[INST] Who was his partner in 1989? context: CREATE TABLE table_26309085_1 (partner VARCHAR, year VARCHAR) [/INST] SELECT partner FROM table_26309085_1 WHERE year = 1989 </s>
What was the surface when he played with John Alexander?
SELECT surface FROM table_26309085_1 WHERE partner = "John Alexander"
CREATE TABLE table_26309085_1 (surface VARCHAR, partner VARCHAR)
<s>[INST] What was the surface when he played with John Alexander? context: CREATE TABLE table_26309085_1 (surface VARCHAR, partner VARCHAR) [/INST] SELECT surface FROM table_26309085_1 WHERE partner = "John Alexander" </s>
What was the final score in 1986?
SELECT score_in_final FROM table_26309085_1 WHERE year = 1986
CREATE TABLE table_26309085_1 (score_in_final VARCHAR, year VARCHAR)
<s>[INST] What was the final score in 1986? context: CREATE TABLE table_26309085_1 (score_in_final VARCHAR, year VARCHAR) [/INST] SELECT score_in_final FROM table_26309085_1 WHERE year = 1986 </s>
What is the nickname of the University of Alabama?
SELECT nickname FROM table_26355116_1 WHERE school = "University of Alabama"
CREATE TABLE table_26355116_1 (nickname VARCHAR, school VARCHAR)
<s>[INST] What is the nickname of the University of Alabama? context: CREATE TABLE table_26355116_1 (nickname VARCHAR, school VARCHAR) [/INST] SELECT nickname FROM table_26355116_1 WHERE school = "University of Alabama" </s>
What is the maximum enrollment of the schools?
SELECT MAX(enrollment) FROM table_26355116_1
CREATE TABLE table_26355116_1 (enrollment INTEGER)
<s>[INST] What is the maximum enrollment of the schools? context: CREATE TABLE table_26355116_1 (enrollment INTEGER) [/INST] SELECT MAX(enrollment) FROM table_26355116_1 </s>
How many public is there for the couple that got eliminated?
SELECT MAX(public) FROM table_26375386_23 WHERE result = "Eliminated"
CREATE TABLE table_26375386_23 (public INTEGER, result VARCHAR)
<s>[INST] How many public is there for the couple that got eliminated? context: CREATE TABLE table_26375386_23 (public INTEGER, result VARCHAR) [/INST] SELECT MAX(public) FROM table_26375386_23 WHERE result = "Eliminated" </s>
What was the result for the total of 12?
SELECT result FROM table_26375386_23 WHERE total = 12
CREATE TABLE table_26375386_23 (result VARCHAR, total VARCHAR)
<s>[INST] What was the result for the total of 12? context: CREATE TABLE table_26375386_23 (result VARCHAR, total VARCHAR) [/INST] SELECT result FROM table_26375386_23 WHERE total = 12 </s>
What was the maximum rank for the vote percentage of 5.6%
SELECT MIN(rank) FROM table_26375386_23 WHERE vote_percentage = "5.6%"
CREATE TABLE table_26375386_23 (rank INTEGER, vote_percentage VARCHAR)
<s>[INST] What was the maximum rank for the vote percentage of 5.6% context: CREATE TABLE table_26375386_23 (rank INTEGER, vote_percentage VARCHAR) [/INST] SELECT MIN(rank) FROM table_26375386_23 WHERE vote_percentage = "5.6%" </s>
How many judges were there for the eliminated couple?
SELECT judges FROM table_26375386_23 WHERE result = "Eliminated"
CREATE TABLE table_26375386_23 (judges VARCHAR, result VARCHAR)
<s>[INST] How many judges were there for the eliminated couple? context: CREATE TABLE table_26375386_23 (judges VARCHAR, result VARCHAR) [/INST] SELECT judges FROM table_26375386_23 WHERE result = "Eliminated" </s>
What is the number of public that was there when the vote percentage was 22.9%?
SELECT COUNT(public) FROM table_26375386_23 WHERE vote_percentage = "22.9%"
CREATE TABLE table_26375386_23 (public VARCHAR, vote_percentage VARCHAR)
<s>[INST] What is the number of public that was there when the vote percentage was 22.9%? context: CREATE TABLE table_26375386_23 (public VARCHAR, vote_percentage VARCHAR) [/INST] SELECT COUNT(public) FROM table_26375386_23 WHERE vote_percentage = "22.9%" </s>
What was the total number when the vote percentage was 44.8%?
SELECT COUNT(total) FROM table_26375386_23 WHERE vote_percentage = "44.8%"
CREATE TABLE table_26375386_23 (total VARCHAR, vote_percentage VARCHAR)
<s>[INST] What was the total number when the vote percentage was 44.8%? context: CREATE TABLE table_26375386_23 (total VARCHAR, vote_percentage VARCHAR) [/INST] SELECT COUNT(total) FROM table_26375386_23 WHERE vote_percentage = "44.8%" </s>
What year was Fayette operational at 46?
SELECT MIN(year_operational) FROM table_26387382_1 WHERE location__county_ = "Fayette" AND capacity__mw_ = "46"
CREATE TABLE table_26387382_1 (year_operational INTEGER, location__county_ VARCHAR, capacity__mw_ VARCHAR)
<s>[INST] What year was Fayette operational at 46? context: CREATE TABLE table_26387382_1 (year_operational INTEGER, location__county_ VARCHAR, capacity__mw_ VARCHAR) [/INST] SELECT MIN(year_operational) FROM table_26387382_1 WHERE location__county_ = "Fayette" AND capacity__mw_ = "46" </s>
What farm has a capacity of 70 and is operational?
SELECT name FROM table_26387382_1 WHERE capacity__mw_ = "70" AND status = "Operational"
CREATE TABLE table_26387382_1 (name VARCHAR, capacity__mw_ VARCHAR, status VARCHAR)
<s>[INST] What farm has a capacity of 70 and is operational? context: CREATE TABLE table_26387382_1 (name VARCHAR, capacity__mw_ VARCHAR, status VARCHAR) [/INST] SELECT name FROM table_26387382_1 WHERE capacity__mw_ = "70" AND status = "Operational" </s>
What locations are considered centre?
SELECT power__mw·hr_yr_ FROM table_26387382_1 WHERE location__county_ = "Centre"
CREATE TABLE table_26387382_1 (power__mw·hr_yr_ VARCHAR, location__county_ VARCHAR)
<s>[INST] What locations are considered centre? context: CREATE TABLE table_26387382_1 (power__mw·hr_yr_ VARCHAR, location__county_ VARCHAR) [/INST] SELECT power__mw·hr_yr_ FROM table_26387382_1 WHERE location__county_ = "Centre" </s>
What all capacities have turbines between 50-60?
SELECT capacity__mw_ FROM table_26387382_1 WHERE turbines = "50-60"
CREATE TABLE table_26387382_1 (capacity__mw_ VARCHAR, turbines VARCHAR)
<s>[INST] What all capacities have turbines between 50-60? context: CREATE TABLE table_26387382_1 (capacity__mw_ VARCHAR, turbines VARCHAR) [/INST] SELECT capacity__mw_ FROM table_26387382_1 WHERE turbines = "50-60" </s>
What all turbines have a capacity of 30 and have a Somerset location?
SELECT turbines FROM table_26387382_1 WHERE location__county_ = "Somerset" AND capacity__mw_ = "30"
CREATE TABLE table_26387382_1 (turbines VARCHAR, location__county_ VARCHAR, capacity__mw_ VARCHAR)
<s>[INST] What all turbines have a capacity of 30 and have a Somerset location? context: CREATE TABLE table_26387382_1 (turbines VARCHAR, location__county_ VARCHAR, capacity__mw_ VARCHAR) [/INST] SELECT turbines FROM table_26387382_1 WHERE location__county_ = "Somerset" AND capacity__mw_ = "30" </s>
if the peak is 9, how many weeks was it in the top 10?
SELECT MAX(weeks_in_top_10) FROM table_26400041_2 WHERE peak = 9
CREATE TABLE table_26400041_2 (weeks_in_top_10 INTEGER, peak VARCHAR)
<s>[INST] if the peak is 9, how many weeks was it in the top 10? context: CREATE TABLE table_26400041_2 (weeks_in_top_10 INTEGER, peak VARCHAR) [/INST] SELECT MAX(weeks_in_top_10) FROM table_26400041_2 WHERE peak = 9 </s>
How many games had red star as the runner up?
SELECT COUNT(attendance) FROM table_26455614_1 WHERE runner_up = "Red Star"
CREATE TABLE table_26455614_1 (attendance VARCHAR, runner_up VARCHAR)
<s>[INST] How many games had red star as the runner up? context: CREATE TABLE table_26455614_1 (attendance VARCHAR, runner_up VARCHAR) [/INST] SELECT COUNT(attendance) FROM table_26455614_1 WHERE runner_up = "Red Star" </s>
What is the fewest recorded entrants against paris saint-germain?
SELECT MIN(entries) FROM table_26455614_1 WHERE winner = "Paris Saint-Germain"
CREATE TABLE table_26455614_1 (entries INTEGER, winner VARCHAR)
<s>[INST] What is the fewest recorded entrants against paris saint-germain? context: CREATE TABLE table_26455614_1 (entries INTEGER, winner VARCHAR) [/INST] SELECT MIN(entries) FROM table_26455614_1 WHERE winner = "Paris Saint-Germain" </s>
Name the member countries for finnish swedish
SELECT member_countries FROM table_26519486_1 WHERE languages = "Finnish Swedish"
CREATE TABLE table_26519486_1 (member_countries VARCHAR, languages VARCHAR)
<s>[INST] Name the member countries for finnish swedish context: CREATE TABLE table_26519486_1 (member_countries VARCHAR, languages VARCHAR) [/INST] SELECT member_countries FROM table_26519486_1 WHERE languages = "Finnish Swedish" </s>
Name the area for german
SELECT area__km²_ FROM table_26519486_1 WHERE languages = "German"
CREATE TABLE table_26519486_1 (area__km²_ VARCHAR, languages VARCHAR)
<s>[INST] Name the area for german context: CREATE TABLE table_26519486_1 (area__km²_ VARCHAR, languages VARCHAR) [/INST] SELECT area__km²_ FROM table_26519486_1 WHERE languages = "German" </s>
Name the population for 11 languages
SELECT population FROM table_26519486_1 WHERE languages = "11"
CREATE TABLE table_26519486_1 (population VARCHAR, languages VARCHAR)
<s>[INST] Name the population for 11 languages context: CREATE TABLE table_26519486_1 (population VARCHAR, languages VARCHAR) [/INST] SELECT population FROM table_26519486_1 WHERE languages = "11" </s>
What is the production code for the episode where the patient portrayer is Kathy Lamkin?
SELECT production_code FROM table_26561508_1 WHERE patient_portrayer = "Kathy Lamkin"
CREATE TABLE table_26561508_1 (production_code VARCHAR, patient_portrayer VARCHAR)
<s>[INST] What is the production code for the episode where the patient portrayer is Kathy Lamkin? context: CREATE TABLE table_26561508_1 (production_code VARCHAR, patient_portrayer VARCHAR) [/INST] SELECT production_code FROM table_26561508_1 WHERE patient_portrayer = "Kathy Lamkin" </s>
Who was the writter for the episode identified by the production code 2t5954?
SELECT written_by FROM table_26561508_1 WHERE production_code = "2T5954"
CREATE TABLE table_26561508_1 (written_by VARCHAR, production_code VARCHAR)
<s>[INST] Who was the writter for the episode identified by the production code 2t5954? context: CREATE TABLE table_26561508_1 (written_by VARCHAR, production_code VARCHAR) [/INST] SELECT written_by FROM table_26561508_1 WHERE production_code = "2T5954" </s>
What is the total number of patient portayers for the episode directed by Craig Zisk and written by Brad Falchuk?
SELECT COUNT(patient_portrayer) FROM table_26561508_1 WHERE directed_by = "Craig Zisk" AND written_by = "Brad Falchuk"
CREATE TABLE table_26561508_1 (patient_portrayer VARCHAR, directed_by VARCHAR, written_by VARCHAR)
<s>[INST] What is the total number of patient portayers for the episode directed by Craig Zisk and written by Brad Falchuk? context: CREATE TABLE table_26561508_1 (patient_portrayer VARCHAR, directed_by VARCHAR, written_by VARCHAR) [/INST] SELECT COUNT(patient_portrayer) FROM table_26561508_1 WHERE directed_by = "Crai...
Who directed the episode with production code 177605?
SELECT directed_by FROM table_26561506_1 WHERE production_code = 177605
CREATE TABLE table_26561506_1 (directed_by VARCHAR, production_code VARCHAR)
<s>[INST] Who directed the episode with production code 177605? context: CREATE TABLE table_26561506_1 (directed_by VARCHAR, production_code VARCHAR) [/INST] SELECT directed_by FROM table_26561506_1 WHERE production_code = 177605 </s>
How many episodes are numbered 4 in the season?
SELECT COUNT(patient_portrayer) FROM table_26561506_1 WHERE _number = 4
CREATE TABLE table_26561506_1 (patient_portrayer VARCHAR, _number VARCHAR)
<s>[INST] How many episodes are numbered 4 in the season? context: CREATE TABLE table_26561506_1 (patient_portrayer VARCHAR, _number VARCHAR) [/INST] SELECT COUNT(patient_portrayer) FROM table_26561506_1 WHERE _number = 4 </s>
Who wrote episode number 28?
SELECT written_by FROM table_26561506_1 WHERE no = 28
CREATE TABLE table_26561506_1 (written_by VARCHAR, no VARCHAR)
<s>[INST] Who wrote episode number 28? context: CREATE TABLE table_26561506_1 (written_by VARCHAR, no VARCHAR) [/INST] SELECT written_by FROM table_26561506_1 WHERE no = 28 </s>
What is the highest numbered episode with patient portrayer doug savant?
SELECT MAX(_number) FROM table_26561506_1 WHERE patient_portrayer = "Doug Savant"
CREATE TABLE table_26561506_1 (_number INTEGER, patient_portrayer VARCHAR)
<s>[INST] What is the highest numbered episode with patient portrayer doug savant? context: CREATE TABLE table_26561506_1 (_number INTEGER, patient_portrayer VARCHAR) [/INST] SELECT MAX(_number) FROM table_26561506_1 WHERE patient_portrayer = "Doug Savant" </s>
What number(s) in the series was written by bo crese?
SELECT no_in_series FROM table_26565936_2 WHERE written_by = "Bo Crese"
CREATE TABLE table_26565936_2 (no_in_series VARCHAR, written_by VARCHAR)
<s>[INST] What number(s) in the series was written by bo crese? context: CREATE TABLE table_26565936_2 (no_in_series VARCHAR, written_by VARCHAR) [/INST] SELECT no_in_series FROM table_26565936_2 WHERE written_by = "Bo Crese" </s>
Who wrote episode number 109 in the series?
SELECT written_by FROM table_26565936_2 WHERE no_in_series = 109
CREATE TABLE table_26565936_2 (written_by VARCHAR, no_in_series VARCHAR)
<s>[INST] Who wrote episode number 109 in the series? context: CREATE TABLE table_26565936_2 (written_by VARCHAR, no_in_series VARCHAR) [/INST] SELECT written_by FROM table_26565936_2 WHERE no_in_series = 109 </s>
What was the first episode in the season directed by nelson mccormick?
SELECT MIN(no_in_season) FROM table_26565936_2 WHERE directed_by = "Nelson McCormick"
CREATE TABLE table_26565936_2 (no_in_season INTEGER, directed_by VARCHAR)
<s>[INST] What was the first episode in the season directed by nelson mccormick? context: CREATE TABLE table_26565936_2 (no_in_season INTEGER, directed_by VARCHAR) [/INST] SELECT MIN(no_in_season) FROM table_26565936_2 WHERE directed_by = "Nelson McCormick" </s>
What was the original air date for the episode with 13.92 million us viewers?
SELECT original_air_date FROM table_26565936_2 WHERE us_viewers__millions_ = "13.92"
CREATE TABLE table_26565936_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
<s>[INST] What was the original air date for the episode with 13.92 million us viewers? context: CREATE TABLE table_26565936_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST] SELECT original_air_date FROM table_26565936_2 WHERE us_viewers__millions_ = "13.92" </s>
When was the episode with a 999,000 BARB rating first aired in Denmark?
SELECT first_broadcast_denmark___dr1__ FROM table_26591309_3 WHERE official_barb_ratings = "999,000"
CREATE TABLE table_26591309_3 (first_broadcast_denmark___dr1__ VARCHAR, official_barb_ratings VARCHAR)
<s>[INST] When was the episode with a 999,000 BARB rating first aired in Denmark? context: CREATE TABLE table_26591309_3 (first_broadcast_denmark___dr1__ VARCHAR, official_barb_ratings VARCHAR) [/INST] SELECT first_broadcast_denmark___dr1__ FROM table_26591309_3 WHERE official_barb_ratings = "999,000" </s>
What is the BARB ratings of episode 6?
SELECT official_barb_ratings FROM table_26591309_3 WHERE episode = 6
CREATE TABLE table_26591309_3 (official_barb_ratings VARCHAR, episode VARCHAR)
<s>[INST] What is the BARB ratings of episode 6? context: CREATE TABLE table_26591309_3 (official_barb_ratings VARCHAR, episode VARCHAR) [/INST] SELECT official_barb_ratings FROM table_26591309_3 WHERE episode = 6 </s>
When was the episode with a 1,036,000 BARB rating first aired in Denmark?
SELECT first_broadcast_denmark___dr1__ FROM table_26591309_3 WHERE official_barb_ratings = "1,036,000"
CREATE TABLE table_26591309_3 (first_broadcast_denmark___dr1__ VARCHAR, official_barb_ratings VARCHAR)
<s>[INST] When was the episode with a 1,036,000 BARB rating first aired in Denmark? context: CREATE TABLE table_26591309_3 (first_broadcast_denmark___dr1__ VARCHAR, official_barb_ratings VARCHAR) [/INST] SELECT first_broadcast_denmark___dr1__ FROM table_26591309_3 WHERE official_barb_ratings = "1,036,000" </s>
How many parks are called mt. olympus
SELECT COUNT(name) FROM table_2665085_1 WHERE park = "Mt. Olympus"
CREATE TABLE table_2665085_1 (name VARCHAR, park VARCHAR)
<s>[INST] How many parks are called mt. olympus context: CREATE TABLE table_2665085_1 (name VARCHAR, park VARCHAR) [/INST] SELECT COUNT(name) FROM table_2665085_1 WHERE park = "Mt. Olympus" </s>
How fast is the coaster that is 163 feet tall
SELECT speed__mph_ FROM table_2665085_1 WHERE height__ft_ = 163
CREATE TABLE table_2665085_1 (speed__mph_ VARCHAR, height__ft_ VARCHAR)
<s>[INST] How fast is the coaster that is 163 feet tall context: CREATE TABLE table_2665085_1 (speed__mph_ VARCHAR, height__ft_ VARCHAR) [/INST] SELECT speed__mph_ FROM table_2665085_1 WHERE height__ft_ = 163 </s>
What is the length of the coaster with the unknown speed
SELECT length__ft_ FROM table_2665085_1 WHERE speed__mph_ = "unknown"
CREATE TABLE table_2665085_1 (length__ft_ VARCHAR, speed__mph_ VARCHAR)
<s>[INST] What is the length of the coaster with the unknown speed context: CREATE TABLE table_2665085_1 (length__ft_ VARCHAR, speed__mph_ VARCHAR) [/INST] SELECT length__ft_ FROM table_2665085_1 WHERE speed__mph_ = "unknown" </s>
How long is the rollar coaster on Kemah Boardwalk
SELECT length__ft_ FROM table_2665085_1 WHERE park = "Kemah Boardwalk"
CREATE TABLE table_2665085_1 (length__ft_ VARCHAR, park VARCHAR)
<s>[INST] How long is the rollar coaster on Kemah Boardwalk context: CREATE TABLE table_2665085_1 (length__ft_ VARCHAR, park VARCHAR) [/INST] SELECT length__ft_ FROM table_2665085_1 WHERE park = "Kemah Boardwalk" </s>
What park is Boardwalk Bullet located in?
SELECT park FROM table_2665085_1 WHERE name = "Boardwalk Bullet"
CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR)
<s>[INST] What park is Boardwalk Bullet located in? context: CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR) [/INST] SELECT park FROM table_2665085_1 WHERE name = "Boardwalk Bullet" </s>
How many parks is Zippin Pippin located in
SELECT COUNT(park) FROM table_2665085_1 WHERE name = "Zippin Pippin"
CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR)
<s>[INST] How many parks is Zippin Pippin located in context: CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR) [/INST] SELECT COUNT(park) FROM table_2665085_1 WHERE name = "Zippin Pippin" </s>
In what year was Montenegro the host country?
SELECT year FROM table_26669939_1 WHERE host_country = "Montenegro"
CREATE TABLE table_26669939_1 (year VARCHAR, host_country VARCHAR)
<s>[INST] In what year was Montenegro the host country? context: CREATE TABLE table_26669939_1 (year VARCHAR, host_country VARCHAR) [/INST] SELECT year FROM table_26669939_1 WHERE host_country = "Montenegro" </s>
What was the number of athletes in the host city of Nice?
SELECT no_of_athletes FROM table_26669939_1 WHERE host_city = "Nice"
CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, host_city VARCHAR)
<s>[INST] What was the number of athletes in the host city of Nice? context: CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, host_city VARCHAR) [/INST] SELECT no_of_athletes FROM table_26669939_1 WHERE host_city = "Nice" </s>
Who was the host country when Bar was the host city?
SELECT host_country FROM table_26669939_1 WHERE host_city = "Bar"
CREATE TABLE table_26669939_1 (host_country VARCHAR, host_city VARCHAR)
<s>[INST] Who was the host country when Bar was the host city? context: CREATE TABLE table_26669939_1 (host_country VARCHAR, host_city VARCHAR) [/INST] SELECT host_country FROM table_26669939_1 WHERE host_city = "Bar" </s>
What was the number of athletes for the 7th edition?
SELECT no_of_athletes FROM table_26669939_1 WHERE edition = "7th"
CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, edition VARCHAR)
<s>[INST] What was the number of athletes for the 7th edition? context: CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, edition VARCHAR) [/INST] SELECT no_of_athletes FROM table_26669939_1 WHERE edition = "7th" </s>
What was the most recent year?
SELECT MAX(year) FROM table_26669939_1
CREATE TABLE table_26669939_1 (year INTEGER)
<s>[INST] What was the most recent year? context: CREATE TABLE table_26669939_1 (year INTEGER) [/INST] SELECT MAX(year) FROM table_26669939_1 </s>
What was the host city of the 8th edition in the the host country of Croatia?
SELECT host_city FROM table_26669939_1 WHERE host_country = "Croatia" AND edition = "8th"
CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR)
<s>[INST] What was the host city of the 8th edition in the the host country of Croatia? context: CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR) [/INST] SELECT host_city FROM table_26669939_1 WHERE host_country = "Croatia" AND edition = "8th" </s>
Name the result for first elected being 1798 1825
SELECT result FROM table_2668243_18 WHERE first_elected = "1798 1825"
CREATE TABLE table_2668243_18 (result VARCHAR, first_elected VARCHAR)
<s>[INST] Name the result for first elected being 1798 1825 context: CREATE TABLE table_2668243_18 (result VARCHAR, first_elected VARCHAR) [/INST] SELECT result FROM table_2668243_18 WHERE first_elected = "1798 1825" </s>
Name the total number of party for willis alston
SELECT COUNT(party) FROM table_2668243_18 WHERE incumbent = "Willis Alston"
CREATE TABLE table_2668243_18 (party VARCHAR, incumbent VARCHAR)
<s>[INST] Name the total number of party for willis alston context: CREATE TABLE table_2668243_18 (party VARCHAR, incumbent VARCHAR) [/INST] SELECT COUNT(party) FROM table_2668243_18 WHERE incumbent = "Willis Alston" </s>
Name the result for augustine h. shepperd (j) 100%
SELECT result FROM table_2668243_18 WHERE candidates = "Augustine H. Shepperd (J) 100%"
CREATE TABLE table_2668243_18 (result VARCHAR, candidates VARCHAR)
<s>[INST] Name the result for augustine h. shepperd (j) 100% context: CREATE TABLE table_2668243_18 (result VARCHAR, candidates VARCHAR) [/INST] SELECT result FROM table_2668243_18 WHERE candidates = "Augustine H. Shepperd (J) 100%" </s>
Name the result for willis alston
SELECT result FROM table_2668243_18 WHERE incumbent = "Willis Alston"
CREATE TABLE table_2668243_18 (result VARCHAR, incumbent VARCHAR)
<s>[INST] Name the result for willis alston context: CREATE TABLE table_2668243_18 (result VARCHAR, incumbent VARCHAR) [/INST] SELECT result FROM table_2668243_18 WHERE incumbent = "Willis Alston" </s>
Name the total number of party for willis alston (j) 93.9% george e. spruill 6.1%
SELECT COUNT(party) FROM table_2668243_18 WHERE candidates = "Willis Alston (J) 93.9% George E. Spruill 6.1%"
CREATE TABLE table_2668243_18 (party VARCHAR, candidates VARCHAR)
<s>[INST] Name the total number of party for willis alston (j) 93.9% george e. spruill 6.1% context: CREATE TABLE table_2668243_18 (party VARCHAR, candidates VARCHAR) [/INST] SELECT COUNT(party) FROM table_2668243_18 WHERE candidates = "Willis Alston (J) 93.9% George E. Spruill 6.1%" </s>
Name the district for anti-jacksonian
SELECT district FROM table_2668243_18 WHERE party = "Anti-Jacksonian"
CREATE TABLE table_2668243_18 (district VARCHAR, party VARCHAR)
<s>[INST] Name the district for anti-jacksonian context: CREATE TABLE table_2668243_18 (district VARCHAR, party VARCHAR) [/INST] SELECT district FROM table_2668243_18 WHERE party = "Anti-Jacksonian" </s>
What was the result for the candidate first elected in 1820?
SELECT result FROM table_2668243_19 WHERE first_elected = "1820"
CREATE TABLE table_2668243_19 (result VARCHAR, first_elected VARCHAR)
<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>
What is the party of Joseph Vance?
SELECT party FROM table_2668243_19 WHERE incumbent = "Joseph Vance"
CREATE TABLE table_2668243_19 (party VARCHAR, incumbent VARCHAR)
<s>[INST] What is the party of Joseph Vance? context: CREATE TABLE table_2668243_19 (party VARCHAR, incumbent VARCHAR) [/INST] SELECT party FROM table_2668243_19 WHERE incumbent = "Joseph Vance" </s>
Name the first elected for hosea moffitt (f) 57.9% josiah masters (dr) 42.1%
SELECT first_elected FROM table_2668352_11 WHERE candidates = "Hosea Moffitt (F) 57.9% Josiah Masters (DR) 42.1%"
CREATE TABLE table_2668352_11 (first_elected VARCHAR, candidates VARCHAR)
<s>[INST] Name the first elected for hosea moffitt (f) 57.9% josiah masters (dr) 42.1% context: CREATE TABLE table_2668352_11 (first_elected VARCHAR, candidates VARCHAR) [/INST] SELECT first_elected FROM table_2668352_11 WHERE candidates = "Hosea Moffitt (F) 57.9% Josiah Masters (DR) 42.1%" </s>
Name the first elected for jacob markell
SELECT first_elected FROM table_2668352_11 WHERE incumbent = "Jacob Markell"
CREATE TABLE table_2668352_11 (first_elected VARCHAR, incumbent VARCHAR)
<s>[INST] Name the first elected for jacob markell context: CREATE TABLE table_2668352_11 (first_elected VARCHAR, incumbent VARCHAR) [/INST] SELECT first_elected FROM table_2668352_11 WHERE incumbent = "Jacob Markell" </s>
Name the least first elected
SELECT MIN(first_elected) FROM table_2668352_11
CREATE TABLE table_2668352_11 (first_elected INTEGER)
<s>[INST] Name the least first elected context: CREATE TABLE table_2668352_11 (first_elected INTEGER) [/INST] SELECT MIN(first_elected) FROM table_2668352_11 </s>
Name the most first elected
SELECT MAX(first_elected) FROM table_2668352_11
CREATE TABLE table_2668352_11 (first_elected INTEGER)
<s>[INST] Name the most first elected context: CREATE TABLE table_2668352_11 (first_elected INTEGER) [/INST] SELECT MAX(first_elected) FROM table_2668352_11 </s>
Name the incumbent for new york 10
SELECT incumbent FROM table_2668352_11 WHERE district = "New York 10"
CREATE TABLE table_2668352_11 (incumbent VARCHAR, district VARCHAR)
<s>[INST] Name the incumbent for new york 10 context: CREATE TABLE table_2668352_11 (incumbent VARCHAR, district VARCHAR) [/INST] SELECT incumbent FROM table_2668352_11 WHERE district = "New York 10" </s>
Name the distrct for thomas wilson
SELECT district FROM table_2668367_21 WHERE incumbent = "Thomas Wilson"
CREATE TABLE table_2668367_21 (district VARCHAR, incumbent VARCHAR)
<s>[INST] Name the distrct for thomas wilson context: CREATE TABLE table_2668367_21 (district VARCHAR, incumbent VARCHAR) [/INST] SELECT district FROM table_2668367_21 WHERE incumbent = "Thomas Wilson" </s>
Name the party for john randolph redistricted from the 15th district
SELECT party FROM table_2668367_21 WHERE incumbent = "John Randolph Redistricted from the 15th district"
CREATE TABLE table_2668367_21 (party VARCHAR, incumbent VARCHAR)
<s>[INST] Name the party for john randolph redistricted from the 15th district context: CREATE TABLE table_2668367_21 (party VARCHAR, incumbent VARCHAR) [/INST] SELECT party FROM table_2668367_21 WHERE incumbent = "John Randolph Redistricted from the 15th district" </s>
Name the party for virginia 12
SELECT party FROM table_2668367_21 WHERE district = "Virginia 12"
CREATE TABLE table_2668367_21 (party VARCHAR, district VARCHAR)
<s>[INST] Name the party for virginia 12 context: CREATE TABLE table_2668367_21 (party VARCHAR, district VARCHAR) [/INST] SELECT party FROM table_2668367_21 WHERE district = "Virginia 12" </s>
Name the candidates for john boyle
SELECT candidates FROM table_2668378_5 WHERE incumbent = "John Boyle"
CREATE TABLE table_2668378_5 (candidates VARCHAR, incumbent VARCHAR)
<s>[INST] Name the candidates for john boyle context: CREATE TABLE table_2668378_5 (candidates VARCHAR, incumbent VARCHAR) [/INST] SELECT candidates FROM table_2668378_5 WHERE incumbent = "John Boyle" </s>
Name the first elected for kentucky 3
SELECT first_elected FROM table_2668378_5 WHERE district = "Kentucky 3"
CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)
<s>[INST] Name the first elected for kentucky 3 context: CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR) [/INST] SELECT first_elected FROM table_2668378_5 WHERE district = "Kentucky 3" </s>
Name the incumbent for matthew lyon (dr) anthony new (dr)
SELECT incumbent FROM table_2668378_5 WHERE candidates = "Matthew Lyon (DR) Anthony New (DR)"
CREATE TABLE table_2668378_5 (incumbent VARCHAR, candidates VARCHAR)
<s>[INST] Name the incumbent for matthew lyon (dr) anthony new (dr) context: CREATE TABLE table_2668378_5 (incumbent VARCHAR, candidates VARCHAR) [/INST] SELECT incumbent FROM table_2668378_5 WHERE candidates = "Matthew Lyon (DR) Anthony New (DR)" </s>
Name the number of first elected for kentucky 3
SELECT COUNT(first_elected) FROM table_2668378_5 WHERE district = "Kentucky 3"
CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)
<s>[INST] Name the number of first elected for kentucky 3 context: CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR) [/INST] SELECT COUNT(first_elected) FROM table_2668378_5 WHERE district = "Kentucky 3" </s>
Name the number of party for kentucky 1
SELECT COUNT(party) FROM table_2668378_5 WHERE district = "Kentucky 1"
CREATE TABLE table_2668378_5 (party VARCHAR, district VARCHAR)
<s>[INST] Name the number of party for kentucky 1 context: CREATE TABLE table_2668378_5 (party VARCHAR, district VARCHAR) [/INST] SELECT COUNT(party) FROM table_2668378_5 WHERE district = "Kentucky 1" </s>
Name the first elected for kentucky 1
SELECT first_elected FROM table_2668378_5 WHERE district = "Kentucky 1"
CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)
<s>[INST] Name the first elected for kentucky 1 context: CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR) [/INST] SELECT first_elected FROM table_2668378_5 WHERE district = "Kentucky 1" </s>
What is the district for the party federalist and the candidates are william craik (f) 51.0% benjamin edwards 49.0%?
SELECT district FROM table_2668416_7 WHERE party = "Federalist" AND candidates = "William Craik (F) 51.0% Benjamin Edwards 49.0%"
CREATE TABLE table_2668416_7 (district VARCHAR, party VARCHAR, candidates VARCHAR)
<s>[INST] What is the district for the party federalist and the candidates are william craik (f) 51.0% benjamin edwards 49.0%? context: CREATE TABLE table_2668416_7 (district VARCHAR, party VARCHAR, candidates VARCHAR) [/INST] SELECT district FROM table_2668416_7 WHERE party = "Federalist" AND candidates = "William Cr...
What is the party when the incumbent is samuel smith?
SELECT party FROM table_2668416_7 WHERE incumbent = "Samuel Smith"
CREATE TABLE table_2668416_7 (party VARCHAR, incumbent VARCHAR)
<s>[INST] What is the party when the incumbent is samuel smith? context: CREATE TABLE table_2668416_7 (party VARCHAR, incumbent VARCHAR) [/INST] SELECT party FROM table_2668416_7 WHERE incumbent = "Samuel Smith" </s>
What is the result for the district Maryland 7?
SELECT result FROM table_2668416_7 WHERE district = "Maryland 7"
CREATE TABLE table_2668416_7 (result VARCHAR, district VARCHAR)
<s>[INST] What is the result for the district Maryland 7? context: CREATE TABLE table_2668416_7 (result VARCHAR, district VARCHAR) [/INST] SELECT result FROM table_2668416_7 WHERE district = "Maryland 7" </s>
Who is the candidates for district maryland 1?
SELECT candidates FROM table_2668416_7 WHERE district = "Maryland 1"
CREATE TABLE table_2668416_7 (candidates VARCHAR, district VARCHAR)
<s>[INST] Who is the candidates for district maryland 1? context: CREATE TABLE table_2668416_7 (candidates VARCHAR, district VARCHAR) [/INST] SELECT candidates FROM table_2668416_7 WHERE district = "Maryland 1" </s>
Who was the candidate in 1791?
SELECT candidates FROM table_2668420_12 WHERE first_elected = 1791
CREATE TABLE table_2668420_12 (candidates VARCHAR, first_elected VARCHAR)
<s>[INST] Who was the candidate in 1791? context: CREATE TABLE table_2668420_12 (candidates VARCHAR, first_elected VARCHAR) [/INST] SELECT candidates FROM table_2668420_12 WHERE first_elected = 1791 </s>
What tv season was episode 23 broadcast?
SELECT tv_season FROM table_2669287_1 WHERE episodes = 23
CREATE TABLE table_2669287_1 (tv_season VARCHAR, episodes VARCHAR)
<s>[INST] What tv season was episode 23 broadcast? context: CREATE TABLE table_2669287_1 (tv_season VARCHAR, episodes VARCHAR) [/INST] SELECT tv_season FROM table_2669287_1 WHERE episodes = 23 </s>
How many seasons was the rank equal to #50?
SELECT COUNT(season) FROM table_2669287_1 WHERE rank = "#50"
CREATE TABLE table_2669287_1 (season VARCHAR, rank VARCHAR)
<s>[INST] How many seasons was the rank equal to #50? context: CREATE TABLE table_2669287_1 (season VARCHAR, rank VARCHAR) [/INST] SELECT COUNT(season) FROM table_2669287_1 WHERE rank = "#50" </s>