context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_30133_3 (economy VARCHAR)
SELECT MAX(2010) FROM table_30133_3 WHERE economy = "China"
What is the maximum 2010 value for China?
<s>[INST]What is the maximum 2010 value for China? Context: CREATE TABLE table_30133_3 (economy VARCHAR)[/INST]SELECT MAX(2010) FROM table_30133_3 WHERE economy = "China"</s>
CREATE TABLE mill (architect_id VARCHAR); CREATE TABLE architect (id VARCHAR, name VARCHAR, gender VARCHAR); CREATE TABLE bridge (architect_id VARCHAR)
SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 2 UNION SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN mill AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 1
What are the ids, names and genders of the architects who built two bridges or one mill?
<s>[INST]What are the ids, names and genders of the architects who built two bridges or one mill? Context: CREATE TABLE mill (architect_id VARCHAR); CREATE TABLE architect (id VARCHAR, name VARCHAR, gender VARCHAR); CREATE TABLE bridge (architect_id VARCHAR)[/INST]SELECT T1.id, T1.name, T1.gender FROM architect AS T1 J...
CREATE TABLE table_name_36 (name VARCHAR, direction VARCHAR, length__km_ VARCHAR)
SELECT name FROM table_name_36 WHERE direction = "toyohashi east" AND length__km_ = 24.7
What line is 24.7 km and head towards Toyohashi East?
<s>[INST]What line is 24.7 km and head towards Toyohashi East? Context: CREATE TABLE table_name_36 (name VARCHAR, direction VARCHAR, length__km_ VARCHAR)[/INST]SELECT name FROM table_name_36 WHERE direction = "toyohashi east" AND length__km_ = 24.7</s>
CREATE TABLE table_name_84 (song_title VARCHAR, movie VARCHAR)
SELECT song_title FROM table_name_84 WHERE movie = "amma cheppindi"
What was the name of the song in Amma Cheppindi?
<s>[INST]What was the name of the song in Amma Cheppindi? Context: CREATE TABLE table_name_84 (song_title VARCHAR, movie VARCHAR)[/INST]SELECT song_title FROM table_name_84 WHERE movie = "amma cheppindi"</s>
CREATE TABLE Person (age VARCHAR, job VARCHAR)
SELECT COUNT(*) FROM Person WHERE age > 30 AND job = 'engineer'
How many people whose age is greater 30 and job is engineer?
<s>[INST]How many people whose age is greater 30 and job is engineer? Context: CREATE TABLE Person (age VARCHAR, job VARCHAR)[/INST]SELECT COUNT(*) FROM Person WHERE age > 30 AND job = 'engineer'</s>
CREATE TABLE company (headquarters VARCHAR, main_industry VARCHAR)
SELECT headquarters FROM company WHERE main_industry = 'Banking' INTERSECT SELECT headquarters FROM company WHERE main_industry = 'Oil and gas'
Show all headquarters with both a company in banking industry and a company in Oil and gas.
<s>[INST]Show all headquarters with both a company in banking industry and a company in Oil and gas. Context: CREATE TABLE company (headquarters VARCHAR, main_industry VARCHAR)[/INST]SELECT headquarters FROM company WHERE main_industry = 'Banking' INTERSECT SELECT headquarters FROM company WHERE main_industry = 'Oil an...
CREATE TABLE table_name_37 (population INTEGER, median_family_income VARCHAR, number_of_households VARCHAR)
SELECT MIN(population) FROM table_name_37 WHERE median_family_income = "$74,905" AND number_of_households < 145 OFFSET 790
Which Population is the lowest one that has a Median family income of $74,905, and a Number of households smaller than 145,790?
<s>[INST]Which Population is the lowest one that has a Median family income of $74,905, and a Number of households smaller than 145,790? Context: CREATE TABLE table_name_37 (population INTEGER, median_family_income VARCHAR, number_of_households VARCHAR)[/INST]SELECT MIN(population) FROM table_name_37 WHERE median_famil...
CREATE TABLE table_name_29 (mass VARCHAR, launch_date_time___gmt__ VARCHAR)
SELECT mass FROM table_name_29 WHERE launch_date_time___gmt__ = "25 november 1976, 03:59"
What is Mass, when Launch Date/Time ( GMT ) is 25 November 1976, 03:59?
<s>[INST]What is Mass, when Launch Date/Time ( GMT ) is 25 November 1976, 03:59? Context: CREATE TABLE table_name_29 (mass VARCHAR, launch_date_time___gmt__ VARCHAR)[/INST]SELECT mass FROM table_name_29 WHERE launch_date_time___gmt__ = "25 november 1976, 03:59"</s>
CREATE TABLE table_26914854_3 (position_in_table VARCHAR, date_of_vacancy VARCHAR)
SELECT position_in_table FROM table_26914854_3 WHERE date_of_vacancy = "4 January 2011"
What is the position in table when the date of vacancy was 4 january 2011?
<s>[INST]What is the position in table when the date of vacancy was 4 january 2011? Context: CREATE TABLE table_26914854_3 (position_in_table VARCHAR, date_of_vacancy VARCHAR)[/INST]SELECT position_in_table FROM table_26914854_3 WHERE date_of_vacancy = "4 January 2011"</s>
CREATE TABLE table_name_71 (laps INTEGER, driver VARCHAR)
SELECT MAX(laps) FROM table_name_71 WHERE driver = "françois cevert"
What is the high lap total for françois cevert?
<s>[INST]What is the high lap total for françois cevert? Context: CREATE TABLE table_name_71 (laps INTEGER, driver VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_71 WHERE driver = "françois cevert"</s>
CREATE TABLE table_name_50 (loss VARCHAR, attendance INTEGER)
SELECT loss FROM table_name_50 WHERE attendance > 45 OFFSET 036
How many losses have more than 45,036 attendance?
<s>[INST]How many losses have more than 45,036 attendance? Context: CREATE TABLE table_name_50 (loss VARCHAR, attendance INTEGER)[/INST]SELECT loss FROM table_name_50 WHERE attendance > 45 OFFSET 036</s>
CREATE TABLE table_name_18 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR)
SELECT programming FROM table_name_18 WHERE aspect = "4:3" AND psip_short_name = "ibc-tv"
Name the Programming which has an Aspect of 4:3, and a PSIP Short Name of ibc-tv?
<s>[INST]Name the Programming which has an Aspect of 4:3, and a PSIP Short Name of ibc-tv? Context: CREATE TABLE table_name_18 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR)[/INST]SELECT programming FROM table_name_18 WHERE aspect = "4:3" AND psip_short_name = "ibc-tv"</s>
CREATE TABLE table_name_33 (name VARCHAR, year VARCHAR, address VARCHAR)
SELECT name FROM table_name_33 WHERE year < 1973 AND address = "123 south broad street"
What is the 123 south broad street address name before 1973?
<s>[INST]What is the 123 south broad street address name before 1973? Context: CREATE TABLE table_name_33 (name VARCHAR, year VARCHAR, address VARCHAR)[/INST]SELECT name FROM table_name_33 WHERE year < 1973 AND address = "123 south broad street"</s>
CREATE TABLE table_18018248_2 (club VARCHAR, draws VARCHAR)
SELECT club FROM table_18018248_2 WHERE draws = 9
Which clubs had draws of 9?
<s>[INST]Which clubs had draws of 9? Context: CREATE TABLE table_18018248_2 (club VARCHAR, draws VARCHAR)[/INST]SELECT club FROM table_18018248_2 WHERE draws = 9</s>
CREATE TABLE table_name_81 (draws INTEGER, port_fairy_fl VARCHAR, wins VARCHAR)
SELECT MAX(draws) FROM table_name_81 WHERE port_fairy_fl = "hawkesdale" AND wins > 9
How many draws when the Port Fairy FL is Hawkesdale and there are more than 9 wins?
<s>[INST]How many draws when the Port Fairy FL is Hawkesdale and there are more than 9 wins? Context: CREATE TABLE table_name_81 (draws INTEGER, port_fairy_fl VARCHAR, wins VARCHAR)[/INST]SELECT MAX(draws) FROM table_name_81 WHERE port_fairy_fl = "hawkesdale" AND wins > 9</s>
CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR)
SELECT MIN(_number) FROM table_2182170_1 WHERE driver_s_ = "Geoffrey Bodine"
What number is on the car that Geoffrey Bodine drives?
<s>[INST]What number is on the car that Geoffrey Bodine drives? Context: CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR)[/INST]SELECT MIN(_number) FROM table_2182170_1 WHERE driver_s_ = "Geoffrey Bodine"</s>
CREATE TABLE table_name_18 (Id VARCHAR)
SELECT 2008 FROM table_name_18 WHERE 2006 = "grand slam tournaments"
What is 2008, when 2006 is "Grand Slam Tournaments"?
<s>[INST]What is 2008, when 2006 is "Grand Slam Tournaments"? Context: CREATE TABLE table_name_18 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_18 WHERE 2006 = "grand slam tournaments"</s>
CREATE TABLE table_name_95 (venue VARCHAR, competition VARCHAR, date VARCHAR)
SELECT venue FROM table_name_95 WHERE competition = "1966 fifa world cup qualification" AND date = "may 7, 1965"
What venue held the 1966 fifa world cup qualification on may 7, 1965?
<s>[INST]What venue held the 1966 fifa world cup qualification on may 7, 1965? Context: CREATE TABLE table_name_95 (venue VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_95 WHERE competition = "1966 fifa world cup qualification" AND date = "may 7, 1965"</s>
CREATE TABLE table_25816476_2 (team_swash VARCHAR, team_guest_captain VARCHAR)
SELECT team_swash FROM table_25816476_2 WHERE team_guest_captain = "Gail Porter"
Who was the team swash when the team guest captain was gail porter?
<s>[INST]Who was the team swash when the team guest captain was gail porter? Context: CREATE TABLE table_25816476_2 (team_swash VARCHAR, team_guest_captain VARCHAR)[/INST]SELECT team_swash FROM table_25816476_2 WHERE team_guest_captain = "Gail Porter"</s>
CREATE TABLE table_name_44 (school_club_team VARCHAR, position VARCHAR, pick VARCHAR)
SELECT school_club_team FROM table_name_44 WHERE position = "linebacker" AND pick < 288
Which team had a position of linebacker with a pick smaller of 288?
<s>[INST]Which team had a position of linebacker with a pick smaller of 288? Context: CREATE TABLE table_name_44 (school_club_team VARCHAR, position VARCHAR, pick VARCHAR)[/INST]SELECT school_club_team FROM table_name_44 WHERE position = "linebacker" AND pick < 288</s>
CREATE TABLE table_name_64 (draw INTEGER, artist VARCHAR, place VARCHAR)
SELECT AVG(draw) FROM table_name_64 WHERE artist = "desi dobreva" AND place < 6
What is the average draw for Desi Dobreva, was it less than 6?
<s>[INST]What is the average draw for Desi Dobreva, was it less than 6? Context: CREATE TABLE table_name_64 (draw INTEGER, artist VARCHAR, place VARCHAR)[/INST]SELECT AVG(draw) FROM table_name_64 WHERE artist = "desi dobreva" AND place < 6</s>
CREATE TABLE table_28026156_1 (rank__week_ VARCHAR, written_by VARCHAR)
SELECT COUNT(rank__week_) FROM table_28026156_1 WHERE written_by = "Seth Hoffman, Russel Friend & Garrett Lerner"
How many episodes were written by seth hoffman, russel friend & garrett lerner?
<s>[INST]How many episodes were written by seth hoffman, russel friend & garrett lerner? Context: CREATE TABLE table_28026156_1 (rank__week_ VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(rank__week_) FROM table_28026156_1 WHERE written_by = "Seth Hoffman, Russel Friend & Garrett Lerner"</s>
CREATE TABLE table_name_22 (drop_zone INTEGER, troop_carrier_group VARCHAR)
SELECT AVG(drop_zone) AS Time FROM table_name_22 WHERE drop_zone = "n" AND troop_carrier_group = "1st pathfinder prov."
What is the average drop zone time in the N drop zone for the 1st Pathfinder Prov.?
<s>[INST]What is the average drop zone time in the N drop zone for the 1st Pathfinder Prov.? Context: CREATE TABLE table_name_22 (drop_zone INTEGER, troop_carrier_group VARCHAR)[/INST]SELECT AVG(drop_zone) AS Time FROM table_name_22 WHERE drop_zone = "n" AND troop_carrier_group = "1st pathfinder prov."</s>
CREATE TABLE Student (Age VARCHAR, Fname VARCHAR, Lname VARCHAR)
SELECT Age FROM Student WHERE Fname = "Linda" AND Lname = "Smith"
What is the age of student Linda Smith?
<s>[INST]What is the age of student Linda Smith? Context: CREATE TABLE Student (Age VARCHAR, Fname VARCHAR, Lname VARCHAR)[/INST]SELECT Age FROM Student WHERE Fname = "Linda" AND Lname = "Smith"</s>
CREATE TABLE table_name_74 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_74 WHERE score = 66 - 74 - 68 - 73 = 281
what place has score 66-74-68-73=281
<s>[INST]what place has score 66-74-68-73=281 Context: CREATE TABLE table_name_74 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_74 WHERE score = 66 - 74 - 68 - 73 = 281</s>
CREATE TABLE table_name_41 (brazil_scorers VARCHAR, score VARCHAR)
SELECT brazil_scorers FROM table_name_41 WHERE score = "6-0"
Who is the Brazil scorer who scored 6-0?
<s>[INST]Who is the Brazil scorer who scored 6-0? Context: CREATE TABLE table_name_41 (brazil_scorers VARCHAR, score VARCHAR)[/INST]SELECT brazil_scorers FROM table_name_41 WHERE score = "6-0"</s>
CREATE TABLE table_25760427_2 (weeks_at_number_1 INTEGER)
SELECT MIN(weeks_at_number_1) FROM table_25760427_2
error (see notes)
<s>[INST]error (see notes) Context: CREATE TABLE table_25760427_2 (weeks_at_number_1 INTEGER)[/INST]SELECT MIN(weeks_at_number_1) FROM table_25760427_2</s>
CREATE TABLE table_name_36 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR)
SELECT spanish_voice_actor FROM table_name_36 WHERE french_voice_actor = "véronique desmadryl"
Which Spanish voice actor does the same character as French voice actor Véronique Desmadryl?
<s>[INST]Which Spanish voice actor does the same character as French voice actor Véronique Desmadryl? Context: CREATE TABLE table_name_36 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR)[/INST]SELECT spanish_voice_actor FROM table_name_36 WHERE french_voice_actor = "véronique desmadryl"</s>
CREATE TABLE table_name_23 (gold INTEGER, total VARCHAR, bronze VARCHAR)
SELECT SUM(gold) FROM table_name_23 WHERE total = 5 AND bronze < 2
What is the sum of gold medals won by teams that won 5 total medals and fewer than 2 bronze medals?
<s>[INST]What is the sum of gold medals won by teams that won 5 total medals and fewer than 2 bronze medals? Context: CREATE TABLE table_name_23 (gold INTEGER, total VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_23 WHERE total = 5 AND bronze < 2</s>
CREATE TABLE table_28750142_1 (jockey VARCHAR, name VARCHAR)
SELECT jockey FROM table_28750142_1 WHERE name = "Pink Gin"
What is the name of the jockey for Pink Gin?
<s>[INST]What is the name of the jockey for Pink Gin? Context: CREATE TABLE table_28750142_1 (jockey VARCHAR, name VARCHAR)[/INST]SELECT jockey FROM table_28750142_1 WHERE name = "Pink Gin"</s>
CREATE TABLE table_name_61 (losses VARCHAR, played INTEGER)
SELECT COUNT(losses) FROM table_name_61 WHERE played > 34
How many losses had a played number that was more than 34?
<s>[INST]How many losses had a played number that was more than 34? Context: CREATE TABLE table_name_61 (losses VARCHAR, played INTEGER)[/INST]SELECT COUNT(losses) FROM table_name_61 WHERE played > 34</s>
CREATE TABLE table_name_70 (against INTEGER, losses VARCHAR, ntfa_div_2 VARCHAR)
SELECT SUM(against) FROM table_name_70 WHERE losses < 9 AND ntfa_div_2 = "old scotch"
Old Scotch had less than 9 losses and how much against?
<s>[INST]Old Scotch had less than 9 losses and how much against? Context: CREATE TABLE table_name_70 (against INTEGER, losses VARCHAR, ntfa_div_2 VARCHAR)[/INST]SELECT SUM(against) FROM table_name_70 WHERE losses < 9 AND ntfa_div_2 = "old scotch"</s>
CREATE TABLE table_name_80 (sample_size VARCHAR, republican VARCHAR)
SELECT sample_size FROM table_name_80 WHERE republican = "ron paul"
What was the sample size for the poll featuring Republican Ron Paul?
<s>[INST]What was the sample size for the poll featuring Republican Ron Paul? Context: CREATE TABLE table_name_80 (sample_size VARCHAR, republican VARCHAR)[/INST]SELECT sample_size FROM table_name_80 WHERE republican = "ron paul"</s>
CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_62 WHERE away_team = "geelong"
Where did Geelong play as the away team?
<s>[INST]Where did Geelong play as the away team? Context: CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_62 WHERE away_team = "geelong"</s>
CREATE TABLE table_name_30 (date VARCHAR, competition VARCHAR, result VARCHAR)
SELECT date FROM table_name_30 WHERE competition = "friendly match" AND result = "1-1"
What was the date of the friendly match, ending in a result of 1-1?
<s>[INST]What was the date of the friendly match, ending in a result of 1-1? Context: CREATE TABLE table_name_30 (date VARCHAR, competition VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_30 WHERE competition = "friendly match" AND result = "1-1"</s>
CREATE TABLE table_10470082_8 (us_air_date VARCHAR, writer VARCHAR)
SELECT us_air_date FROM table_10470082_8 WHERE writer = "Jim Morris"
When did the episode written by Jim Morris air?
<s>[INST]When did the episode written by Jim Morris air? Context: CREATE TABLE table_10470082_8 (us_air_date VARCHAR, writer VARCHAR)[/INST]SELECT us_air_date FROM table_10470082_8 WHERE writer = "Jim Morris"</s>
CREATE TABLE table_name_86 (network VARCHAR, title VARCHAR)
SELECT network FROM table_name_86 WHERE title = "epik high's love and delusion"
What is the Network, when Title is "Epik High's Love And Delusion"?
<s>[INST]What is the Network, when Title is "Epik High's Love And Delusion"? Context: CREATE TABLE table_name_86 (network VARCHAR, title VARCHAR)[/INST]SELECT network FROM table_name_86 WHERE title = "epik high's love and delusion"</s>
CREATE TABLE table_name_97 (f_laps VARCHAR, wins VARCHAR, position VARCHAR)
SELECT f_laps FROM table_name_97 WHERE wins = "0" AND position = "4th"
What was the F/Laps when the Wins were 0 and the Position was 4th?
<s>[INST]What was the F/Laps when the Wins were 0 and the Position was 4th? Context: CREATE TABLE table_name_97 (f_laps VARCHAR, wins VARCHAR, position VARCHAR)[/INST]SELECT f_laps FROM table_name_97 WHERE wins = "0" AND position = "4th"</s>
CREATE TABLE table_name_54 (total_casualties VARCHAR, military_and_or_civilian_wounded VARCHAR)
SELECT total_casualties FROM table_name_54 WHERE military_and_or_civilian_wounded = "1,200+"
What are the total casualties with 1,200+ military and/or civilian wounded?
<s>[INST]What are the total casualties with 1,200+ military and/or civilian wounded? Context: CREATE TABLE table_name_54 (total_casualties VARCHAR, military_and_or_civilian_wounded VARCHAR)[/INST]SELECT total_casualties FROM table_name_54 WHERE military_and_or_civilian_wounded = "1,200+"</s>
CREATE TABLE table_22801331_1 (result VARCHAR, record VARCHAR)
SELECT result FROM table_22801331_1 WHERE record = "6-2"
What was the result against the team which the Cowboys have a 6-2 record against?
<s>[INST]What was the result against the team which the Cowboys have a 6-2 record against? Context: CREATE TABLE table_22801331_1 (result VARCHAR, record VARCHAR)[/INST]SELECT result FROM table_22801331_1 WHERE record = "6-2"</s>
CREATE TABLE table_name_54 (method VARCHAR, venue VARCHAR)
SELECT method FROM table_name_54 WHERE venue = "club med sandpiper"
The match that was held at Club Med Sandpiper has what method?
<s>[INST]The match that was held at Club Med Sandpiper has what method? Context: CREATE TABLE table_name_54 (method VARCHAR, venue VARCHAR)[/INST]SELECT method FROM table_name_54 WHERE venue = "club med sandpiper"</s>
CREATE TABLE table_name_33 (wins INTEGER, club VARCHAR, position VARCHAR, goal_difference VARCHAR, goals_against VARCHAR)
SELECT MIN(wins) FROM table_name_33 WHERE goal_difference > 0 AND goals_against > 40 AND position < 6 AND club = "sd indauchu"
Which Wins have a Goal Difference larger than 0, and Goals against larger than 40, and a Position smaller than 6, and a Club of sd indauchu?
<s>[INST]Which Wins have a Goal Difference larger than 0, and Goals against larger than 40, and a Position smaller than 6, and a Club of sd indauchu? Context: CREATE TABLE table_name_33 (wins INTEGER, club VARCHAR, position VARCHAR, goal_difference VARCHAR, goals_against VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_...
CREATE TABLE table_name_49 (week VARCHAR, tournament VARCHAR)
SELECT week FROM table_name_49 WHERE tournament = "rome"
Which week held a tournament in Rome?
<s>[INST]Which week held a tournament in Rome? Context: CREATE TABLE table_name_49 (week VARCHAR, tournament VARCHAR)[/INST]SELECT week FROM table_name_49 WHERE tournament = "rome"</s>
CREATE TABLE table_299121_2 (season VARCHAR, viewers__in_millions_ VARCHAR)
SELECT season AS premiere FROM table_299121_2 WHERE viewers__in_millions_ = "8.4"
When did the season premiere that saw 8.4 million viewers first air?
<s>[INST]When did the season premiere that saw 8.4 million viewers first air? Context: CREATE TABLE table_299121_2 (season VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT season AS premiere FROM table_299121_2 WHERE viewers__in_millions_ = "8.4"</s>
CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_16 WHERE venue = "kardinia park"
Who is the home team at kardinia park?
<s>[INST]Who is the home team at kardinia park? Context: CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_16 WHERE venue = "kardinia park"</s>
CREATE TABLE table_11545282_18 (player VARCHAR, years_for_jazz VARCHAR)
SELECT player FROM table_11545282_18 WHERE years_for_jazz = "2000-02"
Which player played for years 2000-02
<s>[INST]Which player played for years 2000-02 Context: CREATE TABLE table_11545282_18 (player VARCHAR, years_for_jazz VARCHAR)[/INST]SELECT player FROM table_11545282_18 WHERE years_for_jazz = "2000-02"</s>
CREATE TABLE table_19523708_1 (artist VARCHAR, original VARCHAR)
SELECT artist FROM table_19523708_1 WHERE original = "Shake It, Europe"
Who was the artist for the origin Shake it, Europe?
<s>[INST]Who was the artist for the origin Shake it, Europe? Context: CREATE TABLE table_19523708_1 (artist VARCHAR, original VARCHAR)[/INST]SELECT artist FROM table_19523708_1 WHERE original = "Shake It, Europe"</s>
CREATE TABLE table_name_56 (class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR)
SELECT class FROM table_name_56 WHERE quantity_preserved = "0" AND quantity_made = "2"
What class has 0 preserved and 2 made?
<s>[INST]What class has 0 preserved and 2 made? Context: CREATE TABLE table_name_56 (class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR)[/INST]SELECT class FROM table_name_56 WHERE quantity_preserved = "0" AND quantity_made = "2"</s>
CREATE TABLE table_name_25 (tournament VARCHAR)
SELECT tournament FROM table_name_25 WHERE 2003 = "2r" AND 2004 = "1r"
What is the name of the tournament that has the results of 2003 2r and 2004 1r?
<s>[INST]What is the name of the tournament that has the results of 2003 2r and 2004 1r? Context: CREATE TABLE table_name_25 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_25 WHERE 2003 = "2r" AND 2004 = "1r"</s>
CREATE TABLE table_name_48 (team VARCHAR, competition VARCHAR)
SELECT team FROM table_name_48 WHERE competition = "victorian football league"
Tell me the team for victorian football league
<s>[INST]Tell me the team for victorian football league Context: CREATE TABLE table_name_48 (team VARCHAR, competition VARCHAR)[/INST]SELECT team FROM table_name_48 WHERE competition = "victorian football league"</s>
CREATE TABLE book_club (publisher VARCHAR)
SELECT DISTINCT publisher FROM book_club
Show all distinct publishers for books.
<s>[INST]Show all distinct publishers for books. Context: CREATE TABLE book_club (publisher VARCHAR)[/INST]SELECT DISTINCT publisher FROM book_club</s>
CREATE TABLE table_name_13 (attendance VARCHAR, away_team VARCHAR)
SELECT attendance FROM table_name_13 WHERE away_team = "maidsone united"
What is the attendance of the match with maidsone united as the away team?
<s>[INST]What is the attendance of the match with maidsone united as the away team? Context: CREATE TABLE table_name_13 (attendance VARCHAR, away_team VARCHAR)[/INST]SELECT attendance FROM table_name_13 WHERE away_team = "maidsone united"</s>
CREATE TABLE table_16278894_1 (area__km_2__ VARCHAR, population_census_2009 VARCHAR)
SELECT COUNT(area__km_2__) FROM table_16278894_1 WHERE population_census_2009 = 240075
How many numbers were listed under area with a population of 240075 as of 2009?
<s>[INST]How many numbers were listed under area with a population of 240075 as of 2009? Context: CREATE TABLE table_16278894_1 (area__km_2__ VARCHAR, population_census_2009 VARCHAR)[/INST]SELECT COUNT(area__km_2__) FROM table_16278894_1 WHERE population_census_2009 = 240075</s>
CREATE TABLE table_22078906_2 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_22078906_2 WHERE directed_by = "William Webb"
What is the title of the episode directed by William Webb?
<s>[INST]What is the title of the episode directed by William Webb? Context: CREATE TABLE table_22078906_2 (title VARCHAR, directed_by VARCHAR)[/INST]SELECT title FROM table_22078906_2 WHERE directed_by = "William Webb"</s>
CREATE TABLE table_name_12 (gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(gold) FROM table_name_12 WHERE silver > 1 AND rank > 1 AND total > 4 AND bronze > 4
How many golds had a silver of more than 1, rank more than 1, total of more than 4 when the bronze was also more than 4?
<s>[INST]How many golds had a silver of more than 1, rank more than 1, total of more than 4 when the bronze was also more than 4? Context: CREATE TABLE table_name_12 (gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_12 WHERE silver > 1 AND rank > 1 AND to...
CREATE TABLE table_name_43 (yards INTEGER, rating VARCHAR)
SELECT SUM(yards) FROM table_name_43 WHERE rating = 118.7
What is the sum of yards for a 118.7 rating?
<s>[INST]What is the sum of yards for a 118.7 rating? Context: CREATE TABLE table_name_43 (yards INTEGER, rating VARCHAR)[/INST]SELECT SUM(yards) FROM table_name_43 WHERE rating = 118.7</s>
CREATE TABLE table_name_16 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_16 WHERE week < 13 AND opponent = "green bay packers"
Can you tell me the Date that has the Week smaller than 13, and the Opponent of green bay packers?
<s>[INST]Can you tell me the Date that has the Week smaller than 13, and the Opponent of green bay packers? Context: CREATE TABLE table_name_16 (date VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_16 WHERE week < 13 AND opponent = "green bay packers"</s>
CREATE TABLE table_148578_1 (explosion VARCHAR, altitude__km_ VARCHAR)
SELECT explosion FROM table_148578_1 WHERE altitude__km_ = "539"
What explosion had an altitude of 539 km?
<s>[INST]What explosion had an altitude of 539 km? Context: CREATE TABLE table_148578_1 (explosion VARCHAR, altitude__km_ VARCHAR)[/INST]SELECT explosion FROM table_148578_1 WHERE altitude__km_ = "539"</s>
CREATE TABLE table_25391981_20 (episode_number VARCHAR, episode VARCHAR)
SELECT episode_number FROM table_25391981_20 WHERE episode = "Week 4, Part 1"
What number episode was Week 4, Part 1?
<s>[INST]What number episode was Week 4, Part 1? Context: CREATE TABLE table_25391981_20 (episode_number VARCHAR, episode VARCHAR)[/INST]SELECT episode_number FROM table_25391981_20 WHERE episode = "Week 4, Part 1"</s>
CREATE TABLE table_name_36 (damage__millions_usd__ VARCHAR, min_press___mbar__ VARCHAR, deaths VARCHAR)
SELECT damage__millions_usd__ FROM table_name_36 WHERE min_press___mbar__ = "972" AND deaths = "52"
What is the cost of 972 Min Press caused 52 death?
<s>[INST]What is the cost of 972 Min Press caused 52 death? Context: CREATE TABLE table_name_36 (damage__millions_usd__ VARCHAR, min_press___mbar__ VARCHAR, deaths VARCHAR)[/INST]SELECT damage__millions_usd__ FROM table_name_36 WHERE min_press___mbar__ = "972" AND deaths = "52"</s>
CREATE TABLE table_1132568_3 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT pole_position FROM table_1132568_3 WHERE grand_prix = "French grand_prix"
Who is in the pole position for the French Grand Prix?
<s>[INST]Who is in the pole position for the French Grand Prix? Context: CREATE TABLE table_1132568_3 (pole_position VARCHAR, grand_prix VARCHAR)[/INST]SELECT pole_position FROM table_1132568_3 WHERE grand_prix = "French grand_prix"</s>
CREATE TABLE table_name_3 (gold INTEGER, total VARCHAR, silver VARCHAR)
SELECT AVG(gold) FROM table_name_3 WHERE total = 11 AND silver > 2
What is the average number of Gold when the total is 11 with more than 2 silver?
<s>[INST]What is the average number of Gold when the total is 11 with more than 2 silver? Context: CREATE TABLE table_name_3 (gold INTEGER, total VARCHAR, silver VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_3 WHERE total = 11 AND silver > 2</s>
CREATE TABLE table_name_77 (award VARCHAR, year INTEGER)
SELECT award FROM table_name_77 WHERE year > 2008
What award was won after 2008?
<s>[INST]What award was won after 2008? Context: CREATE TABLE table_name_77 (award VARCHAR, year INTEGER)[/INST]SELECT award FROM table_name_77 WHERE year > 2008</s>
CREATE TABLE table_name_92 (segment_c VARCHAR, segment_b VARCHAR)
SELECT segment_c FROM table_name_92 WHERE segment_b = "s pineapple"
When segment B is s pineapple, what is the segment C?
<s>[INST]When segment B is s pineapple, what is the segment C? Context: CREATE TABLE table_name_92 (segment_c VARCHAR, segment_b VARCHAR)[/INST]SELECT segment_c FROM table_name_92 WHERE segment_b = "s pineapple"</s>
CREATE TABLE Addresses (City_Town VARCHAR, Address_ID VARCHAR); CREATE TABLE Stores (Address_ID VARCHAR, Store_Name VARCHAR)
SELECT T1.City_Town FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID = T2.Address_ID WHERE T2.Store_Name = "FJA Filming"
Which city is the address of the store named "FJA Filming" located in?
<s>[INST]Which city is the address of the store named "FJA Filming" located in? Context: CREATE TABLE Addresses (City_Town VARCHAR, Address_ID VARCHAR); CREATE TABLE Stores (Address_ID VARCHAR, Store_Name VARCHAR)[/INST]SELECT T1.City_Town FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID = T2.Address_ID WHERE T2...
CREATE TABLE table_name_21 (silver INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)
SELECT SUM(silver) FROM table_name_21 WHERE total < 23 AND nation = "united states" AND bronze > 3
What is the sum of all silver medals with less than 23 medals in total and more than 3 bronze medals for the United States?
<s>[INST]What is the sum of all silver medals with less than 23 medals in total and more than 3 bronze medals for the United States? Context: CREATE TABLE table_name_21 (silver INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_21 WHERE total < 23 AND nation = "united state...
CREATE TABLE table_11677691_5 (college VARCHAR, player VARCHAR)
SELECT college FROM table_11677691_5 WHERE player = "Rushel Shell"
Which college has the player Rushel Shell?
<s>[INST]Which college has the player Rushel Shell? Context: CREATE TABLE table_11677691_5 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_11677691_5 WHERE player = "Rushel Shell"</s>
CREATE TABLE table_26998693_1 (season INTEGER, podiums VARCHAR)
SELECT MIN(season) FROM table_26998693_1 WHERE podiums = 9
What was the earliest season where podium was 9?
<s>[INST]What was the earliest season where podium was 9? Context: CREATE TABLE table_26998693_1 (season INTEGER, podiums VARCHAR)[/INST]SELECT MIN(season) FROM table_26998693_1 WHERE podiums = 9</s>
CREATE TABLE table_name_40 (date VARCHAR, circuit VARCHAR, round VARCHAR)
SELECT date FROM table_name_40 WHERE circuit = "sepang international circuit" AND round = "3"
What was the date for the Sepang International circuit, round 3?
<s>[INST]What was the date for the Sepang International circuit, round 3? Context: CREATE TABLE table_name_40 (date VARCHAR, circuit VARCHAR, round VARCHAR)[/INST]SELECT date FROM table_name_40 WHERE circuit = "sepang international circuit" AND round = "3"</s>
CREATE TABLE table_2241259_1 (race_time VARCHAR, driver VARCHAR)
SELECT COUNT(race_time) FROM table_2241259_1 WHERE driver = "Kevin Harvick"
Name the total number of race time for kevin harvick
<s>[INST]Name the total number of race time for kevin harvick Context: CREATE TABLE table_2241259_1 (race_time VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(race_time) FROM table_2241259_1 WHERE driver = "Kevin Harvick"</s>
CREATE TABLE table_name_98 (game_site VARCHAR, attendance VARCHAR)
SELECT game_site FROM table_name_98 WHERE attendance = "11,309"
Where did the Jet's play with an attendance of 11,309?
<s>[INST]Where did the Jet's play with an attendance of 11,309? Context: CREATE TABLE table_name_98 (game_site VARCHAR, attendance VARCHAR)[/INST]SELECT game_site FROM table_name_98 WHERE attendance = "11,309"</s>
CREATE TABLE table_name_34 (type VARCHAR, moving_from VARCHAR, ends VARCHAR, transfer_window VARCHAR)
SELECT type FROM table_name_34 WHERE ends = 2013 AND transfer_window = "summer" AND moving_from = "kalmar ff"
What is the type of the player who ended in 2013, had a summer transfer window, and moved from kalmar ff?
<s>[INST]What is the type of the player who ended in 2013, had a summer transfer window, and moved from kalmar ff? Context: CREATE TABLE table_name_34 (type VARCHAR, moving_from VARCHAR, ends VARCHAR, transfer_window VARCHAR)[/INST]SELECT type FROM table_name_34 WHERE ends = 2013 AND transfer_window = "summer" AND movi...
CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_49 WHERE attendance = "7,893"
Who was the Mariners opponent at the game attended by 7,893?
<s>[INST]Who was the Mariners opponent at the game attended by 7,893? Context: CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_49 WHERE attendance = "7,893"</s>
CREATE TABLE table_name_31 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_31 WHERE score = 69 - 72 = 141
What is To Par, when Score is "69-72=141"
<s>[INST]What is To Par, when Score is "69-72=141" Context: CREATE TABLE table_name_31 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_31 WHERE score = 69 - 72 = 141</s>
CREATE TABLE table_2869843_1 (bi_tone VARCHAR, model VARCHAR, olive_drab VARCHAR, caliber VARCHAR)
SELECT bi_tone FROM table_2869843_1 WHERE olive_drab = "No" AND caliber = "9×19mm Parabellum" AND model = "XDM 5.25 Competition"
are there bi-tone is there's no olive drab and the caliber is 9×19mm parabellum and model is xdm 5.25 competition
<s>[INST]are there bi-tone is there's no olive drab and the caliber is 9×19mm parabellum and model is xdm 5.25 competition Context: CREATE TABLE table_2869843_1 (bi_tone VARCHAR, model VARCHAR, olive_drab VARCHAR, caliber VARCHAR)[/INST]SELECT bi_tone FROM table_2869843_1 WHERE olive_drab = "No" AND caliber = "9×19mm P...
CREATE TABLE table_name_53 (goals INTEGER, venue VARCHAR)
SELECT AVG(goals) FROM table_name_53 WHERE venue = "hong kong stadium, hong kong"
What is the average number of goals that occurred in Hong Kong Stadium, Hong Kong?
<s>[INST]What is the average number of goals that occurred in Hong Kong Stadium, Hong Kong? Context: CREATE TABLE table_name_53 (goals INTEGER, venue VARCHAR)[/INST]SELECT AVG(goals) FROM table_name_53 WHERE venue = "hong kong stadium, hong kong"</s>
CREATE TABLE table_1670921_2 (batting_partners VARCHAR, season VARCHAR)
SELECT batting_partners FROM table_1670921_2 WHERE season = "2004"
What batting partners were the most successful in 2004?
<s>[INST]What batting partners were the most successful in 2004? Context: CREATE TABLE table_1670921_2 (batting_partners VARCHAR, season VARCHAR)[/INST]SELECT batting_partners FROM table_1670921_2 WHERE season = "2004"</s>
CREATE TABLE table_name_57 (date_of_birth__age_ VARCHAR, caps VARCHAR, name VARCHAR)
SELECT date_of_birth__age_ FROM table_name_57 WHERE caps = "3" AND name = "gabriel quak jun yi"
What is the date of birth and age of Gabriel Quak Jun Yi with 3 caps?
<s>[INST]What is the date of birth and age of Gabriel Quak Jun Yi with 3 caps? Context: CREATE TABLE table_name_57 (date_of_birth__age_ VARCHAR, caps VARCHAR, name VARCHAR)[/INST]SELECT date_of_birth__age_ FROM table_name_57 WHERE caps = "3" AND name = "gabriel quak jun yi"</s>
CREATE TABLE table_27715173_8 (high_points VARCHAR, team VARCHAR)
SELECT COUNT(high_points) FROM table_27715173_8 WHERE team = "Oklahoma City"
how many times is the team oklahoma city?
<s>[INST]how many times is the team oklahoma city? Context: CREATE TABLE table_27715173_8 (high_points VARCHAR, team VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_27715173_8 WHERE team = "Oklahoma City"</s>
CREATE TABLE table_name_13 (react VARCHAR, lane VARCHAR)
SELECT COUNT(react) FROM table_name_13 WHERE lane = 5
Can you tell me the total number of React that has the Lane of 5?
<s>[INST]Can you tell me the total number of React that has the Lane of 5? Context: CREATE TABLE table_name_13 (react VARCHAR, lane VARCHAR)[/INST]SELECT COUNT(react) FROM table_name_13 WHERE lane = 5</s>
CREATE TABLE table_name_79 (captain VARCHAR, shirt_sponsor VARCHAR)
SELECT captain FROM table_name_79 WHERE shirt_sponsor = "one2one"
One2one is the shirt sponsor for the captain of what team?
<s>[INST]One2one is the shirt sponsor for the captain of what team? Context: CREATE TABLE table_name_79 (captain VARCHAR, shirt_sponsor VARCHAR)[/INST]SELECT captain FROM table_name_79 WHERE shirt_sponsor = "one2one"</s>
CREATE TABLE table_name_87 (draw VARCHAR, points VARCHAR, artist VARCHAR)
SELECT COUNT(draw) FROM table_name_87 WHERE points > 22 AND artist = "avia band"
How many draws for avia band with over 22 points?
<s>[INST]How many draws for avia band with over 22 points? Context: CREATE TABLE table_name_87 (draw VARCHAR, points VARCHAR, artist VARCHAR)[/INST]SELECT COUNT(draw) FROM table_name_87 WHERE points > 22 AND artist = "avia band"</s>
CREATE TABLE table_name_98 (format VARCHAR, label VARCHAR)
SELECT format FROM table_name_98 WHERE label = "candlelight records"
What is Candlelight Records format?
<s>[INST]What is Candlelight Records format? Context: CREATE TABLE table_name_98 (format VARCHAR, label VARCHAR)[/INST]SELECT format FROM table_name_98 WHERE label = "candlelight records"</s>
CREATE TABLE table_name_96 (no9 VARCHAR, no7 VARCHAR, final VARCHAR)
SELECT no9 FROM table_name_96 WHERE no7 = "joana" AND final = "pedro"
Who was number 9 that had a number 7 of Joana and a Final of Pedro?
<s>[INST]Who was number 9 that had a number 7 of Joana and a Final of Pedro? Context: CREATE TABLE table_name_96 (no9 VARCHAR, no7 VARCHAR, final VARCHAR)[/INST]SELECT no9 FROM table_name_96 WHERE no7 = "joana" AND final = "pedro"</s>
CREATE TABLE table_28211988_1 (mens_doubles VARCHAR, mens_singles VARCHAR)
SELECT mens_doubles FROM table_28211988_1 WHERE mens_singles = "Ma Wenge"
Who is everyone on the men's doubles when men's singles is Ma Wenge?
<s>[INST]Who is everyone on the men's doubles when men's singles is Ma Wenge? Context: CREATE TABLE table_28211988_1 (mens_doubles VARCHAR, mens_singles VARCHAR)[/INST]SELECT mens_doubles FROM table_28211988_1 WHERE mens_singles = "Ma Wenge"</s>
CREATE TABLE table_name_73 (title VARCHAR, release_date VARCHAR, track_number VARCHAR, record_label VARCHAR)
SELECT title FROM table_name_73 WHERE track_number = "07" AND record_label = "emi" AND release_date = "21 april 2006"
Name The Title which has a Track number of 07, and a Record label of emi on 21 april 2006?
<s>[INST]Name The Title which has a Track number of 07, and a Record label of emi on 21 april 2006? Context: CREATE TABLE table_name_73 (title VARCHAR, release_date VARCHAR, track_number VARCHAR, record_label VARCHAR)[/INST]SELECT title FROM table_name_73 WHERE track_number = "07" AND record_label = "emi" AND release_d...
CREATE TABLE table_25640730_7 (canadian_viewers__millions_ VARCHAR, directed_by VARCHAR)
SELECT COUNT(canadian_viewers__millions_) FROM table_25640730_7 WHERE directed_by = "Yannick Bisson"
If the director is Yannick Bisson, what was the Canadian amount of viewers?
<s>[INST]If the director is Yannick Bisson, what was the Canadian amount of viewers? Context: CREATE TABLE table_25640730_7 (canadian_viewers__millions_ VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(canadian_viewers__millions_) FROM table_25640730_7 WHERE directed_by = "Yannick Bisson"</s>
CREATE TABLE table_24027047_1 (administrative_division VARCHAR, population_density___km²_2011_ VARCHAR)
SELECT administrative_division FROM table_24027047_1 WHERE population_density___km²_2011_ = "1,604.3"
In what division was there a population density in km2 of 1,604.3 in 2011?
<s>[INST]In what division was there a population density in km2 of 1,604.3 in 2011? Context: CREATE TABLE table_24027047_1 (administrative_division VARCHAR, population_density___km²_2011_ VARCHAR)[/INST]SELECT administrative_division FROM table_24027047_1 WHERE population_density___km²_2011_ = "1,604.3"</s>
CREATE TABLE table_name_32 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_32 WHERE date = "27 january 1968" AND away_team = "carlisle united"
On 27 January 1968 who was the Home Team when the Away team was Carlisle United?
<s>[INST]On 27 January 1968 who was the Home Team when the Away team was Carlisle United? Context: CREATE TABLE table_name_32 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_32 WHERE date = "27 january 1968" AND away_team = "carlisle united"</s>
CREATE TABLE table_name_89 (score INTEGER, year VARCHAR, placement VARCHAR)
SELECT MIN(score) FROM table_name_89 WHERE year < 2008 AND placement = "3rd"
What is the lowest score for a year before 2008 and had 3rd place?
<s>[INST]What is the lowest score for a year before 2008 and had 3rd place? Context: CREATE TABLE table_name_89 (score INTEGER, year VARCHAR, placement VARCHAR)[/INST]SELECT MIN(score) FROM table_name_89 WHERE year < 2008 AND placement = "3rd"</s>
CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_52 WHERE tournament = "bologna"
When was the tournament of bologna?
<s>[INST]When was the tournament of bologna? Context: CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_52 WHERE tournament = "bologna"</s>
CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_28 WHERE away_team = "richmond"
What home team has an Away team of richmond?
<s>[INST]What home team has an Away team of richmond? Context: CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_28 WHERE away_team = "richmond"</s>
CREATE TABLE table_27132791_3 (pro_team VARCHAR, position VARCHAR, nfl_team VARCHAR)
SELECT pro_team FROM table_27132791_3 WHERE position = "DT" AND nfl_team = "Houston Oilers"
If the NFL team is the Houston Oilers and the position is DT, who is the Pro team?
<s>[INST]If the NFL team is the Houston Oilers and the position is DT, who is the Pro team? Context: CREATE TABLE table_27132791_3 (pro_team VARCHAR, position VARCHAR, nfl_team VARCHAR)[/INST]SELECT pro_team FROM table_27132791_3 WHERE position = "DT" AND nfl_team = "Houston Oilers"</s>
CREATE TABLE table_name_53 (v_band INTEGER, ka_band VARCHAR, q_band VARCHAR)
SELECT AVG(v_band) FROM table_name_53 WHERE ka_band < 33 AND q_band = 1
What is the average v-band for Ka-band values under 33 and Q-bands of 1?
<s>[INST]What is the average v-band for Ka-band values under 33 and Q-bands of 1? Context: CREATE TABLE table_name_53 (v_band INTEGER, ka_band VARCHAR, q_band VARCHAR)[/INST]SELECT AVG(v_band) FROM table_name_53 WHERE ka_band < 33 AND q_band = 1</s>
CREATE TABLE table_260938_1 (base_10 VARCHAR, shortscale_comparison VARCHAR)
SELECT base_10 FROM table_260938_1 WHERE shortscale_comparison = "Billion"
Name the base 10 for shortscale comparison for billion
<s>[INST]Name the base 10 for shortscale comparison for billion Context: CREATE TABLE table_260938_1 (base_10 VARCHAR, shortscale_comparison VARCHAR)[/INST]SELECT base_10 FROM table_260938_1 WHERE shortscale_comparison = "Billion"</s>
CREATE TABLE table_24565004_2 (appearances¹ VARCHAR, name VARCHAR)
SELECT appearances¹ FROM table_24565004_2 WHERE name = "Bernard Allou"
Name the appearances for bernard allou
<s>[INST]Name the appearances for bernard allou Context: CREATE TABLE table_24565004_2 (appearances¹ VARCHAR, name VARCHAR)[/INST]SELECT appearances¹ FROM table_24565004_2 WHERE name = "Bernard Allou"</s>
CREATE TABLE table_10953197_6 (no_in_season INTEGER)
SELECT MIN(no_in_season) FROM table_10953197_6
give the least number of times an episode was shown from 1997-1998
<s>[INST]give the least number of times an episode was shown from 1997-1998 Context: CREATE TABLE table_10953197_6 (no_in_season INTEGER)[/INST]SELECT MIN(no_in_season) FROM table_10953197_6</s>
CREATE TABLE table_name_10 (years VARCHAR, school VARCHAR)
SELECT years FROM table_name_10 WHERE school = "vaucluse public school"
What school year is vaucluse public school?
<s>[INST]What school year is vaucluse public school? Context: CREATE TABLE table_name_10 (years VARCHAR, school VARCHAR)[/INST]SELECT years FROM table_name_10 WHERE school = "vaucluse public school"</s>
CREATE TABLE table_name_87 (on_air_id VARCHAR, frequency VARCHAR)
SELECT on_air_id FROM table_name_87 WHERE frequency = "100.1"
Frequency of 100.1 has what on-air id?
<s>[INST]Frequency of 100.1 has what on-air id? Context: CREATE TABLE table_name_87 (on_air_id VARCHAR, frequency VARCHAR)[/INST]SELECT on_air_id FROM table_name_87 WHERE frequency = "100.1"</s>
CREATE TABLE table_name_50 (date VARCHAR, winner VARCHAR)
SELECT date FROM table_name_50 WHERE winner = "amer sulaiman"
What is the date amer sulaiman won?
<s>[INST]What is the date amer sulaiman won? Context: CREATE TABLE table_name_50 (date VARCHAR, winner VARCHAR)[/INST]SELECT date FROM table_name_50 WHERE winner = "amer sulaiman"</s>