context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_20 (overall VARCHAR, college VARCHAR, round VARCHAR)
SELECT COUNT(overall) FROM table_name_20 WHERE college = "villanova" AND round < 2
Name the total number of overall for villanova and round less than 2
<s>[INST]Name the total number of overall for villanova and round less than 2 Context: CREATE TABLE table_name_20 (overall VARCHAR, college VARCHAR, round VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_20 WHERE college = "villanova" AND round < 2</s>
CREATE TABLE table_name_26 (pick VARCHAR, school_club_team VARCHAR)
SELECT pick FROM table_name_26 WHERE school_club_team = "kentucky"
Which pick has a school/club team that is kentucky?
<s>[INST]Which pick has a school/club team that is kentucky? Context: CREATE TABLE table_name_26 (pick VARCHAR, school_club_team VARCHAR)[/INST]SELECT pick FROM table_name_26 WHERE school_club_team = "kentucky"</s>
CREATE TABLE table_name_38 (tournament VARCHAR, margin_of_victory VARCHAR)
SELECT tournament FROM table_name_38 WHERE margin_of_victory = "7 strokes"
Which Tournament has a Margin of victory of 7 strokes
<s>[INST]Which Tournament has a Margin of victory of 7 strokes Context: CREATE TABLE table_name_38 (tournament VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT tournament FROM table_name_38 WHERE margin_of_victory = "7 strokes"</s>
CREATE TABLE table_name_9 (word__number INTEGER, name VARCHAR, subframe__number VARCHAR)
SELECT AVG(word__number) FROM table_name_9 WHERE name = "crs" AND subframe__number < 2
What is the average word count with crs and subframes lesser than 2?
<s>[INST]What is the average word count with crs and subframes lesser than 2? Context: CREATE TABLE table_name_9 (word__number INTEGER, name VARCHAR, subframe__number VARCHAR)[/INST]SELECT AVG(word__number) FROM table_name_9 WHERE name = "crs" AND subframe__number < 2</s>
CREATE TABLE table_name_96 (points_against VARCHAR)
SELECT points_against FROM table_name_96 WHERE "drawn" = "drawn"
what is the points against when drawn is drawn?
<s>[INST]what is the points against when drawn is drawn? Context: CREATE TABLE table_name_96 (points_against VARCHAR)[/INST]SELECT points_against FROM table_name_96 WHERE "drawn" = "drawn"</s>
CREATE TABLE table_name_36 (shuttle_run__sec_ VARCHAR, grade VARCHAR)
SELECT shuttle_run__sec_ FROM table_name_36 WHERE grade = "c"
Tell me the shuttle run with grade c
<s>[INST]Tell me the shuttle run with grade c Context: CREATE TABLE table_name_36 (shuttle_run__sec_ VARCHAR, grade VARCHAR)[/INST]SELECT shuttle_run__sec_ FROM table_name_36 WHERE grade = "c"</s>
CREATE TABLE table_name_20 (losses INTEGER, wins INTEGER)
SELECT MAX(losses) FROM table_name_20 WHERE wins > 13
What's the greatest losses for those with more than 13 wins?
<s>[INST]What's the greatest losses for those with more than 13 wins? Context: CREATE TABLE table_name_20 (losses INTEGER, wins INTEGER)[/INST]SELECT MAX(losses) FROM table_name_20 WHERE wins > 13</s>
CREATE TABLE table_name_33 (start VARCHAR, year INTEGER)
SELECT start FROM table_name_33 WHERE year < 1986
What was the starting position in the year before 1986?
<s>[INST]What was the starting position in the year before 1986? Context: CREATE TABLE table_name_33 (start VARCHAR, year INTEGER)[/INST]SELECT start FROM table_name_33 WHERE year < 1986</s>
CREATE TABLE table_name_79 (division INTEGER, season VARCHAR, apps VARCHAR, goals VARCHAR, team VARCHAR)
SELECT MIN(division) FROM table_name_79 WHERE goals < 10 AND team = "dalian shide" AND apps < 17 AND season = "2007"
What is the lowest Division, when Goals are less than 10, when Team is Dalian Shide, when Apps are less than 17, and when Season is 2007?
<s>[INST]What is the lowest Division, when Goals are less than 10, when Team is Dalian Shide, when Apps are less than 17, and when Season is 2007? Context: CREATE TABLE table_name_79 (division INTEGER, season VARCHAR, apps VARCHAR, goals VARCHAR, team VARCHAR)[/INST]SELECT MIN(division) FROM table_name_79 WHERE goals <...
CREATE TABLE table_name_54 (nationality VARCHAR, former_team VARCHAR)
SELECT nationality FROM table_name_54 WHERE former_team = "denver nuggets"
Which Nationality has a Former Team of denver nuggets?
<s>[INST]Which Nationality has a Former Team of denver nuggets? Context: CREATE TABLE table_name_54 (nationality VARCHAR, former_team VARCHAR)[/INST]SELECT nationality FROM table_name_54 WHERE former_team = "denver nuggets"</s>
CREATE TABLE table_1373542_1 (reported_cost VARCHAR, acquired_from VARCHAR)
SELECT reported_cost FROM table_1373542_1 WHERE acquired_from = "Standard & Poor's"
What was the reported cost of the asset acquired from Standard & Poor's?
<s>[INST]What was the reported cost of the asset acquired from Standard & Poor's? Context: CREATE TABLE table_1373542_1 (reported_cost VARCHAR, acquired_from VARCHAR)[/INST]SELECT reported_cost FROM table_1373542_1 WHERE acquired_from = "Standard & Poor's"</s>
CREATE TABLE table_name_16 (year INTEGER, award VARCHAR)
SELECT AVG(year) FROM table_name_16 WHERE award = "fantasia section award"
What is the average year of the Fantasia Section Award?
<s>[INST]What is the average year of the Fantasia Section Award? Context: CREATE TABLE table_name_16 (year INTEGER, award VARCHAR)[/INST]SELECT AVG(year) FROM table_name_16 WHERE award = "fantasia section award"</s>
CREATE TABLE Has_allergy (Allergy VARCHAR)
SELECT COUNT(*) FROM Has_allergy WHERE Allergy = "Cat"
How many students have cat allergies?
<s>[INST]How many students have cat allergies? Context: CREATE TABLE Has_allergy (Allergy VARCHAR)[/INST]SELECT COUNT(*) FROM Has_allergy WHERE Allergy = "Cat"</s>
CREATE TABLE table_name_13 (free VARCHAR, ku VARCHAR, genitive_1 VARCHAR)
SELECT free AS polite FROM table_name_13 WHERE genitive_1 = * = ku
Which Free polite has a Genitive 1 of *=ku?
<s>[INST]Which Free polite has a Genitive 1 of *=ku? Context: CREATE TABLE table_name_13 (free VARCHAR, ku VARCHAR, genitive_1 VARCHAR)[/INST]SELECT free AS polite FROM table_name_13 WHERE genitive_1 = * = ku</s>
CREATE TABLE table_name_61 (airport VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_61 WHERE icao = "rpvi"
Which airport's ICAO is rpvi?
<s>[INST]Which airport's ICAO is rpvi? Context: CREATE TABLE table_name_61 (airport VARCHAR, icao VARCHAR)[/INST]SELECT airport FROM table_name_61 WHERE icao = "rpvi"</s>
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR)
SELECT first_name, last_name FROM employees WHERE department_id = 70 OR department_id = 90
What are the first and last name for those employees who works either in department 70 or 90?
<s>[INST]What are the first and last name for those employees who works either in department 70 or 90? Context: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR)[/INST]SELECT first_name, last_name FROM employees WHERE department_id = 70 OR department_id = 90</s>
CREATE TABLE table_name_73 (chassis VARCHAR, engine VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_73 WHERE engine = "ferrari" AND points = 25
What company made the chassis when Ferrari made the engine and there were 25 points?
<s>[INST]What company made the chassis when Ferrari made the engine and there were 25 points? Context: CREATE TABLE table_name_73 (chassis VARCHAR, engine VARCHAR, points VARCHAR)[/INST]SELECT chassis FROM table_name_73 WHERE engine = "ferrari" AND points = 25</s>
CREATE TABLE table_name_84 (original_air_date VARCHAR, title VARCHAR)
SELECT original_air_date FROM table_name_84 WHERE title = "julie gets validated"
When did Julie gets Validated originally air?
<s>[INST]When did Julie gets Validated originally air? Context: CREATE TABLE table_name_84 (original_air_date VARCHAR, title VARCHAR)[/INST]SELECT original_air_date FROM table_name_84 WHERE title = "julie gets validated"</s>
CREATE TABLE table_19589113_5 (male_population_2001 VARCHAR, growth_rate_1991_01 VARCHAR)
SELECT male_population_2001 FROM table_19589113_5 WHERE growth_rate_1991_01 = "36.16"
What are all values for the male population in 2001 with a growth rate in 1991-01 of 36.16?
<s>[INST]What are all values for the male population in 2001 with a growth rate in 1991-01 of 36.16? Context: CREATE TABLE table_19589113_5 (male_population_2001 VARCHAR, growth_rate_1991_01 VARCHAR)[/INST]SELECT male_population_2001 FROM table_19589113_5 WHERE growth_rate_1991_01 = "36.16"</s>
CREATE TABLE table_name_37 (pos VARCHAR, points VARCHAR, season VARCHAR)
SELECT pos FROM table_name_37 WHERE points = "0" AND season = "2007–08"
What is the position with 0 points in Season of 2007–08?
<s>[INST]What is the position with 0 points in Season of 2007–08? Context: CREATE TABLE table_name_37 (pos VARCHAR, points VARCHAR, season VARCHAR)[/INST]SELECT pos FROM table_name_37 WHERE points = "0" AND season = "2007–08"</s>
CREATE TABLE table_name_17 (tournament VARCHAR)
SELECT 2008 FROM table_name_17 WHERE 2011 = "1r" AND 2010 = "2r" AND tournament = "us open"
What's the 2008 of the US Open when 2010 was 2R and 2011 was 1R?
<s>[INST]What's the 2008 of the US Open when 2010 was 2R and 2011 was 1R? Context: CREATE TABLE table_name_17 (tournament VARCHAR)[/INST]SELECT 2008 FROM table_name_17 WHERE 2011 = "1r" AND 2010 = "2r" AND tournament = "us open"</s>
CREATE TABLE table_name_70 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_70 WHERE score = 68 - 74 - 69 = 211
What was the to par that goes with the score 68-74-69=211?
<s>[INST]What was the to par that goes with the score 68-74-69=211? Context: CREATE TABLE table_name_70 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_70 WHERE score = 68 - 74 - 69 = 211</s>
CREATE TABLE table_name_24 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_24 WHERE player = "gerald wilkins"
What school/club did gerald wilkins attend?
<s>[INST]What school/club did gerald wilkins attend? Context: CREATE TABLE table_name_24 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_24 WHERE player = "gerald wilkins"</s>
CREATE TABLE table_name_80 (tonnage_grt INTEGER, date VARCHAR)
SELECT MAX(tonnage_grt) FROM table_name_80 WHERE date = "16 jan 16"
what is the most tonnage grt of any ship sunk or captured on 16 jan 16?
<s>[INST]what is the most tonnage grt of any ship sunk or captured on 16 jan 16? Context: CREATE TABLE table_name_80 (tonnage_grt INTEGER, date VARCHAR)[/INST]SELECT MAX(tonnage_grt) FROM table_name_80 WHERE date = "16 jan 16"</s>
CREATE TABLE table_name_61 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)
SELECT laps FROM table_name_61 WHERE manufacturer = "yamaha" AND grid = 3
How many laps did the driver with the yamaha manufacturer go on grid 3?
<s>[INST]How many laps did the driver with the yamaha manufacturer go on grid 3? Context: CREATE TABLE table_name_61 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)[/INST]SELECT laps FROM table_name_61 WHERE manufacturer = "yamaha" AND grid = 3</s>
CREATE TABLE table_name_60 (away_leg VARCHAR, opposition VARCHAR)
SELECT away_leg FROM table_name_60 WHERE opposition = "aarhus gymnastik forening"
What ist the Away Leg with an Opposition that is aarhus gymnastik forening?
<s>[INST]What ist the Away Leg with an Opposition that is aarhus gymnastik forening? Context: CREATE TABLE table_name_60 (away_leg VARCHAR, opposition VARCHAR)[/INST]SELECT away_leg FROM table_name_60 WHERE opposition = "aarhus gymnastik forening"</s>
CREATE TABLE table_18367694_2 (directed_by VARCHAR, original_air_date VARCHAR)
SELECT directed_by FROM table_18367694_2 WHERE original_air_date = "November 22, 1989"
who directed the episode with the original air date of November 22, 1989?
<s>[INST]who directed the episode with the original air date of November 22, 1989? Context: CREATE TABLE table_18367694_2 (directed_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT directed_by FROM table_18367694_2 WHERE original_air_date = "November 22, 1989"</s>
CREATE TABLE table_name_69 (pages VARCHAR, date VARCHAR)
SELECT pages FROM table_name_69 WHERE date = "1987-08"
How many pages does the story from 1987-08 have?
<s>[INST]How many pages does the story from 1987-08 have? Context: CREATE TABLE table_name_69 (pages VARCHAR, date VARCHAR)[/INST]SELECT pages FROM table_name_69 WHERE date = "1987-08"</s>
CREATE TABLE table_1342149_18 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342149_18 WHERE district = "Louisiana 2"
Who was the candidate in the election in the Louisiana 2 district?
<s>[INST]Who was the candidate in the election in the Louisiana 2 district? Context: CREATE TABLE table_1342149_18 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342149_18 WHERE district = "Louisiana 2"</s>
CREATE TABLE table_name_15 (percentage VARCHAR, seats VARCHAR)
SELECT percentage FROM table_name_15 WHERE seats = 80
What is the percentage of votes for the party that has Seats of 80?
<s>[INST]What is the percentage of votes for the party that has Seats of 80? Context: CREATE TABLE table_name_15 (percentage VARCHAR, seats VARCHAR)[/INST]SELECT percentage FROM table_name_15 WHERE seats = 80</s>
CREATE TABLE table_name_6 (goals_for INTEGER, played VARCHAR, drawn VARCHAR, team VARCHAR)
SELECT SUM(goals_for) FROM table_name_6 WHERE drawn < 4 AND team = "al wahda" AND played > 22
What is the sum of goals scored for the Al Wahda team with less than 4 drawn and more than 22 plays?
<s>[INST]What is the sum of goals scored for the Al Wahda team with less than 4 drawn and more than 22 plays? Context: CREATE TABLE table_name_6 (goals_for INTEGER, played VARCHAR, drawn VARCHAR, team VARCHAR)[/INST]SELECT SUM(goals_for) FROM table_name_6 WHERE drawn < 4 AND team = "al wahda" AND played > 22</s>
CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_24 WHERE venue = "victoria park"
What is the score for the away team at Victoria Park?
<s>[INST]What is the score for the away team at Victoria Park? Context: CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_24 WHERE venue = "victoria park"</s>
CREATE TABLE table_name_38 (games INTEGER, name VARCHAR, rebounds VARCHAR)
SELECT MIN(games) FROM table_name_38 WHERE name = "travis watson" AND rebounds < 136
What is the lowest Games, when Name is Travis Watson, and when Rebounds is less than 136?
<s>[INST]What is the lowest Games, when Name is Travis Watson, and when Rebounds is less than 136? Context: CREATE TABLE table_name_38 (games INTEGER, name VARCHAR, rebounds VARCHAR)[/INST]SELECT MIN(games) FROM table_name_38 WHERE name = "travis watson" AND rebounds < 136</s>
CREATE TABLE table_name_81 (losses INTEGER, wins VARCHAR, league VARCHAR, season VARCHAR)
SELECT AVG(losses) FROM table_name_81 WHERE league = "nfl" AND season = 2011 AND wins < 13
What is the losses in the NFL in the 2011 season with less than 13 wins?
<s>[INST]What is the losses in the NFL in the 2011 season with less than 13 wins? Context: CREATE TABLE table_name_81 (losses INTEGER, wins VARCHAR, league VARCHAR, season VARCHAR)[/INST]SELECT AVG(losses) FROM table_name_81 WHERE league = "nfl" AND season = 2011 AND wins < 13</s>
CREATE TABLE table_name_35 (date_given VARCHAR, head_of_household VARCHAR)
SELECT date_given FROM table_name_35 WHERE head_of_household = "rica"
What date was Rica head of household?
<s>[INST]What date was Rica head of household? Context: CREATE TABLE table_name_35 (date_given VARCHAR, head_of_household VARCHAR)[/INST]SELECT date_given FROM table_name_35 WHERE head_of_household = "rica"</s>
CREATE TABLE table_name_49 (attendance VARCHAR, game VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_49 WHERE game < 3 AND date = "october 31"
Which Attendance has a Game smaller than 3, and a Date of october 31?
<s>[INST]Which Attendance has a Game smaller than 3, and a Date of october 31? Context: CREATE TABLE table_name_49 (attendance VARCHAR, game VARCHAR, date VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_49 WHERE game < 3 AND date = "october 31"</s>
CREATE TABLE table_name_59 (country VARCHAR, finish VARCHAR)
SELECT country FROM table_name_59 WHERE finish = "t8"
What country had a Finish of t8?
<s>[INST]What country had a Finish of t8? Context: CREATE TABLE table_name_59 (country VARCHAR, finish VARCHAR)[/INST]SELECT country FROM table_name_59 WHERE finish = "t8"</s>
CREATE TABLE table_15887683_16 (hdtv VARCHAR, television_service VARCHAR)
SELECT COUNT(hdtv) FROM table_15887683_16 WHERE television_service = "Elite Shopping TV"
How many values of HDTV apply when television service is elite shopping tv?
<s>[INST]How many values of HDTV apply when television service is elite shopping tv? Context: CREATE TABLE table_15887683_16 (hdtv VARCHAR, television_service VARCHAR)[/INST]SELECT COUNT(hdtv) FROM table_15887683_16 WHERE television_service = "Elite Shopping TV"</s>
CREATE TABLE table_name_62 (year VARCHAR, player VARCHAR)
SELECT year FROM table_name_62 WHERE player = "j.r. reid"
Which year had J.R. Reid as a player?
<s>[INST]Which year had J.R. Reid as a player? Context: CREATE TABLE table_name_62 (year VARCHAR, player VARCHAR)[/INST]SELECT year FROM table_name_62 WHERE player = "j.r. reid"</s>
CREATE TABLE table_name_92 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR)
SELECT sub_parish__sogn_ FROM table_name_92 WHERE year_built > 1894 AND parish__prestegjeld_ = "jostedal parish"
Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish?
<s>[INST]Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish? Context: CREATE TABLE table_name_92 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR)[/INST]SELECT sub_parish__sogn_ FROM table_name_92 WHERE year_built > 1894 AND parish__prestegjeld_ = "jo...
CREATE TABLE table_21234111_10 (song VARCHAR, robin VARCHAR)
SELECT song FROM table_21234111_10 WHERE robin = "4.0"
What song did Robin perform with a result of 4.0?
<s>[INST]What song did Robin perform with a result of 4.0? Context: CREATE TABLE table_21234111_10 (song VARCHAR, robin VARCHAR)[/INST]SELECT song FROM table_21234111_10 WHERE robin = "4.0"</s>
CREATE TABLE table_name_83 (colonized VARCHAR, chartered VARCHAR)
SELECT colonized FROM table_name_83 WHERE chartered = "1958"
What is the colonized year for the chartered year 1958?
<s>[INST]What is the colonized year for the chartered year 1958? Context: CREATE TABLE table_name_83 (colonized VARCHAR, chartered VARCHAR)[/INST]SELECT colonized FROM table_name_83 WHERE chartered = "1958"</s>
CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_35 WHERE record = "60-61"
Name the opponent with a record of 60-61
<s>[INST]Name the opponent with a record of 60-61 Context: CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_35 WHERE record = "60-61"</s>
CREATE TABLE table_name_79 (frequency VARCHAR, purpose VARCHAR, callsign VARCHAR)
SELECT frequency FROM table_name_79 WHERE purpose = "community" AND callsign = "1vfm"
Name the frequency for community purpose and callsign of 1vfm
<s>[INST]Name the frequency for community purpose and callsign of 1vfm Context: CREATE TABLE table_name_79 (frequency VARCHAR, purpose VARCHAR, callsign VARCHAR)[/INST]SELECT frequency FROM table_name_79 WHERE purpose = "community" AND callsign = "1vfm"</s>
CREATE TABLE table_name_41 (speed VARCHAR, rider VARCHAR)
SELECT speed FROM table_name_41 WHERE rider = "andy reynolds"
Name the speed for andy reynolds
<s>[INST]Name the speed for andy reynolds Context: CREATE TABLE table_name_41 (speed VARCHAR, rider VARCHAR)[/INST]SELECT speed FROM table_name_41 WHERE rider = "andy reynolds"</s>
CREATE TABLE table_name_43 (year VARCHAR, laps INTEGER)
SELECT year FROM table_name_43 WHERE laps > 200
Which year did Tony Bettenhausen complete more than 200 laps?
<s>[INST]Which year did Tony Bettenhausen complete more than 200 laps? Context: CREATE TABLE table_name_43 (year VARCHAR, laps INTEGER)[/INST]SELECT year FROM table_name_43 WHERE laps > 200</s>
CREATE TABLE table_name_86 (rank___number_ VARCHAR, air_date VARCHAR)
SELECT rank___number_ FROM table_name_86 WHERE air_date = "may 19, 2009"
What is the rank for the show aired on May 19, 2009?
<s>[INST]What is the rank for the show aired on May 19, 2009? Context: CREATE TABLE table_name_86 (rank___number_ VARCHAR, air_date VARCHAR)[/INST]SELECT rank___number_ FROM table_name_86 WHERE air_date = "may 19, 2009"</s>
CREATE TABLE table_name_98 (elena_băsescu VARCHAR, polling_firm VARCHAR)
SELECT elena_băsescu FROM table_name_98 WHERE polling_firm = "gallup"
What is the elena basescu when the poling firm of gallup?
<s>[INST]What is the elena basescu when the poling firm of gallup? Context: CREATE TABLE table_name_98 (elena_băsescu VARCHAR, polling_firm VARCHAR)[/INST]SELECT elena_băsescu FROM table_name_98 WHERE polling_firm = "gallup"</s>
CREATE TABLE table_name_8 (week INTEGER, result VARCHAR, dance VARCHAR)
SELECT SUM(week) FROM table_name_8 WHERE result = "safe" AND dance = "salsa"
What week was she safe for a salsa dance?
<s>[INST]What week was she safe for a salsa dance? Context: CREATE TABLE table_name_8 (week INTEGER, result VARCHAR, dance VARCHAR)[/INST]SELECT SUM(week) FROM table_name_8 WHERE result = "safe" AND dance = "salsa"</s>
CREATE TABLE table_name_36 (date VARCHAR, tournament VARCHAR, surface VARCHAR, round VARCHAR)
SELECT date FROM table_name_36 WHERE surface = "grass" AND round = "quarterfinal" AND tournament = "nsw building society open"
Name the date for grass surface for quarterfinal at the nsw building society open tournament
<s>[INST]Name the date for grass surface for quarterfinal at the nsw building society open tournament Context: CREATE TABLE table_name_36 (date VARCHAR, tournament VARCHAR, surface VARCHAR, round VARCHAR)[/INST]SELECT date FROM table_name_36 WHERE surface = "grass" AND round = "quarterfinal" AND tournament = "nsw build...
CREATE TABLE table_name_70 (date VARCHAR, site VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_70 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "53,192"
what is the date when the site is memorial stadium • minneapolis, mn, and the Attendance is 53,192?
<s>[INST]what is the date when the site is memorial stadium • minneapolis, mn, and the Attendance is 53,192? Context: CREATE TABLE table_name_70 (date VARCHAR, site VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "53,192"</s>
CREATE TABLE table_name_96 (venue VARCHAR, against VARCHAR, date VARCHAR)
SELECT venue FROM table_name_96 WHERE against > 3 AND date = "16/01/1954"
What was the venue for the game played on 16/01/1954, when the against was more than 3?
<s>[INST]What was the venue for the game played on 16/01/1954, when the against was more than 3? Context: CREATE TABLE table_name_96 (venue VARCHAR, against VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_96 WHERE against > 3 AND date = "16/01/1954"</s>
CREATE TABLE trip (duration INTEGER, end_station_id VARCHAR); CREATE TABLE station (name VARCHAR, lat VARCHAR, id VARCHAR)
SELECT T1.name, T1.lat, MIN(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.end_station_id GROUP BY T2.end_station_id
For each station, find its latitude and the minimum duration of trips that ended at the station.
<s>[INST]For each station, find its latitude and the minimum duration of trips that ended at the station. Context: CREATE TABLE trip (duration INTEGER, end_station_id VARCHAR); CREATE TABLE station (name VARCHAR, lat VARCHAR, id VARCHAR)[/INST]SELECT T1.name, T1.lat, MIN(T2.duration) FROM station AS T1 JOIN trip AS T2 ...
CREATE TABLE table_name_57 (MIN VARCHAR, $10___1_10_oz VARCHAR)
SELECT MIN AS $25___1_4_oz FROM table_name_57 WHERE $10___1_10_oz = "70,250"
WHAT IS THE LOWEST $25-1/4 OZ COIN WITH A $10-1/10 OZ OF $70,250?
<s>[INST]WHAT IS THE LOWEST $25-1/4 OZ COIN WITH A $10-1/10 OZ OF $70,250? Context: CREATE TABLE table_name_57 (MIN VARCHAR, $10___1_10_oz VARCHAR)[/INST]SELECT MIN AS $25___1_4_oz FROM table_name_57 WHERE $10___1_10_oz = "70,250"</s>
CREATE TABLE table_name_54 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_54 WHERE attendance = "65,537"
Who did the cowboys play when 65,537 attended?
<s>[INST]Who did the cowboys play when 65,537 attended? Context: CREATE TABLE table_name_54 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_54 WHERE attendance = "65,537"</s>
CREATE TABLE table_name_22 (high_assists VARCHAR, high_points VARCHAR)
SELECT high_assists FROM table_name_22 WHERE high_points = "hamilton (24)"
What is the high assists of Hamilton (24)?
<s>[INST]What is the high assists of Hamilton (24)? Context: CREATE TABLE table_name_22 (high_assists VARCHAR, high_points VARCHAR)[/INST]SELECT high_assists FROM table_name_22 WHERE high_points = "hamilton (24)"</s>
CREATE TABLE table_name_13 (third_vice_skip VARCHAR, second VARCHAR)
SELECT third_vice_skip FROM table_name_13 WHERE second = "éric sylvain"
Which Third/Vice skip has a Second of éric sylvain?
<s>[INST]Which Third/Vice skip has a Second of éric sylvain? Context: CREATE TABLE table_name_13 (third_vice_skip VARCHAR, second VARCHAR)[/INST]SELECT third_vice_skip FROM table_name_13 WHERE second = "éric sylvain"</s>
CREATE TABLE table_name_95 (year VARCHAR, result VARCHAR, extra VARCHAR, tournament VARCHAR)
SELECT year FROM table_name_95 WHERE extra = "800 m" AND tournament = "european indoor championships" AND result = "2nd"
In which year was the Tournament of european indoor championships played where the Extra was 800 m and the Result was 2nd?
<s>[INST]In which year was the Tournament of european indoor championships played where the Extra was 800 m and the Result was 2nd? Context: CREATE TABLE table_name_95 (year VARCHAR, result VARCHAR, extra VARCHAR, tournament VARCHAR)[/INST]SELECT year FROM table_name_95 WHERE extra = "800 m" AND tournament = "european ...
CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR)
SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL01 / 0091037137319"
how many times was the catalog number cal01 / 0091037137319?
<s>[INST]how many times was the catalog number cal01 / 0091037137319? Context: CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR)[/INST]SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL01 / 0091037137319"</s>
CREATE TABLE table_name_92 (report VARCHAR, constructor VARCHAR, circuit VARCHAR)
SELECT report FROM table_name_92 WHERE constructor = "ferrari" AND circuit = "monza"
What is the report status of the race with Ferrari as the constructor and a monza circuit?
<s>[INST]What is the report status of the race with Ferrari as the constructor and a monza circuit? Context: CREATE TABLE table_name_92 (report VARCHAR, constructor VARCHAR, circuit VARCHAR)[/INST]SELECT report FROM table_name_92 WHERE constructor = "ferrari" AND circuit = "monza"</s>
CREATE TABLE table_27714985_1 (no_s__in_series INTEGER, written_by VARCHAR)
SELECT MAX(no_s__in_series) FROM table_27714985_1 WHERE written_by = "Gregory S. Malins"
What is the last episode in the series written by Gregory S. Malins?
<s>[INST]What is the last episode in the series written by Gregory S. Malins? Context: CREATE TABLE table_27714985_1 (no_s__in_series INTEGER, written_by VARCHAR)[/INST]SELECT MAX(no_s__in_series) FROM table_27714985_1 WHERE written_by = "Gregory S. Malins"</s>
CREATE TABLE table_26250145_1 (theme VARCHAR, original_artist VARCHAR)
SELECT theme FROM table_26250145_1 WHERE original_artist = "Alicia Keys"
What is the theme for the original artist Alicia Keys?
<s>[INST]What is the theme for the original artist Alicia Keys? Context: CREATE TABLE table_26250145_1 (theme VARCHAR, original_artist VARCHAR)[/INST]SELECT theme FROM table_26250145_1 WHERE original_artist = "Alicia Keys"</s>
CREATE TABLE table_13036251_1 (the_mole VARCHAR, airdate VARCHAR)
SELECT the_mole FROM table_13036251_1 WHERE airdate = "8 January 2009"
what's the mole with airdate being 8 january 2009
<s>[INST]what's the mole with airdate being 8 january 2009 Context: CREATE TABLE table_13036251_1 (the_mole VARCHAR, airdate VARCHAR)[/INST]SELECT the_mole FROM table_13036251_1 WHERE airdate = "8 January 2009"</s>
CREATE TABLE table_name_24 (name VARCHAR, family VARCHAR, species_authority VARCHAR)
SELECT name FROM table_name_24 WHERE family = "canidae" AND species_authority = "canis rufus audubon & bachman, 1851"
Who has canidae as family and canis rufus audubon & bachman, 1851 as species/authority?
<s>[INST]Who has canidae as family and canis rufus audubon & bachman, 1851 as species/authority? Context: CREATE TABLE table_name_24 (name VARCHAR, family VARCHAR, species_authority VARCHAR)[/INST]SELECT name FROM table_name_24 WHERE family = "canidae" AND species_authority = "canis rufus audubon & bachman, 1851"</s>
CREATE TABLE table_17103645_10 (high_assists VARCHAR, date VARCHAR)
SELECT COUNT(high_assists) FROM table_17103645_10 WHERE date = "July 1"
Name the number of high assists for july 1
<s>[INST]Name the number of high assists for july 1 Context: CREATE TABLE table_17103645_10 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT COUNT(high_assists) FROM table_17103645_10 WHERE date = "July 1"</s>
CREATE TABLE table_name_86 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_86 WHERE score = "28-43"
For the game ending with a score of 28-43, what is the listed as the final record?
<s>[INST]For the game ending with a score of 28-43, what is the listed as the final record? Context: CREATE TABLE table_name_86 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_86 WHERE score = "28-43"</s>
CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_41 WHERE score = 69
Which country has 69 score?
<s>[INST]Which country has 69 score? Context: CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_41 WHERE score = 69</s>
CREATE TABLE table_name_49 (rank VARCHAR, avgatt VARCHAR)
SELECT rank FROM table_name_49 WHERE avgatt = "52 574"
Wha is the rank for 52 574 avg. att?
<s>[INST]Wha is the rank for 52 574 avg. att? Context: CREATE TABLE table_name_49 (rank VARCHAR, avgatt VARCHAR)[/INST]SELECT rank FROM table_name_49 WHERE avgatt = "52 574"</s>
CREATE TABLE table_name_90 (mountain_range VARCHAR, region VARCHAR, mountain_peak VARCHAR)
SELECT mountain_range FROM table_name_90 WHERE region = "british columbia" AND mountain_peak = "mount edziza"
what is the mountain range when the region is british columbia and mountain pea is mount edziza?
<s>[INST]what is the mountain range when the region is british columbia and mountain pea is mount edziza? Context: CREATE TABLE table_name_90 (mountain_range VARCHAR, region VARCHAR, mountain_peak VARCHAR)[/INST]SELECT mountain_range FROM table_name_90 WHERE region = "british columbia" AND mountain_peak = "mount edziza...
CREATE TABLE table_name_45 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_45 WHERE home_team = "melbourne"
On what date did Melbourne play as the home team?
<s>[INST]On what date did Melbourne play as the home team? Context: CREATE TABLE table_name_45 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_45 WHERE home_team = "melbourne"</s>
CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_45 WHERE venue = "kardinia park"
Who was the home team at Kardinia Park?
<s>[INST]Who was the home team at Kardinia Park? Context: CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_45 WHERE venue = "kardinia park"</s>
CREATE TABLE student (dept_name VARCHAR)
SELECT dept_name FROM student GROUP BY dept_name ORDER BY COUNT(*) DESC LIMIT 1
Find the name of department has the highest amount of students?
<s>[INST]Find the name of department has the highest amount of students? Context: CREATE TABLE student (dept_name VARCHAR)[/INST]SELECT dept_name FROM student GROUP BY dept_name ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_10 (tag_team VARCHAR, time VARCHAR)
SELECT tag_team FROM table_name_10 WHERE time = "03:34"
Name the Tag Team with a Time of 03:34?
<s>[INST]Name the Tag Team with a Time of 03:34? Context: CREATE TABLE table_name_10 (tag_team VARCHAR, time VARCHAR)[/INST]SELECT tag_team FROM table_name_10 WHERE time = "03:34"</s>
CREATE TABLE table_name_29 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT winning_driver FROM table_name_29 WHERE fastest_lap = "clay regazzoni" AND pole_position = "jackie stewart"
Who was the winning driver of the race with Clay Regazzoni as the fastest lap and Jackie stewart as the pole position?
<s>[INST]Who was the winning driver of the race with Clay Regazzoni as the fastest lap and Jackie stewart as the pole position? Context: CREATE TABLE table_name_29 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)[/INST]SELECT winning_driver FROM table_name_29 WHERE fastest_lap = "clay regazzoni" AND...
CREATE TABLE table_name_95 (opponent VARCHAR, loss VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_95 WHERE loss = "wilcox" AND date = "jun 18"
Loss of wilcox, and a Date of jun 18 had what opponent?
<s>[INST]Loss of wilcox, and a Date of jun 18 had what opponent? Context: CREATE TABLE table_name_95 (opponent VARCHAR, loss VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_95 WHERE loss = "wilcox" AND date = "jun 18"</s>
CREATE TABLE table_name_76 (date INTEGER, championship VARCHAR)
SELECT MIN(date) FROM table_name_76 WHERE championship = "monterrey wct, mexico"
What is the earliest date when the championship was Monterrey WCT, Mexico?
<s>[INST]What is the earliest date when the championship was Monterrey WCT, Mexico? Context: CREATE TABLE table_name_76 (date INTEGER, championship VARCHAR)[/INST]SELECT MIN(date) FROM table_name_76 WHERE championship = "monterrey wct, mexico"</s>
CREATE TABLE table_name_96 (home_away VARCHAR, opponent VARCHAR, field VARCHAR)
SELECT home_away FROM table_name_96 WHERE opponent = "rattlers" AND field = "united sports training center"
Was the game against the Rattlers at the United Sports Training Center a home game or an away game?
<s>[INST]Was the game against the Rattlers at the United Sports Training Center a home game or an away game? Context: CREATE TABLE table_name_96 (home_away VARCHAR, opponent VARCHAR, field VARCHAR)[/INST]SELECT home_away FROM table_name_96 WHERE opponent = "rattlers" AND field = "united sports training center"</s>
CREATE TABLE table_22355_20 (silver INTEGER)
SELECT MIN(silver) FROM table_22355_20
Who has the minimum number of silver?
<s>[INST]Who has the minimum number of silver? Context: CREATE TABLE table_22355_20 (silver INTEGER)[/INST]SELECT MIN(silver) FROM table_22355_20</s>
CREATE TABLE table_1784514_1 (capital VARCHAR, voivodeship_after_1569 VARCHAR)
SELECT COUNT(capital) FROM table_1784514_1 WHERE voivodeship_after_1569 = "Brest Litovsk Voivodeship"
How many capitals had brest litovsk voivodeship as voivodeship after 1569?
<s>[INST]How many capitals had brest litovsk voivodeship as voivodeship after 1569? Context: CREATE TABLE table_1784514_1 (capital VARCHAR, voivodeship_after_1569 VARCHAR)[/INST]SELECT COUNT(capital) FROM table_1784514_1 WHERE voivodeship_after_1569 = "Brest Litovsk Voivodeship"</s>
CREATE TABLE table_name_98 (Id VARCHAR)
SELECT 2006 FROM table_name_98 WHERE 2007 = "a"
Which 2006 has a 2007 of A?
<s>[INST]Which 2006 has a 2007 of A? Context: CREATE TABLE table_name_98 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_98 WHERE 2007 = "a"</s>
CREATE TABLE table_name_18 (fastest_lap VARCHAR, round VARCHAR)
SELECT fastest_lap FROM table_name_18 WHERE round = 16
I want the fastest lap for round of 16
<s>[INST]I want the fastest lap for round of 16 Context: CREATE TABLE table_name_18 (fastest_lap VARCHAR, round VARCHAR)[/INST]SELECT fastest_lap FROM table_name_18 WHERE round = 16</s>
CREATE TABLE table_name_96 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_96 WHERE home_team = "chelsea"
What's the tie number of Chelsea when they were home?
<s>[INST]What's the tie number of Chelsea when they were home? Context: CREATE TABLE table_name_96 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_96 WHERE home_team = "chelsea"</s>
CREATE TABLE table_name_31 (byes VARCHAR, losses VARCHAR, against VARCHAR)
SELECT COUNT(byes) FROM table_name_31 WHERE losses > 0 AND against = 1526
What is the total number of byes with more than 0 losses and 1526 against?
<s>[INST]What is the total number of byes with more than 0 losses and 1526 against? Context: CREATE TABLE table_name_31 (byes VARCHAR, losses VARCHAR, against VARCHAR)[/INST]SELECT COUNT(byes) FROM table_name_31 WHERE losses > 0 AND against = 1526</s>
CREATE TABLE table_name_6 (place INTEGER, artist VARCHAR, points VARCHAR)
SELECT MAX(place) FROM table_name_6 WHERE artist = "henri dès" AND points < 8
What is the highest place of a song by Henri Dès that has fewer than 8 points?
<s>[INST]What is the highest place of a song by Henri Dès that has fewer than 8 points? Context: CREATE TABLE table_name_6 (place INTEGER, artist VARCHAR, points VARCHAR)[/INST]SELECT MAX(place) FROM table_name_6 WHERE artist = "henri dès" AND points < 8</s>
CREATE TABLE table_name_24 (rank VARCHAR, total VARCHAR, gold VARCHAR)
SELECT rank FROM table_name_24 WHERE total > 9 AND gold > 6
Which Rank has a Total larger than 9, and a Gold larger than 6?
<s>[INST]Which Rank has a Total larger than 9, and a Gold larger than 6? Context: CREATE TABLE table_name_24 (rank VARCHAR, total VARCHAR, gold VARCHAR)[/INST]SELECT rank FROM table_name_24 WHERE total > 9 AND gold > 6</s>
CREATE TABLE table_name_79 (date VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT date FROM table_name_79 WHERE competition = "friendly" AND venue = "pretoria, south africa"
What date has friendly as the competition, with pretoria, South Africa as the venue?
<s>[INST]What date has friendly as the competition, with pretoria, South Africa as the venue? Context: CREATE TABLE table_name_79 (date VARCHAR, competition VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_79 WHERE competition = "friendly" AND venue = "pretoria, south africa"</s>
CREATE TABLE table_29747178_3 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT directed_by FROM table_29747178_3 WHERE us_viewers__million_ = "2.67"
Who directed the episode that was watched by 2.67 million U.S. viewers?
<s>[INST]Who directed the episode that was watched by 2.67 million U.S. viewers? Context: CREATE TABLE table_29747178_3 (directed_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT directed_by FROM table_29747178_3 WHERE us_viewers__million_ = "2.67"</s>
CREATE TABLE table_name_76 (points VARCHAR, record VARCHAR, march VARCHAR)
SELECT COUNT(points) FROM table_name_76 WHERE record = "40–21–12–3" AND march > 28
How many Points have a Record of 40–21–12–3, and a March larger than 28?
<s>[INST]How many Points have a Record of 40–21–12–3, and a March larger than 28? Context: CREATE TABLE table_name_76 (points VARCHAR, record VARCHAR, march VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_76 WHERE record = "40–21–12–3" AND march > 28</s>
CREATE TABLE table_name_7 (record VARCHAR, round VARCHAR, event VARCHAR)
SELECT record FROM table_name_7 WHERE round = "n/a" AND event = "ucs 2 - battle at the barn"
What's the record of the UCS 2 - Battle at the Barn when the round was n/a?
<s>[INST]What's the record of the UCS 2 - Battle at the Barn when the round was n/a? Context: CREATE TABLE table_name_7 (record VARCHAR, round VARCHAR, event VARCHAR)[/INST]SELECT record FROM table_name_7 WHERE round = "n/a" AND event = "ucs 2 - battle at the barn"</s>
CREATE TABLE table_22344463_2 (name VARCHAR, weight VARCHAR, home_team VARCHAR)
SELECT COUNT(name) FROM table_22344463_2 WHERE weight = "78kg" AND home_team = "UMBC"
If the home team is UMBC and the weight is 78kg, what the the name total number?
<s>[INST]If the home team is UMBC and the weight is 78kg, what the the name total number? Context: CREATE TABLE table_22344463_2 (name VARCHAR, weight VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(name) FROM table_22344463_2 WHERE weight = "78kg" AND home_team = "UMBC"</s>
CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_92 WHERE opponent = "lamine ouahab"
On which date was the opponent lamine ouahab?
<s>[INST]On which date was the opponent lamine ouahab? Context: CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_92 WHERE opponent = "lamine ouahab"</s>
CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Journal_ID VARCHAR, Sales INTEGER)
SELECT T2.Name 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 WHERE T3.Sales > 3000
Show the names of editors that are on the committee of journals with sales bigger than 3000.
<s>[INST]Show the names of editors that are on the committee of journals with sales bigger than 3000. Context: CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Journal_ID VARCHAR, Sales INTEGER)[/INST]SELECT T2.Name FROM...
CREATE TABLE table_name_15 (retail_name VARCHAR, digital_analog_signal VARCHAR, chipset_based_on VARCHAR)
SELECT retail_name FROM table_name_15 WHERE digital_analog_signal = "analog" AND chipset_based_on = "radeon 9600"
What is the Retail name with a Digital/analog signal with analog, and a Chipset based on with radeon 9600?
<s>[INST]What is the Retail name with a Digital/analog signal with analog, and a Chipset based on with radeon 9600? Context: CREATE TABLE table_name_15 (retail_name VARCHAR, digital_analog_signal VARCHAR, chipset_based_on VARCHAR)[/INST]SELECT retail_name FROM table_name_15 WHERE digital_analog_signal = "analog" AND ch...
CREATE TABLE table_name_47 (chassis VARCHAR, engine VARCHAR, sponsor VARCHAR)
SELECT chassis FROM table_name_47 WHERE engine = "honda" AND sponsor = "motorola"
What is the Chassis of the Honda Engine with a Motorola sponsor?
<s>[INST]What is the Chassis of the Honda Engine with a Motorola sponsor? Context: CREATE TABLE table_name_47 (chassis VARCHAR, engine VARCHAR, sponsor VARCHAR)[/INST]SELECT chassis FROM table_name_47 WHERE engine = "honda" AND sponsor = "motorola"</s>
CREATE TABLE table_name_17 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_17 WHERE away_team = "geelong"
What is the total crowd size that saw Geelong play as the away team?
<s>[INST]What is the total crowd size that saw Geelong play as the away team? Context: CREATE TABLE table_name_17 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_17 WHERE away_team = "geelong"</s>
CREATE TABLE table_name_86 (year_s__won VARCHAR, to_par VARCHAR, total VARCHAR)
SELECT year_s__won FROM table_name_86 WHERE to_par < 16 AND total = 151
WHAT YEAR HAS A TO PAR SMALLER THAN 16, TOTAL 151?
<s>[INST]WHAT YEAR HAS A TO PAR SMALLER THAN 16, TOTAL 151? Context: CREATE TABLE table_name_86 (year_s__won VARCHAR, to_par VARCHAR, total VARCHAR)[/INST]SELECT year_s__won FROM table_name_86 WHERE to_par < 16 AND total = 151</s>
CREATE TABLE table_3005999_1 (origin VARCHAR, destination VARCHAR)
SELECT origin FROM table_3005999_1 WHERE destination = "Manchester"
What is every origin for the destination of Manchester?
<s>[INST]What is every origin for the destination of Manchester? Context: CREATE TABLE table_3005999_1 (origin VARCHAR, destination VARCHAR)[/INST]SELECT origin FROM table_3005999_1 WHERE destination = "Manchester"</s>
CREATE TABLE table_name_54 (icao VARCHAR, city VARCHAR)
SELECT icao FROM table_name_54 WHERE city = "ningbo"
What is the ICAO for the airport in Ningbo?
<s>[INST]What is the ICAO for the airport in Ningbo? Context: CREATE TABLE table_name_54 (icao VARCHAR, city VARCHAR)[/INST]SELECT icao FROM table_name_54 WHERE city = "ningbo"</s>
CREATE TABLE table_261927_2 (institution VARCHAR, primary_conference VARCHAR)
SELECT institution FROM table_261927_2 WHERE primary_conference = "Merged into the University of Massachusetts Boston"
Which institutions primary conference is merged into the university of Massachusetts boston?
<s>[INST]Which institutions primary conference is merged into the university of Massachusetts boston? Context: CREATE TABLE table_261927_2 (institution VARCHAR, primary_conference VARCHAR)[/INST]SELECT institution FROM table_261927_2 WHERE primary_conference = "Merged into the University of Massachusetts Boston"</s>
CREATE TABLE table_1341663_11 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1341663_11 WHERE district = "Georgia 6"
In the Georgia 6 district, what is the elected party?
<s>[INST]In the Georgia 6 district, what is the elected party? Context: CREATE TABLE table_1341663_11 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_1341663_11 WHERE district = "Georgia 6"</s>