context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE song (f_id VARCHAR, resolution INTEGER, genre_is VARCHAR)
SELECT f_id FROM song WHERE resolution > (SELECT AVG(resolution) FROM song WHERE genre_is = "modern")
What is ids of the songs whose resolution is higher than the average resolution of songs in modern genre?
<s>[INST]What is ids of the songs whose resolution is higher than the average resolution of songs in modern genre? Context: CREATE TABLE song (f_id VARCHAR, resolution INTEGER, genre_is VARCHAR)[/INST]SELECT f_id FROM song WHERE resolution > (SELECT AVG(resolution) FROM song WHERE genre_is = "modern")</s>
CREATE TABLE table_23316034_16 (player VARCHAR, innings VARCHAR)
SELECT player FROM table_23316034_16 WHERE innings = 82
What is the name of the player if the innings is 82?
<s>[INST]What is the name of the player if the innings is 82? Context: CREATE TABLE table_23316034_16 (player VARCHAR, innings VARCHAR)[/INST]SELECT player FROM table_23316034_16 WHERE innings = 82</s>
CREATE TABLE Course_Authors_and_Tutors (personal_name VARCHAR)
SELECT * FROM Course_Authors_and_Tutors ORDER BY personal_name
List all the information about course authors and tutors in alphabetical order of the personal name.
<s>[INST]List all the information about course authors and tutors in alphabetical order of the personal name. Context: CREATE TABLE Course_Authors_and_Tutors (personal_name VARCHAR)[/INST]SELECT * FROM Course_Authors_and_Tutors ORDER BY personal_name</s>
CREATE TABLE table_name_81 (pick INTEGER, round VARCHAR, college VARCHAR)
SELECT AVG(pick) FROM table_name_81 WHERE round < 3 AND college = "northwestern state"
What was the average pick of northwestern state college under round 3?
<s>[INST]What was the average pick of northwestern state college under round 3? Context: CREATE TABLE table_name_81 (pick INTEGER, round VARCHAR, college VARCHAR)[/INST]SELECT AVG(pick) FROM table_name_81 WHERE round < 3 AND college = "northwestern state"</s>
CREATE TABLE table_1341973_3 (first_elected INTEGER, district VARCHAR)
SELECT MAX(first_elected) FROM table_1341973_3 WHERE district = "Alabama 4"
What is the latest year listed with the Alabama 4 voting district?
<s>[INST]What is the latest year listed with the Alabama 4 voting district? Context: CREATE TABLE table_1341973_3 (first_elected INTEGER, district VARCHAR)[/INST]SELECT MAX(first_elected) FROM table_1341973_3 WHERE district = "Alabama 4"</s>
CREATE TABLE table_15739098_1 (airdate VARCHAR, director VARCHAR)
SELECT airdate FROM table_15739098_1 WHERE director = "George Spenton-Foster"
What is the airdate when the director is george spenton-foster
<s>[INST]What is the airdate when the director is george spenton-foster Context: CREATE TABLE table_15739098_1 (airdate VARCHAR, director VARCHAR)[/INST]SELECT airdate FROM table_15739098_1 WHERE director = "George Spenton-Foster"</s>
CREATE TABLE table_name_33 (method VARCHAR, opponent VARCHAR, location VARCHAR, result VARCHAR)
SELECT method FROM table_name_33 WHERE location = "auckland, new zealand" AND result = "win" AND opponent = "darren berry"
What is the method when the location is Auckland, New Zealand, Darren Berry as the opponent, and resulted in a win?
<s>[INST]What is the method when the location is Auckland, New Zealand, Darren Berry as the opponent, and resulted in a win? Context: CREATE TABLE table_name_33 (method VARCHAR, opponent VARCHAR, location VARCHAR, result VARCHAR)[/INST]SELECT method FROM table_name_33 WHERE location = "auckland, new zealand" AND result...
CREATE TABLE table_name_98 (draws INTEGER, ntfa_div_2 VARCHAR)
SELECT MIN(draws) FROM table_name_98 WHERE ntfa_div_2 = "lilydale"
What is the lowest number of draws of the NTFA Div 2 Lilydale?
<s>[INST]What is the lowest number of draws of the NTFA Div 2 Lilydale? Context: CREATE TABLE table_name_98 (draws INTEGER, ntfa_div_2 VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_98 WHERE ntfa_div_2 = "lilydale"</s>
CREATE TABLE table_27537518_4 (score VARCHAR, game VARCHAR)
SELECT score FROM table_27537518_4 WHERE game = 1
What was the score for game #1?
<s>[INST]What was the score for game #1? Context: CREATE TABLE table_27537518_4 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_27537518_4 WHERE game = 1</s>
CREATE TABLE table_13388681_1 (to_par VARCHAR, country VARCHAR, winning_score VARCHAR)
SELECT to_par FROM table_13388681_1 WHERE country = "Mexico" AND winning_score = 67 - 67 - 69 - 70 = 273
What is the number of "to par" in Mexico with a winning score of 67-67-69-70=273?
<s>[INST]What is the number of "to par" in Mexico with a winning score of 67-67-69-70=273? Context: CREATE TABLE table_13388681_1 (to_par VARCHAR, country VARCHAR, winning_score VARCHAR)[/INST]SELECT to_par FROM table_13388681_1 WHERE country = "Mexico" AND winning_score = 67 - 67 - 69 - 70 = 273</s>
CREATE TABLE table_12165135_1 (afl_team VARCHAR, position VARCHAR)
SELECT afl_team FROM table_12165135_1 WHERE position = "Offensive Guard"
What is the afl team of the offensive guard?
<s>[INST]What is the afl team of the offensive guard? Context: CREATE TABLE table_12165135_1 (afl_team VARCHAR, position VARCHAR)[/INST]SELECT afl_team FROM table_12165135_1 WHERE position = "Offensive Guard"</s>
CREATE TABLE table_24143253_1 (deceased_spouse VARCHAR, length_of_marriage VARCHAR)
SELECT deceased_spouse FROM table_24143253_1 WHERE length_of_marriage = "24 years"
Name the deceased spouse for length of marriage being 24 years
<s>[INST]Name the deceased spouse for length of marriage being 24 years Context: CREATE TABLE table_24143253_1 (deceased_spouse VARCHAR, length_of_marriage VARCHAR)[/INST]SELECT deceased_spouse FROM table_24143253_1 WHERE length_of_marriage = "24 years"</s>
CREATE TABLE table_255188_1 (founded INTEGER, nickname VARCHAR)
SELECT MAX(founded) FROM table_255188_1 WHERE nickname = "Avenging Angels"
When were the Avenging Angels founded?
<s>[INST]When were the Avenging Angels founded? Context: CREATE TABLE table_255188_1 (founded INTEGER, nickname VARCHAR)[/INST]SELECT MAX(founded) FROM table_255188_1 WHERE nickname = "Avenging Angels"</s>
CREATE TABLE table_name_33 (points INTEGER, touchdowns VARCHAR, extra_points VARCHAR, player VARCHAR)
SELECT MIN(points) FROM table_name_33 WHERE extra_points = 0 AND player = "curtis redden" AND touchdowns < 2
Which Points is the lowest one that has an Extra points of 0, and a Player of curtis redden, and Touchdowns smaller than 2?
<s>[INST]Which Points is the lowest one that has an Extra points of 0, and a Player of curtis redden, and Touchdowns smaller than 2? Context: CREATE TABLE table_name_33 (points INTEGER, touchdowns VARCHAR, extra_points VARCHAR, player VARCHAR)[/INST]SELECT MIN(points) FROM table_name_33 WHERE extra_points = 0 AND playe...
CREATE TABLE table_16201038_4 (at_opponents_venue VARCHAR, last_5_meetings VARCHAR, at_neutral_site VARCHAR)
SELECT at_opponents_venue FROM table_16201038_4 WHERE last_5_meetings = "MU, 4-1" AND at_neutral_site = "Tied, 0-0"
What is the record at the opponent's venue against the team for which the record for the last 5 meetings is mu, 4-1 and the record at the neutral site is tied, 0-0?
<s>[INST]What is the record at the opponent's venue against the team for which the record for the last 5 meetings is mu, 4-1 and the record at the neutral site is tied, 0-0? Context: CREATE TABLE table_16201038_4 (at_opponents_venue VARCHAR, last_5_meetings VARCHAR, at_neutral_site VARCHAR)[/INST]SELECT at_opponents_ve...
CREATE TABLE table_name_44 (party VARCHAR, representative VARCHAR)
SELECT party FROM table_name_44 WHERE representative = "peter a. quinn"
Which party has Peter A. Quinn as a representative?
<s>[INST]Which party has Peter A. Quinn as a representative? Context: CREATE TABLE table_name_44 (party VARCHAR, representative VARCHAR)[/INST]SELECT party FROM table_name_44 WHERE representative = "peter a. quinn"</s>
CREATE TABLE table_name_65 (rank VARCHAR, active_service VARCHAR)
SELECT rank FROM table_name_65 WHERE active_service = "american civil war and indian wars"
What rank does the person participating in American Civil war and indian wars?
<s>[INST]What rank does the person participating in American Civil war and indian wars? Context: CREATE TABLE table_name_65 (rank VARCHAR, active_service VARCHAR)[/INST]SELECT rank FROM table_name_65 WHERE active_service = "american civil war and indian wars"</s>
CREATE TABLE table_19651669_1 (finalist VARCHAR, final_venue VARCHAR)
SELECT finalist FROM table_19651669_1 WHERE final_venue = "Varese"
Who was the finalist when the final venue was Varese?
<s>[INST]Who was the finalist when the final venue was Varese? Context: CREATE TABLE table_19651669_1 (finalist VARCHAR, final_venue VARCHAR)[/INST]SELECT finalist FROM table_19651669_1 WHERE final_venue = "Varese"</s>
CREATE TABLE table_name_83 (injured INTEGER, place VARCHAR, killed VARCHAR)
SELECT MIN(injured) FROM table_name_83 WHERE place = "dantewada, chhattisgarh" AND killed = 8
What is the least amount of injuries in Dantewada, Chhattisgarh when 8 people were killed?
<s>[INST]What is the least amount of injuries in Dantewada, Chhattisgarh when 8 people were killed? Context: CREATE TABLE table_name_83 (injured INTEGER, place VARCHAR, killed VARCHAR)[/INST]SELECT MIN(injured) FROM table_name_83 WHERE place = "dantewada, chhattisgarh" AND killed = 8</s>
CREATE TABLE table_19753079_36 (party VARCHAR, district VARCHAR)
SELECT COUNT(party) FROM table_19753079_36 WHERE district = "North Carolina 7"
Name the total party for north carolina 7
<s>[INST]Name the total party for north carolina 7 Context: CREATE TABLE table_19753079_36 (party VARCHAR, district VARCHAR)[/INST]SELECT COUNT(party) FROM table_19753079_36 WHERE district = "North Carolina 7"</s>
CREATE TABLE table_name_46 (tier VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR)
SELECT tier FROM table_name_46 WHERE semi_finalists = "sandrine testud mary pierce" AND runner_up = "lisa raymond"
What tier had a runner-up of Lisa Raymond and a semifinalist of Sandrine Testud Mary Pierce?
<s>[INST]What tier had a runner-up of Lisa Raymond and a semifinalist of Sandrine Testud Mary Pierce? Context: CREATE TABLE table_name_46 (tier VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR)[/INST]SELECT tier FROM table_name_46 WHERE semi_finalists = "sandrine testud mary pierce" AND runner_up = "lisa raymond"</s>
CREATE TABLE table_name_54 (score VARCHAR, runner_up VARCHAR)
SELECT score FROM table_name_54 WHERE runner_up = "richard krajicek"
what is the score when the runner-up is richard krajicek?
<s>[INST]what is the score when the runner-up is richard krajicek? Context: CREATE TABLE table_name_54 (score VARCHAR, runner_up VARCHAR)[/INST]SELECT score FROM table_name_54 WHERE runner_up = "richard krajicek"</s>
CREATE TABLE table_1359212_2 (margin VARCHAR, second_place VARCHAR, language VARCHAR)
SELECT COUNT(margin) FROM table_1359212_2 WHERE second_place = "Spain" AND language = "Russian"
what amount has spain as second place and the language is russian?
<s>[INST]what amount has spain as second place and the language is russian? Context: CREATE TABLE table_1359212_2 (margin VARCHAR, second_place VARCHAR, language VARCHAR)[/INST]SELECT COUNT(margin) FROM table_1359212_2 WHERE second_place = "Spain" AND language = "Russian"</s>
CREATE TABLE captain (rank VARCHAR, age INTEGER)
SELECT COUNT(*), rank FROM captain WHERE age < 50 GROUP BY rank
How many captains with younger than 50 are in each rank?
<s>[INST]How many captains with younger than 50 are in each rank? Context: CREATE TABLE captain (rank VARCHAR, age INTEGER)[/INST]SELECT COUNT(*), rank FROM captain WHERE age < 50 GROUP BY rank</s>
CREATE TABLE table_name_42 (wins INTEGER, class VARCHAR, year VARCHAR)
SELECT SUM(wins) FROM table_name_42 WHERE class = "350cc" AND year < 1973
Name the Wins which has a Class of 350cc, and a Year smaller than 1973?
<s>[INST]Name the Wins which has a Class of 350cc, and a Year smaller than 1973? Context: CREATE TABLE table_name_42 (wins INTEGER, class VARCHAR, year VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_42 WHERE class = "350cc" AND year < 1973</s>
CREATE TABLE table_name_23 (height_metres___ft VARCHAR, town VARCHAR)
SELECT height_metres___ft FROM table_name_23 WHERE town = "rouen"
What is the height in Rouen?
<s>[INST]What is the height in Rouen? Context: CREATE TABLE table_name_23 (height_metres___ft VARCHAR, town VARCHAR)[/INST]SELECT height_metres___ft FROM table_name_23 WHERE town = "rouen"</s>
CREATE TABLE table_2226817_6 (no_in_season INTEGER, no_in_series VARCHAR)
SELECT MIN(no_in_season) FROM table_2226817_6 WHERE no_in_series = 84
What's the season number of the episode with series number 84?
<s>[INST]What's the season number of the episode with series number 84? Context: CREATE TABLE table_2226817_6 (no_in_season INTEGER, no_in_series VARCHAR)[/INST]SELECT MIN(no_in_season) FROM table_2226817_6 WHERE no_in_series = 84</s>
CREATE TABLE table_2679061_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
SELECT college_junior_club_team FROM table_2679061_7 WHERE nhl_team = "Buffalo Sabres"
Where are the Buffalo Sabres from?
<s>[INST]Where are the Buffalo Sabres from? Context: CREATE TABLE table_2679061_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR)[/INST]SELECT college_junior_club_team FROM table_2679061_7 WHERE nhl_team = "Buffalo Sabres"</s>
CREATE TABLE table_name_59 (co_drivers VARCHAR, team VARCHAR, year VARCHAR)
SELECT co_drivers FROM table_name_59 WHERE team = "toyota racing" AND year > 2012
Who was the co-driver for Toyota Racing after the year 2012?
<s>[INST]Who was the co-driver for Toyota Racing after the year 2012? Context: CREATE TABLE table_name_59 (co_drivers VARCHAR, team VARCHAR, year VARCHAR)[/INST]SELECT co_drivers FROM table_name_59 WHERE team = "toyota racing" AND year > 2012</s>
CREATE TABLE table_name_65 (money__ INTEGER, round_2 VARCHAR, round_4 VARCHAR)
SELECT MAX(money__) AS ¥_ FROM table_name_65 WHERE round_2 = 65 AND round_4 < 67
What is the maximum ¥ for a round 2 score of 65 and a round 4 score smaller than 67?
<s>[INST]What is the maximum ¥ for a round 2 score of 65 and a round 4 score smaller than 67? Context: CREATE TABLE table_name_65 (money__ INTEGER, round_2 VARCHAR, round_4 VARCHAR)[/INST]SELECT MAX(money__) AS ¥_ FROM table_name_65 WHERE round_2 = 65 AND round_4 < 67</s>
CREATE TABLE table_name_69 (score INTEGER, player VARCHAR)
SELECT MAX(score) FROM table_name_69 WHERE player = "arnold palmer"
How high did Arnold Palmer score in 1962?
<s>[INST]How high did Arnold Palmer score in 1962? Context: CREATE TABLE table_name_69 (score INTEGER, player VARCHAR)[/INST]SELECT MAX(score) FROM table_name_69 WHERE player = "arnold palmer"</s>
CREATE TABLE table_name_56 (poles INTEGER, series VARCHAR, season VARCHAR)
SELECT MAX(poles) FROM table_name_56 WHERE series = "ginetta championship" AND season < 2007
What is the highest Poles, when Series is Ginetta Championship, and when Season is before 2007?
<s>[INST]What is the highest Poles, when Series is Ginetta Championship, and when Season is before 2007? Context: CREATE TABLE table_name_56 (poles INTEGER, series VARCHAR, season VARCHAR)[/INST]SELECT MAX(poles) FROM table_name_56 WHERE series = "ginetta championship" AND season < 2007</s>
CREATE TABLE table_name_84 (erp_w VARCHAR, class VARCHAR, call_sign VARCHAR)
SELECT COUNT(erp_w) FROM table_name_84 WHERE class = "d" AND call_sign = "k299ar"
ERP W that has a Class of d, and a Call sign of k299ar is what total number?
<s>[INST]ERP W that has a Class of d, and a Call sign of k299ar is what total number? Context: CREATE TABLE table_name_84 (erp_w VARCHAR, class VARCHAR, call_sign VARCHAR)[/INST]SELECT COUNT(erp_w) FROM table_name_84 WHERE class = "d" AND call_sign = "k299ar"</s>
CREATE TABLE table_name_96 (bronze INTEGER, rank VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT AVG(bronze) FROM table_name_96 WHERE gold = 1 AND nation = "hungary" AND rank < 3
what is the average bronze when gold is 1, the nation is hungary and the rank is less than 3?
<s>[INST]what is the average bronze when gold is 1, the nation is hungary and the rank is less than 3? Context: CREATE TABLE table_name_96 (bronze INTEGER, rank VARCHAR, gold VARCHAR, nation VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_96 WHERE gold = 1 AND nation = "hungary" AND rank < 3</s>
CREATE TABLE table_name_75 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_75 WHERE stage = 3
what is the winner of stage 3
<s>[INST]what is the winner of stage 3 Context: CREATE TABLE table_name_75 (winner VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_name_75 WHERE stage = 3</s>
CREATE TABLE table_name_51 (events INTEGER, top_5 VARCHAR)
SELECT AVG(events) FROM table_name_51 WHERE top_5 = 1
What is the mean number of events when top-5 is 1?
<s>[INST]What is the mean number of events when top-5 is 1? Context: CREATE TABLE table_name_51 (events INTEGER, top_5 VARCHAR)[/INST]SELECT AVG(events) FROM table_name_51 WHERE top_5 = 1</s>
CREATE TABLE table_name_80 (prr_class VARCHAR, wheel_arrangement VARCHAR, total_produced VARCHAR)
SELECT prr_class FROM table_name_80 WHERE wheel_arrangement = "c-c" AND total_produced < 15
What is the PRR class for wheel arrangement c-c and total less than 15?
<s>[INST]What is the PRR class for wheel arrangement c-c and total less than 15? Context: CREATE TABLE table_name_80 (prr_class VARCHAR, wheel_arrangement VARCHAR, total_produced VARCHAR)[/INST]SELECT prr_class FROM table_name_80 WHERE wheel_arrangement = "c-c" AND total_produced < 15</s>
CREATE TABLE table_name_10 (yds_att VARCHAR, net_yds VARCHAR, rank VARCHAR)
SELECT COUNT(yds_att) FROM table_name_10 WHERE net_yds = 1818 AND rank > 1
What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1?
<s>[INST]What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1? Context: CREATE TABLE table_name_10 (yds_att VARCHAR, net_yds VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(yds_att) FROM table_name_10 WHERE net_yds = 1818 AND rank > 1</s>
CREATE TABLE table_18600760_20 (ansi_code VARCHAR, latitude VARCHAR)
SELECT COUNT(ansi_code) FROM table_18600760_20 WHERE latitude = "48.142938"
How many ansi codes are there for latitude 48.142938?
<s>[INST]How many ansi codes are there for latitude 48.142938? Context: CREATE TABLE table_18600760_20 (ansi_code VARCHAR, latitude VARCHAR)[/INST]SELECT COUNT(ansi_code) FROM table_18600760_20 WHERE latitude = "48.142938"</s>
CREATE TABLE table_name_50 (game VARCHAR, march VARCHAR, points VARCHAR)
SELECT COUNT(game) FROM table_name_50 WHERE march = 19 AND points < 83
How many games have a March of 19, and Points smaller than 83?
<s>[INST]How many games have a March of 19, and Points smaller than 83? Context: CREATE TABLE table_name_50 (game VARCHAR, march VARCHAR, points VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_50 WHERE march = 19 AND points < 83</s>
CREATE TABLE table_name_8 (league VARCHAR, sport VARCHAR)
SELECT league FROM table_name_8 WHERE sport = "gaelic football and hurling"
Sport of gaelic football and hurling is what league?
<s>[INST]Sport of gaelic football and hurling is what league? Context: CREATE TABLE table_name_8 (league VARCHAR, sport VARCHAR)[/INST]SELECT league FROM table_name_8 WHERE sport = "gaelic football and hurling"</s>
CREATE TABLE table_name_47 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_47 WHERE player = "raymond floyd"
Where is the player Raymond Floyd?
<s>[INST]Where is the player Raymond Floyd? Context: CREATE TABLE table_name_47 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_47 WHERE player = "raymond floyd"</s>
CREATE TABLE TOURIST_ATTRACTIONS (Name VARCHAR, Opening_Hours VARCHAR, How_to_Get_There VARCHAR)
SELECT Name, Opening_Hours FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There = "bus" OR How_to_Get_There = "walk"
What are the names and opening hours of the tourist attractions that can be accessed by bus or walk?
<s>[INST]What are the names and opening hours of the tourist attractions that can be accessed by bus or walk? Context: CREATE TABLE TOURIST_ATTRACTIONS (Name VARCHAR, Opening_Hours VARCHAR, How_to_Get_There VARCHAR)[/INST]SELECT Name, Opening_Hours FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There = "bus" OR How_to_Get_T...
CREATE TABLE table_name_78 (prefix VARCHAR, group VARCHAR)
SELECT prefix FROM table_name_78 WHERE group = "bromo"
What prefix has Bromo as the group?
<s>[INST]What prefix has Bromo as the group? Context: CREATE TABLE table_name_78 (prefix VARCHAR, group VARCHAR)[/INST]SELECT prefix FROM table_name_78 WHERE group = "bromo"</s>
CREATE TABLE table_name_98 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR)
SELECT programming FROM table_name_98 WHERE aspect = "4:3" AND psip_short_name = "metvla"
Which Programming has an Aspect of 4:3 and a PSIP Short Name of metvla?
<s>[INST]Which Programming has an Aspect of 4:3 and a PSIP Short Name of metvla? Context: CREATE TABLE table_name_98 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR)[/INST]SELECT programming FROM table_name_98 WHERE aspect = "4:3" AND psip_short_name = "metvla"</s>
CREATE TABLE table_name_79 (laps VARCHAR, grid VARCHAR, time VARCHAR)
SELECT laps FROM table_name_79 WHERE grid > 16 AND time = "+1:35.890"
How many laps had a grid over 16 and a Time of +1:35.890?
<s>[INST]How many laps had a grid over 16 and a Time of +1:35.890? Context: CREATE TABLE table_name_79 (laps VARCHAR, grid VARCHAR, time VARCHAR)[/INST]SELECT laps FROM table_name_79 WHERE grid > 16 AND time = "+1:35.890"</s>
CREATE TABLE table_name_68 (third_place VARCHAR, winner VARCHAR)
SELECT third_place FROM table_name_68 WHERE winner = "paul haarhuis"
Who earned third place when the winner was Paul Haarhuis?
<s>[INST]Who earned third place when the winner was Paul Haarhuis? Context: CREATE TABLE table_name_68 (third_place VARCHAR, winner VARCHAR)[/INST]SELECT third_place FROM table_name_68 WHERE winner = "paul haarhuis"</s>
CREATE TABLE table_1973842_1 (type VARCHAR, location VARCHAR)
SELECT type FROM table_1973842_1 WHERE location = "Macon, Georgia"
What type is the school located in Macon, Georgia?
<s>[INST]What type is the school located in Macon, Georgia? Context: CREATE TABLE table_1973842_1 (type VARCHAR, location VARCHAR)[/INST]SELECT type FROM table_1973842_1 WHERE location = "Macon, Georgia"</s>
CREATE TABLE table_name_59 (character VARCHAR, category VARCHAR, award VARCHAR)
SELECT character FROM table_name_59 WHERE category = "sexiest female" AND award = "british soap awards"
Which character was in the sexiest female category of the British Soap Awards?
<s>[INST]Which character was in the sexiest female category of the British Soap Awards? Context: CREATE TABLE table_name_59 (character VARCHAR, category VARCHAR, award VARCHAR)[/INST]SELECT character FROM table_name_59 WHERE category = "sexiest female" AND award = "british soap awards"</s>
CREATE TABLE table_name_37 (points_difference VARCHAR, points_for VARCHAR)
SELECT points_difference FROM table_name_37 WHERE points_for = "554"
When there were 554 points, what was the point difference?
<s>[INST]When there were 554 points, what was the point difference? Context: CREATE TABLE table_name_37 (points_difference VARCHAR, points_for VARCHAR)[/INST]SELECT points_difference FROM table_name_37 WHERE points_for = "554"</s>
CREATE TABLE table_name_73 (tournament VARCHAR)
SELECT 2011 FROM table_name_73 WHERE tournament = "monte carlo masters"
Tell me the 2011 tournament of monte carlo masters
<s>[INST]Tell me the 2011 tournament of monte carlo masters Context: CREATE TABLE table_name_73 (tournament VARCHAR)[/INST]SELECT 2011 FROM table_name_73 WHERE tournament = "monte carlo masters"</s>
CREATE TABLE table_name_8 (traffic_direction VARCHAR, street VARCHAR, west VARCHAR, _number_of_lanes VARCHAR)
SELECT traffic_direction FROM table_name_8 WHERE west = "2nd avenue" AND _number_of_lanes = "1" AND street = "64th street"
What is the traffic direction of 64th street with 2nd avenue to the west and 1 lane?
<s>[INST]What is the traffic direction of 64th street with 2nd avenue to the west and 1 lane? Context: CREATE TABLE table_name_8 (traffic_direction VARCHAR, street VARCHAR, west VARCHAR, _number_of_lanes VARCHAR)[/INST]SELECT traffic_direction FROM table_name_8 WHERE west = "2nd avenue" AND _number_of_lanes = "1" AND s...
CREATE TABLE table_1341568_6 (status VARCHAR, party VARCHAR, elected VARCHAR)
SELECT status FROM table_1341568_6 WHERE party = "Democratic" AND elected = "1989"
What is the elected status of the Democratic party in 1989?
<s>[INST]What is the elected status of the Democratic party in 1989? Context: CREATE TABLE table_1341568_6 (status VARCHAR, party VARCHAR, elected VARCHAR)[/INST]SELECT status FROM table_1341568_6 WHERE party = "Democratic" AND elected = "1989"</s>
CREATE TABLE table_name_65 (digital_channel VARCHAR, name VARCHAR)
SELECT digital_channel FROM table_name_65 WHERE name = "storm tracker"
Which digital channel is named Storm Tracker?
<s>[INST]Which digital channel is named Storm Tracker? Context: CREATE TABLE table_name_65 (digital_channel VARCHAR, name VARCHAR)[/INST]SELECT digital_channel FROM table_name_65 WHERE name = "storm tracker"</s>
CREATE TABLE table_name_53 (croatia VARCHAR, friendly VARCHAR)
SELECT croatia FROM table_name_53 WHERE friendly = "world cup 2006 qualifier" AND 149 = 152
Which Croatia has a Friendly of world cup 2006 qualifier, and a 149 of 152?
<s>[INST]Which Croatia has a Friendly of world cup 2006 qualifier, and a 149 of 152? Context: CREATE TABLE table_name_53 (croatia VARCHAR, friendly VARCHAR)[/INST]SELECT croatia FROM table_name_53 WHERE friendly = "world cup 2006 qualifier" AND 149 = 152</s>
CREATE TABLE church (organized_by VARCHAR, name VARCHAR, open_date INTEGER)
SELECT organized_by, name FROM church WHERE open_date BETWEEN 1830 AND 1840
Show the organizer and name for churches that opened between 1830 and 1840.
<s>[INST]Show the organizer and name for churches that opened between 1830 and 1840. Context: CREATE TABLE church (organized_by VARCHAR, name VARCHAR, open_date INTEGER)[/INST]SELECT organized_by, name FROM church WHERE open_date BETWEEN 1830 AND 1840</s>
CREATE TABLE table_1543845_63 (locale VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR)
SELECT locale FROM table_1543845_63 WHERE stolen_ends = 12 AND shot_pct = "77%"
What was the location when the stolen ends is 12 and shot pct is 77%?
<s>[INST]What was the location when the stolen ends is 12 and shot pct is 77%? Context: CREATE TABLE table_1543845_63 (locale VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR)[/INST]SELECT locale FROM table_1543845_63 WHERE stolen_ends = 12 AND shot_pct = "77%"</s>
CREATE TABLE table_name_64 (home VARCHAR, visitor VARCHAR)
SELECT home FROM table_name_64 WHERE visitor = "chicago"
Where was the home team in the game played against Chicago?
<s>[INST]Where was the home team in the game played against Chicago? Context: CREATE TABLE table_name_64 (home VARCHAR, visitor VARCHAR)[/INST]SELECT home FROM table_name_64 WHERE visitor = "chicago"</s>
CREATE TABLE table_name_91 (friday_shukra__venus_ VARCHAR, tuesday_mangala__mars_ VARCHAR)
SELECT friday_shukra__venus_ FROM table_name_91 WHERE tuesday_mangala__mars_ = "တ္ၚဲ အၚါ [ŋoa əŋɛ̀a] from sans. aṅgāra"
What is the result of Friday that's တ္ၚဲ အၚါ [ŋoa əŋɛ̀a] from sans. aṅgāra on Tuesday?
<s>[INST]What is the result of Friday that's တ္ၚဲ အၚါ [ŋoa əŋɛ̀a] from sans. aṅgāra on Tuesday? Context: CREATE TABLE table_name_91 (friday_shukra__venus_ VARCHAR, tuesday_mangala__mars_ VARCHAR)[/INST]SELECT friday_shukra__venus_ FROM table_name_91 WHERE tuesday_mangala__mars_ = "တ္ၚဲ အၚါ [ŋoa əŋɛ̀a] from sans. aṅgāra...
CREATE TABLE table_name_11 (nationality VARCHAR, round VARCHAR)
SELECT nationality FROM table_name_11 WHERE round = 1
What was the nationality for the player in Round 1?
<s>[INST]What was the nationality for the player in Round 1? Context: CREATE TABLE table_name_11 (nationality VARCHAR, round VARCHAR)[/INST]SELECT nationality FROM table_name_11 WHERE round = 1</s>
CREATE TABLE table_20424140_3 (couple VARCHAR, average VARCHAR)
SELECT COUNT(couple) FROM table_20424140_3 WHERE average = "25.3"
How many couples have an average of 25.3?
<s>[INST]How many couples have an average of 25.3? Context: CREATE TABLE table_20424140_3 (couple VARCHAR, average VARCHAR)[/INST]SELECT COUNT(couple) FROM table_20424140_3 WHERE average = "25.3"</s>
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR)
SELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = "Clara") AND first_name <> "Clara"
display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara.
<s>[INST]display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara. Context: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR)[/INST]SELECT first_name, last_name, hire_date FROM employees ...
CREATE TABLE table_1341897_6 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1341897_6 WHERE district = "Arkansas 2"
Who was the incumbent in the Arkansas 2 district election?
<s>[INST]Who was the incumbent in the Arkansas 2 district election? Context: CREATE TABLE table_1341897_6 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341897_6 WHERE district = "Arkansas 2"</s>
CREATE TABLE table_name_4 (total_seats INTEGER, share_of_votes VARCHAR)
SELECT MAX(total_seats) FROM table_name_4 WHERE share_of_votes = "33.9%"
When the share of votes is 33.9%, what's the highest total amount of seats?
<s>[INST]When the share of votes is 33.9%, what's the highest total amount of seats? Context: CREATE TABLE table_name_4 (total_seats INTEGER, share_of_votes VARCHAR)[/INST]SELECT MAX(total_seats) FROM table_name_4 WHERE share_of_votes = "33.9%"</s>
CREATE TABLE college (cName VARCHAR); CREATE TABLE tryout (cName VARCHAR)
SELECT DISTINCT state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName
Find the states where have some college students in tryout.
<s>[INST]Find the states where have some college students in tryout. Context: CREATE TABLE college (cName VARCHAR); CREATE TABLE tryout (cName VARCHAR)[/INST]SELECT DISTINCT state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName</s>
CREATE TABLE table_19401346_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
SELECT us_viewers__millions_ FROM table_19401346_1 WHERE no_in_season = 1
How many millions of people in the US saw the episode with season number 1?
<s>[INST]How many millions of people in the US saw the episode with season number 1? Context: CREATE TABLE table_19401346_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_19401346_1 WHERE no_in_season = 1</s>
CREATE TABLE table_name_2 (position_in_1960_1961 VARCHAR, clubs VARCHAR)
SELECT position_in_1960_1961 FROM table_name_2 WHERE clubs = "belenenses"
What position did the Belenenses club occupy in 1960/61?
<s>[INST]What position did the Belenenses club occupy in 1960/61? Context: CREATE TABLE table_name_2 (position_in_1960_1961 VARCHAR, clubs VARCHAR)[/INST]SELECT position_in_1960_1961 FROM table_name_2 WHERE clubs = "belenenses"</s>
CREATE TABLE Paragraphs (document_id VARCHAR)
SELECT document_id, COUNT(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id
Show all document ids and the number of paragraphs in each document. Order by document id.
<s>[INST]Show all document ids and the number of paragraphs in each document. Order by document id. Context: CREATE TABLE Paragraphs (document_id VARCHAR)[/INST]SELECT document_id, COUNT(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id</s>
CREATE TABLE table_name_77 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_77 WHERE week = 14
What was the result in week 14?
<s>[INST]What was the result in week 14? Context: CREATE TABLE table_name_77 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_77 WHERE week = 14</s>
CREATE TABLE table_name_39 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
SELECT enrollment FROM table_name_39 WHERE ihsaa_class = "a" AND mascot = "vikings"
What is the enrollment at the school with IHSAA class A and where mascot is the Vikings?
<s>[INST]What is the enrollment at the school with IHSAA class A and where mascot is the Vikings? Context: CREATE TABLE table_name_39 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)[/INST]SELECT enrollment FROM table_name_39 WHERE ihsaa_class = "a" AND mascot = "vikings"</s>
CREATE TABLE table_name_53 (team VARCHAR, rank VARCHAR, rider VARCHAR)
SELECT team FROM table_name_53 WHERE rank > 5 AND rider = "paul shoesmith"
Rank larger than 5, and a Rider of paul shoesmith belongs to what team?
<s>[INST]Rank larger than 5, and a Rider of paul shoesmith belongs to what team? Context: CREATE TABLE table_name_53 (team VARCHAR, rank VARCHAR, rider VARCHAR)[/INST]SELECT team FROM table_name_53 WHERE rank > 5 AND rider = "paul shoesmith"</s>
CREATE TABLE table_name_30 (points INTEGER, driver VARCHAR)
SELECT AVG(points) FROM table_name_30 WHERE driver = "tristan gommendy"
What is the average point count for tristan gommendy?
<s>[INST]What is the average point count for tristan gommendy? Context: CREATE TABLE table_name_30 (points INTEGER, driver VARCHAR)[/INST]SELECT AVG(points) FROM table_name_30 WHERE driver = "tristan gommendy"</s>
CREATE TABLE table_name_99 (frequency__mhz_ INTEGER, call_letters VARCHAR)
SELECT SUM(frequency__mhz_) FROM table_name_99 WHERE call_letters = "krmd-fm"
Frequency (MHz) that has a Call letters of krmd-fm has what sum?
<s>[INST]Frequency (MHz) that has a Call letters of krmd-fm has what sum? Context: CREATE TABLE table_name_99 (frequency__mhz_ INTEGER, call_letters VARCHAR)[/INST]SELECT SUM(frequency__mhz_) FROM table_name_99 WHERE call_letters = "krmd-fm"</s>
CREATE TABLE table_19897294_11 (no_in_season VARCHAR, no_in_series VARCHAR)
SELECT COUNT(no_in_season) FROM table_19897294_11 WHERE no_in_series = "US18"
What episode in the season was episode us18 in the series?
<s>[INST]What episode in the season was episode us18 in the series? Context: CREATE TABLE table_19897294_11 (no_in_season VARCHAR, no_in_series VARCHAR)[/INST]SELECT COUNT(no_in_season) FROM table_19897294_11 WHERE no_in_series = "US18"</s>
CREATE TABLE table_name_31 (rocket VARCHAR, cospar_id VARCHAR)
SELECT rocket FROM table_name_31 WHERE cospar_id = "2002-001a"
What rocket has a COSPAR ID of 2002-001a?
<s>[INST]What rocket has a COSPAR ID of 2002-001a? Context: CREATE TABLE table_name_31 (rocket VARCHAR, cospar_id VARCHAR)[/INST]SELECT rocket FROM table_name_31 WHERE cospar_id = "2002-001a"</s>
CREATE TABLE ship (TYPE VARCHAR)
SELECT TYPE, COUNT(*) FROM ship GROUP BY TYPE
Show different types of ships and the number of ships of each type.
<s>[INST]Show different types of ships and the number of ships of each type. Context: CREATE TABLE ship (TYPE VARCHAR)[/INST]SELECT TYPE, COUNT(*) FROM ship GROUP BY TYPE</s>
CREATE TABLE table_name_17 (race_name VARCHAR, constructor VARCHAR, date VARCHAR)
SELECT race_name FROM table_name_17 WHERE constructor = "ferrari" AND date = "25 april"
Tell me the race name for ferrari on 25 april
<s>[INST]Tell me the race name for ferrari on 25 april Context: CREATE TABLE table_name_17 (race_name VARCHAR, constructor VARCHAR, date VARCHAR)[/INST]SELECT race_name FROM table_name_17 WHERE constructor = "ferrari" AND date = "25 april"</s>
CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR, winner VARCHAR, runner_up VARCHAR)
SELECT year FROM table_name_65 WHERE winner = "panathinaikos" AND runner_up = "olympiacos" AND venue = "nikos goumas stadium"
When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium?
<s>[INST]When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium? Context: CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR, winner VARCHAR, runner_up VARCHAR)[/INST]SELECT year FROM table_name_65 WHERE winner = "panathinaikos" AND runner_up = "olympiacos" AND venue = "nikos...
CREATE TABLE table_name_91 (poll_source VARCHAR, dates_administered VARCHAR)
SELECT poll_source FROM table_name_91 WHERE dates_administered = "october 6, 2008"
What was the poll source for october 6, 2008?
<s>[INST]What was the poll source for october 6, 2008? Context: CREATE TABLE table_name_91 (poll_source VARCHAR, dates_administered VARCHAR)[/INST]SELECT poll_source FROM table_name_91 WHERE dates_administered = "october 6, 2008"</s>
CREATE TABLE table_1745843_8 (part_3 VARCHAR, class VARCHAR)
SELECT part_3 FROM table_1745843_8 WHERE class = "7a"
What is the part 3 of the word in class 7a?
<s>[INST]What is the part 3 of the word in class 7a? Context: CREATE TABLE table_1745843_8 (part_3 VARCHAR, class VARCHAR)[/INST]SELECT part_3 FROM table_1745843_8 WHERE class = "7a"</s>
CREATE TABLE table_13114949_3 (qualifying_rank INTEGER)
SELECT MIN(qualifying_rank) FROM table_13114949_3
what is the lowest qualifying rank?
<s>[INST]what is the lowest qualifying rank? Context: CREATE TABLE table_13114949_3 (qualifying_rank INTEGER)[/INST]SELECT MIN(qualifying_rank) FROM table_13114949_3</s>
CREATE TABLE table_106367_2 (_number_of_seats_won VARCHAR, _number_of_candidates VARCHAR)
SELECT COUNT(_number_of_seats_won) FROM table_106367_2 WHERE _number_of_candidates = 125
How many seats were won in the election with 125 candidates?
<s>[INST]How many seats were won in the election with 125 candidates? Context: CREATE TABLE table_106367_2 (_number_of_seats_won VARCHAR, _number_of_candidates VARCHAR)[/INST]SELECT COUNT(_number_of_seats_won) FROM table_106367_2 WHERE _number_of_candidates = 125</s>
CREATE TABLE table_name_8 (terry_mcauliffe VARCHAR, dates_administered VARCHAR)
SELECT terry_mcauliffe FROM table_name_8 WHERE dates_administered = "june 6–7"
Which Terry McAuliffe is it that has a Dates Administered on June 6–7?
<s>[INST]Which Terry McAuliffe is it that has a Dates Administered on June 6–7? Context: CREATE TABLE table_name_8 (terry_mcauliffe VARCHAR, dates_administered VARCHAR)[/INST]SELECT terry_mcauliffe FROM table_name_8 WHERE dates_administered = "june 6–7"</s>
CREATE TABLE table_name_44 (height_in_ft VARCHAR, years_for_rockets VARCHAR)
SELECT height_in_ft FROM table_name_44 WHERE years_for_rockets = "2005-06"
What is the Height for Years of Rockets of 2005-06?
<s>[INST]What is the Height for Years of Rockets of 2005-06? Context: CREATE TABLE table_name_44 (height_in_ft VARCHAR, years_for_rockets VARCHAR)[/INST]SELECT height_in_ft FROM table_name_44 WHERE years_for_rockets = "2005-06"</s>
CREATE TABLE table_name_26 (instant_messaging VARCHAR, telephony VARCHAR)
SELECT instant_messaging FROM table_name_26 WHERE telephony = "yes with integrated sametime"
What is Instant Messaging, when Telephony is "Yes with integrated Sametime"?
<s>[INST]What is Instant Messaging, when Telephony is "Yes with integrated Sametime"? Context: CREATE TABLE table_name_26 (instant_messaging VARCHAR, telephony VARCHAR)[/INST]SELECT instant_messaging FROM table_name_26 WHERE telephony = "yes with integrated sametime"</s>
CREATE TABLE table_name_80 (int_percentage VARCHAR, rlng VARCHAR)
SELECT int_percentage FROM table_name_80 WHERE rlng = "4"
What % has 4 RLng?
<s>[INST]What % has 4 RLng? Context: CREATE TABLE table_name_80 (int_percentage VARCHAR, rlng VARCHAR)[/INST]SELECT int_percentage FROM table_name_80 WHERE rlng = "4"</s>
CREATE TABLE table_15431959_1 (no_in_season INTEGER, directed_by VARCHAR)
SELECT MAX(no_in_season) FROM table_15431959_1 WHERE directed_by = "Peter DeLuise"
How many seasons did Peter Deluise direct Stargate SG-1?
<s>[INST]How many seasons did Peter Deluise direct Stargate SG-1? Context: CREATE TABLE table_15431959_1 (no_in_season INTEGER, directed_by VARCHAR)[/INST]SELECT MAX(no_in_season) FROM table_15431959_1 WHERE directed_by = "Peter DeLuise"</s>
CREATE TABLE course (dept_name VARCHAR, credits INTEGER)
SELECT dept_name FROM course GROUP BY dept_name ORDER BY SUM(credits) DESC LIMIT 1
Find the name of the department that offers the highest total credits?
<s>[INST]Find the name of the department that offers the highest total credits? Context: CREATE TABLE course (dept_name VARCHAR, credits INTEGER)[/INST]SELECT dept_name FROM course GROUP BY dept_name ORDER BY SUM(credits) DESC LIMIT 1</s>
CREATE TABLE table_name_6 (team VARCHAR, date VARCHAR)
SELECT team FROM table_name_6 WHERE date = "august 17"
What is the name of the team leading on August 17?
<s>[INST]What is the name of the team leading on August 17? Context: CREATE TABLE table_name_6 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_name_6 WHERE date = "august 17"</s>
CREATE TABLE table_name_23 (nfl_team VARCHAR, college VARCHAR)
SELECT nfl_team FROM table_name_23 WHERE college = "toledo"
What is the NFL team for Toledo?
<s>[INST]What is the NFL team for Toledo? Context: CREATE TABLE table_name_23 (nfl_team VARCHAR, college VARCHAR)[/INST]SELECT nfl_team FROM table_name_23 WHERE college = "toledo"</s>
CREATE TABLE table_name_95 (fastest_laps VARCHAR, races_† VARCHAR)
SELECT fastest_laps FROM table_name_95 WHERE races_† = "12/12"
For the 12/12 races, what is the fastest lap?
<s>[INST]For the 12/12 races, what is the fastest lap? Context: CREATE TABLE table_name_95 (fastest_laps VARCHAR, races_† VARCHAR)[/INST]SELECT fastest_laps FROM table_name_95 WHERE races_† = "12/12"</s>
CREATE TABLE table_name_47 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_47 WHERE tie_no = "4"
What is the score when the tie number is 4?
<s>[INST]What is the score when the tie number is 4? Context: CREATE TABLE table_name_47 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_47 WHERE tie_no = "4"</s>
CREATE TABLE table_name_57 (seats__acs_ INTEGER, election_winner VARCHAR, incumbent VARCHAR)
SELECT MIN(seats__acs_) FROM table_name_57 WHERE election_winner = "inc" AND incumbent = "bjp"
What is the smallest number of seats with INC as an election winner and BJP incumbent?
<s>[INST]What is the smallest number of seats with INC as an election winner and BJP incumbent? Context: CREATE TABLE table_name_57 (seats__acs_ INTEGER, election_winner VARCHAR, incumbent VARCHAR)[/INST]SELECT MIN(seats__acs_) FROM table_name_57 WHERE election_winner = "inc" AND incumbent = "bjp"</s>
CREATE TABLE table_name_4 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_4 WHERE home_team = "st kilda"
What is the home team score of St Kilda?
<s>[INST]What is the home team score of St Kilda? Context: CREATE TABLE table_name_4 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_4 WHERE home_team = "st kilda"</s>
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR)
SELECT DISTINCT characteristic_name FROM CHARACTERISTICS
Find the names of all the product characteristics.
<s>[INST]Find the names of all the product characteristics. Context: CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR)[/INST]SELECT DISTINCT characteristic_name FROM CHARACTERISTICS</s>
CREATE TABLE table_name_59 (points INTEGER, home VARCHAR, game__number VARCHAR)
SELECT MAX(points) FROM table_name_59 WHERE home = "toronto" AND game__number > 63
What is the points where Toronto was the home team and the game number was larger than 63?
<s>[INST]What is the points where Toronto was the home team and the game number was larger than 63? Context: CREATE TABLE table_name_59 (points INTEGER, home VARCHAR, game__number VARCHAR)[/INST]SELECT MAX(points) FROM table_name_59 WHERE home = "toronto" AND game__number > 63</s>
CREATE TABLE table_20301877_2 (player VARCHAR)
SELECT 3 AS _dart_average FROM table_20301877_2 WHERE player = "Raymond van Barneveld"
what is the 3-dart average of raymond van barneveld
<s>[INST]what is the 3-dart average of raymond van barneveld Context: CREATE TABLE table_20301877_2 (player VARCHAR)[/INST]SELECT 3 AS _dart_average FROM table_20301877_2 WHERE player = "Raymond van Barneveld"</s>
CREATE TABLE table_26202788_7 (surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT surface FROM table_26202788_7 WHERE opponent_in_the_final = "Andy Roddick"
Andy Roddick is the opponent in the final on what surface?
<s>[INST]Andy Roddick is the opponent in the final on what surface? Context: CREATE TABLE table_26202788_7 (surface VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT surface FROM table_26202788_7 WHERE opponent_in_the_final = "Andy Roddick"</s>
CREATE TABLE table_12791809_1 (super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR, freight_carried_s_tonne VARCHAR)
SELECT super_b_capacity_reached_[_citation_needed_] FROM table_12791809_1 WHERE freight_carried_s_tonne = 198818
When was the super b capacity reached when the freight carried s tonne was 198818?
<s>[INST]When was the super b capacity reached when the freight carried s tonne was 198818? Context: CREATE TABLE table_12791809_1 (super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR, freight_carried_s_tonne VARCHAR)[/INST]SELECT super_b_capacity_reached_[_citation_needed_] FROM table_12791809_1 WHERE freight...
CREATE TABLE table_name_46 (week INTEGER, opponent VARCHAR)
SELECT MAX(week) FROM table_name_46 WHERE opponent = "san francisco 49ers"
Which Week has an Opponent of san francisco 49ers?
<s>[INST]Which Week has an Opponent of san francisco 49ers? Context: CREATE TABLE table_name_46 (week INTEGER, opponent VARCHAR)[/INST]SELECT MAX(week) FROM table_name_46 WHERE opponent = "san francisco 49ers"</s>