context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_9 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
SELECT MIN(bronze) FROM table_name_9 WHERE rank = "11" AND silver < 1
How many Bronze medals for the Nation with a Rank of 11 and less than 1 Silver?
<s>[INST]How many Bronze medals for the Nation with a Rank of 11 and less than 1 Silver? Context: CREATE TABLE table_name_9 (bronze INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_9 WHERE rank = "11" AND silver < 1</s>
CREATE TABLE table_name_87 (podiums VARCHAR, points VARCHAR, wins VARCHAR, fl VARCHAR)
SELECT podiums FROM table_name_87 WHERE wins = "0" AND fl = "0" AND points = "35"
What is the number of podiums with 0 wins, 0 F.L. and 35 points?
<s>[INST]What is the number of podiums with 0 wins, 0 F.L. and 35 points? Context: CREATE TABLE table_name_87 (podiums VARCHAR, points VARCHAR, wins VARCHAR, fl VARCHAR)[/INST]SELECT podiums FROM table_name_87 WHERE wins = "0" AND fl = "0" AND points = "35"</s>
CREATE TABLE students (student_id VARCHAR); CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (course_id VARCHAR, student_id VARCHAR)
SELECT T3.course_name, COUNT(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id JOIN courses AS T3 ON T2.course_id = T3.course_id GROUP BY T2.course_id
How many registed students do each course have? List course name and the number of their registered students?
<s>[INST]How many registed students do each course have? List course name and the number of their registered students? Context: CREATE TABLE students (student_id VARCHAR); CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (course_id VARCHAR, student_id VARCHAR)[/INST]SELECT T3.course_name, COUNT(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id JOIN courses AS T3 ON T2.course_id = T3.course_id GROUP BY T2.course_id</s>
CREATE TABLE table_28578594_1 (no INTEGER, driver VARCHAR)
SELECT MIN(no) FROM table_28578594_1 WHERE driver = "Nello Pagani"
Name the least number for nello pagani
<s>[INST]Name the least number for nello pagani Context: CREATE TABLE table_28578594_1 (no INTEGER, driver VARCHAR)[/INST]SELECT MIN(no) FROM table_28578594_1 WHERE driver = "Nello Pagani"</s>
CREATE TABLE table_name_60 (commissioned_or_completed_ VARCHAR, _ VARCHAR, ship VARCHAR)
SELECT commissioned_or_completed_ * _ FROM table_name_60 WHERE ship = "manhattan"
What date was the ship named Manhattan completed?
<s>[INST]What date was the ship named Manhattan completed? Context: CREATE TABLE table_name_60 (commissioned_or_completed_ VARCHAR, _ VARCHAR, ship VARCHAR)[/INST]SELECT commissioned_or_completed_ * _ FROM table_name_60 WHERE ship = "manhattan"</s>
CREATE TABLE table_name_54 (team_country VARCHAR, year VARCHAR, race_name VARCHAR)
SELECT team_country FROM table_name_54 WHERE year > 1958 AND race_name = "kellogg's tour"
What ream played later than 1958 in the kellogg's tour?
<s>[INST]What ream played later than 1958 in the kellogg's tour? Context: CREATE TABLE table_name_54 (team_country VARCHAR, year VARCHAR, race_name VARCHAR)[/INST]SELECT team_country FROM table_name_54 WHERE year > 1958 AND race_name = "kellogg's tour"</s>
CREATE TABLE table_name_27 (unit VARCHAR, pennant_number VARCHAR)
SELECT unit FROM table_name_27 WHERE pennant_number = 82
Which unit has a Pennant Number of 82?
<s>[INST]Which unit has a Pennant Number of 82? Context: CREATE TABLE table_name_27 (unit VARCHAR, pennant_number VARCHAR)[/INST]SELECT unit FROM table_name_27 WHERE pennant_number = 82</s>
CREATE TABLE table_2923917_4 (melbourne VARCHAR, distance VARCHAR)
SELECT COUNT(melbourne) FROM table_2923917_4 WHERE distance = "15km"
How many listings under Melbourne has a distance at 15km?
<s>[INST]How many listings under Melbourne has a distance at 15km? Context: CREATE TABLE table_2923917_4 (melbourne VARCHAR, distance VARCHAR)[/INST]SELECT COUNT(melbourne) FROM table_2923917_4 WHERE distance = "15km"</s>
CREATE TABLE table_name_65 (weight_ VARCHAR, _height VARCHAR, player VARCHAR)
SELECT weight_ & _height FROM table_name_65 WHERE player = "michael worrincy"
Which Weight & Height has a Player of michael worrincy?
<s>[INST]Which Weight & Height has a Player of michael worrincy? Context: CREATE TABLE table_name_65 (weight_ VARCHAR, _height VARCHAR, player VARCHAR)[/INST]SELECT weight_ & _height FROM table_name_65 WHERE player = "michael worrincy"</s>
CREATE TABLE table_name_29 (engine VARCHAR, model VARCHAR, years VARCHAR)
SELECT engine FROM table_name_29 WHERE model = "1600" AND years = "1975-84"
What engine with the years of 1975-84 has a model of 1600?
<s>[INST]What engine with the years of 1975-84 has a model of 1600? Context: CREATE TABLE table_name_29 (engine VARCHAR, model VARCHAR, years VARCHAR)[/INST]SELECT engine FROM table_name_29 WHERE model = "1600" AND years = "1975-84"</s>
CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_22 WHERE player = "paul runyan"
What was Paul Runyan's score?
<s>[INST]What was Paul Runyan's score? Context: CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_22 WHERE player = "paul runyan"</s>
CREATE TABLE table_name_79 (roman VARCHAR, sound__allophone_ VARCHAR)
SELECT roman FROM table_name_79 WHERE sound__allophone_ = "[[[|k]]]"
What is the Roman entry for the allophone of [[[|k]]]?
<s>[INST]What is the Roman entry for the allophone of [[[|k]]]? Context: CREATE TABLE table_name_79 (roman VARCHAR, sound__allophone_ VARCHAR)[/INST]SELECT roman FROM table_name_79 WHERE sound__allophone_ = "[[[|k]]]"</s>
CREATE TABLE Elimination (Elimination_Move VARCHAR, Team VARCHAR)
SELECT Elimination_Move FROM Elimination WHERE Team = "Team Orton"
What are the elimination moves of wrestlers whose team is "Team Orton"?
<s>[INST]What are the elimination moves of wrestlers whose team is "Team Orton"? Context: CREATE TABLE Elimination (Elimination_Move VARCHAR, Team VARCHAR)[/INST]SELECT Elimination_Move FROM Elimination WHERE Team = "Team Orton"</s>
CREATE TABLE table_name_88 (second_party VARCHAR, first_party VARCHAR, year VARCHAR)
SELECT second_party FROM table_name_88 WHERE first_party = "tory" AND year = 1820
What is the second party where the first party is Tory and the year is 1820?
<s>[INST]What is the second party where the first party is Tory and the year is 1820? Context: CREATE TABLE table_name_88 (second_party VARCHAR, first_party VARCHAR, year VARCHAR)[/INST]SELECT second_party FROM table_name_88 WHERE first_party = "tory" AND year = 1820</s>
CREATE TABLE table_name_55 (start VARCHAR, rank VARCHAR)
SELECT start FROM table_name_55 WHERE rank = "4"
Which start has 4 as a rank?
<s>[INST]Which start has 4 as a rank? Context: CREATE TABLE table_name_55 (start VARCHAR, rank VARCHAR)[/INST]SELECT start FROM table_name_55 WHERE rank = "4"</s>
CREATE TABLE table_name_81 (goal VARCHAR, date VARCHAR)
SELECT COUNT(goal) FROM table_name_81 WHERE date = "15 november 1989"
How many total goals were made at the game on 15 November 1989?
<s>[INST]How many total goals were made at the game on 15 November 1989? Context: CREATE TABLE table_name_81 (goal VARCHAR, date VARCHAR)[/INST]SELECT COUNT(goal) FROM table_name_81 WHERE date = "15 november 1989"</s>
CREATE TABLE bridge (LOCATION VARCHAR, name VARCHAR)
SELECT LOCATION FROM bridge WHERE name = 'Kolob Arch' OR name = 'Rainbow Bridge'
What is the location of the bridge named 'Kolob Arch' or 'Rainbow Bridge'?
<s>[INST]What is the location of the bridge named 'Kolob Arch' or 'Rainbow Bridge'? Context: CREATE TABLE bridge (LOCATION VARCHAR, name VARCHAR)[/INST]SELECT LOCATION FROM bridge WHERE name = 'Kolob Arch' OR name = 'Rainbow Bridge'</s>
CREATE TABLE table_15780049_6 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_15780049_6 WHERE team = "Cleveland"
Who had the most assist when the opponent was Cleveland?
<s>[INST]Who had the most assist when the opponent was Cleveland? Context: CREATE TABLE table_15780049_6 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT high_assists FROM table_15780049_6 WHERE team = "Cleveland"</s>
CREATE TABLE table_name_72 (round VARCHAR, record VARCHAR)
SELECT round FROM table_name_72 WHERE record = "6-6"
How many rounds did the match last when his record was 6-6?
<s>[INST]How many rounds did the match last when his record was 6-6? Context: CREATE TABLE table_name_72 (round VARCHAR, record VARCHAR)[/INST]SELECT round FROM table_name_72 WHERE record = "6-6"</s>
CREATE TABLE table_23186738_10 (high_rebounds VARCHAR, record VARCHAR)
SELECT high_rebounds FROM table_23186738_10 WHERE record = "27-54"
Who had the highest rebounds in the game where the record was 27-54?
<s>[INST]Who had the highest rebounds in the game where the record was 27-54? Context: CREATE TABLE table_23186738_10 (high_rebounds VARCHAR, record VARCHAR)[/INST]SELECT high_rebounds FROM table_23186738_10 WHERE record = "27-54"</s>
CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR)
SELECT T1.region_name FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id HAVING COUNT(*) >= 2
Show the region name with at least two storms.
<s>[INST]Show the region name with at least two storms. Context: CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR)[/INST]SELECT T1.region_name FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id HAVING COUNT(*) >= 2</s>
CREATE TABLE table_name_72 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_72 WHERE date = "2003-08-13"
What is Venue, when Date is "2003-08-13"?
<s>[INST]What is Venue, when Date is "2003-08-13"? Context: CREATE TABLE table_name_72 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_72 WHERE date = "2003-08-13"</s>
CREATE TABLE school (school_name VARCHAR, LOCATION VARCHAR, mascot VARCHAR)
SELECT school_name, LOCATION, mascot FROM school
List the name, location, mascot for all schools.
<s>[INST]List the name, location, mascot for all schools. Context: CREATE TABLE school (school_name VARCHAR, LOCATION VARCHAR, mascot VARCHAR)[/INST]SELECT school_name, LOCATION, mascot FROM school</s>
CREATE TABLE table_1218784_1 (rank VARCHAR, manager VARCHAR)
SELECT COUNT(rank) FROM table_1218784_1 WHERE manager = "Rob McDonald"
What is the rank of manager Rob Mcdonald?
<s>[INST]What is the rank of manager Rob Mcdonald? Context: CREATE TABLE table_1218784_1 (rank VARCHAR, manager VARCHAR)[/INST]SELECT COUNT(rank) FROM table_1218784_1 WHERE manager = "Rob McDonald"</s>
CREATE TABLE table_name_52 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_52 WHERE date = "1 april 2008"
Who was the home team on 1 April 2008?
<s>[INST]Who was the home team on 1 April 2008? Context: CREATE TABLE table_name_52 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_52 WHERE date = "1 april 2008"</s>
CREATE TABLE table_name_56 (bronze INTEGER, silver VARCHAR, sport VARCHAR, gold VARCHAR, games VARCHAR)
SELECT MIN(bronze) FROM table_name_56 WHERE gold = 3 AND games = "winter" AND sport = "cross-country skiing" AND silver < 0
Tell me the lowest Bronze for gold of 3 in the winter for cross-country skiing and silver less than 0
<s>[INST]Tell me the lowest Bronze for gold of 3 in the winter for cross-country skiing and silver less than 0 Context: CREATE TABLE table_name_56 (bronze INTEGER, silver VARCHAR, sport VARCHAR, gold VARCHAR, games VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_56 WHERE gold = 3 AND games = "winter" AND sport = "cross-country skiing" AND silver < 0</s>
CREATE TABLE table_15887683_19 (language VARCHAR, television_service VARCHAR)
SELECT language FROM table_15887683_19 WHERE television_service = "ContoTV 5"
In what laguage was Contotv 5?
<s>[INST]In what laguage was Contotv 5? Context: CREATE TABLE table_15887683_19 (language VARCHAR, television_service VARCHAR)[/INST]SELECT language FROM table_15887683_19 WHERE television_service = "ContoTV 5"</s>
CREATE TABLE table_name_73 (club VARCHAR, tries_for VARCHAR)
SELECT club FROM table_name_73 WHERE tries_for = "73"
Which of the participating clubs had 73 tries for?
<s>[INST]Which of the participating clubs had 73 tries for? Context: CREATE TABLE table_name_73 (club VARCHAR, tries_for VARCHAR)[/INST]SELECT club FROM table_name_73 WHERE tries_for = "73"</s>
CREATE TABLE table_name_31 (outcome_of_election VARCHAR, candidate VARCHAR, number_of_votes VARCHAR)
SELECT outcome_of_election FROM table_name_31 WHERE candidate = "edward mahama" AND number_of_votes = "73,494"
What is the outcome of the election with edward mahama as a candidate and 73,494 votes?
<s>[INST]What is the outcome of the election with edward mahama as a candidate and 73,494 votes? Context: CREATE TABLE table_name_31 (outcome_of_election VARCHAR, candidate VARCHAR, number_of_votes VARCHAR)[/INST]SELECT outcome_of_election FROM table_name_31 WHERE candidate = "edward mahama" AND number_of_votes = "73,494"</s>
CREATE TABLE table_name_26 (total__kg_ INTEGER, snatch VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
SELECT SUM(total__kg_) FROM table_name_26 WHERE snatch < 110 AND clean_ & _jerk > 120
What is the sum Total (kg) associated with a Snatch less than 110, and a Clean & jerk larger than 120?
<s>[INST]What is the sum Total (kg) associated with a Snatch less than 110, and a Clean & jerk larger than 120? Context: CREATE TABLE table_name_26 (total__kg_ INTEGER, snatch VARCHAR, clean_ VARCHAR, _jerk VARCHAR)[/INST]SELECT SUM(total__kg_) FROM table_name_26 WHERE snatch < 110 AND clean_ & _jerk > 120</s>
CREATE TABLE table_name_78 (preliminary_average VARCHAR, interview VARCHAR)
SELECT preliminary_average FROM table_name_78 WHERE interview = "8.600 (6)"
what is the preliminary average score when the interview score is 8.600 (6)?
<s>[INST]what is the preliminary average score when the interview score is 8.600 (6)? Context: CREATE TABLE table_name_78 (preliminary_average VARCHAR, interview VARCHAR)[/INST]SELECT preliminary_average FROM table_name_78 WHERE interview = "8.600 (6)"</s>
CREATE TABLE table_name_62 (years VARCHAR, model VARCHAR)
SELECT years FROM table_name_62 WHERE model = "2.0 tdi (cr) dpf"
What years show Model of 2.0 tdi (cr) dpf?
<s>[INST]What years show Model of 2.0 tdi (cr) dpf? Context: CREATE TABLE table_name_62 (years VARCHAR, model VARCHAR)[/INST]SELECT years FROM table_name_62 WHERE model = "2.0 tdi (cr) dpf"</s>
CREATE TABLE table_name_36 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_36 WHERE home_team = "exeter city"
What is the tie no of the game where exeter city was the home team?
<s>[INST]What is the tie no of the game where exeter city was the home team? Context: CREATE TABLE table_name_36 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_36 WHERE home_team = "exeter city"</s>
CREATE TABLE table_name_61 (music VARCHAR, notes VARCHAR)
SELECT music FROM table_name_61 WHERE notes = "aka africa uncensored"
Which music has the notes of AKA Africa Uncensored?
<s>[INST]Which music has the notes of AKA Africa Uncensored? Context: CREATE TABLE table_name_61 (music VARCHAR, notes VARCHAR)[/INST]SELECT music FROM table_name_61 WHERE notes = "aka africa uncensored"</s>
CREATE TABLE table_name_71 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT AVG(laps) FROM table_name_71 WHERE driver = "john watson" AND grid < 11
How many Laps with a Grid smaller than 11 did John Watson have?
<s>[INST]How many Laps with a Grid smaller than 11 did John Watson have? Context: CREATE TABLE table_name_71 (laps INTEGER, driver VARCHAR, grid VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_71 WHERE driver = "john watson" AND grid < 11</s>
CREATE TABLE table_name_93 (tv_time VARCHAR, result VARCHAR)
SELECT tv_time FROM table_name_93 WHERE result = "w 24–17"
Which TV Time has a Result of w 24–17?
<s>[INST]Which TV Time has a Result of w 24–17? Context: CREATE TABLE table_name_93 (tv_time VARCHAR, result VARCHAR)[/INST]SELECT tv_time FROM table_name_93 WHERE result = "w 24–17"</s>
CREATE TABLE table_name_98 (language VARCHAR, network VARCHAR)
SELECT language FROM table_name_98 WHERE network = "ary digital"
What language does the Ary Digital network broadcast in?
<s>[INST]What language does the Ary Digital network broadcast in? Context: CREATE TABLE table_name_98 (language VARCHAR, network VARCHAR)[/INST]SELECT language FROM table_name_98 WHERE network = "ary digital"</s>
CREATE TABLE Movie (director VARCHAR, title VARCHAR, mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, stars VARCHAR)
SELECT T1.director, T1.title FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars = 5
What are the names of directors who directed movies with 5 star rating? Also return the title of these movies.
<s>[INST]What are the names of directors who directed movies with 5 star rating? Also return the title of these movies. Context: CREATE TABLE Movie (director VARCHAR, title VARCHAR, mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, stars VARCHAR)[/INST]SELECT T1.director, T1.title FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars = 5</s>
CREATE TABLE table_name_90 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_90 WHERE record = "14–8"
What was the loss of the game when the record was 14–8?
<s>[INST]What was the loss of the game when the record was 14–8? Context: CREATE TABLE table_name_90 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_90 WHERE record = "14–8"</s>
CREATE TABLE table_name_40 (round VARCHAR, venue VARCHAR)
SELECT round FROM table_name_40 WHERE venue = "canberra stadium"
What round was in canberra stadium?
<s>[INST]What round was in canberra stadium? Context: CREATE TABLE table_name_40 (round VARCHAR, venue VARCHAR)[/INST]SELECT round FROM table_name_40 WHERE venue = "canberra stadium"</s>
CREATE TABLE table_name_61 (tournament VARCHAR)
SELECT 1995 FROM table_name_61 WHERE tournament = "french open"
Which 1995's tournament was the French Open?
<s>[INST]Which 1995's tournament was the French Open? Context: CREATE TABLE table_name_61 (tournament VARCHAR)[/INST]SELECT 1995 FROM table_name_61 WHERE tournament = "french open"</s>
CREATE TABLE table_name_54 (points INTEGER, chassis VARCHAR)
SELECT MIN(points) FROM table_name_54 WHERE chassis = "kurtis kraft 500a"
Name the least points for chassis of kurtis kraft 500a
<s>[INST]Name the least points for chassis of kurtis kraft 500a Context: CREATE TABLE table_name_54 (points INTEGER, chassis VARCHAR)[/INST]SELECT MIN(points) FROM table_name_54 WHERE chassis = "kurtis kraft 500a"</s>
CREATE TABLE table_name_59 (year VARCHAR, role VARCHAR, title VARCHAR)
SELECT year FROM table_name_59 WHERE role = "himself" AND title = "epik high's love and delusion"
What is the Year, when Role is "himself", and when Title is "Epik High's Love And Delusion"?
<s>[INST]What is the Year, when Role is "himself", and when Title is "Epik High's Love And Delusion"? Context: CREATE TABLE table_name_59 (year VARCHAR, role VARCHAR, title VARCHAR)[/INST]SELECT year FROM table_name_59 WHERE role = "himself" AND title = "epik high's love and delusion"</s>
CREATE TABLE table_name_97 (points_for_ordinary INTEGER, points_for_foundation VARCHAR)
SELECT MAX(points_for_ordinary) FROM table_name_97 WHERE points_for_foundation = 10
With 10 as the points for foundation, what is the maximum points for ordinary?
<s>[INST]With 10 as the points for foundation, what is the maximum points for ordinary? Context: CREATE TABLE table_name_97 (points_for_ordinary INTEGER, points_for_foundation VARCHAR)[/INST]SELECT MAX(points_for_ordinary) FROM table_name_97 WHERE points_for_foundation = 10</s>
CREATE TABLE table_name_8 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_8 WHERE player = "chris clark"
Tell me the position of chris clark
<s>[INST]Tell me the position of chris clark Context: CREATE TABLE table_name_8 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_8 WHERE player = "chris clark"</s>
CREATE TABLE table_name_69 (time VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_69 WHERE round = "2" AND opponent = "taylor mccorriston"
What was the time of round 2 against Taylor Mccorriston?
<s>[INST]What was the time of round 2 against Taylor Mccorriston? Context: CREATE TABLE table_name_69 (time VARCHAR, round VARCHAR, opponent VARCHAR)[/INST]SELECT time FROM table_name_69 WHERE round = "2" AND opponent = "taylor mccorriston"</s>
CREATE TABLE table_name_82 (tournament VARCHAR)
SELECT tournament FROM table_name_82 WHERE 2002 = "grand slam tournaments"
Which Tournament has a 2002 of grand slam tournaments?
<s>[INST]Which Tournament has a 2002 of grand slam tournaments? Context: CREATE TABLE table_name_82 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_82 WHERE 2002 = "grand slam tournaments"</s>
CREATE TABLE table_name_80 (band VARCHAR, freq_currently VARCHAR)
SELECT band FROM table_name_80 WHERE freq_currently = "8tab (hpon)"
Which band has a current freq of 8tab (hpon)?
<s>[INST]Which band has a current freq of 8tab (hpon)? Context: CREATE TABLE table_name_80 (band VARCHAR, freq_currently VARCHAR)[/INST]SELECT band FROM table_name_80 WHERE freq_currently = "8tab (hpon)"</s>
CREATE TABLE table_name_87 (pick__number INTEGER, position VARCHAR)
SELECT SUM(pick__number) FROM table_name_87 WHERE position = "ol"
What is the total number of picks for the position of OL?
<s>[INST]What is the total number of picks for the position of OL? Context: CREATE TABLE table_name_87 (pick__number INTEGER, position VARCHAR)[/INST]SELECT SUM(pick__number) FROM table_name_87 WHERE position = "ol"</s>
CREATE TABLE table_name_31 (Id VARCHAR)
SELECT COUNT(2006) FROM table_name_31 WHERE 2004 < 3 AND 2005 > 1
What Country has a number smaller than 3 in 2004 and larger than 1 in 2005?
<s>[INST]What Country has a number smaller than 3 in 2004 and larger than 1 in 2005? Context: CREATE TABLE table_name_31 (Id VARCHAR)[/INST]SELECT COUNT(2006) FROM table_name_31 WHERE 2004 < 3 AND 2005 > 1</s>
CREATE TABLE table_name_96 (pick VARCHAR, round VARCHAR, player VARCHAR)
SELECT pick FROM table_name_96 WHERE round = "7" AND player = "don waddell"
What is the pick of player don waddell from round 7?
<s>[INST]What is the pick of player don waddell from round 7? Context: CREATE TABLE table_name_96 (pick VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT pick FROM table_name_96 WHERE round = "7" AND player = "don waddell"</s>
CREATE TABLE table_20159025_1 (part_3 VARCHAR, driver VARCHAR)
SELECT part_3 FROM table_20159025_1 WHERE driver = "Heikki Kovalainen"
What was the time in part 3 when Heikki Kovalainen was the driver?
<s>[INST]What was the time in part 3 when Heikki Kovalainen was the driver? Context: CREATE TABLE table_20159025_1 (part_3 VARCHAR, driver VARCHAR)[/INST]SELECT part_3 FROM table_20159025_1 WHERE driver = "Heikki Kovalainen"</s>
CREATE TABLE table_name_53 (time VARCHAR, name VARCHAR)
SELECT time FROM table_name_53 WHERE name = "yuliya yefimova"
What is the time of Yuliya Yefimova?
<s>[INST]What is the time of Yuliya Yefimova? Context: CREATE TABLE table_name_53 (time VARCHAR, name VARCHAR)[/INST]SELECT time FROM table_name_53 WHERE name = "yuliya yefimova"</s>
CREATE TABLE table_134729_3 (format VARCHAR, call_sign VARCHAR)
SELECT format FROM table_134729_3 WHERE call_sign = "K213CL"
What station has the call number K213cl
<s>[INST]What station has the call number K213cl Context: CREATE TABLE table_134729_3 (format VARCHAR, call_sign VARCHAR)[/INST]SELECT format FROM table_134729_3 WHERE call_sign = "K213CL"</s>
CREATE TABLE table_name_92 (top_25 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR)
SELECT COUNT(top_25) FROM table_name_92 WHERE top_10 > 2 AND cuts_made < 29
What is the total number of top-25 with a top-10 bigger than 2 and less than 29 cuts?
<s>[INST]What is the total number of top-25 with a top-10 bigger than 2 and less than 29 cuts? Context: CREATE TABLE table_name_92 (top_25 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR)[/INST]SELECT COUNT(top_25) FROM table_name_92 WHERE top_10 > 2 AND cuts_made < 29</s>
CREATE TABLE table_name_80 (second VARCHAR, third VARCHAR)
SELECT second FROM table_name_80 WHERE third = "kelly wood (e) anna sloan (jr)"
Who is the second where the third of Kelly Wood (e) Anna Sloan (Jr)?
<s>[INST]Who is the second where the third of Kelly Wood (e) Anna Sloan (Jr)? Context: CREATE TABLE table_name_80 (second VARCHAR, third VARCHAR)[/INST]SELECT second FROM table_name_80 WHERE third = "kelly wood (e) anna sloan (jr)"</s>
CREATE TABLE table_name_52 (category VARCHAR, work VARCHAR, award VARCHAR)
SELECT category FROM table_name_52 WHERE work = "scream" AND award = "international horror guild"
What category was Scream nominated for at the International Horror Guild?
<s>[INST]What category was Scream nominated for at the International Horror Guild? Context: CREATE TABLE table_name_52 (category VARCHAR, work VARCHAR, award VARCHAR)[/INST]SELECT category FROM table_name_52 WHERE work = "scream" AND award = "international horror guild"</s>
CREATE TABLE table_name_36 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_36 WHERE attendance = "17,136"
On what date was the attendance 17,136?
<s>[INST]On what date was the attendance 17,136? Context: CREATE TABLE table_name_36 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_36 WHERE attendance = "17,136"</s>
CREATE TABLE table_name_43 (romaji_title VARCHAR, tv_station VARCHAR, episodes VARCHAR)
SELECT romaji_title FROM table_name_43 WHERE tv_station = "tbs" AND episodes < 11
What is the Romanji Title of a show on TBS with less than 11 episodes?
<s>[INST]What is the Romanji Title of a show on TBS with less than 11 episodes? Context: CREATE TABLE table_name_43 (romaji_title VARCHAR, tv_station VARCHAR, episodes VARCHAR)[/INST]SELECT romaji_title FROM table_name_43 WHERE tv_station = "tbs" AND episodes < 11</s>
CREATE TABLE table_2781227_4 (pick INTEGER, player VARCHAR)
SELECT MIN(pick) FROM table_2781227_4 WHERE player = "Jamal Mayers"
For player is jamal mayers mention the minimum pick
<s>[INST]For player is jamal mayers mention the minimum pick Context: CREATE TABLE table_2781227_4 (pick INTEGER, player VARCHAR)[/INST]SELECT MIN(pick) FROM table_2781227_4 WHERE player = "Jamal Mayers"</s>
CREATE TABLE table_name_76 (yellow INTEGER, category VARCHAR, amerindian VARCHAR)
SELECT SUM(yellow) FROM table_name_76 WHERE category = "bugre (indian)" AND amerindian < 50 OFFSET 00
What is the sum of Yellow, when Category is Bugre (Indian), and when Amerindian is less than 50,00?
<s>[INST]What is the sum of Yellow, when Category is Bugre (Indian), and when Amerindian is less than 50,00? Context: CREATE TABLE table_name_76 (yellow INTEGER, category VARCHAR, amerindian VARCHAR)[/INST]SELECT SUM(yellow) FROM table_name_76 WHERE category = "bugre (indian)" AND amerindian < 50 OFFSET 00</s>
CREATE TABLE table_name_9 (name VARCHAR, qual_2 VARCHAR)
SELECT name FROM table_name_9 WHERE qual_2 = "1:01.777"
Who had a second qualification time of 1:01.777?
<s>[INST]Who had a second qualification time of 1:01.777? Context: CREATE TABLE table_name_9 (name VARCHAR, qual_2 VARCHAR)[/INST]SELECT name FROM table_name_9 WHERE qual_2 = "1:01.777"</s>
CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR)
SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = "2 x -inch (mm), 16 x -inch (mm)"
How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)?
<s>[INST]How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)? Context: CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR)[/INST]SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = "2 x -inch (mm), 16 x -inch (mm)"</s>
CREATE TABLE table_name_10 (rank INTEGER, nation VARCHAR, gold VARCHAR)
SELECT SUM(rank) FROM table_name_10 WHERE nation = "serbia" AND gold > 0
What is the rank that when Serbia is the nation, and gold is larger than 0?
<s>[INST]What is the rank that when Serbia is the nation, and gold is larger than 0? Context: CREATE TABLE table_name_10 (rank INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_10 WHERE nation = "serbia" AND gold > 0</s>
CREATE TABLE table_2528382_1 (song VARCHAR, additional_info VARCHAR)
SELECT song FROM table_2528382_1 WHERE additional_info = "Drunkard Groom"
Which song has Drunkard Groom listed as additional information?
<s>[INST]Which song has Drunkard Groom listed as additional information? Context: CREATE TABLE table_2528382_1 (song VARCHAR, additional_info VARCHAR)[/INST]SELECT song FROM table_2528382_1 WHERE additional_info = "Drunkard Groom"</s>
CREATE TABLE table_name_61 (opponent VARCHAR, zone VARCHAR)
SELECT opponent FROM table_name_61 WHERE zone = "europe/africa group i"
Who was the Europe/Africa group i's opponent?
<s>[INST]Who was the Europe/Africa group i's opponent? Context: CREATE TABLE table_name_61 (opponent VARCHAR, zone VARCHAR)[/INST]SELECT opponent FROM table_name_61 WHERE zone = "europe/africa group i"</s>
CREATE TABLE table_name_63 (height VARCHAR, name VARCHAR)
SELECT height FROM table_name_63 WHERE name = "james stanton"
What is the height of player James Stanton?
<s>[INST]What is the height of player James Stanton? Context: CREATE TABLE table_name_63 (height VARCHAR, name VARCHAR)[/INST]SELECT height FROM table_name_63 WHERE name = "james stanton"</s>
CREATE TABLE table_name_92 (release_date VARCHAR, l3_cache VARCHAR, part_number_s_ VARCHAR)
SELECT release_date FROM table_name_92 WHERE l3_cache = "6 mb" AND part_number_s_ = "by80607005259aabx80607i7740qm"
What is the release date of the 6 mb L3 cache with the part number by80607005259aabx80607i7740qm?
<s>[INST]What is the release date of the 6 mb L3 cache with the part number by80607005259aabx80607i7740qm? Context: CREATE TABLE table_name_92 (release_date VARCHAR, l3_cache VARCHAR, part_number_s_ VARCHAR)[/INST]SELECT release_date FROM table_name_92 WHERE l3_cache = "6 mb" AND part_number_s_ = "by80607005259aabx80607i7740qm"</s>
CREATE TABLE table_name_93 (mar_24 VARCHAR, may_26 VARCHAR, may_12 VARCHAR)
SELECT mar_24 FROM table_name_93 WHERE may_26 = "13" AND may_12 = "6"
What is the Mar 24 rank when the May 26 is 13, and the May 12 is 6?
<s>[INST]What is the Mar 24 rank when the May 26 is 13, and the May 12 is 6? Context: CREATE TABLE table_name_93 (mar_24 VARCHAR, may_26 VARCHAR, may_12 VARCHAR)[/INST]SELECT mar_24 FROM table_name_93 WHERE may_26 = "13" AND may_12 = "6"</s>
CREATE TABLE election (Date VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR)
SELECT T2.Name, T1.Date FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID
What are the names of representatives and the dates of elections they participated in.
<s>[INST]What are the names of representatives and the dates of elections they participated in. Context: CREATE TABLE election (Date VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR)[/INST]SELECT T2.Name, T1.Date FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID</s>
CREATE TABLE table_name_32 (tournament VARCHAR)
SELECT tournament FROM table_name_32 WHERE 2013 = "2r" AND 2010 = "1r"
What tournament shows 2013 as 2r, and a 2010 as 1r?
<s>[INST]What tournament shows 2013 as 2r, and a 2010 as 1r? Context: CREATE TABLE table_name_32 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_32 WHERE 2013 = "2r" AND 2010 = "1r"</s>
CREATE TABLE table_22319599_1 (colors VARCHAR, school VARCHAR)
SELECT colors FROM table_22319599_1 WHERE school = "John A. Logan College"
If the school is John A. Logan College, what are the colors?
<s>[INST]If the school is John A. Logan College, what are the colors? Context: CREATE TABLE table_22319599_1 (colors VARCHAR, school VARCHAR)[/INST]SELECT colors FROM table_22319599_1 WHERE school = "John A. Logan College"</s>
CREATE TABLE table_name_7 (team VARCHAR, rider VARCHAR)
SELECT team FROM table_name_7 WHERE rider = "john williams"
Which team is John Williams a rider for?
<s>[INST]Which team is John Williams a rider for? Context: CREATE TABLE table_name_7 (team VARCHAR, rider VARCHAR)[/INST]SELECT team FROM table_name_7 WHERE rider = "john williams"</s>
CREATE TABLE table_1507852_5 (attribute VARCHAR, cancelable VARCHAR)
SELECT attribute FROM table_1507852_5 WHERE cancelable = "Yes"
what's the attribute with cancelable being yes
<s>[INST]what's the attribute with cancelable being yes Context: CREATE TABLE table_1507852_5 (attribute VARCHAR, cancelable VARCHAR)[/INST]SELECT attribute FROM table_1507852_5 WHERE cancelable = "Yes"</s>
CREATE TABLE table_23812628_1 (points VARCHAR, team__number1 VARCHAR)
SELECT points FROM table_23812628_1 WHERE team__number1 = "Zamora"
Name the points for zamora
<s>[INST]Name the points for zamora Context: CREATE TABLE table_23812628_1 (points VARCHAR, team__number1 VARCHAR)[/INST]SELECT points FROM table_23812628_1 WHERE team__number1 = "Zamora"</s>
CREATE TABLE table_name_34 (location VARCHAR, mascot VARCHAR)
SELECT location FROM table_name_34 WHERE mascot = "tigers"
Which Location has a Mascot of tigers?
<s>[INST]Which Location has a Mascot of tigers? Context: CREATE TABLE table_name_34 (location VARCHAR, mascot VARCHAR)[/INST]SELECT location FROM table_name_34 WHERE mascot = "tigers"</s>
CREATE TABLE table_1220125_4 (fate VARCHAR, pennant VARCHAR)
SELECT COUNT(fate) FROM table_1220125_4 WHERE pennant = "U33"
What is the total number of fate for pennant of u33?
<s>[INST]What is the total number of fate for pennant of u33? Context: CREATE TABLE table_1220125_4 (fate VARCHAR, pennant VARCHAR)[/INST]SELECT COUNT(fate) FROM table_1220125_4 WHERE pennant = "U33"</s>
CREATE TABLE table_name_74 (away_team VARCHAR, crowd INTEGER)
SELECT away_team FROM table_name_74 WHERE crowd > 26 OFFSET 063
When the crowd was bigger than 26,063, who was the Away team?
<s>[INST]When the crowd was bigger than 26,063, who was the Away team? Context: CREATE TABLE table_name_74 (away_team VARCHAR, crowd INTEGER)[/INST]SELECT away_team FROM table_name_74 WHERE crowd > 26 OFFSET 063</s>
CREATE TABLE table_12000368_1 (author___editor___source VARCHAR, index__year_ VARCHAR)
SELECT author___editor___source FROM table_12000368_1 WHERE index__year_ = "Press Freedom (2007)"
what's the author / editor / source with index (year) being press freedom (2007)
<s>[INST]what's the author / editor / source with index (year) being press freedom (2007) Context: CREATE TABLE table_12000368_1 (author___editor___source VARCHAR, index__year_ VARCHAR)[/INST]SELECT author___editor___source FROM table_12000368_1 WHERE index__year_ = "Press Freedom (2007)"</s>
CREATE TABLE table_name_35 (region VARCHAR, vehicles__1209_ VARCHAR)
SELECT region FROM table_name_35 WHERE vehicles__1209_ = 57
What region has 57 vehicles?
<s>[INST]What region has 57 vehicles? Context: CREATE TABLE table_name_35 (region VARCHAR, vehicles__1209_ VARCHAR)[/INST]SELECT region FROM table_name_35 WHERE vehicles__1209_ = 57</s>
CREATE TABLE table_1615980_4 (runner_s__up VARCHAR, tournament VARCHAR)
SELECT runner_s__up FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia"
Who was the runner up at the Volvo Masters Andalucia?
<s>[INST]Who was the runner up at the Volvo Masters Andalucia? Context: CREATE TABLE table_1615980_4 (runner_s__up VARCHAR, tournament VARCHAR)[/INST]SELECT runner_s__up FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia"</s>
CREATE TABLE table_name_8 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_8 WHERE venue = "windy hill"
What is the away team score at the Windy Hill venue?
<s>[INST]What is the away team score at the Windy Hill venue? Context: CREATE TABLE table_name_8 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_8 WHERE venue = "windy hill"</s>
CREATE TABLE table_name_44 (location VARCHAR, established VARCHAR)
SELECT location FROM table_name_44 WHERE established = 2000
What is the location of the university that was established in 2000?
<s>[INST]What is the location of the university that was established in 2000? Context: CREATE TABLE table_name_44 (location VARCHAR, established VARCHAR)[/INST]SELECT location FROM table_name_44 WHERE established = 2000</s>
CREATE TABLE table_26980923_2 (total INTEGER, team VARCHAR)
SELECT MIN(total) FROM table_26980923_2 WHERE team = "Kilmarnock"
What is the total attended for kilmarnock?
<s>[INST]What is the total attended for kilmarnock? Context: CREATE TABLE table_26980923_2 (total INTEGER, team VARCHAR)[/INST]SELECT MIN(total) FROM table_26980923_2 WHERE team = "Kilmarnock"</s>
CREATE TABLE table_name_54 (assist_pass VARCHAR, date VARCHAR, score VARCHAR)
SELECT assist_pass FROM table_name_54 WHERE date = "2008-01-16" AND score = "2-0"
What is the assist/pass on 2008-01-16 when the score was 2-0?
<s>[INST]What is the assist/pass on 2008-01-16 when the score was 2-0? Context: CREATE TABLE table_name_54 (assist_pass VARCHAR, date VARCHAR, score VARCHAR)[/INST]SELECT assist_pass FROM table_name_54 WHERE date = "2008-01-16" AND score = "2-0"</s>
CREATE TABLE table_name_35 (name VARCHAR, roll VARCHAR)
SELECT name FROM table_name_35 WHERE roll = 422
Who has a roll value of 422?
<s>[INST]Who has a roll value of 422? Context: CREATE TABLE table_name_35 (name VARCHAR, roll VARCHAR)[/INST]SELECT name FROM table_name_35 WHERE roll = 422</s>
CREATE TABLE table_name_61 (tournament VARCHAR)
SELECT tournament FROM table_name_61 WHERE 2009 = "f" AND 2010 = "f"
Which tournament had the result with 2009 was F and 2010 was F?
<s>[INST]Which tournament had the result with 2009 was F and 2010 was F? Context: CREATE TABLE table_name_61 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_61 WHERE 2009 = "f" AND 2010 = "f"</s>
CREATE TABLE table_name_24 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_24 WHERE away_team = "fitzroy"
Where was the game held when Fitzroy was the away team?
<s>[INST]Where was the game held when Fitzroy was the away team? Context: CREATE TABLE table_name_24 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_24 WHERE away_team = "fitzroy"</s>
CREATE TABLE table_name_63 (to_par VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_63 WHERE place = "t3"
What is the To par of the T3 Player?
<s>[INST]What is the To par of the T3 Player? Context: CREATE TABLE table_name_63 (to_par VARCHAR, place VARCHAR)[/INST]SELECT to_par FROM table_name_63 WHERE place = "t3"</s>
CREATE TABLE wrestler (Name VARCHAR, Days_held VARCHAR)
SELECT Name FROM wrestler ORDER BY Days_held LIMIT 1
What is the name of the wrestler with the fewest days held?
<s>[INST]What is the name of the wrestler with the fewest days held? Context: CREATE TABLE wrestler (Name VARCHAR, Days_held VARCHAR)[/INST]SELECT Name FROM wrestler ORDER BY Days_held LIMIT 1</s>
CREATE TABLE table_name_89 (week VARCHAR, attendance VARCHAR)
SELECT week FROM table_name_89 WHERE attendance = "39,056"
Which week had 39,056 people in attendance?
<s>[INST]Which week had 39,056 people in attendance? Context: CREATE TABLE table_name_89 (week VARCHAR, attendance VARCHAR)[/INST]SELECT week FROM table_name_89 WHERE attendance = "39,056"</s>
CREATE TABLE table_name_32 (outcome VARCHAR, score VARCHAR)
SELECT outcome FROM table_name_32 WHERE score = "0–3 (11–21, 14–21)"
Score of 0–3 (11–21, 14–21) had what outcome?
<s>[INST]Score of 0–3 (11–21, 14–21) had what outcome? Context: CREATE TABLE table_name_32 (outcome VARCHAR, score VARCHAR)[/INST]SELECT outcome FROM table_name_32 WHERE score = "0–3 (11–21, 14–21)"</s>
CREATE TABLE table_name_80 (loss INTEGER, name VARCHAR, gain VARCHAR)
SELECT MIN(loss) FROM table_name_80 WHERE name = "jarius wright" AND gain > 1
What is the lowest loss that Jarius Wright has had where he also has had a gain bigger than 1.
<s>[INST]What is the lowest loss that Jarius Wright has had where he also has had a gain bigger than 1. Context: CREATE TABLE table_name_80 (loss INTEGER, name VARCHAR, gain VARCHAR)[/INST]SELECT MIN(loss) FROM table_name_80 WHERE name = "jarius wright" AND gain > 1</s>
CREATE TABLE table_name_61 (lost VARCHAR, against VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT COUNT(lost) FROM table_name_61 WHERE drawn > 1 AND points < 14 AND against > 10
How much Lost has a Drawn larger than 1, and Points smaller than 14, and an Against larger than 10?
<s>[INST]How much Lost has a Drawn larger than 1, and Points smaller than 14, and an Against larger than 10? Context: CREATE TABLE table_name_61 (lost VARCHAR, against VARCHAR, drawn VARCHAR, points VARCHAR)[/INST]SELECT COUNT(lost) FROM table_name_61 WHERE drawn > 1 AND points < 14 AND against > 10</s>
CREATE TABLE table_2140071_5 (premier_date VARCHAR, coach VARCHAR)
SELECT premier_date FROM table_2140071_5 WHERE coach = "John O'Connell"
What date did the episode, with John O'Connell as the coach, premier?
<s>[INST]What date did the episode, with John O'Connell as the coach, premier? Context: CREATE TABLE table_2140071_5 (premier_date VARCHAR, coach VARCHAR)[/INST]SELECT premier_date FROM table_2140071_5 WHERE coach = "John O'Connell"</s>
CREATE TABLE table_name_28 (to_par VARCHAR, total VARCHAR, finish VARCHAR)
SELECT to_par FROM table_name_28 WHERE total > 283 AND finish = "t12"
Which To par has a Total larger than 283, and a Finish of t12?
<s>[INST]Which To par has a Total larger than 283, and a Finish of t12? Context: CREATE TABLE table_name_28 (to_par VARCHAR, total VARCHAR, finish VARCHAR)[/INST]SELECT to_par FROM table_name_28 WHERE total > 283 AND finish = "t12"</s>
CREATE TABLE hosting_city (host_city VARCHAR, YEAR VARCHAR)
SELECT host_city FROM hosting_city ORDER BY YEAR DESC LIMIT 1
What is id of the city that hosted events in the most recent year?
<s>[INST]What is id of the city that hosted events in the most recent year? Context: CREATE TABLE hosting_city (host_city VARCHAR, YEAR VARCHAR)[/INST]SELECT host_city FROM hosting_city ORDER BY YEAR DESC LIMIT 1</s>
CREATE TABLE table_name_79 (birthplace VARCHAR, jersey_number VARCHAR, position VARCHAR, height__cm_ VARCHAR)
SELECT birthplace FROM table_name_79 WHERE position = "d" AND height__cm_ = 190 AND jersey_number = 11
What is the birthplace of the player who is 190 CM tall, plays the D position, and wears number 11?
<s>[INST]What is the birthplace of the player who is 190 CM tall, plays the D position, and wears number 11? Context: CREATE TABLE table_name_79 (birthplace VARCHAR, jersey_number VARCHAR, position VARCHAR, height__cm_ VARCHAR)[/INST]SELECT birthplace FROM table_name_79 WHERE position = "d" AND height__cm_ = 190 AND jersey_number = 11</s>
CREATE TABLE table_name_19 (enrollment INTEGER, founded VARCHAR, joined_conference VARCHAR)
SELECT MIN(enrollment) FROM table_name_19 WHERE founded = "1992" AND joined_conference < 1998
What is the lowest enrolled school that was founded in 1992 and joined a conference before 1998?
<s>[INST]What is the lowest enrolled school that was founded in 1992 and joined a conference before 1998? Context: CREATE TABLE table_name_19 (enrollment INTEGER, founded VARCHAR, joined_conference VARCHAR)[/INST]SELECT MIN(enrollment) FROM table_name_19 WHERE founded = "1992" AND joined_conference < 1998</s>
CREATE TABLE table_name_85 (draws INTEGER, goal_differential VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT SUM(draws) FROM table_name_85 WHERE wins = 1 AND losses = 1 AND goal_differential = "+1"
How many draws have 1 win, 1 loss, and a Goal Differential of +1?
<s>[INST]How many draws have 1 win, 1 loss, and a Goal Differential of +1? Context: CREATE TABLE table_name_85 (draws INTEGER, goal_differential VARCHAR, wins VARCHAR, losses VARCHAR)[/INST]SELECT SUM(draws) FROM table_name_85 WHERE wins = 1 AND losses = 1 AND goal_differential = "+1"</s>