context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_5 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)
SELECT republican_ticket FROM table_name_5 WHERE american_labor_ticket = "matthew j. merritt"
Which Republican ran against the American Labor candidate Matthew J. Merritt?
<s>[INST]Which Republican ran against the American Labor candidate Matthew J. Merritt? Context: CREATE TABLE table_name_5 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)[/INST]SELECT republican_ticket FROM table_name_5 WHERE american_labor_ticket = "matthew j. merritt"</s>
CREATE TABLE table_name_28 (grid INTEGER, laps VARCHAR, team VARCHAR, points VARCHAR)
SELECT MIN(grid) FROM table_name_28 WHERE team = "pkv racing" AND points = 13 AND laps < 64
What is the lowest grid of pkv racing, which had 13 points and less than 64 laps?
<s>[INST]What is the lowest grid of pkv racing, which had 13 points and less than 64 laps? Context: CREATE TABLE table_name_28 (grid INTEGER, laps VARCHAR, team VARCHAR, points VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_28 WHERE team = "pkv racing" AND points = 13 AND laps < 64</s>
CREATE TABLE table_name_6 (grid VARCHAR, laps VARCHAR, time VARCHAR)
SELECT COUNT(grid) FROM table_name_6 WHERE laps = 14 AND time = "+29.483"
What is the total grid number that has 14 laps and a time of +29.483?
<s>[INST]What is the total grid number that has 14 laps and a time of +29.483? Context: CREATE TABLE table_name_6 (grid VARCHAR, laps VARCHAR, time VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_6 WHERE laps = 14 AND time = "+29.483"</s>
CREATE TABLE table_name_91 (school_club_team VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_91 WHERE nationality = "united states" AND player = "arron afflalo"
What is the School/Club Team with a nationality of United States for Arron Afflalo?
<s>[INST]What is the School/Club Team with a nationality of United States for Arron Afflalo? Context: CREATE TABLE table_name_91 (school_club_team VARCHAR, nationality VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_91 WHERE nationality = "united states" AND player = "arron afflalo"</s>
CREATE TABLE table_16734640_1 (nickname VARCHAR, institution VARCHAR)
SELECT COUNT(nickname) FROM table_16734640_1 WHERE institution = "Andrew College"
Name the total number of nicknames for andrew college
<s>[INST]Name the total number of nicknames for andrew college Context: CREATE TABLE table_16734640_1 (nickname VARCHAR, institution VARCHAR)[/INST]SELECT COUNT(nickname) FROM table_16734640_1 WHERE institution = "Andrew College"</s>
CREATE TABLE follows (Id VARCHAR)
SELECT COUNT(*) FROM follows
How many followers does each user have?
<s>[INST]How many followers does each user have? Context: CREATE TABLE follows (Id VARCHAR)[/INST]SELECT COUNT(*) FROM follows</s>
CREATE TABLE table_name_98 (notes VARCHAR, built VARCHAR)
SELECT notes FROM table_name_98 WHERE built = "1917"
What is the notes for the vehicle built in 1917?
<s>[INST]What is the notes for the vehicle built in 1917? Context: CREATE TABLE table_name_98 (notes VARCHAR, built VARCHAR)[/INST]SELECT notes FROM table_name_98 WHERE built = "1917"</s>
CREATE TABLE table_name_5 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_5 WHERE laps > 3 AND driver = "jarno trulli"
Which constructor had a laps number bigger than 3 when the driver was Jarno Trulli?
<s>[INST]Which constructor had a laps number bigger than 3 when the driver was Jarno Trulli? Context: CREATE TABLE table_name_5 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_5 WHERE laps > 3 AND driver = "jarno trulli"</s>
CREATE TABLE table_name_43 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_43 WHERE country = "australia"
What was the place ranking for the player from Australia?
<s>[INST]What was the place ranking for the player from Australia? Context: CREATE TABLE table_name_43 (place VARCHAR, country VARCHAR)[/INST]SELECT place FROM table_name_43 WHERE country = "australia"</s>
CREATE TABLE table_1965650_9 (nationality VARCHAR, college_junior_club_team VARCHAR)
SELECT COUNT(nationality) FROM table_1965650_9 WHERE college_junior_club_team = "Sault Ste. Marie Greyhounds (OHA)"
When sault ste. marie greyhounds (oha) is the college, junior, or club team how many nationalities are there?
<s>[INST]When sault ste. marie greyhounds (oha) is the college, junior, or club team how many nationalities are there? Context: CREATE TABLE table_1965650_9 (nationality VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT COUNT(nationality) FROM table_1965650_9 WHERE college_junior_club_team = "Sault Ste. Marie Greyhounds (OHA)"</s>
CREATE TABLE table_name_10 (release_date VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_10 WHERE title = "forward march hare"
What's the release date of Forward March Hare?
<s>[INST]What's the release date of Forward March Hare? Context: CREATE TABLE table_name_10 (release_date VARCHAR, title VARCHAR)[/INST]SELECT release_date FROM table_name_10 WHERE title = "forward march hare"</s>
CREATE TABLE table_name_86 (wins INTEGER, draws VARCHAR, goals_for VARCHAR)
SELECT AVG(wins) FROM table_name_86 WHERE draws < 4 AND goals_for < 15
What is the average win total associated with under 4 draws, and under 15 goals?
<s>[INST]What is the average win total associated with under 4 draws, and under 15 goals? Context: CREATE TABLE table_name_86 (wins INTEGER, draws VARCHAR, goals_for VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_86 WHERE draws < 4 AND goals_for < 15</s>
CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1341690_43 WHERE district = "Texas 1"
Name the candidates for texas 1
<s>[INST]Name the candidates for texas 1 Context: CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1341690_43 WHERE district = "Texas 1"</s>
CREATE TABLE table_22265261_1 (jockey VARCHAR, position VARCHAR)
SELECT jockey FROM table_22265261_1 WHERE position = "7th"
Who was the jockey in 7th position?
<s>[INST]Who was the jockey in 7th position? Context: CREATE TABLE table_22265261_1 (jockey VARCHAR, position VARCHAR)[/INST]SELECT jockey FROM table_22265261_1 WHERE position = "7th"</s>
CREATE TABLE region (region_name VARCHAR)
SELECT region_name FROM region ORDER BY region_name
List all region names in alphabetical order.
<s>[INST]List all region names in alphabetical order. Context: CREATE TABLE region (region_name VARCHAR)[/INST]SELECT region_name FROM region ORDER BY region_name</s>
CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, purity VARCHAR)
SELECT permanence_of_the_body FROM table_11609814_1 WHERE purity = "apprehension"
what's the permanence of the body where purity is apprehension
<s>[INST] what's the permanence of the body where purity is apprehension Context: CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, purity VARCHAR)[/INST]SELECT permanence_of_the_body FROM table_11609814_1 WHERE purity = "apprehension"</s>
CREATE TABLE table_15463188_16 (school_club_team VARCHAR, number VARCHAR)
SELECT school_club_team FROM table_15463188_16 WHERE number = "9"
Name the school/club team for 9
<s>[INST]Name the school/club team for 9 Context: CREATE TABLE table_15463188_16 (school_club_team VARCHAR, number VARCHAR)[/INST]SELECT school_club_team FROM table_15463188_16 WHERE number = "9"</s>
CREATE TABLE table_name_55 (player VARCHAR, team VARCHAR)
SELECT player FROM table_name_55 WHERE team = "oakland athletics"
WHAT PLAYER HAS THE OAKLAND ATHLETICS?
<s>[INST]WHAT PLAYER HAS THE OAKLAND ATHLETICS? Context: CREATE TABLE table_name_55 (player VARCHAR, team VARCHAR)[/INST]SELECT player FROM table_name_55 WHERE team = "oakland athletics"</s>
CREATE TABLE table_name_92 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT place FROM table_name_92 WHERE country = "united states" AND player = "jerry barber"
What place did Jerry Barber of the United States come in at?
<s>[INST]What place did Jerry Barber of the United States come in at? Context: CREATE TABLE table_name_92 (place VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_92 WHERE country = "united states" AND player = "jerry barber"</s>
CREATE TABLE table_1037590_1 (touchdowns INTEGER, completion__percentage VARCHAR)
SELECT MIN(touchdowns) FROM table_1037590_1 WHERE completion__percentage = "56.0"
How many touchdowns were scored in the year with a completion percentage of 56.0?
<s>[INST]How many touchdowns were scored in the year with a completion percentage of 56.0? Context: CREATE TABLE table_1037590_1 (touchdowns INTEGER, completion__percentage VARCHAR)[/INST]SELECT MIN(touchdowns) FROM table_1037590_1 WHERE completion__percentage = "56.0"</s>
CREATE TABLE table_name_32 (platform INTEGER, destination VARCHAR, frequency__per_hour_ VARCHAR, operator VARCHAR)
SELECT MAX(platform) FROM table_name_32 WHERE frequency__per_hour_ = 4 AND operator = "london overground" AND destination = "west croydon"
what is the highest platform number when the frequency (per hour) is 4, the operator is london overground and the destination is west croydon?
<s>[INST]what is the highest platform number when the frequency (per hour) is 4, the operator is london overground and the destination is west croydon? Context: CREATE TABLE table_name_32 (platform INTEGER, destination VARCHAR, frequency__per_hour_ VARCHAR, operator VARCHAR)[/INST]SELECT MAX(platform) FROM table_name_32 WHERE frequency__per_hour_ = 4 AND operator = "london overground" AND destination = "west croydon"</s>
CREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR)
SELECT city FROM table_name_42 WHERE airport = "toamasina airport"
what city is the toamasina airport in?
<s>[INST]what city is the toamasina airport in? Context: CREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR)[/INST]SELECT city FROM table_name_42 WHERE airport = "toamasina airport"</s>
CREATE TABLE table_name_2 (money___$__ VARCHAR, to_par VARCHAR)
SELECT money___$__ FROM table_name_2 WHERE to_par = "e"
What is the Money ($) amount of the Player with a To par of e?
<s>[INST]What is the Money ($) amount of the Player with a To par of e? Context: CREATE TABLE table_name_2 (money___$__ VARCHAR, to_par VARCHAR)[/INST]SELECT money___$__ FROM table_name_2 WHERE to_par = "e"</s>
CREATE TABLE table_1805191_6 (results VARCHAR, incumbent VARCHAR)
SELECT results FROM table_1805191_6 WHERE incumbent = "Grace Napolitano"
What were the result(s) of the election featuring grace napolitano as the incumbent?
<s>[INST]What were the result(s) of the election featuring grace napolitano as the incumbent? Context: CREATE TABLE table_1805191_6 (results VARCHAR, incumbent VARCHAR)[/INST]SELECT results FROM table_1805191_6 WHERE incumbent = "Grace Napolitano"</s>
CREATE TABLE table_name_74 (frequency_mhz VARCHAR, city_of_license VARCHAR)
SELECT frequency_mhz FROM table_name_74 WHERE city_of_license = "walterboro, sc"
What is the frequency of Walterboro, SC?
<s>[INST]What is the frequency of Walterboro, SC? Context: CREATE TABLE table_name_74 (frequency_mhz VARCHAR, city_of_license VARCHAR)[/INST]SELECT frequency_mhz FROM table_name_74 WHERE city_of_license = "walterboro, sc"</s>
CREATE TABLE table_name_16 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_16 WHERE score = 67
What is the Place of the Player with a Score of 67?
<s>[INST]What is the Place of the Player with a Score of 67? Context: CREATE TABLE table_name_16 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_16 WHERE score = 67</s>
CREATE TABLE table_name_66 (road_numbers VARCHAR, class VARCHAR)
SELECT road_numbers FROM table_name_66 WHERE class = "z-7"
what is the road numbers when the class is z-7?
<s>[INST]what is the road numbers when the class is z-7? Context: CREATE TABLE table_name_66 (road_numbers VARCHAR, class VARCHAR)[/INST]SELECT road_numbers FROM table_name_66 WHERE class = "z-7"</s>
CREATE TABLE table_name_14 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT AVG(week) FROM table_name_14 WHERE opponent = "philadelphia eagles" AND attendance < 31 OFFSET 066
What was the average week for the gaime against the philadelphia eagles with less than 31,066 in attendance?
<s>[INST]What was the average week for the gaime against the philadelphia eagles with less than 31,066 in attendance? Context: CREATE TABLE table_name_14 (week INTEGER, opponent VARCHAR, attendance VARCHAR)[/INST]SELECT AVG(week) FROM table_name_14 WHERE opponent = "philadelphia eagles" AND attendance < 31 OFFSET 066</s>
CREATE TABLE table_name_56 (colonized VARCHAR, school VARCHAR)
SELECT colonized FROM table_name_56 WHERE school = "shippensburg university"
When was shippensburg university Colonized?
<s>[INST]When was shippensburg university Colonized? Context: CREATE TABLE table_name_56 (colonized VARCHAR, school VARCHAR)[/INST]SELECT colonized FROM table_name_56 WHERE school = "shippensburg university"</s>
CREATE TABLE table_name_94 (col__m_ INTEGER, prominence__m_ VARCHAR)
SELECT MAX(col__m_) FROM table_name_94 WHERE prominence__m_ = 3 OFFSET 046
What is the maximum Col (m) when 3,046 is the Prominence (m)?
<s>[INST]What is the maximum Col (m) when 3,046 is the Prominence (m)? Context: CREATE TABLE table_name_94 (col__m_ INTEGER, prominence__m_ VARCHAR)[/INST]SELECT MAX(col__m_) FROM table_name_94 WHERE prominence__m_ = 3 OFFSET 046</s>
CREATE TABLE table_27409644_1 (manager VARCHAR, club VARCHAR)
SELECT manager FROM table_27409644_1 WHERE club = "Lootos Põlva"
Who is the manager for lootos põlva?
<s>[INST]Who is the manager for lootos põlva? Context: CREATE TABLE table_27409644_1 (manager VARCHAR, club VARCHAR)[/INST]SELECT manager FROM table_27409644_1 WHERE club = "Lootos Põlva"</s>
CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_12 WHERE home_team = "wimbledon"
What is the Tie no when Wimbledon is the home team?
<s>[INST]What is the Tie no when Wimbledon is the home team? Context: CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_12 WHERE home_team = "wimbledon"</s>
CREATE TABLE table_27383390_2 (team VARCHAR, head_coach VARCHAR)
SELECT team FROM table_27383390_2 WHERE head_coach = "Ali Daei"
Which team has Ali Daei as head coach?
<s>[INST]Which team has Ali Daei as head coach? Context: CREATE TABLE table_27383390_2 (team VARCHAR, head_coach VARCHAR)[/INST]SELECT team FROM table_27383390_2 WHERE head_coach = "Ali Daei"</s>
CREATE TABLE table_name_38 (draws INTEGER, byes INTEGER)
SELECT MIN(draws) FROM table_name_38 WHERE byes < 1
For the teams that had fewer than 1 Byes, what was the lowest number of Draws?
<s>[INST]For the teams that had fewer than 1 Byes, what was the lowest number of Draws? Context: CREATE TABLE table_name_38 (draws INTEGER, byes INTEGER)[/INST]SELECT MIN(draws) FROM table_name_38 WHERE byes < 1</s>
CREATE TABLE table_1341423_32 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_1341423_32 WHERE incumbent = "John McHugh"
Name the first election for john mchugh
<s>[INST]Name the first election for john mchugh Context: CREATE TABLE table_1341423_32 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1341423_32 WHERE incumbent = "John McHugh"</s>
CREATE TABLE table_name_69 (col__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR)
SELECT MIN(col__m_) FROM table_name_69 WHERE peak = "gerlachovský štít" AND elevation__m_ > 2 OFFSET 655
Whta is the lowest col in m of gerlachovský štít peak, which has an elevation greater than 2,655 m?
<s>[INST]Whta is the lowest col in m of gerlachovský štít peak, which has an elevation greater than 2,655 m? Context: CREATE TABLE table_name_69 (col__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR)[/INST]SELECT MIN(col__m_) FROM table_name_69 WHERE peak = "gerlachovský štít" AND elevation__m_ > 2 OFFSET 655</s>
CREATE TABLE table_2076533_1 (main_location VARCHAR, control VARCHAR, type VARCHAR)
SELECT main_location FROM table_2076533_1 WHERE control = "Public" AND type = "Masters university"
Name the main location for public and masters university
<s>[INST]Name the main location for public and masters university Context: CREATE TABLE table_2076533_1 (main_location VARCHAR, control VARCHAR, type VARCHAR)[/INST]SELECT main_location FROM table_2076533_1 WHERE control = "Public" AND type = "Masters university"</s>
CREATE TABLE table_name_30 (first VARCHAR, dob VARCHAR)
SELECT first FROM table_name_30 WHERE dob = "5 february 1979"
Which first was born on 5 february 1979?
<s>[INST]Which first was born on 5 february 1979? Context: CREATE TABLE table_name_30 (first VARCHAR, dob VARCHAR)[/INST]SELECT first FROM table_name_30 WHERE dob = "5 february 1979"</s>
CREATE TABLE table_1420954_1 (book_title VARCHAR, artist_s_ VARCHAR)
SELECT book_title FROM table_1420954_1 WHERE artist_s_ = "Timothy Truman"
timothy truman worked on what books
<s>[INST]timothy truman worked on what books Context: CREATE TABLE table_1420954_1 (book_title VARCHAR, artist_s_ VARCHAR)[/INST]SELECT book_title FROM table_1420954_1 WHERE artist_s_ = "Timothy Truman"</s>
CREATE TABLE table_13337302_16 (innings VARCHAR, catches VARCHAR, stumpings VARCHAR)
SELECT COUNT(innings) FROM table_13337302_16 WHERE catches = 2 AND stumpings = 0
How many innings had a total of 2 catches and 0 stumpings?
<s>[INST]How many innings had a total of 2 catches and 0 stumpings? Context: CREATE TABLE table_13337302_16 (innings VARCHAR, catches VARCHAR, stumpings VARCHAR)[/INST]SELECT COUNT(innings) FROM table_13337302_16 WHERE catches = 2 AND stumpings = 0</s>
CREATE TABLE table_name_27 (opponent VARCHAR, attendance INTEGER)
SELECT opponent FROM table_name_27 WHERE attendance > 54 OFFSET 766
who was the opponent when the attendance was larger than 54,766?
<s>[INST]who was the opponent when the attendance was larger than 54,766? Context: CREATE TABLE table_name_27 (opponent VARCHAR, attendance INTEGER)[/INST]SELECT opponent FROM table_name_27 WHERE attendance > 54 OFFSET 766</s>
CREATE TABLE table_17798093_20 (examples VARCHAR, australian VARCHAR)
SELECT examples FROM table_17798093_20 WHERE australian = "et"
which examples are pronounced et in australian
<s>[INST]which examples are pronounced et in australian Context: CREATE TABLE table_17798093_20 (examples VARCHAR, australian VARCHAR)[/INST]SELECT examples FROM table_17798093_20 WHERE australian = "et"</s>
CREATE TABLE table_name_12 (team VARCHAR, shirt_sponsor VARCHAR)
SELECT team AS Captain FROM table_name_12 WHERE shirt_sponsor = "krombacher"
For the team whose shirt sponsor is Krombacher, who is the team captain?
<s>[INST]For the team whose shirt sponsor is Krombacher, who is the team captain? Context: CREATE TABLE table_name_12 (team VARCHAR, shirt_sponsor VARCHAR)[/INST]SELECT team AS Captain FROM table_name_12 WHERE shirt_sponsor = "krombacher"</s>
CREATE TABLE table_name_91 (game INTEGER, score VARCHAR)
SELECT SUM(game) FROM table_name_91 WHERE score = "103–126"
What is the sum for the game with a score of 103–126?
<s>[INST]What is the sum for the game with a score of 103–126? Context: CREATE TABLE table_name_91 (game INTEGER, score VARCHAR)[/INST]SELECT SUM(game) FROM table_name_91 WHERE score = "103–126"</s>
CREATE TABLE table_name_42 (height VARCHAR, name VARCHAR)
SELECT height FROM table_name_42 WHERE name = "trevard lindley"
What is Trevard Lindley's height?
<s>[INST]What is Trevard Lindley's height? Context: CREATE TABLE table_name_42 (height VARCHAR, name VARCHAR)[/INST]SELECT height FROM table_name_42 WHERE name = "trevard lindley"</s>
CREATE TABLE table_name_95 (year INTEGER, round VARCHAR, winner VARCHAR)
SELECT SUM(year) FROM table_name_95 WHERE winner = "ivanovic" AND "ivanovic" > 4 AND round = "r16"
What year did Ivanovic win with Ivanovic greater than 4 and round of R16?
<s>[INST]What year did Ivanovic win with Ivanovic greater than 4 and round of R16? Context: CREATE TABLE table_name_95 (year INTEGER, round VARCHAR, winner VARCHAR)[/INST]SELECT SUM(year) FROM table_name_95 WHERE winner = "ivanovic" AND "ivanovic" > 4 AND round = "r16"</s>
CREATE TABLE table_name_82 (time INTEGER, lane VARCHAR, nationality VARCHAR)
SELECT SUM(time) FROM table_name_82 WHERE lane < 5 AND nationality = "united states"
What is the time with fewer than 5 lanes for the United States?
<s>[INST]What is the time with fewer than 5 lanes for the United States? Context: CREATE TABLE table_name_82 (time INTEGER, lane VARCHAR, nationality VARCHAR)[/INST]SELECT SUM(time) FROM table_name_82 WHERE lane < 5 AND nationality = "united states"</s>
CREATE TABLE table_name_27 (school VARCHAR, enrollment VARCHAR, ihsaa_football_class VARCHAR)
SELECT school FROM table_name_27 WHERE enrollment > 533 AND ihsaa_football_class = "aa"
What school has more than 533 enrolled and is an IHSAA Football Class of aa?
<s>[INST]What school has more than 533 enrolled and is an IHSAA Football Class of aa? Context: CREATE TABLE table_name_27 (school VARCHAR, enrollment VARCHAR, ihsaa_football_class VARCHAR)[/INST]SELECT school FROM table_name_27 WHERE enrollment > 533 AND ihsaa_football_class = "aa"</s>
CREATE TABLE table_name_18 (opponents_in_the_final VARCHAR, score VARCHAR)
SELECT opponents_in_the_final FROM table_name_18 WHERE score = "4–6, 6–4, 2–6, 4–6"
Which Opponents in the final have a Score of 4–6, 6–4, 2–6, 4–6?
<s>[INST]Which Opponents in the final have a Score of 4–6, 6–4, 2–6, 4–6? Context: CREATE TABLE table_name_18 (opponents_in_the_final VARCHAR, score VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_18 WHERE score = "4–6, 6–4, 2–6, 4–6"</s>
CREATE TABLE table_name_41 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_41 WHERE opponent_in_the_final = "kenneth carlsen"
What is the Date of the match with Opponent in the final Kenneth Carlsen?
<s>[INST]What is the Date of the match with Opponent in the final Kenneth Carlsen? Context: CREATE TABLE table_name_41 (date VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_41 WHERE opponent_in_the_final = "kenneth carlsen"</s>
CREATE TABLE table_name_50 (super_g VARCHAR, overall VARCHAR)
SELECT super_g FROM table_name_50 WHERE overall = "missed season due to injury"
Which Super Ghas a missed season due to injury?
<s>[INST]Which Super Ghas a missed season due to injury? Context: CREATE TABLE table_name_50 (super_g VARCHAR, overall VARCHAR)[/INST]SELECT super_g FROM table_name_50 WHERE overall = "missed season due to injury"</s>
CREATE TABLE table_name_93 (points INTEGER, engine VARCHAR, chassis VARCHAR)
SELECT AVG(points) FROM table_name_93 WHERE engine = "offenhauser l4" AND chassis = "trevis"
What is the average number of points for an Offenhauser L4 engine with a Trevis chassis?
<s>[INST]What is the average number of points for an Offenhauser L4 engine with a Trevis chassis? Context: CREATE TABLE table_name_93 (points INTEGER, engine VARCHAR, chassis VARCHAR)[/INST]SELECT AVG(points) FROM table_name_93 WHERE engine = "offenhauser l4" AND chassis = "trevis"</s>
CREATE TABLE table_name_57 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_57 WHERE week = 12
what's the results of week 12?
<s>[INST]what's the results of week 12? Context: CREATE TABLE table_name_57 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_57 WHERE week = 12</s>
CREATE TABLE table_name_4 (overall INTEGER, position VARCHAR, round VARCHAR)
SELECT AVG(overall) FROM table_name_4 WHERE position = "guard" AND round < 9
What was the overall pick for the player who was a guard and had a round less than 9?
<s>[INST]What was the overall pick for the player who was a guard and had a round less than 9? Context: CREATE TABLE table_name_4 (overall INTEGER, position VARCHAR, round VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_4 WHERE position = "guard" AND round < 9</s>
CREATE TABLE table_name_4 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_4 WHERE loss = "aker (3–8)"
What date was the game with loss of Aker (3–8)?
<s>[INST]What date was the game with loss of Aker (3–8)? Context: CREATE TABLE table_name_4 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_4 WHERE loss = "aker (3–8)"</s>
CREATE TABLE table_name_77 (dcsf_number INTEGER, name VARCHAR, ofsted_number VARCHAR)
SELECT MIN(dcsf_number) FROM table_name_77 WHERE name = "aycliffe drive" AND ofsted_number < 117335
What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 117335?
<s>[INST]What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 117335? Context: CREATE TABLE table_name_77 (dcsf_number INTEGER, name VARCHAR, ofsted_number VARCHAR)[/INST]SELECT MIN(dcsf_number) FROM table_name_77 WHERE name = "aycliffe drive" AND ofsted_number < 117335</s>
CREATE TABLE table_name_16 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_16 WHERE time_retired = "accident" AND laps < 18
When a race had less than 18 laps and time/retired of accident, what was the smallest grid?
<s>[INST]When a race had less than 18 laps and time/retired of accident, what was the smallest grid? Context: CREATE TABLE table_name_16 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_16 WHERE time_retired = "accident" AND laps < 18</s>
CREATE TABLE table_name_4 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT AVG(laps) FROM table_name_4 WHERE driver = "peter gethin" AND grid < 25
When the driver peter gethin has a grid less than 25, what is the average number of laps?
<s>[INST]When the driver peter gethin has a grid less than 25, what is the average number of laps? Context: CREATE TABLE table_name_4 (laps INTEGER, driver VARCHAR, grid VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_4 WHERE driver = "peter gethin" AND grid < 25</s>
CREATE TABLE table_name_18 (total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT COUNT(total) FROM table_name_18 WHERE silver = 1 AND rank < 2
How many medals were won total for the country that won 1 silver and was ranked 2 or lower?
<s>[INST]How many medals were won total for the country that won 1 silver and was ranked 2 or lower? Context: CREATE TABLE table_name_18 (total VARCHAR, silver VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_18 WHERE silver = 1 AND rank < 2</s>
CREATE TABLE table_2668374_13 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_2668374_13 WHERE incumbent = "John Smilie"
What district had an election with incumbent john smilie?
<s>[INST]What district had an election with incumbent john smilie? Context: CREATE TABLE table_2668374_13 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_2668374_13 WHERE incumbent = "John Smilie"</s>
CREATE TABLE table_24160890_3 (conference VARCHAR, tournament_winner VARCHAR)
SELECT COUNT(conference) FROM table_24160890_3 WHERE tournament_winner = "Western Michigan"
When western michigan is the tournament winner how many conferences are there?
<s>[INST]When western michigan is the tournament winner how many conferences are there? Context: CREATE TABLE table_24160890_3 (conference VARCHAR, tournament_winner VARCHAR)[/INST]SELECT COUNT(conference) FROM table_24160890_3 WHERE tournament_winner = "Western Michigan"</s>
CREATE TABLE table_name_88 (mac_os_x VARCHAR, android VARCHAR, linux VARCHAR, amigaos VARCHAR)
SELECT mac_os_x FROM table_name_88 WHERE linux = "no" AND amigaos = "no" AND android = "unknown"
Which Mac OS X has a Linux of no, and an AmigaOS of no, and an Android of unknown?
<s>[INST]Which Mac OS X has a Linux of no, and an AmigaOS of no, and an Android of unknown? Context: CREATE TABLE table_name_88 (mac_os_x VARCHAR, android VARCHAR, linux VARCHAR, amigaos VARCHAR)[/INST]SELECT mac_os_x FROM table_name_88 WHERE linux = "no" AND amigaos = "no" AND android = "unknown"</s>
CREATE TABLE table_name_75 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)
SELECT condition FROM table_name_75 WHERE bleeding_time = "unaffected" AND prothrombin_time = "prolonged"
Which Condition has a Bleeding time of unaffected and a Prothrombin time of prolonged?
<s>[INST]Which Condition has a Bleeding time of unaffected and a Prothrombin time of prolonged? Context: CREATE TABLE table_name_75 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)[/INST]SELECT condition FROM table_name_75 WHERE bleeding_time = "unaffected" AND prothrombin_time = "prolonged"</s>
CREATE TABLE manufacturers (name VARCHAR, headquarter VARCHAR, revenue VARCHAR)
SELECT name, headquarter, revenue FROM manufacturers ORDER BY revenue DESC
Find the name, headquarter and revenue of all manufacturers sorted by their revenue in the descending order.
<s>[INST]Find the name, headquarter and revenue of all manufacturers sorted by their revenue in the descending order. Context: CREATE TABLE manufacturers (name VARCHAR, headquarter VARCHAR, revenue VARCHAR)[/INST]SELECT name, headquarter, revenue FROM manufacturers ORDER BY revenue DESC</s>
CREATE TABLE table_14941284_1 (week VARCHAR, attendance VARCHAR)
SELECT week FROM table_14941284_1 WHERE attendance = 74804
When 74804 is the attendance what week is it?
<s>[INST]When 74804 is the attendance what week is it? Context: CREATE TABLE table_14941284_1 (week VARCHAR, attendance VARCHAR)[/INST]SELECT week FROM table_14941284_1 WHERE attendance = 74804</s>
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_90 WHERE away_team = "adelaide"
What is the home team score of the game with Adelaide as the away team?
<s>[INST]What is the home team score of the game with Adelaide as the away team? Context: CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_90 WHERE away_team = "adelaide"</s>
CREATE TABLE table_name_11 (time_elapsed VARCHAR, destination VARCHAR, closest_approach VARCHAR)
SELECT time_elapsed FROM table_name_11 WHERE destination = "jupiter" AND closest_approach = "4 february 2004"
With the Destination of Jupiter and the Closest approach of 4 February 2004, what is the Time elapsed?
<s>[INST]With the Destination of Jupiter and the Closest approach of 4 February 2004, what is the Time elapsed? Context: CREATE TABLE table_name_11 (time_elapsed VARCHAR, destination VARCHAR, closest_approach VARCHAR)[/INST]SELECT time_elapsed FROM table_name_11 WHERE destination = "jupiter" AND closest_approach = "4 february 2004"</s>
CREATE TABLE table_22705586_1 (name VARCHAR, date_of_birth VARCHAR)
SELECT name FROM table_22705586_1 WHERE date_of_birth = "27/07/86"
Name the date of birth for 27/07/86
<s>[INST]Name the date of birth for 27/07/86 Context: CREATE TABLE table_22705586_1 (name VARCHAR, date_of_birth VARCHAR)[/INST]SELECT name FROM table_22705586_1 WHERE date_of_birth = "27/07/86"</s>
CREATE TABLE table_name_64 (ihsaa_class VARCHAR, school VARCHAR)
SELECT ihsaa_class FROM table_name_64 WHERE school = "international"
What is the ISHAA class for the International School?
<s>[INST]What is the ISHAA class for the International School? Context: CREATE TABLE table_name_64 (ihsaa_class VARCHAR, school VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_64 WHERE school = "international"</s>
CREATE TABLE table_name_10 (silver VARCHAR, bronze INTEGER)
SELECT COUNT(silver) FROM table_name_10 WHERE bronze < 0
What is the number of silver when bronze is less than 0?
<s>[INST]What is the number of silver when bronze is less than 0? Context: CREATE TABLE table_name_10 (silver VARCHAR, bronze INTEGER)[/INST]SELECT COUNT(silver) FROM table_name_10 WHERE bronze < 0</s>
CREATE TABLE table_name_98 (position VARCHAR, series VARCHAR, season VARCHAR)
SELECT position FROM table_name_98 WHERE series = "macau grand prix" AND season < 2007
What is the value for Position, when the Series is the Macau Grand Prix, and when the Season is before 2007?
<s>[INST]What is the value for Position, when the Series is the Macau Grand Prix, and when the Season is before 2007? Context: CREATE TABLE table_name_98 (position VARCHAR, series VARCHAR, season VARCHAR)[/INST]SELECT position FROM table_name_98 WHERE series = "macau grand prix" AND season < 2007</s>
CREATE TABLE table_name_60 (cash_on_hand VARCHAR, after_debt VARCHAR)
SELECT cash_on_hand FROM table_name_60 WHERE after_debt = "$327,094"
What is the amount of cash on hand that has an after debt of $327,094
<s>[INST]What is the amount of cash on hand that has an after debt of $327,094 Context: CREATE TABLE table_name_60 (cash_on_hand VARCHAR, after_debt VARCHAR)[/INST]SELECT cash_on_hand FROM table_name_60 WHERE after_debt = "$327,094"</s>
CREATE TABLE table_26916717_1 (height VARCHAR, home_town VARCHAR)
SELECT height FROM table_26916717_1 WHERE home_town = "Farmington, KY"
How tall is the player from farmington, ky?
<s>[INST]How tall is the player from farmington, ky? Context: CREATE TABLE table_26916717_1 (height VARCHAR, home_town VARCHAR)[/INST]SELECT height FROM table_26916717_1 WHERE home_town = "Farmington, KY"</s>
CREATE TABLE table_name_33 (floors INTEGER, rank VARCHAR, building VARCHAR)
SELECT MIN(floors) FROM table_name_33 WHERE rank > 1 AND building = "the trillium (residential)"
What is the lowest amount of floors after rank 1 in the Trillium (residential) building?
<s>[INST]What is the lowest amount of floors after rank 1 in the Trillium (residential) building? Context: CREATE TABLE table_name_33 (floors INTEGER, rank VARCHAR, building VARCHAR)[/INST]SELECT MIN(floors) FROM table_name_33 WHERE rank > 1 AND building = "the trillium (residential)"</s>
CREATE TABLE table_name_79 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_79 WHERE grid = "6"
Which driver's grid is 6?
<s>[INST]Which driver's grid is 6? Context: CREATE TABLE table_name_79 (driver VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_79 WHERE grid = "6"</s>
CREATE TABLE table_name_31 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_31 WHERE name = "norris"
What is the status of Norris?
<s>[INST]What is the status of Norris? Context: CREATE TABLE table_name_31 (status VARCHAR, name VARCHAR)[/INST]SELECT status FROM table_name_31 WHERE name = "norris"</s>
CREATE TABLE table_name_53 (game VARCHAR, date VARCHAR)
SELECT game FROM table_name_53 WHERE date = "march 19"
What was the number of game that was played on March 19?
<s>[INST]What was the number of game that was played on March 19? Context: CREATE TABLE table_name_53 (game VARCHAR, date VARCHAR)[/INST]SELECT game FROM table_name_53 WHERE date = "march 19"</s>
CREATE TABLE table_name_48 (date VARCHAR, silbert VARCHAR)
SELECT date FROM table_name_48 WHERE silbert = "10.0%"
What is the date of the poll with Silbert at 10.0%?
<s>[INST]What is the date of the poll with Silbert at 10.0%? Context: CREATE TABLE table_name_48 (date VARCHAR, silbert VARCHAR)[/INST]SELECT date FROM table_name_48 WHERE silbert = "10.0%"</s>
CREATE TABLE table_name_55 (college VARCHAR, overall VARCHAR, name VARCHAR)
SELECT college FROM table_name_55 WHERE overall > 102 AND name = "keenan robinson"
what is the college for keenan robinson when overall is more than 102?
<s>[INST]what is the college for keenan robinson when overall is more than 102? Context: CREATE TABLE table_name_55 (college VARCHAR, overall VARCHAR, name VARCHAR)[/INST]SELECT college FROM table_name_55 WHERE overall > 102 AND name = "keenan robinson"</s>
CREATE TABLE table_name_82 (pick__number VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR)
SELECT pick__number FROM table_name_82 WHERE round < 7 AND overall < 127 AND name = "robert alford"
Which pick number had a round of less than 7, an overall of less than 127, and where the name was Robert Alford?
<s>[INST]Which pick number had a round of less than 7, an overall of less than 127, and where the name was Robert Alford? Context: CREATE TABLE table_name_82 (pick__number VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR)[/INST]SELECT pick__number FROM table_name_82 WHERE round < 7 AND overall < 127 AND name = "robert alford"</s>
CREATE TABLE table_name_61 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_61 WHERE opponent = "philadelphia eagles"
What is the date of the game against Philadelphia Eagles?
<s>[INST]What is the date of the game against Philadelphia Eagles? Context: CREATE TABLE table_name_61 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_61 WHERE opponent = "philadelphia eagles"</s>
CREATE TABLE table_name_94 (saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR)
SELECT saturated_fat FROM table_name_94 WHERE total_fat = "100g" AND polyunsaturated_fat = "11g"
What is the saturated fat with a total fat of 100g and 11g of polyunsaturated fat?
<s>[INST]What is the saturated fat with a total fat of 100g and 11g of polyunsaturated fat? Context: CREATE TABLE table_name_94 (saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR)[/INST]SELECT saturated_fat FROM table_name_94 WHERE total_fat = "100g" AND polyunsaturated_fat = "11g"</s>
CREATE TABLE table_name_52 (year_made VARCHAR, class VARCHAR)
SELECT year_made FROM table_name_52 WHERE class = "hercules"
Name the year for hercules
<s>[INST]Name the year for hercules Context: CREATE TABLE table_name_52 (year_made VARCHAR, class VARCHAR)[/INST]SELECT year_made FROM table_name_52 WHERE class = "hercules"</s>
CREATE TABLE table_name_40 (gamerankings VARCHAR, metacritic VARCHAR, year_released VARCHAR)
SELECT gamerankings FROM table_name_40 WHERE metacritic = "83/100" AND year_released = 2011
What is the GameRankings Released of 2011 with a Metacritic of 83/100?
<s>[INST]What is the GameRankings Released of 2011 with a Metacritic of 83/100? Context: CREATE TABLE table_name_40 (gamerankings VARCHAR, metacritic VARCHAR, year_released VARCHAR)[/INST]SELECT gamerankings FROM table_name_40 WHERE metacritic = "83/100" AND year_released = 2011</s>
CREATE TABLE table_name_25 (stepping VARCHAR, release_date VARCHAR)
SELECT stepping FROM table_name_25 WHERE release_date = "june 5, 2007"
What is the stepping for the processor released June 5, 2007?
<s>[INST]What is the stepping for the processor released June 5, 2007? Context: CREATE TABLE table_name_25 (stepping VARCHAR, release_date VARCHAR)[/INST]SELECT stepping FROM table_name_25 WHERE release_date = "june 5, 2007"</s>
CREATE TABLE table_27913160_3 (driver VARCHAR, round VARCHAR)
SELECT driver FROM table_27913160_3 WHERE round = 4
Who was the driver in round 4?
<s>[INST]Who was the driver in round 4? Context: CREATE TABLE table_27913160_3 (driver VARCHAR, round VARCHAR)[/INST]SELECT driver FROM table_27913160_3 WHERE round = 4</s>
CREATE TABLE table_27994983_8 (juries INTEGER, draw VARCHAR)
SELECT MAX(juries) FROM table_27994983_8 WHERE draw = 3
How many juries are there when the draw is 3?
<s>[INST]How many juries are there when the draw is 3? Context: CREATE TABLE table_27994983_8 (juries INTEGER, draw VARCHAR)[/INST]SELECT MAX(juries) FROM table_27994983_8 WHERE draw = 3</s>
CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR)
SELECT COUNT(rank) FROM table_name_46 WHERE name = "ku hyo-jin"
What did Ku Hyo-Jin rank?
<s>[INST]What did Ku Hyo-Jin rank? Context: CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_46 WHERE name = "ku hyo-jin"</s>
CREATE TABLE table_name_79 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_79 WHERE away_team = "fulham"
Which Tie number had Fulham as the away team?
<s>[INST]Which Tie number had Fulham as the away team? Context: CREATE TABLE table_name_79 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_79 WHERE away_team = "fulham"</s>
CREATE TABLE table_name_74 (attack VARCHAR, gerb VARCHAR)
SELECT attack FROM table_name_74 WHERE gerb = "30,00%"
What Attack has a 30,00% GERB?
<s>[INST]What Attack has a 30,00% GERB? Context: CREATE TABLE table_name_74 (attack VARCHAR, gerb VARCHAR)[/INST]SELECT attack FROM table_name_74 WHERE gerb = "30,00%"</s>
CREATE TABLE table_name_33 (date VARCHAR, location VARCHAR)
SELECT date FROM table_name_33 WHERE location = "arrowhead stadium"
What is the date of the game at Arrowhead Stadium?
<s>[INST]What is the date of the game at Arrowhead Stadium? Context: CREATE TABLE table_name_33 (date VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE location = "arrowhead stadium"</s>
CREATE TABLE table_name_21 (money___ INTEGER, score VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_21 WHERE score = 71 - 74 - 69 - 72 = 286
what is the most money ($) when the score is 71-74-69-72=286?
<s>[INST]what is the most money ($) when the score is 71-74-69-72=286? Context: CREATE TABLE table_name_21 (money___ INTEGER, score VARCHAR)[/INST]SELECT MAX(money___) AS $__ FROM table_name_21 WHERE score = 71 - 74 - 69 - 72 = 286</s>
CREATE TABLE table_10408617_5 (approx_premium VARCHAR, tariff_code VARCHAR)
SELECT approx_premium FROM table_10408617_5 WHERE tariff_code = "g9"
What is the premium associated with tariff code g9?
<s>[INST]What is the premium associated with tariff code g9? Context: CREATE TABLE table_10408617_5 (approx_premium VARCHAR, tariff_code VARCHAR)[/INST]SELECT approx_premium FROM table_10408617_5 WHERE tariff_code = "g9"</s>
CREATE TABLE table_name_21 (plant_patent_number VARCHAR)
SELECT plant_patent_number FROM table_name_21 WHERE "inventor" = "fukuda"
What's the patent number of Fukuda?
<s>[INST]What's the patent number of Fukuda? Context: CREATE TABLE table_name_21 (plant_patent_number VARCHAR)[/INST]SELECT plant_patent_number FROM table_name_21 WHERE "inventor" = "fukuda"</s>
CREATE TABLE table_name_28 (to_par VARCHAR, player VARCHAR, total VARCHAR)
SELECT COUNT(to_par) FROM table_name_28 WHERE player = "julius boros" AND total > 295
What is the total number of To Par, when Player is "Julius Boros", and when Total is greater than 295?
<s>[INST]What is the total number of To Par, when Player is "Julius Boros", and when Total is greater than 295? Context: CREATE TABLE table_name_28 (to_par VARCHAR, player VARCHAR, total VARCHAR)[/INST]SELECT COUNT(to_par) FROM table_name_28 WHERE player = "julius boros" AND total > 295</s>
CREATE TABLE table_22546460_4 (best_male_lyricist VARCHAR, best_male_record VARCHAR)
SELECT best_male_lyricist FROM table_22546460_4 WHERE best_male_record = "Neshia Nee"
Who was the Best Male Lyricist if Neshia Nee won the Best Male Record?
<s>[INST]Who was the Best Male Lyricist if Neshia Nee won the Best Male Record? Context: CREATE TABLE table_22546460_4 (best_male_lyricist VARCHAR, best_male_record VARCHAR)[/INST]SELECT best_male_lyricist FROM table_22546460_4 WHERE best_male_record = "Neshia Nee"</s>
CREATE TABLE table_1341897_45 (incumbent VARCHAR, first_elected VARCHAR)
SELECT incumbent FROM table_1341897_45 WHERE first_elected = 1936
Which incumbent was first elected in 1936?
<s>[INST]Which incumbent was first elected in 1936? Context: CREATE TABLE table_1341897_45 (incumbent VARCHAR, first_elected VARCHAR)[/INST]SELECT incumbent FROM table_1341897_45 WHERE first_elected = 1936</s>
CREATE TABLE table_name_59 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_59 WHERE player = "larry mcmorran"
What nationality is Larry McMorran?
<s>[INST]What nationality is Larry McMorran? Context: CREATE TABLE table_name_59 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_59 WHERE player = "larry mcmorran"</s>
CREATE TABLE table_name_18 (round__number INTEGER, pick__number VARCHAR, position VARCHAR, college VARCHAR)
SELECT AVG(round__number) FROM table_name_18 WHERE position = "wide receiver" AND college = "clark university" AND pick__number > 166
What is the average round number with wide receiver as position and Clark University as the college and the pick number is bigger than 166?
<s>[INST]What is the average round number with wide receiver as position and Clark University as the college and the pick number is bigger than 166? Context: CREATE TABLE table_name_18 (round__number INTEGER, pick__number VARCHAR, position VARCHAR, college VARCHAR)[/INST]SELECT AVG(round__number) FROM table_name_18 WHERE position = "wide receiver" AND college = "clark university" AND pick__number > 166</s>
CREATE TABLE table_name_31 (status VARCHAR, artist VARCHAR)
SELECT status FROM table_name_31 WHERE artist = "neil sedaka"
What is the status when the artist is Neil Sedaka?
<s>[INST]What is the status when the artist is Neil Sedaka? Context: CREATE TABLE table_name_31 (status VARCHAR, artist VARCHAR)[/INST]SELECT status FROM table_name_31 WHERE artist = "neil sedaka"</s>