context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_34 (track VARCHAR, date VARCHAR)
SELECT track FROM table_name_34 WHERE date = "09-13-2008"
Where was the race on 09-13-2008?
<s>[INST]Where was the race on 09-13-2008? Context: CREATE TABLE table_name_34 (track VARCHAR, date VARCHAR)[/INST]SELECT track FROM table_name_34 WHERE date = "09-13-2008"</s>
CREATE TABLE table_name_19 (score VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT score FROM table_name_19 WHERE opponent = "@ athletics" AND record = "76-57"
Which score has an Opponent of @ athletics, and a Record of 76-57?
<s>[INST]Which score has an Opponent of @ athletics, and a Record of 76-57? Context: CREATE TABLE table_name_19 (score VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_19 WHERE opponent = "@ athletics" AND record = "76-57"</s>
CREATE TABLE table_name_71 (week INTEGER, date VARCHAR, attendance VARCHAR)
SELECT MIN(week) FROM table_name_71 WHERE date = "november 12, 1961" AND attendance < 7 OFFSET 859
What week was the game played on November 12, 1961, with an attendance of 7,859 played?
<s>[INST]What week was the game played on November 12, 1961, with an attendance of 7,859 played? Context: CREATE TABLE table_name_71 (week INTEGER, date VARCHAR, attendance VARCHAR)[/INST]SELECT MIN(week) FROM table_name_71 WHERE date = "november 12, 1961" AND attendance < 7 OFFSET 859</s>
CREATE TABLE table_name_9 (seats INTEGER, _percentage_votes VARCHAR, change VARCHAR, party VARCHAR)
SELECT SUM(seats) FROM table_name_9 WHERE change = -1 AND party = "others" AND _percentage_votes > 0
How many seats does the party of others have with a change of -1 and more than 0% votes?
<s>[INST]How many seats does the party of others have with a change of -1 and more than 0% votes? Context: CREATE TABLE table_name_9 (seats INTEGER, _percentage_votes VARCHAR, change VARCHAR, party VARCHAR)[/INST]SELECT SUM(seats) FROM table_name_9 WHERE change = -1 AND party = "others" AND _percentage_votes > 0</s>
CREATE TABLE table_name_9 (original_title VARCHAR, english_title VARCHAR)
SELECT original_title FROM table_name_9 WHERE english_title = "malèna"
English title of malèna had what original title?
<s>[INST]English title of malèna had what original title? Context: CREATE TABLE table_name_9 (original_title VARCHAR, english_title VARCHAR)[/INST]SELECT original_title FROM table_name_9 WHERE english_title = "malèna"</s>
CREATE TABLE table_name_74 (team VARCHAR, home_city VARCHAR)
SELECT team FROM table_name_74 WHERE home_city = "velika"
What team has a home city of Velika?
<s>[INST]What team has a home city of Velika? Context: CREATE TABLE table_name_74 (team VARCHAR, home_city VARCHAR)[/INST]SELECT team FROM table_name_74 WHERE home_city = "velika"</s>
CREATE TABLE table_name_14 (losing_bp VARCHAR, lost VARCHAR, club VARCHAR)
SELECT losing_bp FROM table_name_14 WHERE lost = "19" AND club = "newport saracens rfc"
Name the Losing BP of Newport Saracens RFC and has a Lost of 19.
<s>[INST]Name the Losing BP of Newport Saracens RFC and has a Lost of 19. Context: CREATE TABLE table_name_14 (losing_bp VARCHAR, lost VARCHAR, club VARCHAR)[/INST]SELECT losing_bp FROM table_name_14 WHERE lost = "19" AND club = "newport saracens rfc"</s>
CREATE TABLE table_name_78 (nationality VARCHAR, year VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_78 WHERE year > 2009 AND player = "dwayne de rosario category:articles with hcards"
After 2009, what's the nationality of a player named Dwayne de Rosario Category:articles with hcards?
<s>[INST]After 2009, what's the nationality of a player named Dwayne de Rosario Category:articles with hcards? Context: CREATE TABLE table_name_78 (nationality VARCHAR, year VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_78 WHERE year > 2009 AND player = "dwayne de rosario category:articles with hcar...
CREATE TABLE table_13036251_1 (airdate VARCHAR, international_destination VARCHAR)
SELECT airdate FROM table_13036251_1 WHERE international_destination = "Scotland"
what's airdate with international destination being scotland
<s>[INST]what's airdate with international destination being scotland Context: CREATE TABLE table_13036251_1 (airdate VARCHAR, international_destination VARCHAR)[/INST]SELECT airdate FROM table_13036251_1 WHERE international_destination = "Scotland"</s>
CREATE TABLE table_27956_3 (national_rank VARCHAR, percentage_change_yoy VARCHAR)
SELECT COUNT(national_rank) FROM table_27956_3 WHERE percentage_change_yoy = "13.1%"
Name the total number of rank for percentage change yoy 13.1%
<s>[INST]Name the total number of rank for percentage change yoy 13.1% Context: CREATE TABLE table_27956_3 (national_rank VARCHAR, percentage_change_yoy VARCHAR)[/INST]SELECT COUNT(national_rank) FROM table_27956_3 WHERE percentage_change_yoy = "13.1%"</s>
CREATE TABLE table_name_55 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_55 WHERE home_team = "footscray"
In the match where footscray was the home team, how much did they score?
<s>[INST]In the match where footscray was the home team, how much did they score? Context: CREATE TABLE table_name_55 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_55 WHERE home_team = "footscray"</s>
CREATE TABLE table_name_87 (Id VARCHAR)
SELECT 2013 FROM table_name_87 WHERE 2001 = "wta premier 5 tournaments"
I want to know the 2013 when 2001 was wta premier 5 tournaments
<s>[INST]I want to know the 2013 when 2001 was wta premier 5 tournaments Context: CREATE TABLE table_name_87 (Id VARCHAR)[/INST]SELECT 2013 FROM table_name_87 WHERE 2001 = "wta premier 5 tournaments"</s>
CREATE TABLE table_name_30 (country VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT country FROM table_name_30 WHERE film_title_used_in_nomination = "the garden of the finzi-continis"
Where was the film about the garden of the finzi-continis made?
<s>[INST]Where was the film about the garden of the finzi-continis made? Context: CREATE TABLE table_name_30 (country VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT country FROM table_name_30 WHERE film_title_used_in_nomination = "the garden of the finzi-continis"</s>
CREATE TABLE table_name_43 (wins INTEGER, benalla_dfl VARCHAR)
SELECT MAX(wins) FROM table_name_43 WHERE benalla_dfl = "tatong"
What's the most wins of Tatong?
<s>[INST]What's the most wins of Tatong? Context: CREATE TABLE table_name_43 (wins INTEGER, benalla_dfl VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_43 WHERE benalla_dfl = "tatong"</s>
CREATE TABLE table_1939367_1 (arabs_2011 VARCHAR, province VARCHAR)
SELECT arabs_2011 FROM table_1939367_1 WHERE province = "Nunavut"
If the province is Nunavut, what is the Arabs 2011 amount?
<s>[INST]If the province is Nunavut, what is the Arabs 2011 amount? Context: CREATE TABLE table_1939367_1 (arabs_2011 VARCHAR, province VARCHAR)[/INST]SELECT arabs_2011 FROM table_1939367_1 WHERE province = "Nunavut"</s>
CREATE TABLE table_10707176_2 (rnd VARCHAR, circuit VARCHAR)
SELECT rnd FROM table_10707176_2 WHERE circuit = "Phoenix International Raceway"
What rnds were there for the phoenix international raceway?
<s>[INST]What rnds were there for the phoenix international raceway? Context: CREATE TABLE table_10707176_2 (rnd VARCHAR, circuit VARCHAR)[/INST]SELECT rnd FROM table_10707176_2 WHERE circuit = "Phoenix International Raceway"</s>
CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, percentage_of_land_area VARCHAR)
SELECT percentage_of_total_area FROM table_15555661_2 WHERE percentage_of_land_area = "2.2"
What is the percentage of total area in the ecozone that the percentage of land area is 2.2?
<s>[INST]What is the percentage of total area in the ecozone that the percentage of land area is 2.2? Context: CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, percentage_of_land_area VARCHAR)[/INST]SELECT percentage_of_total_area FROM table_15555661_2 WHERE percentage_of_land_area = "2.2"</s>
CREATE TABLE table_name_97 (date VARCHAR, pilot VARCHAR, type VARCHAR, record_description VARCHAR)
SELECT date FROM table_name_97 WHERE type = "mi-10r" AND record_description = "altitude with kg (lb) payload" AND pilot = "g.v. alfyorov"
Type of mi-10r, and a Record description of altitude with kg (lb) payload, and a Pilot of g.v. alfyorov is what date?
<s>[INST]Type of mi-10r, and a Record description of altitude with kg (lb) payload, and a Pilot of g.v. alfyorov is what date? Context: CREATE TABLE table_name_97 (date VARCHAR, pilot VARCHAR, type VARCHAR, record_description VARCHAR)[/INST]SELECT date FROM table_name_97 WHERE type = "mi-10r" AND record_description = "...
CREATE TABLE table_20193855_2 (year INTEGER, author_s__or_editor_s_ VARCHAR)
SELECT MAX(year) FROM table_20193855_2 WHERE author_s__or_editor_s_ = "Delia Sherman"
In which year were the authors or editors Delia Sherman?
<s>[INST]In which year were the authors or editors Delia Sherman? Context: CREATE TABLE table_20193855_2 (year INTEGER, author_s__or_editor_s_ VARCHAR)[/INST]SELECT MAX(year) FROM table_20193855_2 WHERE author_s__or_editor_s_ = "Delia Sherman"</s>
CREATE TABLE table_name_8 (position VARCHAR, year VARCHAR, event VARCHAR, competition VARCHAR)
SELECT position FROM table_name_8 WHERE event = "10,000 m" AND competition = "world championships" AND year > 1993
Which Position has an Event of 10,000 m, and a Competition of world championships, and a Year larger than 1993?
<s>[INST]Which Position has an Event of 10,000 m, and a Competition of world championships, and a Year larger than 1993? Context: CREATE TABLE table_name_8 (position VARCHAR, year VARCHAR, event VARCHAR, competition VARCHAR)[/INST]SELECT position FROM table_name_8 WHERE event = "10,000 m" AND competition = "world champ...
CREATE TABLE table_name_24 (date INTEGER, surface VARCHAR, score VARCHAR)
SELECT MIN(date) FROM table_name_24 WHERE surface = "clay" AND score = "0–6, 3–6"
When was his first game on a clay surface where he scored 0–6, 3–6?
<s>[INST]When was his first game on a clay surface where he scored 0–6, 3–6? Context: CREATE TABLE table_name_24 (date INTEGER, surface VARCHAR, score VARCHAR)[/INST]SELECT MIN(date) FROM table_name_24 WHERE surface = "clay" AND score = "0–6, 3–6"</s>
CREATE TABLE Grants (grant_start_date VARCHAR, grant_id VARCHAR); CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR); CREATE TABLE Documents (grant_id VARCHAR, document_type_code VARCHAR)
SELECT T1.grant_start_date FROM Grants AS T1 JOIN Documents AS T2 ON T1.grant_id = T2.grant_id JOIN Document_Types AS T3 ON T2.document_type_code = T3.document_type_code WHERE T3.document_description = 'Regular' INTERSECT SELECT T1.grant_start_date FROM Grants AS T1 JOIN Documents AS T2 ON T1.grant_id = T2.grant_id JOI...
For grants with both documents described as 'Regular' and documents described as 'Initial Application', list its start date.
<s>[INST]For grants with both documents described as 'Regular' and documents described as 'Initial Application', list its start date. Context: CREATE TABLE Grants (grant_start_date VARCHAR, grant_id VARCHAR); CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR); CREATE TABLE Documents ...
CREATE TABLE table_name_81 (lost VARCHAR, points VARCHAR, drawn VARCHAR)
SELECT COUNT(lost) FROM table_name_81 WHERE points = 11 AND drawn > 1
How many of lost have 11 as the points, and a drawn greater than 1?
<s>[INST]How many of lost have 11 as the points, and a drawn greater than 1? Context: CREATE TABLE table_name_81 (lost VARCHAR, points VARCHAR, drawn VARCHAR)[/INST]SELECT COUNT(lost) FROM table_name_81 WHERE points = 11 AND drawn > 1</s>
CREATE TABLE table_name_95 (finish VARCHAR, rank VARCHAR)
SELECT finish FROM table_name_95 WHERE rank = "1"
Which finish has 1 as the rank?
<s>[INST]Which finish has 1 as the rank? Context: CREATE TABLE table_name_95 (finish VARCHAR, rank VARCHAR)[/INST]SELECT finish FROM table_name_95 WHERE rank = "1"</s>
CREATE TABLE table_name_61 (race VARCHAR, position VARCHAR)
SELECT race FROM table_name_61 WHERE position = "5th"
What race is in the 5th position?
<s>[INST]What race is in the 5th position? Context: CREATE TABLE table_name_61 (race VARCHAR, position VARCHAR)[/INST]SELECT race FROM table_name_61 WHERE position = "5th"</s>
CREATE TABLE table_name_45 (points INTEGER, position VARCHAR)
SELECT AVG(points) FROM table_name_45 WHERE position = 8
How many Points has a Position of 8?
<s>[INST]How many Points has a Position of 8? Context: CREATE TABLE table_name_45 (points INTEGER, position VARCHAR)[/INST]SELECT AVG(points) FROM table_name_45 WHERE position = 8</s>
CREATE TABLE table_name_82 (athlete VARCHAR, nationality VARCHAR, group VARCHAR, rank VARCHAR, result VARCHAR)
SELECT athlete FROM table_name_82 WHERE rank > 15 AND result < 7.68 AND group = "b" AND nationality = "great britain"
Which athlete's rank is more than 15 when the result is less than 7.68, the group is b, and the nationality listed is Great Britain?
<s>[INST]Which athlete's rank is more than 15 when the result is less than 7.68, the group is b, and the nationality listed is Great Britain? Context: CREATE TABLE table_name_82 (athlete VARCHAR, nationality VARCHAR, group VARCHAR, rank VARCHAR, result VARCHAR)[/INST]SELECT athlete FROM table_name_82 WHERE rank > 15 AN...
CREATE TABLE table_24248450_3 (conference VARCHAR)
SELECT conference AS Tournament FROM table_24248450_3 WHERE conference = "Big Sky conference"
What is the tournament called for the Big Sky Conference?
<s>[INST]What is the tournament called for the Big Sky Conference? Context: CREATE TABLE table_24248450_3 (conference VARCHAR)[/INST]SELECT conference AS Tournament FROM table_24248450_3 WHERE conference = "Big Sky conference"</s>
CREATE TABLE table_name_32 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_32 WHERE total < 2 AND bronze < 1 AND silver = 1
What nation has a total less than 2, silver of 1 and bronze less than 1?
<s>[INST]What nation has a total less than 2, silver of 1 and bronze less than 1? Context: CREATE TABLE table_name_32 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT nation FROM table_name_32 WHERE total < 2 AND bronze < 1 AND silver = 1</s>
CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_12 WHERE result = "l 26–3"
Tell me the attendance with a result of l 26–3
<s>[INST]Tell me the attendance with a result of l 26–3 Context: CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR)[/INST]SELECT attendance FROM table_name_12 WHERE result = "l 26–3"</s>
CREATE TABLE table_name_51 (crowd VARCHAR, venue VARCHAR)
SELECT crowd FROM table_name_51 WHERE venue = "arden street oval"
What was the crowd size at Arden Street Oval?
<s>[INST]What was the crowd size at Arden Street Oval? Context: CREATE TABLE table_name_51 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT crowd FROM table_name_51 WHERE venue = "arden street oval"</s>
CREATE TABLE table_186468_1 (property VARCHAR, q_band VARCHAR)
SELECT property FROM table_186468_1 WHERE q_band = "8.3"
When 8.3 is the q-band what is the property?
<s>[INST]When 8.3 is the q-band what is the property? Context: CREATE TABLE table_186468_1 (property VARCHAR, q_band VARCHAR)[/INST]SELECT property FROM table_186468_1 WHERE q_band = "8.3"</s>
CREATE TABLE table_name_26 (headquarters VARCHAR, company VARCHAR)
SELECT headquarters FROM table_name_26 WHERE company = "getinge group"
Where is the headquarters of the getinge group located?
<s>[INST]Where is the headquarters of the getinge group located? Context: CREATE TABLE table_name_26 (headquarters VARCHAR, company VARCHAR)[/INST]SELECT headquarters FROM table_name_26 WHERE company = "getinge group"</s>
CREATE TABLE table_name_97 (winning_constructor VARCHAR, name VARCHAR)
SELECT winning_constructor FROM table_name_97 WHERE name = "grand prix de la marne"
What Winning constructor has a Name of grand prix de la marne?
<s>[INST]What Winning constructor has a Name of grand prix de la marne? Context: CREATE TABLE table_name_97 (winning_constructor VARCHAR, name VARCHAR)[/INST]SELECT winning_constructor FROM table_name_97 WHERE name = "grand prix de la marne"</s>
CREATE TABLE table_name_31 (english VARCHAR, cardinal_direction VARCHAR)
SELECT english FROM table_name_31 WHERE cardinal_direction = "northwest"
What is the cardinal direction northwest in English?
<s>[INST]What is the cardinal direction northwest in English? Context: CREATE TABLE table_name_31 (english VARCHAR, cardinal_direction VARCHAR)[/INST]SELECT english FROM table_name_31 WHERE cardinal_direction = "northwest"</s>
CREATE TABLE table_name_63 (displacement VARCHAR, year VARCHAR)
SELECT displacement FROM table_name_63 WHERE year = "1935-45"
Tell me the displacement for 1935-45
<s>[INST]Tell me the displacement for 1935-45 Context: CREATE TABLE table_name_63 (displacement VARCHAR, year VARCHAR)[/INST]SELECT displacement FROM table_name_63 WHERE year = "1935-45"</s>
CREATE TABLE table_name_17 (chart_no INTEGER, title VARCHAR)
SELECT MAX(chart_no) FROM table_name_17 WHERE title = "yardbirds aka roger the engineer"
What is the highest chart number for the song Yardbirds aka Roger the Engineer?
<s>[INST]What is the highest chart number for the song Yardbirds aka Roger the Engineer? Context: CREATE TABLE table_name_17 (chart_no INTEGER, title VARCHAR)[/INST]SELECT MAX(chart_no) FROM table_name_17 WHERE title = "yardbirds aka roger the engineer"</s>
CREATE TABLE table_name_47 (years VARCHAR, nation VARCHAR, assist VARCHAR, rank VARCHAR)
SELECT years FROM table_name_47 WHERE assist < 26 AND rank < 6 AND nation = "usa"
Which years did the USA have a rank lower than 6 and an assist number less than 26?
<s>[INST]Which years did the USA have a rank lower than 6 and an assist number less than 26? Context: CREATE TABLE table_name_47 (years VARCHAR, nation VARCHAR, assist VARCHAR, rank VARCHAR)[/INST]SELECT years FROM table_name_47 WHERE assist < 26 AND rank < 6 AND nation = "usa"</s>
CREATE TABLE table_name_93 (city_of_license VARCHAR, power VARCHAR)
SELECT city_of_license FROM table_name_93 WHERE power = "1,400 watts"
what is the City of license that has a 1,400 watts Power
<s>[INST]what is the City of license that has a 1,400 watts Power Context: CREATE TABLE table_name_93 (city_of_license VARCHAR, power VARCHAR)[/INST]SELECT city_of_license FROM table_name_93 WHERE power = "1,400 watts"</s>
CREATE TABLE table_name_90 (pick__number INTEGER, player VARCHAR, reg_gp VARCHAR)
SELECT MIN(pick__number) FROM table_name_90 WHERE player = "michael grabner" AND reg_gp < 20
What is the lowest Pick # with michael grabner and less than 20 Reg GP?
<s>[INST]What is the lowest Pick # with michael grabner and less than 20 Reg GP? Context: CREATE TABLE table_name_90 (pick__number INTEGER, player VARCHAR, reg_gp VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_name_90 WHERE player = "michael grabner" AND reg_gp < 20</s>
CREATE TABLE table_name_99 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR)
SELECT score_points FROM table_name_99 WHERE event = "wc kerrville" AND rank_points = "8"
What is the score points in WC Kerrville, when rank was points of 8?
<s>[INST]What is the score points in WC Kerrville, when rank was points of 8? Context: CREATE TABLE table_name_99 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR)[/INST]SELECT score_points FROM table_name_99 WHERE event = "wc kerrville" AND rank_points = "8"</s>
CREATE TABLE table_14102379_4 (attendance VARCHAR, stadium VARCHAR)
SELECT COUNT(attendance) FROM table_14102379_4 WHERE stadium = "Cotton Bowl"
how many attendance with stadium being cotton bowl
<s>[INST] how many attendance with stadium being cotton bowl Context: CREATE TABLE table_14102379_4 (attendance VARCHAR, stadium VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_14102379_4 WHERE stadium = "Cotton Bowl"</s>
CREATE TABLE table_name_55 (category VARCHAR, result VARCHAR, nominee VARCHAR)
SELECT category FROM table_name_55 WHERE result = "nominated" AND nominee = "william ivey long"
Which category was william ivey long a nominee and nominated in?
<s>[INST]Which category was william ivey long a nominee and nominated in? Context: CREATE TABLE table_name_55 (category VARCHAR, result VARCHAR, nominee VARCHAR)[/INST]SELECT category FROM table_name_55 WHERE result = "nominated" AND nominee = "william ivey long"</s>
CREATE TABLE table_10749367_3 (test_taker VARCHAR, challenge VARCHAR)
SELECT test_taker FROM table_10749367_3 WHERE challenge = "Night Driving"
Who had the challenge of night driving?
<s>[INST]Who had the challenge of night driving? Context: CREATE TABLE table_10749367_3 (test_taker VARCHAR, challenge VARCHAR)[/INST]SELECT test_taker FROM table_10749367_3 WHERE challenge = "Night Driving"</s>
CREATE TABLE table_19630743_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_19630743_2 WHERE runner_s__up = "Steve Stricker"
What was the margin of victory of Steve Stricker as a runner up?
<s>[INST]What was the margin of victory of Steve Stricker as a runner up? Context: CREATE TABLE table_19630743_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR)[/INST]SELECT margin_of_victory FROM table_19630743_2 WHERE runner_s__up = "Steve Stricker"</s>
CREATE TABLE table_name_47 (season VARCHAR, third VARCHAR)
SELECT season FROM table_name_47 WHERE third = "colin hodgson"
Which Season has a Third of colin hodgson?
<s>[INST]Which Season has a Third of colin hodgson? Context: CREATE TABLE table_name_47 (season VARCHAR, third VARCHAR)[/INST]SELECT season FROM table_name_47 WHERE third = "colin hodgson"</s>
CREATE TABLE table_name_1 (colony_name VARCHAR, date_founded VARCHAR)
SELECT colony_name FROM table_name_1 WHERE date_founded = "january 19, 2012"
Which Colony Name was Founded on january 19, 2012?
<s>[INST]Which Colony Name was Founded on january 19, 2012? Context: CREATE TABLE table_name_1 (colony_name VARCHAR, date_founded VARCHAR)[/INST]SELECT colony_name FROM table_name_1 WHERE date_founded = "january 19, 2012"</s>
CREATE TABLE table_name_52 (callsign VARCHAR, area_served VARCHAR, freq_currently VARCHAR)
SELECT callsign FROM table_name_52 WHERE area_served = "brisbane" AND freq_currently = "4rph"
What is the Callsign in Brisbane with a Freq currently of 4rph?
<s>[INST]What is the Callsign in Brisbane with a Freq currently of 4rph? Context: CREATE TABLE table_name_52 (callsign VARCHAR, area_served VARCHAR, freq_currently VARCHAR)[/INST]SELECT callsign FROM table_name_52 WHERE area_served = "brisbane" AND freq_currently = "4rph"</s>
CREATE TABLE table_1341522_13 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1341522_13 WHERE incumbent = "Sanford Bishop"
What party is Sanford Bishop a member of?
<s>[INST]What party is Sanford Bishop a member of? Context: CREATE TABLE table_1341522_13 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1341522_13 WHERE incumbent = "Sanford Bishop"</s>
CREATE TABLE table_24231638_3 (date_of_appointment VARCHAR, team VARCHAR)
SELECT date_of_appointment FROM table_24231638_3 WHERE team = "Osasuna"
what is the date of appointment for the team osasuna?
<s>[INST]what is the date of appointment for the team osasuna? Context: CREATE TABLE table_24231638_3 (date_of_appointment VARCHAR, team VARCHAR)[/INST]SELECT date_of_appointment FROM table_24231638_3 WHERE team = "Osasuna"</s>
CREATE TABLE table_name_6 (team_2 VARCHAR)
SELECT 1 AS st_round FROM table_name_6 WHERE team_2 = "us valenciennes (d1)"
What was the 1st round result that had US Valenciennes (d1) as Team 2?
<s>[INST]What was the 1st round result that had US Valenciennes (d1) as Team 2? Context: CREATE TABLE table_name_6 (team_2 VARCHAR)[/INST]SELECT 1 AS st_round FROM table_name_6 WHERE team_2 = "us valenciennes (d1)"</s>
CREATE TABLE table_name_1 (version VARCHAR, length VARCHAR)
SELECT version FROM table_name_1 WHERE length = "4:58"
What is the version shown for the Length of 4:58?
<s>[INST]What is the version shown for the Length of 4:58? Context: CREATE TABLE table_name_1 (version VARCHAR, length VARCHAR)[/INST]SELECT version FROM table_name_1 WHERE length = "4:58"</s>
CREATE TABLE table_name_16 (verb_meaning VARCHAR, part_1 VARCHAR)
SELECT verb_meaning FROM table_name_16 WHERE part_1 = "alan"
What is the Verb meaning when part 1 is alan?
<s>[INST]What is the Verb meaning when part 1 is alan? Context: CREATE TABLE table_name_16 (verb_meaning VARCHAR, part_1 VARCHAR)[/INST]SELECT verb_meaning FROM table_name_16 WHERE part_1 = "alan"</s>
CREATE TABLE table_name_39 (total INTEGER, average VARCHAR, rank_by_average VARCHAR)
SELECT MAX(total) FROM table_name_39 WHERE average < 36.5 AND rank_by_average = 14
Name the most total with average less than 36.5 and rank by average of 14
<s>[INST]Name the most total with average less than 36.5 and rank by average of 14 Context: CREATE TABLE table_name_39 (total INTEGER, average VARCHAR, rank_by_average VARCHAR)[/INST]SELECT MAX(total) FROM table_name_39 WHERE average < 36.5 AND rank_by_average = 14</s>
CREATE TABLE table_name_7 (team_1 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_7 WHERE team_1 = "pelister"
What 2nd leg has pelister as team 1?
<s>[INST]What 2nd leg has pelister as team 1? Context: CREATE TABLE table_name_7 (team_1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_7 WHERE team_1 = "pelister"</s>
CREATE TABLE table_name_59 (location VARCHAR, founded VARCHAR, team_nickname VARCHAR)
SELECT location FROM table_name_59 WHERE founded > 1889 AND team_nickname = "broncos"
What is the location of the team nicknamed Broncos, which was founded after 1889?
<s>[INST]What is the location of the team nicknamed Broncos, which was founded after 1889? Context: CREATE TABLE table_name_59 (location VARCHAR, founded VARCHAR, team_nickname VARCHAR)[/INST]SELECT location FROM table_name_59 WHERE founded > 1889 AND team_nickname = "broncos"</s>
CREATE TABLE table_name_70 (round VARCHAR, pick VARCHAR, name VARCHAR)
SELECT COUNT(round) FROM table_name_70 WHERE pick < 10 AND name = "larry hendershot"
How many rounds have a Pick smaller than 10, and a Name of larry hendershot?
<s>[INST]How many rounds have a Pick smaller than 10, and a Name of larry hendershot? Context: CREATE TABLE table_name_70 (round VARCHAR, pick VARCHAR, name VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_70 WHERE pick < 10 AND name = "larry hendershot"</s>
CREATE TABLE table_name_65 (albedo_feature_name VARCHAR, name VARCHAR)
SELECT albedo_feature_name FROM table_name_65 WHERE name = "neruda"
What is the Albedo name for Neruda?
<s>[INST]What is the Albedo name for Neruda? Context: CREATE TABLE table_name_65 (albedo_feature_name VARCHAR, name VARCHAR)[/INST]SELECT albedo_feature_name FROM table_name_65 WHERE name = "neruda"</s>
CREATE TABLE table_16799784_3 (diameter__km_ VARCHAR, latitude VARCHAR)
SELECT diameter__km_ FROM table_16799784_3 WHERE latitude = "67.5N"
At a latitude of 67.5n, what is the diameter?
<s>[INST]At a latitude of 67.5n, what is the diameter? Context: CREATE TABLE table_16799784_3 (diameter__km_ VARCHAR, latitude VARCHAR)[/INST]SELECT diameter__km_ FROM table_16799784_3 WHERE latitude = "67.5N"</s>
CREATE TABLE table_name_79 (nationality VARCHAR, rank VARCHAR)
SELECT nationality FROM table_name_79 WHERE rank = 27
What is the nationality for rank 27?
<s>[INST]What is the nationality for rank 27? Context: CREATE TABLE table_name_79 (nationality VARCHAR, rank VARCHAR)[/INST]SELECT nationality FROM table_name_79 WHERE rank = 27</s>
CREATE TABLE table_name_72 (time VARCHAR, rank VARCHAR)
SELECT time FROM table_name_72 WHERE rank = 14
What is the time when the rank is 14?
<s>[INST]What is the time when the rank is 14? Context: CREATE TABLE table_name_72 (time VARCHAR, rank VARCHAR)[/INST]SELECT time FROM table_name_72 WHERE rank = 14</s>
CREATE TABLE table_1214035_1 (league VARCHAR, division VARCHAR)
SELECT league FROM table_1214035_1 WHERE division = "3"
What leagues includes division 3
<s>[INST]What leagues includes division 3 Context: CREATE TABLE table_1214035_1 (league VARCHAR, division VARCHAR)[/INST]SELECT league FROM table_1214035_1 WHERE division = "3"</s>
CREATE TABLE table_11900773_6 (paper_type VARCHAR, design VARCHAR)
SELECT COUNT(paper_type) FROM table_11900773_6 WHERE design = "Ian Drolet"
How many paper types did Ian Drolet design stamps on?
<s>[INST]How many paper types did Ian Drolet design stamps on? Context: CREATE TABLE table_11900773_6 (paper_type VARCHAR, design VARCHAR)[/INST]SELECT COUNT(paper_type) FROM table_11900773_6 WHERE design = "Ian Drolet"</s>
CREATE TABLE table_27846651_1 (episode__number VARCHAR, viewers__millions_ VARCHAR)
SELECT episode__number FROM table_27846651_1 WHERE viewers__millions_ = "5.46"
Wat episode number had 5.46 million viewers?
<s>[INST]Wat episode number had 5.46 million viewers? Context: CREATE TABLE table_27846651_1 (episode__number VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT episode__number FROM table_27846651_1 WHERE viewers__millions_ = "5.46"</s>
CREATE TABLE table_name_41 (bulgarian_commander VARCHAR, battle VARCHAR, date VARCHAR)
SELECT bulgarian_commander FROM table_name_41 WHERE battle = "battle of thessalonica" AND date = "autumn 1040"
What is the Bulgarian Commander in Autumn 1040 at the Battle of Thessalonica?
<s>[INST]What is the Bulgarian Commander in Autumn 1040 at the Battle of Thessalonica? Context: CREATE TABLE table_name_41 (bulgarian_commander VARCHAR, battle VARCHAR, date VARCHAR)[/INST]SELECT bulgarian_commander FROM table_name_41 WHERE battle = "battle of thessalonica" AND date = "autumn 1040"</s>
CREATE TABLE table_name_48 (attendance VARCHAR, home_team VARCHAR)
SELECT attendance FROM table_name_48 WHERE home_team = "walsall"
What was the attendance for the home team of Walsall?
<s>[INST]What was the attendance for the home team of Walsall? Context: CREATE TABLE table_name_48 (attendance VARCHAR, home_team VARCHAR)[/INST]SELECT attendance FROM table_name_48 WHERE home_team = "walsall"</s>
CREATE TABLE table_2199290_2 (year INTEGER, partner VARCHAR)
SELECT MAX(year) FROM table_2199290_2 WHERE partner = "Wesley Moodie"
In what year was the partner Wesley Moodie?
<s>[INST]In what year was the partner Wesley Moodie? Context: CREATE TABLE table_2199290_2 (year INTEGER, partner VARCHAR)[/INST]SELECT MAX(year) FROM table_2199290_2 WHERE partner = "Wesley Moodie"</s>
CREATE TABLE table_28819393_1 (_percentage_of_total_vote VARCHAR, year VARCHAR)
SELECT _percentage_of_total_vote FROM table_28819393_1 WHERE year = "1997"
What was the percentage of total votes in 1997?
<s>[INST]What was the percentage of total votes in 1997? Context: CREATE TABLE table_28819393_1 (_percentage_of_total_vote VARCHAR, year VARCHAR)[/INST]SELECT _percentage_of_total_vote FROM table_28819393_1 WHERE year = "1997"</s>
CREATE TABLE table_name_7 (type VARCHAR, delivered VARCHAR)
SELECT type FROM table_name_7 WHERE delivered = "1857-59"
What is the type of the locomotive which was delivered in 1857-59?
<s>[INST]What is the type of the locomotive which was delivered in 1857-59? Context: CREATE TABLE table_name_7 (type VARCHAR, delivered VARCHAR)[/INST]SELECT type FROM table_name_7 WHERE delivered = "1857-59"</s>
CREATE TABLE table_name_77 (version VARCHAR, title VARCHAR)
SELECT version FROM table_name_77 WHERE title = "alarm clock"
What Version has a Title of alarm clock?
<s>[INST]What Version has a Title of alarm clock? Context: CREATE TABLE table_name_77 (version VARCHAR, title VARCHAR)[/INST]SELECT version FROM table_name_77 WHERE title = "alarm clock"</s>
CREATE TABLE table_name_74 (marriage VARCHAR, spouse VARCHAR)
SELECT marriage FROM table_name_74 WHERE spouse = "christian viii"
Name the marriage of the person who is married for christian viii
<s>[INST]Name the marriage of the person who is married for christian viii Context: CREATE TABLE table_name_74 (marriage VARCHAR, spouse VARCHAR)[/INST]SELECT marriage FROM table_name_74 WHERE spouse = "christian viii"</s>
CREATE TABLE table_name_57 (game INTEGER, team VARCHAR)
SELECT MIN(game) FROM table_name_57 WHERE team = "orlando"
What is the earliest game against Orlando?
<s>[INST]What is the earliest game against Orlando? Context: CREATE TABLE table_name_57 (game INTEGER, team VARCHAR)[/INST]SELECT MIN(game) FROM table_name_57 WHERE team = "orlando"</s>
CREATE TABLE table_name_29 (type VARCHAR, locomotive_number VARCHAR)
SELECT type FROM table_name_29 WHERE locomotive_number = "ctn 1364"
What type is locomotive CTN 1364?
<s>[INST]What type is locomotive CTN 1364? Context: CREATE TABLE table_name_29 (type VARCHAR, locomotive_number VARCHAR)[/INST]SELECT type FROM table_name_29 WHERE locomotive_number = "ctn 1364"</s>
CREATE TABLE table_name_89 (total_goals INTEGER, position VARCHAR, fa_cup_goals VARCHAR)
SELECT MIN(total_goals) FROM table_name_89 WHERE position = "df" AND fa_cup_goals < 0
What is the lowest total goals when position is df, and FA Cup Goals is smaller than 0?
<s>[INST]What is the lowest total goals when position is df, and FA Cup Goals is smaller than 0? Context: CREATE TABLE table_name_89 (total_goals INTEGER, position VARCHAR, fa_cup_goals VARCHAR)[/INST]SELECT MIN(total_goals) FROM table_name_89 WHERE position = "df" AND fa_cup_goals < 0</s>
CREATE TABLE table_name_83 (round INTEGER, date VARCHAR, location VARCHAR, method VARCHAR)
SELECT AVG(round) FROM table_name_83 WHERE location = "auckland, new zealand" AND method = "tko" AND date = "1994-11-24"
Which Round has a Location of auckland, new zealand, and a Method of tko on 1994-11-24?
<s>[INST]Which Round has a Location of auckland, new zealand, and a Method of tko on 1994-11-24? Context: CREATE TABLE table_name_83 (round INTEGER, date VARCHAR, location VARCHAR, method VARCHAR)[/INST]SELECT AVG(round) FROM table_name_83 WHERE location = "auckland, new zealand" AND method = "tko" AND date = "1994-11-...
CREATE TABLE table_19778010_5 (date VARCHAR, opponent VARCHAR)
SELECT COUNT(date) FROM table_19778010_5 WHERE opponent = "Houston"
On how many different dates was a game against Houston played?
<s>[INST]On how many different dates was a game against Houston played? Context: CREATE TABLE table_19778010_5 (date VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(date) FROM table_19778010_5 WHERE opponent = "Houston"</s>
CREATE TABLE table_name_61 (number_of_electorates__2009_ VARCHAR, name VARCHAR)
SELECT number_of_electorates__2009_ FROM table_name_61 WHERE name = "badnawar"
What is the number of electorates when the name is badnawar?
<s>[INST]What is the number of electorates when the name is badnawar? Context: CREATE TABLE table_name_61 (number_of_electorates__2009_ VARCHAR, name VARCHAR)[/INST]SELECT number_of_electorates__2009_ FROM table_name_61 WHERE name = "badnawar"</s>
CREATE TABLE table_name_77 (games INTEGER, points VARCHAR, name VARCHAR)
SELECT SUM(games) FROM table_name_77 WHERE points > 266 AND name = "juan carlos navarro"
What is the total number of games that has Juan Carlos Navarro and more than 266 points?
<s>[INST]What is the total number of games that has Juan Carlos Navarro and more than 266 points? Context: CREATE TABLE table_name_77 (games INTEGER, points VARCHAR, name VARCHAR)[/INST]SELECT SUM(games) FROM table_name_77 WHERE points > 266 AND name = "juan carlos navarro"</s>
CREATE TABLE table_238124_1 (platelet_count VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)
SELECT platelet_count FROM table_238124_1 WHERE bleeding_time = "Unaffected" AND prothrombin_time = "Prolonged"
When the bleeding time is unaffected and prothrombin time is prolonged, what are the platelet counts?
<s>[INST]When the bleeding time is unaffected and prothrombin time is prolonged, what are the platelet counts? Context: CREATE TABLE table_238124_1 (platelet_count VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)[/INST]SELECT platelet_count FROM table_238124_1 WHERE bleeding_time = "Unaffected" AND prothrombin...
CREATE TABLE table_12141496_1 (perigee__km_ INTEGER, decay_date VARCHAR)
SELECT MAX(perigee__km_) FROM table_12141496_1 WHERE decay_date = "1969-01-09"
What was the maximum perigee on 1969-01-09?
<s>[INST]What was the maximum perigee on 1969-01-09? Context: CREATE TABLE table_12141496_1 (perigee__km_ INTEGER, decay_date VARCHAR)[/INST]SELECT MAX(perigee__km_) FROM table_12141496_1 WHERE decay_date = "1969-01-09"</s>
CREATE TABLE table_name_22 (party VARCHAR, first_elected VARCHAR, district VARCHAR)
SELECT party FROM table_name_22 WHERE first_elected = 1894 AND district = "ohio 16"
What is the party of the representative first elected in 1894 from the Ohio 16 district?
<s>[INST]What is the party of the representative first elected in 1894 from the Ohio 16 district? Context: CREATE TABLE table_name_22 (party VARCHAR, first_elected VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_name_22 WHERE first_elected = 1894 AND district = "ohio 16"</s>
CREATE TABLE table_name_16 (premier_league VARCHAR, position VARCHAR, total VARCHAR)
SELECT COUNT(premier_league) FROM table_name_16 WHERE position = "forward" AND total > 22
What is the premier league number when the position is forward, and the total is more than 22?
<s>[INST]What is the premier league number when the position is forward, and the total is more than 22? Context: CREATE TABLE table_name_16 (premier_league VARCHAR, position VARCHAR, total VARCHAR)[/INST]SELECT COUNT(premier_league) FROM table_name_16 WHERE position = "forward" AND total > 22</s>
CREATE TABLE table_17355933_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_17355933_1 WHERE directed_by = "Laura Innes"
Which season titles were directed by Laura Innes?
<s>[INST]Which season titles were directed by Laura Innes? Context: CREATE TABLE table_17355933_1 (title VARCHAR, directed_by VARCHAR)[/INST]SELECT title FROM table_17355933_1 WHERE directed_by = "Laura Innes"</s>
CREATE TABLE table_name_26 (player VARCHAR, original_team VARCHAR)
SELECT player FROM table_name_26 WHERE original_team = "los angeles kings"
What player originally played for the Los Angeles Kings?
<s>[INST]What player originally played for the Los Angeles Kings? Context: CREATE TABLE table_name_26 (player VARCHAR, original_team VARCHAR)[/INST]SELECT player FROM table_name_26 WHERE original_team = "los angeles kings"</s>
CREATE TABLE table_name_72 (state VARCHAR, current_governor VARCHAR)
SELECT state FROM table_name_72 WHERE current_governor = "susana martinez"
What state is susana martinez from?
<s>[INST]What state is susana martinez from? Context: CREATE TABLE table_name_72 (state VARCHAR, current_governor VARCHAR)[/INST]SELECT state FROM table_name_72 WHERE current_governor = "susana martinez"</s>
CREATE TABLE countries (CountryName VARCHAR, countryId VARCHAR); CREATE TABLE countries (CountryName VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR)
SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country
What are the name of the countries where there is not a single car maker?
<s>[INST]What are the name of the countries where there is not a single car maker? Context: CREATE TABLE countries (CountryName VARCHAR, countryId VARCHAR); CREATE TABLE countries (CountryName VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR)[/INST]SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM c...
CREATE TABLE table_14911550_5 (played INTEGER)
SELECT MIN(played) FROM table_14911550_5
How many games were played?
<s>[INST]How many games were played? Context: CREATE TABLE table_14911550_5 (played INTEGER)[/INST]SELECT MIN(played) FROM table_14911550_5</s>
CREATE TABLE table_name_60 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
SELECT AVG(laps) FROM table_name_60 WHERE time_retired = "spun off" AND driver = "nick heidfeld"
What is the mean number of laps when time/retired was spun off and the driver was Nick Heidfeld?
<s>[INST]What is the mean number of laps when time/retired was spun off and the driver was Nick Heidfeld? Context: CREATE TABLE table_name_60 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_60 WHERE time_retired = "spun off" AND driver = "nick heidfeld"</s>
CREATE TABLE table_22893781_5 (location_attendance VARCHAR, date VARCHAR)
SELECT COUNT(location_attendance) FROM table_22893781_5 WHERE date = "December 2"
How many attended on december 2?
<s>[INST]How many attended on december 2? Context: CREATE TABLE table_22893781_5 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(location_attendance) FROM table_22893781_5 WHERE date = "December 2"</s>
CREATE TABLE table_name_48 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_48 WHERE stage = "p"
Which winner has a P stage?
<s>[INST]Which winner has a P stage? Context: CREATE TABLE table_name_48 (winner VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_name_48 WHERE stage = "p"</s>
CREATE TABLE table_name_51 (round VARCHAR, position VARCHAR, college VARCHAR)
SELECT COUNT(round) FROM table_name_51 WHERE position = "wide receiver" AND college = "kent state"
Name the total number of round for wide receiver for kent state
<s>[INST]Name the total number of round for wide receiver for kent state Context: CREATE TABLE table_name_51 (round VARCHAR, position VARCHAR, college VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_51 WHERE position = "wide receiver" AND college = "kent state"</s>
CREATE TABLE table_name_19 (round INTEGER, player VARCHAR)
SELECT MAX(round) FROM table_name_19 WHERE player = "tommy norman"
In what Round was Tommy Norman picked?
<s>[INST]In what Round was Tommy Norman picked? Context: CREATE TABLE table_name_19 (round INTEGER, player VARCHAR)[/INST]SELECT MAX(round) FROM table_name_19 WHERE player = "tommy norman"</s>
CREATE TABLE table_name_93 (opponent_in_the_final VARCHAR, tournament VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_93 WHERE tournament = "taipei, taiwan" AND date = "november 14, 1994"
Who was the final opponent in the tournament in Taipei, Taiwan on November 14, 1994?
<s>[INST]Who was the final opponent in the tournament in Taipei, Taiwan on November 14, 1994? Context: CREATE TABLE table_name_93 (opponent_in_the_final VARCHAR, tournament VARCHAR, date VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_93 WHERE tournament = "taipei, taiwan" AND date = "november 14, 1994"</s>
CREATE TABLE table_name_45 (solo VARCHAR, sacks VARCHAR, team VARCHAR)
SELECT COUNT(solo) FROM table_name_45 WHERE sacks = 2 AND team = "new york jets"
What is the total value for Solo, when the value of Sacks is 2, and when the Team is New York Jets?
<s>[INST]What is the total value for Solo, when the value of Sacks is 2, and when the Team is New York Jets? Context: CREATE TABLE table_name_45 (solo VARCHAR, sacks VARCHAR, team VARCHAR)[/INST]SELECT COUNT(solo) FROM table_name_45 WHERE sacks = 2 AND team = "new york jets"</s>
CREATE TABLE table_name_64 (rider VARCHAR, bike VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_64 WHERE laps < 22 AND grid > 19 AND time = "retirement" AND bike = "kawasaki zx-6r"
Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and retirement was the time?
<s>[INST]Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and retirement was the time? Context: CREATE TABLE table_name_64 (rider VARCHAR, bike VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT rider FROM table_name_64 WHERE laps < 22 AND grid > 1...
CREATE TABLE table_17311759_5 (record VARCHAR, team VARCHAR)
SELECT record FROM table_17311759_5 WHERE team = "Denver"
What is the record of wins and losses for Denver's ball club?
<s>[INST]What is the record of wins and losses for Denver's ball club? Context: CREATE TABLE table_17311759_5 (record VARCHAR, team VARCHAR)[/INST]SELECT record FROM table_17311759_5 WHERE team = "Denver"</s>
CREATE TABLE election (Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)
SELECT T2.Party, COUNT(*) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T1.Party
Show the name of each party and the corresponding number of delegates from that party.
<s>[INST]Show the name of each party and the corresponding number of delegates from that party. Context: CREATE TABLE election (Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)[/INST]SELECT T2.Party, COUNT(*) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T1.Party</s>
CREATE TABLE table_name_50 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_50 WHERE player = "billy mayfair"
What is Country, when Player is Billy Mayfair?
<s>[INST]What is Country, when Player is Billy Mayfair? Context: CREATE TABLE table_name_50 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_50 WHERE player = "billy mayfair"</s>
CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR)
SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id GROUP BY t2.swimmer_id ORDER BY COUNT(*) DESC LIMIT 1
Find the name of the swimmer who has the most records.
<s>[INST]Find the name of the swimmer who has the most records. Context: CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR)[/INST]SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id GROUP BY t2.swimmer_id ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_63 (points INTEGER, date VARCHAR)
SELECT MAX(points) FROM table_name_63 WHERE date = "december 13"
What were the Points on December 13?
<s>[INST]What were the Points on December 13? Context: CREATE TABLE table_name_63 (points INTEGER, date VARCHAR)[/INST]SELECT MAX(points) FROM table_name_63 WHERE date = "december 13"</s>