context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_12 (total INTEGER, country VARCHAR, year_s__won VARCHAR)
SELECT MAX(total) FROM table_name_12 WHERE country = "scotland" AND year_s__won = 1985
What is the highest total for Scotland with a year won of 1985?
<s>[INST]What is the highest total for Scotland with a year won of 1985? Context: CREATE TABLE table_name_12 (total INTEGER, country VARCHAR, year_s__won VARCHAR)[/INST]SELECT MAX(total) FROM table_name_12 WHERE country = "scotland" AND year_s__won = 1985</s>
CREATE TABLE table_25580292_13 (young_rider_classification VARCHAR, winner VARCHAR)
SELECT young_rider_classification FROM table_25580292_13 WHERE winner = "Manuel Cardoso"
What was the young rider classification when manuel cardoso was the winner?
<s>[INST]What was the young rider classification when manuel cardoso was the winner? Context: CREATE TABLE table_25580292_13 (young_rider_classification VARCHAR, winner VARCHAR)[/INST]SELECT young_rider_classification FROM table_25580292_13 WHERE winner = "Manuel Cardoso"</s>
CREATE TABLE table_2528382_5 (lyricist VARCHAR, co_stars VARCHAR)
SELECT lyricist FROM table_2528382_5 WHERE co_stars = "Jeevankala"
Who wrote the lyrics when Jeevankala co-starred?
<s>[INST]Who wrote the lyrics when Jeevankala co-starred? Context: CREATE TABLE table_2528382_5 (lyricist VARCHAR, co_stars VARCHAR)[/INST]SELECT lyricist FROM table_2528382_5 WHERE co_stars = "Jeevankala"</s>
CREATE TABLE table_28138035_4 (womens_singles VARCHAR, year_location VARCHAR)
SELECT COUNT(womens_singles) FROM table_28138035_4 WHERE year_location = "1999 Rio de Janeiro"
Name the number of womens singles for 1999 rio de janeiro
<s>[INST]Name the number of womens singles for 1999 rio de janeiro Context: CREATE TABLE table_28138035_4 (womens_singles VARCHAR, year_location VARCHAR)[/INST]SELECT COUNT(womens_singles) FROM table_28138035_4 WHERE year_location = "1999 Rio de Janeiro"</s>
CREATE TABLE table_name_35 (revenue__ INTEGER, debt_as__percentageof_value VARCHAR, operating_income_$m_ VARCHAR)
SELECT SUM(revenue__) AS $m_ FROM table_name_35 WHERE debt_as__percentageof_value > 27 AND operating_income_$m_ = 77
What was the sum of Revenue ($M), when the Debt as % of value was higher than 27, and the Operating income($m) was 77?
<s>[INST]What was the sum of Revenue ($M), when the Debt as % of value was higher than 27, and the Operating income($m) was 77? Context: CREATE TABLE table_name_35 (revenue__ INTEGER, debt_as__percentageof_value VARCHAR, operating_income_$m_ VARCHAR)[/INST]SELECT SUM(revenue__) AS $m_ FROM table_name_35 WHERE debt_as__...
CREATE TABLE table_name_17 (assists INTEGER, name VARCHAR, points VARCHAR)
SELECT MIN(assists) FROM table_name_17 WHERE name = "ben duggan" AND points < 7
What is the smallest number of assists for Ben Duggan with less than 7 points?
<s>[INST]What is the smallest number of assists for Ben Duggan with less than 7 points? Context: CREATE TABLE table_name_17 (assists INTEGER, name VARCHAR, points VARCHAR)[/INST]SELECT MIN(assists) FROM table_name_17 WHERE name = "ben duggan" AND points < 7</s>
CREATE TABLE table_name_89 (round INTEGER, school_club_team VARCHAR, overall VARCHAR)
SELECT MIN(round) FROM table_name_89 WHERE school_club_team = "trinity" AND overall < 21
What is the lowest round Trinity school was drafted with an overall higher than 21?
<s>[INST]What is the lowest round Trinity school was drafted with an overall higher than 21? Context: CREATE TABLE table_name_89 (round INTEGER, school_club_team VARCHAR, overall VARCHAR)[/INST]SELECT MIN(round) FROM table_name_89 WHERE school_club_team = "trinity" AND overall < 21</s>
CREATE TABLE Faculty (Fname VARCHAR, Lname VARCHAR, phone VARCHAR, Sex VARCHAR)
SELECT Fname, Lname, phone FROM Faculty WHERE Sex = 'F'
Show the first name, last name, and phone number for all female faculty members.
<s>[INST]Show the first name, last name, and phone number for all female faculty members. Context: CREATE TABLE Faculty (Fname VARCHAR, Lname VARCHAR, phone VARCHAR, Sex VARCHAR)[/INST]SELECT Fname, Lname, phone FROM Faculty WHERE Sex = 'F'</s>
CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR)
SELECT score FROM table_name_35 WHERE opponents = "diego junqueira gabriel trujillo-soler"
What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score?
<s>[INST]What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score? Context: CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR)[/INST]SELECT score FROM table_name_35 WHERE opponents = "diego junqueira gabriel trujillo-soler"</s>
CREATE TABLE table_2668336_17 (incumbent VARCHAR, candidates VARCHAR)
SELECT incumbent FROM table_2668336_17 WHERE candidates = "Charles Fisher (DR) 65.1% W. Jones (F) 34.9%"
The candidates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% is for what incumbent?
<s>[INST]The candidates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% is for what incumbent? Context: CREATE TABLE table_2668336_17 (incumbent VARCHAR, candidates VARCHAR)[/INST]SELECT incumbent FROM table_2668336_17 WHERE candidates = "Charles Fisher (DR) 65.1% W. Jones (F) 34.9%"</s>
CREATE TABLE table_name_19 (height VARCHAR, date_of_birth VARCHAR)
SELECT height FROM table_name_19 WHERE date_of_birth = "1982-07-05"
What is the Height of the Player with a Date of Birth of 1982-07-05?
<s>[INST]What is the Height of the Player with a Date of Birth of 1982-07-05? Context: CREATE TABLE table_name_19 (height VARCHAR, date_of_birth VARCHAR)[/INST]SELECT height FROM table_name_19 WHERE date_of_birth = "1982-07-05"</s>
CREATE TABLE table_name_41 (mkhedruli VARCHAR, asomtavruli VARCHAR)
SELECT mkhedruli FROM table_name_41 WHERE asomtavruli = "ⴒ"
What is the Mkhedruli symbol for the Asomtavruli ⴒ?
<s>[INST]What is the Mkhedruli symbol for the Asomtavruli ⴒ? Context: CREATE TABLE table_name_41 (mkhedruli VARCHAR, asomtavruli VARCHAR)[/INST]SELECT mkhedruli FROM table_name_41 WHERE asomtavruli = "ⴒ"</s>
CREATE TABLE table_name_52 (tennis VARCHAR, school VARCHAR)
SELECT tennis FROM table_name_52 WHERE school = "youngstown state"
What is the tennis status for youngstown state?
<s>[INST]What is the tennis status for youngstown state? Context: CREATE TABLE table_name_52 (tennis VARCHAR, school VARCHAR)[/INST]SELECT tennis FROM table_name_52 WHERE school = "youngstown state"</s>
CREATE TABLE table_name_44 (Id VARCHAR)
SELECT 2010 FROM table_name_44 WHERE 2008 = "grand slam tournaments"
Can you tell me the 2010 that has the 2008 of grand slam tournaments?
<s>[INST]Can you tell me the 2010 that has the 2008 of grand slam tournaments? Context: CREATE TABLE table_name_44 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_44 WHERE 2008 = "grand slam tournaments"</s>
CREATE TABLE table_name_79 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_79 WHERE score = 75 - 68 - 70 = 213
Who is the player with a 75-68-70=213 score?
<s>[INST]Who is the player with a 75-68-70=213 score? Context: CREATE TABLE table_name_79 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_79 WHERE score = 75 - 68 - 70 = 213</s>
CREATE TABLE table_name_6 (closed VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)
SELECT closed FROM table_name_6 WHERE opened < 1877 AND distance_from_wellington = "2.44km"
Opened prior to 1877 only 2.44km from Wellington, when did this station close?
<s>[INST]Opened prior to 1877 only 2.44km from Wellington, when did this station close? Context: CREATE TABLE table_name_6 (closed VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)[/INST]SELECT closed FROM table_name_6 WHERE opened < 1877 AND distance_from_wellington = "2.44km"</s>
CREATE TABLE table_2665085_1 (speed__mph_ VARCHAR, height__ft_ VARCHAR)
SELECT speed__mph_ FROM table_2665085_1 WHERE height__ft_ = 163
How fast is the coaster that is 163 feet tall
<s>[INST]How fast is the coaster that is 163 feet tall Context: CREATE TABLE table_2665085_1 (speed__mph_ VARCHAR, height__ft_ VARCHAR)[/INST]SELECT speed__mph_ FROM table_2665085_1 WHERE height__ft_ = 163</s>
CREATE TABLE table_1233808_2 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_1233808_2 WHERE record = "Biggest defeat"
Who was the opponent during the biggest defeat?
<s>[INST]Who was the opponent during the biggest defeat? Context: CREATE TABLE table_1233808_2 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_1233808_2 WHERE record = "Biggest defeat"</s>
CREATE TABLE table_name_92 (tournament VARCHAR)
SELECT 1996 FROM table_name_92 WHERE tournament = "wimbledon"
What is the value for the Wimbledon tournament in 1996?
<s>[INST]What is the value for the Wimbledon tournament in 1996? Context: CREATE TABLE table_name_92 (tournament VARCHAR)[/INST]SELECT 1996 FROM table_name_92 WHERE tournament = "wimbledon"</s>
CREATE TABLE table_name_80 (category VARCHAR, year VARCHAR)
SELECT category FROM table_name_80 WHERE year = 2011
What was the category that sheridan smith was nominated for in 2011?
<s>[INST]What was the category that sheridan smith was nominated for in 2011? Context: CREATE TABLE table_name_80 (category VARCHAR, year VARCHAR)[/INST]SELECT category FROM table_name_80 WHERE year = 2011</s>
CREATE TABLE table_25519358_1 (vertical_0_b VARCHAR, name VARCHAR)
SELECT vertical_0_b FROM table_25519358_1 WHERE name = "边 BIAN"
Name the vertical for 边 bian
<s>[INST]Name the vertical for 边 bian Context: CREATE TABLE table_25519358_1 (vertical_0_b VARCHAR, name VARCHAR)[/INST]SELECT vertical_0_b FROM table_25519358_1 WHERE name = "边 BIAN"</s>
CREATE TABLE table_name_85 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_85 WHERE score = "7–0"
What competition has a Score of 7–0?
<s>[INST]What competition has a Score of 7–0? Context: CREATE TABLE table_name_85 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_85 WHERE score = "7–0"</s>
CREATE TABLE table_name_60 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_60 WHERE venue = "emcg"
When the game was played at the EMCG venue, who was the away team?
<s>[INST]When the game was played at the EMCG venue, who was the away team? Context: CREATE TABLE table_name_60 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_60 WHERE venue = "emcg"</s>
CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_44 WHERE score = "92-111"
Which Opponent has a Score of 92-111?
<s>[INST]Which Opponent has a Score of 92-111? Context: CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_44 WHERE score = "92-111"</s>
CREATE TABLE table_name_55 (endowment_as_of_2008 VARCHAR, established VARCHAR)
SELECT endowment_as_of_2008 FROM table_name_55 WHERE established = 1961
What was the endowment in 2008 of the college that was established in 1961?
<s>[INST]What was the endowment in 2008 of the college that was established in 1961? Context: CREATE TABLE table_name_55 (endowment_as_of_2008 VARCHAR, established VARCHAR)[/INST]SELECT endowment_as_of_2008 FROM table_name_55 WHERE established = 1961</s>
CREATE TABLE table_25042332_16 (region VARCHAR, below_50_percentage_of_median_income VARCHAR)
SELECT region FROM table_25042332_16 WHERE below_50_percentage_of_median_income = "18.6%"
In what region do 18.6% of the people make less than 50% of the median income?
<s>[INST]In what region do 18.6% of the people make less than 50% of the median income? Context: CREATE TABLE table_25042332_16 (region VARCHAR, below_50_percentage_of_median_income VARCHAR)[/INST]SELECT region FROM table_25042332_16 WHERE below_50_percentage_of_median_income = "18.6%"</s>
CREATE TABLE table_name_45 (league_cup_goals VARCHAR, league_cup_apps VARCHAR)
SELECT league_cup_goals FROM table_name_45 WHERE league_cup_apps = "1 (1)"
Which League Cup Goals have a League Cup Apps of 1 (1)?
<s>[INST]Which League Cup Goals have a League Cup Apps of 1 (1)? Context: CREATE TABLE table_name_45 (league_cup_goals VARCHAR, league_cup_apps VARCHAR)[/INST]SELECT league_cup_goals FROM table_name_45 WHERE league_cup_apps = "1 (1)"</s>
CREATE TABLE table_1818471_1 (species VARCHAR, afinsa VARCHAR)
SELECT species FROM table_1818471_1 WHERE afinsa = 639
What is every species when Afinsa is 639?
<s>[INST]What is every species when Afinsa is 639? Context: CREATE TABLE table_1818471_1 (species VARCHAR, afinsa VARCHAR)[/INST]SELECT species FROM table_1818471_1 WHERE afinsa = 639</s>
CREATE TABLE table_name_95 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_95 WHERE place = "t9" AND player = "ernie els"
What is the To par of T9 Place Player Ernie Els?
<s>[INST]What is the To par of T9 Place Player Ernie Els? Context: CREATE TABLE table_name_95 (to_par VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_95 WHERE place = "t9" AND player = "ernie els"</s>
CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56
What is the low grid for gerhard berger for laps over 56?
<s>[INST]What is the low grid for gerhard berger for laps over 56? Context: CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56</s>
CREATE TABLE table_1341395_33 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1341395_33 WHERE district = "New York 7"
what are all the result for New York 7 district
<s>[INST]what are all the result for New York 7 district Context: CREATE TABLE table_1341395_33 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_1341395_33 WHERE district = "New York 7"</s>
CREATE TABLE table_name_1 (bookmarking VARCHAR, _tagging VARCHAR, _rating_and_comments VARCHAR, name VARCHAR, web_publishing VARCHAR, list_management VARCHAR, charting VARCHAR)
SELECT bookmarking, _tagging, _rating_and_comments FROM table_name_1 WHERE list_management = "no" AND charting = "no" AND web_publishing = "no" AND name = "microsoft exchange server"
WHAT IS THE BOOKMARKING, TAGGING, RATING AND COMMENTS WITH NO LIST MANAGEMENT, NO CHARTING, NO WEB PUBLISHING, OF MICROSOFT EXCHANGE SERVER?
<s>[INST]WHAT IS THE BOOKMARKING, TAGGING, RATING AND COMMENTS WITH NO LIST MANAGEMENT, NO CHARTING, NO WEB PUBLISHING, OF MICROSOFT EXCHANGE SERVER? Context: CREATE TABLE table_name_1 (bookmarking VARCHAR, _tagging VARCHAR, _rating_and_comments VARCHAR, name VARCHAR, web_publishing VARCHAR, list_management VARCHAR, ch...
CREATE TABLE table_name_55 (matches VARCHAR, rank VARCHAR, years VARCHAR)
SELECT matches FROM table_name_55 WHERE rank < 6 AND years = "1943-62"
Can you tell me the Matches that has the Rank smaller than 6, and the Years of 1943-62?
<s>[INST]Can you tell me the Matches that has the Rank smaller than 6, and the Years of 1943-62? Context: CREATE TABLE table_name_55 (matches VARCHAR, rank VARCHAR, years VARCHAR)[/INST]SELECT matches FROM table_name_55 WHERE rank < 6 AND years = "1943-62"</s>
CREATE TABLE table_1341930_21 (first_elected INTEGER)
SELECT MAX(first_elected) FROM table_1341930_21
What is the last year that someone is first elected in this table?
<s>[INST]What is the last year that someone is first elected in this table? Context: CREATE TABLE table_1341930_21 (first_elected INTEGER)[/INST]SELECT MAX(first_elected) FROM table_1341930_21</s>
CREATE TABLE table_name_58 (home VARCHAR, ground VARCHAR, time VARCHAR)
SELECT home FROM table_name_58 WHERE ground = "humber college north" AND time = "15:00"
What is Home, when Ground is Humber College North, and when Time is 15:00?
<s>[INST]What is Home, when Ground is Humber College North, and when Time is 15:00? Context: CREATE TABLE table_name_58 (home VARCHAR, ground VARCHAR, time VARCHAR)[/INST]SELECT home FROM table_name_58 WHERE ground = "humber college north" AND time = "15:00"</s>
CREATE TABLE table_name_20 (khmer VARCHAR, other VARCHAR)
SELECT khmer FROM table_name_20 WHERE other = "mouy"
for the other of mouy, what's the khmer?
<s>[INST]for the other of mouy, what's the khmer? Context: CREATE TABLE table_name_20 (khmer VARCHAR, other VARCHAR)[/INST]SELECT khmer FROM table_name_20 WHERE other = "mouy"</s>
CREATE TABLE table_name_14 (manufacturer VARCHAR, year VARCHAR, finish VARCHAR)
SELECT manufacturer FROM table_name_14 WHERE year > 1969 AND finish = 34
Which manufacturer was used after 1969 with a finish position of 34?
<s>[INST]Which manufacturer was used after 1969 with a finish position of 34? Context: CREATE TABLE table_name_14 (manufacturer VARCHAR, year VARCHAR, finish VARCHAR)[/INST]SELECT manufacturer FROM table_name_14 WHERE year > 1969 AND finish = 34</s>
CREATE TABLE enzyme (name VARCHAR)
SELECT name FROM enzyme WHERE name LIKE "%ALA%"
Which enzyme names have the substring "ALA"?
<s>[INST]Which enzyme names have the substring "ALA"? Context: CREATE TABLE enzyme (name VARCHAR)[/INST]SELECT name FROM enzyme WHERE name LIKE "%ALA%"</s>
CREATE TABLE table_name_23 (party VARCHAR, residence VARCHAR)
SELECT party FROM table_name_23 WHERE residence = "san diego"
Which Party has a Residence of san diego?
<s>[INST]Which Party has a Residence of san diego? Context: CREATE TABLE table_name_23 (party VARCHAR, residence VARCHAR)[/INST]SELECT party FROM table_name_23 WHERE residence = "san diego"</s>
CREATE TABLE table_name_46 (phone VARCHAR, address VARCHAR)
SELECT phone FROM table_name_46 WHERE address = "53 dayton road"
What is the phone number of the station located at 53 Dayton Road?
<s>[INST]What is the phone number of the station located at 53 Dayton Road? Context: CREATE TABLE table_name_46 (phone VARCHAR, address VARCHAR)[/INST]SELECT phone FROM table_name_46 WHERE address = "53 dayton road"</s>
CREATE TABLE table_20928649_1 (date VARCHAR, game VARCHAR)
SELECT date FROM table_20928649_1 WHERE game = 6
What was the date of game 6?
<s>[INST]What was the date of game 6? Context: CREATE TABLE table_20928649_1 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_20928649_1 WHERE game = 6</s>
CREATE TABLE table_26708105_2 (detailed_family_information VARCHAR, sequence VARCHAR)
SELECT COUNT(detailed_family_information) FROM table_26708105_2 WHERE sequence = "aAGTAct"
What is the detailed family information where the sequence is aagtact?
<s>[INST]What is the detailed family information where the sequence is aagtact? Context: CREATE TABLE table_26708105_2 (detailed_family_information VARCHAR, sequence VARCHAR)[/INST]SELECT COUNT(detailed_family_information) FROM table_26708105_2 WHERE sequence = "aAGTAct"</s>
CREATE TABLE table_name_60 (females VARCHAR, males VARCHAR)
SELECT females FROM table_name_60 WHERE males = "1 548"
Name the females when males are 1 548
<s>[INST]Name the females when males are 1 548 Context: CREATE TABLE table_name_60 (females VARCHAR, males VARCHAR)[/INST]SELECT females FROM table_name_60 WHERE males = "1 548"</s>
CREATE TABLE table_22683369_8 (p VARCHAR, player VARCHAR)
SELECT COUNT(p) FROM table_22683369_8 WHERE player = "Bryan Hodge"
What is bryan hodge's player number
<s>[INST]What is bryan hodge's player number Context: CREATE TABLE table_22683369_8 (p VARCHAR, player VARCHAR)[/INST]SELECT COUNT(p) FROM table_22683369_8 WHERE player = "Bryan Hodge"</s>
CREATE TABLE table_name_91 (weight VARCHAR, name_v_t_e VARCHAR)
SELECT weight FROM table_name_91 WHERE name_v_t_e = "živko gocić category:articles with hcards"
What is the weight for the v t e of živko gocić category:articles with hcards?
<s>[INST]What is the weight for the v t e of živko gocić category:articles with hcards? Context: CREATE TABLE table_name_91 (weight VARCHAR, name_v_t_e VARCHAR)[/INST]SELECT weight FROM table_name_91 WHERE name_v_t_e = "živko gocić category:articles with hcards"</s>
CREATE TABLE table_name_27 (high_assists VARCHAR, score VARCHAR)
SELECT high_assists FROM table_name_27 WHERE score = "l 107–112 (ot)"
What player had the high assists when the Score was l 107–112 (ot)?
<s>[INST]What player had the high assists when the Score was l 107–112 (ot)? Context: CREATE TABLE table_name_27 (high_assists VARCHAR, score VARCHAR)[/INST]SELECT high_assists FROM table_name_27 WHERE score = "l 107–112 (ot)"</s>
CREATE TABLE table_19412902_1 (group_stage VARCHAR, play_off VARCHAR, clubs VARCHAR)
SELECT COUNT(group_stage) FROM table_19412902_1 WHERE play_off = 0 AND clubs = 12
which group stage was there 0 play-offs and 12 clubs played in it
<s>[INST]which group stage was there 0 play-offs and 12 clubs played in it Context: CREATE TABLE table_19412902_1 (group_stage VARCHAR, play_off VARCHAR, clubs VARCHAR)[/INST]SELECT COUNT(group_stage) FROM table_19412902_1 WHERE play_off = 0 AND clubs = 12</s>
CREATE TABLE table_14465924_1 (telephone__052_ VARCHAR, area__km_2__ VARCHAR)
SELECT COUNT(telephone__052_) FROM table_14465924_1 WHERE area__km_2__ = "362.81"
Name the total number of telephone 052 for 362.81
<s>[INST]Name the total number of telephone 052 for 362.81 Context: CREATE TABLE table_14465924_1 (telephone__052_ VARCHAR, area__km_2__ VARCHAR)[/INST]SELECT COUNT(telephone__052_) FROM table_14465924_1 WHERE area__km_2__ = "362.81"</s>
CREATE TABLE table_16048129_5 (number_of_families INTEGER, _percentage_of_total_deportees VARCHAR)
SELECT MAX(number_of_families) FROM table_16048129_5 WHERE _percentage_of_total_deportees = "5.8"
What is the most number of families among regions where the population is made up of 5.8% deportees?
<s>[INST]What is the most number of families among regions where the population is made up of 5.8% deportees? Context: CREATE TABLE table_16048129_5 (number_of_families INTEGER, _percentage_of_total_deportees VARCHAR)[/INST]SELECT MAX(number_of_families) FROM table_16048129_5 WHERE _percentage_of_total_deportees = "5.8...
CREATE TABLE table_name_22 (year VARCHAR, gauge VARCHAR)
SELECT year FROM table_name_22 WHERE gauge = "2 ft 6 in"
In what Year is the Gauge 2 ft 6 in?
<s>[INST]In what Year is the Gauge 2 ft 6 in? Context: CREATE TABLE table_name_22 (year VARCHAR, gauge VARCHAR)[/INST]SELECT year FROM table_name_22 WHERE gauge = "2 ft 6 in"</s>
CREATE TABLE Companies (Industry VARCHAR)
SELECT Industry FROM Companies GROUP BY Industry ORDER BY COUNT(*) DESC
Please show the industries of companies in descending order of the number of companies.
<s>[INST]Please show the industries of companies in descending order of the number of companies. Context: CREATE TABLE Companies (Industry VARCHAR)[/INST]SELECT Industry FROM Companies GROUP BY Industry ORDER BY COUNT(*) DESC</s>
CREATE TABLE county_public_safety (Police_force VARCHAR, LOCATION VARCHAR)
SELECT DISTINCT Police_force FROM county_public_safety WHERE LOCATION <> "East"
List the distinct police forces of counties whose location is not on east side.
<s>[INST]List the distinct police forces of counties whose location is not on east side. Context: CREATE TABLE county_public_safety (Police_force VARCHAR, LOCATION VARCHAR)[/INST]SELECT DISTINCT Police_force FROM county_public_safety WHERE LOCATION <> "East"</s>
CREATE TABLE table_name_46 (away_team VARCHAR, score VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_46 WHERE score = "1–1" AND home_team = "merthyr tydfil"
What is the Away team of the Merthyr Tydfil Home game with a Score of 1–1?
<s>[INST]What is the Away team of the Merthyr Tydfil Home game with a Score of 1–1? Context: CREATE TABLE table_name_46 (away_team VARCHAR, score VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_46 WHERE score = "1–1" AND home_team = "merthyr tydfil"</s>
CREATE TABLE table_18217741_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_18217741_1 WHERE us_viewers__millions_ = "18.58"
What is the title when 18.58 u.s. viewers (millions) watched?
<s>[INST]What is the title when 18.58 u.s. viewers (millions) watched? Context: CREATE TABLE table_18217741_1 (title VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT title FROM table_18217741_1 WHERE us_viewers__millions_ = "18.58"</s>
CREATE TABLE table_1965650_1 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_1965650_1 WHERE player = "Ian Turnbull"
Name the college/junior club team for ian turnbull
<s>[INST]Name the college/junior club team for ian turnbull Context: CREATE TABLE table_1965650_1 (college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team FROM table_1965650_1 WHERE player = "Ian Turnbull"</s>
CREATE TABLE stadium (country VARCHAR, capacity INTEGER)
SELECT country FROM stadium WHERE capacity > 60000 INTERSECT SELECT country FROM stadium WHERE capacity < 50000
Which country has both stadiums with capacity greater than 60000 and stadiums with capacity less than 50000?
<s>[INST]Which country has both stadiums with capacity greater than 60000 and stadiums with capacity less than 50000? Context: CREATE TABLE stadium (country VARCHAR, capacity INTEGER)[/INST]SELECT country FROM stadium WHERE capacity > 60000 INTERSECT SELECT country FROM stadium WHERE capacity < 50000</s>
CREATE TABLE table_name_5 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_5 WHERE away_team = "st kilda"
Which Venue has an Away team of st kilda?
<s>[INST]Which Venue has an Away team of st kilda? Context: CREATE TABLE table_name_5 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_5 WHERE away_team = "st kilda"</s>
CREATE TABLE table_name_9 (erp_w INTEGER, frequency_mhz VARCHAR, city_of_license VARCHAR)
SELECT MAX(erp_w) FROM table_name_9 WHERE frequency_mhz > 88.3 AND city_of_license = "lewis, kansas"
Which ERP W is the highest one that has a Frequency MHz larger than 88.3, and a City of license of lewis, kansas?
<s>[INST]Which ERP W is the highest one that has a Frequency MHz larger than 88.3, and a City of license of lewis, kansas? Context: CREATE TABLE table_name_9 (erp_w INTEGER, frequency_mhz VARCHAR, city_of_license VARCHAR)[/INST]SELECT MAX(erp_w) FROM table_name_9 WHERE frequency_mhz > 88.3 AND city_of_license = "lewis,...
CREATE TABLE table_name_68 (record VARCHAR, location VARCHAR, score VARCHAR)
SELECT record FROM table_name_68 WHERE location = "boston garden" AND score = "118-110"
For the game played at the Boston Garden with a score of 118-110, what is the opposing team's record?
<s>[INST]For the game played at the Boston Garden with a score of 118-110, what is the opposing team's record? Context: CREATE TABLE table_name_68 (record VARCHAR, location VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_68 WHERE location = "boston garden" AND score = "118-110"</s>
CREATE TABLE table_name_25 (status VARCHAR, building VARCHAR)
SELECT status FROM table_name_25 WHERE building = "the rhombus"
Which Status has a Building of the rhombus?
<s>[INST]Which Status has a Building of the rhombus? Context: CREATE TABLE table_name_25 (status VARCHAR, building VARCHAR)[/INST]SELECT status FROM table_name_25 WHERE building = "the rhombus"</s>
CREATE TABLE table_name_35 (type VARCHAR, name VARCHAR)
SELECT type FROM table_name_35 WHERE name = "kevin muscat"
What type is Kevin Muscat?
<s>[INST]What type is Kevin Muscat? Context: CREATE TABLE table_name_35 (type VARCHAR, name VARCHAR)[/INST]SELECT type FROM table_name_35 WHERE name = "kevin muscat"</s>
CREATE TABLE table_name_70 (assets__billion_ INTEGER, company VARCHAR, sales__billion_$_ VARCHAR)
SELECT AVG(assets__billion_) AS $_ FROM table_name_70 WHERE company = "bank of america" AND sales__billion_$_ < 49.01
What is the average assets in billions of the company Bank of America, which has less than 49.01 billions in sales?
<s>[INST]What is the average assets in billions of the company Bank of America, which has less than 49.01 billions in sales? Context: CREATE TABLE table_name_70 (assets__billion_ INTEGER, company VARCHAR, sales__billion_$_ VARCHAR)[/INST]SELECT AVG(assets__billion_) AS $_ FROM table_name_70 WHERE company = "bank of ame...
CREATE TABLE table_name_7 (title_rank VARCHAR, series VARCHAR, character VARCHAR)
SELECT title_rank FROM table_name_7 WHERE series = "1-8, 13" AND character = "arthur hastings"
What is the title rank of the actor who played the character of arthur hastings during series 1-8, 13?
<s>[INST]What is the title rank of the actor who played the character of arthur hastings during series 1-8, 13? Context: CREATE TABLE table_name_7 (title_rank VARCHAR, series VARCHAR, character VARCHAR)[/INST]SELECT title_rank FROM table_name_7 WHERE series = "1-8, 13" AND character = "arthur hastings"</s>
CREATE TABLE table (battery___mah__ VARCHAR, nfc VARCHAR, weight VARCHAR)
SELECT battery___mah__ FROM table WHERE nfc = "Yes" AND weight = "126g"
If the weight is 126g and the NFC is yes, what is the battery (MAH)?
<s>[INST]If the weight is 126g and the NFC is yes, what is the battery (MAH)? Context: CREATE TABLE table (battery___mah__ VARCHAR, nfc VARCHAR, weight VARCHAR)[/INST]SELECT battery___mah__ FROM table WHERE nfc = "Yes" AND weight = "126g"</s>
CREATE TABLE table_13619027_9 (game INTEGER, date VARCHAR)
SELECT MAX(game) FROM table_13619027_9 WHERE date = "March 26"
What's the number of the game played on March 26?
<s>[INST]What's the number of the game played on March 26? Context: CREATE TABLE table_13619027_9 (game INTEGER, date VARCHAR)[/INST]SELECT MAX(game) FROM table_13619027_9 WHERE date = "March 26"</s>
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Height VARCHAR)
SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Height
List the names of gymnasts in ascending order by their heights.
<s>[INST]List the names of gymnasts in ascending order by their heights. Context: CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Height VARCHAR)[/INST]SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Height</s>
CREATE TABLE table_name_76 (accolade VARCHAR, rank VARCHAR, year VARCHAR, publication VARCHAR)
SELECT accolade FROM table_name_76 WHERE year < 2002 AND publication = "rolling stone" AND rank = 48
What is Accolade, when Year is less than 2002, when Publication is "Rolling Stone", and when Rank is "48"?
<s>[INST]What is Accolade, when Year is less than 2002, when Publication is "Rolling Stone", and when Rank is "48"? Context: CREATE TABLE table_name_76 (accolade VARCHAR, rank VARCHAR, year VARCHAR, publication VARCHAR)[/INST]SELECT accolade FROM table_name_76 WHERE year < 2002 AND publication = "rolling stone" AND ran...
CREATE TABLE table_name_66 (engine VARCHAR, introduced VARCHAR)
SELECT engine FROM table_name_66 WHERE introduced = "1935"
What engine was introduced in 1935?
<s>[INST]What engine was introduced in 1935? Context: CREATE TABLE table_name_66 (engine VARCHAR, introduced VARCHAR)[/INST]SELECT engine FROM table_name_66 WHERE introduced = "1935"</s>
CREATE TABLE table_name_14 (goals VARCHAR, ends VARCHAR, since VARCHAR)
SELECT goals FROM table_name_14 WHERE ends = "30 june 2010" AND since > 2007
Which Goals have Ends of 30 june 2010, and Since larger than 2007?
<s>[INST]Which Goals have Ends of 30 june 2010, and Since larger than 2007? Context: CREATE TABLE table_name_14 (goals VARCHAR, ends VARCHAR, since VARCHAR)[/INST]SELECT goals FROM table_name_14 WHERE ends = "30 june 2010" AND since > 2007</s>
CREATE TABLE table_name_96 (fcc_info VARCHAR, frequency_mhz VARCHAR)
SELECT fcc_info FROM table_name_96 WHERE frequency_mhz = 100.7
Which FCC info has a Frequency MHz of 100.7?
<s>[INST]Which FCC info has a Frequency MHz of 100.7? Context: CREATE TABLE table_name_96 (fcc_info VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT fcc_info FROM table_name_96 WHERE frequency_mhz = 100.7</s>
CREATE TABLE table_name_30 (election INTEGER, municipality VARCHAR)
SELECT AVG(election) FROM table_name_30 WHERE municipality = "monza"
What is the average election that has monza as the municipality?
<s>[INST]What is the average election that has monza as the municipality? Context: CREATE TABLE table_name_30 (election INTEGER, municipality VARCHAR)[/INST]SELECT AVG(election) FROM table_name_30 WHERE municipality = "monza"</s>
CREATE TABLE table_20866024_4 (engine VARCHAR, model_type VARCHAR)
SELECT engine FROM table_20866024_4 WHERE model_type = "CF350"
Name the Engine for model CF350.
<s>[INST]Name the Engine for model CF350. Context: CREATE TABLE table_20866024_4 (engine VARCHAR, model_type VARCHAR)[/INST]SELECT engine FROM table_20866024_4 WHERE model_type = "CF350"</s>
CREATE TABLE table_20549371_3 (vehicle VARCHAR, epa_rated_highway_fuel_economy VARCHAR)
SELECT vehicle FROM table_20549371_3 WHERE epa_rated_highway_fuel_economy = "109 mpg-e"
What vehicle has an epa highway fuel economy of 109 mpg-e?
<s>[INST]What vehicle has an epa highway fuel economy of 109 mpg-e? Context: CREATE TABLE table_20549371_3 (vehicle VARCHAR, epa_rated_highway_fuel_economy VARCHAR)[/INST]SELECT vehicle FROM table_20549371_3 WHERE epa_rated_highway_fuel_economy = "109 mpg-e"</s>
CREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR)
SELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = "defensive back"
Which Round is the average one that has a Pick # larger than 26, and a Position of defensive back?
<s>[INST]Which Round is the average one that has a Pick # larger than 26, and a Position of defensive back? Context: CREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR)[/INST]SELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = "defensive back"</s>
CREATE TABLE table_11677691_3 (position VARCHAR, player VARCHAR)
SELECT position FROM table_11677691_3 WHERE player = "Charone Peake"
What position is Charone Peake?
<s>[INST]What position is Charone Peake? Context: CREATE TABLE table_11677691_3 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_11677691_3 WHERE player = "Charone Peake"</s>
CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_83 WHERE opponent = "buffalo sabres"
What was the Score in the game against the Buffalo Sabres?
<s>[INST]What was the Score in the game against the Buffalo Sabres? Context: CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_83 WHERE opponent = "buffalo sabres"</s>
CREATE TABLE table_2857352_3 (city_of_license VARCHAR, virtual_channel VARCHAR)
SELECT city_of_license FROM table_2857352_3 WHERE virtual_channel = "8.2"
What city licensed the broadcast on virtual channel 8.2?
<s>[INST]What city licensed the broadcast on virtual channel 8.2? Context: CREATE TABLE table_2857352_3 (city_of_license VARCHAR, virtual_channel VARCHAR)[/INST]SELECT city_of_license FROM table_2857352_3 WHERE virtual_channel = "8.2"</s>
CREATE TABLE table_21692771_1 (maturity VARCHAR, coupon VARCHAR)
SELECT maturity FROM table_21692771_1 WHERE coupon = "0.726"
What is the maturity that has a coupon of exactly 0.726?
<s>[INST]What is the maturity that has a coupon of exactly 0.726? Context: CREATE TABLE table_21692771_1 (maturity VARCHAR, coupon VARCHAR)[/INST]SELECT maturity FROM table_21692771_1 WHERE coupon = "0.726"</s>
CREATE TABLE table_1342315_12 (district VARCHAR, party VARCHAR)
SELECT district FROM table_1342315_12 WHERE party = "Republican"
Which district has a Republican elected?
<s>[INST]Which district has a Republican elected? Context: CREATE TABLE table_1342315_12 (district VARCHAR, party VARCHAR)[/INST]SELECT district FROM table_1342315_12 WHERE party = "Republican"</s>
CREATE TABLE table_name_82 (year VARCHAR, match VARCHAR)
SELECT year FROM table_name_82 WHERE match = 63
Which Year has a Match of 63?
<s>[INST]Which Year has a Match of 63? Context: CREATE TABLE table_name_82 (year VARCHAR, match VARCHAR)[/INST]SELECT year FROM table_name_82 WHERE match = 63</s>
CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_59 WHERE date = "february 25, 2008"
What is the record of the game on February 25, 2008?
<s>[INST]What is the record of the game on February 25, 2008? Context: CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_59 WHERE date = "february 25, 2008"</s>
CREATE TABLE table_19131921_1 (dma INTEGER)
SELECT MIN(dma) FROM table_19131921_1
What is dma?
<s>[INST]What is dma? Context: CREATE TABLE table_19131921_1 (dma INTEGER)[/INST]SELECT MIN(dma) FROM table_19131921_1</s>
CREATE TABLE table_1514559_1 (year INTEGER, championship VARCHAR)
SELECT MAX(year) FROM table_1514559_1 WHERE championship = "US Open"
What year was the most recent US Open championship?
<s>[INST]What year was the most recent US Open championship? Context: CREATE TABLE table_1514559_1 (year INTEGER, championship VARCHAR)[/INST]SELECT MAX(year) FROM table_1514559_1 WHERE championship = "US Open"</s>
CREATE TABLE table_16457934_4 (Id VARCHAR)
SELECT MIN(60 AS _to_64) FROM table_16457934_4
what is the minimum of 60 -64?
<s>[INST]what is the minimum of 60 -64? Context: CREATE TABLE table_16457934_4 (Id VARCHAR)[/INST]SELECT MIN(60 AS _to_64) FROM table_16457934_4</s>
CREATE TABLE table_name_36 (record VARCHAR, time VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_36 WHERE time = "5:00" AND opponent = "dennis bermudez"
What was the record when matt grice fought dennis bermudez with a time of 5:00?
<s>[INST]What was the record when matt grice fought dennis bermudez with a time of 5:00? Context: CREATE TABLE table_name_36 (record VARCHAR, time VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_36 WHERE time = "5:00" AND opponent = "dennis bermudez"</s>
CREATE TABLE table_name_46 (cover VARCHAR, title VARCHAR)
SELECT cover FROM table_name_46 WHERE title = "throne of aquilonia"
What cover has Throne of Aquilonia as the title?
<s>[INST]What cover has Throne of Aquilonia as the title? Context: CREATE TABLE table_name_46 (cover VARCHAR, title VARCHAR)[/INST]SELECT cover FROM table_name_46 WHERE title = "throne of aquilonia"</s>
CREATE TABLE table_name_77 (grid VARCHAR, driver VARCHAR)
SELECT grid FROM table_name_77 WHERE driver = "alex yoong"
What was the grid of Alex Yoong?
<s>[INST]What was the grid of Alex Yoong? Context: CREATE TABLE table_name_77 (grid VARCHAR, driver VARCHAR)[/INST]SELECT grid FROM table_name_77 WHERE driver = "alex yoong"</s>
CREATE TABLE table_name_35 (rank VARCHAR, title VARCHAR)
SELECT rank FROM table_name_35 WHERE title = "skyfall"
What rank has skyfall as the title?
<s>[INST]What rank has skyfall as the title? Context: CREATE TABLE table_name_35 (rank VARCHAR, title VARCHAR)[/INST]SELECT rank FROM table_name_35 WHERE title = "skyfall"</s>
CREATE TABLE table_name_84 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_84 WHERE team_2 = "saint louis"
What is Team 1, when Team 2 is Saint Louis?
<s>[INST]What is Team 1, when Team 2 is Saint Louis? Context: CREATE TABLE table_name_84 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_84 WHERE team_2 = "saint louis"</s>
CREATE TABLE table_name_69 (score VARCHAR, place VARCHAR)
SELECT score FROM table_name_69 WHERE place = "t7"
What is the score of T7 place?
<s>[INST]What is the score of T7 place? Context: CREATE TABLE table_name_69 (score VARCHAR, place VARCHAR)[/INST]SELECT score FROM table_name_69 WHERE place = "t7"</s>
CREATE TABLE table_name_43 (population VARCHAR, area__sq_mi_ VARCHAR)
SELECT population FROM table_name_43 WHERE area__sq_mi_ = "6,004"
What is the population for the region with an area of 6,004 sq. Mi.?
<s>[INST]What is the population for the region with an area of 6,004 sq. Mi.? Context: CREATE TABLE table_name_43 (population VARCHAR, area__sq_mi_ VARCHAR)[/INST]SELECT population FROM table_name_43 WHERE area__sq_mi_ = "6,004"</s>
CREATE TABLE table_name_85 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT result FROM table_name_85 WHERE competition = "world cup qualifying" AND date = "march 21, 1954"
Which Result has a Competition of world cup qualifying, and a Date of march 21, 1954?
<s>[INST]Which Result has a Competition of world cup qualifying, and a Date of march 21, 1954? Context: CREATE TABLE table_name_85 (result VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_85 WHERE competition = "world cup qualifying" AND date = "march 21, 1954"</s>
CREATE TABLE table_10321805_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
SELECT year__ceremony_ FROM table_10321805_1 WHERE original_title = "La leggenda del santo bevitore"
What year was a movie with the original title La Leggenda del Santo Bevitore submitted?
<s>[INST]What year was a movie with the original title La Leggenda del Santo Bevitore submitted? Context: CREATE TABLE table_10321805_1 (year__ceremony_ VARCHAR, original_title VARCHAR)[/INST]SELECT year__ceremony_ FROM table_10321805_1 WHERE original_title = "La leggenda del santo bevitore"</s>
CREATE TABLE table_name_41 (frequency_mhz VARCHAR, city_of_license VARCHAR, erp_w VARCHAR)
SELECT COUNT(frequency_mhz) FROM table_name_41 WHERE city_of_license = "port charlotte, florida" AND erp_w > 10
What is the total Frequency MHz Port Charlotte, Florida, which has an ERP W larger than 10, has?
<s>[INST]What is the total Frequency MHz Port Charlotte, Florida, which has an ERP W larger than 10, has? Context: CREATE TABLE table_name_41 (frequency_mhz VARCHAR, city_of_license VARCHAR, erp_w VARCHAR)[/INST]SELECT COUNT(frequency_mhz) FROM table_name_41 WHERE city_of_license = "port charlotte, florida" AND erp_w >...
CREATE TABLE table_name_22 (try_bonus VARCHAR, club VARCHAR)
SELECT try_bonus FROM table_name_22 WHERE club = "llangefni rfc"
What is the try bonus that has llangefni rfc as the club?
<s>[INST]What is the try bonus that has llangefni rfc as the club? Context: CREATE TABLE table_name_22 (try_bonus VARCHAR, club VARCHAR)[/INST]SELECT try_bonus FROM table_name_22 WHERE club = "llangefni rfc"</s>
CREATE TABLE table_name_97 (events INTEGER, rank INTEGER)
SELECT SUM(events) FROM table_name_97 WHERE rank > 5
the sum of Events that has a Rank larger than 5 is 3
<s>[INST]the sum of Events that has a Rank larger than 5 is 3 Context: CREATE TABLE table_name_97 (events INTEGER, rank INTEGER)[/INST]SELECT SUM(events) FROM table_name_97 WHERE rank > 5</s>
CREATE TABLE table_22875369_3 (location VARCHAR, record VARCHAR)
SELECT COUNT(location) FROM table_22875369_3 WHERE record = "22-1"
Name the number of location for 22-1
<s>[INST]Name the number of location for 22-1 Context: CREATE TABLE table_22875369_3 (location VARCHAR, record VARCHAR)[/INST]SELECT COUNT(location) FROM table_22875369_3 WHERE record = "22-1"</s>
CREATE TABLE table_name_65 (expected_end_date VARCHAR, trial_start_date VARCHAR)
SELECT expected_end_date FROM table_name_65 WHERE trial_start_date = "nov 2007"
What is Expected End Date, when Trial Start Date is Nov 2007?
<s>[INST]What is Expected End Date, when Trial Start Date is Nov 2007? Context: CREATE TABLE table_name_65 (expected_end_date VARCHAR, trial_start_date VARCHAR)[/INST]SELECT expected_end_date FROM table_name_65 WHERE trial_start_date = "nov 2007"</s>
CREATE TABLE table_17356873_1 (venue VARCHAR, head_coach VARCHAR)
SELECT venue FROM table_17356873_1 WHERE head_coach = "Erdoğan Arıca"
Erdoğan Arıca is the head coach at what venue?
<s>[INST]Erdoğan Arıca is the head coach at what venue? Context: CREATE TABLE table_17356873_1 (venue VARCHAR, head_coach VARCHAR)[/INST]SELECT venue FROM table_17356873_1 WHERE head_coach = "Erdoğan Arıca"</s>
CREATE TABLE table_name_21 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_21 WHERE away_team = "luton town"
Who was the home team in the match against Luton Town?
<s>[INST]Who was the home team in the match against Luton Town? Context: CREATE TABLE table_name_21 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_21 WHERE away_team = "luton town"</s>