context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_14345690_2 (finished VARCHAR, celebrity VARCHAR)
SELECT finished FROM table_14345690_2 WHERE celebrity = "Nell McAndrew"
What position did Nell McAndrew finish?
<s>[INST]What position did Nell McAndrew finish? Context: CREATE TABLE table_14345690_2 (finished VARCHAR, celebrity VARCHAR)[/INST]SELECT finished FROM table_14345690_2 WHERE celebrity = "Nell McAndrew"</s>
CREATE TABLE table_name_99 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR)
SELECT democratic_ticket FROM table_name_99 WHERE socialist_labor_ticket = "john emanuel"
When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket?
<s>[INST]When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket? Context: CREATE TABLE table_name_99 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR)[/INST]SELECT democratic_ticket FROM table_name_99 WHERE socialist_labor_ticket = "john emanuel"</s>
CREATE TABLE table_name_36 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__english_1997___saban_ VARCHAR)
SELECT voice_actor__english_1998___pioneer_ FROM table_name_36 WHERE voice_actor__english_1997___saban_ = "dave ward"
what character did dave ward play
<s>[INST]what character did dave ward play Context: CREATE TABLE table_name_36 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__english_1997___saban_ VARCHAR)[/INST]SELECT voice_actor__english_1998___pioneer_ FROM table_name_36 WHERE voice_actor__english_1997___saban_ = "dave ward"</s>
CREATE TABLE table_name_59 (tournament VARCHAR)
SELECT 1994 FROM table_name_59 WHERE 1991 = "qf" AND tournament = "australian open"
What is 1994, when 1991 is "QF", and when Tournament is "Australian Open"?
<s>[INST]What is 1994, when 1991 is "QF", and when Tournament is "Australian Open"? Context: CREATE TABLE table_name_59 (tournament VARCHAR)[/INST]SELECT 1994 FROM table_name_59 WHERE 1991 = "qf" AND tournament = "australian open"</s>
CREATE TABLE table_name_60 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_60 WHERE player = "jim thorpe"
What is the place of player jim thorpe?
<s>[INST]What is the place of player jim thorpe? Context: CREATE TABLE table_name_60 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_60 WHERE player = "jim thorpe"</s>
CREATE TABLE table_name_57 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_57 WHERE place = "t6" AND player = "ben crenshaw"
What is the Country of T6 Place Player Ben Crenshaw?
<s>[INST]What is the Country of T6 Place Player Ben Crenshaw? Context: CREATE TABLE table_name_57 (country VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_57 WHERE place = "t6" AND player = "ben crenshaw"</s>
CREATE TABLE table_name_72 (engine VARCHAR, series VARCHAR)
SELECT engine FROM table_name_72 WHERE series = "usac championship car"
Which engine is responsible for the USAC Championship Car?
<s>[INST]Which engine is responsible for the USAC Championship Car? Context: CREATE TABLE table_name_72 (engine VARCHAR, series VARCHAR)[/INST]SELECT engine FROM table_name_72 WHERE series = "usac championship car"</s>
CREATE TABLE table_name_97 (circuit VARCHAR, pole_position VARCHAR)
SELECT circuit FROM table_name_97 WHERE pole_position = "andré ribeiro"
Which Circuit has a Pole position of andré ribeiro?
<s>[INST]Which Circuit has a Pole position of andré ribeiro? Context: CREATE TABLE table_name_97 (circuit VARCHAR, pole_position VARCHAR)[/INST]SELECT circuit FROM table_name_97 WHERE pole_position = "andré ribeiro"</s>
CREATE TABLE table_22669044_8 (record VARCHAR, location_attendance VARCHAR)
SELECT COUNT(record) FROM table_22669044_8 WHERE location_attendance = "United Center 18,838"
Name the number of record for united center 18,838
<s>[INST]Name the number of record for united center 18,838 Context: CREATE TABLE table_22669044_8 (record VARCHAR, location_attendance VARCHAR)[/INST]SELECT COUNT(record) FROM table_22669044_8 WHERE location_attendance = "United Center 18,838"</s>
CREATE TABLE table_name_48 (visitor VARCHAR, home VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_48 WHERE home = "chicago black hawks" AND record = "1-1"
What visiting team played at the home of the Chicago Black Hawks with a record of 1-1?
<s>[INST]What visiting team played at the home of the Chicago Black Hawks with a record of 1-1? Context: CREATE TABLE table_name_48 (visitor VARCHAR, home VARCHAR, record VARCHAR)[/INST]SELECT visitor FROM table_name_48 WHERE home = "chicago black hawks" AND record = "1-1"</s>
CREATE TABLE table_name_75 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_75 WHERE home_team = "richmond"
What was the score for the away team when the home team was richmond?
<s>[INST]What was the score for the away team when the home team was richmond? Context: CREATE TABLE table_name_75 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_75 WHERE home_team = "richmond"</s>
CREATE TABLE table_name_4 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_4 WHERE time_retired = "+6 laps" AND laps < 69
What is the high grid that has a Time/Retired of +6 laps, and under 69 laps?
<s>[INST]What is the high grid that has a Time/Retired of +6 laps, and under 69 laps? Context: CREATE TABLE table_name_4 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_4 WHERE time_retired = "+6 laps" AND laps < 69</s>
CREATE TABLE table_name_99 (linke VARCHAR, state VARCHAR)
SELECT linke FROM table_name_99 WHERE state = "tyrol"
What percent did LINKE get in Tyrol?
<s>[INST]What percent did LINKE get in Tyrol? Context: CREATE TABLE table_name_99 (linke VARCHAR, state VARCHAR)[/INST]SELECT linke FROM table_name_99 WHERE state = "tyrol"</s>
CREATE TABLE table_name_89 (record VARCHAR, boxscore VARCHAR, loss VARCHAR)
SELECT record FROM table_name_89 WHERE boxscore = "w2" AND loss = "kline (2–3)"
Which record has a Boxscore of w2, and a Loss of kline (2–3)?
<s>[INST]Which record has a Boxscore of w2, and a Loss of kline (2–3)? Context: CREATE TABLE table_name_89 (record VARCHAR, boxscore VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_89 WHERE boxscore = "w2" AND loss = "kline (2–3)"</s>
CREATE TABLE table_name_97 (points_difference VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR)
SELECT points_difference FROM table_name_97 WHERE points > 2 AND lost < 3 AND drawn < 1
What is the difference associated with more than 2 points, fewer than 3 losses, and fewer than 1 draw?
<s>[INST]What is the difference associated with more than 2 points, fewer than 3 losses, and fewer than 1 draw? Context: CREATE TABLE table_name_97 (points_difference VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR)[/INST]SELECT points_difference FROM table_name_97 WHERE points > 2 AND lost < 3 AND drawn < 1</s>
CREATE TABLE table_name_4 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_4 WHERE player = "morgan pressel"
What is Money ( $ ), when Player is "Morgan Pressel"?
<s>[INST]What is Money ( $ ), when Player is "Morgan Pressel"? Context: CREATE TABLE table_name_4 (money___$__ VARCHAR, player VARCHAR)[/INST]SELECT money___$__ FROM table_name_4 WHERE player = "morgan pressel"</s>
CREATE TABLE table_name_67 (draw VARCHAR, place INTEGER)
SELECT COUNT(draw) FROM table_name_67 WHERE place < 1
How many draw is in a place that is less than 1?
<s>[INST]How many draw is in a place that is less than 1? Context: CREATE TABLE table_name_67 (draw VARCHAR, place INTEGER)[/INST]SELECT COUNT(draw) FROM table_name_67 WHERE place < 1</s>
CREATE TABLE table_name_56 (draft INTEGER, player VARCHAR, pick VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT AVG(draft) FROM table_name_56 WHERE round = "1" AND nationality = "canada" AND pick = "1" AND player = "vincent lecavalier"
Which Draft has a Round of 1, a Nationality of canada, a Pick of 1, and a Player of vincent lecavalier?
<s>[INST]Which Draft has a Round of 1, a Nationality of canada, a Pick of 1, and a Player of vincent lecavalier? Context: CREATE TABLE table_name_56 (draft INTEGER, player VARCHAR, pick VARCHAR, round VARCHAR, nationality VARCHAR)[/INST]SELECT AVG(draft) FROM table_name_56 WHERE round = "1" AND nationality = "canada" AND pick = "1" AND player = "vincent lecavalier"</s>
CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_93 WHERE home_team = "carlton"
What was the smallest crowd at a home game of carlton?
<s>[INST]What was the smallest crowd at a home game of carlton? Context: CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_93 WHERE home_team = "carlton"</s>
CREATE TABLE table_name_53 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_53 WHERE week = 14
Who were the opponents during week 14?
<s>[INST]Who were the opponents during week 14? Context: CREATE TABLE table_name_53 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_53 WHERE week = 14</s>
CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR)
SELECT away_captain FROM table_name_81 WHERE venue = "kingsmead"
Who is the away captain for Kingsmead?
<s>[INST]Who is the away captain for Kingsmead? Context: CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR)[/INST]SELECT away_captain FROM table_name_81 WHERE venue = "kingsmead"</s>
CREATE TABLE table_name_62 (circuit VARCHAR, winning_driver VARCHAR, name VARCHAR)
SELECT circuit FROM table_name_62 WHERE winning_driver = "emilio de villota" AND name = "pace petroleum trophy"
What circuit did emilio de villota win on at the pace petroleum trophy?
<s>[INST]What circuit did emilio de villota win on at the pace petroleum trophy? Context: CREATE TABLE table_name_62 (circuit VARCHAR, winning_driver VARCHAR, name VARCHAR)[/INST]SELECT circuit FROM table_name_62 WHERE winning_driver = "emilio de villota" AND name = "pace petroleum trophy"</s>
CREATE TABLE table_name_40 (year INTEGER, weight__kg_ VARCHAR)
SELECT SUM(year) FROM table_name_40 WHERE weight__kg_ = "857"
What is the sum total of all the years with a bell that weighed 857 kilograms?
<s>[INST]What is the sum total of all the years with a bell that weighed 857 kilograms? Context: CREATE TABLE table_name_40 (year INTEGER, weight__kg_ VARCHAR)[/INST]SELECT SUM(year) FROM table_name_40 WHERE weight__kg_ = "857"</s>
CREATE TABLE table_name_51 (director VARCHAR, production_number VARCHAR)
SELECT director FROM table_name_51 WHERE production_number = "9368"
Who is the director of the production number 9368?
<s>[INST]Who is the director of the production number 9368? Context: CREATE TABLE table_name_51 (director VARCHAR, production_number VARCHAR)[/INST]SELECT director FROM table_name_51 WHERE production_number = "9368"</s>
CREATE TABLE table_name_29 (venue VARCHAR, year VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_29 WHERE year < 2011 AND competition = "world junior championships"
What venue had a competition of World Junior Championships before 2011?
<s>[INST]What venue had a competition of World Junior Championships before 2011? Context: CREATE TABLE table_name_29 (venue VARCHAR, year VARCHAR, competition VARCHAR)[/INST]SELECT venue FROM table_name_29 WHERE year < 2011 AND competition = "world junior championships"</s>
CREATE TABLE table_name_92 (entrant VARCHAR, constructor VARCHAR)
SELECT entrant FROM table_name_92 WHERE constructor = "brm"
What team used the BRM built car?
<s>[INST]What team used the BRM built car? Context: CREATE TABLE table_name_92 (entrant VARCHAR, constructor VARCHAR)[/INST]SELECT entrant FROM table_name_92 WHERE constructor = "brm"</s>
CREATE TABLE table_name_25 (position VARCHAR, crewe_alexandra_career VARCHAR, goals VARCHAR)
SELECT position FROM table_name_25 WHERE crewe_alexandra_career = "1988–1990" AND goals = 31
What is the position when the Crewe Alexandra career is 1988–1990, with 31 goals?
<s>[INST]What is the position when the Crewe Alexandra career is 1988–1990, with 31 goals? Context: CREATE TABLE table_name_25 (position VARCHAR, crewe_alexandra_career VARCHAR, goals VARCHAR)[/INST]SELECT position FROM table_name_25 WHERE crewe_alexandra_career = "1988–1990" AND goals = 31</s>
CREATE TABLE table_name_40 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_40 WHERE date = "march 27"
What was the record on March 27?
<s>[INST]What was the record on March 27? Context: CREATE TABLE table_name_40 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_40 WHERE date = "march 27"</s>
CREATE TABLE table_name_90 (song VARCHAR, place VARCHAR, points VARCHAR, draw VARCHAR)
SELECT song FROM table_name_90 WHERE points < 54 AND draw < 4 AND place < 10
Which Song has Points smaller than 54, and a Draw smaller than 4, and a Place smaller than 10?
<s>[INST]Which Song has Points smaller than 54, and a Draw smaller than 4, and a Place smaller than 10? Context: CREATE TABLE table_name_90 (song VARCHAR, place VARCHAR, points VARCHAR, draw VARCHAR)[/INST]SELECT song FROM table_name_90 WHERE points < 54 AND draw < 4 AND place < 10</s>
CREATE TABLE table_name_69 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_69 WHERE competition = "fa cup rd 1"
Competition of fa cup rd 1 had what venue?
<s>[INST]Competition of fa cup rd 1 had what venue? Context: CREATE TABLE table_name_69 (venue VARCHAR, competition VARCHAR)[/INST]SELECT venue FROM table_name_69 WHERE competition = "fa cup rd 1"</s>
CREATE TABLE table_name_54 (played INTEGER, percentage VARCHAR, lost VARCHAR)
SELECT AVG(played) FROM table_name_54 WHERE percentage = "3.33%" AND lost < 29
What is the average of games played with a percentage of 3.33% and less than 29 losses?
<s>[INST]What is the average of games played with a percentage of 3.33% and less than 29 losses? Context: CREATE TABLE table_name_54 (played INTEGER, percentage VARCHAR, lost VARCHAR)[/INST]SELECT AVG(played) FROM table_name_54 WHERE percentage = "3.33%" AND lost < 29</s>
CREATE TABLE table_15187735_12 (series_ep VARCHAR, segment_b VARCHAR)
SELECT series_ep FROM table_15187735_12 WHERE segment_b = "Popcorn"
What is the series episode where Segment B is popcorn ?
<s>[INST]What is the series episode where Segment B is popcorn ? Context: CREATE TABLE table_15187735_12 (series_ep VARCHAR, segment_b VARCHAR)[/INST]SELECT series_ep FROM table_15187735_12 WHERE segment_b = "Popcorn"</s>
CREATE TABLE table_28628309_8 (team VARCHAR, player VARCHAR)
SELECT team FROM table_28628309_8 WHERE player = "Ronjay Buenafe"
What is the team when player is listed as Ronjay Buenafe?
<s>[INST]What is the team when player is listed as Ronjay Buenafe? Context: CREATE TABLE table_28628309_8 (team VARCHAR, player VARCHAR)[/INST]SELECT team FROM table_28628309_8 WHERE player = "Ronjay Buenafe"</s>
CREATE TABLE table_name_87 (title VARCHAR, release_date VARCHAR)
SELECT title FROM table_name_87 WHERE release_date = "24 july 2005"
What is the title released on 24 July 2005?
<s>[INST]What is the title released on 24 July 2005? Context: CREATE TABLE table_name_87 (title VARCHAR, release_date VARCHAR)[/INST]SELECT title FROM table_name_87 WHERE release_date = "24 july 2005"</s>
CREATE TABLE table_29289372_1 (area__km²_ VARCHAR, income_classification VARCHAR, population__2010_ VARCHAR)
SELECT area__km²_ FROM table_29289372_1 WHERE income_classification = "1st Class" AND population__2010_ = 318676
When 318676 is the population of 2010 and 1st class is the income classification what is the area in kilometers squared?
<s>[INST]When 318676 is the population of 2010 and 1st class is the income classification what is the area in kilometers squared? Context: CREATE TABLE table_29289372_1 (area__km²_ VARCHAR, income_classification VARCHAR, population__2010_ VARCHAR)[/INST]SELECT area__km²_ FROM table_29289372_1 WHERE income_classification = "1st Class" AND population__2010_ = 318676</s>
CREATE TABLE table_name_92 (director_s_ VARCHAR, film VARCHAR)
SELECT director_s_ FROM table_name_92 WHERE film = "alt i alt"
Name the director of alt i alt
<s>[INST]Name the director of alt i alt Context: CREATE TABLE table_name_92 (director_s_ VARCHAR, film VARCHAR)[/INST]SELECT director_s_ FROM table_name_92 WHERE film = "alt i alt"</s>
CREATE TABLE table_name_34 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_34 WHERE grid = "9"
What's the time for someone on grid 9?
<s>[INST]What's the time for someone on grid 9? Context: CREATE TABLE table_name_34 (time_retired VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_34 WHERE grid = "9"</s>
CREATE TABLE table_1805191_2 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_1805191_2 WHERE incumbent = "Spencer Bachus"
During what year was Representative Spencer Bachus first elected?
<s>[INST]During what year was Representative Spencer Bachus first elected? Context: CREATE TABLE table_1805191_2 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1805191_2 WHERE incumbent = "Spencer Bachus"</s>
CREATE TABLE table_name_33 (average INTEGER, start_value VARCHAR, total VARCHAR)
SELECT AVG(average) FROM table_name_33 WHERE start_value = 9.9 AND total = 9.612
What is the average for the gymnast with a 9.9 start value and a total of 9.612?
<s>[INST]What is the average for the gymnast with a 9.9 start value and a total of 9.612? Context: CREATE TABLE table_name_33 (average INTEGER, start_value VARCHAR, total VARCHAR)[/INST]SELECT AVG(average) FROM table_name_33 WHERE start_value = 9.9 AND total = 9.612</s>
CREATE TABLE table_27734769_9 (score VARCHAR, date VARCHAR)
SELECT COUNT(score) FROM table_27734769_9 WHERE date = "January 19"
How many scores where achieved on January 19?
<s>[INST]How many scores where achieved on January 19? Context: CREATE TABLE table_27734769_9 (score VARCHAR, date VARCHAR)[/INST]SELECT COUNT(score) FROM table_27734769_9 WHERE date = "January 19"</s>
CREATE TABLE table_2857352_3 (digital_channel VARCHAR, virtual_channel VARCHAR)
SELECT digital_channel FROM table_2857352_3 WHERE virtual_channel = "5.2"
What digital channel corresponds to virtual channel 5.2?
<s>[INST]What digital channel corresponds to virtual channel 5.2? Context: CREATE TABLE table_2857352_3 (digital_channel VARCHAR, virtual_channel VARCHAR)[/INST]SELECT digital_channel FROM table_2857352_3 WHERE virtual_channel = "5.2"</s>
CREATE TABLE table_12828723_5 (points_against VARCHAR)
SELECT points_against FROM table_12828723_5 WHERE "played" = "played"
What was the points againt when played is played?
<s>[INST]What was the points againt when played is played? Context: CREATE TABLE table_12828723_5 (points_against VARCHAR)[/INST]SELECT points_against FROM table_12828723_5 WHERE "played" = "played"</s>
CREATE TABLE table_name_1 (competition VARCHAR, position VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_1 WHERE position = "8th" AND venue = "budapest, hungary"
Which competition in Budapest, Hungary gave a result of 8th?
<s>[INST]Which competition in Budapest, Hungary gave a result of 8th? Context: CREATE TABLE table_name_1 (competition VARCHAR, position VARCHAR, venue VARCHAR)[/INST]SELECT competition FROM table_name_1 WHERE position = "8th" AND venue = "budapest, hungary"</s>
CREATE TABLE table_17311759_4 (score VARCHAR, high_rebounds VARCHAR)
SELECT score FROM table_17311759_4 WHERE high_rebounds = "Zaza Pachulia (8)"
Give the score when high rebounds was zaza pachulia (8)
<s>[INST]Give the score when high rebounds was zaza pachulia (8) Context: CREATE TABLE table_17311759_4 (score VARCHAR, high_rebounds VARCHAR)[/INST]SELECT score FROM table_17311759_4 WHERE high_rebounds = "Zaza Pachulia (8)"</s>
CREATE TABLE market (Number_cities INTEGER, Market_ID VARCHAR); CREATE TABLE film_market_estimation (Market_ID VARCHAR, Low_Estimate INTEGER)
SELECT AVG(T2.Number_cities) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T1.Low_Estimate > 10000
What is the average number of cities of markets with low film market estimate bigger than 10000?
<s>[INST]What is the average number of cities of markets with low film market estimate bigger than 10000? Context: CREATE TABLE market (Number_cities INTEGER, Market_ID VARCHAR); CREATE TABLE film_market_estimation (Market_ID VARCHAR, Low_Estimate INTEGER)[/INST]SELECT AVG(T2.Number_cities) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T1.Low_Estimate > 10000</s>
CREATE TABLE table_name_58 (week INTEGER, opponent VARCHAR)
SELECT AVG(week) FROM table_name_58 WHERE opponent = "chicago bears"
What average week number had the Chicago bears as the opponent?
<s>[INST]What average week number had the Chicago bears as the opponent? Context: CREATE TABLE table_name_58 (week INTEGER, opponent VARCHAR)[/INST]SELECT AVG(week) FROM table_name_58 WHERE opponent = "chicago bears"</s>
CREATE TABLE table_name_69 (acceleration_0_100km_h__0_62mph_ VARCHAR, transmission VARCHAR)
SELECT acceleration_0_100km_h__0_62mph_ FROM table_name_69 WHERE transmission = "5-speed manual"
What is the acceleration 0–100km/h (0–62mph) when the transmission is 5-speed manual?
<s>[INST]What is the acceleration 0–100km/h (0–62mph) when the transmission is 5-speed manual? Context: CREATE TABLE table_name_69 (acceleration_0_100km_h__0_62mph_ VARCHAR, transmission VARCHAR)[/INST]SELECT acceleration_0_100km_h__0_62mph_ FROM table_name_69 WHERE transmission = "5-speed manual"</s>
CREATE TABLE table_1566852_3 (interview_subject VARCHAR, centerfold_model VARCHAR)
SELECT interview_subject FROM table_1566852_3 WHERE centerfold_model = "Nicole Narain"
IN THE ISSUE WHERE NICOLE NARAIN WAS THE CENTERFOLD MODEL, WHO WAS THE INTERVIEW SUBJECT?
<s>[INST]IN THE ISSUE WHERE NICOLE NARAIN WAS THE CENTERFOLD MODEL, WHO WAS THE INTERVIEW SUBJECT? Context: CREATE TABLE table_1566852_3 (interview_subject VARCHAR, centerfold_model VARCHAR)[/INST]SELECT interview_subject FROM table_1566852_3 WHERE centerfold_model = "Nicole Narain"</s>
CREATE TABLE table_name_70 (red_list INTEGER, family VARCHAR, species_authority VARCHAR)
SELECT MAX(red_list) FROM table_name_70 WHERE family = "muridae" AND species_authority = "microtus pinetorum (le conte, 1830)"
What is the highest Red List for the muridae family and species Authority of microtus pinetorum (le conte, 1830)?
<s>[INST]What is the highest Red List for the muridae family and species Authority of microtus pinetorum (le conte, 1830)? Context: CREATE TABLE table_name_70 (red_list INTEGER, family VARCHAR, species_authority VARCHAR)[/INST]SELECT MAX(red_list) FROM table_name_70 WHERE family = "muridae" AND species_authority = "microtus pinetorum (le conte, 1830)"</s>
CREATE TABLE table_name_96 (televote VARCHAR, draw VARCHAR, place VARCHAR)
SELECT televote FROM table_name_96 WHERE draw > 11 AND place < 4
With a draw greater than 11 and the place smaller than 4 what was the televote?
<s>[INST]With a draw greater than 11 and the place smaller than 4 what was the televote? Context: CREATE TABLE table_name_96 (televote VARCHAR, draw VARCHAR, place VARCHAR)[/INST]SELECT televote FROM table_name_96 WHERE draw > 11 AND place < 4</s>
CREATE TABLE table_18207285_2 (opponents INTEGER, result VARCHAR, game VARCHAR)
SELECT MAX(opponents) FROM table_18207285_2 WHERE result = "Win" AND game = 1
How many opponents played 1 game with a result win?
<s>[INST]How many opponents played 1 game with a result win? Context: CREATE TABLE table_18207285_2 (opponents INTEGER, result VARCHAR, game VARCHAR)[/INST]SELECT MAX(opponents) FROM table_18207285_2 WHERE result = "Win" AND game = 1</s>
CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_39 WHERE grid = 10
When the grid number is 10, what is the total number of laps?
<s>[INST]When the grid number is 10, what is the total number of laps? Context: CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_39 WHERE grid = 10</s>
CREATE TABLE table_12792876_3 (tries_against VARCHAR, drawn VARCHAR)
SELECT tries_against FROM table_12792876_3 WHERE drawn = "2"
What was the tries against when the drawn was 2?
<s>[INST]What was the tries against when the drawn was 2? Context: CREATE TABLE table_12792876_3 (tries_against VARCHAR, drawn VARCHAR)[/INST]SELECT tries_against FROM table_12792876_3 WHERE drawn = "2"</s>
CREATE TABLE table_224837_4 (date_successor_seated VARCHAR, district VARCHAR)
SELECT date_successor_seated FROM table_224837_4 WHERE district = "South Carolina 3rd"
Name the date successor seated is south carolina 3rd
<s>[INST]Name the date successor seated is south carolina 3rd Context: CREATE TABLE table_224837_4 (date_successor_seated VARCHAR, district VARCHAR)[/INST]SELECT date_successor_seated FROM table_224837_4 WHERE district = "South Carolina 3rd"</s>
CREATE TABLE table_name_44 (game INTEGER, record VARCHAR, november VARCHAR)
SELECT MAX(game) FROM table_name_44 WHERE record = "11-11-1" AND november > 29
What is the highest game number when the rangers had a record of 11-11-1 and the date was after November 29?
<s>[INST]What is the highest game number when the rangers had a record of 11-11-1 and the date was after November 29? Context: CREATE TABLE table_name_44 (game INTEGER, record VARCHAR, november VARCHAR)[/INST]SELECT MAX(game) FROM table_name_44 WHERE record = "11-11-1" AND november > 29</s>
CREATE TABLE table_name_22 (opponents_in_final VARCHAR, surface VARCHAR, score_in_final VARCHAR)
SELECT opponents_in_final FROM table_name_22 WHERE surface = "hard" AND score_in_final = "6–1, 1–6, 7–6(4)"
Who were the opponents in the final when the game was played on hard surface and the score of the final was 6–1, 1–6, 7–6(4)?
<s>[INST]Who were the opponents in the final when the game was played on hard surface and the score of the final was 6–1, 1–6, 7–6(4)? Context: CREATE TABLE table_name_22 (opponents_in_final VARCHAR, surface VARCHAR, score_in_final VARCHAR)[/INST]SELECT opponents_in_final FROM table_name_22 WHERE surface = "hard" AND score_in_final = "6–1, 1–6, 7–6(4)"</s>
CREATE TABLE table_name_51 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_51 WHERE date = "november 16"
Which Record is on november 16?
<s>[INST]Which Record is on november 16? Context: CREATE TABLE table_name_51 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_51 WHERE date = "november 16"</s>
CREATE TABLE table_27712451_9 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_27712451_9 WHERE date = "March 14"
Name the high assists for march 14
<s>[INST]Name the high assists for march 14 Context: CREATE TABLE table_27712451_9 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_27712451_9 WHERE date = "March 14"</s>
CREATE TABLE table_name_83 (duration VARCHAR, start_date_time VARCHAR)
SELECT duration FROM table_name_83 WHERE start_date_time = "8 july 12:38"
The EVA that started on 8 July 12:38 went for how long?
<s>[INST]The EVA that started on 8 July 12:38 went for how long? Context: CREATE TABLE table_name_83 (duration VARCHAR, start_date_time VARCHAR)[/INST]SELECT duration FROM table_name_83 WHERE start_date_time = "8 july 12:38"</s>
CREATE TABLE table_name_64 (score VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT score FROM table_name_64 WHERE to_par = "+1" AND country = "united states"
What was the score for the player from the United states that was +1 to par?
<s>[INST]What was the score for the player from the United states that was +1 to par? Context: CREATE TABLE table_name_64 (score VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_64 WHERE to_par = "+1" AND country = "united states"</s>
CREATE TABLE table_name_29 (margin_of_victory VARCHAR, country VARCHAR)
SELECT margin_of_victory FROM table_name_29 WHERE country = "south africa"
What is south africa's margin of victory?
<s>[INST]What is south africa's margin of victory? Context: CREATE TABLE table_name_29 (margin_of_victory VARCHAR, country VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_29 WHERE country = "south africa"</s>
CREATE TABLE club (clublocation VARCHAR)
SELECT COUNT(*) FROM club WHERE clublocation = "HHH"
How many clubs are located at "HHH"?
<s>[INST]How many clubs are located at "HHH"? Context: CREATE TABLE club (clublocation VARCHAR)[/INST]SELECT COUNT(*) FROM club WHERE clublocation = "HHH"</s>
CREATE TABLE table_11303072_9 (stumpings VARCHAR, player VARCHAR)
SELECT stumpings FROM table_11303072_9 WHERE player = "Paul Nixon"
How many stumpings has Paul Nixon in his career?
<s>[INST]How many stumpings has Paul Nixon in his career? Context: CREATE TABLE table_11303072_9 (stumpings VARCHAR, player VARCHAR)[/INST]SELECT stumpings FROM table_11303072_9 WHERE player = "Paul Nixon"</s>
CREATE TABLE table_name_30 (total VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT total FROM table_name_30 WHERE country = "united states" AND to_par < 14 AND player = "tom watson"
When the tom watson is playing for the United States and the To par is under 14, what's the total?
<s>[INST]When the tom watson is playing for the United States and the To par is under 14, what's the total? Context: CREATE TABLE table_name_30 (total VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)[/INST]SELECT total FROM table_name_30 WHERE country = "united states" AND to_par < 14 AND player = "tom watson"</s>
CREATE TABLE table_name_91 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_91 WHERE date = "1978-12-16"
Tell me the score on 1978-12-16
<s>[INST]Tell me the score on 1978-12-16 Context: CREATE TABLE table_name_91 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_91 WHERE date = "1978-12-16"</s>
CREATE TABLE table_16439764_1 (time_to_ft__m__at_25°__seconds_ VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR)
SELECT time_to_ft__m__at_25°__seconds_ FROM table_16439764_1 WHERE shell__lb_ = "12.5" AND max_height__ft_ > 20000.0
Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees?
<s>[INST]Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees? Context: CREATE TABLE table_16439764_1 (time_to_ft__m__at_25°__seconds_ VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR)[/INST]SELECT time_to_ft__m__at_25°__seconds_ FROM table_16439764_1 WHERE shell__lb_ = "12.5" AND max_height__ft_ > 20000.0</s>
CREATE TABLE table_name_76 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_76 WHERE event = "kage kombat 16"
Where was the event Kage Kombat 16?
<s>[INST]Where was the event Kage Kombat 16? Context: CREATE TABLE table_name_76 (location VARCHAR, event VARCHAR)[/INST]SELECT location FROM table_name_76 WHERE event = "kage kombat 16"</s>
CREATE TABLE table_name_92 (placings VARCHAR, nation VARCHAR)
SELECT COUNT(placings) FROM table_name_92 WHERE nation = "east germany"
What was the placing of the nation of East Germany?
<s>[INST]What was the placing of the nation of East Germany? Context: CREATE TABLE table_name_92 (placings VARCHAR, nation VARCHAR)[/INST]SELECT COUNT(placings) FROM table_name_92 WHERE nation = "east germany"</s>
CREATE TABLE table_name_43 (district VARCHAR, position VARCHAR, first_election VARCHAR)
SELECT district FROM table_name_43 WHERE position = "member" AND first_election = "1985"
What District has a Member with a First Election date of 1985?
<s>[INST]What District has a Member with a First Election date of 1985? Context: CREATE TABLE table_name_43 (district VARCHAR, position VARCHAR, first_election VARCHAR)[/INST]SELECT district FROM table_name_43 WHERE position = "member" AND first_election = "1985"</s>
CREATE TABLE table_name_89 (rank INTEGER, time VARCHAR)
SELECT MAX(rank) FROM table_name_89 WHERE time = 53.33
With a time of 53.33, who ranked the highest?
<s>[INST]With a time of 53.33, who ranked the highest? Context: CREATE TABLE table_name_89 (rank INTEGER, time VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_89 WHERE time = 53.33</s>
CREATE TABLE table_name_46 (party VARCHAR, office VARCHAR)
SELECT party FROM table_name_46 WHERE office = "majority floor leader"
Which Party has a Office of majority floor leader
<s>[INST]Which Party has a Office of majority floor leader Context: CREATE TABLE table_name_46 (party VARCHAR, office VARCHAR)[/INST]SELECT party FROM table_name_46 WHERE office = "majority floor leader"</s>
CREATE TABLE table_name_67 (report VARCHAR, circuit VARCHAR)
SELECT report FROM table_name_67 WHERE circuit = "mosport park"
What's the report for the mosport park circuit?
<s>[INST]What's the report for the mosport park circuit? Context: CREATE TABLE table_name_67 (report VARCHAR, circuit VARCHAR)[/INST]SELECT report FROM table_name_67 WHERE circuit = "mosport park"</s>
CREATE TABLE table_name_13 (icao VARCHAR, city VARCHAR)
SELECT icao FROM table_name_13 WHERE city = "douala"
What is the ICAO of Douala city?
<s>[INST]What is the ICAO of Douala city? Context: CREATE TABLE table_name_13 (icao VARCHAR, city VARCHAR)[/INST]SELECT icao FROM table_name_13 WHERE city = "douala"</s>
CREATE TABLE table_name_28 (west VARCHAR, south VARCHAR)
SELECT west FROM table_name_28 WHERE south = "ev fürstenfeldbruck"
What was west when ev fürstenfeldbruck was south?
<s>[INST]What was west when ev fürstenfeldbruck was south? Context: CREATE TABLE table_name_28 (west VARCHAR, south VARCHAR)[/INST]SELECT west FROM table_name_28 WHERE south = "ev fürstenfeldbruck"</s>
CREATE TABLE table_name_21 (lost INTEGER, goals_conceded VARCHAR, team VARCHAR, place VARCHAR, points VARCHAR)
SELECT AVG(lost) FROM table_name_21 WHERE place < 10 AND points < 23 AND team = "chorrillo" AND goals_conceded < 26
What is the average of lost for place less than 10, less than 23 points, and goals conceded less than 26 for the Chorrillo team?
<s>[INST]What is the average of lost for place less than 10, less than 23 points, and goals conceded less than 26 for the Chorrillo team? Context: CREATE TABLE table_name_21 (lost INTEGER, goals_conceded VARCHAR, team VARCHAR, place VARCHAR, points VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_21 WHERE place < 10 AND points < 23 AND team = "chorrillo" AND goals_conceded < 26</s>
CREATE TABLE table_name_96 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_96 WHERE date = "sep 12, 1976"
What is Tournament, when Date is "Sep 12, 1976"?
<s>[INST]What is Tournament, when Date is "Sep 12, 1976"? Context: CREATE TABLE table_name_96 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_96 WHERE date = "sep 12, 1976"</s>
CREATE TABLE table_name_98 (constructor VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_98 WHERE grid = 19
What is the name of the Constructor with a 19 Grid?
<s>[INST]What is the name of the Constructor with a 19 Grid? Context: CREATE TABLE table_name_98 (constructor VARCHAR, grid VARCHAR)[/INST]SELECT constructor FROM table_name_98 WHERE grid = 19</s>
CREATE TABLE table_name_24 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT silver FROM table_name_24 WHERE gold < 12 AND rank < 5 AND bronze = 5
Which silver has a Gold smaller than 12, a Rank smaller than 5, and a Bronze of 5?
<s>[INST]Which silver has a Gold smaller than 12, a Rank smaller than 5, and a Bronze of 5? Context: CREATE TABLE table_name_24 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT silver FROM table_name_24 WHERE gold < 12 AND rank < 5 AND bronze = 5</s>
CREATE TABLE table_name_51 (length_of_retirement VARCHAR, age_at_inauguration VARCHAR)
SELECT length_of_retirement FROM table_name_51 WHERE age_at_inauguration = "70years, 53days"
What is the Length of retirement of the President with an Age at inauguration of 70years, 53days?
<s>[INST]What is the Length of retirement of the President with an Age at inauguration of 70years, 53days? Context: CREATE TABLE table_name_51 (length_of_retirement VARCHAR, age_at_inauguration VARCHAR)[/INST]SELECT length_of_retirement FROM table_name_51 WHERE age_at_inauguration = "70years, 53days"</s>
CREATE TABLE table_name_61 (sample_size VARCHAR, poll_source VARCHAR, date_s__administered VARCHAR)
SELECT sample_size FROM table_name_61 WHERE poll_source = "rasmussen reports" AND date_s__administered = "october 13, 2010"
How many people participated in the Rasmussen Reports poll on October 13, 2010?
<s>[INST]How many people participated in the Rasmussen Reports poll on October 13, 2010? Context: CREATE TABLE table_name_61 (sample_size VARCHAR, poll_source VARCHAR, date_s__administered VARCHAR)[/INST]SELECT sample_size FROM table_name_61 WHERE poll_source = "rasmussen reports" AND date_s__administered = "october 13, 2010"</s>
CREATE TABLE table_name_7 (round INTEGER, player VARCHAR)
SELECT MIN(round) FROM table_name_7 WHERE player = "ryan thang"
What round was Ryan Thang drafted in?
<s>[INST]What round was Ryan Thang drafted in? Context: CREATE TABLE table_name_7 (round INTEGER, player VARCHAR)[/INST]SELECT MIN(round) FROM table_name_7 WHERE player = "ryan thang"</s>
CREATE TABLE table_name_20 (team VARCHAR, pos VARCHAR)
SELECT team FROM table_name_20 WHERE pos = "14th"
Which team is in 14th position?
<s>[INST]Which team is in 14th position? Context: CREATE TABLE table_name_20 (team VARCHAR, pos VARCHAR)[/INST]SELECT team FROM table_name_20 WHERE pos = "14th"</s>
CREATE TABLE table_18143210_2 (first_season_in_top_division VARCHAR, club VARCHAR)
SELECT first_season_in_top_division FROM table_18143210_2 WHERE club = "UNAM"
When did the club UNAM played the first season in top division?
<s>[INST]When did the club UNAM played the first season in top division? Context: CREATE TABLE table_18143210_2 (first_season_in_top_division VARCHAR, club VARCHAR)[/INST]SELECT first_season_in_top_division FROM table_18143210_2 WHERE club = "UNAM"</s>
CREATE TABLE table_name_53 (premiere_date VARCHAR, cycle INTEGER)
SELECT premiere_date FROM table_name_53 WHERE cycle < 2
What is Premier Date, when Cycle is less than 2?
<s>[INST]What is Premier Date, when Cycle is less than 2? Context: CREATE TABLE table_name_53 (premiere_date VARCHAR, cycle INTEGER)[/INST]SELECT premiere_date FROM table_name_53 WHERE cycle < 2</s>
CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_61 WHERE away_team = "richmond"
What were the most in attendance in Richmond?
<s>[INST]What were the most in attendance in Richmond? Context: CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_61 WHERE away_team = "richmond"</s>
CREATE TABLE table_name_19 (wins INTEGER, goal_difference VARCHAR, position VARCHAR, goals_for VARCHAR)
SELECT MIN(wins) FROM table_name_19 WHERE position < 20 AND goals_for = 35 AND goal_difference < -20
Name the least wins for goal difference being less than -20 with position less than 20 and goals for of 35
<s>[INST]Name the least wins for goal difference being less than -20 with position less than 20 and goals for of 35 Context: CREATE TABLE table_name_19 (wins INTEGER, goal_difference VARCHAR, position VARCHAR, goals_for VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_19 WHERE position < 20 AND goals_for = 35 AND goal_difference < -20</s>
CREATE TABLE table_name_27 (lost INTEGER, _percentage_pts VARCHAR)
SELECT MIN(lost) FROM table_name_27 WHERE _percentage_pts = 93.45
If the points scored were 93.45%, what's the lowest amount of games lost?
<s>[INST]If the points scored were 93.45%, what's the lowest amount of games lost? Context: CREATE TABLE table_name_27 (lost INTEGER, _percentage_pts VARCHAR)[/INST]SELECT MIN(lost) FROM table_name_27 WHERE _percentage_pts = 93.45</s>
CREATE TABLE table_name_98 (motor VARCHAR, apogee VARCHAR)
SELECT motor FROM table_name_98 WHERE apogee = "713 km"
What kind of Motor has a Apogee of 713 km?
<s>[INST]What kind of Motor has a Apogee of 713 km? Context: CREATE TABLE table_name_98 (motor VARCHAR, apogee VARCHAR)[/INST]SELECT motor FROM table_name_98 WHERE apogee = "713 km"</s>
CREATE TABLE table_name_92 (draw INTEGER, points VARCHAR, place VARCHAR)
SELECT AVG(draw) FROM table_name_92 WHERE points > 44 AND place > 1
What is the Draw that has Points larger than 44 and a Place larger than 1?
<s>[INST]What is the Draw that has Points larger than 44 and a Place larger than 1? Context: CREATE TABLE table_name_92 (draw INTEGER, points VARCHAR, place VARCHAR)[/INST]SELECT AVG(draw) FROM table_name_92 WHERE points > 44 AND place > 1</s>
CREATE TABLE table_name_59 (theme VARCHAR, week VARCHAR)
SELECT theme FROM table_name_59 WHERE week = "top 11"
What was the theme for the Top 11 week?
<s>[INST]What was the theme for the Top 11 week? Context: CREATE TABLE table_name_59 (theme VARCHAR, week VARCHAR)[/INST]SELECT theme FROM table_name_59 WHERE week = "top 11"</s>
CREATE TABLE table_10420426_1 (wins VARCHAR, series VARCHAR, team VARCHAR)
SELECT COUNT(wins) FROM table_10420426_1 WHERE series = "GP2 series" AND team = "Racing Engineering"
What is the number of wins for gp2 series for racing engineering?
<s>[INST]What is the number of wins for gp2 series for racing engineering? Context: CREATE TABLE table_10420426_1 (wins VARCHAR, series VARCHAR, team VARCHAR)[/INST]SELECT COUNT(wins) FROM table_10420426_1 WHERE series = "GP2 series" AND team = "Racing Engineering"</s>
CREATE TABLE table_name_53 (draws VARCHAR, played INTEGER)
SELECT COUNT(draws) FROM table_name_53 WHERE played < 38
What is the number of draws when played is less than 38?
<s>[INST]What is the number of draws when played is less than 38? Context: CREATE TABLE table_name_53 (draws VARCHAR, played INTEGER)[/INST]SELECT COUNT(draws) FROM table_name_53 WHERE played < 38</s>
CREATE TABLE table_name_96 (opponent VARCHAR, tv_time VARCHAR)
SELECT opponent FROM table_name_96 WHERE tv_time = "bye"
Which opponent had a bye for the TV Time?
<s>[INST]Which opponent had a bye for the TV Time? Context: CREATE TABLE table_name_96 (opponent VARCHAR, tv_time VARCHAR)[/INST]SELECT opponent FROM table_name_96 WHERE tv_time = "bye"</s>
CREATE TABLE table_2602958_4 (_number VARCHAR, prod_code VARCHAR)
SELECT _number FROM table_2602958_4 WHERE prod_code = 175020
Which episodein season 3 had 175020 for a production code?
<s>[INST]Which episodein season 3 had 175020 for a production code? Context: CREATE TABLE table_2602958_4 (_number VARCHAR, prod_code VARCHAR)[/INST]SELECT _number FROM table_2602958_4 WHERE prod_code = 175020</s>
CREATE TABLE table_17623902_1 (production_code VARCHAR, written_by VARCHAR)
SELECT COUNT(production_code) FROM table_17623902_1 WHERE written_by = "Julie Martin"
How many episodes did Julie Martin wrote for the show If every episode has its own production code?
<s>[INST]How many episodes did Julie Martin wrote for the show If every episode has its own production code? Context: CREATE TABLE table_17623902_1 (production_code VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(production_code) FROM table_17623902_1 WHERE written_by = "Julie Martin"</s>
CREATE TABLE table_24018112_1 (frequency VARCHAR, brand_name VARCHAR)
SELECT frequency FROM table_24018112_1 WHERE brand_name = "Pentium"
What frequency does the Pentium processor use?
<s>[INST]What frequency does the Pentium processor use? Context: CREATE TABLE table_24018112_1 (frequency VARCHAR, brand_name VARCHAR)[/INST]SELECT frequency FROM table_24018112_1 WHERE brand_name = "Pentium"</s>
CREATE TABLE table_name_10 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR)
SELECT MIN(top_10) FROM table_name_10 WHERE cuts_made < 11 AND wins > 0
Name the least top-10 for cuts made less than 11 and wins more than 0
<s>[INST]Name the least top-10 for cuts made less than 11 and wins more than 0 Context: CREATE TABLE table_name_10 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR)[/INST]SELECT MIN(top_10) FROM table_name_10 WHERE cuts_made < 11 AND wins > 0</s>
CREATE TABLE table_15416002_1 (v_mph_ INTEGER, chi VARCHAR)
SELECT MAX(v_mph_) FROM table_15416002_1 WHERE chi = "13.5"
What is the maximum miles per hour recorded when the CHI (Carvill Hurricane Index) is equal to 13.5
<s>[INST]What is the maximum miles per hour recorded when the CHI (Carvill Hurricane Index) is equal to 13.5 Context: CREATE TABLE table_15416002_1 (v_mph_ INTEGER, chi VARCHAR)[/INST]SELECT MAX(v_mph_) FROM table_15416002_1 WHERE chi = "13.5"</s>
CREATE TABLE table_20683381_2 (date_of_opinion_poll VARCHAR, conductor VARCHAR)
SELECT date_of_opinion_poll FROM table_20683381_2 WHERE conductor = "Quantum Research"
When was Quantum Research's poll conducted?
<s>[INST]When was Quantum Research's poll conducted? Context: CREATE TABLE table_20683381_2 (date_of_opinion_poll VARCHAR, conductor VARCHAR)[/INST]SELECT date_of_opinion_poll FROM table_20683381_2 WHERE conductor = "Quantum Research"</s>
CREATE TABLE table_name_99 (state VARCHAR, rank VARCHAR, city VARCHAR)
SELECT state FROM table_name_99 WHERE rank < 10 AND city = "denver"
What is the state of the city of denver, which has a rank less than 10?
<s>[INST]What is the state of the city of denver, which has a rank less than 10? Context: CREATE TABLE table_name_99 (state VARCHAR, rank VARCHAR, city VARCHAR)[/INST]SELECT state FROM table_name_99 WHERE rank < 10 AND city = "denver"</s>