context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Device_ID VARCHAR, Shop_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR)
SELECT T3.Shop_Name, T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID = T3.Shop_ID
Show names of shops and the carriers of devices they have in stock.
<s>[INST]Show names of shops and the carriers of devices they have in stock. Context: CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Device_ID VARCHAR, Shop_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR)[/INST]SELECT T3.Shop_Name, T2.Carrier FROM stock AS T1 JOIN devi...
CREATE TABLE table_name_61 (team_1 VARCHAR, agg VARCHAR)
SELECT team_1 FROM table_name_61 WHERE agg = "3-4"
Which teams had an aggregate score of 3-4?
<s>[INST]Which teams had an aggregate score of 3-4? Context: CREATE TABLE table_name_61 (team_1 VARCHAR, agg VARCHAR)[/INST]SELECT team_1 FROM table_name_61 WHERE agg = "3-4"</s>
CREATE TABLE table_name_31 (rowers VARCHAR, time VARCHAR)
SELECT rowers FROM table_name_31 WHERE time = "6:39.49"
Who are the Rowers with a Time of 6:39.49?
<s>[INST]Who are the Rowers with a Time of 6:39.49? Context: CREATE TABLE table_name_31 (rowers VARCHAR, time VARCHAR)[/INST]SELECT rowers FROM table_name_31 WHERE time = "6:39.49"</s>
CREATE TABLE table_name_26 (t__µm_ INTEGER, technology VARCHAR)
SELECT SUM(t__µm_) FROM table_name_26 WHERE technology = "mj"
What is the sum of t (µm), when Technology is MJ?
<s>[INST]What is the sum of t (µm), when Technology is MJ? Context: CREATE TABLE table_name_26 (t__µm_ INTEGER, technology VARCHAR)[/INST]SELECT SUM(t__µm_) FROM table_name_26 WHERE technology = "mj"</s>
CREATE TABLE table_21808535_1 (runner_up VARCHAR, date VARCHAR)
SELECT runner_up FROM table_21808535_1 WHERE date = "September 11"
Who was the runner-up on September 11?
<s>[INST]Who was the runner-up on September 11? Context: CREATE TABLE table_21808535_1 (runner_up VARCHAR, date VARCHAR)[/INST]SELECT runner_up FROM table_21808535_1 WHERE date = "September 11"</s>
CREATE TABLE table_name_89 (draw INTEGER, artist VARCHAR, points VARCHAR)
SELECT MIN(draw) FROM table_name_89 WHERE artist = "ketil stokkan" AND points < 44
What is the draw for the artist Ketil Stokkan which has less than 44 points?
<s>[INST]What is the draw for the artist Ketil Stokkan which has less than 44 points? Context: CREATE TABLE table_name_89 (draw INTEGER, artist VARCHAR, points VARCHAR)[/INST]SELECT MIN(draw) FROM table_name_89 WHERE artist = "ketil stokkan" AND points < 44</s>
CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR, points VARCHAR, game VARCHAR)
SELECT record FROM table_name_25 WHERE points > 54 AND game > 44 AND opponent = "dallas stars"
What's the record for a game past 44 against the Dallas Stars with more than 54 points?
<s>[INST]What's the record for a game past 44 against the Dallas Stars with more than 54 points? Context: CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR, points VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_25 WHERE points > 54 AND game > 44 AND opponent = "dallas stars"</s>
CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_60_74 VARCHAR)
SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_60_74 = "10,46%"
What is every value for % 20-39 if % 60-74 is 10,46%?
<s>[INST]What is every value for % 20-39 if % 60-74 is 10,46%? Context: CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_60_74 VARCHAR)[/INST]SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_60_74 = "10,46%"</s>
CREATE TABLE table_name_73 (hydroelectricity INTEGER, year VARCHAR, wind_power VARCHAR)
SELECT AVG(hydroelectricity) FROM table_name_73 WHERE year > 2011 AND wind_power < 13.333
In 2011 with a less than 13.333 wind power what is the mean hydroelectricity?
<s>[INST]In 2011 with a less than 13.333 wind power what is the mean hydroelectricity? Context: CREATE TABLE table_name_73 (hydroelectricity INTEGER, year VARCHAR, wind_power VARCHAR)[/INST]SELECT AVG(hydroelectricity) FROM table_name_73 WHERE year > 2011 AND wind_power < 13.333</s>
CREATE TABLE table_name_92 (meet VARCHAR, time VARCHAR)
SELECT meet FROM table_name_92 WHERE time = "2:15.93"
I want to meet that has a time 2:15.93
<s>[INST]I want to meet that has a time 2:15.93 Context: CREATE TABLE table_name_92 (meet VARCHAR, time VARCHAR)[/INST]SELECT meet FROM table_name_92 WHERE time = "2:15.93"</s>
CREATE TABLE table_name_98 (player VARCHAR, date VARCHAR)
SELECT player FROM table_name_98 WHERE date = "12-02-2003"
What player has a date of 12-02-2003?
<s>[INST]What player has a date of 12-02-2003? Context: CREATE TABLE table_name_98 (player VARCHAR, date VARCHAR)[/INST]SELECT player FROM table_name_98 WHERE date = "12-02-2003"</s>
CREATE TABLE table_name_56 (title VARCHAR, director VARCHAR, release_date VARCHAR)
SELECT title FROM table_name_56 WHERE director = "chuck jones" AND release_date = "1958-04-12"
Which title was directed by chuck jones and released on 1958-04-12?
<s>[INST]Which title was directed by chuck jones and released on 1958-04-12? Context: CREATE TABLE table_name_56 (title VARCHAR, director VARCHAR, release_date VARCHAR)[/INST]SELECT title FROM table_name_56 WHERE director = "chuck jones" AND release_date = "1958-04-12"</s>
CREATE TABLE table_2215159_2 (outcome VARCHAR, partner VARCHAR)
SELECT outcome FROM table_2215159_2 WHERE partner = "Rafael Osuna"
What was the outcome of the game when the partner is Rafael Osuna?
<s>[INST]What was the outcome of the game when the partner is Rafael Osuna? Context: CREATE TABLE table_2215159_2 (outcome VARCHAR, partner VARCHAR)[/INST]SELECT outcome FROM table_2215159_2 WHERE partner = "Rafael Osuna"</s>
CREATE TABLE table_12266757_1 (womens_singles VARCHAR, mens_doubles VARCHAR)
SELECT womens_singles FROM table_12266757_1 WHERE mens_doubles = "Stefan Karlsson Claes Nordin , BK Aura GBK"
Who was the womens singles winnerwhen the mens doubles were stefan karlsson claes nordin , bk aura gbk?
<s>[INST]Who was the womens singles winnerwhen the mens doubles were stefan karlsson claes nordin , bk aura gbk? Context: CREATE TABLE table_12266757_1 (womens_singles VARCHAR, mens_doubles VARCHAR)[/INST]SELECT womens_singles FROM table_12266757_1 WHERE mens_doubles = "Stefan Karlsson Claes Nordin , BK Aura GBK"</s>
CREATE TABLE Degree_Programs (department_id VARCHAR); CREATE TABLE Departments (department_name VARCHAR, department_id VARCHAR)
SELECT T2.department_name, T1.department_id FROM Degree_Programs AS T1 JOIN Departments AS T2 ON T1.department_id = T2.department_id GROUP BY T1.department_id ORDER BY COUNT(*) DESC LIMIT 1
Which department offers the most number of degrees? List department name and id.
<s>[INST]Which department offers the most number of degrees? List department name and id. Context: CREATE TABLE Degree_Programs (department_id VARCHAR); CREATE TABLE Departments (department_name VARCHAR, department_id VARCHAR)[/INST]SELECT T2.department_name, T1.department_id FROM Degree_Programs AS T1 JOIN Departments...
CREATE TABLE table_name_31 (constructor VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_31 WHERE laps = "56" AND grid = "15"
Who was the constructor of the car that went 56 laps and had a grid of 15?
<s>[INST]Who was the constructor of the car that went 56 laps and had a grid of 15? Context: CREATE TABLE table_name_31 (constructor VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT constructor FROM table_name_31 WHERE laps = "56" AND grid = "15"</s>
CREATE TABLE table_name_3 (analog_channel VARCHAR, digital_channel VARCHAR)
SELECT analog_channel FROM table_name_3 WHERE digital_channel = "32"
Digital channel of 32 belongs to what analog channel?
<s>[INST]Digital channel of 32 belongs to what analog channel? Context: CREATE TABLE table_name_3 (analog_channel VARCHAR, digital_channel VARCHAR)[/INST]SELECT analog_channel FROM table_name_3 WHERE digital_channel = "32"</s>
CREATE TABLE table_name_31 (house VARCHAR, boarding_day VARCHAR)
SELECT house FROM table_name_31 WHERE boarding_day = "day"
Which house has a Boarding/Day value of Day?
<s>[INST]Which house has a Boarding/Day value of Day? Context: CREATE TABLE table_name_31 (house VARCHAR, boarding_day VARCHAR)[/INST]SELECT house FROM table_name_31 WHERE boarding_day = "day"</s>
CREATE TABLE table_name_80 (points INTEGER, premiers VARCHAR)
SELECT SUM(points) FROM table_name_80 WHERE premiers = "brisbane broncos"
What's the total sum of points scored by the Brisbane Broncos?
<s>[INST]What's the total sum of points scored by the Brisbane Broncos? Context: CREATE TABLE table_name_80 (points INTEGER, premiers VARCHAR)[/INST]SELECT SUM(points) FROM table_name_80 WHERE premiers = "brisbane broncos"</s>
CREATE TABLE phone (screen_mode VARCHAR, Hardware_Model_name VARCHAR); CREATE TABLE screen_mode (Char_cells VARCHAR, Pixels VARCHAR, Hardware_colours VARCHAR, Graphics_mode VARCHAR)
SELECT T1.Char_cells, T1.Pixels, T1.Hardware_colours FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T2.Hardware_Model_name = "LG-P760"
Find the Char cells, Pixels and Hardware colours for the screen of the phone whose hardware model name is "LG-P760".
<s>[INST]Find the Char cells, Pixels and Hardware colours for the screen of the phone whose hardware model name is "LG-P760". Context: CREATE TABLE phone (screen_mode VARCHAR, Hardware_Model_name VARCHAR); CREATE TABLE screen_mode (Char_cells VARCHAR, Pixels VARCHAR, Hardware_colours VARCHAR, Graphics_mode VARCHAR)[/IN...
CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR)
SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = "Tears for Fears" AND artist_2 = "Eric Prydz"
Who are thebmix artists when tears for fears is artist 1 and eric prydz is artist 2?
<s>[INST]Who are thebmix artists when tears for fears is artist 1 and eric prydz is artist 2? Context: CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR)[/INST]SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = "Tears for Fears" AND artist_2 = "Eric Prydz"</s>
CREATE TABLE table_name_83 (draw INTEGER, english_translation VARCHAR, points VARCHAR, place VARCHAR)
SELECT MAX(draw) FROM table_name_83 WHERE points > 31 AND place > 6 AND english_translation = "listen to me"
What is the highest draw number when there are more than 31 points, a rank greater than 6, and the English translation is listen to me?
<s>[INST]What is the highest draw number when there are more than 31 points, a rank greater than 6, and the English translation is listen to me? Context: CREATE TABLE table_name_83 (draw INTEGER, english_translation VARCHAR, points VARCHAR, place VARCHAR)[/INST]SELECT MAX(draw) FROM table_name_83 WHERE points > 31 AND ...
CREATE TABLE table_name_92 (wins VARCHAR, top_5 VARCHAR, top_25 VARCHAR, events VARCHAR)
SELECT COUNT(wins) FROM table_name_92 WHERE top_25 < 5 AND events > 4 AND top_5 < 2
What is the total number of wins for events with under 2 top-5s, under 5 top-25s, and more than 4 events played?
<s>[INST]What is the total number of wins for events with under 2 top-5s, under 5 top-25s, and more than 4 events played? Context: CREATE TABLE table_name_92 (wins VARCHAR, top_5 VARCHAR, top_25 VARCHAR, events VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_92 WHERE top_25 < 5 AND events > 4 AND top_5 < 2</s>
CREATE TABLE table_name_7 (recipient VARCHAR, year INTEGER)
SELECT recipient FROM table_name_7 WHERE year < 2008
Who was the recipient for Outstanding actress television series prior to 2008?
<s>[INST]Who was the recipient for Outstanding actress television series prior to 2008? Context: CREATE TABLE table_name_7 (recipient VARCHAR, year INTEGER)[/INST]SELECT recipient FROM table_name_7 WHERE year < 2008</s>
CREATE TABLE table_name_80 (overall INTEGER, pick VARCHAR)
SELECT AVG(overall) FROM table_name_80 WHERE pick = 19
What is average Overall, when Pick is 19?
<s>[INST]What is average Overall, when Pick is 19? Context: CREATE TABLE table_name_80 (overall INTEGER, pick VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_80 WHERE pick = 19</s>
CREATE TABLE table_14330096_3 (series_number VARCHAR, writer VARCHAR)
SELECT series_number FROM table_14330096_3 WHERE writer = "Julian Unthank"
What number from the total number of episodes is the episode written by Julian Unthank?
<s>[INST]What number from the total number of episodes is the episode written by Julian Unthank? Context: CREATE TABLE table_14330096_3 (series_number VARCHAR, writer VARCHAR)[/INST]SELECT series_number FROM table_14330096_3 WHERE writer = "Julian Unthank"</s>
CREATE TABLE table_name_12 (attendance VARCHAR, opponents VARCHAR)
SELECT attendance FROM table_name_12 WHERE opponents = "cambridge united"
What's the attendance when the opponents are cambridge united?
<s>[INST]What's the attendance when the opponents are cambridge united? Context: CREATE TABLE table_name_12 (attendance VARCHAR, opponents VARCHAR)[/INST]SELECT attendance FROM table_name_12 WHERE opponents = "cambridge united"</s>
CREATE TABLE table_name_76 (engine VARCHAR, year VARCHAR)
SELECT engine FROM table_name_76 WHERE year = "1999"
What engine was used in 1999?
<s>[INST]What engine was used in 1999? Context: CREATE TABLE table_name_76 (engine VARCHAR, year VARCHAR)[/INST]SELECT engine FROM table_name_76 WHERE year = "1999"</s>
CREATE TABLE table_2226817_2 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_2226817_2 WHERE production_code = "1.12"
What is the original air date for the production code of 1.12?
<s>[INST]What is the original air date for the production code of 1.12? Context: CREATE TABLE table_2226817_2 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_2226817_2 WHERE production_code = "1.12"</s>
CREATE TABLE table_2899987_2 (region VARCHAR, owner VARCHAR)
SELECT region FROM table_2899987_2 WHERE owner = "Estado de Tabasco"
Which regions are owned by estado de tabasco?
<s>[INST]Which regions are owned by estado de tabasco? Context: CREATE TABLE table_2899987_2 (region VARCHAR, owner VARCHAR)[/INST]SELECT region FROM table_2899987_2 WHERE owner = "Estado de Tabasco"</s>
CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_73 WHERE record = "54-38"
Which opponent has a Record of 54-38?
<s>[INST]Which opponent has a Record of 54-38? Context: CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_73 WHERE record = "54-38"</s>
CREATE TABLE table_2869837_1 (Shared VARCHAR, last_final VARCHAR)
SELECT Shared AS titles FROM table_2869837_1 WHERE last_final = 2012
How many shared titles does the club whose last final was 2012 have?
<s>[INST]How many shared titles does the club whose last final was 2012 have? Context: CREATE TABLE table_2869837_1 (Shared VARCHAR, last_final VARCHAR)[/INST]SELECT Shared AS titles FROM table_2869837_1 WHERE last_final = 2012</s>
CREATE TABLE table_name_83 (played INTEGER, drawn VARCHAR, points VARCHAR)
SELECT AVG(played) FROM table_name_83 WHERE drawn < 1 AND points > 4
Which average Played has a Drawn smaller than 1, and Points larger than 4?
<s>[INST]Which average Played has a Drawn smaller than 1, and Points larger than 4? Context: CREATE TABLE table_name_83 (played INTEGER, drawn VARCHAR, points VARCHAR)[/INST]SELECT AVG(played) FROM table_name_83 WHERE drawn < 1 AND points > 4</s>
CREATE TABLE table_name_86 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_86 WHERE loss = "brandon (4–8)"
What was the record at the game that had a loss of Brandon (4–8)?
<s>[INST]What was the record at the game that had a loss of Brandon (4–8)? Context: CREATE TABLE table_name_86 (record VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_86 WHERE loss = "brandon (4–8)"</s>
CREATE TABLE table_20967430_2 (ep INTEGER, original_air_date VARCHAR)
SELECT MIN(ep) FROM table_20967430_2 WHERE original_air_date = "November 29, 1985"
Name the least episode for november 29, 1985
<s>[INST]Name the least episode for november 29, 1985 Context: CREATE TABLE table_20967430_2 (ep INTEGER, original_air_date VARCHAR)[/INST]SELECT MIN(ep) FROM table_20967430_2 WHERE original_air_date = "November 29, 1985"</s>
CREATE TABLE table_name_35 (points VARCHAR, try_bonus VARCHAR)
SELECT points FROM table_name_35 WHERE try_bonus = "2"
How many points were there when the try bonus was 2?
<s>[INST]How many points were there when the try bonus was 2? Context: CREATE TABLE table_name_35 (points VARCHAR, try_bonus VARCHAR)[/INST]SELECT points FROM table_name_35 WHERE try_bonus = "2"</s>
CREATE TABLE table_name_26 (election VARCHAR, seats VARCHAR, dáil VARCHAR)
SELECT election FROM table_name_26 WHERE seats > 57 AND dáil = "24th"
With a dail of 24th and more than 57 seats, what is the election?
<s>[INST]With a dail of 24th and more than 57 seats, what is the election? Context: CREATE TABLE table_name_26 (election VARCHAR, seats VARCHAR, dáil VARCHAR)[/INST]SELECT election FROM table_name_26 WHERE seats > 57 AND dáil = "24th"</s>
CREATE TABLE table_name_43 (crowd INTEGER, venue VARCHAR)
SELECT AVG(crowd) FROM table_name_43 WHERE venue = "glenferrie oval"
What was the average crowd size of games held at Glenferrie Oval?
<s>[INST]What was the average crowd size of games held at Glenferrie Oval? Context: CREATE TABLE table_name_43 (crowd INTEGER, venue VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_43 WHERE venue = "glenferrie oval"</s>
CREATE TABLE table_name_56 (team VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT team FROM table_name_56 WHERE laps < 73 AND time_retired = "gearbox"
Which team has less than 73 laps and a gearbox time?
<s>[INST]Which team has less than 73 laps and a gearbox time? Context: CREATE TABLE table_name_56 (team VARCHAR, laps VARCHAR, time_retired VARCHAR)[/INST]SELECT team FROM table_name_56 WHERE laps < 73 AND time_retired = "gearbox"</s>
CREATE TABLE table_name_17 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_17 WHERE home_team = "richmond"
What date was Richmond the home team?
<s>[INST]What date was Richmond the home team? Context: CREATE TABLE table_name_17 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_17 WHERE home_team = "richmond"</s>
CREATE TABLE pilot (Join_Year VARCHAR, Rank VARCHAR)
SELECT Join_Year FROM pilot ORDER BY Rank LIMIT 1
What is the joined year of the pilot of the highest rank?
<s>[INST]What is the joined year of the pilot of the highest rank? Context: CREATE TABLE pilot (Join_Year VARCHAR, Rank VARCHAR)[/INST]SELECT Join_Year FROM pilot ORDER BY Rank LIMIT 1</s>
CREATE TABLE table_name_66 (fa_trophy VARCHAR, leading_scorer VARCHAR)
SELECT fa_trophy FROM table_name_66 WHERE leading_scorer = "lee gregory (8)"
what is the fa trophy when the leading scorer is lee gregory (8)?
<s>[INST]what is the fa trophy when the leading scorer is lee gregory (8)? Context: CREATE TABLE table_name_66 (fa_trophy VARCHAR, leading_scorer VARCHAR)[/INST]SELECT fa_trophy FROM table_name_66 WHERE leading_scorer = "lee gregory (8)"</s>
CREATE TABLE table_name_21 (format VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_21 WHERE catalog = "mobil 1"
What format was used for Mobil 1?
<s>[INST]What format was used for Mobil 1? Context: CREATE TABLE table_name_21 (format VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_21 WHERE catalog = "mobil 1"</s>
CREATE TABLE table_name_20 (day VARCHAR, _date VARCHAR, game VARCHAR)
SELECT day, _date FROM table_name_20 WHERE game = "2"
What is the day and date of game 2?
<s>[INST]What is the day and date of game 2? Context: CREATE TABLE table_name_20 (day VARCHAR, _date VARCHAR, game VARCHAR)[/INST]SELECT day, _date FROM table_name_20 WHERE game = "2"</s>
CREATE TABLE table_name_48 (height VARCHAR, hometown VARCHAR)
SELECT height FROM table_name_48 WHERE hometown = "chicago, il"
How tall is the player from Chicago, IL?
<s>[INST]How tall is the player from Chicago, IL? Context: CREATE TABLE table_name_48 (height VARCHAR, hometown VARCHAR)[/INST]SELECT height FROM table_name_48 WHERE hometown = "chicago, il"</s>
CREATE TABLE table_name_60 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_name_60 WHERE district = "24th"
Which incumbent was in the 24th district?
<s>[INST]Which incumbent was in the 24th district? Context: CREATE TABLE table_name_60 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_name_60 WHERE district = "24th"</s>
CREATE TABLE table_name_66 (pick VARCHAR, position VARCHAR, name VARCHAR)
SELECT pick FROM table_name_66 WHERE position = "wide receiver" AND name = "johnny holloway"
What pick had a wide receiver named johnny holloway?
<s>[INST]What pick had a wide receiver named johnny holloway? Context: CREATE TABLE table_name_66 (pick VARCHAR, position VARCHAR, name VARCHAR)[/INST]SELECT pick FROM table_name_66 WHERE position = "wide receiver" AND name = "johnny holloway"</s>
CREATE TABLE table_name_15 (no_7 VARCHAR, no_4 VARCHAR, no_10 VARCHAR)
SELECT no_7 FROM table_name_15 WHERE no_4 = "madison" AND no_10 = "amelia"
What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia?
<s>[INST]What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia? Context: CREATE TABLE table_name_15 (no_7 VARCHAR, no_4 VARCHAR, no_10 VARCHAR)[/INST]SELECT no_7 FROM table_name_15 WHERE no_4 = "madison" AND no_10 = "amelia"</s>
CREATE TABLE table_name_23 (election VARCHAR)
SELECT 1 AS st_member FROM table_name_23 WHERE election = "1895"
Which 1st Member has an Election of 1895?
<s>[INST]Which 1st Member has an Election of 1895? Context: CREATE TABLE table_name_23 (election VARCHAR)[/INST]SELECT 1 AS st_member FROM table_name_23 WHERE election = "1895"</s>
CREATE TABLE table_name_53 (play_by_play VARCHAR, network VARCHAR, year VARCHAR)
SELECT play_by_play FROM table_name_53 WHERE network = "cbc" AND year < 1961
Who did the play-by-play on the CBC network before 1961?
<s>[INST]Who did the play-by-play on the CBC network before 1961? Context: CREATE TABLE table_name_53 (play_by_play VARCHAR, network VARCHAR, year VARCHAR)[/INST]SELECT play_by_play FROM table_name_53 WHERE network = "cbc" AND year < 1961</s>
CREATE TABLE table_name_42 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_42 WHERE home_team = "essendon"
What was the attendance when Essendon played as the home team?
<s>[INST]What was the attendance when Essendon played as the home team? Context: CREATE TABLE table_name_42 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_42 WHERE home_team = "essendon"</s>
CREATE TABLE table_name_42 (ordinary_income_rate VARCHAR, short_term_capital_gain_rate VARCHAR)
SELECT ordinary_income_rate FROM table_name_42 WHERE short_term_capital_gain_rate = "28%"
What is the ordinary income rate when short-term capital gain rate is 28%?
<s>[INST]What is the ordinary income rate when short-term capital gain rate is 28%? Context: CREATE TABLE table_name_42 (ordinary_income_rate VARCHAR, short_term_capital_gain_rate VARCHAR)[/INST]SELECT ordinary_income_rate FROM table_name_42 WHERE short_term_capital_gain_rate = "28%"</s>
CREATE TABLE table_name_60 (szdsz VARCHAR, jobbik VARCHAR, fidesz VARCHAR)
SELECT szdsz FROM table_name_60 WHERE jobbik = "5%" AND fidesz = "68%"
What is the SZDSZ percentage with a Jobbik of 5% and a Fidesz of 68%?
<s>[INST]What is the SZDSZ percentage with a Jobbik of 5% and a Fidesz of 68%? Context: CREATE TABLE table_name_60 (szdsz VARCHAR, jobbik VARCHAR, fidesz VARCHAR)[/INST]SELECT szdsz FROM table_name_60 WHERE jobbik = "5%" AND fidesz = "68%"</s>
CREATE TABLE table_name_59 (chassis VARCHAR, entrant VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_59 WHERE entrant = "team lotus" AND year > 1964
What chassis did team lotus use after 1964?
<s>[INST]What chassis did team lotus use after 1964? Context: CREATE TABLE table_name_59 (chassis VARCHAR, entrant VARCHAR, year VARCHAR)[/INST]SELECT chassis FROM table_name_59 WHERE entrant = "team lotus" AND year > 1964</s>
CREATE TABLE table_name_74 (school VARCHAR, location VARCHAR)
SELECT school FROM table_name_74 WHERE location = "radford, va"
What school is in Radford, Va?
<s>[INST]What school is in Radford, Va? Context: CREATE TABLE table_name_74 (school VARCHAR, location VARCHAR)[/INST]SELECT school FROM table_name_74 WHERE location = "radford, va"</s>
CREATE TABLE Customers (customer_id VARCHAR, customer_details VARCHAR); CREATE TABLE Customer_Events (customer_id VARCHAR)
SELECT T1.customer_id, T1.customer_details FROM Customers AS T1 JOIN Customer_Events AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id HAVING COUNT(*) >= 3
What are the id and details of the customers who have at least 3 events?
<s>[INST]What are the id and details of the customers who have at least 3 events? Context: CREATE TABLE Customers (customer_id VARCHAR, customer_details VARCHAR); CREATE TABLE Customer_Events (customer_id VARCHAR)[/INST]SELECT T1.customer_id, T1.customer_details FROM Customers AS T1 JOIN Customer_Events AS T2 ON T1.cus...
CREATE TABLE Prescribes (patient VARCHAR, Medication VARCHAR); CREATE TABLE patient (SSN VARCHAR); CREATE TABLE Medication (Code VARCHAR, name VARCHAR)
SELECT COUNT(*) FROM patient WHERE NOT SSN IN (SELECT T1.patient FROM Prescribes AS T1 JOIN Medication AS T2 ON T1.Medication = T2.Code WHERE T2.name = 'Procrastin-X')
Find the number of patients who are not using the medication of Procrastin-X.
<s>[INST]Find the number of patients who are not using the medication of Procrastin-X. Context: CREATE TABLE Prescribes (patient VARCHAR, Medication VARCHAR); CREATE TABLE patient (SSN VARCHAR); CREATE TABLE Medication (Code VARCHAR, name VARCHAR)[/INST]SELECT COUNT(*) FROM patient WHERE NOT SSN IN (SELECT T1.patient F...
CREATE TABLE table_name_9 (result VARCHAR, attendance INTEGER)
SELECT result FROM table_name_9 WHERE attendance > 71 OFFSET 164
What was the result for the 71,164 in attendance?
<s>[INST]What was the result for the 71,164 in attendance? Context: CREATE TABLE table_name_9 (result VARCHAR, attendance INTEGER)[/INST]SELECT result FROM table_name_9 WHERE attendance > 71 OFFSET 164</s>
CREATE TABLE table_2112220_6 (tournaments_played INTEGER, year VARCHAR)
SELECT MIN(tournaments_played) FROM table_2112220_6 WHERE year = 2004
Name the tournaments played for 2004
<s>[INST]Name the tournaments played for 2004 Context: CREATE TABLE table_2112220_6 (tournaments_played INTEGER, year VARCHAR)[/INST]SELECT MIN(tournaments_played) FROM table_2112220_6 WHERE year = 2004</s>
CREATE TABLE table_name_63 (year_joined VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
SELECT year_joined FROM table_name_63 WHERE enrollment < 438 AND ihsaa_class = "aa"
What year joined had an enrollment less than 438 and an AA as the IHSAA Class?
<s>[INST]What year joined had an enrollment less than 438 and an AA as the IHSAA Class? Context: CREATE TABLE table_name_63 (year_joined VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)[/INST]SELECT year_joined FROM table_name_63 WHERE enrollment < 438 AND ihsaa_class = "aa"</s>
CREATE TABLE table_name_94 (viewers__millions_ VARCHAR, airdate VARCHAR, channel_4_weekly_rank_a VARCHAR)
SELECT COUNT(viewers__millions_) FROM table_name_94 WHERE airdate = "october 10, 2008" AND channel_4_weekly_rank_a < 30
What is the number of viewers in millions for the episode on October 10, 2008, and a Channel 4 weekly rank a smaller than 30?
<s>[INST]What is the number of viewers in millions for the episode on October 10, 2008, and a Channel 4 weekly rank a smaller than 30? Context: CREATE TABLE table_name_94 (viewers__millions_ VARCHAR, airdate VARCHAR, channel_4_weekly_rank_a VARCHAR)[/INST]SELECT COUNT(viewers__millions_) FROM table_name_94 WHERE airdat...
CREATE TABLE table_name_22 (race_name VARCHAR, dist__miles_ VARCHAR, runner_up VARCHAR)
SELECT race_name FROM table_name_22 WHERE dist__miles_ = "4" AND runner_up = "not known"
Which race had a distance of 4 miles where the runner-up was not known?
<s>[INST]Which race had a distance of 4 miles where the runner-up was not known? Context: CREATE TABLE table_name_22 (race_name VARCHAR, dist__miles_ VARCHAR, runner_up VARCHAR)[/INST]SELECT race_name FROM table_name_22 WHERE dist__miles_ = "4" AND runner_up = "not known"</s>
CREATE TABLE table_21100348_10 (period VARCHAR, player VARCHAR)
SELECT period FROM table_21100348_10 WHERE player = "Ricky Ponting"
During what period did Ricky Ponting play?
<s>[INST]During what period did Ricky Ponting play? Context: CREATE TABLE table_21100348_10 (period VARCHAR, player VARCHAR)[/INST]SELECT period FROM table_21100348_10 WHERE player = "Ricky Ponting"</s>
CREATE TABLE table_name_32 (time VARCHAR, opponent VARCHAR, round VARCHAR)
SELECT time FROM table_name_32 WHERE opponent = "cagliari" AND round = "16"
What time was the game played against Cagliari that lasted 16 rounds?
<s>[INST]What time was the game played against Cagliari that lasted 16 rounds? Context: CREATE TABLE table_name_32 (time VARCHAR, opponent VARCHAR, round VARCHAR)[/INST]SELECT time FROM table_name_32 WHERE opponent = "cagliari" AND round = "16"</s>
CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR)
SELECT t3.city FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id GROUP BY t3.city ORDER BY COUNT(*) DESC LIMIT 1
Which city has the most customers living in?
<s>[INST]Which city has the most customers living in? Context: CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR)[/INST]SELECT t3.city FROM customers AS t1 JOIN customer_addresses AS t2 ON t1....
CREATE TABLE table_13619135_7 (date VARCHAR, location_attendance VARCHAR)
SELECT date FROM table_13619135_7 WHERE location_attendance = "Staples Center 18,176"
What day was the attendance at the staples center 18,176?
<s>[INST]What day was the attendance at the staples center 18,176? Context: CREATE TABLE table_13619135_7 (date VARCHAR, location_attendance VARCHAR)[/INST]SELECT date FROM table_13619135_7 WHERE location_attendance = "Staples Center 18,176"</s>
CREATE TABLE table_19246_1 (connection_speed VARCHAR, launch_date__ddmmyyyy_ VARCHAR)
SELECT connection_speed FROM table_19246_1 WHERE launch_date__ddmmyyyy_ = "07.06.2005"
What was the connection speed when launched on 07.06.2005?
<s>[INST]What was the connection speed when launched on 07.06.2005? Context: CREATE TABLE table_19246_1 (connection_speed VARCHAR, launch_date__ddmmyyyy_ VARCHAR)[/INST]SELECT connection_speed FROM table_19246_1 WHERE launch_date__ddmmyyyy_ = "07.06.2005"</s>
CREATE TABLE table_name_14 (pick__number INTEGER, college VARCHAR)
SELECT MAX(pick__number) FROM table_name_14 WHERE college = "simon fraser"
What was the highest Pick # for the College of Simon Fraser?
<s>[INST]What was the highest Pick # for the College of Simon Fraser? Context: CREATE TABLE table_name_14 (pick__number INTEGER, college VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_name_14 WHERE college = "simon fraser"</s>
CREATE TABLE table_name_5 (original_airdate VARCHAR, writer_s_ VARCHAR, episode VARCHAR)
SELECT original_airdate FROM table_name_5 WHERE writer_s_ = "sidney slon" AND episode = "7-17 (195)"
What is the original airdate for episode 7-17 (195) from writer Sidney Slon?
<s>[INST]What is the original airdate for episode 7-17 (195) from writer Sidney Slon? Context: CREATE TABLE table_name_5 (original_airdate VARCHAR, writer_s_ VARCHAR, episode VARCHAR)[/INST]SELECT original_airdate FROM table_name_5 WHERE writer_s_ = "sidney slon" AND episode = "7-17 (195)"</s>
CREATE TABLE table_262514_1 (institution VARCHAR, nickname VARCHAR)
SELECT institution FROM table_262514_1 WHERE nickname = "Ravens"
What is every institution with a nickname of Ravens?
<s>[INST]What is every institution with a nickname of Ravens? Context: CREATE TABLE table_262514_1 (institution VARCHAR, nickname VARCHAR)[/INST]SELECT institution FROM table_262514_1 WHERE nickname = "Ravens"</s>
CREATE TABLE table_name_54 (issue_date_s_ VARCHAR, artist VARCHAR)
SELECT issue_date_s_ FROM table_name_54 WHERE artist = "jennifer lopez"
What date did the song by jennifer lopez get issued?
<s>[INST]What date did the song by jennifer lopez get issued? Context: CREATE TABLE table_name_54 (issue_date_s_ VARCHAR, artist VARCHAR)[/INST]SELECT issue_date_s_ FROM table_name_54 WHERE artist = "jennifer lopez"</s>
CREATE TABLE table_name_94 (competition_description VARCHAR, rank_qualifying VARCHAR, apparatus VARCHAR)
SELECT competition_description FROM table_name_94 WHERE rank_qualifying = "1st" AND apparatus = "ball"
What competition had a Rank-Qualifying of 1st and a ball apparatus?
<s>[INST]What competition had a Rank-Qualifying of 1st and a ball apparatus? Context: CREATE TABLE table_name_94 (competition_description VARCHAR, rank_qualifying VARCHAR, apparatus VARCHAR)[/INST]SELECT competition_description FROM table_name_94 WHERE rank_qualifying = "1st" AND apparatus = "ball"</s>
CREATE TABLE table_name_42 (inhabitants VARCHAR, election VARCHAR, municipality VARCHAR)
SELECT inhabitants FROM table_name_42 WHERE election = 2009 AND municipality = "cremona"
Which inhabitants have 2009 as the election, with cremona as the municipality?
<s>[INST]Which inhabitants have 2009 as the election, with cremona as the municipality? Context: CREATE TABLE table_name_42 (inhabitants VARCHAR, election VARCHAR, municipality VARCHAR)[/INST]SELECT inhabitants FROM table_name_42 WHERE election = 2009 AND municipality = "cremona"</s>
CREATE TABLE table_10577579_2 (enrollment INTEGER, founded VARCHAR, type VARCHAR)
SELECT MAX(enrollment) FROM table_10577579_2 WHERE founded = 1866 AND type = "Private/(African Methodist)"
What is the enrollment for the institution that was founded in 1866 and is a private/(african methodist) type?
<s>[INST]What is the enrollment for the institution that was founded in 1866 and is a private/(african methodist) type? Context: CREATE TABLE table_10577579_2 (enrollment INTEGER, founded VARCHAR, type VARCHAR)[/INST]SELECT MAX(enrollment) FROM table_10577579_2 WHERE founded = 1866 AND type = "Private/(African Methodis...
CREATE TABLE table_name_22 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_22 WHERE home_team = "fitzroy"
Where did Fitzroy play as the home team?
<s>[INST]Where did Fitzroy play as the home team? Context: CREATE TABLE table_name_22 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_22 WHERE home_team = "fitzroy"</s>
CREATE TABLE table_171356_2 (status VARCHAR, census_ranking VARCHAR)
SELECT status FROM table_171356_2 WHERE census_ranking = "2,290 of 5,008"
What status doe the area with a census ranking of 2,290 of 5,008 have?
<s>[INST]What status doe the area with a census ranking of 2,290 of 5,008 have? Context: CREATE TABLE table_171356_2 (status VARCHAR, census_ranking VARCHAR)[/INST]SELECT status FROM table_171356_2 WHERE census_ranking = "2,290 of 5,008"</s>
CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)
SELECT T2.title, AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY AVG(T1.stars) LIMIT 1
What are the movie titles and average rating of the movies with the lowest average rating?
<s>[INST]What are the movie titles and average rating of the movies with the lowest average rating? Context: CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)[/INST]SELECT T2.title, AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER ...
CREATE TABLE table_name_78 (percentage_of_marine_area__foreez_ VARCHAR, ecozone VARCHAR, area__km²__exclusive_economic_zone VARCHAR)
SELECT COUNT(percentage_of_marine_area__foreez_) FROM table_name_78 WHERE ecozone = "atlantic marine" AND area__km²__exclusive_economic_zone < 996 OFFSET 439
How many values for percentage of marine area are for the Atlantic marine ecozone with an exclusive economic zone area less than 996,439?
<s>[INST]How many values for percentage of marine area are for the Atlantic marine ecozone with an exclusive economic zone area less than 996,439? Context: CREATE TABLE table_name_78 (percentage_of_marine_area__foreez_ VARCHAR, ecozone VARCHAR, area__km²__exclusive_economic_zone VARCHAR)[/INST]SELECT COUNT(percentage_o...
CREATE TABLE table_name_54 (game VARCHAR, pov_character VARCHAR)
SELECT game FROM table_name_54 WHERE pov_character = "quentyn martell"
Which game does the quentyn martell have?
<s>[INST]Which game does the quentyn martell have? Context: CREATE TABLE table_name_54 (game VARCHAR, pov_character VARCHAR)[/INST]SELECT game FROM table_name_54 WHERE pov_character = "quentyn martell"</s>
CREATE TABLE table_name_82 (spouse VARCHAR, birth VARCHAR)
SELECT spouse FROM table_name_82 WHERE birth = "29 september 1766"
Who is the spouse of the person born on 29 September 1766?
<s>[INST]Who is the spouse of the person born on 29 September 1766? Context: CREATE TABLE table_name_82 (spouse VARCHAR, birth VARCHAR)[/INST]SELECT spouse FROM table_name_82 WHERE birth = "29 september 1766"</s>
CREATE TABLE table_10006830_1 (description VARCHAR, aircraft VARCHAR)
SELECT description FROM table_10006830_1 WHERE aircraft = "CH-47D Chinook"
What if the description of a ch-47d chinook?
<s>[INST]What if the description of a ch-47d chinook? Context: CREATE TABLE table_10006830_1 (description VARCHAR, aircraft VARCHAR)[/INST]SELECT description FROM table_10006830_1 WHERE aircraft = "CH-47D Chinook"</s>
CREATE TABLE table_name_8 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
SELECT fcc_info FROM table_name_8 WHERE frequency_mhz < 91.9 AND city_of_license = "dansville, ny"
What's the FCC info with a Frequency MHz thats smaller than 91.9 and has a CIty of license of Dansville, NY?
<s>[INST]What's the FCC info with a Frequency MHz thats smaller than 91.9 and has a CIty of license of Dansville, NY? Context: CREATE TABLE table_name_8 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)[/INST]SELECT fcc_info FROM table_name_8 WHERE frequency_mhz < 91.9 AND city_of_license = "dansville,...
CREATE TABLE table_name_29 (report VARCHAR, winning_driver VARCHAR)
SELECT report FROM table_name_29 WHERE winning_driver = "heinrich-joachim von morgen"
Name the Report which has heinrich-joachim von morgen?
<s>[INST]Name the Report which has heinrich-joachim von morgen? Context: CREATE TABLE table_name_29 (report VARCHAR, winning_driver VARCHAR)[/INST]SELECT report FROM table_name_29 WHERE winning_driver = "heinrich-joachim von morgen"</s>
CREATE TABLE table_169766_13 (new_returning_same_network VARCHAR, show VARCHAR)
SELECT new_returning_same_network FROM table_169766_13 WHERE show = "This Week in Baseball"
What is the new/returning/same network name for This Week in Baseball?
<s>[INST]What is the new/returning/same network name for This Week in Baseball? Context: CREATE TABLE table_169766_13 (new_returning_same_network VARCHAR, show VARCHAR)[/INST]SELECT new_returning_same_network FROM table_169766_13 WHERE show = "This Week in Baseball"</s>
CREATE TABLE table_name_48 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_48 WHERE week < 13 AND opponent = "miami dolphins"
What is the date before week 13 and Miami Dolphins as an opponent?
<s>[INST]What is the date before week 13 and Miami Dolphins as an opponent? Context: CREATE TABLE table_name_48 (date VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_48 WHERE week < 13 AND opponent = "miami dolphins"</s>
CREATE TABLE table_name_38 (loses INTEGER, points INTEGER)
SELECT AVG(loses) FROM table_name_38 WHERE points < 6
Which Loses has Points smaller than 6?
<s>[INST]Which Loses has Points smaller than 6? Context: CREATE TABLE table_name_38 (loses INTEGER, points INTEGER)[/INST]SELECT AVG(loses) FROM table_name_38 WHERE points < 6</s>
CREATE TABLE table_name_85 (engine VARCHAR, entrant VARCHAR, points VARCHAR)
SELECT engine FROM table_name_85 WHERE entrant = "scuderia ambrosiana" AND points < 4
What engine did Scuderia Ambrosiana with fewer than 4 points have?
<s>[INST]What engine did Scuderia Ambrosiana with fewer than 4 points have? Context: CREATE TABLE table_name_85 (engine VARCHAR, entrant VARCHAR, points VARCHAR)[/INST]SELECT engine FROM table_name_85 WHERE entrant = "scuderia ambrosiana" AND points < 4</s>
CREATE TABLE table_28853064_15 (winner VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR)
SELECT winner FROM table_28853064_15 WHERE mountains_classification = "Oscar Solis" AND team_classification = "EPM-UNE"
Who were the winners if the Mountain Classification award was given to Oscar Solis and Team Classification was given to EPM-Une?
<s>[INST]Who were the winners if the Mountain Classification award was given to Oscar Solis and Team Classification was given to EPM-Une? Context: CREATE TABLE table_28853064_15 (winner VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR)[/INST]SELECT winner FROM table_28853064_15 WHERE mountains_cla...
CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_78 WHERE date = "november 6, 1966"
What is the Result of the game on November 6, 1966?
<s>[INST]What is the Result of the game on November 6, 1966? Context: CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_78 WHERE date = "november 6, 1966"</s>
CREATE TABLE table_name_6 (name VARCHAR, longitude VARCHAR)
SELECT name FROM table_name_6 WHERE longitude = "213.0e"
What name has a longitude of 213.0e?
<s>[INST]What name has a longitude of 213.0e? Context: CREATE TABLE table_name_6 (name VARCHAR, longitude VARCHAR)[/INST]SELECT name FROM table_name_6 WHERE longitude = "213.0e"</s>
CREATE TABLE table_2668243_18 (district VARCHAR, party VARCHAR)
SELECT district FROM table_2668243_18 WHERE party = "Anti-Jacksonian"
Name the district for anti-jacksonian
<s>[INST]Name the district for anti-jacksonian Context: CREATE TABLE table_2668243_18 (district VARCHAR, party VARCHAR)[/INST]SELECT district FROM table_2668243_18 WHERE party = "Anti-Jacksonian"</s>
CREATE TABLE table_name_75 (over_total_tax_revenue__in__percentage_ VARCHAR, stamp_duty_reserve_tax VARCHAR, year VARCHAR)
SELECT over_total_tax_revenue__in__percentage_ FROM table_name_75 WHERE stamp_duty_reserve_tax = "n.a." AND year = "1995-96"
What is the Total Tax Revenue that has an n.a. Stamp Duty Reserve Tax in the years 1995-96?
<s>[INST]What is the Total Tax Revenue that has an n.a. Stamp Duty Reserve Tax in the years 1995-96? Context: CREATE TABLE table_name_75 (over_total_tax_revenue__in__percentage_ VARCHAR, stamp_duty_reserve_tax VARCHAR, year VARCHAR)[/INST]SELECT over_total_tax_revenue__in__percentage_ FROM table_name_75 WHERE stamp_dut...
CREATE TABLE elimination (team VARCHAR)
SELECT COUNT(DISTINCT team) FROM elimination
What is the number of distinct teams that suffer elimination?
<s>[INST]What is the number of distinct teams that suffer elimination? Context: CREATE TABLE elimination (team VARCHAR)[/INST]SELECT COUNT(DISTINCT team) FROM elimination</s>
CREATE TABLE table_27721131_2 (game INTEGER, high_rebounds VARCHAR)
SELECT MAX(game) FROM table_27721131_2 WHERE high_rebounds = "JaVale McGee (5)"
What's the maximum game in the javale mcgee (5) high rebounds?
<s>[INST]What's the maximum game in the javale mcgee (5) high rebounds? Context: CREATE TABLE table_27721131_2 (game INTEGER, high_rebounds VARCHAR)[/INST]SELECT MAX(game) FROM table_27721131_2 WHERE high_rebounds = "JaVale McGee (5)"</s>
CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_89 WHERE venue = "mcg"
What was the away team score for the game played at MCG?
<s>[INST]What was the away team score for the game played at MCG? Context: CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_89 WHERE venue = "mcg"</s>
CREATE TABLE table_1474099_6 (season VARCHAR, goals VARCHAR, runners_up VARCHAR)
SELECT season FROM table_1474099_6 WHERE goals = 17 AND runners_up = "Slavija"
When the team scored 17 and Slavija placed second, what year was it?
<s>[INST]When the team scored 17 and Slavija placed second, what year was it? Context: CREATE TABLE table_1474099_6 (season VARCHAR, goals VARCHAR, runners_up VARCHAR)[/INST]SELECT season FROM table_1474099_6 WHERE goals = 17 AND runners_up = "Slavija"</s>
CREATE TABLE table_name_44 (model VARCHAR, graphics VARCHAR, fsb__mhz_ VARCHAR)
SELECT model FROM table_name_44 WHERE graphics = "agp" AND fsb__mhz_ = "400"
Which model(s) has AGP graphics and 400 FSB (MHz)?
<s>[INST]Which model(s) has AGP graphics and 400 FSB (MHz)? Context: CREATE TABLE table_name_44 (model VARCHAR, graphics VARCHAR, fsb__mhz_ VARCHAR)[/INST]SELECT model FROM table_name_44 WHERE graphics = "agp" AND fsb__mhz_ = "400"</s>
CREATE TABLE table_name_67 (attendance VARCHAR, away_team VARCHAR)
SELECT COUNT(attendance) FROM table_name_67 WHERE away_team = "middlesbrough"
How many people attended the Away team of middlesbrough?
<s>[INST]How many people attended the Away team of middlesbrough? Context: CREATE TABLE table_name_67 (attendance VARCHAR, away_team VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_67 WHERE away_team = "middlesbrough"</s>
CREATE TABLE table_name_43 (losses VARCHAR, byes INTEGER)
SELECT COUNT(losses) FROM table_name_43 WHERE byes > 0
What is the total number of losses for teams with more than 0 byes?
<s>[INST]What is the total number of losses for teams with more than 0 byes? Context: CREATE TABLE table_name_43 (losses VARCHAR, byes INTEGER)[/INST]SELECT COUNT(losses) FROM table_name_43 WHERE byes > 0</s>
CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR)
SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = "21.2"
If the cross-section area is 21.2, what is the weight?
<s>[INST]If the cross-section area is 21.2, what is the weight? Context: CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR)[/INST]SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = "21.2"</s>