context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_8 (stadium VARCHAR, past_season VARCHAR)
SELECT stadium FROM table_name_8 WHERE past_season = "7th"
what stadium has a prior record of 7th?
<s>[INST]what stadium has a prior record of 7th? Context: CREATE TABLE table_name_8 (stadium VARCHAR, past_season VARCHAR)[/INST]SELECT stadium FROM table_name_8 WHERE past_season = "7th"</s>
CREATE TABLE table_23259077_1 (outcome VARCHAR, opponent_in_the_final VARCHAR)
SELECT outcome FROM table_23259077_1 WHERE opponent_in_the_final = "Jan Kodeš"
What was the outcome for Newcombe in the matches he played against Jan Kodeš?
<s>[INST]What was the outcome for Newcombe in the matches he played against Jan Kodeš? Context: CREATE TABLE table_23259077_1 (outcome VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT outcome FROM table_23259077_1 WHERE opponent_in_the_final = "Jan Kodeš"</s>
CREATE TABLE table_name_34 (third_place VARCHAR, tournament VARCHAR)
SELECT third_place FROM table_name_34 WHERE tournament = "zurich"
Who won third place in the Zurich Tournament?
<s>[INST]Who won third place in the Zurich Tournament? Context: CREATE TABLE table_name_34 (third_place VARCHAR, tournament VARCHAR)[/INST]SELECT third_place FROM table_name_34 WHERE tournament = "zurich"</s>
CREATE TABLE table_2610582_2 (branding VARCHAR, callsign VARCHAR)
SELECT branding FROM table_2610582_2 WHERE callsign = "DWEC-TV"
The callsign DWEC-TV has what branding?
<s>[INST]The callsign DWEC-TV has what branding? Context: CREATE TABLE table_2610582_2 (branding VARCHAR, callsign VARCHAR)[/INST]SELECT branding FROM table_2610582_2 WHERE callsign = "DWEC-TV"</s>
CREATE TABLE table_name_50 (quantity_rebuilt INTEGER, class VARCHAR)
SELECT MIN(quantity_rebuilt) FROM table_name_50 WHERE class = "t2a"
What the least quantity having a T2A class?
<s>[INST]What the least quantity having a T2A class? Context: CREATE TABLE table_name_50 (quantity_rebuilt INTEGER, class VARCHAR)[/INST]SELECT MIN(quantity_rebuilt) FROM table_name_50 WHERE class = "t2a"</s>
CREATE TABLE table_name_82 (placings INTEGER, name VARCHAR, points VARCHAR)
SELECT MAX(placings) FROM table_name_82 WHERE name = "marie mcneil / robert mccall" AND points < 168.58
What is the highest placing for marie mcneil / robert mccall, with less than 168.58?
<s>[INST]What is the highest placing for marie mcneil / robert mccall, with less than 168.58? Context: CREATE TABLE table_name_82 (placings INTEGER, name VARCHAR, points VARCHAR)[/INST]SELECT MAX(placings) FROM table_name_82 WHERE name = "marie mcneil / robert mccall" AND points < 168.58</s>
CREATE TABLE AssignedTo (Scientist VARCHAR, Project VARCHAR); CREATE TABLE Projects (Name VARCHAR, Hours VARCHAR, Code VARCHAR); CREATE TABLE Scientists (Name VARCHAR, SSN VARCHAR)
SELECT T1.Name, T3.Name, T3.Hours FROM Scientists AS T1 JOIN AssignedTo AS T2 ON T1.SSN = T2.Scientist JOIN Projects AS T3 ON T2.Project = T3.Code ORDER BY T3.Name, T1.Name
List all the scientists' names, their projects' names, and the hours worked by that scientist on each project, in alphabetical order of project name, and then scientist name.
<s>[INST]List all the scientists' names, their projects' names, and the hours worked by that scientist on each project, in alphabetical order of project name, and then scientist name. Context: CREATE TABLE AssignedTo (Scientist VARCHAR, Project VARCHAR); CREATE TABLE Projects (Name VARCHAR, Hours VARCHAR, Code VARCHAR); CREATE TABLE Scientists (Name VARCHAR, SSN VARCHAR)[/INST]SELECT T1.Name, T3.Name, T3.Hours FROM Scientists AS T1 JOIN AssignedTo AS T2 ON T1.SSN = T2.Scientist JOIN Projects AS T3 ON T2.Project = T3.Code ORDER BY T3.Name, T1.Name</s>
CREATE TABLE table_name_62 (country VARCHAR, year__most_recent_ VARCHAR, adult_men VARCHAR)
SELECT country FROM table_name_62 WHERE year__most_recent_ = 2005 AND adult_men = "96%"
Which country has its most recent year as being 2005 and has an Adult Men literacy rate of 96%?
<s>[INST]Which country has its most recent year as being 2005 and has an Adult Men literacy rate of 96%? Context: CREATE TABLE table_name_62 (country VARCHAR, year__most_recent_ VARCHAR, adult_men VARCHAR)[/INST]SELECT country FROM table_name_62 WHERE year__most_recent_ = 2005 AND adult_men = "96%"</s>
CREATE TABLE table_name_42 (league INTEGER, total VARCHAR, name VARCHAR)
SELECT MIN(league) FROM table_name_42 WHERE total < 284 AND name = "sandro mazzola"
Which league has total smaller than 284, with Sandro Mazzola league?
<s>[INST]Which league has total smaller than 284, with Sandro Mazzola league? Context: CREATE TABLE table_name_42 (league INTEGER, total VARCHAR, name VARCHAR)[/INST]SELECT MIN(league) FROM table_name_42 WHERE total < 284 AND name = "sandro mazzola"</s>
CREATE TABLE table_name_55 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_55 WHERE tie_no = "20"
Who were the away team in tie number 20?
<s>[INST]Who were the away team in tie number 20? Context: CREATE TABLE table_name_55 (away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_55 WHERE tie_no = "20"</s>
CREATE TABLE table_29471472_1 (series VARCHAR, races VARCHAR)
SELECT series FROM table_29471472_1 WHERE races = 7
What is the series for race 7
<s>[INST]What is the series for race 7 Context: CREATE TABLE table_29471472_1 (series VARCHAR, races VARCHAR)[/INST]SELECT series FROM table_29471472_1 WHERE races = 7</s>
CREATE TABLE table_name_5 (enrollment INTEGER, team_nickname VARCHAR)
SELECT SUM(enrollment) FROM table_name_5 WHERE team_nickname = "wildcats"
The school nicknamed the wildcats has what sum of enrollment?
<s>[INST]The school nicknamed the wildcats has what sum of enrollment? Context: CREATE TABLE table_name_5 (enrollment INTEGER, team_nickname VARCHAR)[/INST]SELECT SUM(enrollment) FROM table_name_5 WHERE team_nickname = "wildcats"</s>
CREATE TABLE user_profiles (Id VARCHAR)
SELECT COUNT(*) FROM user_profiles
How many users are there?
<s>[INST]How many users are there? Context: CREATE TABLE user_profiles (Id VARCHAR)[/INST]SELECT COUNT(*) FROM user_profiles</s>
CREATE TABLE Accounts (customer_id VARCHAR)
SELECT customer_id, COUNT(*) FROM Accounts GROUP BY customer_id
Show all customer ids and the number of accounts for each customer.
<s>[INST]Show all customer ids and the number of accounts for each customer. Context: CREATE TABLE Accounts (customer_id VARCHAR)[/INST]SELECT customer_id, COUNT(*) FROM Accounts GROUP BY customer_id</s>
CREATE TABLE table_1014206_2 (launched VARCHAR, laid_down VARCHAR)
SELECT launched FROM table_1014206_2 WHERE laid_down = "September 1, 1964"
When were the ships launched that were laid down on september 1, 1964?
<s>[INST]When were the ships launched that were laid down on september 1, 1964? Context: CREATE TABLE table_1014206_2 (launched VARCHAR, laid_down VARCHAR)[/INST]SELECT launched FROM table_1014206_2 WHERE laid_down = "September 1, 1964"</s>
CREATE TABLE table_name_74 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_74 WHERE date = "november 24, 1957"
What week of the season was November 24, 1957?
<s>[INST]What week of the season was November 24, 1957? Context: CREATE TABLE table_name_74 (week VARCHAR, date VARCHAR)[/INST]SELECT week FROM table_name_74 WHERE date = "november 24, 1957"</s>
CREATE TABLE table_name_88 (ground VARCHAR, home_team VARCHAR)
SELECT ground FROM table_name_88 WHERE home_team = "adelaide"
What is the ground of the game where the home team was Adelaide?
<s>[INST]What is the ground of the game where the home team was Adelaide? Context: CREATE TABLE table_name_88 (ground VARCHAR, home_team VARCHAR)[/INST]SELECT ground FROM table_name_88 WHERE home_team = "adelaide"</s>
CREATE TABLE table_name_96 (points VARCHAR, lost VARCHAR)
SELECT points FROM table_name_96 WHERE lost = "19"
Name the points with lost of 19
<s>[INST]Name the points with lost of 19 Context: CREATE TABLE table_name_96 (points VARCHAR, lost VARCHAR)[/INST]SELECT points FROM table_name_96 WHERE lost = "19"</s>
CREATE TABLE table_name_98 (venue VARCHAR, year VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_98 WHERE year > 2009 AND notes = "5000 m"
What was the venue that had 5000 m after 2009?
<s>[INST]What was the venue that had 5000 m after 2009? Context: CREATE TABLE table_name_98 (venue VARCHAR, year VARCHAR, notes VARCHAR)[/INST]SELECT venue FROM table_name_98 WHERE year > 2009 AND notes = "5000 m"</s>
CREATE TABLE table_name_62 (lane INTEGER, time VARCHAR, rank VARCHAR)
SELECT MAX(lane) FROM table_name_62 WHERE time < 24.72 AND rank = 4
What's the highest lane of rank 4 with a time less than 24.72?
<s>[INST]What's the highest lane of rank 4 with a time less than 24.72? Context: CREATE TABLE table_name_62 (lane INTEGER, time VARCHAR, rank VARCHAR)[/INST]SELECT MAX(lane) FROM table_name_62 WHERE time < 24.72 AND rank = 4</s>
CREATE TABLE table_name_85 (points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)
SELECT MIN(points) FROM table_name_85 WHERE touchdowns < 2 AND extra_points = 7 AND field_goals < 0
Which Points is the lowest one that has Touchdowns smaller than 2, and an Extra points of 7, and a Field goals smaller than 0?
<s>[INST]Which Points is the lowest one that has Touchdowns smaller than 2, and an Extra points of 7, and a Field goals smaller than 0? Context: CREATE TABLE table_name_85 (points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)[/INST]SELECT MIN(points) FROM table_name_85 WHERE touchdowns < 2 AND extra_points = 7 AND field_goals < 0</s>
CREATE TABLE table_name_23 (player VARCHAR, year VARCHAR, pick VARCHAR)
SELECT player FROM table_name_23 WHERE year > 2010 AND pick = 2
Which player was pick 2 later than 2010?
<s>[INST]Which player was pick 2 later than 2010? Context: CREATE TABLE table_name_23 (player VARCHAR, year VARCHAR, pick VARCHAR)[/INST]SELECT player FROM table_name_23 WHERE year > 2010 AND pick = 2</s>
CREATE TABLE table_21436373_7 (stadium VARCHAR, attendance VARCHAR)
SELECT stadium FROM table_21436373_7 WHERE attendance = 255627
When 255627 is the attendance what is the stadium?
<s>[INST]When 255627 is the attendance what is the stadium? Context: CREATE TABLE table_21436373_7 (stadium VARCHAR, attendance VARCHAR)[/INST]SELECT stadium FROM table_21436373_7 WHERE attendance = 255627</s>
CREATE TABLE table_name_82 (group VARCHAR, distance VARCHAR)
SELECT group FROM table_name_82 WHERE distance = "1200 m"
What group has 1200 m as the distance?
<s>[INST]What group has 1200 m as the distance? Context: CREATE TABLE table_name_82 (group VARCHAR, distance VARCHAR)[/INST]SELECT group FROM table_name_82 WHERE distance = "1200 m"</s>
CREATE TABLE table_2668416_7 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_2668416_7 WHERE incumbent = "Samuel Smith"
What is the party when the incumbent is samuel smith?
<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>
CREATE TABLE table_name_44 (manufacturer VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT manufacturer FROM table_name_44 WHERE laps = "24" AND time_retired = "+1.965"
WHAT IS THE MANUFACTURER WITH 24 LAPS, AND +1.965 TIME/RETIRED?
<s>[INST]WHAT IS THE MANUFACTURER WITH 24 LAPS, AND +1.965 TIME/RETIRED? Context: CREATE TABLE table_name_44 (manufacturer VARCHAR, laps VARCHAR, time_retired VARCHAR)[/INST]SELECT manufacturer FROM table_name_44 WHERE laps = "24" AND time_retired = "+1.965"</s>
CREATE TABLE table_13759592_2 (institution VARCHAR, founded VARCHAR)
SELECT institution FROM table_13759592_2 WHERE founded = 1923
Which institution was founded in 1923?
<s>[INST]Which institution was founded in 1923? Context: CREATE TABLE table_13759592_2 (institution VARCHAR, founded VARCHAR)[/INST]SELECT institution FROM table_13759592_2 WHERE founded = 1923</s>
CREATE TABLE table_name_92 (colonized VARCHAR, state VARCHAR)
SELECT colonized FROM table_name_92 WHERE state = "michigan"
What is the colonized date for Michigan?
<s>[INST]What is the colonized date for Michigan? Context: CREATE TABLE table_name_92 (colonized VARCHAR, state VARCHAR)[/INST]SELECT colonized FROM table_name_92 WHERE state = "michigan"</s>
CREATE TABLE table_name_1 (final VARCHAR, lane VARCHAR)
SELECT final FROM table_name_1 WHERE lane = 4
What were the final time for the swimmer on lane 4?
<s>[INST]What were the final time for the swimmer on lane 4? Context: CREATE TABLE table_name_1 (final VARCHAR, lane VARCHAR)[/INST]SELECT final FROM table_name_1 WHERE lane = 4</s>
CREATE TABLE table_30120560_1 (area__acres__ VARCHAR, townland VARCHAR)
SELECT COUNT(area__acres__) FROM table_30120560_1 WHERE townland = "Brittas"
what is the number of areas where the townland is brittas?
<s>[INST]what is the number of areas where the townland is brittas? Context: CREATE TABLE table_30120560_1 (area__acres__ VARCHAR, townland VARCHAR)[/INST]SELECT COUNT(area__acres__) FROM table_30120560_1 WHERE townland = "Brittas"</s>
CREATE TABLE table_name_27 (winners VARCHAR, third VARCHAR, runners_up VARCHAR)
SELECT COUNT(winners) FROM table_name_27 WHERE third = 1 AND runners_up < 0
How many Winners have a Third of 1, and Runners-up smaller than 0?
<s>[INST]How many Winners have a Third of 1, and Runners-up smaller than 0? Context: CREATE TABLE table_name_27 (winners VARCHAR, third VARCHAR, runners_up VARCHAR)[/INST]SELECT COUNT(winners) FROM table_name_27 WHERE third = 1 AND runners_up < 0</s>
CREATE TABLE table_17155250_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
SELECT year__ceremony_ FROM table_17155250_1 WHERE original_title = "Fire Dancer"
For what ceremony was "Fire Dancer" not nominated?
<s>[INST]For what ceremony was "Fire Dancer" not nominated? Context: CREATE TABLE table_17155250_1 (year__ceremony_ VARCHAR, original_title VARCHAR)[/INST]SELECT year__ceremony_ FROM table_17155250_1 WHERE original_title = "Fire Dancer"</s>
CREATE TABLE table_name_37 (fleet_id VARCHAR, year_built VARCHAR, seats VARCHAR)
SELECT fleet_id FROM table_name_37 WHERE year_built = "2012" AND seats < 179
For the train built in 2012 with less than 179 seats, what is the Fleet ID?
<s>[INST]For the train built in 2012 with less than 179 seats, what is the Fleet ID? Context: CREATE TABLE table_name_37 (fleet_id VARCHAR, year_built VARCHAR, seats VARCHAR)[/INST]SELECT fleet_id FROM table_name_37 WHERE year_built = "2012" AND seats < 179</s>
CREATE TABLE table_name_50 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_50 WHERE date = "september 21"
WHAT SCORE WAS ON SEPTEMBER 21?
<s>[INST]WHAT SCORE WAS ON SEPTEMBER 21? Context: CREATE TABLE table_name_50 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_50 WHERE date = "september 21"</s>
CREATE TABLE table_name_69 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_69 WHERE game = 17
What is the Date, when Game is 17?
<s>[INST]What is the Date, when Game is 17? Context: CREATE TABLE table_name_69 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_69 WHERE game = 17</s>
CREATE TABLE table_22883210_7 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_22883210_7 WHERE date = "January 20"
What was the high point for January 20?
<s>[INST]What was the high point for January 20? Context: CREATE TABLE table_22883210_7 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_22883210_7 WHERE date = "January 20"</s>
CREATE TABLE table_19131921_1 (branding VARCHAR, format VARCHAR)
SELECT branding FROM table_19131921_1 WHERE format = "Southern Country"
Which branding has the format of southern country?
<s>[INST]Which branding has the format of southern country? Context: CREATE TABLE table_19131921_1 (branding VARCHAR, format VARCHAR)[/INST]SELECT branding FROM table_19131921_1 WHERE format = "Southern Country"</s>
CREATE TABLE table_name_86 (author___editor___source VARCHAR, world_ranking__1_ VARCHAR, countries_sampled VARCHAR)
SELECT author___editor___source FROM table_name_86 WHERE world_ranking__1_ = "35" AND countries_sampled > 100
Who is the Author/Editor/Source for more than 100 countries sampled and has a 35 world ranking?
<s>[INST]Who is the Author/Editor/Source for more than 100 countries sampled and has a 35 world ranking? Context: CREATE TABLE table_name_86 (author___editor___source VARCHAR, world_ranking__1_ VARCHAR, countries_sampled VARCHAR)[/INST]SELECT author___editor___source FROM table_name_86 WHERE world_ranking__1_ = "35" AND countries_sampled > 100</s>
CREATE TABLE media_types (name VARCHAR)
SELECT name FROM media_types
List all media types.
<s>[INST]List all media types. Context: CREATE TABLE media_types (name VARCHAR)[/INST]SELECT name FROM media_types</s>
CREATE TABLE table_name_23 (total INTEGER, nation VARCHAR)
SELECT MIN(total) FROM table_name_23 WHERE nation = "sweden"
What is the lowest total when the nation is Sweden?
<s>[INST]What is the lowest total when the nation is Sweden? Context: CREATE TABLE table_name_23 (total INTEGER, nation VARCHAR)[/INST]SELECT MIN(total) FROM table_name_23 WHERE nation = "sweden"</s>
CREATE TABLE table_name_97 (members_of_parliament VARCHAR, trailing_party VARCHAR)
SELECT members_of_parliament FROM table_name_97 WHERE trailing_party = "bharatiya lok dal"
What is Members of Parliament, when Trailing Party is "Bharatiya Lok Dal"?
<s>[INST]What is Members of Parliament, when Trailing Party is "Bharatiya Lok Dal"? Context: CREATE TABLE table_name_97 (members_of_parliament VARCHAR, trailing_party VARCHAR)[/INST]SELECT members_of_parliament FROM table_name_97 WHERE trailing_party = "bharatiya lok dal"</s>
CREATE TABLE table_name_91 (stadium VARCHAR, opposition VARCHAR)
SELECT stadium FROM table_name_91 WHERE opposition = "79,122"
Which stadium had the opposition of 79,122?
<s>[INST]Which stadium had the opposition of 79,122? Context: CREATE TABLE table_name_91 (stadium VARCHAR, opposition VARCHAR)[/INST]SELECT stadium FROM table_name_91 WHERE opposition = "79,122"</s>
CREATE TABLE table_name_71 (start INTEGER, player VARCHAR)
SELECT MIN(start) FROM table_name_71 WHERE player = "fero lasagavibau"
For the player fero lasagavibau who has the lowest start?
<s>[INST]For the player fero lasagavibau who has the lowest start? Context: CREATE TABLE table_name_71 (start INTEGER, player VARCHAR)[/INST]SELECT MIN(start) FROM table_name_71 WHERE player = "fero lasagavibau"</s>
CREATE TABLE table_name_7 (year INTEGER, event VARCHAR, venue VARCHAR)
SELECT MIN(year) FROM table_name_7 WHERE event = "foil team" AND venue = "melbourne"
What is the lowest year that had foil team as the event at Melbourne?
<s>[INST]What is the lowest year that had foil team as the event at Melbourne? Context: CREATE TABLE table_name_7 (year INTEGER, event VARCHAR, venue VARCHAR)[/INST]SELECT MIN(year) FROM table_name_7 WHERE event = "foil team" AND venue = "melbourne"</s>
CREATE TABLE table_26919_7 (akkadian VARCHAR, geez VARCHAR)
SELECT akkadian FROM table_26919_7 WHERE geez = "libb"
if the geez is libb, what is the akkadian?
<s>[INST]if the geez is libb, what is the akkadian? Context: CREATE TABLE table_26919_7 (akkadian VARCHAR, geez VARCHAR)[/INST]SELECT akkadian FROM table_26919_7 WHERE geez = "libb"</s>
CREATE TABLE table_name_79 (to_par VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_79 WHERE country = "new zealand"
What is the To par of the New Zealand Player?
<s>[INST]What is the To par of the New Zealand Player? Context: CREATE TABLE table_name_79 (to_par VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_79 WHERE country = "new zealand"</s>
CREATE TABLE table_name_20 (tournament VARCHAR, runner_s__up VARCHAR)
SELECT tournament FROM table_name_20 WHERE runner_s__up = "val skinner"
Which tournament had a runner-up of Val Skinner?
<s>[INST]Which tournament had a runner-up of Val Skinner? Context: CREATE TABLE table_name_20 (tournament VARCHAR, runner_s__up VARCHAR)[/INST]SELECT tournament FROM table_name_20 WHERE runner_s__up = "val skinner"</s>
CREATE TABLE table_24212608_1 (starring VARCHAR, episode VARCHAR)
SELECT starring FROM table_24212608_1 WHERE episode = 3
Who starred in episode 3?
<s>[INST]Who starred in episode 3? Context: CREATE TABLE table_24212608_1 (starring VARCHAR, episode VARCHAR)[/INST]SELECT starring FROM table_24212608_1 WHERE episode = 3</s>
CREATE TABLE table_name_37 (sources_of_pop___area VARCHAR, city VARCHAR)
SELECT sources_of_pop___area FROM table_name_37 WHERE city = "bandung"
What is the sources for Bandung?
<s>[INST]What is the sources for Bandung? Context: CREATE TABLE table_name_37 (sources_of_pop___area VARCHAR, city VARCHAR)[/INST]SELECT sources_of_pop___area FROM table_name_37 WHERE city = "bandung"</s>
CREATE TABLE table_name_26 (general_classification VARCHAR, points_classification VARCHAR)
SELECT general_classification FROM table_name_26 WHERE points_classification = "levi leipheimer"
What general classification has levi leipheimer as points classification?
<s>[INST]What general classification has levi leipheimer as points classification? Context: CREATE TABLE table_name_26 (general_classification VARCHAR, points_classification VARCHAR)[/INST]SELECT general_classification FROM table_name_26 WHERE points_classification = "levi leipheimer"</s>
CREATE TABLE table_name_63 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_63 WHERE date = "05/09/1973"
Where was the 05/09/1973 venue?
<s>[INST]Where was the 05/09/1973 venue? Context: CREATE TABLE table_name_63 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_63 WHERE date = "05/09/1973"</s>
CREATE TABLE table_name_59 (long INTEGER, loss VARCHAR, gain VARCHAR)
SELECT SUM(long) FROM table_name_59 WHERE loss > 390 AND gain < 1 OFFSET 405
When the player gained below 1,405 yards and lost over 390 yards, what's the sum of the long yards?
<s>[INST]When the player gained below 1,405 yards and lost over 390 yards, what's the sum of the long yards? Context: CREATE TABLE table_name_59 (long INTEGER, loss VARCHAR, gain VARCHAR)[/INST]SELECT SUM(long) FROM table_name_59 WHERE loss > 390 AND gain < 1 OFFSET 405</s>
CREATE TABLE table_name_5 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_5 WHERE away_team = "south melbourne"
What was South Melbourne's score when they played as the away team?
<s>[INST]What was South Melbourne's score when they played as the away team? Context: CREATE TABLE table_name_5 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_5 WHERE away_team = "south melbourne"</s>
CREATE TABLE table_27487336_1 (rushing_yards_per_game VARCHAR, sacks VARCHAR)
SELECT rushing_yards_per_game FROM table_27487336_1 WHERE sacks = "25"
What is every value for rushing yards per game if sacks if 25?
<s>[INST]What is every value for rushing yards per game if sacks if 25? Context: CREATE TABLE table_27487336_1 (rushing_yards_per_game VARCHAR, sacks VARCHAR)[/INST]SELECT rushing_yards_per_game FROM table_27487336_1 WHERE sacks = "25"</s>
CREATE TABLE table_name_28 (population__2011_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR)
SELECT SUM(population__2011_) FROM table_name_28 WHERE land_area__km²_ > 15.69 AND population_density__per_km²_ > 57.3
How much Population (2011) has a Land area (km²) larger than 15.69, and a Population density (per km²) larger than 57.3?
<s>[INST]How much Population (2011) has a Land area (km²) larger than 15.69, and a Population density (per km²) larger than 57.3? Context: CREATE TABLE table_name_28 (population__2011_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR)[/INST]SELECT SUM(population__2011_) FROM table_name_28 WHERE land_area__km²_ > 15.69 AND population_density__per_km²_ > 57.3</s>
CREATE TABLE table_name_64 (filename_extension VARCHAR, image_support VARCHAR, interactivity_support VARCHAR, open_standard VARCHAR)
SELECT filename_extension FROM table_name_64 WHERE interactivity_support = "no" AND open_standard = "yes" AND image_support = "no"
Which Filename extension has an Interactivity support of no, an Open standard of yes, and an Image support of no?
<s>[INST]Which Filename extension has an Interactivity support of no, an Open standard of yes, and an Image support of no? Context: CREATE TABLE table_name_64 (filename_extension VARCHAR, image_support VARCHAR, interactivity_support VARCHAR, open_standard VARCHAR)[/INST]SELECT filename_extension FROM table_name_64 WHERE interactivity_support = "no" AND open_standard = "yes" AND image_support = "no"</s>
CREATE TABLE table_name_86 (format VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_86 WHERE catalog = "2508668"
What is the Format of the release with Catalog number 2508668?
<s>[INST]What is the Format of the release with Catalog number 2508668? Context: CREATE TABLE table_name_86 (format VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_86 WHERE catalog = "2508668"</s>
CREATE TABLE table_name_5 (frequency VARCHAR, area_served VARCHAR, callsign VARCHAR)
SELECT frequency FROM table_name_5 WHERE area_served = "gosford" AND callsign = "2cfm"
What is the Frequency of Gosford when the Callsign of 2cfm?
<s>[INST]What is the Frequency of Gosford when the Callsign of 2cfm? Context: CREATE TABLE table_name_5 (frequency VARCHAR, area_served VARCHAR, callsign VARCHAR)[/INST]SELECT frequency FROM table_name_5 WHERE area_served = "gosford" AND callsign = "2cfm"</s>
CREATE TABLE table_1147701_5 (model_name VARCHAR, engine_code VARCHAR)
SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5244 T7"
What is the model of the engine d5244 t7?
<s>[INST]What is the model of the engine d5244 t7? Context: CREATE TABLE table_1147701_5 (model_name VARCHAR, engine_code VARCHAR)[/INST]SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5244 T7"</s>
CREATE TABLE table_name_37 (assists INTEGER, league VARCHAR, goals VARCHAR)
SELECT MIN(assists) FROM table_name_37 WHERE league = "wchl" AND goals < 65
In the WCHL League, what is the last Assists with less than 65 Goals?
<s>[INST]In the WCHL League, what is the last Assists with less than 65 Goals? Context: CREATE TABLE table_name_37 (assists INTEGER, league VARCHAR, goals VARCHAR)[/INST]SELECT MIN(assists) FROM table_name_37 WHERE league = "wchl" AND goals < 65</s>
CREATE TABLE table_name_51 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_51 WHERE home_team = "collingwood"
Name the date for home team of collingwood
<s>[INST]Name the date for home team of collingwood Context: CREATE TABLE table_name_51 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_51 WHERE home_team = "collingwood"</s>
CREATE TABLE Lessons (lesson_time INTEGER, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT SUM(T1.lesson_time) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Rylan" AND T2.last_name = "Goodwin"
How long is the total lesson time took by customer with first name as Rylan and last name as Goodwin?
<s>[INST]How long is the total lesson time took by customer with first name as Rylan and last name as Goodwin? Context: CREATE TABLE Lessons (lesson_time INTEGER, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR)[/INST]SELECT SUM(T1.lesson_time) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Rylan" AND T2.last_name = "Goodwin"</s>
CREATE TABLE table_name_78 (moving_to VARCHAR, nat VARCHAR)
SELECT moving_to FROM table_name_78 WHERE nat = "tri"
Who is moving with the nationality of Tri?
<s>[INST]Who is moving with the nationality of Tri? Context: CREATE TABLE table_name_78 (moving_to VARCHAR, nat VARCHAR)[/INST]SELECT moving_to FROM table_name_78 WHERE nat = "tri"</s>
CREATE TABLE table_name_29 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_29 WHERE iata = "hgh"
Which airport has an IATA of hgh?
<s>[INST]Which airport has an IATA of hgh? Context: CREATE TABLE table_name_29 (airport VARCHAR, iata VARCHAR)[/INST]SELECT airport FROM table_name_29 WHERE iata = "hgh"</s>
CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR)
SELECT COUNT(total) FROM table_21249915_1 WHERE department = "La Paz"
How many total catagories are there for La Paz?
<s>[INST]How many total catagories are there for La Paz? Context: CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR)[/INST]SELECT COUNT(total) FROM table_21249915_1 WHERE department = "La Paz"</s>
CREATE TABLE table_name_12 (week VARCHAR, result VARCHAR)
SELECT COUNT(week) FROM table_name_12 WHERE result = "bye"
What is the number of weeks where the result was listed at bye?
<s>[INST]What is the number of weeks where the result was listed at bye? Context: CREATE TABLE table_name_12 (week VARCHAR, result VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_12 WHERE result = "bye"</s>
CREATE TABLE table_15984957_2 (oilers_first_downs VARCHAR, date VARCHAR)
SELECT COUNT(oilers_first_downs) FROM table_15984957_2 WHERE date = "Sept. 17"
On Sept. 17, how many first downs did the oilers have?
<s>[INST]On Sept. 17, how many first downs did the oilers have? Context: CREATE TABLE table_15984957_2 (oilers_first_downs VARCHAR, date VARCHAR)[/INST]SELECT COUNT(oilers_first_downs) FROM table_15984957_2 WHERE date = "Sept. 17"</s>
CREATE TABLE table_name_28 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(bronze) FROM table_name_28 WHERE silver = 0 AND rank = "1" AND nation = "brazil (bra)" AND gold < 2
What is the total bronze medals when the silver medals is 0, and 1 is the rank, Brazil (BRA) is the nation, and the gold medals is less than 2?
<s>[INST]What is the total bronze medals when the silver medals is 0, and 1 is the rank, Brazil (BRA) is the nation, and the gold medals is less than 2? Context: CREATE TABLE table_name_28 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_28 WHERE silver = 0 AND rank = "1" AND nation = "brazil (bra)" AND gold < 2</s>
CREATE TABLE table_20396710_1 (won VARCHAR, points_for VARCHAR)
SELECT won FROM table_20396710_1 WHERE points_for = "83"
how many won 83 points for?
<s>[INST]how many won 83 points for? Context: CREATE TABLE table_20396710_1 (won VARCHAR, points_for VARCHAR)[/INST]SELECT won FROM table_20396710_1 WHERE points_for = "83"</s>
CREATE TABLE table_name_37 (year INTEGER, label VARCHAR, Nr VARCHAR, st VARCHAR)
SELECT MIN(year) FROM table_name_37 WHERE label - Nr = st - 43
What is the earliest year with a label-Nr of st-43?
<s>[INST]What is the earliest year with a label-Nr of st-43? Context: CREATE TABLE table_name_37 (year INTEGER, label VARCHAR, Nr VARCHAR, st VARCHAR)[/INST]SELECT MIN(year) FROM table_name_37 WHERE label - Nr = st - 43</s>
CREATE TABLE table_name_43 (manufacturer VARCHAR, grid VARCHAR)
SELECT manufacturer FROM table_name_43 WHERE grid = 11
Name the manufacturer with grid of 11
<s>[INST]Name the manufacturer with grid of 11 Context: CREATE TABLE table_name_43 (manufacturer VARCHAR, grid VARCHAR)[/INST]SELECT manufacturer FROM table_name_43 WHERE grid = 11</s>
CREATE TABLE table_name_63 (greek VARCHAR, latin VARCHAR)
SELECT greek FROM table_name_63 WHERE latin = "f, y, u/v/w"
to the Latin of f, y, u/v/w?
<s>[INST]to the Latin of f, y, u/v/w? Context: CREATE TABLE table_name_63 (greek VARCHAR, latin VARCHAR)[/INST]SELECT greek FROM table_name_63 WHERE latin = "f, y, u/v/w"</s>
CREATE TABLE table_25794138_1 (stadium VARCHAR, team VARCHAR)
SELECT stadium FROM table_25794138_1 WHERE team = "San Juan Jabloteh"
What stadium(sO does san juan jabloteh play in?
<s>[INST]What stadium(sO does san juan jabloteh play in? Context: CREATE TABLE table_25794138_1 (stadium VARCHAR, team VARCHAR)[/INST]SELECT stadium FROM table_25794138_1 WHERE team = "San Juan Jabloteh"</s>
CREATE TABLE table_name_55 (silver INTEGER, bronze VARCHAR, total VARCHAR)
SELECT MIN(silver) FROM table_name_55 WHERE bronze = 39 AND total < 120
What is the least silvers where there are 39 bronzes and the total is less than 120?
<s>[INST]What is the least silvers where there are 39 bronzes and the total is less than 120? Context: CREATE TABLE table_name_55 (silver INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_55 WHERE bronze = 39 AND total < 120</s>
CREATE TABLE table_name_24 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_24 WHERE record = "22-24"
What's the Loss for the game that had a 22-24 record?
<s>[INST]What's the Loss for the game that had a 22-24 record? Context: CREATE TABLE table_name_24 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_24 WHERE record = "22-24"</s>
CREATE TABLE table_21761882_4 (final_score VARCHAR, opponent VARCHAR)
SELECT final_score FROM table_21761882_4 WHERE opponent = "@ Roughriders"
What was the final score when the game was @ roughriders?
<s>[INST]What was the final score when the game was @ roughriders? Context: CREATE TABLE table_21761882_4 (final_score VARCHAR, opponent VARCHAR)[/INST]SELECT final_score FROM table_21761882_4 WHERE opponent = "@ Roughriders"</s>
CREATE TABLE table_27573848_18 (mountains_classification VARCHAR, winner VARCHAR)
SELECT mountains_classification FROM table_27573848_18 WHERE winner = "Rui Costa"
If the winner is Rui Costa, who made the mountains classification?
<s>[INST]If the winner is Rui Costa, who made the mountains classification? Context: CREATE TABLE table_27573848_18 (mountains_classification VARCHAR, winner VARCHAR)[/INST]SELECT mountains_classification FROM table_27573848_18 WHERE winner = "Rui Costa"</s>
CREATE TABLE table_11884814_3 (average VARCHAR, swimsuit VARCHAR)
SELECT average FROM table_11884814_3 WHERE swimsuit = "9.57"
What was the average for the country with the swimsuit score of 9.57?
<s>[INST]What was the average for the country with the swimsuit score of 9.57? Context: CREATE TABLE table_11884814_3 (average VARCHAR, swimsuit VARCHAR)[/INST]SELECT average FROM table_11884814_3 WHERE swimsuit = "9.57"</s>
CREATE TABLE table_name_67 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_name_67 WHERE film_title_used_in_nomination = "gypsy magic"
What is the original title of the Gypsy Magic film title used in nomination?
<s>[INST]What is the original title of the Gypsy Magic film title used in nomination? Context: CREATE TABLE table_name_67 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT original_title FROM table_name_67 WHERE film_title_used_in_nomination = "gypsy magic"</s>
CREATE TABLE table_name_20 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_20 WHERE call_sign = "kyli"
Which city of license has the Kyli call sign?
<s>[INST]Which city of license has the Kyli call sign? Context: CREATE TABLE table_name_20 (city_of_license VARCHAR, call_sign VARCHAR)[/INST]SELECT city_of_license FROM table_name_20 WHERE call_sign = "kyli"</s>
CREATE TABLE table_1175233_1 (communes INTEGER, arrondissement VARCHAR)
SELECT MIN(communes) FROM table_1175233_1 WHERE arrondissement = "Cosne-Cours-sur-Loire"
How many communes when the arrondissement is cosne-cours-sur-loire?
<s>[INST]How many communes when the arrondissement is cosne-cours-sur-loire? Context: CREATE TABLE table_1175233_1 (communes INTEGER, arrondissement VARCHAR)[/INST]SELECT MIN(communes) FROM table_1175233_1 WHERE arrondissement = "Cosne-Cours-sur-Loire"</s>
CREATE TABLE table_name_68 (date VARCHAR, result VARCHAR, location VARCHAR, year VARCHAR, loser VARCHAR)
SELECT date FROM table_name_68 WHERE year < 1988 AND loser = "philadelphia eagles" AND location = "giants stadium" AND result = "21-0"
Which date had a year under 1988, loser of Philadelphia Eagles, location of Giants Stadium, and a result of 21-0?
<s>[INST]Which date had a year under 1988, loser of Philadelphia Eagles, location of Giants Stadium, and a result of 21-0? Context: CREATE TABLE table_name_68 (date VARCHAR, result VARCHAR, location VARCHAR, year VARCHAR, loser VARCHAR)[/INST]SELECT date FROM table_name_68 WHERE year < 1988 AND loser = "philadelphia eagles" AND location = "giants stadium" AND result = "21-0"</s>
CREATE TABLE table_name_47 (races VARCHAR, points VARCHAR)
SELECT races FROM table_name_47 WHERE points = "8"
How many races did he do in the year he had 8 points?
<s>[INST]How many races did he do in the year he had 8 points? Context: CREATE TABLE table_name_47 (races VARCHAR, points VARCHAR)[/INST]SELECT races FROM table_name_47 WHERE points = "8"</s>
CREATE TABLE table_name_84 (goals INTEGER, assists VARCHAR, years VARCHAR, name VARCHAR)
SELECT MIN(goals) FROM table_name_84 WHERE years = "2007/08" AND name = "joe keenan" AND assists > 1
What is the lowest number of goals joe keenan, who has more than 1 assists, had in 2007/08?
<s>[INST]What is the lowest number of goals joe keenan, who has more than 1 assists, had in 2007/08? Context: CREATE TABLE table_name_84 (goals INTEGER, assists VARCHAR, years VARCHAR, name VARCHAR)[/INST]SELECT MIN(goals) FROM table_name_84 WHERE years = "2007/08" AND name = "joe keenan" AND assists > 1</s>
CREATE TABLE camera_lens (name VARCHAR, id VARCHAR); CREATE TABLE photos (camera_lens_id VARCHAR)
SELECT T2.name FROM photos AS T1 JOIN camera_lens AS T2 ON T1.camera_lens_id = T2.id GROUP BY T2.id ORDER BY COUNT(*) DESC LIMIT 1
What are the names of the cameras that have taken picture of the most mountains?
<s>[INST]What are the names of the cameras that have taken picture of the most mountains? Context: CREATE TABLE camera_lens (name VARCHAR, id VARCHAR); CREATE TABLE photos (camera_lens_id VARCHAR)[/INST]SELECT T2.name FROM photos AS T1 JOIN camera_lens AS T2 ON T1.camera_lens_id = T2.id GROUP BY T2.id ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_29 (case_type VARCHAR, base_diameter VARCHAR, case_length VARCHAR)
SELECT case_type FROM table_name_29 WHERE base_diameter = "13.03 (.513)" AND case_length = "63.5 (2.5)"
Which Case type has a Base diameter of 13.03 (.513), and a Case length of 63.5 (2.5)?
<s>[INST]Which Case type has a Base diameter of 13.03 (.513), and a Case length of 63.5 (2.5)? Context: CREATE TABLE table_name_29 (case_type VARCHAR, base_diameter VARCHAR, case_length VARCHAR)[/INST]SELECT case_type FROM table_name_29 WHERE base_diameter = "13.03 (.513)" AND case_length = "63.5 (2.5)"</s>
CREATE TABLE table_name_77 (batting_style VARCHAR, date_of_birth VARCHAR)
SELECT batting_style FROM table_name_77 WHERE date_of_birth = "14 november 1971"
What is the batting style of the player born on 14 November 1971?
<s>[INST]What is the batting style of the player born on 14 November 1971? Context: CREATE TABLE table_name_77 (batting_style VARCHAR, date_of_birth VARCHAR)[/INST]SELECT batting_style FROM table_name_77 WHERE date_of_birth = "14 november 1971"</s>
CREATE TABLE table_name_80 (declination___j2000__ VARCHAR, ngc_number INTEGER)
SELECT declination___j2000__ FROM table_name_80 WHERE ngc_number > 5750
Tell me the declination with NGC number larger than 5750
<s>[INST]Tell me the declination with NGC number larger than 5750 Context: CREATE TABLE table_name_80 (declination___j2000__ VARCHAR, ngc_number INTEGER)[/INST]SELECT declination___j2000__ FROM table_name_80 WHERE ngc_number > 5750</s>
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR, position VARCHAR)
SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t2.position = "President"
What are the first and last name of the president of the club "Bootup Baltimore"?
<s>[INST]What are the first and last name of the president of the club "Bootup Baltimore"? Context: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR, position VARCHAR)[/INST]SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t2.position = "President"</s>
CREATE TABLE table_name_38 (finalist VARCHAR, week VARCHAR)
SELECT finalist FROM table_name_38 WHERE week = "october 21"
Which finalist played in the week of October 21?
<s>[INST]Which finalist played in the week of October 21? Context: CREATE TABLE table_name_38 (finalist VARCHAR, week VARCHAR)[/INST]SELECT finalist FROM table_name_38 WHERE week = "october 21"</s>
CREATE TABLE table_11970261_2 (interview VARCHAR, swimsuit VARCHAR)
SELECT interview FROM table_11970261_2 WHERE swimsuit = "9.140"
what's the interview with swimsuit being 9.140
<s>[INST]what's the interview with swimsuit being 9.140 Context: CREATE TABLE table_11970261_2 (interview VARCHAR, swimsuit VARCHAR)[/INST]SELECT interview FROM table_11970261_2 WHERE swimsuit = "9.140"</s>
CREATE TABLE table_name_76 (award VARCHAR, result VARCHAR, year VARCHAR)
SELECT award FROM table_name_76 WHERE result = "nominated" AND year = 2007
What award was nominated in 2007?
<s>[INST]What award was nominated in 2007? Context: CREATE TABLE table_name_76 (award VARCHAR, result VARCHAR, year VARCHAR)[/INST]SELECT award FROM table_name_76 WHERE result = "nominated" AND year = 2007</s>
CREATE TABLE table_name_56 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_56 WHERE away_team = "collingwood"
What was the score when the away team was Collingwood?
<s>[INST]What was the score when the away team was Collingwood? Context: CREATE TABLE table_name_56 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_56 WHERE away_team = "collingwood"</s>
CREATE TABLE table_name_31 (province VARCHAR, party VARCHAR)
SELECT province FROM table_name_31 WHERE party = "partido socialista del pueblo extremeño"
Which province has the partido Socialista del Pueblo Extremeño party?
<s>[INST]Which province has the partido Socialista del Pueblo Extremeño party? Context: CREATE TABLE table_name_31 (province VARCHAR, party VARCHAR)[/INST]SELECT province FROM table_name_31 WHERE party = "partido socialista del pueblo extremeño"</s>
CREATE TABLE documents (document_type_code VARCHAR)
SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 2
What document types have more than 2 corresponding documents?
<s>[INST]What document types have more than 2 corresponding documents? Context: CREATE TABLE documents (document_type_code VARCHAR)[/INST]SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 2</s>
CREATE TABLE table_name_70 (country VARCHAR, launched VARCHAR)
SELECT country FROM table_name_70 WHERE launched = "april 3, 1990"
What is the Country with a Launched that is april 3, 1990?
<s>[INST]What is the Country with a Launched that is april 3, 1990? Context: CREATE TABLE table_name_70 (country VARCHAR, launched VARCHAR)[/INST]SELECT country FROM table_name_70 WHERE launched = "april 3, 1990"</s>
CREATE TABLE table_25438110_5 (county VARCHAR, casinos VARCHAR)
SELECT county FROM table_25438110_5 WHERE casinos = 17
What county has exactly 17 casinos?
<s>[INST]What county has exactly 17 casinos? Context: CREATE TABLE table_25438110_5 (county VARCHAR, casinos VARCHAR)[/INST]SELECT county FROM table_25438110_5 WHERE casinos = 17</s>
CREATE TABLE table_name_56 (round INTEGER, position VARCHAR, player VARCHAR)
SELECT AVG(round) FROM table_name_56 WHERE position = "tight end" AND player = "randy bethel"
What is the average round at which is the position of Tight End and Randy Bethel?
<s>[INST]What is the average round at which is the position of Tight End and Randy Bethel? Context: CREATE TABLE table_name_56 (round INTEGER, position VARCHAR, player VARCHAR)[/INST]SELECT AVG(round) FROM table_name_56 WHERE position = "tight end" AND player = "randy bethel"</s>
CREATE TABLE table_name_89 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_89 WHERE venue = "brunswick street oval"
What did the home team at Brunswick Street Oval score?
<s>[INST]What did the home team at Brunswick Street Oval score? Context: CREATE TABLE table_name_89 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_89 WHERE venue = "brunswick street oval"</s>
CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, wrestler VARCHAR)
SELECT method_of_elimination FROM table_24628683_2 WHERE wrestler = "Kofi Kingston"
What was the method of elimination for Kofi Kingston/
<s>[INST]What was the method of elimination for Kofi Kingston/ Context: CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, wrestler VARCHAR)[/INST]SELECT method_of_elimination FROM table_24628683_2 WHERE wrestler = "Kofi Kingston"</s>