context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR)
SELECT score FROM table_name_67 WHERE location = "clemson, sc" AND winner = "clemson" AND date = "november 11, 2006"
What is the Score, when the Location is Clemson, SC, when the Winner is Clemson, and when the Date is November 11, 2006?
<s>[INST]What is the Score, when the Location is Clemson, SC, when the Winner is Clemson, and when the Date is November 11, 2006? Context: CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR)[/INST]SELECT score FROM table_name_67 WHERE location = "clemson, sc" AND winner = "clemson" AND date = "november 11, 2006"</s>
CREATE TABLE table_name_82 (total_seats INTEGER, seats VARCHAR, share_of_votes VARCHAR)
SELECT MAX(total_seats) FROM table_name_82 WHERE seats = 77 AND share_of_votes = "44.2%"
with a share of 44.2% and 77 seats, what is the greatest seat total?
<s>[INST]with a share of 44.2% and 77 seats, what is the greatest seat total? Context: CREATE TABLE table_name_82 (total_seats INTEGER, seats VARCHAR, share_of_votes VARCHAR)[/INST]SELECT MAX(total_seats) FROM table_name_82 WHERE seats = 77 AND share_of_votes = "44.2%"</s>
CREATE TABLE table_name_33 (race_leader VARCHAR, stage VARCHAR)
SELECT race_leader FROM table_name_33 WHERE stage = "7"
Which race Leader has a Stage of 7?
<s>[INST]Which race Leader has a Stage of 7? Context: CREATE TABLE table_name_33 (race_leader VARCHAR, stage VARCHAR)[/INST]SELECT race_leader FROM table_name_33 WHERE stage = "7"</s>
CREATE TABLE table_name_62 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_62 WHERE venue = "princes park"
What home team plays at Princes Park?
<s>[INST]What home team plays at Princes Park? Context: CREATE TABLE table_name_62 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_62 WHERE venue = "princes park"</s>
CREATE TABLE table_name_33 (Id VARCHAR)
SELECT 2001 FROM table_name_33 WHERE 1990 = "a" AND 1987 = "nme" AND 1997 = "1r"
What is 2001, when 1990 is A, when 1987 is NME, and when 1997 is 1R?
<s>[INST]What is 2001, when 1990 is A, when 1987 is NME, and when 1997 is 1R? Context: CREATE TABLE table_name_33 (Id VARCHAR)[/INST]SELECT 2001 FROM table_name_33 WHERE 1990 = "a" AND 1987 = "nme" AND 1997 = "1r"</s>
CREATE TABLE table_name_62 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_62 WHERE opponent = "philadelphia eagles"
What is the Result of the game against Philadelphia Eagles?
<s>[INST]What is the Result of the game against Philadelphia Eagles? Context: CREATE TABLE table_name_62 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_62 WHERE opponent = "philadelphia eagles"</s>
CREATE TABLE table_name_94 (pick INTEGER, player VARCHAR)
SELECT MAX(pick) FROM table_name_94 WHERE player = "travis lee"
When Travis Lee was picked, what was the highest pick?
<s>[INST]When Travis Lee was picked, what was the highest pick? Context: CREATE TABLE table_name_94 (pick INTEGER, player VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_94 WHERE player = "travis lee"</s>
CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR)
SELECT cName FROM college WHERE enr > (SELECT MAX(enr) FROM college WHERE state = 'FL')
Find names of all colleges whose enrollment is greater than that of all colleges in the FL state.
<s>[INST]Find names of all colleges whose enrollment is greater than that of all colleges in the FL state. Context: CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR)[/INST]SELECT cName FROM college WHERE enr > (SELECT MAX(enr) FROM college WHERE state = 'FL')</s>
CREATE TABLE table_name_9 (sport VARCHAR, name VARCHAR)
SELECT sport FROM table_name_9 WHERE name = "gustav larsson"
What is the Sport with a Name that is gustav larsson?
<s>[INST]What is the Sport with a Name that is gustav larsson? Context: CREATE TABLE table_name_9 (sport VARCHAR, name VARCHAR)[/INST]SELECT sport FROM table_name_9 WHERE name = "gustav larsson"</s>
CREATE TABLE table_name_4 (votes VARCHAR, artist VARCHAR, place VARCHAR)
SELECT COUNT(votes) FROM table_name_4 WHERE artist = "sahlene" AND place > 1
What is the total number of votes Sahlene with a place below 1 has?
<s>[INST]What is the total number of votes Sahlene with a place below 1 has? Context: CREATE TABLE table_name_4 (votes VARCHAR, artist VARCHAR, place VARCHAR)[/INST]SELECT COUNT(votes) FROM table_name_4 WHERE artist = "sahlene" AND place > 1</s>
CREATE TABLE table_name_63 (fleet VARCHAR, launched VARCHAR)
SELECT fleet FROM table_name_63 WHERE launched = "july 30, 1961"
Which fleet launched on July 30, 1961?
<s>[INST]Which fleet launched on July 30, 1961? Context: CREATE TABLE table_name_63 (fleet VARCHAR, launched VARCHAR)[/INST]SELECT fleet FROM table_name_63 WHERE launched = "july 30, 1961"</s>
CREATE TABLE table_name_42 (venue VARCHAR, batting_partners VARCHAR)
SELECT venue FROM table_name_42 WHERE batting_partners = "mahela jayawardene and thilan samaraweera"
What venue did mahela jayawardene and thilan samaraweera play at?
<s>[INST]What venue did mahela jayawardene and thilan samaraweera play at? Context: CREATE TABLE table_name_42 (venue VARCHAR, batting_partners VARCHAR)[/INST]SELECT venue FROM table_name_42 WHERE batting_partners = "mahela jayawardene and thilan samaraweera"</s>
CREATE TABLE table_name_81 (co_drivers VARCHAR, year VARCHAR)
SELECT co_drivers FROM table_name_81 WHERE year = 2008
Who were the co-drivers in 2008?
<s>[INST]Who were the co-drivers in 2008? Context: CREATE TABLE table_name_81 (co_drivers VARCHAR, year VARCHAR)[/INST]SELECT co_drivers FROM table_name_81 WHERE year = 2008</s>
CREATE TABLE table_28046929_2 (driver VARCHAR, entrant VARCHAR)
SELECT driver FROM table_28046929_2 WHERE entrant = "Peugeot Sport Polska"
what are all the people where the entries is peugeot sport polska
<s>[INST]what are all the people where the entries is peugeot sport polska Context: CREATE TABLE table_28046929_2 (driver VARCHAR, entrant VARCHAR)[/INST]SELECT driver FROM table_28046929_2 WHERE entrant = "Peugeot Sport Polska"</s>
CREATE TABLE table_name_89 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_89 WHERE opponent = "scott junk"
Where is the location where Scott Junk was the opponent?
<s>[INST]Where is the location where Scott Junk was the opponent? Context: CREATE TABLE table_name_89 (location VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_89 WHERE opponent = "scott junk"</s>
CREATE TABLE available_policies (customer_phone VARCHAR, policy_type_code VARCHAR)
SELECT customer_phone FROM available_policies WHERE policy_type_code = "Life Insurance"
What are the customer phone numbers under the policy "Life Insurance"?
<s>[INST]What are the customer phone numbers under the policy "Life Insurance"? Context: CREATE TABLE available_policies (customer_phone VARCHAR, policy_type_code VARCHAR)[/INST]SELECT customer_phone FROM available_policies WHERE policy_type_code = "Life Insurance"</s>
CREATE TABLE table_name_8 (high_assists VARCHAR, location_attendance VARCHAR)
SELECT high_assists FROM table_name_8 WHERE location_attendance = "american airlines center 20,223"
Who had the high assists when the game was at American Airlines Center 20,223?
<s>[INST]Who had the high assists when the game was at American Airlines Center 20,223? Context: CREATE TABLE table_name_8 (high_assists VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_assists FROM table_name_8 WHERE location_attendance = "american airlines center 20,223"</s>
CREATE TABLE table_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR)
SELECT COUNT(year_location) FROM table_28138035_20 WHERE womens_doubles = "Jing Junhong Li Jiawei"
How many year locations are there for the womens doubles in jing junhong li jiawei?
<s>[INST]How many year locations are there for the womens doubles in jing junhong li jiawei? Context: CREATE TABLE table_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR)[/INST]SELECT COUNT(year_location) FROM table_28138035_20 WHERE womens_doubles = "Jing Junhong Li Jiawei"</s>
CREATE TABLE table_name_1 (attendance INTEGER, home VARCHAR)
SELECT AVG(attendance) FROM table_name_1 WHERE home = "calgary"
For all games with calgary as home, what is the average number of attendees?
<s>[INST]For all games with calgary as home, what is the average number of attendees? Context: CREATE TABLE table_name_1 (attendance INTEGER, home VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_1 WHERE home = "calgary"</s>
CREATE TABLE table_name_32 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_32 WHERE record = "16–29"
Record of 16–29 is how many attendance?
<s>[INST]Record of 16–29 is how many attendance? Context: CREATE TABLE table_name_32 (attendance VARCHAR, record VARCHAR)[/INST]SELECT attendance FROM table_name_32 WHERE record = "16–29"</s>
CREATE TABLE table_name_86 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_86 WHERE away_team = "carlton"
What was Carlton's score when they were the away team?
<s>[INST]What was Carlton's score when they were the away team? Context: CREATE TABLE table_name_86 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_86 WHERE away_team = "carlton"</s>
CREATE TABLE table_17102076_10 (high_assists VARCHAR, score VARCHAR)
SELECT high_assists FROM table_17102076_10 WHERE score = "L 98–118 (OT)"
Name the high assists for score being l 98–118 (ot)
<s>[INST]Name the high assists for score being l 98–118 (ot) Context: CREATE TABLE table_17102076_10 (high_assists VARCHAR, score VARCHAR)[/INST]SELECT high_assists FROM table_17102076_10 WHERE score = "L 98–118 (OT)"</s>
CREATE TABLE table_name_11 (format VARCHAR, catalog INTEGER)
SELECT format FROM table_name_11 WHERE catalog < 61298
Which Format has a Catalog smaller than 61298?
<s>[INST]Which Format has a Catalog smaller than 61298? Context: CREATE TABLE table_name_11 (format VARCHAR, catalog INTEGER)[/INST]SELECT format FROM table_name_11 WHERE catalog < 61298</s>
CREATE TABLE table_28210383_1 (directed_by VARCHAR, _number__season__number_ VARCHAR)
SELECT directed_by FROM table_28210383_1 WHERE _number__season__number_ = "1 ( 2 )"
Who directed # (season #) is 1 ( 2 )?
<s>[INST]Who directed # (season #) is 1 ( 2 )? Context: CREATE TABLE table_28210383_1 (directed_by VARCHAR, _number__season__number_ VARCHAR)[/INST]SELECT directed_by FROM table_28210383_1 WHERE _number__season__number_ = "1 ( 2 )"</s>
CREATE TABLE table_name_2 (points VARCHAR, played VARCHAR)
SELECT MIN(1994 AS _1995) FROM table_name_2 WHERE points = 145 AND played < 114
What is the lowest 1994-1995, when Points is 145, and when Played is less than 114?
<s>[INST]What is the lowest 1994-1995, when Points is 145, and when Played is less than 114? Context: CREATE TABLE table_name_2 (points VARCHAR, played VARCHAR)[/INST]SELECT MIN(1994 AS _1995) FROM table_name_2 WHERE points = 145 AND played < 114</s>
CREATE TABLE table_23117208_5 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_23117208_5 WHERE written_by = "Michael Rauch"
What is the name of the episode that was written by Michael Rauch?
<s>[INST]What is the name of the episode that was written by Michael Rauch? Context: CREATE TABLE table_23117208_5 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_23117208_5 WHERE written_by = "Michael Rauch"</s>
CREATE TABLE table_name_68 (school VARCHAR, hometown VARCHAR)
SELECT school FROM table_name_68 WHERE hometown = "winter park, fl"
Which school has a hometown of winter park, FL?
<s>[INST]Which school has a hometown of winter park, FL? Context: CREATE TABLE table_name_68 (school VARCHAR, hometown VARCHAR)[/INST]SELECT school FROM table_name_68 WHERE hometown = "winter park, fl"</s>
CREATE TABLE table_name_85 (capacity INTEGER, city VARCHAR)
SELECT AVG(capacity) FROM table_name_85 WHERE city = "foligno"
What is the average capacity that has foligno as the city?
<s>[INST]What is the average capacity that has foligno as the city? Context: CREATE TABLE table_name_85 (capacity INTEGER, city VARCHAR)[/INST]SELECT AVG(capacity) FROM table_name_85 WHERE city = "foligno"</s>
CREATE TABLE table_name_74 (number_of_votes VARCHAR, share_of_votes VARCHAR, candidate VARCHAR, election VARCHAR)
SELECT number_of_votes FROM table_name_74 WHERE candidate = "edward mahama" AND election < 2004 AND share_of_votes = "3.0%"
What is the number of the votes of the election before 2004 with edward mahama as the candidate with 3.0% share of votes?
<s>[INST]What is the number of the votes of the election before 2004 with edward mahama as the candidate with 3.0% share of votes? Context: CREATE TABLE table_name_74 (number_of_votes VARCHAR, share_of_votes VARCHAR, candidate VARCHAR, election VARCHAR)[/INST]SELECT number_of_votes FROM table_name_74 WHERE candidate = "edward mahama" AND election < 2004 AND share_of_votes = "3.0%"</s>
CREATE TABLE table_name_39 (year INTEGER, from_album VARCHAR)
SELECT SUM(year) FROM table_name_39 WHERE from_album = "the thing"
How many years have a Form album of the thing?
<s>[INST]How many years have a Form album of the thing? Context: CREATE TABLE table_name_39 (year INTEGER, from_album VARCHAR)[/INST]SELECT SUM(year) FROM table_name_39 WHERE from_album = "the thing"</s>
CREATE TABLE table_25479607_3 (max_demand_charge___rs__kva_ VARCHAR, tariff___rs__kwh_ VARCHAR)
SELECT max_demand_charge___rs__kva_ FROM table_25479607_3 WHERE tariff___rs__kwh_ = "8.85"
What was the max demand charge for the user with a tariff of 8.85?
<s>[INST]What was the max demand charge for the user with a tariff of 8.85? Context: CREATE TABLE table_25479607_3 (max_demand_charge___rs__kva_ VARCHAR, tariff___rs__kwh_ VARCHAR)[/INST]SELECT max_demand_charge___rs__kva_ FROM table_25479607_3 WHERE tariff___rs__kwh_ = "8.85"</s>
CREATE TABLE table_name_10 (year INTEGER, chassis VARCHAR, points VARCHAR)
SELECT SUM(year) FROM table_name_10 WHERE chassis = "kurtis kraft 500a" AND points < 1.5
What is the year with a Kurtis Kraft 500a chassis, and less than 1.5 points?
<s>[INST]What is the year with a Kurtis Kraft 500a chassis, and less than 1.5 points? Context: CREATE TABLE table_name_10 (year INTEGER, chassis VARCHAR, points VARCHAR)[/INST]SELECT SUM(year) FROM table_name_10 WHERE chassis = "kurtis kraft 500a" AND points < 1.5</s>
CREATE TABLE table_name_43 (championship VARCHAR, margin VARCHAR)
SELECT championship FROM table_name_43 WHERE margin = "10 strokes"
Which championship had a margin of 10 strokes?
<s>[INST]Which championship had a margin of 10 strokes? Context: CREATE TABLE table_name_43 (championship VARCHAR, margin VARCHAR)[/INST]SELECT championship FROM table_name_43 WHERE margin = "10 strokes"</s>
CREATE TABLE table_14562722_2 (discs INTEGER)
SELECT MAX(discs) FROM table_14562722_2
Name the maximum discs
<s>[INST]Name the maximum discs Context: CREATE TABLE table_14562722_2 (discs INTEGER)[/INST]SELECT MAX(discs) FROM table_14562722_2</s>
CREATE TABLE table_name_57 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_57 WHERE home_team = "hereford united"
What was the final score for the match where Hereford United was the home team?
<s>[INST]What was the final score for the match where Hereford United was the home team? Context: CREATE TABLE table_name_57 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_57 WHERE home_team = "hereford united"</s>
CREATE TABLE table_name_30 (attendance INTEGER, week INTEGER)
SELECT MAX(attendance) FROM table_name_30 WHERE week < 1
what is the highest attendance when the week is smaller than 1?
<s>[INST]what is the highest attendance when the week is smaller than 1? Context: CREATE TABLE table_name_30 (attendance INTEGER, week INTEGER)[/INST]SELECT MAX(attendance) FROM table_name_30 WHERE week < 1</s>
CREATE TABLE table_1656555_1 (died VARCHAR, ordained_bishop VARCHAR)
SELECT died FROM table_1656555_1 WHERE ordained_bishop = "April 26, 1927"
What is the death date of the archbishop who was ordained as bishop April 26, 1927?
<s>[INST]What is the death date of the archbishop who was ordained as bishop April 26, 1927? Context: CREATE TABLE table_1656555_1 (died VARCHAR, ordained_bishop VARCHAR)[/INST]SELECT died FROM table_1656555_1 WHERE ordained_bishop = "April 26, 1927"</s>
CREATE TABLE table_1966992_1 (area__km_2__ VARCHAR, census_2006_population VARCHAR)
SELECT COUNT(area__km_2__) FROM table_1966992_1 WHERE census_2006_population = 151511
How many areas (km 2) have 151511 as the census 2006 population?
<s>[INST]How many areas (km 2) have 151511 as the census 2006 population? Context: CREATE TABLE table_1966992_1 (area__km_2__ VARCHAR, census_2006_population VARCHAR)[/INST]SELECT COUNT(area__km_2__) FROM table_1966992_1 WHERE census_2006_population = 151511</s>
CREATE TABLE table_16432543_1 (location VARCHAR, nickname VARCHAR)
SELECT location FROM table_16432543_1 WHERE nickname = "Mountaineers"
Location of the school with the nickname Mountaineers
<s>[INST]Location of the school with the nickname Mountaineers Context: CREATE TABLE table_16432543_1 (location VARCHAR, nickname VARCHAR)[/INST]SELECT location FROM table_16432543_1 WHERE nickname = "Mountaineers"</s>
CREATE TABLE table_name_92 (sitalsasthi_carnival VARCHAR, sambalpuri_saree VARCHAR)
SELECT sitalsasthi_carnival FROM table_name_92 WHERE sambalpuri_saree = "hirakud"
What is the sitalsasthi carnival with hirakud as sambalpuri saree?
<s>[INST]What is the sitalsasthi carnival with hirakud as sambalpuri saree? Context: CREATE TABLE table_name_92 (sitalsasthi_carnival VARCHAR, sambalpuri_saree VARCHAR)[/INST]SELECT sitalsasthi_carnival FROM table_name_92 WHERE sambalpuri_saree = "hirakud"</s>
CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_41 WHERE to_par > 6 AND year_s__won = "1962 , 1967"
What is Player, when To Par is greater than 6, and when Year(s) Won is "1962 , 1967"?
<s>[INST]What is Player, when To Par is greater than 6, and when Year(s) Won is "1962 , 1967"? Context: CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR)[/INST]SELECT player FROM table_name_41 WHERE to_par > 6 AND year_s__won = "1962 , 1967"</s>
CREATE TABLE table_11951237_4 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_11951237_4 WHERE original_air_date = "March 19, 1998"
Which tittles have an original air date of March 19, 1998
<s>[INST]Which tittles have an original air date of March 19, 1998 Context: CREATE TABLE table_11951237_4 (title VARCHAR, original_air_date VARCHAR)[/INST]SELECT title FROM table_11951237_4 WHERE original_air_date = "March 19, 1998"</s>
CREATE TABLE table_name_74 (general_classification_yellow_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR)
SELECT general_classification_yellow_jersey FROM table_name_74 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND team_classification = "lampre-fondital"
What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, and Lampre-Fondital?
<s>[INST]What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, and Lampre-Fondital? Context: CREATE TABLE table_name_74 (general_classification_yellow_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR)[/INST]SELECT general_classification_yellow_jersey FROM table_name_74 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND team_classification = "lampre-fondital"</s>
CREATE TABLE table_10581768_2 (founded VARCHAR, institution VARCHAR)
SELECT COUNT(founded) FROM table_10581768_2 WHERE institution = "Carlow University 1"
how many founded dates are listed for carlow university 1
<s>[INST]how many founded dates are listed for carlow university 1 Context: CREATE TABLE table_10581768_2 (founded VARCHAR, institution VARCHAR)[/INST]SELECT COUNT(founded) FROM table_10581768_2 WHERE institution = "Carlow University 1"</s>
CREATE TABLE table_name_54 (gross_capacity VARCHAR, reactor_type VARCHAR)
SELECT gross_capacity FROM table_name_54 WHERE reactor_type = "abwr"
What is the gross capacity where the reactor is ABWR type?
<s>[INST]What is the gross capacity where the reactor is ABWR type? Context: CREATE TABLE table_name_54 (gross_capacity VARCHAR, reactor_type VARCHAR)[/INST]SELECT gross_capacity FROM table_name_54 WHERE reactor_type = "abwr"</s>
CREATE TABLE table_name_52 (year INTEGER, category VARCHAR)
SELECT SUM(year) FROM table_name_52 WHERE category = "best improved singer (躍進歌手)"
What was the total number of years than had best improved singer (躍進歌手)?
<s>[INST]What was the total number of years than had best improved singer (躍進歌手)? Context: CREATE TABLE table_name_52 (year INTEGER, category VARCHAR)[/INST]SELECT SUM(year) FROM table_name_52 WHERE category = "best improved singer (躍進歌手)"</s>
CREATE TABLE table_name_48 (no_8 VARCHAR, no_1 VARCHAR, no_4 VARCHAR)
SELECT no_8 FROM table_name_48 WHERE no_1 = "michael" AND no_4 = "logan"
Who was No. 8 when No. 1 Michael and No. 4 Logan?
<s>[INST]Who was No. 8 when No. 1 Michael and No. 4 Logan? Context: CREATE TABLE table_name_48 (no_8 VARCHAR, no_1 VARCHAR, no_4 VARCHAR)[/INST]SELECT no_8 FROM table_name_48 WHERE no_1 = "michael" AND no_4 = "logan"</s>
CREATE TABLE weather (zip_code VARCHAR, max_wind_Speed_mph VARCHAR)
SELECT zip_code, COUNT(*) FROM weather WHERE max_wind_Speed_mph >= 25 GROUP BY zip_code
For each zip code, return how many times max wind speed reached 25?
<s>[INST]For each zip code, return how many times max wind speed reached 25? Context: CREATE TABLE weather (zip_code VARCHAR, max_wind_Speed_mph VARCHAR)[/INST]SELECT zip_code, COUNT(*) FROM weather WHERE max_wind_Speed_mph >= 25 GROUP BY zip_code</s>
CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT country FROM table_name_20 WHERE to_par = 1 AND player = "seve ballesteros"
What is Country, when To par is "1", and when Player is "Seve Ballesteros"?
<s>[INST]What is Country, when To par is "1", and when Player is "Seve Ballesteros"? Context: CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_20 WHERE to_par = 1 AND player = "seve ballesteros"</s>
CREATE TABLE table_name_99 (country VARCHAR, to_par VARCHAR, place VARCHAR)
SELECT country FROM table_name_99 WHERE to_par < 7 AND place = "1"
Which Country has a To par smaller than 7, and a Place of 1?
<s>[INST]Which Country has a To par smaller than 7, and a Place of 1? Context: CREATE TABLE table_name_99 (country VARCHAR, to_par VARCHAR, place VARCHAR)[/INST]SELECT country FROM table_name_99 WHERE to_par < 7 AND place = "1"</s>
CREATE TABLE table_1211545_2 (light_vehicle VARCHAR, location VARCHAR)
SELECT light_vehicle FROM table_1211545_2 WHERE location = "between Bela Bela and Modimolle"
What is the toll for light vehicles at the plaza between bela bela and modimolle?
<s>[INST]What is the toll for light vehicles at the plaza between bela bela and modimolle? Context: CREATE TABLE table_1211545_2 (light_vehicle VARCHAR, location VARCHAR)[/INST]SELECT light_vehicle FROM table_1211545_2 WHERE location = "between Bela Bela and Modimolle"</s>
CREATE TABLE table_name_39 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
SELECT reserved_for___sc___st__none_ FROM table_name_39 WHERE name = "lahar"
What is the Reserved For of Lahar?
<s>[INST]What is the Reserved For of Lahar? Context: CREATE TABLE table_name_39 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)[/INST]SELECT reserved_for___sc___st__none_ FROM table_name_39 WHERE name = "lahar"</s>
CREATE TABLE table_name_80 (laps INTEGER, year VARCHAR)
SELECT AVG(laps) FROM table_name_80 WHERE year = 2007
Which Laps has a Year of 2007?
<s>[INST]Which Laps has a Year of 2007? Context: CREATE TABLE table_name_80 (laps INTEGER, year VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_80 WHERE year = 2007</s>
CREATE TABLE table_name_14 (bronze INTEGER, silver VARCHAR, total VARCHAR)
SELECT SUM(bronze) FROM table_name_14 WHERE silver > 0 AND total = 5
What is the total number of bronze medals when the silver is greater than 0, and the total medals 5?
<s>[INST]What is the total number of bronze medals when the silver is greater than 0, and the total medals 5? Context: CREATE TABLE table_name_14 (bronze INTEGER, silver VARCHAR, total VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_14 WHERE silver > 0 AND total = 5</s>
CREATE TABLE table_18600760_1 (land___sqmi__ VARCHAR, township VARCHAR)
SELECT COUNT(land___sqmi__) FROM table_18600760_1 WHERE township = "Ada"
Name the land for ada
<s>[INST]Name the land for ada Context: CREATE TABLE table_18600760_1 (land___sqmi__ VARCHAR, township VARCHAR)[/INST]SELECT COUNT(land___sqmi__) FROM table_18600760_1 WHERE township = "Ada"</s>
CREATE TABLE table_name_88 (points VARCHAR, cat_fea VARCHAR)
SELECT points FROM table_name_88 WHERE cat_fea = "3"
When the CAT FEA is 3 how many points were scored?
<s>[INST]When the CAT FEA is 3 how many points were scored? Context: CREATE TABLE table_name_88 (points VARCHAR, cat_fea VARCHAR)[/INST]SELECT points FROM table_name_88 WHERE cat_fea = "3"</s>
CREATE TABLE table_21824695_8 (team VARCHAR, match_played VARCHAR)
SELECT team FROM table_21824695_8 WHERE match_played = "10 4"
Which team has a match played of 10 4?
<s>[INST]Which team has a match played of 10 4? Context: CREATE TABLE table_21824695_8 (team VARCHAR, match_played VARCHAR)[/INST]SELECT team FROM table_21824695_8 WHERE match_played = "10 4"</s>
CREATE TABLE table_name_63 (location VARCHAR, score VARCHAR)
SELECT location FROM table_name_63 WHERE score = "35-31"
What is the Location, when the Score is 35-31?
<s>[INST]What is the Location, when the Score is 35-31? Context: CREATE TABLE table_name_63 (location VARCHAR, score VARCHAR)[/INST]SELECT location FROM table_name_63 WHERE score = "35-31"</s>
CREATE TABLE table_name_59 (record VARCHAR, visitor VARCHAR, home VARCHAR)
SELECT record FROM table_name_59 WHERE visitor = "cleveland" AND home = "dallas"
What was the record when the visitor was Cleveland in Dallas?
<s>[INST]What was the record when the visitor was Cleveland in Dallas? Context: CREATE TABLE table_name_59 (record VARCHAR, visitor VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_59 WHERE visitor = "cleveland" AND home = "dallas"</s>
CREATE TABLE table_name_96 (est VARCHAR, league VARCHAR, state_province VARCHAR, city VARCHAR)
SELECT est FROM table_name_96 WHERE state_province = "illinois" AND city = "chicago" AND league = "nfl"
In what year was the NFL team in chicago illinois established?
<s>[INST]In what year was the NFL team in chicago illinois established? Context: CREATE TABLE table_name_96 (est VARCHAR, league VARCHAR, state_province VARCHAR, city VARCHAR)[/INST]SELECT est FROM table_name_96 WHERE state_province = "illinois" AND city = "chicago" AND league = "nfl"</s>
CREATE TABLE table_12226390_3 (title VARCHAR, production_code VARCHAR)
SELECT COUNT(title) FROM table_12226390_3 WHERE production_code = 39
what's the total number of title for production code 39
<s>[INST]what's the total number of title for production code 39 Context: CREATE TABLE table_12226390_3 (title VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(title) FROM table_12226390_3 WHERE production_code = 39</s>
CREATE TABLE train (Name VARCHAR, Arrival VARCHAR)
SELECT Name, Arrival FROM train
What are the names and arrival times of trains?
<s>[INST]What are the names and arrival times of trains? Context: CREATE TABLE train (Name VARCHAR, Arrival VARCHAR)[/INST]SELECT Name, Arrival FROM train</s>
CREATE TABLE table_20205538_4 (title VARCHAR, episode__number VARCHAR)
SELECT title FROM table_20205538_4 WHERE episode__number = 2
What was the title for episode 2?
<s>[INST]What was the title for episode 2? Context: CREATE TABLE table_20205538_4 (title VARCHAR, episode__number VARCHAR)[/INST]SELECT title FROM table_20205538_4 WHERE episode__number = 2</s>
CREATE TABLE table_name_22 (year INTEGER, location VARCHAR, eruptions VARCHAR)
SELECT SUM(year) FROM table_name_22 WHERE location = "pacific ring of fire" AND eruptions = "pinatubo"
How many years have a Location of pacific ring of fire, and Eruptions of pinatubo?
<s>[INST]How many years have a Location of pacific ring of fire, and Eruptions of pinatubo? Context: CREATE TABLE table_name_22 (year INTEGER, location VARCHAR, eruptions VARCHAR)[/INST]SELECT SUM(year) FROM table_name_22 WHERE location = "pacific ring of fire" AND eruptions = "pinatubo"</s>
CREATE TABLE table_1341897_45 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1341897_45 WHERE incumbent = "Walter E. Rogers"
What was the result of the election in which Walter E. Rogers was the incumbent?
<s>[INST]What was the result of the election in which Walter E. Rogers was the incumbent? Context: CREATE TABLE table_1341897_45 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1341897_45 WHERE incumbent = "Walter E. Rogers"</s>
CREATE TABLE table_name_93 (call_sign VARCHAR, erp_w VARCHAR)
SELECT call_sign FROM table_name_93 WHERE erp_w = 80
What Call sign shows an ERP W of 80?
<s>[INST]What Call sign shows an ERP W of 80? Context: CREATE TABLE table_name_93 (call_sign VARCHAR, erp_w VARCHAR)[/INST]SELECT call_sign FROM table_name_93 WHERE erp_w = 80</s>
CREATE TABLE table_name_61 (area VARCHAR, roll VARCHAR, gender VARCHAR, authority VARCHAR, decile VARCHAR)
SELECT area FROM table_name_61 WHERE authority = "state" AND decile > 6 AND gender = "coed" AND roll = 26
Where is the coed school with state authority, a Decile larger than 6 and 26 enrolled?
<s>[INST]Where is the coed school with state authority, a Decile larger than 6 and 26 enrolled? Context: CREATE TABLE table_name_61 (area VARCHAR, roll VARCHAR, gender VARCHAR, authority VARCHAR, decile VARCHAR)[/INST]SELECT area FROM table_name_61 WHERE authority = "state" AND decile > 6 AND gender = "coed" AND roll = 26</s>
CREATE TABLE country (SurfaceArea INTEGER, Continent VARCHAR)
SELECT SUM(SurfaceArea) FROM country WHERE Continent = "Asia" OR Continent = "Europe"
What is the total surface area of the continents Asia and Europe?
<s>[INST]What is the total surface area of the continents Asia and Europe? Context: CREATE TABLE country (SurfaceArea INTEGER, Continent VARCHAR)[/INST]SELECT SUM(SurfaceArea) FROM country WHERE Continent = "Asia" OR Continent = "Europe"</s>
CREATE TABLE table_22011138_7 (total_pts INTEGER, avg VARCHAR)
SELECT MAX(total_pts) FROM table_22011138_7 WHERE avg = "1.2803"
If the average is 1.2803, what is the total points maximum?
<s>[INST]If the average is 1.2803, what is the total points maximum? Context: CREATE TABLE table_22011138_7 (total_pts INTEGER, avg VARCHAR)[/INST]SELECT MAX(total_pts) FROM table_22011138_7 WHERE avg = "1.2803"</s>
CREATE TABLE table_2562572_37 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)
SELECT dominant_religion__2002_ FROM table_2562572_37 WHERE settlement = "Srpska Crnja"
Name the dominant religion of srpska crnja
<s>[INST]Name the dominant religion of srpska crnja Context: CREATE TABLE table_2562572_37 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)[/INST]SELECT dominant_religion__2002_ FROM table_2562572_37 WHERE settlement = "Srpska Crnja"</s>
CREATE TABLE table_name_12 (viewers__m_ VARCHAR, rating VARCHAR, share VARCHAR)
SELECT COUNT(viewers__m_) FROM table_name_12 WHERE rating = 6.4 AND share > 11
what is the total viewers (m) when the rating is 6.4 and the share is more than 11?
<s>[INST]what is the total viewers (m) when the rating is 6.4 and the share is more than 11? Context: CREATE TABLE table_name_12 (viewers__m_ VARCHAR, rating VARCHAR, share VARCHAR)[/INST]SELECT COUNT(viewers__m_) FROM table_name_12 WHERE rating = 6.4 AND share > 11</s>
CREATE TABLE table_142159_1 (status VARCHAR, location VARCHAR)
SELECT status FROM table_142159_1 WHERE location = "Museum"
Whats the status of the trains at location Museum
<s>[INST]Whats the status of the trains at location Museum Context: CREATE TABLE table_142159_1 (status VARCHAR, location VARCHAR)[/INST]SELECT status FROM table_142159_1 WHERE location = "Museum"</s>
CREATE TABLE CARS_DATA (Cylinders INTEGER)
SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 6
How many cars has over 6 cylinders?
<s>[INST]How many cars has over 6 cylinders? Context: CREATE TABLE CARS_DATA (Cylinders INTEGER)[/INST]SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 6</s>
CREATE TABLE table_name_69 (cars_entered INTEGER, season VARCHAR)
SELECT MAX(cars_entered) FROM table_name_69 WHERE season = 1958
What are the largest Cars Entered with a Season of 1958?
<s>[INST]What are the largest Cars Entered with a Season of 1958? Context: CREATE TABLE table_name_69 (cars_entered INTEGER, season VARCHAR)[/INST]SELECT MAX(cars_entered) FROM table_name_69 WHERE season = 1958</s>
CREATE TABLE table_name_79 (player VARCHAR, school VARCHAR)
SELECT player FROM table_name_79 WHERE school = "la costa canyon high school"
Who is the player from La Costa Canyon High School?
<s>[INST]Who is the player from La Costa Canyon High School? Context: CREATE TABLE table_name_79 (player VARCHAR, school VARCHAR)[/INST]SELECT player FROM table_name_79 WHERE school = "la costa canyon high school"</s>
CREATE TABLE table_17326036_7 (game INTEGER, team VARCHAR)
SELECT MIN(game) FROM table_17326036_7 WHERE team = "Houston"
What is the lowest game number when the team is Houston?
<s>[INST]What is the lowest game number when the team is Houston? Context: CREATE TABLE table_17326036_7 (game INTEGER, team VARCHAR)[/INST]SELECT MIN(game) FROM table_17326036_7 WHERE team = "Houston"</s>
CREATE TABLE table_16776312_3 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_16776312_3 WHERE date = "12 May 2008"
Name the opponent for 12 may 2008
<s>[INST]Name the opponent for 12 may 2008 Context: CREATE TABLE table_16776312_3 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_16776312_3 WHERE date = "12 May 2008"</s>
CREATE TABLE table_1971074_1 (enrollment VARCHAR, nickname VARCHAR)
SELECT COUNT(enrollment) FROM table_1971074_1 WHERE nickname = "Barons"
How many different enrollment numbers are there for the school whose students are nicknamed Barons?
<s>[INST]How many different enrollment numbers are there for the school whose students are nicknamed Barons? Context: CREATE TABLE table_1971074_1 (enrollment VARCHAR, nickname VARCHAR)[/INST]SELECT COUNT(enrollment) FROM table_1971074_1 WHERE nickname = "Barons"</s>
CREATE TABLE table_name_98 (netflix VARCHAR, series_ep VARCHAR)
SELECT netflix FROM table_name_98 WHERE series_ep = "6-02"
What is the Netflix episode that has a series episode of 6-02?
<s>[INST]What is the Netflix episode that has a series episode of 6-02? Context: CREATE TABLE table_name_98 (netflix VARCHAR, series_ep VARCHAR)[/INST]SELECT netflix FROM table_name_98 WHERE series_ep = "6-02"</s>
CREATE TABLE shop (manager_name VARCHAR, district VARCHAR, number_products VARCHAR)
SELECT manager_name, district FROM shop ORDER BY number_products DESC LIMIT 1
Find the manager name and district of the shop whose number of products is the largest.
<s>[INST]Find the manager name and district of the shop whose number of products is the largest. Context: CREATE TABLE shop (manager_name VARCHAR, district VARCHAR, number_products VARCHAR)[/INST]SELECT manager_name, district FROM shop ORDER BY number_products DESC LIMIT 1</s>
CREATE TABLE table_name_30 (rocket VARCHAR, block VARCHAR)
SELECT rocket FROM table_name_30 WHERE block = "block i/ii hybrid"
What rocket has a block i/ii hybrid?
<s>[INST]What rocket has a block i/ii hybrid? Context: CREATE TABLE table_name_30 (rocket VARCHAR, block VARCHAR)[/INST]SELECT rocket FROM table_name_30 WHERE block = "block i/ii hybrid"</s>
CREATE TABLE institution (institution VARCHAR, institution_id VARCHAR); CREATE TABLE protein (institution_id VARCHAR)
SELECT T1.institution, COUNT(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id GROUP BY T1.institution_id
Show institution names along with the number of proteins for each institution.
<s>[INST]Show institution names along with the number of proteins for each institution. Context: CREATE TABLE institution (institution VARCHAR, institution_id VARCHAR); CREATE TABLE protein (institution_id VARCHAR)[/INST]SELECT T1.institution, COUNT(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id GROUP BY T1.institution_id</s>
CREATE TABLE table_1342359_5 (candidates VARCHAR, district VARCHAR)
SELECT COUNT(candidates) FROM table_1342359_5 WHERE district = "California 7"
how many candidates with district being california 7
<s>[INST] how many candidates with district being california 7 Context: CREATE TABLE table_1342359_5 (candidates VARCHAR, district VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_1342359_5 WHERE district = "California 7"</s>
CREATE TABLE table_name_13 (genes VARCHAR, species VARCHAR, base_pairs VARCHAR)
SELECT genes FROM table_name_13 WHERE species = "burkholderia pseudomallei" AND base_pairs = "4,126,292"
How many genes are in species burkholderia pseudomallei with 4,126,292 base pairs?
<s>[INST]How many genes are in species burkholderia pseudomallei with 4,126,292 base pairs? Context: CREATE TABLE table_name_13 (genes VARCHAR, species VARCHAR, base_pairs VARCHAR)[/INST]SELECT genes FROM table_name_13 WHERE species = "burkholderia pseudomallei" AND base_pairs = "4,126,292"</s>
CREATE TABLE table_name_62 (name VARCHAR)
SELECT 2013 AS _club FROM table_name_62 WHERE name = "ana grbac category:articles with hcards"
Name the 2013 club which has a Name of ana grbac category:articles with hcards?
<s>[INST]Name the 2013 club which has a Name of ana grbac category:articles with hcards? Context: CREATE TABLE table_name_62 (name VARCHAR)[/INST]SELECT 2013 AS _club FROM table_name_62 WHERE name = "ana grbac category:articles with hcards"</s>
CREATE TABLE table_name_64 (points VARCHAR, opponent VARCHAR, game VARCHAR)
SELECT COUNT(points) FROM table_name_64 WHERE opponent = "@ new york islanders" AND game > 35
How many points have @ new york islanders as the opponent, with a game greater than 35?
<s>[INST]How many points have @ new york islanders as the opponent, with a game greater than 35? Context: CREATE TABLE table_name_64 (points VARCHAR, opponent VARCHAR, game VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_64 WHERE opponent = "@ new york islanders" AND game > 35</s>
CREATE TABLE table_name_80 (track VARCHAR, pole_winner VARCHAR, event_name VARCHAR)
SELECT track FROM table_name_80 WHERE pole_winner = "frank kimmel" AND event_name = "pennsylvania 200"
At which track was Frank Kimmel the Pole Winner of the Pennsylvania 200?
<s>[INST]At which track was Frank Kimmel the Pole Winner of the Pennsylvania 200? Context: CREATE TABLE table_name_80 (track VARCHAR, pole_winner VARCHAR, event_name VARCHAR)[/INST]SELECT track FROM table_name_80 WHERE pole_winner = "frank kimmel" AND event_name = "pennsylvania 200"</s>
CREATE TABLE table_name_80 (year_ended VARCHAR, passenger_load_factor___percentage_ VARCHAR, revenue__€m_ VARCHAR)
SELECT year_ended FROM table_name_80 WHERE passenger_load_factor___percentage_ > 72.8 AND revenue__€m_ < 906.8
Which Year Ended has a Passenger Load Factor (%) larger than 72.8, and a Revenue (€m) smaller than 906.8?
<s>[INST]Which Year Ended has a Passenger Load Factor (%) larger than 72.8, and a Revenue (€m) smaller than 906.8? Context: CREATE TABLE table_name_80 (year_ended VARCHAR, passenger_load_factor___percentage_ VARCHAR, revenue__€m_ VARCHAR)[/INST]SELECT year_ended FROM table_name_80 WHERE passenger_load_factor___percentage_ > 72.8 AND revenue__€m_ < 906.8</s>
CREATE TABLE table_name_95 (game__number INTEGER, home VARCHAR, points VARCHAR)
SELECT AVG(game__number) FROM table_name_95 WHERE home = "san jose" AND points < 71
Which average Game # has a Home of san jose, and Points smaller than 71?
<s>[INST]Which average Game # has a Home of san jose, and Points smaller than 71? Context: CREATE TABLE table_name_95 (game__number INTEGER, home VARCHAR, points VARCHAR)[/INST]SELECT AVG(game__number) FROM table_name_95 WHERE home = "san jose" AND points < 71</s>
CREATE TABLE table_name_9 (rank INTEGER, bronze INTEGER)
SELECT AVG(rank) FROM table_name_9 WHERE bronze < 0
What is the rank with 0 bronze?
<s>[INST]What is the rank with 0 bronze? Context: CREATE TABLE table_name_9 (rank INTEGER, bronze INTEGER)[/INST]SELECT AVG(rank) FROM table_name_9 WHERE bronze < 0</s>
CREATE TABLE table_name_30 (silver VARCHAR, nation VARCHAR, rank VARCHAR)
SELECT COUNT(silver) FROM table_name_30 WHERE nation = "hungary" AND rank > 10
How many silvers have a Nation of hungary, and a Rank larger than 10?
<s>[INST]How many silvers have a Nation of hungary, and a Rank larger than 10? Context: CREATE TABLE table_name_30 (silver VARCHAR, nation VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_30 WHERE nation = "hungary" AND rank > 10</s>
CREATE TABLE table_1717824_1 (_percentage_2011 VARCHAR, _percentage_2001 VARCHAR)
SELECT _percentage_2011 FROM table_1717824_1 WHERE _percentage_2001 = "2.4%"
What was the percentage in 2011 of the province that had 2.4% population in 2001?
<s>[INST]What was the percentage in 2011 of the province that had 2.4% population in 2001? Context: CREATE TABLE table_1717824_1 (_percentage_2011 VARCHAR, _percentage_2001 VARCHAR)[/INST]SELECT _percentage_2011 FROM table_1717824_1 WHERE _percentage_2001 = "2.4%"</s>
CREATE TABLE table_name_95 (winning_constructor VARCHAR, name VARCHAR)
SELECT winning_constructor FROM table_name_95 WHERE name = "roussillon grand prix"
Which Constructor won the Roussillon Grand Prix?
<s>[INST]Which Constructor won the Roussillon Grand Prix? Context: CREATE TABLE table_name_95 (winning_constructor VARCHAR, name VARCHAR)[/INST]SELECT winning_constructor FROM table_name_95 WHERE name = "roussillon grand prix"</s>
CREATE TABLE table_name_4 (week INTEGER, result VARCHAR)
SELECT AVG(week) FROM table_name_4 WHERE result = "w 17-14"
On what Week was the Result W 17-14?
<s>[INST]On what Week was the Result W 17-14? Context: CREATE TABLE table_name_4 (week INTEGER, result VARCHAR)[/INST]SELECT AVG(week) FROM table_name_4 WHERE result = "w 17-14"</s>
CREATE TABLE table_name_32 (swimsuit VARCHAR, evening_gown VARCHAR, interview VARCHAR)
SELECT COUNT(swimsuit) FROM table_name_32 WHERE evening_gown > 9 AND interview > 8.405
How many swimsuits have an Evening Gown larger than 9, and an Interview larger than 8.405?
<s>[INST]How many swimsuits have an Evening Gown larger than 9, and an Interview larger than 8.405? Context: CREATE TABLE table_name_32 (swimsuit VARCHAR, evening_gown VARCHAR, interview VARCHAR)[/INST]SELECT COUNT(swimsuit) FROM table_name_32 WHERE evening_gown > 9 AND interview > 8.405</s>
CREATE TABLE table_name_84 (gain INTEGER, long VARCHAR, name VARCHAR, loss VARCHAR, avg_g VARCHAR)
SELECT MIN(gain) FROM table_name_84 WHERE loss > 2 AND avg_g > -6 AND name = "sheehan, tyler" AND long > 11
Which Gain is the lowest one that has a Loss larger than 2, and an Avg/G larger than -6, and a Name of sheehan, tyler, and a Long larger than 11?
<s>[INST]Which Gain is the lowest one that has a Loss larger than 2, and an Avg/G larger than -6, and a Name of sheehan, tyler, and a Long larger than 11? Context: CREATE TABLE table_name_84 (gain INTEGER, long VARCHAR, name VARCHAR, loss VARCHAR, avg_g VARCHAR)[/INST]SELECT MIN(gain) FROM table_name_84 WHERE loss > 2 AND avg_g > -6 AND name = "sheehan, tyler" AND long > 11</s>
CREATE TABLE table_name_27 (score VARCHAR, place VARCHAR)
SELECT score FROM table_name_27 WHERE place = "t3"
Which score has t3 as the place?
<s>[INST]Which score has t3 as the place? Context: CREATE TABLE table_name_27 (score VARCHAR, place VARCHAR)[/INST]SELECT score FROM table_name_27 WHERE place = "t3"</s>
CREATE TABLE weather (mean_humidity VARCHAR, mean_visibility_miles VARCHAR)
SELECT COUNT(*) FROM weather WHERE mean_humidity > 50 AND mean_visibility_miles > 8
How many days had both mean humidity above 50 and mean visibility above 8?
<s>[INST]How many days had both mean humidity above 50 and mean visibility above 8? Context: CREATE TABLE weather (mean_humidity VARCHAR, mean_visibility_miles VARCHAR)[/INST]SELECT COUNT(*) FROM weather WHERE mean_humidity > 50 AND mean_visibility_miles > 8</s>
CREATE TABLE table_name_33 (Id VARCHAR)
SELECT 1990 FROM table_name_33 WHERE 1996 = "grand slam tournaments"
What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments?
<s>[INST]What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments? Context: CREATE TABLE table_name_33 (Id VARCHAR)[/INST]SELECT 1990 FROM table_name_33 WHERE 1996 = "grand slam tournaments"</s>
CREATE TABLE table_name_32 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_name_32 WHERE production_code = "ad1d02"
tell me the director of the production code ad1d02.
<s>[INST]tell me the director of the production code ad1d02. Context: CREATE TABLE table_name_32 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_name_32 WHERE production_code = "ad1d02"</s>