context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_46 (round INTEGER, college VARCHAR)
SELECT AVG(round) FROM table_name_46 WHERE college = "auburn"
What is average round of Auburn College?
<s>[INST]What is average round of Auburn College? Context: CREATE TABLE table_name_46 (round INTEGER, college VARCHAR)[/INST]SELECT AVG(round) FROM table_name_46 WHERE college = "auburn"</s>
CREATE TABLE table_name_60 (lane INTEGER, athlete VARCHAR, react VARCHAR, rank VARCHAR, time VARCHAR)
SELECT MAX(lane) FROM table_name_60 WHERE rank > 3 AND time > 45.63 AND react < 0.28800000000000003 AND athlete = "geiner mosquera"
Which Lane has a Rank larger than 3, and a Time larger than 45.63, and a Reaction smaller than 0.28800000000000003, and an Athlete of geiner mosquera?
<s>[INST]Which Lane has a Rank larger than 3, and a Time larger than 45.63, and a Reaction smaller than 0.28800000000000003, and an Athlete of geiner mosquera? Context: CREATE TABLE table_name_60 (lane INTEGER, athlete VARCHAR, react VARCHAR, rank VARCHAR, time VARCHAR)[/INST]SELECT MAX(lane) FROM table_name_60 WHERE rank > 3 AND time > 45.63 AND react < 0.28800000000000003 AND athlete = "geiner mosquera"</s>
CREATE TABLE table_name_41 (earnings__ INTEGER, player VARCHAR)
SELECT MAX(earnings__) AS $__ FROM table_name_41 WHERE player = "dave stockton"
How much has dave stockton earned?
<s>[INST]How much has dave stockton earned? Context: CREATE TABLE table_name_41 (earnings__ INTEGER, player VARCHAR)[/INST]SELECT MAX(earnings__) AS $__ FROM table_name_41 WHERE player = "dave stockton"</s>
CREATE TABLE table_14670060_1 (frequency VARCHAR, coverage VARCHAR)
SELECT frequency FROM table_14670060_1 WHERE coverage = "Chihuahua Sinaloa Durango"
What frequency does Chihuahua Sinaloa Durango cover?
<s>[INST]What frequency does Chihuahua Sinaloa Durango cover? Context: CREATE TABLE table_14670060_1 (frequency VARCHAR, coverage VARCHAR)[/INST]SELECT frequency FROM table_14670060_1 WHERE coverage = "Chihuahua Sinaloa Durango"</s>
CREATE TABLE table_name_99 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_99 WHERE player = "e.j. bradley"
Which Nation does e.j. bradley play for?
<s>[INST]Which Nation does e.j. bradley play for? Context: CREATE TABLE table_name_99 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_99 WHERE player = "e.j. bradley"</s>
CREATE TABLE table_1341453_15 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341453_15 WHERE incumbent = "Jerry Costello"
Who were the candidates in the district where Jerry Costello won?
<s>[INST]Who were the candidates in the district where Jerry Costello won? Context: CREATE TABLE table_1341453_15 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341453_15 WHERE incumbent = "Jerry Costello"</s>
CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_49 WHERE date = "december 20"
What was the score for the game on December 20?
<s>[INST]What was the score for the game on December 20? Context: CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_49 WHERE date = "december 20"</s>
CREATE TABLE table_22824324_2 (steals VARCHAR, player VARCHAR)
SELECT COUNT(steals) FROM table_22824324_2 WHERE player = "Andy Kaufmann"
How many steals were the in games that andy kaufmann played?
<s>[INST]How many steals were the in games that andy kaufmann played? Context: CREATE TABLE table_22824324_2 (steals VARCHAR, player VARCHAR)[/INST]SELECT COUNT(steals) FROM table_22824324_2 WHERE player = "Andy Kaufmann"</s>
CREATE TABLE table_18540104_1 (theme_song_s_ VARCHAR, romaji_title VARCHAR)
SELECT theme_song_s_ FROM table_18540104_1 WHERE romaji_title = "Magarikado no Kanojo"
What is the theme song for Magarikado no Kanojo?
<s>[INST]What is the theme song for Magarikado no Kanojo? Context: CREATE TABLE table_18540104_1 (theme_song_s_ VARCHAR, romaji_title VARCHAR)[/INST]SELECT theme_song_s_ FROM table_18540104_1 WHERE romaji_title = "Magarikado no Kanojo"</s>
CREATE TABLE table_name_45 (attendance INTEGER, record VARCHAR)
SELECT MAX(attendance) FROM table_name_45 WHERE record = "37-38"
Which Attendance is the highest one that has a Record of 37-38?
<s>[INST]Which Attendance is the highest one that has a Record of 37-38? Context: CREATE TABLE table_name_45 (attendance INTEGER, record VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_45 WHERE record = "37-38"</s>
CREATE TABLE table_name_11 (losses INTEGER, games VARCHAR, season VARCHAR, team_name VARCHAR, points VARCHAR)
SELECT SUM(losses) FROM table_name_11 WHERE team_name = "burnaby lakers" AND points = 8 AND season = "1998" AND games < 25
How many losses did the Burnaby Lakers accumulate when they scored 8 points in 1998 playing less than 25 games?
<s>[INST]How many losses did the Burnaby Lakers accumulate when they scored 8 points in 1998 playing less than 25 games? Context: CREATE TABLE table_name_11 (losses INTEGER, games VARCHAR, season VARCHAR, team_name VARCHAR, points VARCHAR)[/INST]SELECT SUM(losses) FROM table_name_11 WHERE team_name = "burnaby lakers" AND points = 8 AND season = "1998" AND games < 25</s>
CREATE TABLE table_name_30 (athlete VARCHAR, rank VARCHAR, total VARCHAR)
SELECT athlete FROM table_name_30 WHERE rank < 17 AND total = "119"
Who had a rank under 17 with a total of 119?
<s>[INST]Who had a rank under 17 with a total of 119? Context: CREATE TABLE table_name_30 (athlete VARCHAR, rank VARCHAR, total VARCHAR)[/INST]SELECT athlete FROM table_name_30 WHERE rank < 17 AND total = "119"</s>
CREATE TABLE Addresses (address_id VARCHAR, state_province_county VARCHAR); CREATE TABLE Students (last_name VARCHAR, current_address_id VARCHAR); CREATE TABLE Students (last_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR)
SELECT T1.last_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.current_address_id = T2.address_id WHERE T2.state_province_county = 'NorthCarolina' EXCEPT SELECT DISTINCT T3.last_name FROM Students AS T3 JOIN Student_Enrolment AS T4 ON T3.student_id = T4.student_id
Find the last name of the students who currently live in the state of North Carolina but have not registered in any degree program.
<s>[INST]Find the last name of the students who currently live in the state of North Carolina but have not registered in any degree program. Context: CREATE TABLE Addresses (address_id VARCHAR, state_province_county VARCHAR); CREATE TABLE Students (last_name VARCHAR, current_address_id VARCHAR); CREATE TABLE Students (last_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR)[/INST]SELECT T1.last_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.current_address_id = T2.address_id WHERE T2.state_province_county = 'NorthCarolina' EXCEPT SELECT DISTINCT T3.last_name FROM Students AS T3 JOIN Student_Enrolment AS T4 ON T3.student_id = T4.student_id</s>
CREATE TABLE table_name_84 (runners_up VARCHAR, team VARCHAR)
SELECT runners_up FROM table_name_84 WHERE team = "espartanos de margarita"
How many runners-up did Espartanos de Margarita have?
<s>[INST]How many runners-up did Espartanos de Margarita have? Context: CREATE TABLE table_name_84 (runners_up VARCHAR, team VARCHAR)[/INST]SELECT runners_up FROM table_name_84 WHERE team = "espartanos de margarita"</s>
CREATE TABLE table_24370270_10 (final_weight__kg_ VARCHAR, contestant VARCHAR)
SELECT final_weight__kg_ FROM table_24370270_10 WHERE contestant = "Chris"
What is the final weight for contestant Chris?
<s>[INST]What is the final weight for contestant Chris? Context: CREATE TABLE table_24370270_10 (final_weight__kg_ VARCHAR, contestant VARCHAR)[/INST]SELECT final_weight__kg_ FROM table_24370270_10 WHERE contestant = "Chris"</s>
CREATE TABLE country (Name VARCHAR, Continent VARCHAR, LifeExpectancy VARCHAR)
SELECT Name FROM country WHERE Continent = "Asia" ORDER BY LifeExpectancy LIMIT 1
What is the name of country that has the shortest life expectancy in Asia?
<s>[INST]What is the name of country that has the shortest life expectancy in Asia? Context: CREATE TABLE country (Name VARCHAR, Continent VARCHAR, LifeExpectancy VARCHAR)[/INST]SELECT Name FROM country WHERE Continent = "Asia" ORDER BY LifeExpectancy LIMIT 1</s>
CREATE TABLE table_name_48 (date VARCHAR, result VARCHAR, score VARCHAR)
SELECT date FROM table_name_48 WHERE result = "8–0" AND score = "1–0"
When was there a Result of 8–0 and a Score of 1–0?
<s>[INST]When was there a Result of 8–0 and a Score of 1–0? Context: CREATE TABLE table_name_48 (date VARCHAR, result VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_48 WHERE result = "8–0" AND score = "1–0"</s>
CREATE TABLE table_name_65 (nationality_of_director VARCHAR, film VARCHAR)
SELECT nationality_of_director FROM table_name_65 WHERE film = "um sol alaranjado"
Film of um sol alaranjado director is what nationality?
<s>[INST]Film of um sol alaranjado director is what nationality? Context: CREATE TABLE table_name_65 (nationality_of_director VARCHAR, film VARCHAR)[/INST]SELECT nationality_of_director FROM table_name_65 WHERE film = "um sol alaranjado"</s>
CREATE TABLE table_17360840_9 (record VARCHAR, location VARCHAR, opponent VARCHAR)
SELECT record FROM table_17360840_9 WHERE location = "St. Pete Times Forum" AND opponent = "Columbus Blue Jackets"
What was the record when the opposing team was the Columbus Blue Jackets at St. Pete Times Forum?
<s>[INST]What was the record when the opposing team was the Columbus Blue Jackets at St. Pete Times Forum? Context: CREATE TABLE table_17360840_9 (record VARCHAR, location VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_17360840_9 WHERE location = "St. Pete Times Forum" AND opponent = "Columbus Blue Jackets"</s>
CREATE TABLE table_name_50 (name VARCHAR, constituency_number VARCHAR)
SELECT name FROM table_name_50 WHERE constituency_number = "5"
What is the name of constituency 5?
<s>[INST]What is the name of constituency 5? Context: CREATE TABLE table_name_50 (name VARCHAR, constituency_number VARCHAR)[/INST]SELECT name FROM table_name_50 WHERE constituency_number = "5"</s>
CREATE TABLE table_name_74 (season INTEGER, series VARCHAR, races VARCHAR)
SELECT SUM(season) FROM table_name_74 WHERE series = "formula renault 3.5 series" AND races < 7
In what Season was the Series Formula Renault 3.5 series with less than 7 Races?
<s>[INST]In what Season was the Series Formula Renault 3.5 series with less than 7 Races? Context: CREATE TABLE table_name_74 (season INTEGER, series VARCHAR, races VARCHAR)[/INST]SELECT SUM(season) FROM table_name_74 WHERE series = "formula renault 3.5 series" AND races < 7</s>
CREATE TABLE table_12807904_3 (drawn VARCHAR, points VARCHAR)
SELECT drawn FROM table_12807904_3 WHERE points = "76"
HOW MANY GAMES WERE TIED AT 76?
<s>[INST]HOW MANY GAMES WERE TIED AT 76? Context: CREATE TABLE table_12807904_3 (drawn VARCHAR, points VARCHAR)[/INST]SELECT drawn FROM table_12807904_3 WHERE points = "76"</s>
CREATE TABLE table_2248784_4 (country VARCHAR)
SELECT 2011 AS _gdp__ppp__billions_of_usd FROM table_2248784_4 WHERE country = "Iraq"
What 2011 GDP (PPP) billions of USD does Iraq have?
<s>[INST]What 2011 GDP (PPP) billions of USD does Iraq have? Context: CREATE TABLE table_2248784_4 (country VARCHAR)[/INST]SELECT 2011 AS _gdp__ppp__billions_of_usd FROM table_2248784_4 WHERE country = "Iraq"</s>
CREATE TABLE table_name_21 (ties INTEGER, games_played VARCHAR, wins VARCHAR, goals_against VARCHAR)
SELECT AVG(ties) FROM table_name_21 WHERE wins < 5 AND goals_against > 37 AND games_played < 8
For teams with fewer than 5 wins, goals against over 37, and fewer than 8 games played, what is the average number of ties?
<s>[INST]For teams with fewer than 5 wins, goals against over 37, and fewer than 8 games played, what is the average number of ties? Context: CREATE TABLE table_name_21 (ties INTEGER, games_played VARCHAR, wins VARCHAR, goals_against VARCHAR)[/INST]SELECT AVG(ties) FROM table_name_21 WHERE wins < 5 AND goals_against > 37 AND games_played < 8</s>
CREATE TABLE mission (Code VARCHAR, Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Name VARCHAR, Ship_ID VARCHAR)
SELECT T1.Code, T1.Fate, T2.Name FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_ID
Show codes and fates of missions, and names of ships involved.
<s>[INST]Show codes and fates of missions, and names of ships involved. Context: CREATE TABLE mission (Code VARCHAR, Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Name VARCHAR, Ship_ID VARCHAR)[/INST]SELECT T1.Code, T1.Fate, T2.Name FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_ID</s>
CREATE TABLE table_name_71 (date VARCHAR, status VARCHAR, against VARCHAR)
SELECT date FROM table_name_71 WHERE status = "five nations" AND against = 7
When has a Status of five nations, and a Against of 7?
<s>[INST]When has a Status of five nations, and a Against of 7? Context: CREATE TABLE table_name_71 (date VARCHAR, status VARCHAR, against VARCHAR)[/INST]SELECT date FROM table_name_71 WHERE status = "five nations" AND against = 7</s>
CREATE TABLE table_name_83 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_83 WHERE player = "howard wood"
What School/Club Team is Player Howard Wood from?
<s>[INST]What School/Club Team is Player Howard Wood from? Context: CREATE TABLE table_name_83 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_83 WHERE player = "howard wood"</s>
CREATE TABLE table_name_62 (losses INTEGER, year VARCHAR, finish VARCHAR, percentage VARCHAR, wins VARCHAR)
SELECT MAX(losses) FROM table_name_62 WHERE percentage > 0.461 AND wins > 86 AND finish = "2nd" AND year = 1953
What is the most losses that the Royals had when they had a percentage over 0.461, won over 86 games, and finished 2nd in 1953?
<s>[INST]What is the most losses that the Royals had when they had a percentage over 0.461, won over 86 games, and finished 2nd in 1953? Context: CREATE TABLE table_name_62 (losses INTEGER, year VARCHAR, finish VARCHAR, percentage VARCHAR, wins VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_62 WHERE percentage > 0.461 AND wins > 86 AND finish = "2nd" AND year = 1953</s>
CREATE TABLE table_19982699_1 (_number VARCHAR, director VARCHAR)
SELECT COUNT(_number) FROM table_19982699_1 WHERE director = "Robert Young"
How many total number have robert young as the director?
<s>[INST]How many total number have robert young as the director? Context: CREATE TABLE table_19982699_1 (_number VARCHAR, director VARCHAR)[/INST]SELECT COUNT(_number) FROM table_19982699_1 WHERE director = "Robert Young"</s>
CREATE TABLE table_name_88 (outcome VARCHAR, year VARCHAR, score VARCHAR)
SELECT outcome FROM table_name_88 WHERE year > 2003 AND score = "6–0, 6–3"
What is the Outcome of the Match played after 2003 with a Score of 6–0, 6–3?
<s>[INST]What is the Outcome of the Match played after 2003 with a Score of 6–0, 6–3? Context: CREATE TABLE table_name_88 (outcome VARCHAR, year VARCHAR, score VARCHAR)[/INST]SELECT outcome FROM table_name_88 WHERE year > 2003 AND score = "6–0, 6–3"</s>
CREATE TABLE table_27114708_2 (date_of_appointment VARCHAR, replaced_by VARCHAR)
SELECT date_of_appointment FROM table_27114708_2 WHERE replaced_by = "Alfredo Aglietti"
Please mention those appointment dates those are replaced by alfredo aglietti
<s>[INST]Please mention those appointment dates those are replaced by alfredo aglietti Context: CREATE TABLE table_27114708_2 (date_of_appointment VARCHAR, replaced_by VARCHAR)[/INST]SELECT date_of_appointment FROM table_27114708_2 WHERE replaced_by = "Alfredo Aglietti"</s>
CREATE TABLE member (Name VARCHAR, Country VARCHAR)
SELECT Name FROM member WHERE Country = "United States" OR Country = "Canada"
Show the names of members whose country is "United States" or "Canada".
<s>[INST]Show the names of members whose country is "United States" or "Canada". Context: CREATE TABLE member (Name VARCHAR, Country VARCHAR)[/INST]SELECT Name FROM member WHERE Country = "United States" OR Country = "Canada"</s>
CREATE TABLE table_24587026_1 (races INTEGER, team VARCHAR)
SELECT MIN(races) FROM table_24587026_1 WHERE team = "Carlin"
Name the least races for carlin
<s>[INST]Name the least races for carlin Context: CREATE TABLE table_24587026_1 (races INTEGER, team VARCHAR)[/INST]SELECT MIN(races) FROM table_24587026_1 WHERE team = "Carlin"</s>
CREATE TABLE table_name_3 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR)
SELECT MIN(against) FROM table_name_3 WHERE losses = 4 AND draws = 0 AND wins > 14
Name the lowest against for when wins are greater than 14, draws is 0 and losses are 4
<s>[INST]Name the lowest against for when wins are greater than 14, draws is 0 and losses are 4 Context: CREATE TABLE table_name_3 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR)[/INST]SELECT MIN(against) FROM table_name_3 WHERE losses = 4 AND draws = 0 AND wins > 14</s>
CREATE TABLE table_name_22 (average_cards_a_game INTEGER, season VARCHAR, red_cards VARCHAR)
SELECT MIN(average_cards_a_game) FROM table_name_22 WHERE season = "2004/2005" AND red_cards > 3
Which Average Cards a game has a Season of 2004/2005, and a Red Cards larger than 3?
<s>[INST]Which Average Cards a game has a Season of 2004/2005, and a Red Cards larger than 3? Context: CREATE TABLE table_name_22 (average_cards_a_game INTEGER, season VARCHAR, red_cards VARCHAR)[/INST]SELECT MIN(average_cards_a_game) FROM table_name_22 WHERE season = "2004/2005" AND red_cards > 3</s>
CREATE TABLE instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR)
SELECT name FROM instructor WHERE salary > (SELECT MAX(salary) FROM instructor WHERE dept_name = 'Biology')
Find the names of all instructors whose salary is greater than the salary of all instructors in the Biology department.
<s>[INST]Find the names of all instructors whose salary is greater than the salary of all instructors in the Biology department. Context: CREATE TABLE instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR)[/INST]SELECT name FROM instructor WHERE salary > (SELECT MAX(salary) FROM instructor WHERE dept_name = 'Biology')</s>
CREATE TABLE table_name_68 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_68 WHERE date = "may 1"
Name the total number in attendance for may 1
<s>[INST]Name the total number in attendance for may 1 Context: CREATE TABLE table_name_68 (attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_68 WHERE date = "may 1"</s>
CREATE TABLE table_19874169_3 (frequency VARCHAR, branding VARCHAR)
SELECT frequency FROM table_19874169_3 WHERE branding = "YES! FM 101.1"
From brand Yes! FM 101.1, what was the frequency?
<s>[INST]From brand Yes! FM 101.1, what was the frequency? Context: CREATE TABLE table_19874169_3 (frequency VARCHAR, branding VARCHAR)[/INST]SELECT frequency FROM table_19874169_3 WHERE branding = "YES! FM 101.1"</s>
CREATE TABLE table_name_46 (gold VARCHAR, total INTEGER)
SELECT gold FROM table_name_46 WHERE total > 33
Name the gold with total larger than 33
<s>[INST]Name the gold with total larger than 33 Context: CREATE TABLE table_name_46 (gold VARCHAR, total INTEGER)[/INST]SELECT gold FROM table_name_46 WHERE total > 33</s>
CREATE TABLE table_2127933_3 (outcome VARCHAR, opponents VARCHAR)
SELECT outcome FROM table_2127933_3 WHERE opponents = "Bill Tilden Florence Ballin"
What were the outcomes of matches with bill tilden florence ballin as opponents?
<s>[INST]What were the outcomes of matches with bill tilden florence ballin as opponents? Context: CREATE TABLE table_2127933_3 (outcome VARCHAR, opponents VARCHAR)[/INST]SELECT outcome FROM table_2127933_3 WHERE opponents = "Bill Tilden Florence Ballin"</s>
CREATE TABLE table_16072430_1 (air_date VARCHAR, weekly_rank VARCHAR)
SELECT COUNT(air_date) FROM table_16072430_1 WHERE weekly_rank = "73"
What broadcast dates have a weekly rank of 73?
<s>[INST]What broadcast dates have a weekly rank of 73? Context: CREATE TABLE table_16072430_1 (air_date VARCHAR, weekly_rank VARCHAR)[/INST]SELECT COUNT(air_date) FROM table_16072430_1 WHERE weekly_rank = "73"</s>
CREATE TABLE table_11869952_1 (institutional_authority VARCHAR, rocket_launch VARCHAR)
SELECT institutional_authority FROM table_11869952_1 WHERE rocket_launch = "Shahpar-2"
Which authority has a rocket launch called shahpar-2?
<s>[INST]Which authority has a rocket launch called shahpar-2? Context: CREATE TABLE table_11869952_1 (institutional_authority VARCHAR, rocket_launch VARCHAR)[/INST]SELECT institutional_authority FROM table_11869952_1 WHERE rocket_launch = "Shahpar-2"</s>
CREATE TABLE table_12896884_1 (enrollment INTEGER, football_stadium VARCHAR)
SELECT MAX(enrollment) FROM table_12896884_1 WHERE football_stadium = "Foote Field"
What is the enrollment for Foote Field?
<s>[INST]What is the enrollment for Foote Field? Context: CREATE TABLE table_12896884_1 (enrollment INTEGER, football_stadium VARCHAR)[/INST]SELECT MAX(enrollment) FROM table_12896884_1 WHERE football_stadium = "Foote Field"</s>
CREATE TABLE table_22753439_1 (margin VARCHAR, winner VARCHAR)
SELECT COUNT(margin) FROM table_22753439_1 WHERE winner = "S. Singaravadivel"
How many margins have a winner of S. Singaravadivel?
<s>[INST]How many margins have a winner of S. Singaravadivel? Context: CREATE TABLE table_22753439_1 (margin VARCHAR, winner VARCHAR)[/INST]SELECT COUNT(margin) FROM table_22753439_1 WHERE winner = "S. Singaravadivel"</s>
CREATE TABLE table_name_30 (team VARCHAR, high_points VARCHAR)
SELECT team FROM table_name_30 WHERE high_points = "raymond felton (26)"
Which team has the high points of Raymond Felton (26)?
<s>[INST]Which team has the high points of Raymond Felton (26)? Context: CREATE TABLE table_name_30 (team VARCHAR, high_points VARCHAR)[/INST]SELECT team FROM table_name_30 WHERE high_points = "raymond felton (26)"</s>
CREATE TABLE table_name_50 (constructor VARCHAR, chassis VARCHAR)
SELECT constructor FROM table_name_50 WHERE chassis = "196"
Who is the constructor of the 196 chassis?
<s>[INST]Who is the constructor of the 196 chassis? Context: CREATE TABLE table_name_50 (constructor VARCHAR, chassis VARCHAR)[/INST]SELECT constructor FROM table_name_50 WHERE chassis = "196"</s>
CREATE TABLE table_name_81 (total INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT MIN(total) FROM table_name_81 WHERE gold < 2 AND rank = 4 AND bronze < 1
What is the least total that has fewer golds than 2, a higher rank than 4 and fewer bronzes than 1?
<s>[INST]What is the least total that has fewer golds than 2, a higher rank than 4 and fewer bronzes than 1? Context: CREATE TABLE table_name_81 (total INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT MIN(total) FROM table_name_81 WHERE gold < 2 AND rank = 4 AND bronze < 1</s>
CREATE TABLE table_24466855_1 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_24466855_1 WHERE written_by = "Jay J. Demopoulos"
Name the air date for jay j. demopoulos
<s>[INST]Name the air date for jay j. demopoulos Context: CREATE TABLE table_24466855_1 (original_air_date VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_24466855_1 WHERE written_by = "Jay J. Demopoulos"</s>
CREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR)
SELECT school FROM table_11677100_18 WHERE hometown = "Montvale, NJ"
What school did the player attend who's hometown was Montvale, NJ?
<s>[INST]What school did the player attend who's hometown was Montvale, NJ? Context: CREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR)[/INST]SELECT school FROM table_11677100_18 WHERE hometown = "Montvale, NJ"</s>
CREATE TABLE table_name_86 (launched VARCHAR, fleet VARCHAR, number VARCHAR)
SELECT launched FROM table_name_86 WHERE fleet = "black sea" AND number = "l6"
when was the number l6, with a fleet of black sea, launched?
<s>[INST]when was the number l6, with a fleet of black sea, launched? Context: CREATE TABLE table_name_86 (launched VARCHAR, fleet VARCHAR, number VARCHAR)[/INST]SELECT launched FROM table_name_86 WHERE fleet = "black sea" AND number = "l6"</s>
CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_20 WHERE date = "april 6"
Name the record for april 6
<s>[INST]Name the record for april 6 Context: CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_20 WHERE date = "april 6"</s>
CREATE TABLE table_20942925_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__millions_ FROM table_20942925_1 WHERE written_by = "Kevin Curran"
What are all values for U.S. viewers(millions) with Kevin Curran as a writer?
<s>[INST]What are all values for U.S. viewers(millions) with Kevin Curran as a writer? Context: CREATE TABLE table_20942925_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_20942925_1 WHERE written_by = "Kevin Curran"</s>
CREATE TABLE table_name_97 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR)
SELECT COUNT(loss) FROM table_name_97 WHERE avg_g = "3.6" AND gain > 51
How many yards lost by the player with more gained than 51 and average/g of 3.6?
<s>[INST]How many yards lost by the player with more gained than 51 and average/g of 3.6? Context: CREATE TABLE table_name_97 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR)[/INST]SELECT COUNT(loss) FROM table_name_97 WHERE avg_g = "3.6" AND gain > 51</s>
CREATE TABLE table_name_23 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)
SELECT opponent_in_the_final FROM table_name_23 WHERE surface = "clay" AND score = "6–4, 6–4"
In the surface of clay who was the opponent in the game resulting in a score of 6–4, 6–4?
<s>[INST]In the surface of clay who was the opponent in the game resulting in a score of 6–4, 6–4? Context: CREATE TABLE table_name_23 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_23 WHERE surface = "clay" AND score = "6–4, 6–4"</s>
CREATE TABLE table_name_26 (height__m_ INTEGER, prominence__m_ VARCHAR)
SELECT MIN(height__m_) FROM table_name_26 WHERE prominence__m_ = 2 OFFSET 349
What is the smallest height with a prominence of 2,349?
<s>[INST]What is the smallest height with a prominence of 2,349? Context: CREATE TABLE table_name_26 (height__m_ INTEGER, prominence__m_ VARCHAR)[/INST]SELECT MIN(height__m_) FROM table_name_26 WHERE prominence__m_ = 2 OFFSET 349</s>
CREATE TABLE table_name_24 (wednesday VARCHAR, day_3 VARCHAR)
SELECT wednesday FROM table_name_24 WHERE day_3 = "math"
What is the Wednesday when day 3 is math?
<s>[INST]What is the Wednesday when day 3 is math? Context: CREATE TABLE table_name_24 (wednesday VARCHAR, day_3 VARCHAR)[/INST]SELECT wednesday FROM table_name_24 WHERE day_3 = "math"</s>
CREATE TABLE table_1341663_19 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341663_19 WHERE incumbent = "Dave Treen"
What other cadidate ran against Dave Treen?
<s>[INST]What other cadidate ran against Dave Treen? Context: CREATE TABLE table_1341663_19 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341663_19 WHERE incumbent = "Dave Treen"</s>
CREATE TABLE table_name_76 (championships INTEGER, club VARCHAR)
SELECT MAX(championships) FROM table_name_76 WHERE club = "erie seawolves"
Name the most championships for club of erie seawolves
<s>[INST]Name the most championships for club of erie seawolves Context: CREATE TABLE table_name_76 (championships INTEGER, club VARCHAR)[/INST]SELECT MAX(championships) FROM table_name_76 WHERE club = "erie seawolves"</s>
CREATE TABLE table_26218783_7 (points INTEGER, player VARCHAR)
SELECT MIN(points) AS won FROM table_26218783_7 WHERE player = "Victoria Azarenka"
What is the lowest points won from player victoria azarenka?
<s>[INST]What is the lowest points won from player victoria azarenka? Context: CREATE TABLE table_26218783_7 (points INTEGER, player VARCHAR)[/INST]SELECT MIN(points) AS won FROM table_26218783_7 WHERE player = "Victoria Azarenka"</s>
CREATE TABLE table_name_25 (premierships VARCHAR, league VARCHAR)
SELECT premierships FROM table_name_25 WHERE league = "commonwealth bank trophy"
How many premierships for the commonwealth bank trophy league?
<s>[INST]How many premierships for the commonwealth bank trophy league? Context: CREATE TABLE table_name_25 (premierships VARCHAR, league VARCHAR)[/INST]SELECT premierships FROM table_name_25 WHERE league = "commonwealth bank trophy"</s>
CREATE TABLE party_forms (form_id VARCHAR); CREATE TABLE forms (form_name VARCHAR, form_id VARCHAR)
SELECT t1.form_name FROM forms AS t1 JOIN party_forms AS t2 ON t1.form_id = t2.form_id GROUP BY t2.form_id ORDER BY COUNT(*) DESC LIMIT 1
Find the name of the most popular party form.
<s>[INST]Find the name of the most popular party form. Context: CREATE TABLE party_forms (form_id VARCHAR); CREATE TABLE forms (form_name VARCHAR, form_id VARCHAR)[/INST]SELECT t1.form_name FROM forms AS t1 JOIN party_forms AS t2 ON t1.form_id = t2.form_id GROUP BY t2.form_id ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_20745685_1 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_20745685_1 WHERE date = "February 28, 1991"
Who was the opponent on February 28, 1991
<s>[INST]Who was the opponent on February 28, 1991 Context: CREATE TABLE table_20745685_1 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_20745685_1 WHERE date = "February 28, 1991"</s>
CREATE TABLE table_name_93 (races INTEGER, pole VARCHAR, season VARCHAR)
SELECT MIN(races) FROM table_name_93 WHERE pole < 2 AND season = "2007"
WHAT ARE THE RACES WITH A POLE SMALLER THAN 2 IN 2007?
<s>[INST]WHAT ARE THE RACES WITH A POLE SMALLER THAN 2 IN 2007? Context: CREATE TABLE table_name_93 (races INTEGER, pole VARCHAR, season VARCHAR)[/INST]SELECT MIN(races) FROM table_name_93 WHERE pole < 2 AND season = "2007"</s>
CREATE TABLE table_name_50 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_50 WHERE away_team = "north melbourne"
What home team played North Melbourne?
<s>[INST]What home team played North Melbourne? Context: CREATE TABLE table_name_50 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_50 WHERE away_team = "north melbourne"</s>
CREATE TABLE table_1805191_14 (district VARCHAR, first_elected VARCHAR)
SELECT district FROM table_1805191_14 WHERE first_elected = 1986
What is the district when the first elected was in 1986?
<s>[INST]What is the district when the first elected was in 1986? Context: CREATE TABLE table_1805191_14 (district VARCHAR, first_elected VARCHAR)[/INST]SELECT district FROM table_1805191_14 WHERE first_elected = 1986</s>
CREATE TABLE table_name_93 (updated_in_past_30_days VARCHAR, registration VARCHAR)
SELECT updated_in_past_30_days FROM table_name_93 WHERE registration = "open to people 13 and over"
What is Updated In Past 30 Days, when Registration is "Open to people 13 and over"?
<s>[INST]What is Updated In Past 30 Days, when Registration is "Open to people 13 and over"? Context: CREATE TABLE table_name_93 (updated_in_past_30_days VARCHAR, registration VARCHAR)[/INST]SELECT updated_in_past_30_days FROM table_name_93 WHERE registration = "open to people 13 and over"</s>
CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_74 WHERE home_team = "peterborough united"
What date did the home game for peterborough united take place?
<s>[INST]What date did the home game for peterborough united take place? Context: CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_74 WHERE home_team = "peterborough united"</s>
CREATE TABLE table_name_24 (week_1 VARCHAR, week_3 VARCHAR, week_8 VARCHAR, week_9 VARCHAR)
SELECT week_1 FROM table_name_24 WHERE week_8 = "not eligible" AND week_9 = "no nominations" AND week_3 = "cyril"
What kind of Week 1 has a Week 8 of not eligible, and a Week 9 of no nominations, and a Week 3 of cyril? Question 3
<s>[INST]What kind of Week 1 has a Week 8 of not eligible, and a Week 9 of no nominations, and a Week 3 of cyril? Question 3 Context: CREATE TABLE table_name_24 (week_1 VARCHAR, week_3 VARCHAR, week_8 VARCHAR, week_9 VARCHAR)[/INST]SELECT week_1 FROM table_name_24 WHERE week_8 = "not eligible" AND week_9 = "no nominations" AND week_3 = "cyril"</s>
CREATE TABLE table_name_93 (imperfect_stem VARCHAR, future_stem VARCHAR)
SELECT imperfect_stem FROM table_name_93 WHERE future_stem = "ikusiko"
What is the imperfect stem for the word that has a future stem of ikusiko?
<s>[INST]What is the imperfect stem for the word that has a future stem of ikusiko? Context: CREATE TABLE table_name_93 (imperfect_stem VARCHAR, future_stem VARCHAR)[/INST]SELECT imperfect_stem FROM table_name_93 WHERE future_stem = "ikusiko"</s>
CREATE TABLE table_29585196_1 (no_in_series INTEGER, directed_by VARCHAR)
SELECT MIN(no_in_series) FROM table_29585196_1 WHERE directed_by = "Winrich Kolbe"
What episode number in the series was directed by Winrich Kolbe?
<s>[INST]What episode number in the series was directed by Winrich Kolbe? Context: CREATE TABLE table_29585196_1 (no_in_series INTEGER, directed_by VARCHAR)[/INST]SELECT MIN(no_in_series) FROM table_29585196_1 WHERE directed_by = "Winrich Kolbe"</s>
CREATE TABLE table_name_3 (notes VARCHAR, film VARCHAR)
SELECT notes FROM table_name_3 WHERE film = "touch & go"
What notes does the film Touch & go have?
<s>[INST]What notes does the film Touch & go have? Context: CREATE TABLE table_name_3 (notes VARCHAR, film VARCHAR)[/INST]SELECT notes FROM table_name_3 WHERE film = "touch & go"</s>
CREATE TABLE table_name_11 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
SELECT replaced_by FROM table_name_11 WHERE date_of_vacancy = "3 march 2009"
Who was hired to fill the spot that became vacant on 3 March 2009?
<s>[INST]Who was hired to fill the spot that became vacant on 3 March 2009? Context: CREATE TABLE table_name_11 (replaced_by VARCHAR, date_of_vacancy VARCHAR)[/INST]SELECT replaced_by FROM table_name_11 WHERE date_of_vacancy = "3 march 2009"</s>
CREATE TABLE table_2182170_1 (car_s_ VARCHAR, driver_s_ VARCHAR)
SELECT car_s_ FROM table_2182170_1 WHERE driver_s_ = "Jeff Fuller"
What type of car does Jeff Fuller drive?
<s>[INST]What type of car does Jeff Fuller drive? Context: CREATE TABLE table_2182170_1 (car_s_ VARCHAR, driver_s_ VARCHAR)[/INST]SELECT car_s_ FROM table_2182170_1 WHERE driver_s_ = "Jeff Fuller"</s>
CREATE TABLE table_11764007_2 (member VARCHAR, week_sent_to_third_island VARCHAR)
SELECT member FROM table_11764007_2 WHERE week_sent_to_third_island = "1"
Who was sent to the third island in week 1?
<s>[INST]Who was sent to the third island in week 1? Context: CREATE TABLE table_11764007_2 (member VARCHAR, week_sent_to_third_island VARCHAR)[/INST]SELECT member FROM table_11764007_2 WHERE week_sent_to_third_island = "1"</s>
CREATE TABLE table_10992_3 (city_district__stadtteil_ VARCHAR, no VARCHAR)
SELECT city_district__stadtteil_ FROM table_10992_3 WHERE no = "47"
What is the city where the number is 47?
<s>[INST]What is the city where the number is 47? Context: CREATE TABLE table_10992_3 (city_district__stadtteil_ VARCHAR, no VARCHAR)[/INST]SELECT city_district__stadtteil_ FROM table_10992_3 WHERE no = "47"</s>
CREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT COUNT(total) FROM table_name_73 WHERE silver = 0 AND bronze = 1 AND rank < 3
How many total show when silver is 0, bronze is 1, and the rank is less than 3?
<s>[INST]How many total show when silver is 0, bronze is 1, and the rank is less than 3? Context: CREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_73 WHERE silver = 0 AND bronze = 1 AND rank < 3</s>
CREATE TABLE table_name_71 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_71 WHERE winning_score = –10(69 - 68 - 74 - 67 = 278)
Who were the runner(s)-up when the winning score was –10 (69-68-74-67=278)?
<s>[INST]Who were the runner(s)-up when the winning score was –10 (69-68-74-67=278)? Context: CREATE TABLE table_name_71 (margin_of_victory VARCHAR, winning_score VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_71 WHERE winning_score = –10(69 - 68 - 74 - 67 = 278)</s>
CREATE TABLE table_name_56 (status VARCHAR)
SELECT status FROM table_name_56 WHERE "role" = "role"
What status has a role?
<s>[INST]What status has a role? Context: CREATE TABLE table_name_56 (status VARCHAR)[/INST]SELECT status FROM table_name_56 WHERE "role" = "role"</s>
CREATE TABLE table_name_59 (name VARCHAR, overall VARCHAR, round VARCHAR)
SELECT name FROM table_name_59 WHERE overall > 132 AND round = 12
What is Name, when Overall is greater than 132, and when Round is 12?
<s>[INST]What is Name, when Overall is greater than 132, and when Round is 12? Context: CREATE TABLE table_name_59 (name VARCHAR, overall VARCHAR, round VARCHAR)[/INST]SELECT name FROM table_name_59 WHERE overall > 132 AND round = 12</s>
CREATE TABLE table_11562143_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT original_air_date FROM table_11562143_1 WHERE us_viewers__million_ = "9.82"
What date got 9.82 million viewers?
<s>[INST]What date got 9.82 million viewers? Context: CREATE TABLE table_11562143_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT original_air_date FROM table_11562143_1 WHERE us_viewers__million_ = "9.82"</s>
CREATE TABLE table_name_72 (race VARCHAR, pole_position VARCHAR, circuit VARCHAR)
SELECT race FROM table_name_72 WHERE pole_position = "jim clark" AND circuit = "monaco"
At what race does jim clark has a Pole position on the Circuit of monaco?
<s>[INST]At what race does jim clark has a Pole position on the Circuit of monaco? Context: CREATE TABLE table_name_72 (race VARCHAR, pole_position VARCHAR, circuit VARCHAR)[/INST]SELECT race FROM table_name_72 WHERE pole_position = "jim clark" AND circuit = "monaco"</s>
CREATE TABLE table_name_27 (attendance INTEGER, venue VARCHAR, round VARCHAR)
SELECT MIN(attendance) FROM table_name_27 WHERE venue = "h" AND round = "r2"
What is the lowest attendance at Venue H in Round R2?
<s>[INST]What is the lowest attendance at Venue H in Round R2? Context: CREATE TABLE table_name_27 (attendance INTEGER, venue VARCHAR, round VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_27 WHERE venue = "h" AND round = "r2"</s>
CREATE TABLE table_23184448_4 (assists VARCHAR, minutes VARCHAR)
SELECT COUNT(assists) FROM table_23184448_4 WHERE minutes = 321
Name the number of assists for 321 minutes
<s>[INST]Name the number of assists for 321 minutes Context: CREATE TABLE table_23184448_4 (assists VARCHAR, minutes VARCHAR)[/INST]SELECT COUNT(assists) FROM table_23184448_4 WHERE minutes = 321</s>
CREATE TABLE table_2231241_1 (seat_no_1 VARCHAR, mayor VARCHAR)
SELECT seat_no_1 FROM table_2231241_1 WHERE mayor = "John J. Seguier"
Who is seat no 1 when the mayor was john j. seguier
<s>[INST]Who is seat no 1 when the mayor was john j. seguier Context: CREATE TABLE table_2231241_1 (seat_no_1 VARCHAR, mayor VARCHAR)[/INST]SELECT seat_no_1 FROM table_2231241_1 WHERE mayor = "John J. Seguier"</s>
CREATE TABLE table_19534677_1 (creators VARCHAR, volume_title VARCHAR)
SELECT COUNT(creators) FROM table_19534677_1 WHERE volume_title = "Flash of Two Worlds"
Name the umbr of creators for flash of two worlds
<s>[INST]Name the umbr of creators for flash of two worlds Context: CREATE TABLE table_19534677_1 (creators VARCHAR, volume_title VARCHAR)[/INST]SELECT COUNT(creators) FROM table_19534677_1 WHERE volume_title = "Flash of Two Worlds"</s>
CREATE TABLE table_26842217_12 (home_team VARCHAR, broadcast VARCHAR)
SELECT home_team FROM table_26842217_12 WHERE broadcast = "Big East Network"
Who was the home team in the game broadcast on the Big East Network?
<s>[INST]Who was the home team in the game broadcast on the Big East Network? Context: CREATE TABLE table_26842217_12 (home_team VARCHAR, broadcast VARCHAR)[/INST]SELECT home_team FROM table_26842217_12 WHERE broadcast = "Big East Network"</s>
CREATE TABLE table_name_38 (date VARCHAR, result VARCHAR, score VARCHAR)
SELECT date FROM table_name_38 WHERE result = "2–0" AND score = "2 – 0"
When has Result of 2–0, and a Score of 2 – 0?
<s>[INST]When has Result of 2–0, and a Score of 2 – 0? Context: CREATE TABLE table_name_38 (date VARCHAR, result VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_38 WHERE result = "2–0" AND score = "2 – 0"</s>
CREATE TABLE table_name_7 (api_level INTEGER, distribution VARCHAR)
SELECT AVG(api_level) FROM table_name_7 WHERE distribution = "10.6%"
with Distribution of 10.6% what is the average api level?
<s>[INST]with Distribution of 10.6% what is the average api level? Context: CREATE TABLE table_name_7 (api_level INTEGER, distribution VARCHAR)[/INST]SELECT AVG(api_level) FROM table_name_7 WHERE distribution = "10.6%"</s>
CREATE TABLE table_name_85 (round VARCHAR, venue VARCHAR)
SELECT round FROM table_name_85 WHERE venue = "villa park"
What was the round for Villa Park?
<s>[INST]What was the round for Villa Park? Context: CREATE TABLE table_name_85 (round VARCHAR, venue VARCHAR)[/INST]SELECT round FROM table_name_85 WHERE venue = "villa park"</s>
CREATE TABLE table_23685152_2 (week INTEGER, attendance VARCHAR)
SELECT MAX(week) FROM table_23685152_2 WHERE attendance = 20114
During what week was the game attended by 20114 people?
<s>[INST]During what week was the game attended by 20114 people? Context: CREATE TABLE table_23685152_2 (week INTEGER, attendance VARCHAR)[/INST]SELECT MAX(week) FROM table_23685152_2 WHERE attendance = 20114</s>
CREATE TABLE Faculty (Rank VARCHAR, building VARCHAR)
SELECT COUNT(*) FROM Faculty WHERE Rank = "Professor" AND building = "NEB"
How many Professors are in building NEB?
<s>[INST]How many Professors are in building NEB? Context: CREATE TABLE Faculty (Rank VARCHAR, building VARCHAR)[/INST]SELECT COUNT(*) FROM Faculty WHERE Rank = "Professor" AND building = "NEB"</s>
CREATE TABLE station (LOCATION VARCHAR)
SELECT DISTINCT LOCATION FROM station
What are all locations of train stations?
<s>[INST]What are all locations of train stations? Context: CREATE TABLE station (LOCATION VARCHAR)[/INST]SELECT DISTINCT LOCATION FROM station</s>
CREATE TABLE table_name_34 (wins VARCHAR, losses VARCHAR)
SELECT wins FROM table_name_34 WHERE losses = "ipl"
Which win has a loss of IPL?
<s>[INST]Which win has a loss of IPL? Context: CREATE TABLE table_name_34 (wins VARCHAR, losses VARCHAR)[/INST]SELECT wins FROM table_name_34 WHERE losses = "ipl"</s>
CREATE TABLE table_name_56 (grid INTEGER, constructor VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_56 WHERE constructor = "osella - alfa romeo" AND laps > 61
What is the high grid for osella - alfa romeo, and a Laps larger than 61?
<s>[INST]What is the high grid for osella - alfa romeo, and a Laps larger than 61? Context: CREATE TABLE table_name_56 (grid INTEGER, constructor VARCHAR, laps VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_56 WHERE constructor = "osella - alfa romeo" AND laps > 61</s>
CREATE TABLE table_name_87 (opponents_in_the_final VARCHAR, partner VARCHAR)
SELECT opponents_in_the_final FROM table_name_87 WHERE partner = "christina wheeler"
Who were the opponents during the final when christina wheeler was partner?
<s>[INST]Who were the opponents during the final when christina wheeler was partner? Context: CREATE TABLE table_name_87 (opponents_in_the_final VARCHAR, partner VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_87 WHERE partner = "christina wheeler"</s>
CREATE TABLE table_name_7 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_7 WHERE to_par = "–1" AND player = "mick soli"
Which Score has a To par of –1, and a Player of mick soli?
<s>[INST]Which Score has a To par of –1, and a Player of mick soli? Context: CREATE TABLE table_name_7 (score VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_7 WHERE to_par = "–1" AND player = "mick soli"</s>
CREATE TABLE table_27547668_3 (_number INTEGER)
SELECT MIN(_number) FROM table_27547668_3
What is the smallest numbered episode in the series listed?
<s>[INST]What is the smallest numbered episode in the series listed? Context: CREATE TABLE table_27547668_3 (_number INTEGER)[/INST]SELECT MIN(_number) FROM table_27547668_3</s>
CREATE TABLE table_name_1 (hand_guards VARCHAR, barrel_profile VARCHAR, rear_sight VARCHAR)
SELECT hand_guards FROM table_name_1 WHERE barrel_profile = "a2" AND rear_sight = "weaver"
Which Hand guards has a Barrel profile of a2 and a Rear sight of weaver?
<s>[INST]Which Hand guards has a Barrel profile of a2 and a Rear sight of weaver? Context: CREATE TABLE table_name_1 (hand_guards VARCHAR, barrel_profile VARCHAR, rear_sight VARCHAR)[/INST]SELECT hand_guards FROM table_name_1 WHERE barrel_profile = "a2" AND rear_sight = "weaver"</s>
CREATE TABLE table_name_33 (games_played VARCHAR, draws VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR, loses VARCHAR)
SELECT COUNT(games_played) FROM table_name_33 WHERE goals_scored < 40 AND loses = 9 AND goals_conceded = 39 AND draws > 2
What is the total number of games played of the club with less than 40 goals scored, 9 losses, 39 goals conceded, and more than 2 draws?
<s>[INST]What is the total number of games played of the club with less than 40 goals scored, 9 losses, 39 goals conceded, and more than 2 draws? Context: CREATE TABLE table_name_33 (games_played VARCHAR, draws VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR, loses VARCHAR)[/INST]SELECT COUNT(games_played) FROM table_name_33 WHERE goals_scored < 40 AND loses = 9 AND goals_conceded = 39 AND draws > 2</s>
CREATE TABLE table_27462177_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__millions_ FROM table_27462177_1 WHERE written_by = "Jack Sanderson"
How many millions of US viewers watched the episode written by Jack Sanderson?
<s>[INST]How many millions of US viewers watched the episode written by Jack Sanderson? Context: CREATE TABLE table_27462177_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_27462177_1 WHERE written_by = "Jack Sanderson"</s>