context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_32 (february VARCHAR, game VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT COUNT(february) FROM table_name_32 WHERE opponent = "montreal canadiens" AND record = "18-25-10" AND game > 53
How many Februarys have montreal canadiens as the opponent, and 18-25-10 as the record, with a game greater than 53?
<s>[INST]How many Februarys have montreal canadiens as the opponent, and 18-25-10 as the record, with a game greater than 53? Context: CREATE TABLE table_name_32 (february VARCHAR, game VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT COUNT(february) FROM table_name_32 WHERE opponent = "montreal canadiens" AND record = "18-25-10" AND game > 53</s>
CREATE TABLE table_name_21 (drivers VARCHAR, engine VARCHAR, chassis VARCHAR)
SELECT drivers FROM table_name_21 WHERE engine = "chevrolet" AND chassis = "eagle"
Who drove the Chevrolet with the Eagle chassis?
<s>[INST]Who drove the Chevrolet with the Eagle chassis? Context: CREATE TABLE table_name_21 (drivers VARCHAR, engine VARCHAR, chassis VARCHAR)[/INST]SELECT drivers FROM table_name_21 WHERE engine = "chevrolet" AND chassis = "eagle"</s>
CREATE TABLE table_name_85 (country VARCHAR, rank VARCHAR, athlete VARCHAR)
SELECT country FROM table_name_85 WHERE rank < 4 AND athlete = "ekaterina karsten"
What country is the athlete ekaterina karsten from with a rank less than 4?
<s>[INST]What country is the athlete ekaterina karsten from with a rank less than 4? Context: CREATE TABLE table_name_85 (country VARCHAR, rank VARCHAR, athlete VARCHAR)[/INST]SELECT country FROM table_name_85 WHERE rank < 4 AND athlete = "ekaterina karsten"</s>
CREATE TABLE table_name_66 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_66 WHERE score = 69 - 72 - 68 = 209
what player scored 69-72-68=209?
<s>[INST]what player scored 69-72-68=209? Context: CREATE TABLE table_name_66 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_66 WHERE score = 69 - 72 - 68 = 209</s>
CREATE TABLE table_26748314_1 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_26748314_1 WHERE no_in_season = 7
What is every original air date for the number in season of 7?
<s>[INST]What is every original air date for the number in season of 7? Context: CREATE TABLE table_26748314_1 (original_air_date VARCHAR, no_in_season VARCHAR)[/INST]SELECT original_air_date FROM table_26748314_1 WHERE no_in_season = 7</s>
CREATE TABLE table_2562572_12 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)
SELECT dominant_religion__2002_ FROM table_2562572_12 WHERE population__2011_ = 4831
What is the dominate religion in the location with a population of 4831?
<s>[INST]What is the dominate religion in the location with a population of 4831? Context: CREATE TABLE table_2562572_12 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)[/INST]SELECT dominant_religion__2002_ FROM table_2562572_12 WHERE population__2011_ = 4831</s>
CREATE TABLE table_name_99 (overall INTEGER, college VARCHAR, round VARCHAR)
SELECT SUM(overall) FROM table_name_99 WHERE college = "duke" AND round > 7
What is the total number of overall figures when duke was the college and the round was higher than 7?
<s>[INST]What is the total number of overall figures when duke was the college and the round was higher than 7? Context: CREATE TABLE table_name_99 (overall INTEGER, college VARCHAR, round VARCHAR)[/INST]SELECT SUM(overall) FROM table_name_99 WHERE college = "duke" AND round > 7</s>
CREATE TABLE table_1539201_1 (february VARCHAR)
SELECT COUNT(february) FROM table_1539201_1
Name the number of februaries
<s>[INST]Name the number of februaries Context: CREATE TABLE table_1539201_1 (february VARCHAR)[/INST]SELECT COUNT(february) FROM table_1539201_1</s>
CREATE TABLE table_name_60 (overall INTEGER, name VARCHAR, pick__number VARCHAR)
SELECT AVG(overall) FROM table_name_60 WHERE name = "brad scioli" AND pick__number > 5
What's the Overall average that has brad scioli, and a Pick # larger than 5?
<s>[INST]What's the Overall average that has brad scioli, and a Pick # larger than 5? Context: CREATE TABLE table_name_60 (overall INTEGER, name VARCHAR, pick__number VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_60 WHERE name = "brad scioli" AND pick__number > 5</s>
CREATE TABLE table_name_59 (opponent VARCHAR, time VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_59 WHERE time = "2:57" AND score = "7–5"
What team was the opponent when the time was 2:57, and a Score of 7–5?
<s>[INST]What team was the opponent when the time was 2:57, and a Score of 7–5? Context: CREATE TABLE table_name_59 (opponent VARCHAR, time VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_59 WHERE time = "2:57" AND score = "7–5"</s>
CREATE TABLE table_name_99 (year VARCHAR, finish VARCHAR)
SELECT year FROM table_name_99 WHERE finish = "champions"
In what Year was the Finish Champions?
<s>[INST]In what Year was the Finish Champions? Context: CREATE TABLE table_name_99 (year VARCHAR, finish VARCHAR)[/INST]SELECT year FROM table_name_99 WHERE finish = "champions"</s>
CREATE TABLE table_name_93 (height VARCHAR, player VARCHAR)
SELECT height FROM table_name_93 WHERE player = "daniel orton"
How tall is Daniel Orton?
<s>[INST]How tall is Daniel Orton? Context: CREATE TABLE table_name_93 (height VARCHAR, player VARCHAR)[/INST]SELECT height FROM table_name_93 WHERE player = "daniel orton"</s>
CREATE TABLE table_27277284_27 (voltage VARCHAR, order_part_number VARCHAR)
SELECT voltage FROM table_27277284_27 WHERE order_part_number = "AMQL64DAM22GG"
What is the operating voltage of part number amql64dam22gg?
<s>[INST]What is the operating voltage of part number amql64dam22gg? Context: CREATE TABLE table_27277284_27 (voltage VARCHAR, order_part_number VARCHAR)[/INST]SELECT voltage FROM table_27277284_27 WHERE order_part_number = "AMQL64DAM22GG"</s>
CREATE TABLE table_name_91 (position VARCHAR, years_for_grizzlies VARCHAR)
SELECT position FROM table_name_91 WHERE years_for_grizzlies = "1998-1999"
What position did the person who was with the grizzlies in 1998-1999 play?
<s>[INST]What position did the person who was with the grizzlies in 1998-1999 play? Context: CREATE TABLE table_name_91 (position VARCHAR, years_for_grizzlies VARCHAR)[/INST]SELECT position FROM table_name_91 WHERE years_for_grizzlies = "1998-1999"</s>
CREATE TABLE table_name_34 (result VARCHAR, category VARCHAR)
SELECT result FROM table_name_34 WHERE category = "best actor in a supporting role"
What's the result for the category of best actor in a supporting role?
<s>[INST]What's the result for the category of best actor in a supporting role? Context: CREATE TABLE table_name_34 (result VARCHAR, category VARCHAR)[/INST]SELECT result FROM table_name_34 WHERE category = "best actor in a supporting role"</s>
CREATE TABLE Order_items (product_id VARCHAR, order_id VARCHAR)
SELECT product_id, COUNT(DISTINCT order_id) FROM Order_items GROUP BY product_id
Show the product ids and the number of unique orders containing each product.
<s>[INST]Show the product ids and the number of unique orders containing each product. Context: CREATE TABLE Order_items (product_id VARCHAR, order_id VARCHAR)[/INST]SELECT product_id, COUNT(DISTINCT order_id) FROM Order_items GROUP BY product_id</s>
CREATE TABLE table_name_83 (place VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT place FROM table_name_83 WHERE money___$__ = 150 AND player = "bobby cruickshank"
Which Place that has Money of 150, and a Player of bobby cruickshank?
<s>[INST]Which Place that has Money of 150, and a Player of bobby cruickshank? Context: CREATE TABLE table_name_83 (place VARCHAR, money___$__ VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_83 WHERE money___$__ = 150 AND player = "bobby cruickshank"</s>
CREATE TABLE table_name_7 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_7 WHERE competition = "friendly match"
Which venue is the friendly match in?
<s>[INST]Which venue is the friendly match in? Context: CREATE TABLE table_name_7 (venue VARCHAR, competition VARCHAR)[/INST]SELECT venue FROM table_name_7 WHERE competition = "friendly match"</s>
CREATE TABLE table_name_7 (province VARCHAR, iata VARCHAR)
SELECT province FROM table_name_7 WHERE iata = "wnz"
WHich province has an IATA of WNZ?
<s>[INST]WHich province has an IATA of WNZ? Context: CREATE TABLE table_name_7 (province VARCHAR, iata VARCHAR)[/INST]SELECT province FROM table_name_7 WHERE iata = "wnz"</s>
CREATE TABLE table_name_37 (constellation VARCHAR, object_type VARCHAR)
SELECT constellation FROM table_name_37 WHERE object_type = "open cluster"
What is the constellation for open cluster?
<s>[INST]What is the constellation for open cluster? Context: CREATE TABLE table_name_37 (constellation VARCHAR, object_type VARCHAR)[/INST]SELECT constellation FROM table_name_37 WHERE object_type = "open cluster"</s>
CREATE TABLE Projects (Name VARCHAR, Code VARCHAR, Project VARCHAR); CREATE TABLE AssignedTo (Name VARCHAR, Code VARCHAR, Project VARCHAR)
SELECT Name FROM Projects WHERE NOT Code IN (SELECT Project FROM AssignedTo)
Select the project names which are not assigned yet.
<s>[INST]Select the project names which are not assigned yet. Context: CREATE TABLE Projects (Name VARCHAR, Code VARCHAR, Project VARCHAR); CREATE TABLE AssignedTo (Name VARCHAR, Code VARCHAR, Project VARCHAR)[/INST]SELECT Name FROM Projects WHERE NOT Code IN (SELECT Project FROM AssignedTo)</s>
CREATE TABLE table_name_38 (points VARCHAR, wins VARCHAR, final_placing VARCHAR)
SELECT points FROM table_name_38 WHERE wins = "0" AND final_placing = "21st"
Which Points have Wins of 0, and a Final Placing of 21st?
<s>[INST]Which Points have Wins of 0, and a Final Placing of 21st? Context: CREATE TABLE table_name_38 (points VARCHAR, wins VARCHAR, final_placing VARCHAR)[/INST]SELECT points FROM table_name_38 WHERE wins = "0" AND final_placing = "21st"</s>
CREATE TABLE table_name_40 (rank INTEGER, places VARCHAR, nation VARCHAR, points VARCHAR)
SELECT MAX(rank) FROM table_name_40 WHERE nation = "east germany" AND points = 128.98 AND places < 70
what is the highest rank for east germany with points of 128.98 and places less than 70?
<s>[INST]what is the highest rank for east germany with points of 128.98 and places less than 70? Context: CREATE TABLE table_name_40 (rank INTEGER, places VARCHAR, nation VARCHAR, points VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_40 WHERE nation = "east germany" AND points = 128.98 AND places < 70</s>
CREATE TABLE table_name_61 (attempts VARCHAR, touchdowns VARCHAR)
SELECT COUNT(attempts) FROM table_name_61 WHERE touchdowns = 6
What is the total number of Attempts, when Touchdowns is 6?
<s>[INST]What is the total number of Attempts, when Touchdowns is 6? Context: CREATE TABLE table_name_61 (attempts VARCHAR, touchdowns VARCHAR)[/INST]SELECT COUNT(attempts) FROM table_name_61 WHERE touchdowns = 6</s>
CREATE TABLE table_name_84 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_84 WHERE tournament = "lagos"
When was the Lagos tournament?
<s>[INST]When was the Lagos tournament? Context: CREATE TABLE table_name_84 (date VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_84 WHERE tournament = "lagos"</s>
CREATE TABLE matches (winner_id VARCHAR, tourney_name VARCHAR); CREATE TABLE players (country_code VARCHAR, first_name VARCHAR, player_id VARCHAR)
SELECT T1.country_code, T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'WTA Championships' INTERSECT SELECT T1.country_code, T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'Australian Open'
What are the country code and first name of the players who won in both tourney WTA Championships and Australian Open?
<s>[INST]What are the country code and first name of the players who won in both tourney WTA Championships and Australian Open? Context: CREATE TABLE matches (winner_id VARCHAR, tourney_name VARCHAR); CREATE TABLE players (country_code VARCHAR, first_name VARCHAR, player_id VARCHAR)[/INST]SELECT T1.country_code, T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'WTA Championships' INTERSECT SELECT T1.country_code, T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'Australian Open'</s>
CREATE TABLE table_name_34 (skip VARCHAR, third VARCHAR)
SELECT skip FROM table_name_34 WHERE third = "carlo alessandro zisa"
Which Skip has a Third of carlo alessandro zisa?
<s>[INST]Which Skip has a Third of carlo alessandro zisa? Context: CREATE TABLE table_name_34 (skip VARCHAR, third VARCHAR)[/INST]SELECT skip FROM table_name_34 WHERE third = "carlo alessandro zisa"</s>
CREATE TABLE table_name_40 (name VARCHAR, group VARCHAR, mark VARCHAR)
SELECT name FROM table_name_40 WHERE group = "b" AND mark = "6.17"
Who has a mark of 6.17 in group B?
<s>[INST]Who has a mark of 6.17 in group B? Context: CREATE TABLE table_name_40 (name VARCHAR, group VARCHAR, mark VARCHAR)[/INST]SELECT name FROM table_name_40 WHERE group = "b" AND mark = "6.17"</s>
CREATE TABLE table_name_12 (week_1 VARCHAR, week_2 VARCHAR)
SELECT week_1 FROM table_name_12 WHERE week_2 = "kamila sulewska"
Who was the girl on week 1 that preceded week 2's Kamila Sulewska?
<s>[INST]Who was the girl on week 1 that preceded week 2's Kamila Sulewska? Context: CREATE TABLE table_name_12 (week_1 VARCHAR, week_2 VARCHAR)[/INST]SELECT week_1 FROM table_name_12 WHERE week_2 = "kamila sulewska"</s>
CREATE TABLE table_name_24 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_24 WHERE home = "dallas mavericks"
What is the record for the game when the Dallas Mavericks was the home team?
<s>[INST]What is the record for the game when the Dallas Mavericks was the home team? Context: CREATE TABLE table_name_24 (record VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_24 WHERE home = "dallas mavericks"</s>
CREATE TABLE table_25597136_1 (focal_plane_in_ft__m_ VARCHAR, location VARCHAR)
SELECT focal_plane_in_ft__m_ FROM table_25597136_1 WHERE location = "Naidi Hills, Basco"
Location for focal plane in ft (m) is naidi hills, basco.
<s>[INST]Location for focal plane in ft (m) is naidi hills, basco. Context: CREATE TABLE table_25597136_1 (focal_plane_in_ft__m_ VARCHAR, location VARCHAR)[/INST]SELECT focal_plane_in_ft__m_ FROM table_25597136_1 WHERE location = "Naidi Hills, Basco"</s>
CREATE TABLE table_name_71 (score VARCHAR, set_2 VARCHAR)
SELECT score FROM table_name_71 WHERE set_2 = "24–26"
What is the Score for Set 2 of 24–26?
<s>[INST]What is the Score for Set 2 of 24–26? Context: CREATE TABLE table_name_71 (score VARCHAR, set_2 VARCHAR)[/INST]SELECT score FROM table_name_71 WHERE set_2 = "24–26"</s>
CREATE TABLE table_name_47 (time VARCHAR, rank VARCHAR)
SELECT time FROM table_name_47 WHERE rank = 40
What is the time of the swimmer in rank 40?
<s>[INST]What is the time of the swimmer in rank 40? Context: CREATE TABLE table_name_47 (time VARCHAR, rank VARCHAR)[/INST]SELECT time FROM table_name_47 WHERE rank = 40</s>
CREATE TABLE table_20396_1 (poles VARCHAR, points VARCHAR)
SELECT COUNT(poles) FROM table_20396_1 WHERE points = "78"
How many poles had 78 points?
<s>[INST]How many poles had 78 points? Context: CREATE TABLE table_20396_1 (poles VARCHAR, points VARCHAR)[/INST]SELECT COUNT(poles) FROM table_20396_1 WHERE points = "78"</s>
CREATE TABLE table_28334498_3 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
SELECT original_air_date FROM table_28334498_3 WHERE us_viewers__millions_ = "1.01"
What air date had 1.01 million U.S. viewers?
<s>[INST]What air date had 1.01 million U.S. viewers? Context: CREATE TABLE table_28334498_3 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT original_air_date FROM table_28334498_3 WHERE us_viewers__millions_ = "1.01"</s>
CREATE TABLE table_name_54 (score VARCHAR, january VARCHAR, record VARCHAR)
SELECT score FROM table_name_54 WHERE january < 22 AND record = "30-7-7"
What is the score of the game before January 22 with a 30-7-7 record?
<s>[INST]What is the score of the game before January 22 with a 30-7-7 record? Context: CREATE TABLE table_name_54 (score VARCHAR, january VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_54 WHERE january < 22 AND record = "30-7-7"</s>
CREATE TABLE table_name_80 (season INTEGER, position INTEGER)
SELECT MIN(season) FROM table_name_80 WHERE position > 12
What is the earliest season that has a position over 12?
<s>[INST]What is the earliest season that has a position over 12? Context: CREATE TABLE table_name_80 (season INTEGER, position INTEGER)[/INST]SELECT MIN(season) FROM table_name_80 WHERE position > 12</s>
CREATE TABLE table_name_72 (week INTEGER, game_site VARCHAR, date VARCHAR)
SELECT MIN(week) FROM table_name_72 WHERE game_site = "ralph wilson stadium" AND date = "october 7, 2001"
What was the lowest week at Ralph Wilson Stadium on October 7, 2001?
<s>[INST]What was the lowest week at Ralph Wilson Stadium on October 7, 2001? Context: CREATE TABLE table_name_72 (week INTEGER, game_site VARCHAR, date VARCHAR)[/INST]SELECT MIN(week) FROM table_name_72 WHERE game_site = "ralph wilson stadium" AND date = "october 7, 2001"</s>
CREATE TABLE table_name_70 (Id VARCHAR)
SELECT 2006 FROM table_name_70 WHERE 2005 = "jasmine wilson"
Who attended the school in 2006, that Jasmine Wilson attended in 2005?
<s>[INST]Who attended the school in 2006, that Jasmine Wilson attended in 2005? Context: CREATE TABLE table_name_70 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_70 WHERE 2005 = "jasmine wilson"</s>
CREATE TABLE table_name_87 (elected INTEGER, district VARCHAR)
SELECT MIN(elected) FROM table_name_87 WHERE district = 17
What was the year elected in District 17?
<s>[INST]What was the year elected in District 17? Context: CREATE TABLE table_name_87 (elected INTEGER, district VARCHAR)[/INST]SELECT MIN(elected) FROM table_name_87 WHERE district = 17</s>
CREATE TABLE table_1341472_40 (first_elected INTEGER, result VARCHAR)
SELECT MIN(first_elected) FROM table_1341472_40 WHERE result = "Retired Republican hold"
What is the earliest year where the result of the election was a retired republican hold?
<s>[INST]What is the earliest year where the result of the election was a retired republican hold? Context: CREATE TABLE table_1341472_40 (first_elected INTEGER, result VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1341472_40 WHERE result = "Retired Republican hold"</s>
CREATE TABLE table_name_35 (date VARCHAR, label VARCHAR)
SELECT date FROM table_name_35 WHERE label = "alfa records"
What Date has a label of alfa records?
<s>[INST]What Date has a label of alfa records? Context: CREATE TABLE table_name_35 (date VARCHAR, label VARCHAR)[/INST]SELECT date FROM table_name_35 WHERE label = "alfa records"</s>
CREATE TABLE table_name_5 (chassis VARCHAR, entrant VARCHAR, points VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_5 WHERE points = 13 AND year = 1975 AND entrant = "scuderia citta del mille"
Can you tell me the Chassis that has the Points of 13, and the Year of 1975, and the Entrant of scuderia citta del mille?
<s>[INST]Can you tell me the Chassis that has the Points of 13, and the Year of 1975, and the Entrant of scuderia citta del mille? Context: CREATE TABLE table_name_5 (chassis VARCHAR, entrant VARCHAR, points VARCHAR, year VARCHAR)[/INST]SELECT chassis FROM table_name_5 WHERE points = 13 AND year = 1975 AND entrant = "scuderia citta del mille"</s>
CREATE TABLE table_name_14 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR)
SELECT coverage__transmitter_site_ FROM table_name_14 WHERE power__kw_ = "10kw" AND callsign = "dyfx-tv"
What is Coverage (Transmitter Site), when Power (kW) is "10kW", and when Callsign is "DYFX-TV"?
<s>[INST]What is Coverage (Transmitter Site), when Power (kW) is "10kW", and when Callsign is "DYFX-TV"? Context: CREATE TABLE table_name_14 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR)[/INST]SELECT coverage__transmitter_site_ FROM table_name_14 WHERE power__kw_ = "10kw" AND callsign = "dyfx-tv"</s>
CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (course_Id VARCHAR)
SELECT T1.course_name FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_Id GROUP BY T1.course_id ORDER BY COUNT(*) DESC LIMIT 1
which course has most number of registered students?
<s>[INST]which course has most number of registered students? Context: CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (course_Id VARCHAR)[/INST]SELECT T1.course_name FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_Id GROUP BY T1.course_id ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_57 WHERE away_team = "richmond"
Where did Richmond play as the away team?
<s>[INST]Where did Richmond play as the away team? Context: CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_57 WHERE away_team = "richmond"</s>
CREATE TABLE table_name_28 (team VARCHAR, recopa_sudamericana_1992 VARCHAR)
SELECT team FROM table_name_28 WHERE recopa_sudamericana_1992 = "runner-up"
Which Team has a Recopa Sudamericana 1992 of runner-up?
<s>[INST]Which Team has a Recopa Sudamericana 1992 of runner-up? Context: CREATE TABLE table_name_28 (team VARCHAR, recopa_sudamericana_1992 VARCHAR)[/INST]SELECT team FROM table_name_28 WHERE recopa_sudamericana_1992 = "runner-up"</s>
CREATE TABLE table_name_33 (density VARCHAR, simplified VARCHAR)
SELECT density FROM table_name_33 WHERE simplified = "南山区"
What is the density when simplified shows 南山区?
<s>[INST]What is the density when simplified shows 南山区? Context: CREATE TABLE table_name_33 (density VARCHAR, simplified VARCHAR)[/INST]SELECT density FROM table_name_33 WHERE simplified = "南山区"</s>
CREATE TABLE table_237757_9 (nasl_years VARCHAR, accolades__pre_nasl_ VARCHAR)
SELECT COUNT(nasl_years) FROM table_237757_9 WHERE accolades__pre_nasl_ = "Captained England to victory at the 1966 World Cup"
How many years of nasl years did the accolades read "captained england to victory at the 1966 world cup"?
<s>[INST]How many years of nasl years did the accolades read "captained england to victory at the 1966 world cup"? Context: CREATE TABLE table_237757_9 (nasl_years VARCHAR, accolades__pre_nasl_ VARCHAR)[/INST]SELECT COUNT(nasl_years) FROM table_237757_9 WHERE accolades__pre_nasl_ = "Captained England to victory at the 1966 World Cup"</s>
CREATE TABLE table_name_66 (Id VARCHAR)
SELECT 2010 FROM table_name_66 WHERE 2011 = "grand slam tournaments"
What is the 2010 of the Grand Slam Tournaments in 2011?
<s>[INST]What is the 2010 of the Grand Slam Tournaments in 2011? Context: CREATE TABLE table_name_66 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_66 WHERE 2011 = "grand slam tournaments"</s>
CREATE TABLE table_name_95 (brand VARCHAR, model VARCHAR)
SELECT brand FROM table_name_95 WHERE model = "rw-2100"
What brand is the RW-2100 model?
<s>[INST]What brand is the RW-2100 model? Context: CREATE TABLE table_name_95 (brand VARCHAR, model VARCHAR)[/INST]SELECT brand FROM table_name_95 WHERE model = "rw-2100"</s>
CREATE TABLE table_14723382_1 (division INTEGER)
SELECT MAX(division) FROM table_14723382_1
What is the largest numbered?
<s>[INST]What is the largest numbered? Context: CREATE TABLE table_14723382_1 (division INTEGER)[/INST]SELECT MAX(division) FROM table_14723382_1</s>
CREATE TABLE table_name_80 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_80 WHERE record = "8-8"
Where was the game played when the Buffalo Bills had a record of 8-8?
<s>[INST]Where was the game played when the Buffalo Bills had a record of 8-8? Context: CREATE TABLE table_name_80 (location VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_80 WHERE record = "8-8"</s>
CREATE TABLE table_16799784_14 (name VARCHAR, longitude VARCHAR)
SELECT name FROM table_16799784_14 WHERE longitude = "246.0E"
What is the name of feature with a longitude 246.0e?
<s>[INST]What is the name of feature with a longitude 246.0e? Context: CREATE TABLE table_16799784_14 (name VARCHAR, longitude VARCHAR)[/INST]SELECT name FROM table_16799784_14 WHERE longitude = "246.0E"</s>
CREATE TABLE table_2013618_1 (traditional VARCHAR, simplified VARCHAR)
SELECT traditional FROM table_2013618_1 WHERE simplified = "屏南县"
Name the traditional for 屏南县
<s>[INST]Name the traditional for 屏南县 Context: CREATE TABLE table_2013618_1 (traditional VARCHAR, simplified VARCHAR)[/INST]SELECT traditional FROM table_2013618_1 WHERE simplified = "屏南县"</s>
CREATE TABLE STUDENT (Age INTEGER, StuID VARCHAR, city_code VARCHAR); CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR)
SELECT AVG(T1.Age) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = SECRETARY_Vote WHERE T1.city_code = "NYC" AND T2.Election_Cycle = "Spring"
Find the average age of students who live in the city with code "NYC" and have secretary votes in the spring election cycle.
<s>[INST]Find the average age of students who live in the city with code "NYC" and have secretary votes in the spring election cycle. Context: CREATE TABLE STUDENT (Age INTEGER, StuID VARCHAR, city_code VARCHAR); CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR)[/INST]SELECT AVG(T1.Age) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = SECRETARY_Vote WHERE T1.city_code = "NYC" AND T2.Election_Cycle = "Spring"</s>
CREATE TABLE table_name_79 (player VARCHAR, first_team_appearances VARCHAR)
SELECT player FROM table_name_79 WHERE first_team_appearances = "7"
Who is the player who has had 7 first team appearances?
<s>[INST]Who is the player who has had 7 first team appearances? Context: CREATE TABLE table_name_79 (player VARCHAR, first_team_appearances VARCHAR)[/INST]SELECT player FROM table_name_79 WHERE first_team_appearances = "7"</s>
CREATE TABLE table_name_83 (decision VARCHAR, record VARCHAR)
SELECT decision FROM table_name_83 WHERE record = "7-7-2"
Who had the decision goal when the record was 7-7-2?
<s>[INST]Who had the decision goal when the record was 7-7-2? Context: CREATE TABLE table_name_83 (decision VARCHAR, record VARCHAR)[/INST]SELECT decision FROM table_name_83 WHERE record = "7-7-2"</s>
CREATE TABLE table_name_14 (attendance INTEGER, venue VARCHAR, opponent VARCHAR)
SELECT SUM(attendance) FROM table_name_14 WHERE venue = "h" AND opponent = "auxerre"
What is the total of attendance at Venue h when Auxerre were playing?
<s>[INST]What is the total of attendance at Venue h when Auxerre were playing? Context: CREATE TABLE table_name_14 (attendance INTEGER, venue VARCHAR, opponent VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_14 WHERE venue = "h" AND opponent = "auxerre"</s>
CREATE TABLE table_name_73 (wins VARCHAR, rank VARCHAR, player VARCHAR)
SELECT COUNT(wins) FROM table_name_73 WHERE rank > 2 AND player = "mike hill"
What was the total number of wins with player Mike Hill with a rank bigger than 2?
<s>[INST]What was the total number of wins with player Mike Hill with a rank bigger than 2? Context: CREATE TABLE table_name_73 (wins VARCHAR, rank VARCHAR, player VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_73 WHERE rank > 2 AND player = "mike hill"</s>
CREATE TABLE table_name_46 (second_runner_up VARCHAR, miss_universe_philippines VARCHAR)
SELECT second_runner_up FROM table_name_46 WHERE miss_universe_philippines = "bianca manalo"
When Bianca Manalo won Miss Universe Philippines who was the second runner-up?
<s>[INST]When Bianca Manalo won Miss Universe Philippines who was the second runner-up? Context: CREATE TABLE table_name_46 (second_runner_up VARCHAR, miss_universe_philippines VARCHAR)[/INST]SELECT second_runner_up FROM table_name_46 WHERE miss_universe_philippines = "bianca manalo"</s>
CREATE TABLE employees (hire_date INTEGER)
SELECT * FROM employees WHERE hire_date < '2002-06-21'
display all the details from Employees table for those employees who was hired before 2002-06-21.
<s>[INST]display all the details from Employees table for those employees who was hired before 2002-06-21. Context: CREATE TABLE employees (hire_date INTEGER)[/INST]SELECT * FROM employees WHERE hire_date < '2002-06-21'</s>
CREATE TABLE table_name_22 (authority VARCHAR, roll VARCHAR)
SELECT authority FROM table_name_22 WHERE roll = 54
Name the authority for roll of 54
<s>[INST]Name the authority for roll of 54 Context: CREATE TABLE table_name_22 (authority VARCHAR, roll VARCHAR)[/INST]SELECT authority FROM table_name_22 WHERE roll = 54</s>
CREATE TABLE table_name_25 (pick INTEGER, round VARCHAR, player VARCHAR)
SELECT MAX(pick) FROM table_name_25 WHERE round = "round 4" AND player = "rudy harris"
What was Rudy Harris' pick number in round 4?
<s>[INST]What was Rudy Harris' pick number in round 4? Context: CREATE TABLE table_name_25 (pick INTEGER, round VARCHAR, player VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_25 WHERE round = "round 4" AND player = "rudy harris"</s>
CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR)
SELECT contestant FROM table_18626383_2 WHERE hometown = "Johannesburg"
When johannesburg is the hometown who is the contestant?
<s>[INST]When johannesburg is the hometown who is the contestant? Context: CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR)[/INST]SELECT contestant FROM table_18626383_2 WHERE hometown = "Johannesburg"</s>
CREATE TABLE table_name_58 (year VARCHAR, remark VARCHAR)
SELECT year FROM table_name_58 WHERE remark = "#104 us"
What year was remark #104 us?
<s>[INST]What year was remark #104 us? Context: CREATE TABLE table_name_58 (year VARCHAR, remark VARCHAR)[/INST]SELECT year FROM table_name_58 WHERE remark = "#104 us"</s>
CREATE TABLE table_13657749_2 (to_winning_team VARCHAR, gtu_winning_team VARCHAR)
SELECT to_winning_team FROM table_13657749_2 WHERE gtu_winning_team = "#27 Don Lindley"
Who is GTU Winning Team's #27 Don Lindley's TO Winning Team?
<s>[INST]Who is GTU Winning Team's #27 Don Lindley's TO Winning Team? Context: CREATE TABLE table_13657749_2 (to_winning_team VARCHAR, gtu_winning_team VARCHAR)[/INST]SELECT to_winning_team FROM table_13657749_2 WHERE gtu_winning_team = "#27 Don Lindley"</s>
CREATE TABLE table_2201724_1 (score_in_the_final VARCHAR, championship VARCHAR)
SELECT score_in_the_final FROM table_2201724_1 WHERE championship = "Wimbledon (2/2)"
List the final score of Wimbledon (2/2).
<s>[INST]List the final score of Wimbledon (2/2). Context: CREATE TABLE table_2201724_1 (score_in_the_final VARCHAR, championship VARCHAR)[/INST]SELECT score_in_the_final FROM table_2201724_1 WHERE championship = "Wimbledon (2/2)"</s>
CREATE TABLE table_name_95 (population VARCHAR, rank VARCHAR)
SELECT population FROM table_name_95 WHERE rank = 11
What is the population for Rank 11?
<s>[INST]What is the population for Rank 11? Context: CREATE TABLE table_name_95 (population VARCHAR, rank VARCHAR)[/INST]SELECT population FROM table_name_95 WHERE rank = 11</s>
CREATE TABLE table_name_79 (date__to_ VARCHAR, date__from_ VARCHAR)
SELECT date__to_ FROM table_name_79 WHERE date__from_ = "30 sep 1913"
Which date has date started from 30 Sep 1913?
<s>[INST]Which date has date started from 30 Sep 1913? Context: CREATE TABLE table_name_79 (date__to_ VARCHAR, date__from_ VARCHAR)[/INST]SELECT date__to_ FROM table_name_79 WHERE date__from_ = "30 sep 1913"</s>
CREATE TABLE table_name_26 (result VARCHAR, party VARCHAR, first_elected VARCHAR)
SELECT result FROM table_name_26 WHERE party = "republican" AND first_elected < 1856
Which Result has a Party of republican, and a First elected smaller than 1856?
<s>[INST]Which Result has a Party of republican, and a First elected smaller than 1856? Context: CREATE TABLE table_name_26 (result VARCHAR, party VARCHAR, first_elected VARCHAR)[/INST]SELECT result FROM table_name_26 WHERE party = "republican" AND first_elected < 1856</s>
CREATE TABLE table_1473672_5 (player VARCHAR, nhl_team VARCHAR)
SELECT player FROM table_1473672_5 WHERE nhl_team = "Minnesota North Stars"
What player was picked by the Minnesota North Stars?
<s>[INST]What player was picked by the Minnesota North Stars? Context: CREATE TABLE table_1473672_5 (player VARCHAR, nhl_team VARCHAR)[/INST]SELECT player FROM table_1473672_5 WHERE nhl_team = "Minnesota North Stars"</s>
CREATE TABLE table_28243691_2 (institution VARCHAR, location VARCHAR)
SELECT institution FROM table_28243691_2 WHERE location = "Huntsville, Texas"
What school is located in Huntsville, Texas?
<s>[INST]What school is located in Huntsville, Texas? Context: CREATE TABLE table_28243691_2 (institution VARCHAR, location VARCHAR)[/INST]SELECT institution FROM table_28243691_2 WHERE location = "Huntsville, Texas"</s>
CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT MIN(gold) FROM table_name_24 WHERE bronze = 0 AND total < 2 AND silver < 0
What is the lowest gold when there are 0 bronze and the total is less than 2, and silver is less than 0?
<s>[INST]What is the lowest gold when there are 0 bronze and the total is less than 2, and silver is less than 0? Context: CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_24 WHERE bronze = 0 AND total < 2 AND silver < 0</s>
CREATE TABLE table_name_94 (school_club_team VARCHAR, wnba_team VARCHAR)
SELECT school_club_team FROM table_name_94 WHERE wnba_team = "sacramento monarchs"
What school or club team did the player chosen for the Sacramento Monarchs play for?
<s>[INST]What school or club team did the player chosen for the Sacramento Monarchs play for? Context: CREATE TABLE table_name_94 (school_club_team VARCHAR, wnba_team VARCHAR)[/INST]SELECT school_club_team FROM table_name_94 WHERE wnba_team = "sacramento monarchs"</s>
CREATE TABLE table_name_26 (sanskrit VARCHAR, english VARCHAR)
SELECT sanskrit FROM table_name_26 WHERE english = "mindfulness of breathing"
Which Sanskrit has an English of mindfulness of breathing?
<s>[INST]Which Sanskrit has an English of mindfulness of breathing? Context: CREATE TABLE table_name_26 (sanskrit VARCHAR, english VARCHAR)[/INST]SELECT sanskrit FROM table_name_26 WHERE english = "mindfulness of breathing"</s>
CREATE TABLE table_name_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR)
SELECT SUM(erp_w) FROM table_name_56 WHERE class = "d" AND frequency_mhz = 98.7
Name the sum of ERP W for class of d and frequency mhz of 98.7
<s>[INST]Name the sum of ERP W for class of d and frequency mhz of 98.7 Context: CREATE TABLE table_name_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT SUM(erp_w) FROM table_name_56 WHERE class = "d" AND frequency_mhz = 98.7</s>
CREATE TABLE student (stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (major VARCHAR, age VARCHAR, stuid VARCHAR)
SELECT major, age FROM student WHERE NOT stuid IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')
Find the major and age of students who do not have a cat pet.
<s>[INST]Find the major and age of students who do not have a cat pet. Context: CREATE TABLE student (stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (major VARCHAR, age VARCHAR, stuid VARCHAR)[/INST]SELECT major, age FROM student WHERE NOT stuid IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')</s>
CREATE TABLE table_name_23 (director VARCHAR, original_title VARCHAR)
SELECT director FROM table_name_23 WHERE original_title = "la ronde"
what is the director of la ronde
<s>[INST]what is the director of la ronde Context: CREATE TABLE table_name_23 (director VARCHAR, original_title VARCHAR)[/INST]SELECT director FROM table_name_23 WHERE original_title = "la ronde"</s>
CREATE TABLE table_25355501_2 (november_3 VARCHAR, january_15_16 VARCHAR)
SELECT COUNT(november_3) FROM table_25355501_2 WHERE january_15_16 = "141"
How many entries are shown for november 3 when january 15-16 is 141?
<s>[INST]How many entries are shown for november 3 when january 15-16 is 141? Context: CREATE TABLE table_25355501_2 (november_3 VARCHAR, january_15_16 VARCHAR)[/INST]SELECT COUNT(november_3) FROM table_25355501_2 WHERE january_15_16 = "141"</s>
CREATE TABLE table_name_73 (gold_medals VARCHAR, ensemble VARCHAR, silver_medals VARCHAR)
SELECT COUNT(gold_medals) FROM table_name_73 WHERE ensemble = "bellbrook hs" AND silver_medals < 1
How many gold medals for bellbrook HS with less than 1 silver?
<s>[INST]How many gold medals for bellbrook HS with less than 1 silver? Context: CREATE TABLE table_name_73 (gold_medals VARCHAR, ensemble VARCHAR, silver_medals VARCHAR)[/INST]SELECT COUNT(gold_medals) FROM table_name_73 WHERE ensemble = "bellbrook hs" AND silver_medals < 1</s>
CREATE TABLE table_1342292_2 (incumbent VARCHAR, candidates VARCHAR)
SELECT incumbent FROM table_1342292_2 WHERE candidates = "Sam Hobbs (D) 88.2% C. W. McKay (R) 11.8%"
what's the incumbent with candidates being sam hobbs (d) 88.2% c. w. mckay (r) 11.8%
<s>[INST]what's the incumbent with candidates being sam hobbs (d) 88.2% c. w. mckay (r) 11.8% Context: CREATE TABLE table_1342292_2 (incumbent VARCHAR, candidates VARCHAR)[/INST]SELECT incumbent FROM table_1342292_2 WHERE candidates = "Sam Hobbs (D) 88.2% C. W. McKay (R) 11.8%"</s>
CREATE TABLE table_10706961_2 (rd INTEGER, pole_position VARCHAR)
SELECT MAX(rd) FROM table_10706961_2 WHERE pole_position = "Tom Sneva"
What is the highest Rd that Tom Sneva had the pole position in?
<s>[INST]What is the highest Rd that Tom Sneva had the pole position in? Context: CREATE TABLE table_10706961_2 (rd INTEGER, pole_position VARCHAR)[/INST]SELECT MAX(rd) FROM table_10706961_2 WHERE pole_position = "Tom Sneva"</s>
CREATE TABLE table_name_86 (year INTEGER, tournament VARCHAR, result VARCHAR)
SELECT MIN(year) FROM table_name_86 WHERE tournament = "european indoor championships" AND result = "3rd"
Name the least year for european indoor championships result of 3rd
<s>[INST]Name the least year for european indoor championships result of 3rd Context: CREATE TABLE table_name_86 (year INTEGER, tournament VARCHAR, result VARCHAR)[/INST]SELECT MIN(year) FROM table_name_86 WHERE tournament = "european indoor championships" AND result = "3rd"</s>
CREATE TABLE table_name_49 (type VARCHAR, category VARCHAR, attribute VARCHAR)
SELECT type FROM table_name_49 WHERE category = "mouse" AND attribute = "ondblclick"
Tell me the type for category of mouse and attribute of ondblclick
<s>[INST]Tell me the type for category of mouse and attribute of ondblclick Context: CREATE TABLE table_name_49 (type VARCHAR, category VARCHAR, attribute VARCHAR)[/INST]SELECT type FROM table_name_49 WHERE category = "mouse" AND attribute = "ondblclick"</s>
CREATE TABLE table_name_75 (total INTEGER, silver INTEGER)
SELECT MIN(total) FROM table_name_75 WHERE silver > 1
What is the smallest total for a nation with more than 1 silver?
<s>[INST]What is the smallest total for a nation with more than 1 silver? Context: CREATE TABLE table_name_75 (total INTEGER, silver INTEGER)[/INST]SELECT MIN(total) FROM table_name_75 WHERE silver > 1</s>
CREATE TABLE table_name_33 (total_points VARCHAR)
SELECT MIN(1985 AS _1986) FROM table_name_33 WHERE total_points = 124
What is the lowest total for 1985-1986 when the total points are 124?
<s>[INST]What is the lowest total for 1985-1986 when the total points are 124? Context: CREATE TABLE table_name_33 (total_points VARCHAR)[/INST]SELECT MIN(1985 AS _1986) FROM table_name_33 WHERE total_points = 124</s>
CREATE TABLE table_name_41 (points INTEGER, year VARCHAR, entrant VARCHAR, engine VARCHAR)
SELECT MIN(points) FROM table_name_41 WHERE entrant = "goulds' garage (bristol)" AND engine = "maserati straight-6" AND year < 1956
What is the fewest number of points scored by Goulds' Garage (Bristol), engines of Maserati Straight-6, in years before 1956?
<s>[INST]What is the fewest number of points scored by Goulds' Garage (Bristol), engines of Maserati Straight-6, in years before 1956? Context: CREATE TABLE table_name_41 (points INTEGER, year VARCHAR, entrant VARCHAR, engine VARCHAR)[/INST]SELECT MIN(points) FROM table_name_41 WHERE entrant = "goulds' garage (bristol)" AND engine = "maserati straight-6" AND year < 1956</s>
CREATE TABLE table_11214772_1 (score VARCHAR, year VARCHAR)
SELECT score FROM table_11214772_1 WHERE year = "2007"
what's the score where year is 2007
<s>[INST] what's the score where year is 2007 Context: CREATE TABLE table_11214772_1 (score VARCHAR, year VARCHAR)[/INST]SELECT score FROM table_11214772_1 WHERE year = "2007"</s>
CREATE TABLE table_name_83 (year_active VARCHAR, role VARCHAR)
SELECT year_active FROM table_name_83 WHERE role = "rachel"
What year was the role of Rachel active in TV?
<s>[INST]What year was the role of Rachel active in TV? Context: CREATE TABLE table_name_83 (year_active VARCHAR, role VARCHAR)[/INST]SELECT year_active FROM table_name_83 WHERE role = "rachel"</s>
CREATE TABLE table_name_3 (inhabitants VARCHAR, election VARCHAR, party VARCHAR, mayor VARCHAR)
SELECT COUNT(inhabitants) FROM table_name_3 WHERE party = "democratic party" AND mayor = "stefano cimatti" AND election < 2009
How many Inhabitants were in the democratic party for an election before 2009 for Mayor of stefano cimatti?
<s>[INST]How many Inhabitants were in the democratic party for an election before 2009 for Mayor of stefano cimatti? Context: CREATE TABLE table_name_3 (inhabitants VARCHAR, election VARCHAR, party VARCHAR, mayor VARCHAR)[/INST]SELECT COUNT(inhabitants) FROM table_name_3 WHERE party = "democratic party" AND mayor = "stefano cimatti" AND election < 2009</s>
CREATE TABLE table_name_66 (time VARCHAR, notes VARCHAR, country VARCHAR)
SELECT time FROM table_name_66 WHERE notes = "sa/b" AND country = "great britain"
What is the Time of the Great Britain players with Notes of SA/B?
<s>[INST]What is the Time of the Great Britain players with Notes of SA/B? Context: CREATE TABLE table_name_66 (time VARCHAR, notes VARCHAR, country VARCHAR)[/INST]SELECT time FROM table_name_66 WHERE notes = "sa/b" AND country = "great britain"</s>
CREATE TABLE university (LOCATION VARCHAR)
SELECT COUNT(*) FROM university WHERE LOCATION LIKE "%NY%"
Find how many school locations have the word 'NY'.
<s>[INST]Find how many school locations have the word 'NY'. Context: CREATE TABLE university (LOCATION VARCHAR)[/INST]SELECT COUNT(*) FROM university WHERE LOCATION LIKE "%NY%"</s>
CREATE TABLE publication (Book_ID VARCHAR, Price INTEGER); CREATE TABLE book (Writer VARCHAR, Book_ID VARCHAR)
SELECT T1.Writer FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID WHERE T2.Price > 4000000
Show writers who have published a book with price more than 4000000.
<s>[INST]Show writers who have published a book with price more than 4000000. Context: CREATE TABLE publication (Book_ID VARCHAR, Price INTEGER); CREATE TABLE book (Writer VARCHAR, Book_ID VARCHAR)[/INST]SELECT T1.Writer FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID WHERE T2.Price > 4000000</s>
CREATE TABLE table_25580292_13 (stage VARCHAR, winner VARCHAR)
SELECT stage FROM table_25580292_13 WHERE winner = "Luis León Sánchez"
What was the stage when the winner was luis león sánchez?
<s>[INST]What was the stage when the winner was luis león sánchez? Context: CREATE TABLE table_25580292_13 (stage VARCHAR, winner VARCHAR)[/INST]SELECT stage FROM table_25580292_13 WHERE winner = "Luis León Sánchez"</s>
CREATE TABLE table_24786958_2 (attendance INTEGER, game_site VARCHAR)
SELECT MIN(attendance) FROM table_24786958_2 WHERE game_site = "Jahn-Sportpark"
How many people attended the game at Jahn-sportpark?
<s>[INST]How many people attended the game at Jahn-sportpark? Context: CREATE TABLE table_24786958_2 (attendance INTEGER, game_site VARCHAR)[/INST]SELECT MIN(attendance) FROM table_24786958_2 WHERE game_site = "Jahn-Sportpark"</s>
CREATE TABLE table_name_53 (video VARCHAR, psip_short_name VARCHAR)
SELECT video FROM table_name_53 WHERE psip_short_name = "rt"
Which Video has a PSIP Short Name of rt?
<s>[INST]Which Video has a PSIP Short Name of rt? Context: CREATE TABLE table_name_53 (video VARCHAR, psip_short_name VARCHAR)[/INST]SELECT video FROM table_name_53 WHERE psip_short_name = "rt"</s>
CREATE TABLE table_16275828_4 (sanction VARCHAR, track_name VARCHAR)
SELECT sanction FROM table_16275828_4 WHERE track_name = "Fayette County Speedway"
Who sanctioned the event at fayette county speedway?
<s>[INST]Who sanctioned the event at fayette county speedway? Context: CREATE TABLE table_16275828_4 (sanction VARCHAR, track_name VARCHAR)[/INST]SELECT sanction FROM table_16275828_4 WHERE track_name = "Fayette County Speedway"</s>
CREATE TABLE table_name_4 (internet_explorer VARCHAR, opera VARCHAR, period VARCHAR)
SELECT internet_explorer FROM table_name_4 WHERE opera = "1.67%" AND period = "2012 q1"
What internet explorer has 1.67% as the opera, with 2012 q1 as the period?
<s>[INST]What internet explorer has 1.67% as the opera, with 2012 q1 as the period? Context: CREATE TABLE table_name_4 (internet_explorer VARCHAR, opera VARCHAR, period VARCHAR)[/INST]SELECT internet_explorer FROM table_name_4 WHERE opera = "1.67%" AND period = "2012 q1"</s>
CREATE TABLE table_name_63 (total VARCHAR, to_par VARCHAR)
SELECT total FROM table_name_63 WHERE to_par = "+4"
What is the total with a +4 to par?
<s>[INST]What is the total with a +4 to par? Context: CREATE TABLE table_name_63 (total VARCHAR, to_par VARCHAR)[/INST]SELECT total FROM table_name_63 WHERE to_par = "+4"</s>