context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE weather (date VARCHAR, EVENTS VARCHAR, zip_code VARCHAR)
SELECT date FROM weather WHERE zip_code = 94107 AND EVENTS <> "Fog" AND EVENTS <> "Rain"
In zip code 94107, on which day neither Fog nor Rain was not observed?
<s>[INST]In zip code 94107, on which day neither Fog nor Rain was not observed? Context: CREATE TABLE weather (date VARCHAR, EVENTS VARCHAR, zip_code VARCHAR)[/INST]SELECT date FROM weather WHERE zip_code = 94107 AND EVENTS <> "Fog" AND EVENTS <> "Rain"</s>
CREATE TABLE table_name_94 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_94 WHERE player = "david toms"
what country hosted david toms
<s>[INST]what country hosted david toms Context: CREATE TABLE table_name_94 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_94 WHERE player = "david toms"</s>
CREATE TABLE table_name_84 (player VARCHAR, round VARCHAR, college VARCHAR)
SELECT player FROM table_name_84 WHERE round < 7 AND college = "arizona state"
Who is the player from Arizona state with a round less than 7?
<s>[INST]Who is the player from Arizona state with a round less than 7? Context: CREATE TABLE table_name_84 (player VARCHAR, round VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_84 WHERE round < 7 AND college = "arizona state"</s>
CREATE TABLE table_name_66 (teams VARCHAR, season VARCHAR)
SELECT teams FROM table_name_66 WHERE season = "2009-10"
What team has a season of 2009-10?
<s>[INST]What team has a season of 2009-10? Context: CREATE TABLE table_name_66 (teams VARCHAR, season VARCHAR)[/INST]SELECT teams FROM table_name_66 WHERE season = "2009-10"</s>
CREATE TABLE table_1348246_3 (electrical VARCHAR, secretariat VARCHAR)
SELECT electrical FROM table_1348246_3 WHERE secretariat = "PO(W)"
What are electricals where secretariat is po(w)?
<s>[INST]What are electricals where secretariat is po(w)? Context: CREATE TABLE table_1348246_3 (electrical VARCHAR, secretariat VARCHAR)[/INST]SELECT electrical FROM table_1348246_3 WHERE secretariat = "PO(W)"</s>
CREATE TABLE table_name_8 (year INTEGER, bb_cw VARCHAR)
SELECT MAX(year) FROM table_name_8 WHERE bb_cw = "78"
What is the most current year that had a BB CW of 78?
<s>[INST]What is the most current year that had a BB CW of 78? Context: CREATE TABLE table_name_8 (year INTEGER, bb_cw VARCHAR)[/INST]SELECT MAX(year) FROM table_name_8 WHERE bb_cw = "78"</s>
CREATE TABLE table_name_69 (player VARCHAR, round INTEGER)
SELECT player FROM table_name_69 WHERE round < 2
Which Player has a Round smaller than 2?
<s>[INST]Which Player has a Round smaller than 2? Context: CREATE TABLE table_name_69 (player VARCHAR, round INTEGER)[/INST]SELECT player FROM table_name_69 WHERE round < 2</s>
CREATE TABLE table_name_52 (band VARCHAR, callsign VARCHAR)
SELECT band FROM table_name_52 WHERE callsign = "4cca"
What band does 4cca use?
<s>[INST]What band does 4cca use? Context: CREATE TABLE table_name_52 (band VARCHAR, callsign VARCHAR)[/INST]SELECT band FROM table_name_52 WHERE callsign = "4cca"</s>
CREATE TABLE table_name_76 (score_in_the_final VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_76 WHERE date = "november 3, 2002"
What score in the final has november 3, 2002 as the date?
<s>[INST]What score in the final has november 3, 2002 as the date? Context: CREATE TABLE table_name_76 (score_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_76 WHERE date = "november 3, 2002"</s>
CREATE TABLE table_name_26 (name VARCHAR, current_status VARCHAR, location VARCHAR)
SELECT name FROM table_name_26 WHERE current_status = "demolished" AND location = "toolamba"
What is the name of the station in Toolamba that is currently demolished?
<s>[INST]What is the name of the station in Toolamba that is currently demolished? Context: CREATE TABLE table_name_26 (name VARCHAR, current_status VARCHAR, location VARCHAR)[/INST]SELECT name FROM table_name_26 WHERE current_status = "demolished" AND location = "toolamba"</s>
CREATE TABLE table_21538523_1 (caliber VARCHAR, type VARCHAR)
SELECT COUNT(caliber) FROM table_21538523_1 WHERE type = "LB/RN"
How many calibers require the type LB/RN?
<s>[INST]How many calibers require the type LB/RN? Context: CREATE TABLE table_21538523_1 (caliber VARCHAR, type VARCHAR)[/INST]SELECT COUNT(caliber) FROM table_21538523_1 WHERE type = "LB/RN"</s>
CREATE TABLE table_name_1 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_1 WHERE team = "@ portland"
What is the Score with a Team that is @ portland?
<s>[INST]What is the Score with a Team that is @ portland? Context: CREATE TABLE table_name_1 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_name_1 WHERE team = "@ portland"</s>
CREATE TABLE table_name_79 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_79 WHERE opponent = "at syracuse"
What is Attendance, when Opponent is "At Syracuse"?
<s>[INST]What is Attendance, when Opponent is "At Syracuse"? Context: CREATE TABLE table_name_79 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_79 WHERE opponent = "at syracuse"</s>
CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR)
SELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = "real avilés cf" AND goal_difference > -10
What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference?
<s>[INST]What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference? Context: CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR)[/INST]SELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = "real avilés cf" AND goal_difference > -10</s>
CREATE TABLE table_name_34 (game VARCHAR, date VARCHAR)
SELECT game FROM table_name_34 WHERE date = "february 21"
What is the game on February 21?
<s>[INST]What is the game on February 21? Context: CREATE TABLE table_name_34 (game VARCHAR, date VARCHAR)[/INST]SELECT game FROM table_name_34 WHERE date = "february 21"</s>
CREATE TABLE table_name_28 (points INTEGER, driver VARCHAR, laps VARCHAR)
SELECT SUM(points) FROM table_name_28 WHERE driver = "scott riggs" AND laps > 400
What was Scott Riggs points when he had more than 400 laps?
<s>[INST]What was Scott Riggs points when he had more than 400 laps? Context: CREATE TABLE table_name_28 (points INTEGER, driver VARCHAR, laps VARCHAR)[/INST]SELECT SUM(points) FROM table_name_28 WHERE driver = "scott riggs" AND laps > 400</s>
CREATE TABLE table_name_46 (attendance INTEGER, home VARCHAR, visitor VARCHAR)
SELECT AVG(attendance) FROM table_name_46 WHERE home = "florida" AND visitor = "montreal"
What was the attendance of the Florida vs. Montreal game?
<s>[INST]What was the attendance of the Florida vs. Montreal game? Context: CREATE TABLE table_name_46 (attendance INTEGER, home VARCHAR, visitor VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_46 WHERE home = "florida" AND visitor = "montreal"</s>
CREATE TABLE table_name_78 (win__percentage INTEGER, year VARCHAR, coach VARCHAR, crew VARCHAR)
SELECT SUM(win__percentage) FROM table_name_78 WHERE coach = "john gartin" AND crew = "varsity 8+" AND year = "2005"
What is the total number of win % when John Gartin is coach, the crew is varsity 8+, and the year is 2005?
<s>[INST]What is the total number of win % when John Gartin is coach, the crew is varsity 8+, and the year is 2005? Context: CREATE TABLE table_name_78 (win__percentage INTEGER, year VARCHAR, coach VARCHAR, crew VARCHAR)[/INST]SELECT SUM(win__percentage) FROM table_name_78 WHERE coach = "john gartin" AND crew = "varsity 8+" AND year = "2005"</s>
CREATE TABLE table_name_54 (Id VARCHAR)
SELECT 1881 FROM table_name_54 WHERE 1851 = "1961"
What's the 1881 with 1961 in 1851?
<s>[INST]What's the 1881 with 1961 in 1851? Context: CREATE TABLE table_name_54 (Id VARCHAR)[/INST]SELECT 1881 FROM table_name_54 WHERE 1851 = "1961"</s>
CREATE TABLE table_14630796_1 (class_aAA VARCHAR, school_year VARCHAR)
SELECT COUNT(class_aAA) FROM table_14630796_1 WHERE school_year = "2006-07"
Name the total number of class aaa for 2006-07
<s>[INST]Name the total number of class aaa for 2006-07 Context: CREATE TABLE table_14630796_1 (class_aAA VARCHAR, school_year VARCHAR)[/INST]SELECT COUNT(class_aAA) FROM table_14630796_1 WHERE school_year = "2006-07"</s>
CREATE TABLE table_name_21 (runner_up VARCHAR, tournament VARCHAR)
SELECT runner_up FROM table_name_21 WHERE tournament = "japan open"
Who was the Japan open runner up?
<s>[INST]Who was the Japan open runner up? Context: CREATE TABLE table_name_21 (runner_up VARCHAR, tournament VARCHAR)[/INST]SELECT runner_up FROM table_name_21 WHERE tournament = "japan open"</s>
CREATE TABLE table_17487395_1 (callsign VARCHAR, branding VARCHAR)
SELECT callsign FROM table_17487395_1 WHERE branding = "Mom's Radio 101.5 Tacloban"
What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban?
<s>[INST]What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban? Context: CREATE TABLE table_17487395_1 (callsign VARCHAR, branding VARCHAR)[/INST]SELECT callsign FROM table_17487395_1 WHERE branding = "Mom's Radio 101.5 Tacloban"</s>
CREATE TABLE table_name_51 (round INTEGER, name VARCHAR, overall VARCHAR)
SELECT MAX(round) FROM table_name_51 WHERE name = "david kimball" AND overall < 229
Name of David Kimball, and an Overall smaller than 229 is what highest round?
<s>[INST]Name of David Kimball, and an Overall smaller than 229 is what highest round? Context: CREATE TABLE table_name_51 (round INTEGER, name VARCHAR, overall VARCHAR)[/INST]SELECT MAX(round) FROM table_name_51 WHERE name = "david kimball" AND overall < 229</s>
CREATE TABLE table_name_25 (round INTEGER, record VARCHAR)
SELECT AVG(round) FROM table_name_25 WHERE record = "1-1"
What is the average round for the record of 1-1?
<s>[INST]What is the average round for the record of 1-1? Context: CREATE TABLE table_name_25 (round INTEGER, record VARCHAR)[/INST]SELECT AVG(round) FROM table_name_25 WHERE record = "1-1"</s>
CREATE TABLE table_name_49 (group VARCHAR, population VARCHAR, island VARCHAR)
SELECT group FROM table_name_49 WHERE population = "0" AND island = "muckle green holm"
What group on the island of Muckle Green Holm has a population of 0?
<s>[INST]What group on the island of Muckle Green Holm has a population of 0? Context: CREATE TABLE table_name_49 (group VARCHAR, population VARCHAR, island VARCHAR)[/INST]SELECT group FROM table_name_49 WHERE population = "0" AND island = "muckle green holm"</s>
CREATE TABLE table_2897457_7 (pick__number VARCHAR, player VARCHAR)
SELECT pick__number FROM table_2897457_7 WHERE player = "Scott Zygulski"
What are Scott Zygulski's pick numbers?
<s>[INST]What are Scott Zygulski's pick numbers? Context: CREATE TABLE table_2897457_7 (pick__number VARCHAR, player VARCHAR)[/INST]SELECT pick__number FROM table_2897457_7 WHERE player = "Scott Zygulski"</s>
CREATE TABLE table_name_52 (frequency__mhz_ VARCHAR, type VARCHAR, call_letters VARCHAR)
SELECT COUNT(frequency__mhz_) FROM table_name_52 WHERE type = "primary" AND call_letters = "ktbb-fm"
Frequency (MHz) that has a Type of primary, and a Call letters of ktbb-fm has what total number?
<s>[INST]Frequency (MHz) that has a Type of primary, and a Call letters of ktbb-fm has what total number? Context: CREATE TABLE table_name_52 (frequency__mhz_ VARCHAR, type VARCHAR, call_letters VARCHAR)[/INST]SELECT COUNT(frequency__mhz_) FROM table_name_52 WHERE type = "primary" AND call_letters = "ktbb-fm"</s>
CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
SELECT T1.Name, T1.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING COUNT(*) <= 1
Show the names and ids of tourist attractions that are visited at most once.
<s>[INST]Show the names and ids of tourist attractions that are visited at most once. Context: CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)[/INST]SELECT T1.Name, T1.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING COUNT(*) <= 1</s>
CREATE TABLE table_name_66 (party VARCHAR, district VARCHAR)
SELECT party FROM table_name_66 WHERE district = "colorado 6"
In Colorado 6 district what is the party?
<s>[INST]In Colorado 6 district what is the party? Context: CREATE TABLE table_name_66 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_name_66 WHERE district = "colorado 6"</s>
CREATE TABLE table_name_30 (college VARCHAR, position VARCHAR)
SELECT college FROM table_name_30 WHERE position = "nose tackle"
Which college has a nose tackle position?
<s>[INST]Which college has a nose tackle position? Context: CREATE TABLE table_name_30 (college VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_name_30 WHERE position = "nose tackle"</s>
CREATE TABLE table_name_69 (place VARCHAR, points VARCHAR)
SELECT COUNT(place) FROM table_name_69 WHERE points = 18
how many times was the points 18?
<s>[INST]how many times was the points 18? Context: CREATE TABLE table_name_69 (place VARCHAR, points VARCHAR)[/INST]SELECT COUNT(place) FROM table_name_69 WHERE points = 18</s>
CREATE TABLE table_2076516_1 (enrollment__2012_ INTEGER, school VARCHAR)
SELECT MIN(enrollment__2012_) FROM table_2076516_1 WHERE school = "University of North Carolina at Charlotte"
When university of north carolina at charlotte is the school what is the lowest enrollment in 2012?
<s>[INST]When university of north carolina at charlotte is the school what is the lowest enrollment in 2012? Context: CREATE TABLE table_2076516_1 (enrollment__2012_ INTEGER, school VARCHAR)[/INST]SELECT MIN(enrollment__2012_) FROM table_2076516_1 WHERE school = "University of North Carolina at Charlotte"</s>
CREATE TABLE table_name_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)
SELECT binomial FROM table_name_7 WHERE binary = "θ(log n)" AND fibonacci = "θ(1)"
Binary of θ(log n), and a Fibonacci of θ(1) has what binomial?
<s>[INST]Binary of θ(log n), and a Fibonacci of θ(1) has what binomial? Context: CREATE TABLE table_name_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)[/INST]SELECT binomial FROM table_name_7 WHERE binary = "θ(log n)" AND fibonacci = "θ(1)"</s>
CREATE TABLE table_name_28 (goals_for INTEGER, lost VARCHAR, played VARCHAR)
SELECT MAX(goals_for) FROM table_name_28 WHERE lost = 12 AND played > 34
Which Goals For has a Lost of 12, and a Played larger than 34?
<s>[INST]Which Goals For has a Lost of 12, and a Played larger than 34? Context: CREATE TABLE table_name_28 (goals_for INTEGER, lost VARCHAR, played VARCHAR)[/INST]SELECT MAX(goals_for) FROM table_name_28 WHERE lost = 12 AND played > 34</s>
CREATE TABLE table_name_46 (date_from VARCHAR, moving_to VARCHAR)
SELECT date_from FROM table_name_46 WHERE moving_to = "birmingham city"
What is Date From, when Moving To is "Birmingham City"?
<s>[INST]What is Date From, when Moving To is "Birmingham City"? Context: CREATE TABLE table_name_46 (date_from VARCHAR, moving_to VARCHAR)[/INST]SELECT date_from FROM table_name_46 WHERE moving_to = "birmingham city"</s>
CREATE TABLE table_2064747_1 (location_s_ VARCHAR, founded VARCHAR)
SELECT location_s_ FROM table_2064747_1 WHERE founded = 1927
Where was there a school founded in 1927?
<s>[INST]Where was there a school founded in 1927? Context: CREATE TABLE table_2064747_1 (location_s_ VARCHAR, founded VARCHAR)[/INST]SELECT location_s_ FROM table_2064747_1 WHERE founded = 1927</s>
CREATE TABLE table_197286_4 (further_cities VARCHAR, country VARCHAR, direction VARCHAR)
SELECT further_cities FROM table_197286_4 WHERE country = "Slovakia" AND direction = "West"
Name the further cities for slovakia and west direction
<s>[INST]Name the further cities for slovakia and west direction Context: CREATE TABLE table_197286_4 (further_cities VARCHAR, country VARCHAR, direction VARCHAR)[/INST]SELECT further_cities FROM table_197286_4 WHERE country = "Slovakia" AND direction = "West"</s>
CREATE TABLE table_27155678_2 (accession_number VARCHAR, sequence_similarity VARCHAR)
SELECT accession_number FROM table_27155678_2 WHERE sequence_similarity = 54
Name the accession number for sequence similarity being 54
<s>[INST]Name the accession number for sequence similarity being 54 Context: CREATE TABLE table_27155678_2 (accession_number VARCHAR, sequence_similarity VARCHAR)[/INST]SELECT accession_number FROM table_27155678_2 WHERE sequence_similarity = 54</s>
CREATE TABLE table_name_17 (stadium VARCHAR, city VARCHAR)
SELECT stadium FROM table_name_17 WHERE city = "brisbane"
What is the name of the stadium in Brisbane?
<s>[INST]What is the name of the stadium in Brisbane? Context: CREATE TABLE table_name_17 (stadium VARCHAR, city VARCHAR)[/INST]SELECT stadium FROM table_name_17 WHERE city = "brisbane"</s>
CREATE TABLE table_name_73 (opponent VARCHAR, club VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_73 WHERE club = "essendon" AND score = "13.4.82"
Which opponent has a Club of essendon, and a Score of 13.4.82?
<s>[INST]Which opponent has a Club of essendon, and a Score of 13.4.82? Context: CREATE TABLE table_name_73 (opponent VARCHAR, club VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_73 WHERE club = "essendon" AND score = "13.4.82"</s>
CREATE TABLE table_11111116_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
SELECT MIN(no_in_series) FROM table_11111116_6 WHERE us_viewers__million_ = "3.6"
Which episode in the series drew 3.6 million U.S. viewers?
<s>[INST]Which episode in the series drew 3.6 million U.S. viewers? Context: CREATE TABLE table_11111116_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR)[/INST]SELECT MIN(no_in_series) FROM table_11111116_6 WHERE us_viewers__million_ = "3.6"</s>
CREATE TABLE table_name_70 (games INTEGER, rating VARCHAR, yards VARCHAR)
SELECT AVG(games) FROM table_name_70 WHERE rating < 3.8 AND yards < 9
What is the games average with less than 3.8 in rating and less than 9 yards?
<s>[INST]What is the games average with less than 3.8 in rating and less than 9 yards? Context: CREATE TABLE table_name_70 (games INTEGER, rating VARCHAR, yards VARCHAR)[/INST]SELECT AVG(games) FROM table_name_70 WHERE rating < 3.8 AND yards < 9</s>
CREATE TABLE table_name_43 (call_sign VARCHAR, branding VARCHAR)
SELECT call_sign FROM table_name_43 WHERE branding = "the q"
What's the call sign of The Q?
<s>[INST]What's the call sign of The Q? Context: CREATE TABLE table_name_43 (call_sign VARCHAR, branding VARCHAR)[/INST]SELECT call_sign FROM table_name_43 WHERE branding = "the q"</s>
CREATE TABLE Staff (date_of_birth VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT date_of_birth FROM Staff WHERE first_name = "Janessa" AND last_name = "Sawayn"
What is the birthday of the staff member with first name as Janessa and last name as Sawayn?
<s>[INST]What is the birthday of the staff member with first name as Janessa and last name as Sawayn? Context: CREATE TABLE Staff (date_of_birth VARCHAR, first_name VARCHAR, last_name VARCHAR)[/INST]SELECT date_of_birth FROM Staff WHERE first_name = "Janessa" AND last_name = "Sawayn"</s>
CREATE TABLE table_2388763_1 (year VARCHAR)
SELECT 4 AS th_place FROM table_2388763_1 WHERE year = 2007
What team finished in 4th place in 2007?
<s>[INST]What team finished in 4th place in 2007? Context: CREATE TABLE table_2388763_1 (year VARCHAR)[/INST]SELECT 4 AS th_place FROM table_2388763_1 WHERE year = 2007</s>
CREATE TABLE table_name_33 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_33 WHERE tie_no = "3"
What is Date, when Tie no is "3"?
<s>[INST]What is Date, when Tie no is "3"? Context: CREATE TABLE table_name_33 (date VARCHAR, tie_no VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE tie_no = "3"</s>
CREATE TABLE table_name_17 (electricity_grid VARCHAR, commercial_operation VARCHAR)
SELECT electricity_grid FROM table_name_17 WHERE commercial_operation = "24.03.1973"
Which Electricity Grid started its Commercial Operation of 24.03.1973?
<s>[INST]Which Electricity Grid started its Commercial Operation of 24.03.1973? Context: CREATE TABLE table_name_17 (electricity_grid VARCHAR, commercial_operation VARCHAR)[/INST]SELECT electricity_grid FROM table_name_17 WHERE commercial_operation = "24.03.1973"</s>
CREATE TABLE table_1341598_22 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_1341598_22 WHERE incumbent = "Ed Markey"
What is the minimum first elected for ed markey?
<s>[INST]What is the minimum first elected for ed markey? Context: CREATE TABLE table_1341598_22 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1341598_22 WHERE incumbent = "Ed Markey"</s>
CREATE TABLE table_name_24 (year INTEGER, notes VARCHAR)
SELECT MIN(year) FROM table_name_24 WHERE notes = "5.19km, 18controls"
What is the lowest Year, when Notes is "5.19km, 18controls"?
<s>[INST]What is the lowest Year, when Notes is "5.19km, 18controls"? Context: CREATE TABLE table_name_24 (year INTEGER, notes VARCHAR)[/INST]SELECT MIN(year) FROM table_name_24 WHERE notes = "5.19km, 18controls"</s>
CREATE TABLE tryout (cName VARCHAR, pID VARCHAR); CREATE TABLE player (pID VARCHAR, pName VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName JOIN player AS T3 ON T2.pID = T3.pID WHERE T3.pName = 'Charles'
Find the state of the college which player Charles is attending.
<s>[INST]Find the state of the college which player Charles is attending. Context: CREATE TABLE tryout (cName VARCHAR, pID VARCHAR); CREATE TABLE player (pID VARCHAR, pName VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)[/INST]SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName JOIN player AS T3 ON T2.pID = T3.pID WHERE T3.pName = 'Charles'</s>
CREATE TABLE table_14966537_1 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_14966537_1 WHERE opponent = "Chicago Bears"
What is the result of the game against the Chicago Bears?
<s>[INST]What is the result of the game against the Chicago Bears? Context: CREATE TABLE table_14966537_1 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_14966537_1 WHERE opponent = "Chicago Bears"</s>
CREATE TABLE table_name_29 (winner VARCHAR, event VARCHAR, country VARCHAR)
SELECT winner FROM table_name_29 WHERE event = "billabong pro" AND country = "french polynesia"
Who was the Winner of the French Polynesia Billabong Pro Event?
<s>[INST]Who was the Winner of the French Polynesia Billabong Pro Event? Context: CREATE TABLE table_name_29 (winner VARCHAR, event VARCHAR, country VARCHAR)[/INST]SELECT winner FROM table_name_29 WHERE event = "billabong pro" AND country = "french polynesia"</s>
CREATE TABLE dorm (dorm_name VARCHAR, gender VARCHAR)
SELECT dorm_name FROM dorm WHERE gender = 'F'
Find the name of dorms only for female (F gender).
<s>[INST]Find the name of dorms only for female (F gender). Context: CREATE TABLE dorm (dorm_name VARCHAR, gender VARCHAR)[/INST]SELECT dorm_name FROM dorm WHERE gender = 'F'</s>
CREATE TABLE table_name_59 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_name_59 WHERE team = "denver"
What was the attendance at the Denver game?
<s>[INST]What was the attendance at the Denver game? Context: CREATE TABLE table_name_59 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_name_59 WHERE team = "denver"</s>
CREATE TABLE table_23284271_8 (high_assists VARCHAR, record VARCHAR)
SELECT high_assists FROM table_23284271_8 WHERE record = "32-19"
Who had the most high assists with a record of 32-19?
<s>[INST]Who had the most high assists with a record of 32-19? Context: CREATE TABLE table_23284271_8 (high_assists VARCHAR, record VARCHAR)[/INST]SELECT high_assists FROM table_23284271_8 WHERE record = "32-19"</s>
CREATE TABLE table_name_97 (chuck_devore VARCHAR, other VARCHAR)
SELECT chuck_devore FROM table_name_97 WHERE other = "4%"
What is the polling result for Chuck DeVore which has a corresponding polling result of 4% for Other?
<s>[INST]What is the polling result for Chuck DeVore which has a corresponding polling result of 4% for Other? Context: CREATE TABLE table_name_97 (chuck_devore VARCHAR, other VARCHAR)[/INST]SELECT chuck_devore FROM table_name_97 WHERE other = "4%"</s>
CREATE TABLE table_name_3 (date_of_issue VARCHAR, theme VARCHAR)
SELECT date_of_issue FROM table_name_3 WHERE theme = "mental health"
What is the Date of Issue with a Theme with mental health?
<s>[INST]What is the Date of Issue with a Theme with mental health? Context: CREATE TABLE table_name_3 (date_of_issue VARCHAR, theme VARCHAR)[/INST]SELECT date_of_issue FROM table_name_3 WHERE theme = "mental health"</s>
CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_35 WHERE venue = "kardinia park"
Which away team played at Kardinia Park?
<s>[INST]Which away team played at Kardinia Park? Context: CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_35 WHERE venue = "kardinia park"</s>
CREATE TABLE table_name_28 (earnings__ VARCHAR, rank VARCHAR, player VARCHAR, country VARCHAR, wins VARCHAR)
SELECT COUNT(earnings__) AS $__ FROM table_name_28 WHERE country = "united states" AND wins < 24 AND player = "george archer" AND rank > 5
In total, how much did the United States player George Archer earn with Wins lower than 24 and a rank that was higher than 5?
<s>[INST]In total, how much did the United States player George Archer earn with Wins lower than 24 and a rank that was higher than 5? Context: CREATE TABLE table_name_28 (earnings__ VARCHAR, rank VARCHAR, player VARCHAR, country VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(earnings__) AS $__ FROM table_name_28 WHERE country = "united states" AND wins < 24 AND player = "george archer" AND rank > 5</s>
CREATE TABLE table_17282875_3 (team__number2 VARCHAR)
SELECT COUNT(1 AS st_leg) FROM table_17282875_3 WHERE team__number2 = "Universidad de Chile"
When they played Universidad de Chile, what was the score of the first leg?
<s>[INST]When they played Universidad de Chile, what was the score of the first leg? Context: CREATE TABLE table_17282875_3 (team__number2 VARCHAR)[/INST]SELECT COUNT(1 AS st_leg) FROM table_17282875_3 WHERE team__number2 = "Universidad de Chile"</s>
CREATE TABLE table_name_61 (plautdietsch VARCHAR, dutch VARCHAR)
SELECT plautdietsch FROM table_name_61 WHERE dutch = "maken"
Which Plautdietsch has Dutch of maken?
<s>[INST]Which Plautdietsch has Dutch of maken? Context: CREATE TABLE table_name_61 (plautdietsch VARCHAR, dutch VARCHAR)[/INST]SELECT plautdietsch FROM table_name_61 WHERE dutch = "maken"</s>
CREATE TABLE table_2562572_46 (population__2011_ VARCHAR, settlement VARCHAR)
SELECT population__2011_ FROM table_2562572_46 WHERE settlement = "Pavliš"
What was the 2011 population of pavliš?
<s>[INST]What was the 2011 population of pavliš? Context: CREATE TABLE table_2562572_46 (population__2011_ VARCHAR, settlement VARCHAR)[/INST]SELECT population__2011_ FROM table_2562572_46 WHERE settlement = "Pavliš"</s>
CREATE TABLE table_14945881_1 (date VARCHAR, week VARCHAR)
SELECT date FROM table_14945881_1 WHERE week = 9
Name the date when week is 9
<s>[INST]Name the date when week is 9 Context: CREATE TABLE table_14945881_1 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_14945881_1 WHERE week = 9</s>
CREATE TABLE table_name_10 (second_member VARCHAR, year VARCHAR, first_member VARCHAR)
SELECT second_member FROM table_name_10 WHERE year > 1790 AND first_member = "john williams"
Who is the second member more recently than 1790 when John Williams is the first member?
<s>[INST]Who is the second member more recently than 1790 when John Williams is the first member? Context: CREATE TABLE table_name_10 (second_member VARCHAR, year VARCHAR, first_member VARCHAR)[/INST]SELECT second_member FROM table_name_10 WHERE year > 1790 AND first_member = "john williams"</s>
CREATE TABLE table_name_78 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_78 WHERE call_sign = "w242at"
For the call sign w242at what's the city the license plate is registered to?
<s>[INST]For the call sign w242at what's the city the license plate is registered to? Context: CREATE TABLE table_name_78 (city_of_license VARCHAR, call_sign VARCHAR)[/INST]SELECT city_of_license FROM table_name_78 WHERE call_sign = "w242at"</s>
CREATE TABLE table_name_34 (date VARCHAR, year VARCHAR, location VARCHAR)
SELECT date FROM table_name_34 WHERE year > 1981 AND location = "morocco"
What was the date for morocco when the year was lerger than 1981?
<s>[INST]What was the date for morocco when the year was lerger than 1981? Context: CREATE TABLE table_name_34 (date VARCHAR, year VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_34 WHERE year > 1981 AND location = "morocco"</s>
CREATE TABLE table_16046689_29 (stadium VARCHAR, payout___us$__ VARCHAR)
SELECT stadium FROM table_16046689_29 WHERE payout___us$__ = "$3 Million"
Which stadium has a payout of $3 million?
<s>[INST]Which stadium has a payout of $3 million? Context: CREATE TABLE table_16046689_29 (stadium VARCHAR, payout___us$__ VARCHAR)[/INST]SELECT stadium FROM table_16046689_29 WHERE payout___us$__ = "$3 Million"</s>
CREATE TABLE table_name_28 (format_s_ VARCHAR, region VARCHAR, catalog VARCHAR)
SELECT format_s_ FROM table_name_28 WHERE region = "europe" AND catalog = "webb185"
Which formats have a region of Europe and Catalog value of WEBB185?
<s>[INST]Which formats have a region of Europe and Catalog value of WEBB185? Context: CREATE TABLE table_name_28 (format_s_ VARCHAR, region VARCHAR, catalog VARCHAR)[/INST]SELECT format_s_ FROM table_name_28 WHERE region = "europe" AND catalog = "webb185"</s>
CREATE TABLE table_name_3 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_3 WHERE home_team = "wigan athletic"
What is the score of the wigan athletic home team?
<s>[INST]What is the score of the wigan athletic home team? Context: CREATE TABLE table_name_3 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_3 WHERE home_team = "wigan athletic"</s>
CREATE TABLE table_12715053_1 (trademark VARCHAR, molecular_target VARCHAR, clinical_status VARCHAR)
SELECT COUNT(trademark) FROM table_12715053_1 WHERE molecular_target = "Minor Groove of DNA" AND clinical_status = "Phase I"
How many trademarks list a molecular target of minor groove of dna and a clinical status value of phase i?
<s>[INST]How many trademarks list a molecular target of minor groove of dna and a clinical status value of phase i? Context: CREATE TABLE table_12715053_1 (trademark VARCHAR, molecular_target VARCHAR, clinical_status VARCHAR)[/INST]SELECT COUNT(trademark) FROM table_12715053_1 WHERE molecular_target = "Minor Groove of DNA" AND clinical_status = "Phase I"</s>
CREATE TABLE table_name_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_name_12 WHERE outgoing_manager = "paco chaparro"
What was the date of appointment for paco chaparro's replacement?
<s>[INST]What was the date of appointment for paco chaparro's replacement? Context: CREATE TABLE table_name_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_of_appointment FROM table_name_12 WHERE outgoing_manager = "paco chaparro"</s>
CREATE TABLE table_name_46 (country VARCHAR, year VARCHAR)
SELECT country FROM table_name_46 WHERE year = 2002
What country got accolades in 2002?
<s>[INST]What country got accolades in 2002? Context: CREATE TABLE table_name_46 (country VARCHAR, year VARCHAR)[/INST]SELECT country FROM table_name_46 WHERE year = 2002</s>
CREATE TABLE table_name_85 (money___ VARCHAR, score VARCHAR)
SELECT COUNT(money___) AS $__ FROM table_name_85 WHERE score = 67 - 71 - 70 - 71 = 279
What is the amount of money with a score of 67-71-70-71=279?
<s>[INST]What is the amount of money with a score of 67-71-70-71=279? Context: CREATE TABLE table_name_85 (money___ VARCHAR, score VARCHAR)[/INST]SELECT COUNT(money___) AS $__ FROM table_name_85 WHERE score = 67 - 71 - 70 - 71 = 279</s>
CREATE TABLE table_name_92 (ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)
SELECT ngc_number FROM table_name_92 WHERE right_ascension___j2000__ = "08h11m13.6s"
I want the NGC number for right ascension of 08h11m13.6s
<s>[INST]I want the NGC number for right ascension of 08h11m13.6s Context: CREATE TABLE table_name_92 (ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)[/INST]SELECT ngc_number FROM table_name_92 WHERE right_ascension___j2000__ = "08h11m13.6s"</s>
CREATE TABLE table_name_36 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_36 WHERE venue = "lake oval"
Which Date has a Venue of lake oval?
<s>[INST]Which Date has a Venue of lake oval? Context: CREATE TABLE table_name_36 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_36 WHERE venue = "lake oval"</s>
CREATE TABLE table_25840200_1 (notes VARCHAR, fight VARCHAR)
SELECT COUNT(notes) FROM table_25840200_1 WHERE fight = "Devon Alexander vs. Shawn Porter"
How many notes are there for the Devon Alexander vs. Shawn Porter fight?
<s>[INST]How many notes are there for the Devon Alexander vs. Shawn Porter fight? Context: CREATE TABLE table_25840200_1 (notes VARCHAR, fight VARCHAR)[/INST]SELECT COUNT(notes) FROM table_25840200_1 WHERE fight = "Devon Alexander vs. Shawn Porter"</s>
CREATE TABLE table_name_89 (pilot VARCHAR, record_description VARCHAR, date VARCHAR)
SELECT pilot FROM table_name_89 WHERE record_description = "maximum load to m (ft)" AND date = "23 september 1961"
Record description of maximum load to m (ft), and a Date of 23 september 1961 is what pilot?
<s>[INST]Record description of maximum load to m (ft), and a Date of 23 september 1961 is what pilot? Context: CREATE TABLE table_name_89 (pilot VARCHAR, record_description VARCHAR, date VARCHAR)[/INST]SELECT pilot FROM table_name_89 WHERE record_description = "maximum load to m (ft)" AND date = "23 september 1961"</s>
CREATE TABLE table_name_42 (author VARCHAR, featuring VARCHAR)
SELECT author FROM table_name_42 WHERE featuring = "leela, the master, kraals"
who is the author when featuring is leela, the master, kraals?
<s>[INST]who is the author when featuring is leela, the master, kraals? Context: CREATE TABLE table_name_42 (author VARCHAR, featuring VARCHAR)[/INST]SELECT author FROM table_name_42 WHERE featuring = "leela, the master, kraals"</s>
CREATE TABLE table_29728596_2 (away_team VARCHAR, competition VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_29728596_2 WHERE competition = "1st ``Republic of Srpska Football Day``" AND home_team = "U 14 Republic of Srpska"
Who were the away teams when the competition was the 1st ``republic of srpska football day`` and the home team was u 14 republic of srpska?
<s>[INST]Who were the away teams when the competition was the 1st ``republic of srpska football day`` and the home team was u 14 republic of srpska? Context: CREATE TABLE table_29728596_2 (away_team VARCHAR, competition VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_29728596_2 WHERE competition = "1st ``Republic of Srpska Football Day``" AND home_team = "U 14 Republic of Srpska"</s>
CREATE TABLE table_name_37 (number_ VARCHAR, _name VARCHAR, date INTEGER)
SELECT number_ & _name FROM table_name_37 WHERE date < 1905
What is the number and name where the date is earlier than 1905?
<s>[INST]What is the number and name where the date is earlier than 1905? Context: CREATE TABLE table_name_37 (number_ VARCHAR, _name VARCHAR, date INTEGER)[/INST]SELECT number_ & _name FROM table_name_37 WHERE date < 1905</s>
CREATE TABLE table_22410780_1 (male_rep VARCHAR, artistic_director VARCHAR)
SELECT male_rep FROM table_22410780_1 WHERE artistic_director = "Caroline Rhoads"
Who was the male rep. when Caroline Rhoads was the artistic director?
<s>[INST]Who was the male rep. when Caroline Rhoads was the artistic director? Context: CREATE TABLE table_22410780_1 (male_rep VARCHAR, artistic_director VARCHAR)[/INST]SELECT male_rep FROM table_22410780_1 WHERE artistic_director = "Caroline Rhoads"</s>
CREATE TABLE table_2004733_2 (population__2000_ INTEGER, barangay VARCHAR)
SELECT MAX(population__2000_) FROM table_2004733_2 WHERE barangay = "Bulac"
How many people lived in bulac in the year 2000?
<s>[INST]How many people lived in bulac in the year 2000? Context: CREATE TABLE table_2004733_2 (population__2000_ INTEGER, barangay VARCHAR)[/INST]SELECT MAX(population__2000_) FROM table_2004733_2 WHERE barangay = "Bulac"</s>
CREATE TABLE table_name_34 (scored_1 VARCHAR, years_played VARCHAR, name VARCHAR)
SELECT scored_1, 500 AS _points FROM table_name_34 WHERE years_played = "2004–2008" AND name = "jolene anderson"
WHich Scored 1,500 Points has a Years Played of 2004–2008 and a Name of jolene anderson?
<s>[INST]WHich Scored 1,500 Points has a Years Played of 2004–2008 and a Name of jolene anderson? Context: CREATE TABLE table_name_34 (scored_1 VARCHAR, years_played VARCHAR, name VARCHAR)[/INST]SELECT scored_1, 500 AS _points FROM table_name_34 WHERE years_played = "2004–2008" AND name = "jolene anderson"</s>
CREATE TABLE table_name_20 (class VARCHAR, date VARCHAR)
SELECT class FROM table_name_20 WHERE date = "august 25"
What is the class of the race that takes place on August 25?
<s>[INST]What is the class of the race that takes place on August 25? Context: CREATE TABLE table_name_20 (class VARCHAR, date VARCHAR)[/INST]SELECT class FROM table_name_20 WHERE date = "august 25"</s>
CREATE TABLE table_name_31 (reg_season VARCHAR, division VARCHAR)
SELECT reg_season FROM table_name_31 WHERE division = 2
Which Reg Season has a Division of 2?
<s>[INST]Which Reg Season has a Division of 2? Context: CREATE TABLE table_name_31 (reg_season VARCHAR, division VARCHAR)[/INST]SELECT reg_season FROM table_name_31 WHERE division = 2</s>
CREATE TABLE table_name_5 (season_1 VARCHAR, season_7 VARCHAR)
SELECT season_1 FROM table_name_5 WHERE season_7 = "david chilton"
Which Season 1 has a Season 7 of david chilton?
<s>[INST]Which Season 1 has a Season 7 of david chilton? Context: CREATE TABLE table_name_5 (season_1 VARCHAR, season_7 VARCHAR)[/INST]SELECT season_1 FROM table_name_5 WHERE season_7 = "david chilton"</s>
CREATE TABLE People (Name VARCHAR, Weight VARCHAR)
SELECT Name FROM People ORDER BY Weight
What are the names of people in ascending order of weight?
<s>[INST]What are the names of people in ascending order of weight? Context: CREATE TABLE People (Name VARCHAR, Weight VARCHAR)[/INST]SELECT Name FROM People ORDER BY Weight</s>
CREATE TABLE table_name_34 (nickname VARCHAR, division VARCHAR)
SELECT nickname FROM table_name_34 WHERE division = "division 2"
What is the nickname of the team in division 2?
<s>[INST]What is the nickname of the team in division 2? Context: CREATE TABLE table_name_34 (nickname VARCHAR, division VARCHAR)[/INST]SELECT nickname FROM table_name_34 WHERE division = "division 2"</s>
CREATE TABLE table_name_31 (payment VARCHAR, type VARCHAR, release_date VARCHAR)
SELECT payment FROM table_name_31 WHERE type = "2d" AND release_date = "january 2003"
Which Payment has a Type of 2d, and a Release date of january 2003?
<s>[INST]Which Payment has a Type of 2d, and a Release date of january 2003? Context: CREATE TABLE table_name_31 (payment VARCHAR, type VARCHAR, release_date VARCHAR)[/INST]SELECT payment FROM table_name_31 WHERE type = "2d" AND release_date = "january 2003"</s>
CREATE TABLE table_name_21 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_21 WHERE date = "november 24"
WHAT IS THE HIGH ASSISTS ON NOVEMBER 24?
<s>[INST]WHAT IS THE HIGH ASSISTS ON NOVEMBER 24? Context: CREATE TABLE table_name_21 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_name_21 WHERE date = "november 24"</s>
CREATE TABLE table_name_13 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_13 WHERE venue = "kardinia park"
What is the date of the game when the venue is Kardinia Park?
<s>[INST]What is the date of the game when the venue is Kardinia Park? Context: CREATE TABLE table_name_13 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_13 WHERE venue = "kardinia park"</s>
CREATE TABLE table_name_32 (round INTEGER, player VARCHAR, pick VARCHAR)
SELECT SUM(round) FROM table_name_32 WHERE player = "tim hunter (rw)" AND pick < 54
What is the sum of Round, when Player is Tim Hunter (RW), and when Pick is less than 54?
<s>[INST]What is the sum of Round, when Player is Tim Hunter (RW), and when Pick is less than 54? Context: CREATE TABLE table_name_32 (round INTEGER, player VARCHAR, pick VARCHAR)[/INST]SELECT SUM(round) FROM table_name_32 WHERE player = "tim hunter (rw)" AND pick < 54</s>
CREATE TABLE table_name_15 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_15 WHERE home_team = "huddersfield town"
What is the tie no of the game that home team huddersfield town played?
<s>[INST]What is the tie no of the game that home team huddersfield town played? Context: CREATE TABLE table_name_15 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_15 WHERE home_team = "huddersfield town"</s>
CREATE TABLE table_name_27 (position VARCHAR, name VARCHAR)
SELECT position FROM table_name_27 WHERE name = "rod paavola"
What is the Postion, when the Name is Rod Paavola?
<s>[INST]What is the Postion, when the Name is Rod Paavola? Context: CREATE TABLE table_name_27 (position VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_27 WHERE name = "rod paavola"</s>
CREATE TABLE table_22481967_1 (date VARCHAR, number VARCHAR)
SELECT date FROM table_22481967_1 WHERE number = "1"
List the date for number 1.
<s>[INST]List the date for number 1. Context: CREATE TABLE table_22481967_1 (date VARCHAR, number VARCHAR)[/INST]SELECT date FROM table_22481967_1 WHERE number = "1"</s>
CREATE TABLE table_name_97 (heat INTEGER, rank VARCHAR, time VARCHAR)
SELECT AVG(heat) FROM table_name_97 WHERE rank = 34 AND time < 49.49
What is the Heat of the 34 Rank swimmer with a Time of 49.49 or less?
<s>[INST]What is the Heat of the 34 Rank swimmer with a Time of 49.49 or less? Context: CREATE TABLE table_name_97 (heat INTEGER, rank VARCHAR, time VARCHAR)[/INST]SELECT AVG(heat) FROM table_name_97 WHERE rank = 34 AND time < 49.49</s>
CREATE TABLE table_name_93 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_93 WHERE score = "l 121–127"
Which record has a score of l 121–127?
<s>[INST]Which record has a score of l 121–127? Context: CREATE TABLE table_name_93 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_93 WHERE score = "l 121–127"</s>
CREATE TABLE table_name_80 (core__number INTEGER, part_number_opn_ VARCHAR, tdp__w_ VARCHAR)
SELECT SUM(core__number) FROM table_name_80 WHERE part_number_opn_ = "osa242cep5au" AND tdp__w_ > 82.1
What is the sum of core# with a part number of osa242cep5au and TDP greater than 82.1?
<s>[INST]What is the sum of core# with a part number of osa242cep5au and TDP greater than 82.1? Context: CREATE TABLE table_name_80 (core__number INTEGER, part_number_opn_ VARCHAR, tdp__w_ VARCHAR)[/INST]SELECT SUM(core__number) FROM table_name_80 WHERE part_number_opn_ = "osa242cep5au" AND tdp__w_ > 82.1</s>
CREATE TABLE table_name_95 (draw INTEGER, artist VARCHAR, points VARCHAR)
SELECT MIN(draw) FROM table_name_95 WHERE artist = "stine findsen" AND points > 42
What is the lowest Draw when the Artist is Stine Findsen and the Points are larger than 42?
<s>[INST]What is the lowest Draw when the Artist is Stine Findsen and the Points are larger than 42? Context: CREATE TABLE table_name_95 (draw INTEGER, artist VARCHAR, points VARCHAR)[/INST]SELECT MIN(draw) FROM table_name_95 WHERE artist = "stine findsen" AND points > 42</s>
CREATE TABLE table_name_23 (celebrity VARCHAR, famous_for VARCHAR)
SELECT celebrity FROM table_name_23 WHERE famous_for = "rapper"
Which celebrity was famous for being a rapper?
<s>[INST]Which celebrity was famous for being a rapper? Context: CREATE TABLE table_name_23 (celebrity VARCHAR, famous_for VARCHAR)[/INST]SELECT celebrity FROM table_name_23 WHERE famous_for = "rapper"</s>