context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_9 (overall INTEGER, name VARCHAR, pick__number VARCHAR)
SELECT MAX(overall) FROM table_name_9 WHERE name = "gregory spann" AND pick__number > 19
Which Overall is the highest one that has a Name of gregory spann, and a Pick # larger than 19?
<s>[INST]Which Overall is the highest one that has a Name of gregory spann, and a Pick # larger than 19? Context: CREATE TABLE table_name_9 (overall INTEGER, name VARCHAR, pick__number VARCHAR)[/INST]SELECT MAX(overall) FROM table_name_9 WHERE name = "gregory spann" AND pick__number > 19</s>
CREATE TABLE table_15581223_8 (fum_rec INTEGER)
SELECT MIN(fum_rec) AS TD FROM table_15581223_8
Name the least fum rec td
<s>[INST]Name the least fum rec td Context: CREATE TABLE table_15581223_8 (fum_rec INTEGER)[/INST]SELECT MIN(fum_rec) AS TD FROM table_15581223_8</s>
CREATE TABLE table_name_96 (pick VARCHAR, round VARCHAR, position VARCHAR, player VARCHAR)
SELECT COUNT(pick) FROM table_name_96 WHERE position = "offensive guard" AND player = "reggie mckenzie" AND round > 2
Which Pick has a Position of offensive guard, a Player of reggie mckenzie, and a Round larger than 2?
<s>[INST]Which Pick has a Position of offensive guard, a Player of reggie mckenzie, and a Round larger than 2? Context: CREATE TABLE table_name_96 (pick VARCHAR, round VARCHAR, position VARCHAR, player VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_96 WHERE position = "offensive guard" AND player = "reggie mckenzie" AND round > 2</s>
CREATE TABLE table_name_42 (challenge_leader VARCHAR, time VARCHAR, date VARCHAR)
SELECT challenge_leader FROM table_name_42 WHERE time = "9:30 pm" AND date = "wed., nov. 28"
Who is the challenge leader that played on 9:30 pm on Wed., Nov. 28?
<s>[INST]Who is the challenge leader that played on 9:30 pm on Wed., Nov. 28? Context: CREATE TABLE table_name_42 (challenge_leader VARCHAR, time VARCHAR, date VARCHAR)[/INST]SELECT challenge_leader FROM table_name_42 WHERE time = "9:30 pm" AND date = "wed., nov. 28"</s>
CREATE TABLE table_name_3 (qual VARCHAR, laps INTEGER)
SELECT qual FROM table_name_3 WHERE laps < 68
What is the Qual with less than 68 laps?
<s>[INST]What is the Qual with less than 68 laps? Context: CREATE TABLE table_name_3 (qual VARCHAR, laps INTEGER)[/INST]SELECT qual FROM table_name_3 WHERE laps < 68</s>
CREATE TABLE table_name_75 (game INTEGER, date VARCHAR)
SELECT SUM(game) FROM table_name_75 WHERE date = "june 29"
what is the game on june 29?
<s>[INST]what is the game on june 29? Context: CREATE TABLE table_name_75 (game INTEGER, date VARCHAR)[/INST]SELECT SUM(game) FROM table_name_75 WHERE date = "june 29"</s>
CREATE TABLE table_name_41 (position VARCHAR, driver VARCHAR)
SELECT position FROM table_name_41 WHERE driver = "bib stillwell"
Can you tell me the Position that has the Driver of bib stillwell?
<s>[INST]Can you tell me the Position that has the Driver of bib stillwell? Context: CREATE TABLE table_name_41 (position VARCHAR, driver VARCHAR)[/INST]SELECT position FROM table_name_41 WHERE driver = "bib stillwell"</s>
CREATE TABLE table_18335117_3 (director VARCHAR, no_in_series VARCHAR)
SELECT director FROM table_18335117_3 WHERE no_in_series = 1
When 1 is the number in series who is the director?
<s>[INST]When 1 is the number in series who is the director? Context: CREATE TABLE table_18335117_3 (director VARCHAR, no_in_series VARCHAR)[/INST]SELECT director FROM table_18335117_3 WHERE no_in_series = 1</s>
CREATE TABLE table_256286_14 (no_votes INTEGER)
SELECT MAX(no_votes) FROM table_256286_14
Name the most no votes
<s>[INST]Name the most no votes Context: CREATE TABLE table_256286_14 (no_votes INTEGER)[/INST]SELECT MAX(no_votes) FROM table_256286_14</s>
CREATE TABLE SECTION (semester VARCHAR, YEAR VARCHAR)
SELECT semester, YEAR FROM SECTION GROUP BY semester, YEAR ORDER BY COUNT(*) DESC LIMIT 1
Find the year and semester when offers the largest number of courses.
<s>[INST]Find the year and semester when offers the largest number of courses. Context: CREATE TABLE SECTION (semester VARCHAR, YEAR VARCHAR)[/INST]SELECT semester, YEAR FROM SECTION GROUP BY semester, YEAR ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE captain (ship_id VARCHAR); CREATE TABLE ship (name VARCHAR, ship_id VARCHAR)
SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id GROUP BY t2.ship_id HAVING COUNT(*) > 1
Find the name of the ships that have more than one captain.
<s>[INST]Find the name of the ships that have more than one captain. Context: CREATE TABLE captain (ship_id VARCHAR); CREATE TABLE ship (name VARCHAR, ship_id VARCHAR)[/INST]SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id GROUP BY t2.ship_id HAVING COUNT(*) > 1</s>
CREATE TABLE table_name_56 (score VARCHAR, high_points VARCHAR)
SELECT score FROM table_name_56 WHERE high_points = "raymond felton (32)"
Which Score has High points of raymond felton (32)?
<s>[INST]Which Score has High points of raymond felton (32)? Context: CREATE TABLE table_name_56 (score VARCHAR, high_points VARCHAR)[/INST]SELECT score FROM table_name_56 WHERE high_points = "raymond felton (32)"</s>
CREATE TABLE table_name_7 (music VARCHAR, result VARCHAR)
SELECT music FROM table_name_7 WHERE result = "eliminated"
What was the music of the team that was eliminated?
<s>[INST]What was the music of the team that was eliminated? Context: CREATE TABLE table_name_7 (music VARCHAR, result VARCHAR)[/INST]SELECT music FROM table_name_7 WHERE result = "eliminated"</s>
CREATE TABLE table_name_33 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_33 WHERE game = 4
Which Date has a Game of 4?
<s>[INST]Which Date has a Game of 4? Context: CREATE TABLE table_name_33 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE game = 4</s>
CREATE TABLE table_name_72 (december VARCHAR, november VARCHAR)
SELECT december FROM table_name_72 WHERE november = "marlene janssen"
Who is the December playmate with a November playmate Marlene Janssen?
<s>[INST]Who is the December playmate with a November playmate Marlene Janssen? Context: CREATE TABLE table_name_72 (december VARCHAR, november VARCHAR)[/INST]SELECT december FROM table_name_72 WHERE november = "marlene janssen"</s>
CREATE TABLE table_name_46 (type VARCHAR, name VARCHAR)
SELECT type FROM table_name_46 WHERE name = "l. publilius philo vulscus"
What is the Type for l. publilius philo vulscus?
<s>[INST]What is the Type for l. publilius philo vulscus? Context: CREATE TABLE table_name_46 (type VARCHAR, name VARCHAR)[/INST]SELECT type FROM table_name_46 WHERE name = "l. publilius philo vulscus"</s>
CREATE TABLE table_16654785_2 (average_climb___percentage_ INTEGER, name VARCHAR)
SELECT MIN(average_climb___percentage_) FROM table_16654785_2 WHERE name = "Tenbosse"
What is the average climb for Tenbosse?
<s>[INST]What is the average climb for Tenbosse? Context: CREATE TABLE table_16654785_2 (average_climb___percentage_ INTEGER, name VARCHAR)[/INST]SELECT MIN(average_climb___percentage_) FROM table_16654785_2 WHERE name = "Tenbosse"</s>
CREATE TABLE table_25213146_2 (date VARCHAR, winning_team VARCHAR)
SELECT date FROM table_25213146_2 WHERE winning_team = "Prema Powerteam"
On what date(s) was the winning team Prema Powerteam?
<s>[INST]On what date(s) was the winning team Prema Powerteam? Context: CREATE TABLE table_25213146_2 (date VARCHAR, winning_team VARCHAR)[/INST]SELECT date FROM table_25213146_2 WHERE winning_team = "Prema Powerteam"</s>
CREATE TABLE table_28715942_2 (track_no VARCHAR, track VARCHAR)
SELECT COUNT(track_no) FROM table_28715942_2 WHERE track = "Let Love Be Your Energy"
How many tracks have the title let love be your energy?
<s>[INST]How many tracks have the title let love be your energy? Context: CREATE TABLE table_28715942_2 (track_no VARCHAR, track VARCHAR)[/INST]SELECT COUNT(track_no) FROM table_28715942_2 WHERE track = "Let Love Be Your Energy"</s>
CREATE TABLE table_28802165_1 (poor_law_union VARCHAR, townland VARCHAR)
SELECT poor_law_union FROM table_28802165_1 WHERE townland = "Marshalstown"
What is the poor law union on Marshalstown?
<s>[INST]What is the poor law union on Marshalstown? Context: CREATE TABLE table_28802165_1 (poor_law_union VARCHAR, townland VARCHAR)[/INST]SELECT poor_law_union FROM table_28802165_1 WHERE townland = "Marshalstown"</s>
CREATE TABLE table_name_33 (attendance VARCHAR, score VARCHAR)
SELECT attendance FROM table_name_33 WHERE score = "† 4–4 †"
How many were in attendance when the score was † 4–4 †?
<s>[INST]How many were in attendance when the score was † 4–4 †? Context: CREATE TABLE table_name_33 (attendance VARCHAR, score VARCHAR)[/INST]SELECT attendance FROM table_name_33 WHERE score = "† 4–4 †"</s>
CREATE TABLE table_name_81 (kickoff VARCHAR, opponent VARCHAR)
SELECT kickoff FROM table_name_81 WHERE opponent = "miami dolphins"
What is the kickoff time for the Miami Dolphins?
<s>[INST]What is the kickoff time for the Miami Dolphins? Context: CREATE TABLE table_name_81 (kickoff VARCHAR, opponent VARCHAR)[/INST]SELECT kickoff FROM table_name_81 WHERE opponent = "miami dolphins"</s>
CREATE TABLE table_name_81 (year VARCHAR, winner VARCHAR)
SELECT COUNT(year) FROM table_name_81 WHERE winner = "johnathan gray"
What is the total number of Year, when Winner is "Johnathan Gray"?
<s>[INST]What is the total number of Year, when Winner is "Johnathan Gray"? Context: CREATE TABLE table_name_81 (year VARCHAR, winner VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_81 WHERE winner = "johnathan gray"</s>
CREATE TABLE table_name_7 (draws VARCHAR, golden_rivers VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT COUNT(draws) FROM table_name_7 WHERE losses > 11 AND wins < 4 AND golden_rivers = "wakool"
What is the total number of draws for Wakool when there are more than 11 losses and fewer than 4 wins?
<s>[INST]What is the total number of draws for Wakool when there are more than 11 losses and fewer than 4 wins? Context: CREATE TABLE table_name_7 (draws VARCHAR, golden_rivers VARCHAR, losses VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(draws) FROM table_name_7 WHERE losses > 11 AND wins < 4 AND golden_rivers = "wakool"</s>
CREATE TABLE table_name_64 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_64 WHERE date = "23 july 1992"
I want the venue for 23 july 1992
<s>[INST]I want the venue for 23 july 1992 Context: CREATE TABLE table_name_64 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_64 WHERE date = "23 july 1992"</s>
CREATE TABLE table_name_5 (fastest_laps INTEGER, poles INTEGER)
SELECT AVG(fastest_laps) FROM table_name_5 WHERE poles < 0
What was the average number of fastest laps with less than 0 poles?
<s>[INST]What was the average number of fastest laps with less than 0 poles? Context: CREATE TABLE table_name_5 (fastest_laps INTEGER, poles INTEGER)[/INST]SELECT AVG(fastest_laps) FROM table_name_5 WHERE poles < 0</s>
CREATE TABLE table_name_28 (away VARCHAR, club VARCHAR)
SELECT away FROM table_name_28 WHERE club = "ekranas"
The Club of Ekranas was an away with a score of what?
<s>[INST]The Club of Ekranas was an away with a score of what? Context: CREATE TABLE table_name_28 (away VARCHAR, club VARCHAR)[/INST]SELECT away FROM table_name_28 WHERE club = "ekranas"</s>
CREATE TABLE table_name_9 (enrollment VARCHAR, mascot VARCHAR)
SELECT enrollment FROM table_name_9 WHERE mascot = "fighting '59ers"
What is the enrollment for the school with the mascot of the Fighting '59ers?
<s>[INST]What is the enrollment for the school with the mascot of the Fighting '59ers? Context: CREATE TABLE table_name_9 (enrollment VARCHAR, mascot VARCHAR)[/INST]SELECT enrollment FROM table_name_9 WHERE mascot = "fighting '59ers"</s>
CREATE TABLE table_name_28 (model_no VARCHAR, manufacturer VARCHAR)
SELECT model_no FROM table_name_28 WHERE manufacturer = "bombardier"
Which model number does bombardier manufacture?
<s>[INST]Which model number does bombardier manufacture? Context: CREATE TABLE table_name_28 (model_no VARCHAR, manufacturer VARCHAR)[/INST]SELECT model_no FROM table_name_28 WHERE manufacturer = "bombardier"</s>
CREATE TABLE table_name_13 (number_in_class INTEGER, owner VARCHAR)
SELECT SUM(number_in_class) FROM table_name_13 WHERE owner = "whitehaven coal"
What is the total number in class for the Whitehaven Coal?
<s>[INST]What is the total number in class for the Whitehaven Coal? Context: CREATE TABLE table_name_13 (number_in_class INTEGER, owner VARCHAR)[/INST]SELECT SUM(number_in_class) FROM table_name_13 WHERE owner = "whitehaven coal"</s>
CREATE TABLE table_name_36 (verb_meaning VARCHAR, part_2 VARCHAR)
SELECT verb_meaning FROM table_name_36 WHERE part_2 = "band"
What is the verb meaning when part 2 is band?
<s>[INST]What is the verb meaning when part 2 is band? Context: CREATE TABLE table_name_36 (verb_meaning VARCHAR, part_2 VARCHAR)[/INST]SELECT verb_meaning FROM table_name_36 WHERE part_2 = "band"</s>
CREATE TABLE table_name_27 (dates VARCHAR, lifetime_achievement VARCHAR)
SELECT dates FROM table_name_27 WHERE lifetime_achievement = "jim jarmusch"
On what dates did Jim Jarmusch win the Lifetime Achievement?
<s>[INST]On what dates did Jim Jarmusch win the Lifetime Achievement? Context: CREATE TABLE table_name_27 (dates VARCHAR, lifetime_achievement VARCHAR)[/INST]SELECT dates FROM table_name_27 WHERE lifetime_achievement = "jim jarmusch"</s>
CREATE TABLE ship (Id VARCHAR); CREATE TABLE death (killed VARCHAR, injured VARCHAR, caused_by_ship_id VARCHAR)
SELECT T1.killed, T1.injured FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id WHERE T2.tonnage = 't'
What are the death and injury situations caused by the ship with tonnage 't'?
<s>[INST]What are the death and injury situations caused by the ship with tonnage 't'? Context: CREATE TABLE ship (Id VARCHAR); CREATE TABLE death (killed VARCHAR, injured VARCHAR, caused_by_ship_id VARCHAR)[/INST]SELECT T1.killed, T1.injured FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id WHERE T2.tonnage = 't'</s>
CREATE TABLE table_name_40 (premierships VARCHAR, venue VARCHAR)
SELECT premierships FROM table_name_40 WHERE venue = "queensland raceway"
How many premierships for the queensland raceway?
<s>[INST]How many premierships for the queensland raceway? Context: CREATE TABLE table_name_40 (premierships VARCHAR, venue VARCHAR)[/INST]SELECT premierships FROM table_name_40 WHERE venue = "queensland raceway"</s>
CREATE TABLE table_name_88 (laps VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_88 WHERE grid = 14
What is the number of laps for Grid 14?
<s>[INST]What is the number of laps for Grid 14? Context: CREATE TABLE table_name_88 (laps VARCHAR, grid VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_88 WHERE grid = 14</s>
CREATE TABLE table_name_10 (Id VARCHAR)
SELECT 2004 FROM table_name_10 WHERE 2011 = "q1"
What is the 2004 tournament that has a Q1 of 2011?
<s>[INST]What is the 2004 tournament that has a Q1 of 2011? Context: CREATE TABLE table_name_10 (Id VARCHAR)[/INST]SELECT 2004 FROM table_name_10 WHERE 2011 = "q1"</s>
CREATE TABLE table_27450976_1 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_27450976_1 WHERE production_code = "2J5504"
What is the title of the episode with a production code of 2j5504?
<s>[INST]What is the title of the episode with a production code of 2j5504? Context: CREATE TABLE table_27450976_1 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_27450976_1 WHERE production_code = "2J5504"</s>
CREATE TABLE table_name_25 (fa_cup INTEGER, total VARCHAR, malaysia_cup VARCHAR, player VARCHAR)
SELECT MAX(fa_cup) FROM table_name_25 WHERE malaysia_cup = 0 AND player = "ahmad fouzee masuri" AND total > 0
Which FA Cup is the highest one that has a Malaysia Cup of 0, and a Player of ahmad fouzee masuri, and a Total larger than 0?
<s>[INST]Which FA Cup is the highest one that has a Malaysia Cup of 0, and a Player of ahmad fouzee masuri, and a Total larger than 0? Context: CREATE TABLE table_name_25 (fa_cup INTEGER, total VARCHAR, malaysia_cup VARCHAR, player VARCHAR)[/INST]SELECT MAX(fa_cup) FROM table_name_25 WHERE malaysia_cup = 0 AND player = "ahmad fouzee masuri" AND total > 0</s>
CREATE TABLE TV_Channel (id VARCHAR, channel VARCHAR, directed_by VARCHAR); CREATE TABLE cartoon (id VARCHAR, channel VARCHAR, directed_by VARCHAR)
SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'
find the id of tv channels that do not play any cartoon directed by Ben Jones.
<s>[INST]find the id of tv channels that do not play any cartoon directed by Ben Jones. Context: CREATE TABLE TV_Channel (id VARCHAR, channel VARCHAR, directed_by VARCHAR); CREATE TABLE cartoon (id VARCHAR, channel VARCHAR, directed_by VARCHAR)[/INST]SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'</s>
CREATE TABLE table_name_33 (flagship VARCHAR, host_s_ VARCHAR)
SELECT flagship FROM table_name_33 WHERE host_s_ = "rover (shane french)"
What is the Flagship of the Show Hosted by Rover (Shane French)?
<s>[INST]What is the Flagship of the Show Hosted by Rover (Shane French)? Context: CREATE TABLE table_name_33 (flagship VARCHAR, host_s_ VARCHAR)[/INST]SELECT flagship FROM table_name_33 WHERE host_s_ = "rover (shane french)"</s>
CREATE TABLE table_name_13 (date VARCHAR, race_title VARCHAR)
SELECT date FROM table_name_13 WHERE race_title = "grand prix de monaco"
When did the Grand Prix de Monaco race?
<s>[INST]When did the Grand Prix de Monaco race? Context: CREATE TABLE table_name_13 (date VARCHAR, race_title VARCHAR)[/INST]SELECT date FROM table_name_13 WHERE race_title = "grand prix de monaco"</s>
CREATE TABLE table_191105_3 (music_by VARCHAR, episode_title VARCHAR)
SELECT music_by FROM table_191105_3 WHERE episode_title = "Interplanet Janet"
When interplanet janet is the episode title who is the music by?
<s>[INST]When interplanet janet is the episode title who is the music by? Context: CREATE TABLE table_191105_3 (music_by VARCHAR, episode_title VARCHAR)[/INST]SELECT music_by FROM table_191105_3 WHERE episode_title = "Interplanet Janet"</s>
CREATE TABLE table_name_52 (week INTEGER, opponent VARCHAR)
SELECT MAX(week) FROM table_name_52 WHERE opponent = "green bay packers"
Which week with Green Bay Packers as an opponent is the highest?
<s>[INST]Which week with Green Bay Packers as an opponent is the highest? Context: CREATE TABLE table_name_52 (week INTEGER, opponent VARCHAR)[/INST]SELECT MAX(week) FROM table_name_52 WHERE opponent = "green bay packers"</s>
CREATE TABLE table_21457754_2 (rr1_pts INTEGER)
SELECT MAX(rr1_pts) FROM table_21457754_2
Name the most rr 1 pts
<s>[INST]Name the most rr 1 pts Context: CREATE TABLE table_21457754_2 (rr1_pts INTEGER)[/INST]SELECT MAX(rr1_pts) FROM table_21457754_2</s>
CREATE TABLE table_30120633_1 (civil_parish VARCHAR, townland VARCHAR)
SELECT civil_parish FROM table_30120633_1 WHERE townland = "Ballymurphy North"
What is Ballymurphy North's civil parish?
<s>[INST]What is Ballymurphy North's civil parish? Context: CREATE TABLE table_30120633_1 (civil_parish VARCHAR, townland VARCHAR)[/INST]SELECT civil_parish FROM table_30120633_1 WHERE townland = "Ballymurphy North"</s>
CREATE TABLE table_20819379_2 (tie_no VARCHAR, team_2 VARCHAR)
SELECT COUNT(tie_no) FROM table_20819379_2 WHERE team_2 = "Osijek"
Name the total number of tie number for team 2 osijek
<s>[INST]Name the total number of tie number for team 2 osijek Context: CREATE TABLE table_20819379_2 (tie_no VARCHAR, team_2 VARCHAR)[/INST]SELECT COUNT(tie_no) FROM table_20819379_2 WHERE team_2 = "Osijek"</s>
CREATE TABLE table_name_95 (round VARCHAR, school_club_team VARCHAR, overall VARCHAR)
SELECT COUNT(round) FROM table_name_95 WHERE school_club_team = "tennessee state" AND overall < 261
What is the sum of all rounds where a Tennessee State player with an overall rank less than 261 was drafted?
<s>[INST]What is the sum of all rounds where a Tennessee State player with an overall rank less than 261 was drafted? Context: CREATE TABLE table_name_95 (round VARCHAR, school_club_team VARCHAR, overall VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_95 WHERE school_club_team = "tennessee state" AND overall < 261</s>
CREATE TABLE table_26826304_2 (timeslot VARCHAR, air_date VARCHAR)
SELECT timeslot FROM table_26826304_2 WHERE air_date = "October 22, 2009"
A what time was the title aired in October 22, 2009
<s>[INST]A what time was the title aired in October 22, 2009 Context: CREATE TABLE table_26826304_2 (timeslot VARCHAR, air_date VARCHAR)[/INST]SELECT timeslot FROM table_26826304_2 WHERE air_date = "October 22, 2009"</s>
CREATE TABLE table_25468520_1 (quantity VARCHAR, theme VARCHAR)
SELECT COUNT(quantity) FROM table_25468520_1 WHERE theme = "Roadside Attractions: Wawa Goose"
How many times is the theme roadside attractions: wawa goose?
<s>[INST]How many times is the theme roadside attractions: wawa goose? Context: CREATE TABLE table_25468520_1 (quantity VARCHAR, theme VARCHAR)[/INST]SELECT COUNT(quantity) FROM table_25468520_1 WHERE theme = "Roadside Attractions: Wawa Goose"</s>
CREATE TABLE table_name_45 (attendance INTEGER, leading_scorer VARCHAR, date VARCHAR)
SELECT SUM(attendance) FROM table_name_45 WHERE leading_scorer = "stephen jackson" AND date = "12/17"
How many attended the game on 12/17 with stephen jackson as the leading scorer?
<s>[INST]How many attended the game on 12/17 with stephen jackson as the leading scorer? Context: CREATE TABLE table_name_45 (attendance INTEGER, leading_scorer VARCHAR, date VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_45 WHERE leading_scorer = "stephen jackson" AND date = "12/17"</s>
CREATE TABLE table_27722408_6 (high_points VARCHAR, score VARCHAR)
SELECT COUNT(high_points) FROM table_27722408_6 WHERE score = "L 87–89 (OT)"
How many entries are shown for high points when the score was l 87–89 (ot)?
<s>[INST]How many entries are shown for high points when the score was l 87–89 (ot)? Context: CREATE TABLE table_27722408_6 (high_points VARCHAR, score VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_27722408_6 WHERE score = "L 87–89 (OT)"</s>
CREATE TABLE table_name_80 (jump_3 VARCHAR, jump_2 VARCHAR)
SELECT jump_3 FROM table_name_80 WHERE jump_2 = "7.06"
Who has a Jump 2 of 7.06, and what is this person's Jump 3?
<s>[INST]Who has a Jump 2 of 7.06, and what is this person's Jump 3? Context: CREATE TABLE table_name_80 (jump_3 VARCHAR, jump_2 VARCHAR)[/INST]SELECT jump_3 FROM table_name_80 WHERE jump_2 = "7.06"</s>
CREATE TABLE table_24212608_1 (radio_1_presenter VARCHAR, viewers__millions_ VARCHAR)
SELECT radio_1_presenter FROM table_24212608_1 WHERE viewers__millions_ = "9.73"
Who was the radio 1 presenter for the broadcast that had 9.73 million viewers?
<s>[INST]Who was the radio 1 presenter for the broadcast that had 9.73 million viewers? Context: CREATE TABLE table_24212608_1 (radio_1_presenter VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT radio_1_presenter FROM table_24212608_1 WHERE viewers__millions_ = "9.73"</s>
CREATE TABLE table_11585313_1 (name VARCHAR, number_of_goals VARCHAR)
SELECT name FROM table_11585313_1 WHERE number_of_goals = 10
What is the name of person that scored 10 goals?
<s>[INST]What is the name of person that scored 10 goals? Context: CREATE TABLE table_11585313_1 (name VARCHAR, number_of_goals VARCHAR)[/INST]SELECT name FROM table_11585313_1 WHERE number_of_goals = 10</s>
CREATE TABLE Rating (mID VARCHAR, stars VARCHAR); CREATE TABLE Movie (title VARCHAR, year VARCHAR, mID VARCHAR)
SELECT T2.title, T2.year FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID ORDER BY T1.stars DESC LIMIT 3
What are the names and years of the movies that has the top 3 highest rating star?
<s>[INST]What are the names and years of the movies that has the top 3 highest rating star? Context: CREATE TABLE Rating (mID VARCHAR, stars VARCHAR); CREATE TABLE Movie (title VARCHAR, year VARCHAR, mID VARCHAR)[/INST]SELECT T2.title, T2.year FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID ORDER BY T1.stars DESC LIMIT 3</s>
CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, age VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Theme VARCHAR, Journal_ID VARCHAR)
SELECT T2.Name, T2.age, T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID ORDER BY T3.Theme
Show the names and ages of editors and the theme of journals for which they serve on committees, in ascending alphabetical order of theme.
<s>[INST]Show the names and ages of editors and the theme of journals for which they serve on committees, in ascending alphabetical order of theme. Context: CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, age VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Theme VARCHAR, Journal_ID VARCHAR)[/INST]SELECT T2.Name, T2.age, T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID ORDER BY T3.Theme</s>
CREATE TABLE table_name_40 (rebuilt VARCHAR, name_as_rebuilt VARCHAR)
SELECT rebuilt FROM table_name_40 WHERE name_as_rebuilt = "binevanagh"
Which Rebuilt has a Name as rebuilt of binevanagh?
<s>[INST]Which Rebuilt has a Name as rebuilt of binevanagh? Context: CREATE TABLE table_name_40 (rebuilt VARCHAR, name_as_rebuilt VARCHAR)[/INST]SELECT rebuilt FROM table_name_40 WHERE name_as_rebuilt = "binevanagh"</s>
CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_8 WHERE visitor = "buffalo" AND date = "april 27"
Tell me the score on april 27 with visitor of buffalo
<s>[INST]Tell me the score on april 27 with visitor of buffalo Context: CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_8 WHERE visitor = "buffalo" AND date = "april 27"</s>
CREATE TABLE table_name_30 (premiere VARCHAR, rank VARCHAR)
SELECT premiere FROM table_name_30 WHERE rank = "#7"
When was the premiere of the show that had a rank of #7?
<s>[INST]When was the premiere of the show that had a rank of #7? Context: CREATE TABLE table_name_30 (premiere VARCHAR, rank VARCHAR)[/INST]SELECT premiere FROM table_name_30 WHERE rank = "#7"</s>
CREATE TABLE table_1341577_44 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341577_44 WHERE incumbent = "Lamar S. Smith"
Who were the candidates when Lamar S. Smith was incumbent?
<s>[INST]Who were the candidates when Lamar S. Smith was incumbent? Context: CREATE TABLE table_1341577_44 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341577_44 WHERE incumbent = "Lamar S. Smith"</s>
CREATE TABLE table_23211041_5 (high_points VARCHAR, game VARCHAR)
SELECT high_points FROM table_23211041_5 WHERE game = 4
Who had the most points in game 4?
<s>[INST]Who had the most points in game 4? Context: CREATE TABLE table_23211041_5 (high_points VARCHAR, game VARCHAR)[/INST]SELECT high_points FROM table_23211041_5 WHERE game = 4</s>
CREATE TABLE table_name_31 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_31 WHERE frequency_mhz < 106.5 AND call_sign = "w218ck"
Which city has frequency under 106.5MHz and a callsign of w218ck?
<s>[INST]Which city has frequency under 106.5MHz and a callsign of w218ck? Context: CREATE TABLE table_name_31 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)[/INST]SELECT city_of_license FROM table_name_31 WHERE frequency_mhz < 106.5 AND call_sign = "w218ck"</s>
CREATE TABLE table_name_32 (best_10_year_period VARCHAR, best_2_year_period VARCHAR)
SELECT best_10_year_period FROM table_name_32 WHERE best_2_year_period = "petrosian"
Which best 10-year period has a best 2-year period of petrosian?
<s>[INST]Which best 10-year period has a best 2-year period of petrosian? Context: CREATE TABLE table_name_32 (best_10_year_period VARCHAR, best_2_year_period VARCHAR)[/INST]SELECT best_10_year_period FROM table_name_32 WHERE best_2_year_period = "petrosian"</s>
CREATE TABLE table_name_93 (others VARCHAR, fidesz VARCHAR, jobbik VARCHAR)
SELECT others FROM table_name_93 WHERE fidesz = "62%" AND jobbik = "4%"
What is the percentage of others with a Fidesz of 62% and a Jobbik of 4%?
<s>[INST]What is the percentage of others with a Fidesz of 62% and a Jobbik of 4%? Context: CREATE TABLE table_name_93 (others VARCHAR, fidesz VARCHAR, jobbik VARCHAR)[/INST]SELECT others FROM table_name_93 WHERE fidesz = "62%" AND jobbik = "4%"</s>
CREATE TABLE table_20538157_2 (written_by VARCHAR, no_in_season VARCHAR)
SELECT written_by FROM table_20538157_2 WHERE no_in_season = 20
Who were the writers of episode 20?
<s>[INST]Who were the writers of episode 20? Context: CREATE TABLE table_20538157_2 (written_by VARCHAR, no_in_season VARCHAR)[/INST]SELECT written_by FROM table_20538157_2 WHERE no_in_season = 20</s>
CREATE TABLE table_name_22 (height VARCHAR, weight VARCHAR, spike VARCHAR, name VARCHAR)
SELECT COUNT(height) FROM table_name_22 WHERE spike < 340 AND name = "gilberto godoy filho" AND weight < 85
Weighing less than 85, with less than 340 Spikes, what is Gilberto Godoy Filho's Height
<s>[INST]Weighing less than 85, with less than 340 Spikes, what is Gilberto Godoy Filho's Height Context: CREATE TABLE table_name_22 (height VARCHAR, weight VARCHAR, spike VARCHAR, name VARCHAR)[/INST]SELECT COUNT(height) FROM table_name_22 WHERE spike < 340 AND name = "gilberto godoy filho" AND weight < 85</s>
CREATE TABLE table_name_31 (year INTEGER, issue_price VARCHAR)
SELECT AVG(year) FROM table_name_31 WHERE issue_price = "$1,295.95"
What was the year that had an issue price of $1,295.95?
<s>[INST]What was the year that had an issue price of $1,295.95? Context: CREATE TABLE table_name_31 (year INTEGER, issue_price VARCHAR)[/INST]SELECT AVG(year) FROM table_name_31 WHERE issue_price = "$1,295.95"</s>
CREATE TABLE table_name_49 (total_passengers INTEGER, annual_change VARCHAR, rank VARCHAR)
SELECT MAX(total_passengers) FROM table_name_49 WHERE annual_change = "18.3%" AND rank < 11
What is the highest Total Passengers when the annual change is 18.3%, and the rank is less than 11?
<s>[INST]What is the highest Total Passengers when the annual change is 18.3%, and the rank is less than 11? Context: CREATE TABLE table_name_49 (total_passengers INTEGER, annual_change VARCHAR, rank VARCHAR)[/INST]SELECT MAX(total_passengers) FROM table_name_49 WHERE annual_change = "18.3%" AND rank < 11</s>
CREATE TABLE table_name_51 (rank VARCHAR, years VARCHAR, goals VARCHAR)
SELECT COUNT(rank) FROM table_name_51 WHERE years = "1996–2007" AND goals > 108
What is the total number of Rank for 1996–2007, when there are more than 108 goals?
<s>[INST]What is the total number of Rank for 1996–2007, when there are more than 108 goals? Context: CREATE TABLE table_name_51 (rank VARCHAR, years VARCHAR, goals VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_51 WHERE years = "1996–2007" AND goals > 108</s>
CREATE TABLE table_name_79 (year INTEGER, winner VARCHAR)
SELECT MIN(year) FROM table_name_79 WHERE winner = "tcu"
What was the lowest year for TCU?
<s>[INST]What was the lowest year for TCU? Context: CREATE TABLE table_name_79 (year INTEGER, winner VARCHAR)[/INST]SELECT MIN(year) FROM table_name_79 WHERE winner = "tcu"</s>
CREATE TABLE table_22447251_2 (hometown VARCHAR, height VARCHAR)
SELECT COUNT(hometown) FROM table_22447251_2 WHERE height = "1.80"
How many different cities are represented by contestants whose height stands at 1.80?
<s>[INST]How many different cities are represented by contestants whose height stands at 1.80? Context: CREATE TABLE table_22447251_2 (hometown VARCHAR, height VARCHAR)[/INST]SELECT COUNT(hometown) FROM table_22447251_2 WHERE height = "1.80"</s>
CREATE TABLE table_name_89 (result VARCHAR, award VARCHAR, category VARCHAR, year VARCHAR)
SELECT result FROM table_name_89 WHERE category = "best actress" AND year < 2005 AND award = "robert award"
What was the result of the film made before 2005, winner of the robert award, in the category of best actress?
<s>[INST]What was the result of the film made before 2005, winner of the robert award, in the category of best actress? Context: CREATE TABLE table_name_89 (result VARCHAR, award VARCHAR, category VARCHAR, year VARCHAR)[/INST]SELECT result FROM table_name_89 WHERE category = "best actress" AND year < 2005 AND award = "robert award"</s>
CREATE TABLE table_name_31 (golden_point_s__scorer VARCHAR, venue VARCHAR)
SELECT golden_point_s__scorer FROM table_name_31 WHERE venue = "allianz stadium"
What Golden point(s) has the Venue Allianz Stadium?
<s>[INST]What Golden point(s) has the Venue Allianz Stadium? Context: CREATE TABLE table_name_31 (golden_point_s__scorer VARCHAR, venue VARCHAR)[/INST]SELECT golden_point_s__scorer FROM table_name_31 WHERE venue = "allianz stadium"</s>
CREATE TABLE table_name_10 (place VARCHAR, artist VARCHAR, draw VARCHAR)
SELECT COUNT(place) FROM table_name_10 WHERE artist = "rosie hunter" AND draw > 1
What is the Place of the Song by Artist Rosie Hunter with a Draw of 1 or larger?
<s>[INST]What is the Place of the Song by Artist Rosie Hunter with a Draw of 1 or larger? Context: CREATE TABLE table_name_10 (place VARCHAR, artist VARCHAR, draw VARCHAR)[/INST]SELECT COUNT(place) FROM table_name_10 WHERE artist = "rosie hunter" AND draw > 1</s>
CREATE TABLE table_name_17 (north_american_release_date VARCHAR, japanese_release_date VARCHAR)
SELECT north_american_release_date FROM table_name_17 WHERE japanese_release_date = "2011-06-23"
What is North American Release Date, when Japanese Release Date is "2011-06-23"?
<s>[INST]What is North American Release Date, when Japanese Release Date is "2011-06-23"? Context: CREATE TABLE table_name_17 (north_american_release_date VARCHAR, japanese_release_date VARCHAR)[/INST]SELECT north_american_release_date FROM table_name_17 WHERE japanese_release_date = "2011-06-23"</s>
CREATE TABLE table_25085059_3 (pick__number VARCHAR, position VARCHAR)
SELECT pick__number FROM table_25085059_3 WHERE position = "DL"
What draft pick number was the player with the position DL?
<s>[INST]What draft pick number was the player with the position DL? Context: CREATE TABLE table_25085059_3 (pick__number VARCHAR, position VARCHAR)[/INST]SELECT pick__number FROM table_25085059_3 WHERE position = "DL"</s>
CREATE TABLE table_14624447_24 (class VARCHAR, position VARCHAR)
SELECT class FROM table_14624447_24 WHERE position = "SLB"
What are all classes for the position SLB?
<s>[INST]What are all classes for the position SLB? Context: CREATE TABLE table_14624447_24 (class VARCHAR, position VARCHAR)[/INST]SELECT class FROM table_14624447_24 WHERE position = "SLB"</s>
CREATE TABLE table_name_12 (runner_up VARCHAR, margin_of_victory VARCHAR)
SELECT runner_up FROM table_name_12 WHERE margin_of_victory = "10 strokes"
Which runner-up has a 10 strokes margin of victory?
<s>[INST]Which runner-up has a 10 strokes margin of victory? Context: CREATE TABLE table_name_12 (runner_up VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT runner_up FROM table_name_12 WHERE margin_of_victory = "10 strokes"</s>
CREATE TABLE table_2076595_1 (location_s_ VARCHAR, control VARCHAR, type VARCHAR)
SELECT location_s_ FROM table_2076595_1 WHERE control = "Public" AND type = "Master's university"
What are the public schools with a master's university?
<s>[INST]What are the public schools with a master's university? Context: CREATE TABLE table_2076595_1 (location_s_ VARCHAR, control VARCHAR, type VARCHAR)[/INST]SELECT location_s_ FROM table_2076595_1 WHERE control = "Public" AND type = "Master's university"</s>
CREATE TABLE table_19061741_3 (duration VARCHAR, name VARCHAR)
SELECT COUNT(duration) FROM table_19061741_3 WHERE name = "Joj Agpangan*"
When joj agpangan* is the name how many duration's are there?
<s>[INST]When joj agpangan* is the name how many duration's are there? Context: CREATE TABLE table_19061741_3 (duration VARCHAR, name VARCHAR)[/INST]SELECT COUNT(duration) FROM table_19061741_3 WHERE name = "Joj Agpangan*"</s>
CREATE TABLE table_name_66 (against INTEGER, status VARCHAR, venue VARCHAR)
SELECT MIN(against) FROM table_name_66 WHERE status = "tour match" AND venue = "ravenhill , belfast"
Which the lowest Against has a Status of tour match, and a Venue of ravenhill , belfast?
<s>[INST]Which the lowest Against has a Status of tour match, and a Venue of ravenhill , belfast? Context: CREATE TABLE table_name_66 (against INTEGER, status VARCHAR, venue VARCHAR)[/INST]SELECT MIN(against) FROM table_name_66 WHERE status = "tour match" AND venue = "ravenhill , belfast"</s>
CREATE TABLE TRANSACTIONS (investor_id VARCHAR, transaction_type_code VARCHAR)
SELECT investor_id, COUNT(*) FROM TRANSACTIONS WHERE transaction_type_code = "SALE" GROUP BY investor_id
Show the number of transactions with transaction type code "SALE" for different investors if it is larger than 0.
<s>[INST]Show the number of transactions with transaction type code "SALE" for different investors if it is larger than 0. Context: CREATE TABLE TRANSACTIONS (investor_id VARCHAR, transaction_type_code VARCHAR)[/INST]SELECT investor_id, COUNT(*) FROM TRANSACTIONS WHERE transaction_type_code = "SALE" GROUP BY investor_id</s>
CREATE TABLE table_name_39 (qual_2 VARCHAR, team VARCHAR, best VARCHAR)
SELECT qual_2 FROM table_name_39 WHERE team = "dale coyne racing" AND best = "1:03.757"
What was the second qualification time for Dale Coyne Racing with a best of 1:03.757?
<s>[INST]What was the second qualification time for Dale Coyne Racing with a best of 1:03.757? Context: CREATE TABLE table_name_39 (qual_2 VARCHAR, team VARCHAR, best VARCHAR)[/INST]SELECT qual_2 FROM table_name_39 WHERE team = "dale coyne racing" AND best = "1:03.757"</s>
CREATE TABLE table_1061075_1 (aggregate VARCHAR)
SELECT COUNT(2 AS nd_leg) FROM table_1061075_1 WHERE aggregate = "7-2"
what is the total number of 2nd leg where aggregate is 7-2
<s>[INST]what is the total number of 2nd leg where aggregate is 7-2 Context: CREATE TABLE table_1061075_1 (aggregate VARCHAR)[/INST]SELECT COUNT(2 AS nd_leg) FROM table_1061075_1 WHERE aggregate = "7-2"</s>
CREATE TABLE table_1974545_3 (softball_stadium VARCHAR, school VARCHAR)
SELECT softball_stadium FROM table_1974545_3 WHERE school = "UMass Boston"
What is the name of UMass Boston's softball stadium?
<s>[INST]What is the name of UMass Boston's softball stadium? Context: CREATE TABLE table_1974545_3 (softball_stadium VARCHAR, school VARCHAR)[/INST]SELECT softball_stadium FROM table_1974545_3 WHERE school = "UMass Boston"</s>
CREATE TABLE table_name_56 (fall_09 INTEGER, maryland_counties VARCHAR, fall_07 VARCHAR)
SELECT SUM(fall_09) FROM table_name_56 WHERE maryland_counties = "allegany" AND fall_07 < 751
What is the sum of all values in Fall 09 in Allegany county with Fall 07 less than 751?
<s>[INST]What is the sum of all values in Fall 09 in Allegany county with Fall 07 less than 751? Context: CREATE TABLE table_name_56 (fall_09 INTEGER, maryland_counties VARCHAR, fall_07 VARCHAR)[/INST]SELECT SUM(fall_09) FROM table_name_56 WHERE maryland_counties = "allegany" AND fall_07 < 751</s>
CREATE TABLE table_1566850_8 (cover_model VARCHAR, date VARCHAR)
SELECT cover_model FROM table_1566850_8 WHERE date = "3-97"
What is the name of the cover model on 3-97?
<s>[INST]What is the name of the cover model on 3-97? Context: CREATE TABLE table_1566850_8 (cover_model VARCHAR, date VARCHAR)[/INST]SELECT cover_model FROM table_1566850_8 WHERE date = "3-97"</s>
CREATE TABLE table_23224961_2 (season VARCHAR, mittelfranken_süd VARCHAR)
SELECT season FROM table_23224961_2 WHERE mittelfranken_süd = "ASV Nürnberg-Süd"
When asv nürnberg-süd is the mittelfranken süd what is the season?
<s>[INST]When asv nürnberg-süd is the mittelfranken süd what is the season? Context: CREATE TABLE table_23224961_2 (season VARCHAR, mittelfranken_süd VARCHAR)[/INST]SELECT season FROM table_23224961_2 WHERE mittelfranken_süd = "ASV Nürnberg-Süd"</s>
CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR)
SELECT level FROM table_23649244_1 WHERE artist_1 = "Wale"
Which level has wale as artist 1?
<s>[INST]Which level has wale as artist 1? Context: CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR)[/INST]SELECT level FROM table_23649244_1 WHERE artist_1 = "Wale"</s>
CREATE TABLE table_name_43 (winning_team VARCHAR, date VARCHAR)
SELECT winning_team FROM table_name_43 WHERE date = "22 july"
With a Date of 22 July, what is the Winning team?
<s>[INST]With a Date of 22 July, what is the Winning team? Context: CREATE TABLE table_name_43 (winning_team VARCHAR, date VARCHAR)[/INST]SELECT winning_team FROM table_name_43 WHERE date = "22 july"</s>
CREATE TABLE table_name_71 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_71 WHERE date = "10-09-2012"
What was the venue for the game on 10-09-2012?
<s>[INST]What was the venue for the game on 10-09-2012? Context: CREATE TABLE table_name_71 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_71 WHERE date = "10-09-2012"</s>
CREATE TABLE table_name_40 (method VARCHAR, time VARCHAR)
SELECT method FROM table_name_40 WHERE time = "3:20"
What is Method, when Time is "3:20"?
<s>[INST]What is Method, when Time is "3:20"? Context: CREATE TABLE table_name_40 (method VARCHAR, time VARCHAR)[/INST]SELECT method FROM table_name_40 WHERE time = "3:20"</s>
CREATE TABLE table_name_5 (no_in_series INTEGER, written_by VARCHAR, no_in_season VARCHAR)
SELECT SUM(no_in_series) FROM table_name_5 WHERE written_by = "sam meikle" AND no_in_season = 21
What is the sum of the numbers in series written by sam meikle, which have 21 numbers in the season?
<s>[INST]What is the sum of the numbers in series written by sam meikle, which have 21 numbers in the season? Context: CREATE TABLE table_name_5 (no_in_series INTEGER, written_by VARCHAR, no_in_season VARCHAR)[/INST]SELECT SUM(no_in_series) FROM table_name_5 WHERE written_by = "sam meikle" AND no_in_season = 21</s>
CREATE TABLE table_name_26 (result VARCHAR, game VARCHAR)
SELECT result FROM table_name_26 WHERE game = "game 1"
What was the result of game 1?
<s>[INST]What was the result of game 1? Context: CREATE TABLE table_name_26 (result VARCHAR, game VARCHAR)[/INST]SELECT result FROM table_name_26 WHERE game = "game 1"</s>
CREATE TABLE table_13657883_2 (rnd VARCHAR, gto_winning_team VARCHAR)
SELECT rnd FROM table_13657883_2 WHERE gto_winning_team = "#48 Greenwood Racing"
What round was the gto winning team #48 greenwood racing?
<s>[INST]What round was the gto winning team #48 greenwood racing? Context: CREATE TABLE table_13657883_2 (rnd VARCHAR, gto_winning_team VARCHAR)[/INST]SELECT rnd FROM table_13657883_2 WHERE gto_winning_team = "#48 Greenwood Racing"</s>
CREATE TABLE table_name_71 (member_countries VARCHAR, population VARCHAR)
SELECT member_countries FROM table_name_71 WHERE population = "1,341,664"
What is the name of the member country that has a Population of 1,341,664?
<s>[INST]What is the name of the member country that has a Population of 1,341,664? Context: CREATE TABLE table_name_71 (member_countries VARCHAR, population VARCHAR)[/INST]SELECT member_countries FROM table_name_71 WHERE population = "1,341,664"</s>
CREATE TABLE matches (loser_rank INTEGER)
SELECT MIN(loser_rank) FROM matches
Find the highest rank of losers in all matches.
<s>[INST]Find the highest rank of losers in all matches. Context: CREATE TABLE matches (loser_rank INTEGER)[/INST]SELECT MIN(loser_rank) FROM matches</s>
CREATE TABLE table_1140085_2 (race VARCHAR, pole_position VARCHAR, date VARCHAR)
SELECT race FROM table_1140085_2 WHERE pole_position = "Niki Lauda" AND date = "27 April"
what is the race where the pole position is niki lauda and the date is 27 april?
<s>[INST]what is the race where the pole position is niki lauda and the date is 27 april? Context: CREATE TABLE table_1140085_2 (race VARCHAR, pole_position VARCHAR, date VARCHAR)[/INST]SELECT race FROM table_1140085_2 WHERE pole_position = "Niki Lauda" AND date = "27 April"</s>
CREATE TABLE table_name_18 (wins INTEGER, f_laps VARCHAR, points VARCHAR)
SELECT AVG(wins) FROM table_name_18 WHERE f_laps > 1 AND points = "80"
What is the average Wins, when F/Laps is greater than 1, and when Points is 80?
<s>[INST]What is the average Wins, when F/Laps is greater than 1, and when Points is 80? Context: CREATE TABLE table_name_18 (wins INTEGER, f_laps VARCHAR, points VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_18 WHERE f_laps > 1 AND points = "80"</s>
CREATE TABLE table_name_78 (order_and_title VARCHAR, elevated VARCHAR, elector VARCHAR)
SELECT order_and_title FROM table_name_78 WHERE elevated = "may 1262" AND elector = "guillaume de bray"
With a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the order and title?
<s>[INST]With a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the order and title? Context: CREATE TABLE table_name_78 (order_and_title VARCHAR, elevated VARCHAR, elector VARCHAR)[/INST]SELECT order_and_title FROM table_name_78 WHERE elevated = "may 1262" AND elector = "guillaume de bray"</s>