context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_86 (competition VARCHAR, season VARCHAR, opponent VARCHAR)
SELECT competition FROM table_name_86 WHERE season = "2002–03" AND opponent = "zenit st. petersburg"
What is the Competition for Season 2002–03, and the Opponent was zenit st. petersburg?
<s>[INST]What is the Competition for Season 2002–03, and the Opponent was zenit st. petersburg? Context: CREATE TABLE table_name_86 (competition VARCHAR, season VARCHAR, opponent VARCHAR)[/INST]SELECT competition FROM table_name_86 WHERE season = "2002–03" AND opponent = "zenit st. petersburg"</s>
CREATE TABLE table_name_59 (lane INTEGER, time VARCHAR, heat VARCHAR, rank VARCHAR)
SELECT AVG(lane) FROM table_name_59 WHERE heat > 12 AND rank = 38 AND time > 22.67
What lane had a heat after 12, a rank of 38 and a time larger than 22.67?
<s>[INST]What lane had a heat after 12, a rank of 38 and a time larger than 22.67? Context: CREATE TABLE table_name_59 (lane INTEGER, time VARCHAR, heat VARCHAR, rank VARCHAR)[/INST]SELECT AVG(lane) FROM table_name_59 WHERE heat > 12 AND rank = 38 AND time > 22.67</s>
CREATE TABLE table_14342480_7 (points VARCHAR, player VARCHAR)
SELECT points FROM table_14342480_7 WHERE player = "Rolla Bigelow"
How many points were scored by Rolla Bigelow?
<s>[INST]How many points were scored by Rolla Bigelow? Context: CREATE TABLE table_14342480_7 (points VARCHAR, player VARCHAR)[/INST]SELECT points FROM table_14342480_7 WHERE player = "Rolla Bigelow"</s>
CREATE TABLE table_name_85 (wins INTEGER, byes VARCHAR, against VARCHAR, golden_rivers VARCHAR)
SELECT SUM(wins) FROM table_name_85 WHERE against < 1033 AND golden_rivers = "nullawil" AND byes < 2
What is the sum of Wins, when Against is less than 1033, when Golden Rivers is "Nullawil", and when Byes is less than 2?
<s>[INST]What is the sum of Wins, when Against is less than 1033, when Golden Rivers is "Nullawil", and when Byes is less than 2? Context: CREATE TABLE table_name_85 (wins INTEGER, byes VARCHAR, against VARCHAR, golden_rivers VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_85 WHERE against < 1033 AND golden_rivers = "nullawil" AND byes < 2</s>
CREATE TABLE table_name_70 (attendance INTEGER, week VARCHAR)
SELECT AVG(attendance) FROM table_name_70 WHERE week = 8
What was the Attendance on Week 8?
<s>[INST]What was the Attendance on Week 8? Context: CREATE TABLE table_name_70 (attendance INTEGER, week VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_70 WHERE week = 8</s>
CREATE TABLE table_name_32 (laps INTEGER, start VARCHAR)
SELECT MIN(laps) FROM table_name_32 WHERE start = "21"
What's the lowest amount of laps with a start of 21?
<s>[INST]What's the lowest amount of laps with a start of 21? Context: CREATE TABLE table_name_32 (laps INTEGER, start VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_32 WHERE start = "21"</s>
CREATE TABLE table_17140608_11 (score VARCHAR, date VARCHAR)
SELECT score FROM table_17140608_11 WHERE date = "April 28"
What score(s) were recorded on april 28?
<s>[INST]What score(s) were recorded on april 28? Context: CREATE TABLE table_17140608_11 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_17140608_11 WHERE date = "April 28"</s>
CREATE TABLE table_name_87 (vertical_relief__ft_ INTEGER, peak_name VARCHAR, elevation__ft_ VARCHAR)
SELECT AVG(vertical_relief__ft_) FROM table_name_87 WHERE peak_name = "tower near mead wood road entrance" AND elevation__ft_ > 1 OFFSET 410
What is the mean vertical relief in feet when the Peak Name is Tower near mead wood road entrance and the elevation in feet is more than 1,410?
<s>[INST]What is the mean vertical relief in feet when the Peak Name is Tower near mead wood road entrance and the elevation in feet is more than 1,410? Context: CREATE TABLE table_name_87 (vertical_relief__ft_ INTEGER, peak_name VARCHAR, elevation__ft_ VARCHAR)[/INST]SELECT AVG(vertical_relief__ft_) FROM table_name_87 WHERE peak_name = "tower near mead wood road entrance" AND elevation__ft_ > 1 OFFSET 410</s>
CREATE TABLE table_name_6 (mel_martinez__r_ VARCHAR, sample_size VARCHAR)
SELECT mel_martinez__r_ FROM table_name_6 WHERE sample_size = 800
What is the percentage for Mel Martinez when the sample size is 800?
<s>[INST]What is the percentage for Mel Martinez when the sample size is 800? Context: CREATE TABLE table_name_6 (mel_martinez__r_ VARCHAR, sample_size VARCHAR)[/INST]SELECT mel_martinez__r_ FROM table_name_6 WHERE sample_size = 800</s>
CREATE TABLE table_256286_43 (description VARCHAR, _percentage_yes VARCHAR)
SELECT description FROM table_256286_43 WHERE _percentage_yes = "51.82%"
What is every entry for description when the value of %yes is 51.82%?
<s>[INST]What is every entry for description when the value of %yes is 51.82%? Context: CREATE TABLE table_256286_43 (description VARCHAR, _percentage_yes VARCHAR)[/INST]SELECT description FROM table_256286_43 WHERE _percentage_yes = "51.82%"</s>
CREATE TABLE table_name_59 (score INTEGER, player VARCHAR)
SELECT MAX(score) FROM table_name_59 WHERE player = "grier jones"
What was the top score for grier jones?
<s>[INST]What was the top score for grier jones? Context: CREATE TABLE table_name_59 (score INTEGER, player VARCHAR)[/INST]SELECT MAX(score) FROM table_name_59 WHERE player = "grier jones"</s>
CREATE TABLE table_name_59 (year INTEGER, team VARCHAR)
SELECT MAX(year) FROM table_name_59 WHERE team = "seve ballesteros & manuel piñero"
What is the highest Year when the team was seve ballesteros & manuel piñero?
<s>[INST]What is the highest Year when the team was seve ballesteros & manuel piñero? Context: CREATE TABLE table_name_59 (year INTEGER, team VARCHAR)[/INST]SELECT MAX(year) FROM table_name_59 WHERE team = "seve ballesteros & manuel piñero"</s>
CREATE TABLE TRACK (GenreId VARCHAR); CREATE TABLE GENRE (GenreId VARCHAR, Name VARCHAR)
SELECT AVG(UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Jazz"
What is the average unit price of tracks that belong to Jazz genre?
<s>[INST]What is the average unit price of tracks that belong to Jazz genre? Context: CREATE TABLE TRACK (GenreId VARCHAR); CREATE TABLE GENRE (GenreId VARCHAR, Name VARCHAR)[/INST]SELECT AVG(UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Jazz"</s>
CREATE TABLE table_name_7 (week INTEGER, date VARCHAR)
SELECT SUM(week) FROM table_name_7 WHERE date = "december 2, 2001"
What is the sum of Week, when Date is December 2, 2001?
<s>[INST]What is the sum of Week, when Date is December 2, 2001? Context: CREATE TABLE table_name_7 (week INTEGER, date VARCHAR)[/INST]SELECT SUM(week) FROM table_name_7 WHERE date = "december 2, 2001"</s>
CREATE TABLE table_name_2 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_2 WHERE position = "f"
What players have a position of F?
<s>[INST]What players have a position of F? Context: CREATE TABLE table_name_2 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_2 WHERE position = "f"</s>
CREATE TABLE table_name_25 (engine_capacity INTEGER, mpg_us_urban VARCHAR, co_2_g_km VARCHAR, manufacturer VARCHAR, mpg_uk_extra_urban VARCHAR)
SELECT MAX(engine_capacity) FROM table_name_25 WHERE manufacturer = "bmw" AND mpg_uk_extra_urban = 52.3 AND co_2_g_km = 176 AND mpg_us_urban > 27.3
What is the highest engine capacity with a bmw manufacturer, an mpg-UK extra-urban of 52.3, a 176 CO 2 g/km, and an mpg-us urban greater than 27.3?
<s>[INST]What is the highest engine capacity with a bmw manufacturer, an mpg-UK extra-urban of 52.3, a 176 CO 2 g/km, and an mpg-us urban greater than 27.3? Context: CREATE TABLE table_name_25 (engine_capacity INTEGER, mpg_us_urban VARCHAR, co_2_g_km VARCHAR, manufacturer VARCHAR, mpg_uk_extra_urban VARCHAR)[/INST]SELECT MAX(engine_capacity) FROM table_name_25 WHERE manufacturer = "bmw" AND mpg_uk_extra_urban = 52.3 AND co_2_g_km = 176 AND mpg_us_urban > 27.3</s>
CREATE TABLE table_name_13 (time_retired VARCHAR, fin_pos VARCHAR)
SELECT time_retired FROM table_name_13 WHERE fin_pos = "19"
What was the time of the driver with a finish position of 19?
<s>[INST]What was the time of the driver with a finish position of 19? Context: CREATE TABLE table_name_13 (time_retired VARCHAR, fin_pos VARCHAR)[/INST]SELECT time_retired FROM table_name_13 WHERE fin_pos = "19"</s>
CREATE TABLE table_name_24 (score VARCHAR, decision VARCHAR, record VARCHAR)
SELECT score FROM table_name_24 WHERE decision = "joseph" AND record = "26–13–4–2"
What was the score of the game that had a record of 26–13–4–2 and a decision of Joseph?
<s>[INST]What was the score of the game that had a record of 26–13–4–2 and a decision of Joseph? Context: CREATE TABLE table_name_24 (score VARCHAR, decision VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_24 WHERE decision = "joseph" AND record = "26–13–4–2"</s>
CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_7 WHERE home_team = "collingwood"
What is the name of the away team who play Collingwood?
<s>[INST]What is the name of the away team who play Collingwood? Context: CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_7 WHERE home_team = "collingwood"</s>
CREATE TABLE table_name_74 (score INTEGER, player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT AVG(score) FROM table_name_74 WHERE to_par = "−3" AND country = "south africa" AND player = "richard sterne"
What is the score when To par was −3, in South Africa, for Richard Sterne?
<s>[INST]What is the score when To par was −3, in South Africa, for Richard Sterne? Context: CREATE TABLE table_name_74 (score INTEGER, player VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT AVG(score) FROM table_name_74 WHERE to_par = "−3" AND country = "south africa" AND player = "richard sterne"</s>
CREATE TABLE table_name_84 (score VARCHAR, partner VARCHAR)
SELECT score FROM table_name_84 WHERE partner = "tathiana garbin"
what score is it with tathiana garbin as partner?
<s>[INST]what score is it with tathiana garbin as partner? Context: CREATE TABLE table_name_84 (score VARCHAR, partner VARCHAR)[/INST]SELECT score FROM table_name_84 WHERE partner = "tathiana garbin"</s>
CREATE TABLE table_17304621_14 (upstream VARCHAR, downstream VARCHAR, bandwidth VARCHAR)
SELECT COUNT(upstream) FROM table_17304621_14 WHERE downstream = "20 Mbit/s" AND bandwidth = "40 GB"
How many upstream speeds are there for downstream of 20 mbit/s and bandwidth of 40 gb?
<s>[INST]How many upstream speeds are there for downstream of 20 mbit/s and bandwidth of 40 gb? Context: CREATE TABLE table_17304621_14 (upstream VARCHAR, downstream VARCHAR, bandwidth VARCHAR)[/INST]SELECT COUNT(upstream) FROM table_17304621_14 WHERE downstream = "20 Mbit/s" AND bandwidth = "40 GB"</s>
CREATE TABLE table_name_41 (episode_number INTEGER, air_date VARCHAR)
SELECT AVG(episode_number) FROM table_name_41 WHERE air_date = "29 june 2007"
What kind of Episode Number has a Air Date on 29 june 2007?
<s>[INST]What kind of Episode Number has a Air Date on 29 june 2007? Context: CREATE TABLE table_name_41 (episode_number INTEGER, air_date VARCHAR)[/INST]SELECT AVG(episode_number) FROM table_name_41 WHERE air_date = "29 june 2007"</s>
CREATE TABLE table_name_64 (record VARCHAR, time VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_64 WHERE time = "4:00" AND opponent = "krzysztof soszynski"
What's the record that had an opponent of Krzysztof Soszynski and a time of 4:00?
<s>[INST]What's the record that had an opponent of Krzysztof Soszynski and a time of 4:00? Context: CREATE TABLE table_name_64 (record VARCHAR, time VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_64 WHERE time = "4:00" AND opponent = "krzysztof soszynski"</s>
CREATE TABLE table_name_66 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_66 WHERE date = "october 15, 1967"
What team was the opponent on October 15, 1967?
<s>[INST]What team was the opponent on October 15, 1967? Context: CREATE TABLE table_name_66 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_66 WHERE date = "october 15, 1967"</s>
CREATE TABLE table_name_68 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
SELECT erp_w FROM table_name_68 WHERE frequency_mhz > 89.5 AND city_of_license = "washburn, texas"
What is the ERP W of a Frequency MHz greater than 89.5 in the city of Washburn, Texas?
<s>[INST]What is the ERP W of a Frequency MHz greater than 89.5 in the city of Washburn, Texas? Context: CREATE TABLE table_name_68 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)[/INST]SELECT erp_w FROM table_name_68 WHERE frequency_mhz > 89.5 AND city_of_license = "washburn, texas"</s>
CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)
SELECT score_in_the_final FROM table_name_44 WHERE surface = "hard" AND championship = "washington, d.c. , u.s." AND opponent_in_the_final = "ivan lendl"
What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl?
<s>[INST]What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl? Context: CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_44 WHERE surface = "hard" AND championship = "washington, d.c. , u.s." AND opponent_in_the_final = "ivan lendl"</s>
CREATE TABLE table_name_49 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_49 WHERE home_team = "south melbourne"
What was the home team score when south melbourne was the home team?
<s>[INST]What was the home team score when south melbourne was the home team? Context: CREATE TABLE table_name_49 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_49 WHERE home_team = "south melbourne"</s>
CREATE TABLE table_name_29 (experience VARCHAR, year_at_cu VARCHAR, position VARCHAR)
SELECT experience FROM table_name_29 WHERE year_at_cu = "1st" AND position = "graduate assistant"
The graduate assistant who was in the 1st year at CU has what experience?
<s>[INST]The graduate assistant who was in the 1st year at CU has what experience? Context: CREATE TABLE table_name_29 (experience VARCHAR, year_at_cu VARCHAR, position VARCHAR)[/INST]SELECT experience FROM table_name_29 WHERE year_at_cu = "1st" AND position = "graduate assistant"</s>
CREATE TABLE table_14035132_3 (directed_by VARCHAR, written_by VARCHAR)
SELECT COUNT(directed_by) FROM table_14035132_3 WHERE written_by = "Darrick Bachman and Brett Varon"
How many episodes have been directed and written by Darrick Bachman and Brett Varon?
<s>[INST]How many episodes have been directed and written by Darrick Bachman and Brett Varon? Context: CREATE TABLE table_14035132_3 (directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_14035132_3 WHERE written_by = "Darrick Bachman and Brett Varon"</s>
CREATE TABLE table_name_66 (year INTEGER, composition VARCHAR, issue_price VARCHAR)
SELECT MIN(year) FROM table_name_66 WHERE composition = "99.99% silver" AND issue_price = "$94.95"
What is the earliest year when the composition is 99.99% silver and the issue price is $94.95?
<s>[INST]What is the earliest year when the composition is 99.99% silver and the issue price is $94.95? Context: CREATE TABLE table_name_66 (year INTEGER, composition VARCHAR, issue_price VARCHAR)[/INST]SELECT MIN(year) FROM table_name_66 WHERE composition = "99.99% silver" AND issue_price = "$94.95"</s>
CREATE TABLE table_1220125_4 (name VARCHAR, launched VARCHAR)
SELECT name FROM table_1220125_4 WHERE launched = "30 September 1943"
What is the name for 30 september 1943?
<s>[INST]What is the name for 30 september 1943? Context: CREATE TABLE table_1220125_4 (name VARCHAR, launched VARCHAR)[/INST]SELECT name FROM table_1220125_4 WHERE launched = "30 September 1943"</s>
CREATE TABLE table_name_71 (builder VARCHAR, date VARCHAR)
SELECT builder FROM table_name_71 WHERE date = "1953"
What is Builder, when Date is 1953?
<s>[INST]What is Builder, when Date is 1953? Context: CREATE TABLE table_name_71 (builder VARCHAR, date VARCHAR)[/INST]SELECT builder FROM table_name_71 WHERE date = "1953"</s>
CREATE TABLE table_name_2 (ihsaa_class VARCHAR, school VARCHAR)
SELECT ihsaa_class FROM table_name_2 WHERE school = "decatur central"
What kind of IHSAA Class has a School of decatur central?
<s>[INST]What kind of IHSAA Class has a School of decatur central? Context: CREATE TABLE table_name_2 (ihsaa_class VARCHAR, school VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_2 WHERE school = "decatur central"</s>
CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_57 WHERE tie_no = "15"
Who is the away team when there are 15 ties?
<s>[INST]Who is the away team when there are 15 ties? Context: CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_57 WHERE tie_no = "15"</s>
CREATE TABLE table_name_27 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_27 WHERE away_team = "richmond"
Which date did richmond play as away?
<s>[INST]Which date did richmond play as away? Context: CREATE TABLE table_name_27 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_27 WHERE away_team = "richmond"</s>
CREATE TABLE table_22344463_2 (position VARCHAR, height VARCHAR)
SELECT position FROM table_22344463_2 WHERE height = "181cm"
If the height is 181cm, what was the position?
<s>[INST]If the height is 181cm, what was the position? Context: CREATE TABLE table_22344463_2 (position VARCHAR, height VARCHAR)[/INST]SELECT position FROM table_22344463_2 WHERE height = "181cm"</s>
CREATE TABLE table_name_54 (year VARCHAR, binibining_pilipinas_international VARCHAR)
SELECT year FROM table_name_54 WHERE binibining_pilipinas_international = "alma concepcion"
Which Year has a Binibining Pilipinas International of alma concepcion?
<s>[INST]Which Year has a Binibining Pilipinas International of alma concepcion? Context: CREATE TABLE table_name_54 (year VARCHAR, binibining_pilipinas_international VARCHAR)[/INST]SELECT year FROM table_name_54 WHERE binibining_pilipinas_international = "alma concepcion"</s>
CREATE TABLE table_name_60 (english_transliteration VARCHAR, english_translation VARCHAR)
SELECT english_transliteration FROM table_name_60 WHERE english_translation = "late dew"
What is the english transliteration of late dew?
<s>[INST]What is the english transliteration of late dew? Context: CREATE TABLE table_name_60 (english_transliteration VARCHAR, english_translation VARCHAR)[/INST]SELECT english_transliteration FROM table_name_60 WHERE english_translation = "late dew"</s>
CREATE TABLE table_1569625_1 (margin_of_victory VARCHAR, no VARCHAR)
SELECT margin_of_victory FROM table_1569625_1 WHERE no = 15
Name the margin of victory when the number is 15
<s>[INST]Name the margin of victory when the number is 15 Context: CREATE TABLE table_1569625_1 (margin_of_victory VARCHAR, no VARCHAR)[/INST]SELECT margin_of_victory FROM table_1569625_1 WHERE no = 15</s>
CREATE TABLE table_name_88 (clubs_involved INTEGER, clubs_remaining VARCHAR)
SELECT SUM(clubs_involved) FROM table_name_88 WHERE clubs_remaining = 2
How many clubs are involved when the clubs remaining are 2?
<s>[INST]How many clubs are involved when the clubs remaining are 2? Context: CREATE TABLE table_name_88 (clubs_involved INTEGER, clubs_remaining VARCHAR)[/INST]SELECT SUM(clubs_involved) FROM table_name_88 WHERE clubs_remaining = 2</s>
CREATE TABLE table_name_32 (design VARCHAR, acquired VARCHAR)
SELECT design FROM table_name_32 WHERE acquired = 1875
What design was acquired in 1875?
<s>[INST]What design was acquired in 1875? Context: CREATE TABLE table_name_32 (design VARCHAR, acquired VARCHAR)[/INST]SELECT design FROM table_name_32 WHERE acquired = 1875</s>
CREATE TABLE table_name_32 (episodes INTEGER, average_ratings VARCHAR)
SELECT AVG(episodes) FROM table_name_32 WHERE average_ratings = "10.3%"
When the average ratings is 10.3%, what is the average episodes?
<s>[INST]When the average ratings is 10.3%, what is the average episodes? Context: CREATE TABLE table_name_32 (episodes INTEGER, average_ratings VARCHAR)[/INST]SELECT AVG(episodes) FROM table_name_32 WHERE average_ratings = "10.3%"</s>
CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = "3–6, 6–4, 3–6, 4–6"
When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final?
<s>[INST]When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final? Context: CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = "3–6, 6–4, 3–6, 4–6"</s>
CREATE TABLE table_name_17 (took_office VARCHAR, senator VARCHAR)
SELECT took_office FROM table_name_17 WHERE senator = "ken armbrister"
What year did Senator Ken Armbrister take office?
<s>[INST]What year did Senator Ken Armbrister take office? Context: CREATE TABLE table_name_17 (took_office VARCHAR, senator VARCHAR)[/INST]SELECT took_office FROM table_name_17 WHERE senator = "ken armbrister"</s>
CREATE TABLE table_name_49 (pole INTEGER, flap VARCHAR, race VARCHAR)
SELECT MIN(pole) FROM table_name_49 WHERE flap > 5 AND race < 155
What is the lowest pole with a Flap larger than 5, and a before race 155?
<s>[INST]What is the lowest pole with a Flap larger than 5, and a before race 155? Context: CREATE TABLE table_name_49 (pole INTEGER, flap VARCHAR, race VARCHAR)[/INST]SELECT MIN(pole) FROM table_name_49 WHERE flap > 5 AND race < 155</s>
CREATE TABLE table_1342233_17 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_1342233_17 WHERE incumbent = "Joe B. Bates"
What year was incumbent joe b. bates first elected?
<s>[INST]What year was incumbent joe b. bates first elected? Context: CREATE TABLE table_1342233_17 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT first_elected FROM table_1342233_17 WHERE incumbent = "Joe B. Bates"</s>
CREATE TABLE table_25042332_26 (region VARCHAR, solar_panel VARCHAR)
SELECT region FROM table_25042332_26 WHERE solar_panel = "0.3%"
What region has 0.3% solar panel?
<s>[INST]What region has 0.3% solar panel? Context: CREATE TABLE table_25042332_26 (region VARCHAR, solar_panel VARCHAR)[/INST]SELECT region FROM table_25042332_26 WHERE solar_panel = "0.3%"</s>
CREATE TABLE table_13464416_5 (team VARCHAR, game VARCHAR)
SELECT team FROM table_13464416_5 WHERE game = 20
Which team played in game 20?
<s>[INST]Which team played in game 20? Context: CREATE TABLE table_13464416_5 (team VARCHAR, game VARCHAR)[/INST]SELECT team FROM table_13464416_5 WHERE game = 20</s>
CREATE TABLE table_20855452_4 (new_points INTEGER, points VARCHAR)
SELECT MAX(new_points) FROM table_20855452_4 WHERE points = 2200
What was the max when they score 2200?
<s>[INST]What was the max when they score 2200? Context: CREATE TABLE table_20855452_4 (new_points INTEGER, points VARCHAR)[/INST]SELECT MAX(new_points) FROM table_20855452_4 WHERE points = 2200</s>
CREATE TABLE table_name_69 (team VARCHAR, points VARCHAR, year VARCHAR)
SELECT team FROM table_name_69 WHERE points < 21 AND year = 1983
What team did carlos cardus drive for in 1983 when he got less than 21 points?
<s>[INST]What team did carlos cardus drive for in 1983 when he got less than 21 points? Context: CREATE TABLE table_name_69 (team VARCHAR, points VARCHAR, year VARCHAR)[/INST]SELECT team FROM table_name_69 WHERE points < 21 AND year = 1983</s>
CREATE TABLE table_name_15 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_15 WHERE score = 67 - 68 = 135
What is the to par score of the player that had a score of 67-68=135?
<s>[INST]What is the to par score of the player that had a score of 67-68=135? Context: CREATE TABLE table_name_15 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_15 WHERE score = 67 - 68 = 135</s>
CREATE TABLE table_name_92 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_92 WHERE score = "30-20"
Where was the game that had a final score of 30-20?
<s>[INST]Where was the game that had a final score of 30-20? Context: CREATE TABLE table_name_92 (venue VARCHAR, score VARCHAR)[/INST]SELECT venue FROM table_name_92 WHERE score = "30-20"</s>
CREATE TABLE table_name_95 (school_club_team VARCHAR, round VARCHAR, pick VARCHAR)
SELECT school_club_team FROM table_name_95 WHERE round > 12 AND pick < 342
What was the school/club after round 12, and picked smaller than 342?
<s>[INST]What was the school/club after round 12, and picked smaller than 342? Context: CREATE TABLE table_name_95 (school_club_team VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT school_club_team FROM table_name_95 WHERE round > 12 AND pick < 342</s>
CREATE TABLE table_name_71 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_71 WHERE venue = "mcg"
I want to know the home team for mcg venue
<s>[INST]I want to know the home team for mcg venue Context: CREATE TABLE table_name_71 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_71 WHERE venue = "mcg"</s>
CREATE TABLE table_name_11 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_11 WHERE away_team = "richmond"
What is Richmond score as the away team?
<s>[INST]What is Richmond score as the away team? Context: CREATE TABLE table_name_11 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_11 WHERE away_team = "richmond"</s>
CREATE TABLE table_name_86 (bronze INTEGER, total VARCHAR, silver VARCHAR)
SELECT MAX(bronze) FROM table_name_86 WHERE total < 3 AND silver < 0
What is the highest Bronze, when Total is less than 3, and when Silver is less than 0?
<s>[INST]What is the highest Bronze, when Total is less than 3, and when Silver is less than 0? Context: CREATE TABLE table_name_86 (bronze INTEGER, total VARCHAR, silver VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_86 WHERE total < 3 AND silver < 0</s>
CREATE TABLE table_2508633_9 (position VARCHAR, college VARCHAR)
SELECT position FROM table_2508633_9 WHERE college = "Langston"
What position was the draft pick that came from Langston?
<s>[INST]What position was the draft pick that came from Langston? Context: CREATE TABLE table_2508633_9 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_2508633_9 WHERE college = "Langston"</s>
CREATE TABLE table_1427998_1 (division VARCHAR, playoffs VARCHAR)
SELECT COUNT(division) FROM table_1427998_1 WHERE playoffs = "Conference Quarterfinals"
How many divisions have been won when the playoff result is conference quarterfinals.
<s>[INST]How many divisions have been won when the playoff result is conference quarterfinals. Context: CREATE TABLE table_1427998_1 (division VARCHAR, playoffs VARCHAR)[/INST]SELECT COUNT(division) FROM table_1427998_1 WHERE playoffs = "Conference Quarterfinals"</s>
CREATE TABLE table_name_37 (score VARCHAR, venue VARCHAR)
SELECT score FROM table_name_37 WHERE venue = "lübker golf resort"
What is the Score, when the Venue is Lübker Golf Resort?
<s>[INST]What is the Score, when the Venue is Lübker Golf Resort? Context: CREATE TABLE table_name_37 (score VARCHAR, venue VARCHAR)[/INST]SELECT score FROM table_name_37 WHERE venue = "lübker golf resort"</s>
CREATE TABLE document_functional_areas (document_code VARCHAR, functional_area_code VARCHAR); CREATE TABLE documents (access_count INTEGER, document_code VARCHAR); CREATE TABLE functional_areas (functional_area_code VARCHAR, functional_area_description VARCHAR)
SELECT AVG(t1.access_count) FROM documents AS t1 JOIN document_functional_areas AS t2 ON t1.document_code = t2.document_code JOIN functional_areas AS t3 ON t2.functional_area_code = t3.functional_area_code WHERE t3.functional_area_description = "Acknowledgement"
Find the average access counts of documents with functional area "Acknowledgement".
<s>[INST]Find the average access counts of documents with functional area "Acknowledgement". Context: CREATE TABLE document_functional_areas (document_code VARCHAR, functional_area_code VARCHAR); CREATE TABLE documents (access_count INTEGER, document_code VARCHAR); CREATE TABLE functional_areas (functional_area_code VARCHAR, functional_area_description VARCHAR)[/INST]SELECT AVG(t1.access_count) FROM documents AS t1 JOIN document_functional_areas AS t2 ON t1.document_code = t2.document_code JOIN functional_areas AS t3 ON t2.functional_area_code = t3.functional_area_code WHERE t3.functional_area_description = "Acknowledgement"</s>
CREATE TABLE table_name_39 (all_time INTEGER, amateur_era INTEGER)
SELECT SUM(all_time) FROM table_name_39 WHERE amateur_era < 0
What is the sum of All-Time, when Amateur Era is less than 0?
<s>[INST]What is the sum of All-Time, when Amateur Era is less than 0? Context: CREATE TABLE table_name_39 (all_time INTEGER, amateur_era INTEGER)[/INST]SELECT SUM(all_time) FROM table_name_39 WHERE amateur_era < 0</s>
CREATE TABLE table_15817998_5 (college VARCHAR, player VARCHAR)
SELECT college FROM table_15817998_5 WHERE player = "Jeffrey Simmer"
What is the college that Jeffrey Simmer plays for?
<s>[INST]What is the college that Jeffrey Simmer plays for? Context: CREATE TABLE table_15817998_5 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_15817998_5 WHERE player = "Jeffrey Simmer"</s>
CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_94 WHERE home_team = "carlton"
What was the away team score when the home team was Carlton?
<s>[INST]What was the away team score when the home team was Carlton? Context: CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_94 WHERE home_team = "carlton"</s>
CREATE TABLE table_11621747_1 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_11621747_1 WHERE date = "Aug 29"
What is the tournament of aug 29?
<s>[INST]What is the tournament of aug 29? Context: CREATE TABLE table_11621747_1 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_11621747_1 WHERE date = "Aug 29"</s>
CREATE TABLE table_name_16 (guest VARCHAR, venue VARCHAR)
SELECT guest FROM table_name_16 WHERE venue = "stadion prljanije"
Who was the guest at Stadion Prljanije?
<s>[INST]Who was the guest at Stadion Prljanije? Context: CREATE TABLE table_name_16 (guest VARCHAR, venue VARCHAR)[/INST]SELECT guest FROM table_name_16 WHERE venue = "stadion prljanije"</s>
CREATE TABLE table_name_48 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_48 WHERE record = "7-9"
Which Date has a Record of 7-9?
<s>[INST]Which Date has a Record of 7-9? Context: CREATE TABLE table_name_48 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_48 WHERE record = "7-9"</s>
CREATE TABLE table_name_55 (top_25 INTEGER, tournament VARCHAR, top_10 VARCHAR)
SELECT MIN(top_25) FROM table_name_55 WHERE tournament = "the open championship" AND top_10 > 3
What is the lowest Top-25 for the open championship, with a Top-10 larger than 3?
<s>[INST]What is the lowest Top-25 for the open championship, with a Top-10 larger than 3? Context: CREATE TABLE table_name_55 (top_25 INTEGER, tournament VARCHAR, top_10 VARCHAR)[/INST]SELECT MIN(top_25) FROM table_name_55 WHERE tournament = "the open championship" AND top_10 > 3</s>
CREATE TABLE table_name_42 (designated_visitors VARCHAR, designated_home VARCHAR)
SELECT designated_visitors FROM table_name_42 WHERE designated_home = "atlanta falcons"
Who were the visitors when the Atlanta Falcons were the home team?
<s>[INST]Who were the visitors when the Atlanta Falcons were the home team? Context: CREATE TABLE table_name_42 (designated_visitors VARCHAR, designated_home VARCHAR)[/INST]SELECT designated_visitors FROM table_name_42 WHERE designated_home = "atlanta falcons"</s>
CREATE TABLE table_name_68 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_68 WHERE home_team = "chelsea"
WHAT IS THE AWAY TEAM WITH A HOME TEAM OF CHELSEA?
<s>[INST]WHAT IS THE AWAY TEAM WITH A HOME TEAM OF CHELSEA? Context: CREATE TABLE table_name_68 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_68 WHERE home_team = "chelsea"</s>
CREATE TABLE table_name_50 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_50 WHERE player = "stacy lewis"
What was Stacy Lewis' place?
<s>[INST]What was Stacy Lewis' place? Context: CREATE TABLE table_name_50 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_50 WHERE player = "stacy lewis"</s>
CREATE TABLE table_name_38 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_38 WHERE winning_score = −14(68 - 68 - 67 - 71 = 274)
What is Date, when Winning Score is −14 (68-68-67-71=274)?
<s>[INST]What is Date, when Winning Score is −14 (68-68-67-71=274)? Context: CREATE TABLE table_name_38 (date VARCHAR, winning_score VARCHAR)[/INST]SELECT date FROM table_name_38 WHERE winning_score = −14(68 - 68 - 67 - 71 = 274)</s>
CREATE TABLE table_name_58 (games INTEGER, lost VARCHAR, points VARCHAR, drawn VARCHAR)
SELECT MAX(games) FROM table_name_58 WHERE points < 4 AND drawn = 1 AND lost < 6
What is the highest games from a game with points less than 4, drawn of 1 and a lost less than 6?
<s>[INST]What is the highest games from a game with points less than 4, drawn of 1 and a lost less than 6? Context: CREATE TABLE table_name_58 (games INTEGER, lost VARCHAR, points VARCHAR, drawn VARCHAR)[/INST]SELECT MAX(games) FROM table_name_58 WHERE points < 4 AND drawn = 1 AND lost < 6</s>
CREATE TABLE table_name_52 (city VARCHAR, colony_name VARCHAR)
SELECT city FROM table_name_52 WHERE colony_name = "northeastern crescent colony"
Which City has a Colony Name of northeastern crescent colony?
<s>[INST]Which City has a Colony Name of northeastern crescent colony? Context: CREATE TABLE table_name_52 (city VARCHAR, colony_name VARCHAR)[/INST]SELECT city FROM table_name_52 WHERE colony_name = "northeastern crescent colony"</s>
CREATE TABLE table_name_46 (goals INTEGER, tries VARCHAR, points VARCHAR)
SELECT SUM(goals) FROM table_name_46 WHERE tries = 24 AND points > 96
What is the total number of goals from 24 tries and 96 or greater points?
<s>[INST]What is the total number of goals from 24 tries and 96 or greater points? Context: CREATE TABLE table_name_46 (goals INTEGER, tries VARCHAR, points VARCHAR)[/INST]SELECT SUM(goals) FROM table_name_46 WHERE tries = 24 AND points > 96</s>
CREATE TABLE table_name_14 (number VARCHAR, party VARCHAR, président VARCHAR)
SELECT number FROM table_name_14 WHERE party = "socialist party" AND président = "yves krattinger"
What number corresponds to Presidet Yves Krattinger of the Socialist party?
<s>[INST]What number corresponds to Presidet Yves Krattinger of the Socialist party? Context: CREATE TABLE table_name_14 (number VARCHAR, party VARCHAR, président VARCHAR)[/INST]SELECT number FROM table_name_14 WHERE party = "socialist party" AND président = "yves krattinger"</s>
CREATE TABLE table_name_8 (score VARCHAR, high_assists VARCHAR)
SELECT score FROM table_name_8 WHERE high_assists = "maurice williams (7)"
What was the score of the game when Maurice Williams (7) had the high assists?
<s>[INST]What was the score of the game when Maurice Williams (7) had the high assists? Context: CREATE TABLE table_name_8 (score VARCHAR, high_assists VARCHAR)[/INST]SELECT score FROM table_name_8 WHERE high_assists = "maurice williams (7)"</s>
CREATE TABLE table_name_68 (bronze INTEGER, gold INTEGER)
SELECT MIN(bronze) FROM table_name_68 WHERE gold < 0
What is the lowest number of bronze medals received by a nation with fewer than 0 gold medals?
<s>[INST]What is the lowest number of bronze medals received by a nation with fewer than 0 gold medals? Context: CREATE TABLE table_name_68 (bronze INTEGER, gold INTEGER)[/INST]SELECT MIN(bronze) FROM table_name_68 WHERE gold < 0</s>
CREATE TABLE table_256286_39 (meas_num INTEGER)
SELECT MAX(meas_num) FROM table_256286_39
What is the highest measure number?
<s>[INST]What is the highest measure number? Context: CREATE TABLE table_256286_39 (meas_num INTEGER)[/INST]SELECT MAX(meas_num) FROM table_256286_39</s>
CREATE TABLE table_name_63 (usn_2013 INTEGER, cnn_2011 VARCHAR, bw_2013 VARCHAR, forbes_2011 VARCHAR)
SELECT SUM(usn_2013) FROM table_name_63 WHERE bw_2013 < 1000 AND forbes_2011 > 17 AND cnn_2011 < 13
What is the USN 2013 ranking with a BW 2013 ranking less than 1000, a Forbes 2011 ranking larger than 17, and a CNN 2011 ranking less than 13?
<s>[INST]What is the USN 2013 ranking with a BW 2013 ranking less than 1000, a Forbes 2011 ranking larger than 17, and a CNN 2011 ranking less than 13? Context: CREATE TABLE table_name_63 (usn_2013 INTEGER, cnn_2011 VARCHAR, bw_2013 VARCHAR, forbes_2011 VARCHAR)[/INST]SELECT SUM(usn_2013) FROM table_name_63 WHERE bw_2013 < 1000 AND forbes_2011 > 17 AND cnn_2011 < 13</s>
CREATE TABLE table_name_15 (totals_06_10 INTEGER, pubs_2010 VARCHAR, totals_07_11 VARCHAR)
SELECT MIN(totals_06_10) FROM table_name_15 WHERE pubs_2010 = 68 AND totals_07_11 > 305
What is the lowest 06-10 totals with a pubs 2010 of 68 and a 07-11 totals larger than 305?
<s>[INST]What is the lowest 06-10 totals with a pubs 2010 of 68 and a 07-11 totals larger than 305? Context: CREATE TABLE table_name_15 (totals_06_10 INTEGER, pubs_2010 VARCHAR, totals_07_11 VARCHAR)[/INST]SELECT MIN(totals_06_10) FROM table_name_15 WHERE pubs_2010 = 68 AND totals_07_11 > 305</s>
CREATE TABLE table_name_73 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
SELECT incumbent FROM table_name_73 WHERE party = "republican" AND first_elected < 1864
Who is the incumbent that is a republican and first elected before 1864?
<s>[INST]Who is the incumbent that is a republican and first elected before 1864? Context: CREATE TABLE table_name_73 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)[/INST]SELECT incumbent FROM table_name_73 WHERE party = "republican" AND first_elected < 1864</s>
CREATE TABLE table_27723526_12 (high_assists VARCHAR, score VARCHAR)
SELECT high_assists FROM table_27723526_12 WHERE score = "L 103–104 (OT)"
Name the high assists for l 103–104 (ot)
<s>[INST]Name the high assists for l 103–104 (ot) Context: CREATE TABLE table_27723526_12 (high_assists VARCHAR, score VARCHAR)[/INST]SELECT high_assists FROM table_27723526_12 WHERE score = "L 103–104 (OT)"</s>
CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_name_44 WHERE record = "39-44"
What game that had a record of 39-44 had the lowest attendance?
<s>[INST]What game that had a record of 39-44 had the lowest attendance? Context: CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_44 WHERE record = "39-44"</s>
CREATE TABLE table_name_75 (gold VARCHAR, bronze VARCHAR, total VARCHAR, sport VARCHAR)
SELECT COUNT(gold) FROM table_name_75 WHERE total > 30 AND sport = "swimming" AND bronze > 35
How many gold values have totals over 30, bronzes over 35, and are in Swimming?
<s>[INST]How many gold values have totals over 30, bronzes over 35, and are in Swimming? Context: CREATE TABLE table_name_75 (gold VARCHAR, bronze VARCHAR, total VARCHAR, sport VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_75 WHERE total > 30 AND sport = "swimming" AND bronze > 35</s>
CREATE TABLE table_18268826_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_18268826_1 WHERE us_viewers__million_ = "3.25"
Who's the writer of the episode seen by 3.25 million people in the US?
<s>[INST]Who's the writer of the episode seen by 3.25 million people in the US? Context: CREATE TABLE table_18268826_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT written_by FROM table_18268826_1 WHERE us_viewers__million_ = "3.25"</s>
CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_59 WHERE venue = "western oval"
What day does the team play at western oval?
<s>[INST]What day does the team play at western oval? Context: CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_59 WHERE venue = "western oval"</s>
CREATE TABLE table_name_27 (winning_driver VARCHAR, constructor VARCHAR)
SELECT winning_driver FROM table_name_27 WHERE constructor = "brm"
Who is the winning driver that has a construction of brm?
<s>[INST]Who is the winning driver that has a construction of brm? Context: CREATE TABLE table_name_27 (winning_driver VARCHAR, constructor VARCHAR)[/INST]SELECT winning_driver FROM table_name_27 WHERE constructor = "brm"</s>
CREATE TABLE table_name_20 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR, sspec_number VARCHAR)
SELECT release_price___usd__ FROM table_name_20 WHERE gpu_frequency = "650–1150 mhz" AND sspec_number = "sr0pq(e1)"
Which Release price (USD ) has a GPU frequency of 650–1150 mhz and a sSpec number of sr0pq(e1)?
<s>[INST]Which Release price (USD ) has a GPU frequency of 650–1150 mhz and a sSpec number of sr0pq(e1)? Context: CREATE TABLE table_name_20 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR, sspec_number VARCHAR)[/INST]SELECT release_price___usd__ FROM table_name_20 WHERE gpu_frequency = "650–1150 mhz" AND sspec_number = "sr0pq(e1)"</s>
CREATE TABLE table_12294557_3 (title VARCHAR, us_airdate VARCHAR)
SELECT COUNT(title) FROM table_12294557_3 WHERE us_airdate = "April 17, 2009"
What is the total number of title with a u.s. air date of April 17, 2009
<s>[INST]What is the total number of title with a u.s. air date of April 17, 2009 Context: CREATE TABLE table_12294557_3 (title VARCHAR, us_airdate VARCHAR)[/INST]SELECT COUNT(title) FROM table_12294557_3 WHERE us_airdate = "April 17, 2009"</s>
CREATE TABLE table_name_59 (campus VARCHAR, location VARCHAR)
SELECT campus FROM table_name_59 WHERE location = "brgy. alangilan, batangas city"
What campus is in Brgy. Alangilan, Batangas City?
<s>[INST]What campus is in Brgy. Alangilan, Batangas City? Context: CREATE TABLE table_name_59 (campus VARCHAR, location VARCHAR)[/INST]SELECT campus FROM table_name_59 WHERE location = "brgy. alangilan, batangas city"</s>
CREATE TABLE table_name_5 (record VARCHAR, game VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_5 WHERE game > 40 AND opponent = "new york rangers"
What is the Record of the Game after 40 with New York Rangers as Opponent?
<s>[INST]What is the Record of the Game after 40 with New York Rangers as Opponent? Context: CREATE TABLE table_name_5 (record VARCHAR, game VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_5 WHERE game > 40 AND opponent = "new york rangers"</s>
CREATE TABLE table_name_28 (decay_mode VARCHAR, discovery_year VARCHAR, isotope VARCHAR)
SELECT decay_mode FROM table_name_28 WHERE discovery_year = "1984" AND isotope = "265m hs"
What is the decay mode of the 265m hs isotope discovered in 1984?
<s>[INST]What is the decay mode of the 265m hs isotope discovered in 1984? Context: CREATE TABLE table_name_28 (decay_mode VARCHAR, discovery_year VARCHAR, isotope VARCHAR)[/INST]SELECT decay_mode FROM table_name_28 WHERE discovery_year = "1984" AND isotope = "265m hs"</s>
CREATE TABLE table_name_23 (played INTEGER, goals_scored VARCHAR, lost VARCHAR)
SELECT MAX(played) FROM table_name_23 WHERE goals_scored < 18 AND lost > 10
Name the highest Played of Goals Scored smaller than 18 and a Lost larger than 10?
<s>[INST]Name the highest Played of Goals Scored smaller than 18 and a Lost larger than 10? Context: CREATE TABLE table_name_23 (played INTEGER, goals_scored VARCHAR, lost VARCHAR)[/INST]SELECT MAX(played) FROM table_name_23 WHERE goals_scored < 18 AND lost > 10</s>
CREATE TABLE table_name_24 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_24 WHERE away_team = "bournemouth"
On what date was the away team Bournemouth?
<s>[INST]On what date was the away team Bournemouth? Context: CREATE TABLE table_name_24 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_24 WHERE away_team = "bournemouth"</s>
CREATE TABLE table_name_65 (stadium VARCHAR, club VARCHAR)
SELECT stadium FROM table_name_65 WHERE club = "fc seoul"
Which stadium has FC Seoul?
<s>[INST]Which stadium has FC Seoul? Context: CREATE TABLE table_name_65 (stadium VARCHAR, club VARCHAR)[/INST]SELECT stadium FROM table_name_65 WHERE club = "fc seoul"</s>
CREATE TABLE table_name_87 (event VARCHAR, year VARCHAR, position VARCHAR)
SELECT event FROM table_name_87 WHERE year = 2007 AND position = "5th"
Which event in 2007 had a position of 5th?
<s>[INST]Which event in 2007 had a position of 5th? Context: CREATE TABLE table_name_87 (event VARCHAR, year VARCHAR, position VARCHAR)[/INST]SELECT event FROM table_name_87 WHERE year = 2007 AND position = "5th"</s>
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR)
SELECT T2.balance, T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T1.name = 'Brown'
Find the checking balance and saving balance in the Brown’s account.
<s>[INST]Find the checking balance and saving balance in the Brown’s account. Context: CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR)[/INST]SELECT T2.balance, T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T1.name = 'Brown'</s>
CREATE TABLE table_name_64 (status VARCHAR, founded VARCHAR)
SELECT status FROM table_name_64 WHERE founded = 1996
What is the status of the institution that was founded in 1996?
<s>[INST]What is the status of the institution that was founded in 1996? Context: CREATE TABLE table_name_64 (status VARCHAR, founded VARCHAR)[/INST]SELECT status FROM table_name_64 WHERE founded = 1996</s>
CREATE TABLE table_name_35 (location VARCHAR, score VARCHAR)
SELECT location FROM table_name_35 WHERE score = "115-105"
What is the location of the game with a 115-105 score?
<s>[INST]What is the location of the game with a 115-105 score? Context: CREATE TABLE table_name_35 (location VARCHAR, score VARCHAR)[/INST]SELECT location FROM table_name_35 WHERE score = "115-105"</s>