context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_95 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_95 WHERE opponent = "new york jets"
What was the Steeler's record when they played against the new york Jets?
<s>[INST]What was the Steeler's record when they played against the new york Jets? Context: CREATE TABLE table_name_95 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_95 WHERE opponent = "new york jets"</s>
CREATE TABLE table_20833768_4 (season VARCHAR, l__ot_so_ VARCHAR)
SELECT season FROM table_20833768_4 WHERE l__ot_so_ = "22 (3/4)"
When l (ot/so) is 22 (3/4), what is the season?
<s>[INST]When l (ot/so) is 22 (3/4), what is the season? Context: CREATE TABLE table_20833768_4 (season VARCHAR, l__ot_so_ VARCHAR)[/INST]SELECT season FROM table_20833768_4 WHERE l__ot_so_ = "22 (3/4)"</s>
CREATE TABLE table_name_98 (Id VARCHAR)
SELECT 2009 FROM table_name_98 WHERE 2008 = "a" AND 2012 = "1r" AND 2010 = "q2" AND 2011 = "2r"
What shows for 2009 when 2008 is A, 2012 is 1r, 2010 is q2, and 2011 is 2r?
<s>[INST]What shows for 2009 when 2008 is A, 2012 is 1r, 2010 is q2, and 2011 is 2r? Context: CREATE TABLE table_name_98 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_98 WHERE 2008 = "a" AND 2012 = "1r" AND 2010 = "q2" AND 2011 = "2r"</s>
CREATE TABLE table_22883210_10 (score VARCHAR, record VARCHAR)
SELECT score FROM table_22883210_10 WHERE record = "49-31"
Name the score for 49-31
<s>[INST]Name the score for 49-31 Context: CREATE TABLE table_22883210_10 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_22883210_10 WHERE record = "49-31"</s>
CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR)
SELECT sprint_classification FROM table_25055040_22 WHERE mountains_classification = "Ryan Anderson" AND general_classification = "Michael Rogers"
When Ryan Anderson won the mountains classification, and Michael Rogers won the general classification, who won the sprint classification?
<s>[INST]When Ryan Anderson won the mountains classification, and Michael Rogers won the general classification, who won the sprint classification? Context: CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR)[/INST]SELECT sprint_classification...
CREATE TABLE table_name_60 (top_25 INTEGER, events VARCHAR, top_5 VARCHAR)
SELECT AVG(top_25) FROM table_name_60 WHERE events < 12 AND top_5 > 0
What's the average Top-25, that has an Events that's smaller than 12, and has a Top-5 that is larger than 0?
<s>[INST]What's the average Top-25, that has an Events that's smaller than 12, and has a Top-5 that is larger than 0? Context: CREATE TABLE table_name_60 (top_25 INTEGER, events VARCHAR, top_5 VARCHAR)[/INST]SELECT AVG(top_25) FROM table_name_60 WHERE events < 12 AND top_5 > 0</s>
CREATE TABLE table_name_63 (round VARCHAR, nfl_club VARCHAR)
SELECT round FROM table_name_63 WHERE nfl_club = "new york jets"
What is the round of the new york jets NFL club?
<s>[INST]What is the round of the new york jets NFL club? Context: CREATE TABLE table_name_63 (round VARCHAR, nfl_club VARCHAR)[/INST]SELECT round FROM table_name_63 WHERE nfl_club = "new york jets"</s>
CREATE TABLE table_2226817_12 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_2226817_12 WHERE production_code = "11.01"
what is the name of the episode when the production code is 11.01?
<s>[INST]what is the name of the episode when the production code is 11.01? Context: CREATE TABLE table_2226817_12 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_2226817_12 WHERE production_code = "11.01"</s>
CREATE TABLE table_name_95 (displacement VARCHAR, year VARCHAR, power VARCHAR)
SELECT displacement FROM table_name_95 WHERE year > 2002 AND power = "220kw (299hp) @ 4000"
What is the Displacement that has Power of 220kw (299hp) @ 4000, and a year larger than 2002?
<s>[INST]What is the Displacement that has Power of 220kw (299hp) @ 4000, and a year larger than 2002? Context: CREATE TABLE table_name_95 (displacement VARCHAR, year VARCHAR, power VARCHAR)[/INST]SELECT displacement FROM table_name_95 WHERE year > 2002 AND power = "220kw (299hp) @ 4000"</s>
CREATE TABLE table_name_75 (gold INTEGER, bronze VARCHAR, silver VARCHAR)
SELECT MAX(gold) FROM table_name_75 WHERE bronze = 0 AND silver > 1
What is the most gold medals when the bronze medals were 0, and the silver medals greater than 1?
<s>[INST]What is the most gold medals when the bronze medals were 0, and the silver medals greater than 1? Context: CREATE TABLE table_name_75 (gold INTEGER, bronze VARCHAR, silver VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_75 WHERE bronze = 0 AND silver > 1</s>
CREATE TABLE table_11230937_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
SELECT us_viewers__millions_ FROM table_11230937_2 WHERE directed_by = "Anthony Hemingway"
How many millions of viewers watched the episode directed by Anthony Hemingway?
<s>[INST]How many millions of viewers watched the episode directed by Anthony Hemingway? Context: CREATE TABLE table_11230937_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_11230937_2 WHERE directed_by = "Anthony Hemingway"</s>
CREATE TABLE table_22879262_7 (high_rebounds VARCHAR, team VARCHAR)
SELECT COUNT(high_rebounds) FROM table_22879262_7 WHERE team = "Minnesota"
what is the total number of high rebounds for minnesota?
<s>[INST]what is the total number of high rebounds for minnesota? Context: CREATE TABLE table_22879262_7 (high_rebounds VARCHAR, team VARCHAR)[/INST]SELECT COUNT(high_rebounds) FROM table_22879262_7 WHERE team = "Minnesota"</s>
CREATE TABLE table_name_54 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_54 WHERE country = "northern ireland"
Who is the golfer that golfs for Northern Ireland?
<s>[INST]Who is the golfer that golfs for Northern Ireland? Context: CREATE TABLE table_name_54 (player VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_54 WHERE country = "northern ireland"</s>
CREATE TABLE table_name_72 (date VARCHAR, location VARCHAR)
SELECT date FROM table_name_72 WHERE location = "zandvoort"
What was the date when the location was Zandvoort?
<s>[INST]What was the date when the location was Zandvoort? Context: CREATE TABLE table_name_72 (date VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_72 WHERE location = "zandvoort"</s>
CREATE TABLE table_name_70 (branding VARCHAR, frequency VARCHAR)
SELECT branding FROM table_name_70 WHERE frequency = "00 94.5"
What is the Branding of Frequency 00 94.5?
<s>[INST]What is the Branding of Frequency 00 94.5? Context: CREATE TABLE table_name_70 (branding VARCHAR, frequency VARCHAR)[/INST]SELECT branding FROM table_name_70 WHERE frequency = "00 94.5"</s>
CREATE TABLE table_10682862_68 (standard INTEGER, first_title VARCHAR)
SELECT MAX(standard) FROM table_10682862_68 WHERE first_title = 1992
What's the standard of the country who won its first title in 1992?
<s>[INST]What's the standard of the country who won its first title in 1992? Context: CREATE TABLE table_10682862_68 (standard INTEGER, first_title VARCHAR)[/INST]SELECT MAX(standard) FROM table_10682862_68 WHERE first_title = 1992</s>
CREATE TABLE table_24565004_17 (period VARCHAR, name VARCHAR)
SELECT period FROM table_24565004_17 WHERE name = "Michel Prost"
Name the period for michel prost
<s>[INST]Name the period for michel prost Context: CREATE TABLE table_24565004_17 (period VARCHAR, name VARCHAR)[/INST]SELECT period FROM table_24565004_17 WHERE name = "Michel Prost"</s>
CREATE TABLE table_name_38 (longitude INTEGER, county VARCHAR, water__sqmi_ VARCHAR)
SELECT MAX(longitude) FROM table_name_38 WHERE county = "mountrail" AND water__sqmi_ < 0.075
what is the highest longitude for county mountrail and the water (sqmi) is less than 0.075?
<s>[INST]what is the highest longitude for county mountrail and the water (sqmi) is less than 0.075? Context: CREATE TABLE table_name_38 (longitude INTEGER, county VARCHAR, water__sqmi_ VARCHAR)[/INST]SELECT MAX(longitude) FROM table_name_38 WHERE county = "mountrail" AND water__sqmi_ < 0.075</s>
CREATE TABLE mountain (Name VARCHAR)
SELECT Name FROM mountain ORDER BY Name
What are the names of mountains in ascending alphabetical order?
<s>[INST]What are the names of mountains in ascending alphabetical order? Context: CREATE TABLE mountain (Name VARCHAR)[/INST]SELECT Name FROM mountain ORDER BY Name</s>
CREATE TABLE table_name_33 (record VARCHAR, year VARCHAR, finish VARCHAR)
SELECT record FROM table_name_33 WHERE year > 1974 AND finish = "3rd"
Which Record has a Year larger than 1974, and a Finish of 3rd?
<s>[INST]Which Record has a Year larger than 1974, and a Finish of 3rd? Context: CREATE TABLE table_name_33 (record VARCHAR, year VARCHAR, finish VARCHAR)[/INST]SELECT record FROM table_name_33 WHERE year > 1974 AND finish = "3rd"</s>
CREATE TABLE table_name_42 (rank VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT rank FROM table_name_42 WHERE bronze = 1 AND nation = "czechoslovakia"
What was the rank for czechoslovakia with 1 bronze?
<s>[INST]What was the rank for czechoslovakia with 1 bronze? Context: CREATE TABLE table_name_42 (rank VARCHAR, bronze VARCHAR, nation VARCHAR)[/INST]SELECT rank FROM table_name_42 WHERE bronze = 1 AND nation = "czechoslovakia"</s>
CREATE TABLE table_26561508_1 (patient_portrayer VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT COUNT(patient_portrayer) FROM table_26561508_1 WHERE directed_by = "Craig Zisk" AND written_by = "Brad Falchuk"
What is the total number of patient portayers for the episode directed by Craig Zisk and written by Brad Falchuk?
<s>[INST]What is the total number of patient portayers for the episode directed by Craig Zisk and written by Brad Falchuk? Context: CREATE TABLE table_26561508_1 (patient_portrayer VARCHAR, directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(patient_portrayer) FROM table_26561508_1 WHERE directed_by = "Craig Zi...
CREATE TABLE table_1963459_2 (average_speed__mph_ VARCHAR, driver VARCHAR)
SELECT average_speed__mph_ FROM table_1963459_2 WHERE driver = "Tony Stewart"
What is Tony Stewart's average speed?
<s>[INST]What is Tony Stewart's average speed? Context: CREATE TABLE table_1963459_2 (average_speed__mph_ VARCHAR, driver VARCHAR)[/INST]SELECT average_speed__mph_ FROM table_1963459_2 WHERE driver = "Tony Stewart"</s>
CREATE TABLE table_name_13 (nationality VARCHAR, pick__number VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_13 WHERE pick__number < 130 AND player = "tyler bunz"
Which Nationality has a Pick # smaller than 130 and a Player of tyler bunz? Question 1
<s>[INST]Which Nationality has a Pick # smaller than 130 and a Player of tyler bunz? Question 1 Context: CREATE TABLE table_name_13 (nationality VARCHAR, pick__number VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_13 WHERE pick__number < 130 AND player = "tyler bunz"</s>
CREATE TABLE table_name_24 (district VARCHAR, location VARCHAR)
SELECT district FROM table_name_24 WHERE location = "tharamani"
What District has a Location of tharamani?
<s>[INST]What District has a Location of tharamani? Context: CREATE TABLE table_name_24 (district VARCHAR, location VARCHAR)[/INST]SELECT district FROM table_name_24 WHERE location = "tharamani"</s>
CREATE TABLE table_name_93 (long VARCHAR, player VARCHAR)
SELECT long FROM table_name_93 WHERE player = "charles frederick"
Tell me the long for charles frederick
<s>[INST]Tell me the long for charles frederick Context: CREATE TABLE table_name_93 (long VARCHAR, player VARCHAR)[/INST]SELECT long FROM table_name_93 WHERE player = "charles frederick"</s>
CREATE TABLE table_name_28 (flight VARCHAR, aircraft VARCHAR)
SELECT flight FROM table_name_28 WHERE aircraft = "avro rj-100"
Which flight had the aircraft avro rj-100?
<s>[INST]Which flight had the aircraft avro rj-100? Context: CREATE TABLE table_name_28 (flight VARCHAR, aircraft VARCHAR)[/INST]SELECT flight FROM table_name_28 WHERE aircraft = "avro rj-100"</s>
CREATE TABLE table_1974482_1 (location VARCHAR, nickname VARCHAR)
SELECT location FROM table_1974482_1 WHERE nickname = "Statesmen"
Name the location of statesmen
<s>[INST]Name the location of statesmen Context: CREATE TABLE table_1974482_1 (location VARCHAR, nickname VARCHAR)[/INST]SELECT location FROM table_1974482_1 WHERE nickname = "Statesmen"</s>
CREATE TABLE table_name_29 (sunday_surya__the_sun_ VARCHAR, monday_soma__the_moon_ VARCHAR, tuesday_mangala__mars_ VARCHAR)
SELECT sunday_surya__the_sun_ FROM table_name_29 WHERE monday_soma__the_moon_ = "सोमवार somavār" AND tuesday_mangala__mars_ = "मंगलवार mangalavār"
What is the result on Sunday that's सोमवार somavār on Monday and मंगलवार mangalavār on Tuesday?
<s>[INST]What is the result on Sunday that's सोमवार somavār on Monday and मंगलवार mangalavār on Tuesday? Context: CREATE TABLE table_name_29 (sunday_surya__the_sun_ VARCHAR, monday_soma__the_moon_ VARCHAR, tuesday_mangala__mars_ VARCHAR)[/INST]SELECT sunday_surya__the_sun_ FROM table_name_29 WHERE monday_soma__the_moon...
CREATE TABLE Products (Product_Type_Code VARCHAR)
SELECT Product_Type_Code FROM Products GROUP BY Product_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
Show the most common type code across products.
<s>[INST]Show the most common type code across products. Context: CREATE TABLE Products (Product_Type_Code VARCHAR)[/INST]SELECT Product_Type_Code FROM Products GROUP BY Product_Type_Code ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_96 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR)
SELECT MAX(to_par) FROM table_name_96 WHERE year_s__won = "1977" AND total > 155
Which player who won in 1977 and scored great than 155 was the closest to par?
<s>[INST]Which player who won in 1977 and scored great than 155 was the closest to par? Context: CREATE TABLE table_name_96 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR)[/INST]SELECT MAX(to_par) FROM table_name_96 WHERE year_s__won = "1977" AND total > 155</s>
CREATE TABLE table_name_44 (Id VARCHAR)
SELECT 1991 FROM table_name_44 WHERE 2002 = "2r"
What shows for 1991 when 2002 is 2R?
<s>[INST]What shows for 1991 when 2002 is 2R? Context: CREATE TABLE table_name_44 (Id VARCHAR)[/INST]SELECT 1991 FROM table_name_44 WHERE 2002 = "2r"</s>
CREATE TABLE table_12886178_4 (try_bonus VARCHAR, tries_against VARCHAR)
SELECT try_bonus FROM table_12886178_4 WHERE tries_against = "83"
What's the try bonus count for the club whose tries against count is 83?
<s>[INST]What's the try bonus count for the club whose tries against count is 83? Context: CREATE TABLE table_12886178_4 (try_bonus VARCHAR, tries_against VARCHAR)[/INST]SELECT try_bonus FROM table_12886178_4 WHERE tries_against = "83"</s>
CREATE TABLE table_name_60 (points INTEGER, entrant VARCHAR, chassis VARCHAR)
SELECT MIN(points) FROM table_name_60 WHERE entrant = "marlboro brm" AND chassis = "brm p160b"
What was marlboro brm's lowest points by using brm p160b?
<s>[INST]What was marlboro brm's lowest points by using brm p160b? Context: CREATE TABLE table_name_60 (points INTEGER, entrant VARCHAR, chassis VARCHAR)[/INST]SELECT MIN(points) FROM table_name_60 WHERE entrant = "marlboro brm" AND chassis = "brm p160b"</s>
CREATE TABLE table_name_41 (record VARCHAR, round VARCHAR, time VARCHAR)
SELECT record FROM table_name_41 WHERE round < 3 AND time = "4:59"
what is the record when the round is before 3 and the time si 4:59?
<s>[INST]what is the record when the round is before 3 and the time si 4:59? Context: CREATE TABLE table_name_41 (record VARCHAR, round VARCHAR, time VARCHAR)[/INST]SELECT record FROM table_name_41 WHERE round < 3 AND time = "4:59"</s>
CREATE TABLE table_name_24 (opponent VARCHAR, week VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_24 WHERE week < 8 AND date = "october 9, 1960"
Who was the opponent in a week less than 8 on October 9, 1960?
<s>[INST]Who was the opponent in a week less than 8 on October 9, 1960? Context: CREATE TABLE table_name_24 (opponent VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_24 WHERE week < 8 AND date = "october 9, 1960"</s>
CREATE TABLE table_name_91 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_91 WHERE date = "10 february 1951" AND home_team = "manchester united"
Who was the away team when Manchester United played at home on 10 February 1951?
<s>[INST]Who was the away team when Manchester United played at home on 10 February 1951? Context: CREATE TABLE table_name_91 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_91 WHERE date = "10 february 1951" AND home_team = "manchester united"</s>
CREATE TABLE table_name_88 (location VARCHAR, year VARCHAR, city VARCHAR)
SELECT location FROM table_name_88 WHERE year = 1971 AND city = "tokyo"
What location had a year of 1971 and a city of Tokyo?
<s>[INST]What location had a year of 1971 and a city of Tokyo? Context: CREATE TABLE table_name_88 (location VARCHAR, year VARCHAR, city VARCHAR)[/INST]SELECT location FROM table_name_88 WHERE year = 1971 AND city = "tokyo"</s>
CREATE TABLE table_name_14 (democratic_ticket VARCHAR, office VARCHAR)
SELECT democratic_ticket FROM table_name_14 WHERE office = "comptroller"
What is the kind of Democratic ticket has a Office of comptroller?
<s>[INST]What is the kind of Democratic ticket has a Office of comptroller? Context: CREATE TABLE table_name_14 (democratic_ticket VARCHAR, office VARCHAR)[/INST]SELECT democratic_ticket FROM table_name_14 WHERE office = "comptroller"</s>
CREATE TABLE table_name_24 (season VARCHAR, home VARCHAR)
SELECT season FROM table_name_24 WHERE home = "0–1"
Which Season has a Home of 0–1?
<s>[INST]Which Season has a Home of 0–1? Context: CREATE TABLE table_name_24 (season VARCHAR, home VARCHAR)[/INST]SELECT season FROM table_name_24 WHERE home = "0–1"</s>
CREATE TABLE table_name_73 (year VARCHAR)
SELECT SUM(2001) FROM table_name_73 WHERE year = "ebitda" AND 2009 < 3 OFFSET 600
what is 2001 when the year is ebitda and 2009 is less than 3,600?
<s>[INST]what is 2001 when the year is ebitda and 2009 is less than 3,600? Context: CREATE TABLE table_name_73 (year VARCHAR)[/INST]SELECT SUM(2001) FROM table_name_73 WHERE year = "ebitda" AND 2009 < 3 OFFSET 600</s>
CREATE TABLE table_name_26 (name VARCHAR, date_of_birth VARCHAR)
SELECT name FROM table_name_26 WHERE date_of_birth = "1909"
What is the name of the person born in 1909?
<s>[INST]What is the name of the person born in 1909? Context: CREATE TABLE table_name_26 (name VARCHAR, date_of_birth VARCHAR)[/INST]SELECT name FROM table_name_26 WHERE date_of_birth = "1909"</s>
CREATE TABLE table_name_20 (constructor VARCHAR, country VARCHAR, rank VARCHAR)
SELECT constructor FROM table_name_20 WHERE country = "ita" AND rank < 13
Which constructor is from ITA with a rank less than 13?
<s>[INST]Which constructor is from ITA with a rank less than 13? Context: CREATE TABLE table_name_20 (constructor VARCHAR, country VARCHAR, rank VARCHAR)[/INST]SELECT constructor FROM table_name_20 WHERE country = "ita" AND rank < 13</s>
CREATE TABLE table_name_40 (silver VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT COUNT(silver) FROM table_name_40 WHERE gold = 3 AND rank > 1
How many silver medals are there with 3 gold medals at a rank above 1?
<s>[INST]How many silver medals are there with 3 gold medals at a rank above 1? Context: CREATE TABLE table_name_40 (silver VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_40 WHERE gold = 3 AND rank > 1</s>
CREATE TABLE table_name_57 (points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR)
SELECT MIN(points) FROM table_name_57 WHERE class = "125cc" AND wins = 1 AND year < 1961
What is the least points for class 125cc with 1 win earlier than 1961?
<s>[INST]What is the least points for class 125cc with 1 win earlier than 1961? Context: CREATE TABLE table_name_57 (points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR)[/INST]SELECT MIN(points) FROM table_name_57 WHERE class = "125cc" AND wins = 1 AND year < 1961</s>
CREATE TABLE table_27293285_2 (bonus_points VARCHAR, points_for VARCHAR)
SELECT bonus_points FROM table_27293285_2 WHERE points_for = "379"
How many bonus points did the club who had 379 points for have?
<s>[INST]How many bonus points did the club who had 379 points for have? Context: CREATE TABLE table_27293285_2 (bonus_points VARCHAR, points_for VARCHAR)[/INST]SELECT bonus_points FROM table_27293285_2 WHERE points_for = "379"</s>
CREATE TABLE table_name_95 (set_3 VARCHAR, total VARCHAR)
SELECT set_3 FROM table_name_95 WHERE total = "78–92"
What is the set 3 when the total is 78–92?
<s>[INST]What is the set 3 when the total is 78–92? Context: CREATE TABLE table_name_95 (set_3 VARCHAR, total VARCHAR)[/INST]SELECT set_3 FROM table_name_95 WHERE total = "78–92"</s>
CREATE TABLE table_name_55 (joined INTEGER, nickname VARCHAR, location VARCHAR)
SELECT AVG(joined) FROM table_name_55 WHERE nickname = "wildcats" AND location = "longmeadow, massachusetts"
What is the average Joined with a Nickname of wildcats in longmeadow, massachusetts?
<s>[INST]What is the average Joined with a Nickname of wildcats in longmeadow, massachusetts? Context: CREATE TABLE table_name_55 (joined INTEGER, nickname VARCHAR, location VARCHAR)[/INST]SELECT AVG(joined) FROM table_name_55 WHERE nickname = "wildcats" AND location = "longmeadow, massachusetts"</s>
CREATE TABLE table_name_7 (date_of_birth__age_ VARCHAR, position VARCHAR, club_province VARCHAR)
SELECT date_of_birth__age_ FROM table_name_7 WHERE position = "lock" AND club_province = "queensland reds"
When was the queensland reds lock player born?
<s>[INST]When was the queensland reds lock player born? Context: CREATE TABLE table_name_7 (date_of_birth__age_ VARCHAR, position VARCHAR, club_province VARCHAR)[/INST]SELECT date_of_birth__age_ FROM table_name_7 WHERE position = "lock" AND club_province = "queensland reds"</s>
CREATE TABLE table_name_29 (lane VARCHAR, heat VARCHAR, name VARCHAR)
SELECT COUNT(lane) FROM table_name_29 WHERE heat = 3 AND name = "cxhristy ekpukhon ihunaegbo"
what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo?
<s>[INST]what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo? Context: CREATE TABLE table_name_29 (lane VARCHAR, heat VARCHAR, name VARCHAR)[/INST]SELECT COUNT(lane) FROM table_name_29 WHERE heat = 3 AND name = "cxhristy ekpukhon ihunaegbo"</s>
CREATE TABLE table_23286112_6 (location_attendance VARCHAR, high_points VARCHAR)
SELECT location_attendance FROM table_23286112_6 WHERE high_points = "Kevin Durant (25)"
Where was the game in which Kevin Durant (25) did the most high points played?
<s>[INST]Where was the game in which Kevin Durant (25) did the most high points played? Context: CREATE TABLE table_23286112_6 (location_attendance VARCHAR, high_points VARCHAR)[/INST]SELECT location_attendance FROM table_23286112_6 WHERE high_points = "Kevin Durant (25)"</s>
CREATE TABLE table_name_23 (team_1 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_23 WHERE team_1 = "rk gold club kozina"
What 2nd leg has rk gold club kozina as team 1?
<s>[INST]What 2nd leg has rk gold club kozina as team 1? Context: CREATE TABLE table_name_23 (team_1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_23 WHERE team_1 = "rk gold club kozina"</s>
CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR)
SELECT into_service FROM table_29002641_1 WHERE number = "DH1"
Name the into service for dh1
<s>[INST]Name the into service for dh1 Context: CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR)[/INST]SELECT into_service FROM table_29002641_1 WHERE number = "DH1"</s>
CREATE TABLE table_27671835_3 (old_membership_total INTEGER)
SELECT MIN(old_membership_total) FROM table_27671835_3
What is the smallest number for old membership total?
<s>[INST]What is the smallest number for old membership total? Context: CREATE TABLE table_27671835_3 (old_membership_total INTEGER)[/INST]SELECT MIN(old_membership_total) FROM table_27671835_3</s>
CREATE TABLE table_name_56 (fate VARCHAR, nationality VARCHAR)
SELECT fate FROM table_name_56 WHERE nationality = "yugoslavia"
What was Yugoslavia's fate?
<s>[INST]What was Yugoslavia's fate? Context: CREATE TABLE table_name_56 (fate VARCHAR, nationality VARCHAR)[/INST]SELECT fate FROM table_name_56 WHERE nationality = "yugoslavia"</s>
CREATE TABLE table_name_98 (name VARCHAR, opened VARCHAR, park VARCHAR)
SELECT name FROM table_name_98 WHERE opened = 2000 AND park = "brighton pier"
What is the name of the roller coaster that opened in 2000 in Brighton Pier?
<s>[INST]What is the name of the roller coaster that opened in 2000 in Brighton Pier? Context: CREATE TABLE table_name_98 (name VARCHAR, opened VARCHAR, park VARCHAR)[/INST]SELECT name FROM table_name_98 WHERE opened = 2000 AND park = "brighton pier"</s>
CREATE TABLE table_name_64 (rank INTEGER, rider VARCHAR)
SELECT MAX(rank) FROM table_name_64 WHERE rider = "peter symes"
What is the highest rank for Peter Symes?
<s>[INST]What is the highest rank for Peter Symes? Context: CREATE TABLE table_name_64 (rank INTEGER, rider VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_64 WHERE rider = "peter symes"</s>
CREATE TABLE table_name_6 (team_2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_6 WHERE team_2 = "mufulira wanderers"
What was the 1st leg score when Mufulira Wanderers played as Team 2?
<s>[INST]What was the 1st leg score when Mufulira Wanderers played as Team 2? Context: CREATE TABLE table_name_6 (team_2 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_6 WHERE team_2 = "mufulira wanderers"</s>
CREATE TABLE table_11658094_1 (location VARCHAR, joined VARCHAR)
SELECT location FROM table_11658094_1 WHERE joined = "2008"
what are the locations that joined in 2008
<s>[INST]what are the locations that joined in 2008 Context: CREATE TABLE table_11658094_1 (location VARCHAR, joined VARCHAR)[/INST]SELECT location FROM table_11658094_1 WHERE joined = "2008"</s>
CREATE TABLE table_name_58 (team VARCHAR, name VARCHAR)
SELECT team FROM table_name_58 WHERE name = "alex sperafico"
What is the team when the name is alex sperafico?
<s>[INST]What is the team when the name is alex sperafico? Context: CREATE TABLE table_name_58 (team VARCHAR, name VARCHAR)[/INST]SELECT team FROM table_name_58 WHERE name = "alex sperafico"</s>
CREATE TABLE table_1628607_5 (points__percentage VARCHAR, foursomes_w_l_h VARCHAR)
SELECT points__percentage FROM table_1628607_5 WHERE foursomes_w_l_h = "1–0–0 won w/ P. Creamer 3&2"
When the foursome was w-l-h is 1–0–0 won w/ p. creamer 3&2, what was the points %?
<s>[INST]When the foursome was w-l-h is 1–0–0 won w/ p. creamer 3&2, what was the points %? Context: CREATE TABLE table_1628607_5 (points__percentage VARCHAR, foursomes_w_l_h VARCHAR)[/INST]SELECT points__percentage FROM table_1628607_5 WHERE foursomes_w_l_h = "1–0–0 won w/ P. Creamer 3&2"</s>
CREATE TABLE table_name_14 (average INTEGER, state VARCHAR, swimsuit VARCHAR)
SELECT MAX(average) FROM table_name_14 WHERE state = "iowa" AND swimsuit < 9.267
What is the highest average a contestant from Iowa with a swimsuit smaller than 9.267 has?
<s>[INST]What is the highest average a contestant from Iowa with a swimsuit smaller than 9.267 has? Context: CREATE TABLE table_name_14 (average INTEGER, state VARCHAR, swimsuit VARCHAR)[/INST]SELECT MAX(average) FROM table_name_14 WHERE state = "iowa" AND swimsuit < 9.267</s>
CREATE TABLE table_20170644_3 (player VARCHAR, cfl_team VARCHAR)
SELECT player FROM table_20170644_3 WHERE cfl_team = "BC Lions"
Which player is on the BC Lions?
<s>[INST]Which player is on the BC Lions? Context: CREATE TABLE table_20170644_3 (player VARCHAR, cfl_team VARCHAR)[/INST]SELECT player FROM table_20170644_3 WHERE cfl_team = "BC Lions"</s>
CREATE TABLE table_name_34 (date VARCHAR, terrain VARCHAR, stage VARCHAR)
SELECT date FROM table_name_34 WHERE terrain = "plain stage" AND stage = "4"
Which date has a Terrain of plain stage, and a Stage of 4?
<s>[INST]Which date has a Terrain of plain stage, and a Stage of 4? Context: CREATE TABLE table_name_34 (date VARCHAR, terrain VARCHAR, stage VARCHAR)[/INST]SELECT date FROM table_name_34 WHERE terrain = "plain stage" AND stage = "4"</s>
CREATE TABLE table_name_66 (tournament VARCHAR)
SELECT 2012 FROM table_name_66 WHERE tournament = "cincinnati masters"
what is 2012 when the tournament is cincinnati masters?
<s>[INST]what is 2012 when the tournament is cincinnati masters? Context: CREATE TABLE table_name_66 (tournament VARCHAR)[/INST]SELECT 2012 FROM table_name_66 WHERE tournament = "cincinnati masters"</s>
CREATE TABLE table_name_6 (driver VARCHAR, rounds VARCHAR, entrant VARCHAR)
SELECT driver FROM table_name_6 WHERE rounds = "all" AND entrant = "motor racing developments"
Which driver was in all rounds as an entrant of Motor Racing Developments?
<s>[INST]Which driver was in all rounds as an entrant of Motor Racing Developments? Context: CREATE TABLE table_name_6 (driver VARCHAR, rounds VARCHAR, entrant VARCHAR)[/INST]SELECT driver FROM table_name_6 WHERE rounds = "all" AND entrant = "motor racing developments"</s>
CREATE TABLE table_name_66 (finalist VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT finalist FROM table_name_66 WHERE surface = "hard" AND tournament = "miami"
Who was the finalist of the hard surface tournament in Miami?
<s>[INST]Who was the finalist of the hard surface tournament in Miami? Context: CREATE TABLE table_name_66 (finalist VARCHAR, surface VARCHAR, tournament VARCHAR)[/INST]SELECT finalist FROM table_name_66 WHERE surface = "hard" AND tournament = "miami"</s>
CREATE TABLE table_name_64 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_64 WHERE away_team = "sydney spirit"
When was the game that had Sydney Spirit as the away team?
<s>[INST]When was the game that had Sydney Spirit as the away team? Context: CREATE TABLE table_name_64 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_64 WHERE away_team = "sydney spirit"</s>
CREATE TABLE table_11960407_5 (high_points VARCHAR, game VARCHAR)
SELECT high_points FROM table_11960407_5 WHERE game = 49
Who scored the most points in Game 49?
<s>[INST]Who scored the most points in Game 49? Context: CREATE TABLE table_11960407_5 (high_points VARCHAR, game VARCHAR)[/INST]SELECT high_points FROM table_11960407_5 WHERE game = 49</s>
CREATE TABLE table_name_23 (results VARCHAR, year VARCHAR)
SELECT results FROM table_name_23 WHERE year = 2000
What was the result in 2000?
<s>[INST]What was the result in 2000? Context: CREATE TABLE table_name_23 (results VARCHAR, year VARCHAR)[/INST]SELECT results FROM table_name_23 WHERE year = 2000</s>
CREATE TABLE table_name_40 (transfer_window VARCHAR, moving_from VARCHAR)
SELECT transfer_window FROM table_name_40 WHERE moving_from = "barueri"
What is the transfer window of the player moving from barueri?
<s>[INST]What is the transfer window of the player moving from barueri? Context: CREATE TABLE table_name_40 (transfer_window VARCHAR, moving_from VARCHAR)[/INST]SELECT transfer_window FROM table_name_40 WHERE moving_from = "barueri"</s>
CREATE TABLE table_name_42 (location_attendance VARCHAR, score VARCHAR)
SELECT location_attendance FROM table_name_42 WHERE score = "w 86–77 (ot)"
what is the location attendance when the score is w 86–77 (ot)?
<s>[INST]what is the location attendance when the score is w 86–77 (ot)? Context: CREATE TABLE table_name_42 (location_attendance VARCHAR, score VARCHAR)[/INST]SELECT location_attendance FROM table_name_42 WHERE score = "w 86–77 (ot)"</s>
CREATE TABLE table_name_93 (chassis VARCHAR, year VARCHAR, engine VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_93 WHERE engine = "maserati straight-6" AND points > 0 AND year = 1955
What kind of Chassis supports a Maserati Straight-6 engine with Points greater than 0 and built in the year 1955?
<s>[INST]What kind of Chassis supports a Maserati Straight-6 engine with Points greater than 0 and built in the year 1955? Context: CREATE TABLE table_name_93 (chassis VARCHAR, year VARCHAR, engine VARCHAR, points VARCHAR)[/INST]SELECT chassis FROM table_name_93 WHERE engine = "maserati straight-6" AND points > 0 AND y...
CREATE TABLE table_name_97 (winner VARCHAR, fifth VARCHAR)
SELECT winner FROM table_name_97 WHERE fifth = "joss stone"
WHAT IS THE WINNER WITH A FIFTH OF JOSS STONE?
<s>[INST]WHAT IS THE WINNER WITH A FIFTH OF JOSS STONE? Context: CREATE TABLE table_name_97 (winner VARCHAR, fifth VARCHAR)[/INST]SELECT winner FROM table_name_97 WHERE fifth = "joss stone"</s>
CREATE TABLE table_10015132_11 (school_club_team VARCHAR, no VARCHAR)
SELECT COUNT(school_club_team) FROM table_10015132_11 WHERE no = "3"
How many schools did player number 3 play at?
<s>[INST]How many schools did player number 3 play at? Context: CREATE TABLE table_10015132_11 (school_club_team VARCHAR, no VARCHAR)[/INST]SELECT COUNT(school_club_team) FROM table_10015132_11 WHERE no = "3"</s>
CREATE TABLE table_1510519_1 (number_of_seasons_in_top_division VARCHAR, position_in_2012_13 VARCHAR)
SELECT COUNT(number_of_seasons_in_top_division) FROM table_1510519_1 WHERE position_in_2012_13 = "005 5th"
How many seasons in the top division for the team that finished 005 5th in 2012-2013
<s>[INST]How many seasons in the top division for the team that finished 005 5th in 2012-2013 Context: CREATE TABLE table_1510519_1 (number_of_seasons_in_top_division VARCHAR, position_in_2012_13 VARCHAR)[/INST]SELECT COUNT(number_of_seasons_in_top_division) FROM table_1510519_1 WHERE position_in_2012_13 = "005 5th"</s...
CREATE TABLE table_name_22 (pl_gp INTEGER, reg_gp INTEGER)
SELECT MAX(pl_gp) FROM table_name_22 WHERE reg_gp > 18
What's the highest Pl GP with a Reg GP over 18?
<s>[INST]What's the highest Pl GP with a Reg GP over 18? Context: CREATE TABLE table_name_22 (pl_gp INTEGER, reg_gp INTEGER)[/INST]SELECT MAX(pl_gp) FROM table_name_22 WHERE reg_gp > 18</s>
CREATE TABLE table_29012710_1 (production__hectolitres_ VARCHAR, province VARCHAR)
SELECT production__hectolitres_ FROM table_29012710_1 WHERE province = "New Brunswick"
what is the amount where the area is new brunswick
<s>[INST]what is the amount where the area is new brunswick Context: CREATE TABLE table_29012710_1 (production__hectolitres_ VARCHAR, province VARCHAR)[/INST]SELECT production__hectolitres_ FROM table_29012710_1 WHERE province = "New Brunswick"</s>
CREATE TABLE table_name_93 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR)
SELECT doha_, _qatar FROM table_name_93 WHERE snatch = "clean & jerk"
What is the Doha, Qatar when the snatch is clean & jerk?
<s>[INST]What is the Doha, Qatar when the snatch is clean & jerk? Context: CREATE TABLE table_name_93 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR)[/INST]SELECT doha_, _qatar FROM table_name_93 WHERE snatch = "clean & jerk"</s>
CREATE TABLE table_name_69 (losses INTEGER, point_differential VARCHAR, points_for VARCHAR, games_played VARCHAR)
SELECT MAX(losses) FROM table_name_69 WHERE points_for < 79 AND games_played = 10 AND point_differential < 34
What is the highest number of losses that the team incurred while scoring less than 79 points in 10 games with a point differential less than 34?
<s>[INST]What is the highest number of losses that the team incurred while scoring less than 79 points in 10 games with a point differential less than 34? Context: CREATE TABLE table_name_69 (losses INTEGER, point_differential VARCHAR, points_for VARCHAR, games_played VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_6...
CREATE TABLE table_name_26 (date VARCHAR, week VARCHAR, result VARCHAR)
SELECT date FROM table_name_26 WHERE week > 3 AND result = "w 28-27"
Tell me the date that has a week larger than 3 and a result of w 28-27
<s>[INST]Tell me the date that has a week larger than 3 and a result of w 28-27 Context: CREATE TABLE table_name_26 (date VARCHAR, week VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_26 WHERE week > 3 AND result = "w 28-27"</s>
CREATE TABLE table_name_33 (rank VARCHAR, nationality VARCHAR)
SELECT COUNT(rank) FROM table_name_33 WHERE nationality = "denmark"
What is the rank for Denmark?
<s>[INST]What is the rank for Denmark? Context: CREATE TABLE table_name_33 (rank VARCHAR, nationality VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_33 WHERE nationality = "denmark"</s>
CREATE TABLE table_25030512_24 (result VARCHAR, first_elected VARCHAR)
SELECT result FROM table_25030512_24 WHERE first_elected = "1998"
Name the result for 1998
<s>[INST]Name the result for 1998 Context: CREATE TABLE table_25030512_24 (result VARCHAR, first_elected VARCHAR)[/INST]SELECT result FROM table_25030512_24 WHERE first_elected = "1998"</s>
CREATE TABLE table_name_83 (country VARCHAR, date VARCHAR, birth_date VARCHAR)
SELECT country FROM table_name_83 WHERE date = 1991 AND birth_date = "1976-07-23"
What country was the woman from who was born 1976-07-23 and became a grandmaster in 1991?
<s>[INST]What country was the woman from who was born 1976-07-23 and became a grandmaster in 1991? Context: CREATE TABLE table_name_83 (country VARCHAR, date VARCHAR, birth_date VARCHAR)[/INST]SELECT country FROM table_name_83 WHERE date = 1991 AND birth_date = "1976-07-23"</s>
CREATE TABLE table_name_13 (ccbs INTEGER, payload_to_gto VARCHAR, upper_stage VARCHAR)
SELECT MAX(ccbs) FROM table_name_13 WHERE payload_to_gto = "–" AND upper_stage = "sec"
What is the greatest CCBs with a Payload to GTO of –, and an Upper stage of sec?
<s>[INST]What is the greatest CCBs with a Payload to GTO of –, and an Upper stage of sec? Context: CREATE TABLE table_name_13 (ccbs INTEGER, payload_to_gto VARCHAR, upper_stage VARCHAR)[/INST]SELECT MAX(ccbs) FROM table_name_13 WHERE payload_to_gto = "–" AND upper_stage = "sec"</s>
CREATE TABLE table_25642873_2 (extra_points VARCHAR, player VARCHAR)
SELECT COUNT(extra_points) FROM table_25642873_2 WHERE player = "na"
How many extra points catagories are there for the na player?
<s>[INST]How many extra points catagories are there for the na player? Context: CREATE TABLE table_25642873_2 (extra_points VARCHAR, player VARCHAR)[/INST]SELECT COUNT(extra_points) FROM table_25642873_2 WHERE player = "na"</s>
CREATE TABLE table_name_99 (title VARCHAR, year VARCHAR, distributor_s_ VARCHAR)
SELECT title FROM table_name_99 WHERE year = "1997" AND distributor_s_ = "hbo pictures"
What is the name of the movie from 1997 distributed from HBO Pictures?
<s>[INST]What is the name of the movie from 1997 distributed from HBO Pictures? Context: CREATE TABLE table_name_99 (title VARCHAR, year VARCHAR, distributor_s_ VARCHAR)[/INST]SELECT title FROM table_name_99 WHERE year = "1997" AND distributor_s_ = "hbo pictures"</s>
CREATE TABLE table_name_30 (partner VARCHAR, surface VARCHAR, championship VARCHAR)
SELECT partner FROM table_name_30 WHERE surface = "hard" AND championship = "us open"
Who was the partner when the championship was us open on a hard surface?
<s>[INST]Who was the partner when the championship was us open on a hard surface? Context: CREATE TABLE table_name_30 (partner VARCHAR, surface VARCHAR, championship VARCHAR)[/INST]SELECT partner FROM table_name_30 WHERE surface = "hard" AND championship = "us open"</s>
CREATE TABLE table_1616608_2 (western_title VARCHAR, chinese_title VARCHAR)
SELECT COUNT(western_title) FROM table_1616608_2 WHERE chinese_title = "摸摸耀西-云中漫步"
How many games share their western title with the Chinese title of 摸摸耀西-云中漫步 ?
<s>[INST]How many games share their western title with the Chinese title of 摸摸耀西-云中漫步 ? Context: CREATE TABLE table_1616608_2 (western_title VARCHAR, chinese_title VARCHAR)[/INST]SELECT COUNT(western_title) FROM table_1616608_2 WHERE chinese_title = "摸摸耀西-云中漫步"</s>
CREATE TABLE table_name_19 (venue VARCHAR, winner VARCHAR)
SELECT venue FROM table_name_19 WHERE winner = "iain pyman"
What is the Venue, when the Winner is iain pyman?
<s>[INST]What is the Venue, when the Winner is iain pyman? Context: CREATE TABLE table_name_19 (venue VARCHAR, winner VARCHAR)[/INST]SELECT venue FROM table_name_19 WHERE winner = "iain pyman"</s>
CREATE TABLE table_name_68 (year_joined VARCHAR, school VARCHAR, size VARCHAR, ihsaa_class VARCHAR)
SELECT COUNT(year_joined) FROM table_name_68 WHERE size < 417 AND ihsaa_class = "a" AND school = "jac-cen-del"
How many years Joined have a Size smaller than 417, and an IHSAA Class of A, and a School of jac-cen-del?
<s>[INST]How many years Joined have a Size smaller than 417, and an IHSAA Class of A, and a School of jac-cen-del? Context: CREATE TABLE table_name_68 (year_joined VARCHAR, school VARCHAR, size VARCHAR, ihsaa_class VARCHAR)[/INST]SELECT COUNT(year_joined) FROM table_name_68 WHERE size < 417 AND ihsaa_class = "a" AND sc...
CREATE TABLE table_name_25 (record VARCHAR, game_site VARCHAR)
SELECT record FROM table_name_25 WHERE game_site = "riverfront stadium"
What was their record when they played at Riverfront Stadium?
<s>[INST]What was their record when they played at Riverfront Stadium? Context: CREATE TABLE table_name_25 (record VARCHAR, game_site VARCHAR)[/INST]SELECT record FROM table_name_25 WHERE game_site = "riverfront stadium"</s>
CREATE TABLE Documents_with_expenses (budget_type_code VARCHAR)
SELECT budget_type_code, COUNT(*) FROM Documents_with_expenses GROUP BY budget_type_code
Show budget type codes and the number of documents in each budget type.
<s>[INST]Show budget type codes and the number of documents in each budget type. Context: CREATE TABLE Documents_with_expenses (budget_type_code VARCHAR)[/INST]SELECT budget_type_code, COUNT(*) FROM Documents_with_expenses GROUP BY budget_type_code</s>
CREATE TABLE table_name_50 (laps VARCHAR, grid VARCHAR)
SELECT laps FROM table_name_50 WHERE grid = 12
How many laps for grid 12?
<s>[INST]How many laps for grid 12? Context: CREATE TABLE table_name_50 (laps VARCHAR, grid VARCHAR)[/INST]SELECT laps FROM table_name_50 WHERE grid = 12</s>
CREATE TABLE table_name_35 (sample_size INTEGER, date_s__administered VARCHAR)
SELECT MAX(sample_size) FROM table_name_35 WHERE date_s__administered = "october 18"
What is the highest sample size administered on October 18?
<s>[INST]What is the highest sample size administered on October 18? Context: CREATE TABLE table_name_35 (sample_size INTEGER, date_s__administered VARCHAR)[/INST]SELECT MAX(sample_size) FROM table_name_35 WHERE date_s__administered = "october 18"</s>
CREATE TABLE table_name_50 (ntfs VARCHAR, refs VARCHAR, hpfs VARCHAR)
SELECT ntfs FROM table_name_50 WHERE refs = "no" AND hpfs = "yes"
Which NTFS has a no for ReFS and a yes for HPFS?
<s>[INST]Which NTFS has a no for ReFS and a yes for HPFS? Context: CREATE TABLE table_name_50 (ntfs VARCHAR, refs VARCHAR, hpfs VARCHAR)[/INST]SELECT ntfs FROM table_name_50 WHERE refs = "no" AND hpfs = "yes"</s>
CREATE TABLE table_name_51 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT AVG(gold) FROM table_name_51 WHERE nation = "japan (jpn)" AND total < 5
Japan (JPN) with a total of less than 5, has what average gold medals?
<s>[INST]Japan (JPN) with a total of less than 5, has what average gold medals? Context: CREATE TABLE table_name_51 (gold INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_51 WHERE nation = "japan (jpn)" AND total < 5</s>
CREATE TABLE table_name_95 (commercial_operation VARCHAR, gross_capacity VARCHAR, unit VARCHAR)
SELECT commercial_operation FROM table_name_95 WHERE gross_capacity = "1,126 mw" AND unit = "tianwan-4"
What commercial operation that has a gross capacity of 1,126 mw, and a unit of tianwan-4?
<s>[INST]What commercial operation that has a gross capacity of 1,126 mw, and a unit of tianwan-4? Context: CREATE TABLE table_name_95 (commercial_operation VARCHAR, gross_capacity VARCHAR, unit VARCHAR)[/INST]SELECT commercial_operation FROM table_name_95 WHERE gross_capacity = "1,126 mw" AND unit = "tianwan-4"</s>
CREATE TABLE table_name_10 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_10 WHERE home = "ny islanders"
What is the score of the game where the NY Islanders are the home team?
<s>[INST]What is the score of the game where the NY Islanders are the home team? Context: CREATE TABLE table_name_10 (score VARCHAR, home VARCHAR)[/INST]SELECT score FROM table_name_10 WHERE home = "ny islanders"</s>
CREATE TABLE table_name_41 (attendance VARCHAR, location VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_41 WHERE location = "west side grounds" AND date = "october 22"
For the game that was played on october 22 in west side grounds, what is the total attendance
<s>[INST]For the game that was played on october 22 in west side grounds, what is the total attendance Context: CREATE TABLE table_name_41 (attendance VARCHAR, location VARCHAR, date VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_41 WHERE location = "west side grounds" AND date = "october 22"</s>