context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_2139111_1 (regular_season VARCHAR, year VARCHAR)
SELECT regular_season FROM table_2139111_1 WHERE year = 2005
Name the regular season for 2005
<s>[INST]Name the regular season for 2005 Context: CREATE TABLE table_2139111_1 (regular_season VARCHAR, year VARCHAR)[/INST]SELECT regular_season FROM table_2139111_1 WHERE year = 2005</s>
CREATE TABLE table_name_13 (money___ INTEGER, country VARCHAR, to_par VARCHAR)
SELECT MIN(money___) AS $__ FROM table_name_13 WHERE country = "south africa" AND to_par < 8
What is the lowest amount of money a player from South Africa with a to par less than 8 has?
<s>[INST]What is the lowest amount of money a player from South Africa with a to par less than 8 has? Context: CREATE TABLE table_name_13 (money___ INTEGER, country VARCHAR, to_par VARCHAR)[/INST]SELECT MIN(money___) AS $__ FROM table_name_13 WHERE country = "south africa" AND to_par < 8</s>
CREATE TABLE table_name_74 (entered VARCHAR, time VARCHAR)
SELECT entered FROM table_name_74 WHERE time = "29:28"
What is the entered number for the person with a time of 29:28?
<s>[INST]What is the entered number for the person with a time of 29:28? Context: CREATE TABLE table_name_74 (entered VARCHAR, time VARCHAR)[/INST]SELECT entered FROM table_name_74 WHERE time = "29:28"</s>
CREATE TABLE table_13619027_9 (high_rebounds VARCHAR, date VARCHAR)
SELECT COUNT(high_rebounds) FROM table_13619027_9 WHERE date = "March 13"
How many different values if the number is high rebounds can be found for the game on March 13?
<s>[INST]How many different values if the number is high rebounds can be found for the game on March 13? Context: CREATE TABLE table_13619027_9 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT COUNT(high_rebounds) FROM table_13619027_9 WHERE date = "March 13"</s>
CREATE TABLE table_name_45 (pick__number INTEGER, college VARCHAR)
SELECT MAX(pick__number) FROM table_name_45 WHERE college = "concordia"
Which Pick # has a College of concordia?
<s>[INST]Which Pick # has a College of concordia? Context: CREATE TABLE table_name_45 (pick__number INTEGER, college VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_name_45 WHERE college = "concordia"</s>
CREATE TABLE university (affiliation VARCHAR)
SELECT COUNT(DISTINCT affiliation) FROM university
Find how many different affiliation types there are.
<s>[INST]Find how many different affiliation types there are. Context: CREATE TABLE university (affiliation VARCHAR)[/INST]SELECT COUNT(DISTINCT affiliation) FROM university</s>
CREATE TABLE table_name_58 (capacity INTEGER, team VARCHAR)
SELECT SUM(capacity) FROM table_name_58 WHERE team = "denizlispor"
What is the sum of Capacity, when Team is "Denizlispor"?
<s>[INST]What is the sum of Capacity, when Team is "Denizlispor"? Context: CREATE TABLE table_name_58 (capacity INTEGER, team VARCHAR)[/INST]SELECT SUM(capacity) FROM table_name_58 WHERE team = "denizlispor"</s>
CREATE TABLE table_name_30 (miss_maja_pilipinas VARCHAR, year VARCHAR)
SELECT miss_maja_pilipinas FROM table_name_30 WHERE year = 1969
Can you tell me the Miss Maja Pilipinas that has the Year of 1969?
<s>[INST]Can you tell me the Miss Maja Pilipinas that has the Year of 1969? Context: CREATE TABLE table_name_30 (miss_maja_pilipinas VARCHAR, year VARCHAR)[/INST]SELECT miss_maja_pilipinas FROM table_name_30 WHERE year = 1969</s>
CREATE TABLE table_name_37 (pick INTEGER, round VARCHAR, name VARCHAR)
SELECT MAX(pick) FROM table_name_37 WHERE round > 2 AND name = "scott turner"
What is the highest pick of scott turner, who has a round greater than 2?
<s>[INST]What is the highest pick of scott turner, who has a round greater than 2? Context: CREATE TABLE table_name_37 (pick INTEGER, round VARCHAR, name VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_37 WHERE round > 2 AND name = "scott turner"</s>
CREATE TABLE files (formats VARCHAR)
SELECT formats FROM files GROUP BY formats ORDER BY COUNT(*) DESC LIMIT 1
What is the most popular file format?
<s>[INST]What is the most popular file format? Context: CREATE TABLE files (formats VARCHAR)[/INST]SELECT formats FROM files GROUP BY formats ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_51 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR)
SELECT q1 + q2_time FROM table_name_51 WHERE q1_time = "1:14.819"
What is the Q1+Q2 time for the driver whose Q1 time was 1:14.819, ?
<s>[INST]What is the Q1+Q2 time for the driver whose Q1 time was 1:14.819, ? Context: CREATE TABLE table_name_51 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR)[/INST]SELECT q1 + q2_time FROM table_name_51 WHERE q1_time = "1:14.819"</s>
CREATE TABLE table_13755296_1 (story_by VARCHAR, directed_by VARCHAR)
SELECT story_by FROM table_13755296_1 WHERE directed_by = "Dan Attias"
Who wrote the sorry of the episode directed by Dan Attias?
<s>[INST]Who wrote the sorry of the episode directed by Dan Attias? Context: CREATE TABLE table_13755296_1 (story_by VARCHAR, directed_by VARCHAR)[/INST]SELECT story_by FROM table_13755296_1 WHERE directed_by = "Dan Attias"</s>
CREATE TABLE table_name_88 (original_artist VARCHAR, week__number VARCHAR)
SELECT original_artist FROM table_name_88 WHERE week__number = "top 9"
What is the original artist of top 9 as the week number?
<s>[INST]What is the original artist of top 9 as the week number? Context: CREATE TABLE table_name_88 (original_artist VARCHAR, week__number VARCHAR)[/INST]SELECT original_artist FROM table_name_88 WHERE week__number = "top 9"</s>
CREATE TABLE table_name_62 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR)
SELECT COUNT(reg_gp) FROM table_name_62 WHERE player = "nathan barrett" AND rd__number < 8
How many reg GP for nathan barrett in a round less than 8?
<s>[INST]How many reg GP for nathan barrett in a round less than 8? Context: CREATE TABLE table_name_62 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR)[/INST]SELECT COUNT(reg_gp) FROM table_name_62 WHERE player = "nathan barrett" AND rd__number < 8</s>
CREATE TABLE table_name_62 (lead VARCHAR, third VARCHAR)
SELECT lead FROM table_name_62 WHERE third = "hans frauenlob"
Which Lead has Hans Frauenlob as a Third?
<s>[INST]Which Lead has Hans Frauenlob as a Third? Context: CREATE TABLE table_name_62 (lead VARCHAR, third VARCHAR)[/INST]SELECT lead FROM table_name_62 WHERE third = "hans frauenlob"</s>
CREATE TABLE table_name_4 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT SUM(rank) FROM table_name_4 WHERE silver > 1 AND gold = 2 AND total > 4
What is the total of rank when silver is more than 1, gold is 2, and total is more than 4?
<s>[INST]What is the total of rank when silver is more than 1, gold is 2, and total is more than 4? Context: CREATE TABLE table_name_4 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_4 WHERE silver > 1 AND gold = 2 AND total > 4</s>
CREATE TABLE table_14562722_2 (episodes INTEGER, region_4 VARCHAR)
SELECT MAX(episodes) FROM table_14562722_2 WHERE region_4 = "March 13, 2008"
Name the most epiosdes when region 4 is march 13, 2008
<s>[INST]Name the most epiosdes when region 4 is march 13, 2008 Context: CREATE TABLE table_14562722_2 (episodes INTEGER, region_4 VARCHAR)[/INST]SELECT MAX(episodes) FROM table_14562722_2 WHERE region_4 = "March 13, 2008"</s>
CREATE TABLE table_name_52 (points INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT MIN(points) FROM table_name_52 WHERE grid > 5 AND time_retired = "fire"
What is the smallest point total when the grid is larger than 5 and the time/retired is fire?
<s>[INST]What is the smallest point total when the grid is larger than 5 and the time/retired is fire? Context: CREATE TABLE table_name_52 (points INTEGER, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT MIN(points) FROM table_name_52 WHERE grid > 5 AND time_retired = "fire"</s>
CREATE TABLE table_1013168_2 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)
SELECT successor FROM table_1013168_2 WHERE date_of_successors_formal_installation = "November 8, 1978"
Who was the succesor that was formally installed on November 8, 1978?
<s>[INST]Who was the succesor that was formally installed on November 8, 1978? Context: CREATE TABLE table_1013168_2 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)[/INST]SELECT successor FROM table_1013168_2 WHERE date_of_successors_formal_installation = "November 8, 1978"</s>
CREATE TABLE table_21514460_1 (withdrawal_rate__2010_11_ VARCHAR, headquarters VARCHAR)
SELECT withdrawal_rate__2010_11_ FROM table_21514460_1 WHERE headquarters = "Truro"
What is their withdrawal rate for the school district with headquarters located in Truro?
<s>[INST]What is their withdrawal rate for the school district with headquarters located in Truro? Context: CREATE TABLE table_21514460_1 (withdrawal_rate__2010_11_ VARCHAR, headquarters VARCHAR)[/INST]SELECT withdrawal_rate__2010_11_ FROM table_21514460_1 WHERE headquarters = "Truro"</s>
CREATE TABLE table_name_96 (finish VARCHAR, total VARCHAR)
SELECT finish FROM table_name_96 WHERE total = 288
What's the finish for the total 288?
<s>[INST]What's the finish for the total 288? Context: CREATE TABLE table_name_96 (finish VARCHAR, total VARCHAR)[/INST]SELECT finish FROM table_name_96 WHERE total = 288</s>
CREATE TABLE table_name_62 (decile INTEGER, authority VARCHAR, roll VARCHAR)
SELECT AVG(decile) FROM table_name_62 WHERE authority = "state" AND roll = 888
What is the average decile of the school with a state authority and a roll number of 888?
<s>[INST]What is the average decile of the school with a state authority and a roll number of 888? Context: CREATE TABLE table_name_62 (decile INTEGER, authority VARCHAR, roll VARCHAR)[/INST]SELECT AVG(decile) FROM table_name_62 WHERE authority = "state" AND roll = 888</s>
CREATE TABLE table_name_82 (opponents VARCHAR, progress VARCHAR, score VARCHAR, team VARCHAR)
SELECT opponents FROM table_name_82 WHERE score = "1–2" AND team = "arsenal" AND progress = "first round"
Which Opponents have a Score of 1–2, and a Team of arsenal, and Progress of first round?
<s>[INST]Which Opponents have a Score of 1–2, and a Team of arsenal, and Progress of first round? Context: CREATE TABLE table_name_82 (opponents VARCHAR, progress VARCHAR, score VARCHAR, team VARCHAR)[/INST]SELECT opponents FROM table_name_82 WHERE score = "1–2" AND team = "arsenal" AND progress = "first round"</s>
CREATE TABLE table_2150068_1 (decay VARCHAR, nssdc_id VARCHAR)
SELECT decay FROM table_2150068_1 WHERE nssdc_id = "1990-081C"
What is the decay for the sattelite with an id that is 1990-081c?
<s>[INST]What is the decay for the sattelite with an id that is 1990-081c? Context: CREATE TABLE table_2150068_1 (decay VARCHAR, nssdc_id VARCHAR)[/INST]SELECT decay FROM table_2150068_1 WHERE nssdc_id = "1990-081C"</s>
CREATE TABLE table_2538117_12 (organization VARCHAR, founding_date VARCHAR)
SELECT organization FROM table_2538117_12 WHERE founding_date = "1998-11-08"
What organization had the founding date of 1998-11-08?
<s>[INST]What organization had the founding date of 1998-11-08? Context: CREATE TABLE table_2538117_12 (organization VARCHAR, founding_date VARCHAR)[/INST]SELECT organization FROM table_2538117_12 WHERE founding_date = "1998-11-08"</s>
CREATE TABLE table_name_25 (week INTEGER, record VARCHAR)
SELECT MIN(week) FROM table_name_25 WHERE record = "0–8"
Record of 0–8 had what lowest week?
<s>[INST]Record of 0–8 had what lowest week? Context: CREATE TABLE table_name_25 (week INTEGER, record VARCHAR)[/INST]SELECT MIN(week) FROM table_name_25 WHERE record = "0–8"</s>
CREATE TABLE table_name_54 (finish VARCHAR, country VARCHAR)
SELECT finish FROM table_name_54 WHERE country = "south africa"
What is Finish, when Country is "South Africa"?
<s>[INST]What is Finish, when Country is "South Africa"? Context: CREATE TABLE table_name_54 (finish VARCHAR, country VARCHAR)[/INST]SELECT finish FROM table_name_54 WHERE country = "south africa"</s>
CREATE TABLE table_name_97 (internet_explorer VARCHAR, chrome VARCHAR)
SELECT internet_explorer FROM table_name_97 WHERE chrome = "24.91%"
What percentage of browsers were using Internet Explorer during the period in which 24.91% were using Chrome?
<s>[INST]What percentage of browsers were using Internet Explorer during the period in which 24.91% were using Chrome? Context: CREATE TABLE table_name_97 (internet_explorer VARCHAR, chrome VARCHAR)[/INST]SELECT internet_explorer FROM table_name_97 WHERE chrome = "24.91%"</s>
CREATE TABLE table_name_54 (crowd INTEGER, away_team VARCHAR)
SELECT SUM(crowd) FROM table_name_54 WHERE away_team = "richmond"
How many people attended when the away team was Richmond?
<s>[INST]How many people attended when the away team was Richmond? Context: CREATE TABLE table_name_54 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_54 WHERE away_team = "richmond"</s>
CREATE TABLE table_2897457_1 (position VARCHAR, player VARCHAR)
SELECT position FROM table_2897457_1 WHERE player = "Olaf Kolzig"
What position does Olaf Kolzig play?
<s>[INST]What position does Olaf Kolzig play? Context: CREATE TABLE table_2897457_1 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_2897457_1 WHERE player = "Olaf Kolzig"</s>
CREATE TABLE table_name_79 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_79 WHERE position = "fly-half"
Which player was a fly-half?
<s>[INST]Which player was a fly-half? Context: CREATE TABLE table_name_79 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_79 WHERE position = "fly-half"</s>
CREATE TABLE table_name_79 (additional_notes VARCHAR, location VARCHAR)
SELECT additional_notes FROM table_name_79 WHERE location = "cotabato"
What are the additional notes for Cotabato?
<s>[INST]What are the additional notes for Cotabato? Context: CREATE TABLE table_name_79 (additional_notes VARCHAR, location VARCHAR)[/INST]SELECT additional_notes FROM table_name_79 WHERE location = "cotabato"</s>
CREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
SELECT MIN(bronze) FROM table_name_75 WHERE silver < 1 AND rank < 5
What is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5?
<s>[INST]What is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5? Context: CREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, rank VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_75 WHERE silver < 1 AND rank < 5</s>
CREATE TABLE table_29398373_2 (chairman VARCHAR, captain VARCHAR)
SELECT chairman FROM table_29398373_2 WHERE captain = "Iker Casillas"
Name the chairman for iker casillas
<s>[INST]Name the chairman for iker casillas Context: CREATE TABLE table_29398373_2 (chairman VARCHAR, captain VARCHAR)[/INST]SELECT chairman FROM table_29398373_2 WHERE captain = "Iker Casillas"</s>
CREATE TABLE table_name_99 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_99 WHERE away_team = "carlton"
How many people in total have attended games where carlton played as away?
<s>[INST]How many people in total have attended games where carlton played as away? Context: CREATE TABLE table_name_99 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_99 WHERE away_team = "carlton"</s>
CREATE TABLE table_name_27 (wins INTEGER, cuts_made VARCHAR, events VARCHAR)
SELECT MAX(wins) FROM table_name_27 WHERE cuts_made = 3 AND events > 4
What is the highest wins a tournament with 3 cuts and more than 4 events has?
<s>[INST]What is the highest wins a tournament with 3 cuts and more than 4 events has? Context: CREATE TABLE table_name_27 (wins INTEGER, cuts_made VARCHAR, events VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_27 WHERE cuts_made = 3 AND events > 4</s>
CREATE TABLE table_name_45 (ends_won INTEGER, blank_ends VARCHAR, stolen_ends VARCHAR, locale VARCHAR)
SELECT MIN(ends_won) FROM table_name_45 WHERE stolen_ends = 10 AND locale = "italy" AND blank_ends < 14
In italy, when the stolen ends were 10 and blank ends were under 14, what's the lowest ends won?
<s>[INST]In italy, when the stolen ends were 10 and blank ends were under 14, what's the lowest ends won? Context: CREATE TABLE table_name_45 (ends_won INTEGER, blank_ends VARCHAR, stolen_ends VARCHAR, locale VARCHAR)[/INST]SELECT MIN(ends_won) FROM table_name_45 WHERE stolen_ends = 10 AND locale = "italy" AND blank_en...
CREATE TABLE table_18943444_1 (samples_taken INTEGER, product VARCHAR)
SELECT MIN(samples_taken) FROM table_18943444_1 WHERE product = "蒙牛牌嬰幼兒配方乳粉"
What is the smallest amount sampled of product 蒙牛牌嬰幼兒配方乳粉 ?
<s>[INST]What is the smallest amount sampled of product 蒙牛牌嬰幼兒配方乳粉 ? Context: CREATE TABLE table_18943444_1 (samples_taken INTEGER, product VARCHAR)[/INST]SELECT MIN(samples_taken) FROM table_18943444_1 WHERE product = "蒙牛牌嬰幼兒配方乳粉"</s>
CREATE TABLE table_282413_3 (ethnic_group VARCHAR)
SELECT MAX(2001 AS _population) FROM table_282413_3 WHERE ethnic_group = "White: British"
What is the highest 2001 population when the ethnic group is white: british?
<s>[INST]What is the highest 2001 population when the ethnic group is white: british? Context: CREATE TABLE table_282413_3 (ethnic_group VARCHAR)[/INST]SELECT MAX(2001 AS _population) FROM table_282413_3 WHERE ethnic_group = "White: British"</s>
CREATE TABLE table_15056103_1 (league VARCHAR, year VARCHAR)
SELECT league FROM table_15056103_1 WHERE year = 2009
What league were they in in 2009?
<s>[INST]What league were they in in 2009? Context: CREATE TABLE table_15056103_1 (league VARCHAR, year VARCHAR)[/INST]SELECT league FROM table_15056103_1 WHERE year = 2009</s>
CREATE TABLE table_name_63 (location VARCHAR, capacity VARCHAR, opening VARCHAR)
SELECT location FROM table_name_63 WHERE capacity = "65,000" AND opening = "2016"
What place can sit 65,000 and opens 2016?
<s>[INST]What place can sit 65,000 and opens 2016? Context: CREATE TABLE table_name_63 (location VARCHAR, capacity VARCHAR, opening VARCHAR)[/INST]SELECT location FROM table_name_63 WHERE capacity = "65,000" AND opening = "2016"</s>
CREATE TABLE table_name_98 (sspec_number VARCHAR, frequency VARCHAR)
SELECT sspec_number FROM table_name_98 WHERE frequency = "1 ghz"
What is sSpec Number, when Frequency is 1 GHZ?
<s>[INST]What is sSpec Number, when Frequency is 1 GHZ? Context: CREATE TABLE table_name_98 (sspec_number VARCHAR, frequency VARCHAR)[/INST]SELECT sspec_number FROM table_name_98 WHERE frequency = "1 ghz"</s>
CREATE TABLE table_name_22 (rating VARCHAR, air_date VARCHAR, share VARCHAR)
SELECT COUNT(rating) FROM table_name_22 WHERE air_date = "june 25, 2008" AND share > 3
What is the total number of Rating(s), when Air Date is June 25, 2008, and when Share is greater than 3?
<s>[INST]What is the total number of Rating(s), when Air Date is June 25, 2008, and when Share is greater than 3? Context: CREATE TABLE table_name_22 (rating VARCHAR, air_date VARCHAR, share VARCHAR)[/INST]SELECT COUNT(rating) FROM table_name_22 WHERE air_date = "june 25, 2008" AND share > 3</s>
CREATE TABLE table_name_79 (winner VARCHAR, tier VARCHAR)
SELECT winner FROM table_name_79 WHERE tier = "tier iii"
When the Tier is listed as tier iii, who is the Winner?
<s>[INST]When the Tier is listed as tier iii, who is the Winner? Context: CREATE TABLE table_name_79 (winner VARCHAR, tier VARCHAR)[/INST]SELECT winner FROM table_name_79 WHERE tier = "tier iii"</s>
CREATE TABLE table_name_19 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_19 WHERE away_team = "footscray"
What was the attendance at the Footscray away game?
<s>[INST]What was the attendance at the Footscray away game? Context: CREATE TABLE table_name_19 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT crowd FROM table_name_19 WHERE away_team = "footscray"</s>
CREATE TABLE table_name_18 (transmitting_from VARCHAR, launched VARCHAR)
SELECT transmitting_from FROM table_name_18 WHERE launched = "17 july 1997"
Where is the station that was launched on 17 July 1997 transmitting from?
<s>[INST]Where is the station that was launched on 17 July 1997 transmitting from? Context: CREATE TABLE table_name_18 (transmitting_from VARCHAR, launched VARCHAR)[/INST]SELECT transmitting_from FROM table_name_18 WHERE launched = "17 july 1997"</s>
CREATE TABLE table_name_76 (score VARCHAR, country VARCHAR)
SELECT score FROM table_name_76 WHERE country = "scotland"
What was the score for the player from Scotland?
<s>[INST]What was the score for the player from Scotland? Context: CREATE TABLE table_name_76 (score VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_76 WHERE country = "scotland"</s>
CREATE TABLE table_name_58 (high_rebounds VARCHAR, game VARCHAR)
SELECT high_rebounds FROM table_name_58 WHERE game = 81
What is the highest rebounds for game 81?
<s>[INST]What is the highest rebounds for game 81? Context: CREATE TABLE table_name_58 (high_rebounds VARCHAR, game VARCHAR)[/INST]SELECT high_rebounds FROM table_name_58 WHERE game = 81</s>
CREATE TABLE Aircraft (name VARCHAR, distance VARCHAR)
SELECT name, distance FROM Aircraft
Show name and distance for all aircrafts.
<s>[INST]Show name and distance for all aircrafts. Context: CREATE TABLE Aircraft (name VARCHAR, distance VARCHAR)[/INST]SELECT name, distance FROM Aircraft</s>
CREATE TABLE table_name_10 (decile INTEGER, name VARCHAR)
SELECT MIN(decile) FROM table_name_10 WHERE name = "ohau school"
What is the lowest decile that Ohau School has?
<s>[INST]What is the lowest decile that Ohau School has? Context: CREATE TABLE table_name_10 (decile INTEGER, name VARCHAR)[/INST]SELECT MIN(decile) FROM table_name_10 WHERE name = "ohau school"</s>
CREATE TABLE table_name_56 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_56 WHERE date = 1981
What was the surface in 1981?
<s>[INST]What was the surface in 1981? Context: CREATE TABLE table_name_56 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_56 WHERE date = 1981</s>
CREATE TABLE table_name_12 (week VARCHAR, attendance INTEGER)
SELECT COUNT(week) FROM table_name_12 WHERE attendance < 22 OFFSET 333
What Week had an Attendance smaller than 22,333?
<s>[INST]What Week had an Attendance smaller than 22,333? Context: CREATE TABLE table_name_12 (week VARCHAR, attendance INTEGER)[/INST]SELECT COUNT(week) FROM table_name_12 WHERE attendance < 22 OFFSET 333</s>
CREATE TABLE table_name_36 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_36 WHERE country = "scotland"
What is the Place of the Player from Scotland?
<s>[INST]What is the Place of the Player from Scotland? Context: CREATE TABLE table_name_36 (place VARCHAR, country VARCHAR)[/INST]SELECT place FROM table_name_36 WHERE country = "scotland"</s>
CREATE TABLE table_name_15 (lost INTEGER, drawn VARCHAR, team VARCHAR)
SELECT MAX(lost) FROM table_name_15 WHERE drawn = 11 AND team = "leek town"
WHAT IS THE LOST WITH A DRAWN 11, FOR LEEK TOWN?
<s>[INST]WHAT IS THE LOST WITH A DRAWN 11, FOR LEEK TOWN? Context: CREATE TABLE table_name_15 (lost INTEGER, drawn VARCHAR, team VARCHAR)[/INST]SELECT MAX(lost) FROM table_name_15 WHERE drawn = 11 AND team = "leek town"</s>
CREATE TABLE table_name_71 (championship VARCHAR, opponents_in_final VARCHAR, partnering VARCHAR, year VARCHAR)
SELECT championship FROM table_name_71 WHERE partnering = "maikel scheffers" AND year > 2007 AND opponents_in_final = "stephane houdet nicolas peiffer"
What championship tournament did Ronald Vink play in with maikel scheffers as his partner in 2007 against stephane houdet nicolas peiffer?
<s>[INST]What championship tournament did Ronald Vink play in with maikel scheffers as his partner in 2007 against stephane houdet nicolas peiffer? Context: CREATE TABLE table_name_71 (championship VARCHAR, opponents_in_final VARCHAR, partnering VARCHAR, year VARCHAR)[/INST]SELECT championship FROM table_name_71 WHERE ...
CREATE TABLE table_name_57 (player VARCHAR, pick VARCHAR)
SELECT player FROM table_name_57 WHERE pick = 402
What was the name of the player for pick 402?
<s>[INST]What was the name of the player for pick 402? Context: CREATE TABLE table_name_57 (player VARCHAR, pick VARCHAR)[/INST]SELECT player FROM table_name_57 WHERE pick = 402</s>
CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_27 WHERE home_team = "carlton"
What Away team is visiting Carlton?
<s>[INST]What Away team is visiting Carlton? Context: CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_27 WHERE home_team = "carlton"</s>
CREATE TABLE table_12108_1 (gdp___bn__ VARCHAR)
SELECT gdp___bn__ FROM table_12108_1 WHERE "capital" = "capital"
what is the gdp ( bn ) where capital is capital?
<s>[INST]what is the gdp ( bn ) where capital is capital? Context: CREATE TABLE table_12108_1 (gdp___bn__ VARCHAR)[/INST]SELECT gdp___bn__ FROM table_12108_1 WHERE "capital" = "capital"</s>
CREATE TABLE table_name_55 (psychological_dependence INTEGER, physical_dependence VARCHAR, pleasure VARCHAR, drug VARCHAR)
SELECT MAX(psychological_dependence) FROM table_name_55 WHERE pleasure < 2.3 AND drug = "cannabis" AND physical_dependence < 0.8
What is the highest Psychological Dependence, when Pleasure is less than 2.3, when Drug is "Cannabis", and when Physical Dependence is less than 0.8?
<s>[INST]What is the highest Psychological Dependence, when Pleasure is less than 2.3, when Drug is "Cannabis", and when Physical Dependence is less than 0.8? Context: CREATE TABLE table_name_55 (psychological_dependence INTEGER, physical_dependence VARCHAR, pleasure VARCHAR, drug VARCHAR)[/INST]SELECT MAX(psychologica...
CREATE TABLE table_name_36 (coach VARCHAR, team VARCHAR)
SELECT coach FROM table_name_36 WHERE team = "northamptonshire steelbacks"
Who is the coach for the Northamptonshire Steelbacks?
<s>[INST]Who is the coach for the Northamptonshire Steelbacks? Context: CREATE TABLE table_name_36 (coach VARCHAR, team VARCHAR)[/INST]SELECT coach FROM table_name_36 WHERE team = "northamptonshire steelbacks"</s>
CREATE TABLE table_1439096_1 (title VARCHAR, original_air_date__atv_ VARCHAR)
SELECT title FROM table_1439096_1 WHERE original_air_date__atv_ = "28 September 1969"
What is the title of the episode with the original air date of 28 September 1969?
<s>[INST]What is the title of the episode with the original air date of 28 September 1969? Context: CREATE TABLE table_1439096_1 (title VARCHAR, original_air_date__atv_ VARCHAR)[/INST]SELECT title FROM table_1439096_1 WHERE original_air_date__atv_ = "28 September 1969"</s>
CREATE TABLE table_16409745_1 (dimensions__mm_ VARCHAR, product VARCHAR)
SELECT dimensions__mm_ FROM table_16409745_1 WHERE product = "Fujitsu fi-6130 A4 Series Scanner"
What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?
<s>[INST]What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner? Context: CREATE TABLE table_16409745_1 (dimensions__mm_ VARCHAR, product VARCHAR)[/INST]SELECT dimensions__mm_ FROM table_16409745_1 WHERE product = "Fujitsu fi-6130 A4 Series Scanner"</s>
CREATE TABLE table_name_83 (player VARCHAR, nationality VARCHAR)
SELECT player FROM table_name_83 WHERE nationality = "sweden"
Which player's nationality is from Sweden?
<s>[INST]Which player's nationality is from Sweden? Context: CREATE TABLE table_name_83 (player VARCHAR, nationality VARCHAR)[/INST]SELECT player FROM table_name_83 WHERE nationality = "sweden"</s>
CREATE TABLE table_21716139_1 (category VARCHAR, train_no VARCHAR)
SELECT category FROM table_21716139_1 WHERE train_no = "16609/16610"
What is the category for trains numbered 16609/16610?
<s>[INST]What is the category for trains numbered 16609/16610? Context: CREATE TABLE table_21716139_1 (category VARCHAR, train_no VARCHAR)[/INST]SELECT category FROM table_21716139_1 WHERE train_no = "16609/16610"</s>
CREATE TABLE table_name_40 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_40 WHERE place = "t3" AND player = "bobby locke"
What is T3 Place Player Bobby Locke's Score?
<s>[INST]What is T3 Place Player Bobby Locke's Score? Context: CREATE TABLE table_name_40 (score VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_40 WHERE place = "t3" AND player = "bobby locke"</s>
CREATE TABLE table_name_50 (round INTEGER, stadium VARCHAR, attendance VARCHAR)
SELECT MIN(round) FROM table_name_50 WHERE stadium = "members equity stadium" AND attendance < 12 OFFSET 581
What is the least round for the game played at Members Equity Stadium in from of 12,581 people?
<s>[INST]What is the least round for the game played at Members Equity Stadium in from of 12,581 people? Context: CREATE TABLE table_name_50 (round INTEGER, stadium VARCHAR, attendance VARCHAR)[/INST]SELECT MIN(round) FROM table_name_50 WHERE stadium = "members equity stadium" AND attendance < 12 OFFSET 581</s>
CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_50 WHERE venue = "western oval"
Which home team plays at the Western Oval?
<s>[INST]Which home team plays at the Western Oval? Context: CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_50 WHERE venue = "western oval"</s>
CREATE TABLE table_20693870_1 (mccain_number VARCHAR, obama_number VARCHAR)
SELECT mccain_number FROM table_20693870_1 WHERE obama_number = 895
What were the number of voters McCain had when Obama had 895?
<s>[INST]What were the number of voters McCain had when Obama had 895? Context: CREATE TABLE table_20693870_1 (mccain_number VARCHAR, obama_number VARCHAR)[/INST]SELECT mccain_number FROM table_20693870_1 WHERE obama_number = 895</s>
CREATE TABLE table_19805130_3 (share VARCHAR, rank__night_ VARCHAR)
SELECT COUNT(share) FROM table_19805130_3 WHERE rank__night_ = "9"
If the night rank is 9, what is the total share number?
<s>[INST]If the night rank is 9, what is the total share number? Context: CREATE TABLE table_19805130_3 (share VARCHAR, rank__night_ VARCHAR)[/INST]SELECT COUNT(share) FROM table_19805130_3 WHERE rank__night_ = "9"</s>
CREATE TABLE table_name_20 (city VARCHAR, host VARCHAR, region VARCHAR, state VARCHAR)
SELECT city FROM table_name_20 WHERE region = "east" AND state = "north carolina" AND host = "university of richmond"
What city in the east region in North Carolina was the round where the University of Richmond was the host?
<s>[INST]What city in the east region in North Carolina was the round where the University of Richmond was the host? Context: CREATE TABLE table_name_20 (city VARCHAR, host VARCHAR, region VARCHAR, state VARCHAR)[/INST]SELECT city FROM table_name_20 WHERE region = "east" AND state = "north carolina" AND host = "univers...
CREATE TABLE table_name_98 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_98 WHERE venue = "moorabbin oval"
When was the game at Moorabbin Oval?
<s>[INST]When was the game at Moorabbin Oval? Context: CREATE TABLE table_name_98 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_98 WHERE venue = "moorabbin oval"</s>
CREATE TABLE table_name_8 (operator VARCHAR, ship VARCHAR)
SELECT operator FROM table_name_8 WHERE ship = "costa pacifica"
What operator has a ship costa pacifica?
<s>[INST]What operator has a ship costa pacifica? Context: CREATE TABLE table_name_8 (operator VARCHAR, ship VARCHAR)[/INST]SELECT operator FROM table_name_8 WHERE ship = "costa pacifica"</s>
CREATE TABLE table_name_52 (lane INTEGER, nationality VARCHAR)
SELECT AVG(lane) FROM table_name_52 WHERE nationality = "china"
What is the average lane for china?
<s>[INST]What is the average lane for china? Context: CREATE TABLE table_name_52 (lane INTEGER, nationality VARCHAR)[/INST]SELECT AVG(lane) FROM table_name_52 WHERE nationality = "china"</s>
CREATE TABLE table_name_13 (population INTEGER, _percentage_lds VARCHAR, total_congregations VARCHAR)
SELECT MAX(population) FROM table_name_13 WHERE _percentage_lds = "0.54%" AND total_congregations > 2
What is the highest Population, when % LDS is 0.54%, and when Total Congregations is greater than 2?
<s>[INST]What is the highest Population, when % LDS is 0.54%, and when Total Congregations is greater than 2? Context: CREATE TABLE table_name_13 (population INTEGER, _percentage_lds VARCHAR, total_congregations VARCHAR)[/INST]SELECT MAX(population) FROM table_name_13 WHERE _percentage_lds = "0.54%" AND total_congregat...
CREATE TABLE table_name_89 (rank VARCHAR, time VARCHAR)
SELECT COUNT(rank) FROM table_name_89 WHERE time = "6:30.53"
What is the rank of the time of 6:30.53?
<s>[INST]What is the rank of the time of 6:30.53? Context: CREATE TABLE table_name_89 (rank VARCHAR, time VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_89 WHERE time = "6:30.53"</s>
CREATE TABLE table_name_59 (tournament VARCHAR, runner_up VARCHAR)
SELECT tournament FROM table_name_59 WHERE runner_up = "tim henman"
Which tournament was Tim Henman the runner-up in?
<s>[INST]Which tournament was Tim Henman the runner-up in? Context: CREATE TABLE table_name_59 (tournament VARCHAR, runner_up VARCHAR)[/INST]SELECT tournament FROM table_name_59 WHERE runner_up = "tim henman"</s>
CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_30 WHERE venue = "lake oval"
What was the away team when the venue was Lake Oval?
<s>[INST]What was the away team when the venue was Lake Oval? Context: CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_30 WHERE venue = "lake oval"</s>
CREATE TABLE table_19763199_3 (total_votes VARCHAR, artist VARCHAR)
SELECT total_votes FROM table_19763199_3 WHERE artist = "Carlos Ferrer EAI"
How many votes does Carlos Ferrer Eai have?
<s>[INST]How many votes does Carlos Ferrer Eai have? Context: CREATE TABLE table_19763199_3 (total_votes VARCHAR, artist VARCHAR)[/INST]SELECT total_votes FROM table_19763199_3 WHERE artist = "Carlos Ferrer EAI"</s>
CREATE TABLE table_name_31 (drivers VARCHAR, team VARCHAR)
SELECT drivers FROM table_name_31 WHERE team = "arciero racing"
Who drove for Arciero Racing?
<s>[INST]Who drove for Arciero Racing? Context: CREATE TABLE table_name_31 (drivers VARCHAR, team VARCHAR)[/INST]SELECT drivers FROM table_name_31 WHERE team = "arciero racing"</s>
CREATE TABLE table_name_75 (round VARCHAR, time VARCHAR, location VARCHAR)
SELECT COUNT(round) FROM table_name_75 WHERE time = "n/a" AND location = "canton, ohio, usa"
What is the total number of Round(s), when Time is "n/a", and when Location is "Canton, Ohio, USA"?
<s>[INST]What is the total number of Round(s), when Time is "n/a", and when Location is "Canton, Ohio, USA"? Context: CREATE TABLE table_name_75 (round VARCHAR, time VARCHAR, location VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_75 WHERE time = "n/a" AND location = "canton, ohio, usa"</s>
CREATE TABLE table_name_15 (school_club_team VARCHAR, round VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_15 WHERE round > 3 AND player = "sammy okpro"
Which School/Club Team has a Round larger than 3, and a Player of sammy okpro?
<s>[INST]Which School/Club Team has a Round larger than 3, and a Player of sammy okpro? Context: CREATE TABLE table_name_15 (school_club_team VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_15 WHERE round > 3 AND player = "sammy okpro"</s>
CREATE TABLE table_27155990_1 (total_usd INTEGER, creator VARCHAR)
SELECT MAX(total_usd) FROM table_27155990_1 WHERE creator = "Pebble Technology"
What was the maximum total USD collected by Pebble Technology?
<s>[INST]What was the maximum total USD collected by Pebble Technology? Context: CREATE TABLE table_27155990_1 (total_usd INTEGER, creator VARCHAR)[/INST]SELECT MAX(total_usd) FROM table_27155990_1 WHERE creator = "Pebble Technology"</s>
CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR)
SELECT COUNT(pop_density_people_km_2) FROM table_24066938_1 WHERE member_state = "Czech Republic"
How many measurements of the Czech Republic's population density are recorded in this table?
<s>[INST]How many measurements of the Czech Republic's population density are recorded in this table? Context: CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR)[/INST]SELECT COUNT(pop_density_people_km_2) FROM table_24066938_1 WHERE member_state = "Czech Republic"</s>
CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_57 WHERE venue = "glenferrie oval"
What is the score for the home team for the venue glenferrie oval?
<s>[INST]What is the score for the home team for the venue glenferrie oval? Context: CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_57 WHERE venue = "glenferrie oval"</s>
CREATE TABLE table_28668784_1 (stadium VARCHAR, home_team VARCHAR)
SELECT stadium FROM table_28668784_1 WHERE home_team = "FK Jedinstvo"
What stadium does FK Jedinstvo play in?
<s>[INST]What stadium does FK Jedinstvo play in? Context: CREATE TABLE table_28668784_1 (stadium VARCHAR, home_team VARCHAR)[/INST]SELECT stadium FROM table_28668784_1 WHERE home_team = "FK Jedinstvo"</s>
CREATE TABLE table_name_38 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_38 WHERE college = "kent state"
Which player came from Kent State?
<s>[INST]Which player came from Kent State? Context: CREATE TABLE table_name_38 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_38 WHERE college = "kent state"</s>
CREATE TABLE table_name_91 (team_2 VARCHAR)
SELECT 1 AS st_round FROM table_name_91 WHERE team_2 = "paris sg (d1)"
What is the 1st round with a team 2 paris sg (d1)?
<s>[INST]What is the 1st round with a team 2 paris sg (d1)? Context: CREATE TABLE table_name_91 (team_2 VARCHAR)[/INST]SELECT 1 AS st_round FROM table_name_91 WHERE team_2 = "paris sg (d1)"</s>
CREATE TABLE table_10361230_1 (choice INTEGER)
SELECT MAX(choice) FROM table_10361230_1
What is the highest choice?
<s>[INST]What is the highest choice? Context: CREATE TABLE table_10361230_1 (choice INTEGER)[/INST]SELECT MAX(choice) FROM table_10361230_1</s>
CREATE TABLE table_1847523_2 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR)
SELECT city_of_license__market FROM table_1847523_2 WHERE channel___tv___rf__ = "41"
What city of license/market has the channel of 41?
<s>[INST]What city of license/market has the channel of 41? Context: CREATE TABLE table_1847523_2 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR)[/INST]SELECT city_of_license__market FROM table_1847523_2 WHERE channel___tv___rf__ = "41"</s>
CREATE TABLE table_name_12 (body VARCHAR, event_type VARCHAR, sport VARCHAR)
SELECT body FROM table_name_12 WHERE event_type = "world championship" AND sport = "underwater target shooting"
What body is at the World Championship for Underwater Target shooting?
<s>[INST]What body is at the World Championship for Underwater Target shooting? Context: CREATE TABLE table_name_12 (body VARCHAR, event_type VARCHAR, sport VARCHAR)[/INST]SELECT body FROM table_name_12 WHERE event_type = "world championship" AND sport = "underwater target shooting"</s>
CREATE TABLE table_name_12 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_12 WHERE year < 1965 AND chassis = "brabham bt10"
Which entrant had a Brabham BT10 chassis before 1965?
<s>[INST]Which entrant had a Brabham BT10 chassis before 1965? Context: CREATE TABLE table_name_12 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)[/INST]SELECT entrant FROM table_name_12 WHERE year < 1965 AND chassis = "brabham bt10"</s>
CREATE TABLE table_name_38 (a_score INTEGER, b_score VARCHAR, total VARCHAR, position VARCHAR)
SELECT MAX(a_score) FROM table_name_38 WHERE total < 15.95 AND position < 7 AND b_score > 8.225
What is the A score for the person with a total less than 15.95, position less than 7, and B score more than 8.225?
<s>[INST]What is the A score for the person with a total less than 15.95, position less than 7, and B score more than 8.225? Context: CREATE TABLE table_name_38 (a_score INTEGER, b_score VARCHAR, total VARCHAR, position VARCHAR)[/INST]SELECT MAX(a_score) FROM table_name_38 WHERE total < 15.95 AND position < 7 AND b_sco...
CREATE TABLE table_name_81 (age_at_time_of_disaster VARCHAR, date_of_birth VARCHAR)
SELECT age_at_time_of_disaster FROM table_name_81 WHERE date_of_birth = "24 september 1851"
How old was the person born 24 September 1851 at the time of disaster?
<s>[INST]How old was the person born 24 September 1851 at the time of disaster? Context: CREATE TABLE table_name_81 (age_at_time_of_disaster VARCHAR, date_of_birth VARCHAR)[/INST]SELECT age_at_time_of_disaster FROM table_name_81 WHERE date_of_birth = "24 september 1851"</s>
CREATE TABLE table_name_45 (player VARCHAR, country VARCHAR, score VARCHAR)
SELECT player FROM table_name_45 WHERE score = 71 - 72 = 143 AND country = "spain"
Which player had the score 71-72=143 in Spain?
<s>[INST]Which player had the score 71-72=143 in Spain? Context: CREATE TABLE table_name_45 (player VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_45 WHERE score = 71 - 72 = 143 AND country = "spain"</s>
CREATE TABLE table_23285849_10 (high_points VARCHAR, high_assists VARCHAR)
SELECT high_points FROM table_23285849_10 WHERE high_assists = "Chauncey Billups (4)"
When chauncey billups (4) has the highest amount of assists who has the highest amount of points?
<s>[INST]When chauncey billups (4) has the highest amount of assists who has the highest amount of points? Context: CREATE TABLE table_23285849_10 (high_points VARCHAR, high_assists VARCHAR)[/INST]SELECT high_points FROM table_23285849_10 WHERE high_assists = "Chauncey Billups (4)"</s>
CREATE TABLE table_name_77 (away_team VARCHAR, date VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_77 WHERE date = "4 june 1927" AND venue = "corio oval"
Which team was at Corio Oval on 4 June 1927?
<s>[INST]Which team was at Corio Oval on 4 June 1927? Context: CREATE TABLE table_name_77 (away_team VARCHAR, date VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_77 WHERE date = "4 june 1927" AND venue = "corio oval"</s>
CREATE TABLE table_name_61 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR)
SELECT COUNT(wins) FROM table_name_61 WHERE ballarat_fl = "east point" AND against > 1000
How many total wins does Ballarat FL of East point have when the against is greater than 1000?
<s>[INST]How many total wins does Ballarat FL of East point have when the against is greater than 1000? Context: CREATE TABLE table_name_61 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_61 WHERE ballarat_fl = "east point" AND against > 1000</s>
CREATE TABLE table_2889810_2 (country VARCHAR, moto3_125cc VARCHAR)
SELECT country FROM table_2889810_2 WHERE moto3_125cc = 15
how many country has moto3/125cc with 15
<s>[INST]how many country has moto3/125cc with 15 Context: CREATE TABLE table_2889810_2 (country VARCHAR, moto3_125cc VARCHAR)[/INST]SELECT country FROM table_2889810_2 WHERE moto3_125cc = 15</s>
CREATE TABLE products (product_name VARCHAR)
SELECT DISTINCT product_name FROM products ORDER BY product_name
List the names of all distinct products in alphabetical order.
<s>[INST]List the names of all distinct products in alphabetical order. Context: CREATE TABLE products (product_name VARCHAR)[/INST]SELECT DISTINCT product_name FROM products ORDER BY product_name</s>
CREATE TABLE battle (RESULT VARCHAR)
SELECT COUNT(DISTINCT RESULT) FROM battle
How many different results are there for the battles?
<s>[INST]How many different results are there for the battles? Context: CREATE TABLE battle (RESULT VARCHAR)[/INST]SELECT COUNT(DISTINCT RESULT) FROM battle</s>