context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_12 (runner_s__up VARCHAR, margin VARCHAR)
SELECT runner_s__up FROM table_name_12 WHERE margin = "1 stroke"
Who are the Runner(s)-up with a Margin of 1 stroke?
<s>[INST]Who are the Runner(s)-up with a Margin of 1 stroke? Context: CREATE TABLE table_name_12 (runner_s__up VARCHAR, margin VARCHAR)[/INST]SELECT runner_s__up FROM table_name_12 WHERE margin = "1 stroke"</s>
CREATE TABLE table_name_89 (wins VARCHAR, position VARCHAR, draws VARCHAR, scored VARCHAR, conceded VARCHAR)
SELECT COUNT(wins) FROM table_name_89 WHERE scored < 24 AND conceded > 25 AND draws > 5 AND position < 9
How many Wins have a Scored smaller than 24, and a Conceded larger than 25, and Draws larger than 5, and a Position smaller than 9?
<s>[INST]How many Wins have a Scored smaller than 24, and a Conceded larger than 25, and Draws larger than 5, and a Position smaller than 9? Context: CREATE TABLE table_name_89 (wins VARCHAR, position VARCHAR, draws VARCHAR, scored VARCHAR, conceded VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_89 WHERE scored < 24 AND conceded > 25 AND draws > 5 AND position < 9</s>
CREATE TABLE candidate (people_id VARCHAR, support_rate INTEGER, oppose_rate VARCHAR); CREATE TABLE people (name VARCHAR, people_id VARCHAR)
SELECT t1.name FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id WHERE t2.support_rate < t2.oppose_rate
Find the names of the candidates whose support percentage is lower than their oppose rate.
<s>[INST]Find the names of the candidates whose support percentage is lower than their oppose rate. Context: CREATE TABLE candidate (people_id VARCHAR, support_rate INTEGER, oppose_rate VARCHAR); CREATE TABLE people (name VARCHAR, people_id VARCHAR)[/INST]SELECT t1.name FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id WHERE t2.support_rate < t2.oppose_rate</s>
CREATE TABLE table_name_41 (code VARCHAR, population INTEGER)
SELECT COUNT(code) FROM table_name_41 WHERE population > 87 OFFSET 585
What is the total code number for places with a population greater than 87,585?
<s>[INST]What is the total code number for places with a population greater than 87,585? Context: CREATE TABLE table_name_41 (code VARCHAR, population INTEGER)[/INST]SELECT COUNT(code) FROM table_name_41 WHERE population > 87 OFFSET 585</s>
CREATE TABLE singer (Birth_Year VARCHAR, Citizenship VARCHAR)
SELECT Birth_Year, Citizenship FROM singer
What are the birth year and citizenship of singers?
<s>[INST]What are the birth year and citizenship of singers? Context: CREATE TABLE singer (Birth_Year VARCHAR, Citizenship VARCHAR)[/INST]SELECT Birth_Year, Citizenship FROM singer</s>
CREATE TABLE table_1099080_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR)
SELECT partial_thromboplastin_time FROM table_1099080_1 WHERE condition = "Factor X deficiency as seen in amyloid purpura"
What was the partial thromboplastin time for factor x deficiency as seen in amyloid purpura
<s>[INST]What was the partial thromboplastin time for factor x deficiency as seen in amyloid purpura Context: CREATE TABLE table_1099080_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR)[/INST]SELECT partial_thromboplastin_time FROM table_1099080_1 WHERE condition = "Factor X deficiency as seen in amyloid purpura"</s>
CREATE TABLE Person (name VARCHAR, age INTEGER); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR)
SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age > 40) INTERSECT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age < 30)
Find the name of the person who has friends with age above 40 and under age 30?
<s>[INST]Find the name of the person who has friends with age above 40 and under age 30? Context: CREATE TABLE Person (name VARCHAR, age INTEGER); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR)[/INST]SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age > 40) INTERSECT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age < 30)</s>
CREATE TABLE table_name_29 (apps INTEGER, rank VARCHAR, club VARCHAR, season VARCHAR)
SELECT MIN(apps) FROM table_name_29 WHERE club = "barcelona" AND season = "1996/97" AND rank < 7
Which Apps have a Club of barcelona, and a Season of 1996/97, and a Rank smaller than 7?
<s>[INST]Which Apps have a Club of barcelona, and a Season of 1996/97, and a Rank smaller than 7? Context: CREATE TABLE table_name_29 (apps INTEGER, rank VARCHAR, club VARCHAR, season VARCHAR)[/INST]SELECT MIN(apps) FROM table_name_29 WHERE club = "barcelona" AND season = "1996/97" AND rank < 7</s>
CREATE TABLE table_name_25 (qual VARCHAR, year VARCHAR)
SELECT qual FROM table_name_25 WHERE year = "1960"
Name the qual for year of 1960
<s>[INST]Name the qual for year of 1960 Context: CREATE TABLE table_name_25 (qual VARCHAR, year VARCHAR)[/INST]SELECT qual FROM table_name_25 WHERE year = "1960"</s>
CREATE TABLE table_17360840_4 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_17360840_4 WHERE record = "0-2-1"
What is the minimum attendance on games of record 0-2-1
<s>[INST]What is the minimum attendance on games of record 0-2-1 Context: CREATE TABLE table_17360840_4 (attendance INTEGER, record VARCHAR)[/INST]SELECT MIN(attendance) FROM table_17360840_4 WHERE record = "0-2-1"</s>
CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)
SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Helen Reino Kai-Riin Saluste"
WHAT IS THE NAME OF THE MENS DOUBLES PLAYER WHEN THE WOMENS DOUBLES PLAYER IS HELEN REINO KAI-RIIN SALUSTE?
<s>[INST]WHAT IS THE NAME OF THE MENS DOUBLES PLAYER WHEN THE WOMENS DOUBLES PLAYER IS HELEN REINO KAI-RIIN SALUSTE? Context: CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)[/INST]SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Helen Reino Kai-Riin Saluste"</s>
CREATE TABLE table_name_11 (result INTEGER, location VARCHAR, rank VARCHAR)
SELECT AVG(result) FROM table_name_11 WHERE location = "atlanta" AND rank < 4
What Result has a Location of atlanta, and Rank smaller than 4?
<s>[INST]What Result has a Location of atlanta, and Rank smaller than 4? Context: CREATE TABLE table_name_11 (result INTEGER, location VARCHAR, rank VARCHAR)[/INST]SELECT AVG(result) FROM table_name_11 WHERE location = "atlanta" AND rank < 4</s>
CREATE TABLE table_name_77 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_77 WHERE record = "24–16–6"
What team was home, when the record was 24–16–6?
<s>[INST]What team was home, when the record was 24–16–6? Context: CREATE TABLE table_name_77 (home VARCHAR, record VARCHAR)[/INST]SELECT home FROM table_name_77 WHERE record = "24–16–6"</s>
CREATE TABLE table_2241841_1 (manufacturer VARCHAR, date VARCHAR)
SELECT manufacturer FROM table_2241841_1 WHERE date = "May 21"
Who made the car that won the race on May 21?
<s>[INST]Who made the car that won the race on May 21? Context: CREATE TABLE table_2241841_1 (manufacturer VARCHAR, date VARCHAR)[/INST]SELECT manufacturer FROM table_2241841_1 WHERE date = "May 21"</s>
CREATE TABLE table_15081939_4 (province VARCHAR, evening_gown VARCHAR)
SELECT province FROM table_15081939_4 WHERE evening_gown = "7.61"
Which province has evening gown score of 7.61
<s>[INST]Which province has evening gown score of 7.61 Context: CREATE TABLE table_15081939_4 (province VARCHAR, evening_gown VARCHAR)[/INST]SELECT province FROM table_15081939_4 WHERE evening_gown = "7.61"</s>
CREATE TABLE table_15187735_16 (netflix VARCHAR, segment_a VARCHAR)
SELECT netflix FROM table_15187735_16 WHERE segment_a = "Digital Dentistry"
Whats the season/episode of segment a digital dentistry
<s>[INST]Whats the season/episode of segment a digital dentistry Context: CREATE TABLE table_15187735_16 (netflix VARCHAR, segment_a VARCHAR)[/INST]SELECT netflix FROM table_15187735_16 WHERE segment_a = "Digital Dentistry"</s>
CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school VARCHAR)
SELECT position FROM table_name_16 WHERE pick > 33 AND school = "tottenville hs (staten island, ny)"
what is the position when the pick is higher than 33 and the school is tottenville hs (staten island, ny)?
<s>[INST]what is the position when the pick is higher than 33 and the school is tottenville hs (staten island, ny)? Context: CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school VARCHAR)[/INST]SELECT position FROM table_name_16 WHERE pick > 33 AND school = "tottenville hs (staten island, ny)"</s>
CREATE TABLE table_name_76 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR, class VARCHAR)
SELECT city_of_license FROM table_name_76 WHERE erp_w < 500 AND class = "a" AND frequency_mhz > 89.7
What city of license has an ERP W smaller than 500, Class A, and Frequency MHz larger than 89.7?
<s>[INST]What city of license has an ERP W smaller than 500, Class A, and Frequency MHz larger than 89.7? Context: CREATE TABLE table_name_76 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR, class VARCHAR)[/INST]SELECT city_of_license FROM table_name_76 WHERE erp_w < 500 AND class = "a" AND frequency_mhz > 89.7</s>
CREATE TABLE table_name_54 (name VARCHAR, length_meters VARCHAR, km_from_kingston VARCHAR)
SELECT name FROM table_name_54 WHERE length_meters > 66.4 AND km_from_kingston = 138.8
What is Name, when Length Meters is greater than 66.4, and when Km From Kingston is 138.8?
<s>[INST]What is Name, when Length Meters is greater than 66.4, and when Km From Kingston is 138.8? Context: CREATE TABLE table_name_54 (name VARCHAR, length_meters VARCHAR, km_from_kingston VARCHAR)[/INST]SELECT name FROM table_name_54 WHERE length_meters > 66.4 AND km_from_kingston = 138.8</s>
CREATE TABLE table_name_65 (rank INTEGER, gold VARCHAR, total VARCHAR)
SELECT SUM(rank) FROM table_name_65 WHERE gold > 1 AND total > 4
What is the Rank of the Nation with more than 1 Gold and a more than 4 Total medals?
<s>[INST]What is the Rank of the Nation with more than 1 Gold and a more than 4 Total medals? Context: CREATE TABLE table_name_65 (rank INTEGER, gold VARCHAR, total VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_65 WHERE gold > 1 AND total > 4</s>
CREATE TABLE table_name_46 (round INTEGER, opponent VARCHAR)
SELECT AVG(round) FROM table_name_46 WHERE opponent = "michael chavez"
How many rounds is the fight against Michael Chavez?
<s>[INST]How many rounds is the fight against Michael Chavez? Context: CREATE TABLE table_name_46 (round INTEGER, opponent VARCHAR)[/INST]SELECT AVG(round) FROM table_name_46 WHERE opponent = "michael chavez"</s>
CREATE TABLE table_name_27 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_27 WHERE outcome = "winner" AND opponent_in_the_final = "jim courier"
What is the date of the match with a winner outcome and jim courier as the opponent in the final?
<s>[INST]What is the date of the match with a winner outcome and jim courier as the opponent in the final? Context: CREATE TABLE table_name_27 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_27 WHERE outcome = "winner" AND opponent_in_the_final = "jim courier"</s>
CREATE TABLE table_name_46 (terms VARCHAR, left_office VARCHAR)
SELECT terms FROM table_name_46 WHERE left_office = "august 4, 1825"
How many terms did the governor that left office on August 4, 1825 serve?
<s>[INST]How many terms did the governor that left office on August 4, 1825 serve? Context: CREATE TABLE table_name_46 (terms VARCHAR, left_office VARCHAR)[/INST]SELECT terms FROM table_name_46 WHERE left_office = "august 4, 1825"</s>
CREATE TABLE table_name_43 (margin_of_victory VARCHAR, date VARCHAR)
SELECT margin_of_victory FROM table_name_43 WHERE date = "27 feb 2011"
What is the Margin of victory on 27 feb 2011?
<s>[INST]What is the Margin of victory on 27 feb 2011? Context: CREATE TABLE table_name_43 (margin_of_victory VARCHAR, date VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_43 WHERE date = "27 feb 2011"</s>
CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_63 WHERE away_team = "geelong"
What is the date with geelong as Away team?
<s>[INST]What is the date with geelong as Away team? Context: CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_63 WHERE away_team = "geelong"</s>
CREATE TABLE phone (Company_name VARCHAR)
SELECT Company_name FROM phone GROUP BY Company_name HAVING COUNT(*) > 1
List the name of the company that produced more than one phone model.
<s>[INST]List the name of the company that produced more than one phone model. Context: CREATE TABLE phone (Company_name VARCHAR)[/INST]SELECT Company_name FROM phone GROUP BY Company_name HAVING COUNT(*) > 1</s>
CREATE TABLE table_name_82 (version VARCHAR, region VARCHAR, format VARCHAR, date VARCHAR)
SELECT version FROM table_name_82 WHERE format = "cd" AND date = "june 12, 2008" AND region = "cyprus"
What is the Version of the CD release on June 12, 2008 in Cyprus?
<s>[INST]What is the Version of the CD release on June 12, 2008 in Cyprus? Context: CREATE TABLE table_name_82 (version VARCHAR, region VARCHAR, format VARCHAR, date VARCHAR)[/INST]SELECT version FROM table_name_82 WHERE format = "cd" AND date = "june 12, 2008" AND region = "cyprus"</s>
CREATE TABLE table_name_78 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_78 WHERE home_team = "essendon"
How many people were in the crowd when Essendon was the home team?
<s>[INST]How many people were in the crowd when Essendon was the home team? Context: CREATE TABLE table_name_78 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_78 WHERE home_team = "essendon"</s>
CREATE TABLE table_26736040_1 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT COUNT(no_in_series) FROM table_26736040_1 WHERE directed_by = "Bryan Cranston"
How many entries for number in series when director is Bryan Cranston?
<s>[INST]How many entries for number in series when director is Bryan Cranston? Context: CREATE TABLE table_26736040_1 (no_in_series VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(no_in_series) FROM table_26736040_1 WHERE directed_by = "Bryan Cranston"</s>
CREATE TABLE table_21632864_1 (third_place VARCHAR, fourth_place VARCHAR)
SELECT COUNT(third_place) FROM table_21632864_1 WHERE fourth_place = "Sanyo Electric Tokushima"
how many persons got the third position whan sanyo electric tokushima got the fourth position?
<s>[INST]how many persons got the third position whan sanyo electric tokushima got the fourth position? Context: CREATE TABLE table_21632864_1 (third_place VARCHAR, fourth_place VARCHAR)[/INST]SELECT COUNT(third_place) FROM table_21632864_1 WHERE fourth_place = "Sanyo Electric Tokushima"</s>
CREATE TABLE table_name_19 (opponents VARCHAR, tournament VARCHAR)
SELECT opponents FROM table_name_19 WHERE tournament = "sutton"
What is the name of the opponent for the Sutton tournament?
<s>[INST]What is the name of the opponent for the Sutton tournament? Context: CREATE TABLE table_name_19 (opponents VARCHAR, tournament VARCHAR)[/INST]SELECT opponents FROM table_name_19 WHERE tournament = "sutton"</s>
CREATE TABLE table_14330096_4 (total_number INTEGER)
SELECT MAX(total_number) FROM table_14330096_4
What is the highest total number?
<s>[INST]What is the highest total number? Context: CREATE TABLE table_14330096_4 (total_number INTEGER)[/INST]SELECT MAX(total_number) FROM table_14330096_4</s>
CREATE TABLE table_name_13 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_13 WHERE date = "september 28"
Who is the opponent from September 28?
<s>[INST]Who is the opponent from September 28? Context: CREATE TABLE table_name_13 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_13 WHERE date = "september 28"</s>
CREATE TABLE table_24781886_2 (production_code INTEGER, viewers VARCHAR)
SELECT MIN(production_code) FROM table_24781886_2 WHERE viewers = "6.66"
When 6.66 is the amount of viewers what is the lowest production code?
<s>[INST]When 6.66 is the amount of viewers what is the lowest production code? Context: CREATE TABLE table_24781886_2 (production_code INTEGER, viewers VARCHAR)[/INST]SELECT MIN(production_code) FROM table_24781886_2 WHERE viewers = "6.66"</s>
CREATE TABLE table_name_84 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_84 WHERE opponent = "chicago bears"
On what date was the Opponent Chicago Bears?
<s>[INST]On what date was the Opponent Chicago Bears? Context: CREATE TABLE table_name_84 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_84 WHERE opponent = "chicago bears"</s>
CREATE TABLE table_name_51 (series_11 VARCHAR, series_1 VARCHAR)
SELECT series_11 FROM table_name_51 WHERE series_1 = "peter jones"
Who in series 11 corresponds to Peter Jones in series 1?
<s>[INST]Who in series 11 corresponds to Peter Jones in series 1? Context: CREATE TABLE table_name_51 (series_11 VARCHAR, series_1 VARCHAR)[/INST]SELECT series_11 FROM table_name_51 WHERE series_1 = "peter jones"</s>
CREATE TABLE table_name_58 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_58 WHERE venue = "princes park"
If the Venue was princes park, which Date did the game take place on?
<s>[INST]If the Venue was princes park, which Date did the game take place on? Context: CREATE TABLE table_name_58 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_58 WHERE venue = "princes park"</s>
CREATE TABLE Teachers (address_id VARCHAR); CREATE TABLE Students (address_id VARCHAR); CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR)
SELECT T1.line_1 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.address_id INTERSECT SELECT T1.line_1 FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_id
What are the line 1 of addresses shared by some students and some teachers?
<s>[INST]What are the line 1 of addresses shared by some students and some teachers? Context: CREATE TABLE Teachers (address_id VARCHAR); CREATE TABLE Students (address_id VARCHAR); CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR)[/INST]SELECT T1.line_1 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.address_id INTERSECT SELECT T1.line_1 FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_id</s>
CREATE TABLE shop (name VARCHAR, LOCATION VARCHAR, district VARCHAR, number_products VARCHAR)
SELECT name, LOCATION, district FROM shop ORDER BY number_products DESC
Return the name, location and district of all shops in descending order of number of products.
<s>[INST]Return the name, location and district of all shops in descending order of number of products. Context: CREATE TABLE shop (name VARCHAR, LOCATION VARCHAR, district VARCHAR, number_products VARCHAR)[/INST]SELECT name, LOCATION, district FROM shop ORDER BY number_products DESC</s>
CREATE TABLE table_name_62 (award VARCHAR, year INTEGER)
SELECT award FROM table_name_62 WHERE year < 2005
What award did they win before 2005?
<s>[INST]What award did they win before 2005? Context: CREATE TABLE table_name_62 (award VARCHAR, year INTEGER)[/INST]SELECT award FROM table_name_62 WHERE year < 2005</s>
CREATE TABLE table_name_75 (money_raised VARCHAR, _3q VARCHAR, cash_on_hand VARCHAR)
SELECT money_raised, _3q FROM table_name_75 WHERE cash_on_hand = "$5,821,587"
How much money has been raised that has $5,821,587 cash on hand?
<s>[INST]How much money has been raised that has $5,821,587 cash on hand? Context: CREATE TABLE table_name_75 (money_raised VARCHAR, _3q VARCHAR, cash_on_hand VARCHAR)[/INST]SELECT money_raised, _3q FROM table_name_75 WHERE cash_on_hand = "$5,821,587"</s>
CREATE TABLE table_name_47 (founded INTEGER, left VARCHAR)
SELECT SUM(founded) FROM table_name_47 WHERE left = "1976"
What is the total number of teams founded that were left in 1976?
<s>[INST]What is the total number of teams founded that were left in 1976? Context: CREATE TABLE table_name_47 (founded INTEGER, left VARCHAR)[/INST]SELECT SUM(founded) FROM table_name_47 WHERE left = "1976"</s>
CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_21 WHERE player = "charles coody"
What country does charles coody play for?
<s>[INST]What country does charles coody play for? Context: CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_21 WHERE player = "charles coody"</s>
CREATE TABLE table_name_69 (championship VARCHAR, previous_champion_s_ VARCHAR)
SELECT championship FROM table_name_69 WHERE previous_champion_s_ = "defeated justin corino in tournament final"
In which championship had a previous champion of "defeated Justin Corino in tournament final"?
<s>[INST]In which championship had a previous champion of "defeated Justin Corino in tournament final"? Context: CREATE TABLE table_name_69 (championship VARCHAR, previous_champion_s_ VARCHAR)[/INST]SELECT championship FROM table_name_69 WHERE previous_champion_s_ = "defeated justin corino in tournament final"</s>
CREATE TABLE table_25800134_12 (director VARCHAR, airdate VARCHAR)
SELECT director FROM table_25800134_12 WHERE airdate = "September 25, 1967"
Who directed the episode that aired on September 25, 1967?
<s>[INST]Who directed the episode that aired on September 25, 1967? Context: CREATE TABLE table_25800134_12 (director VARCHAR, airdate VARCHAR)[/INST]SELECT director FROM table_25800134_12 WHERE airdate = "September 25, 1967"</s>
CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_82 WHERE date = "3 may 2009"
What was the score on 3 may 2009?
<s>[INST]What was the score on 3 may 2009? Context: CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_82 WHERE date = "3 may 2009"</s>
CREATE TABLE table_name_52 (status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
SELECT status FROM table_name_52 WHERE co_contestant__yaar_vs_pyaar_ = "tina sachdev"
Which Status has a Co-contestant (Yaar vs. Pyaar) of tina sachdev?
<s>[INST]Which Status has a Co-contestant (Yaar vs. Pyaar) of tina sachdev? Context: CREATE TABLE table_name_52 (status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)[/INST]SELECT status FROM table_name_52 WHERE co_contestant__yaar_vs_pyaar_ = "tina sachdev"</s>
CREATE TABLE table_2818164_7 (production_code VARCHAR, written_by VARCHAR)
SELECT production_code FROM table_2818164_7 WHERE written_by = "Matt Robinson"
What is the production code that was written by matt robinson?
<s>[INST]What is the production code that was written by matt robinson? Context: CREATE TABLE table_2818164_7 (production_code VARCHAR, written_by VARCHAR)[/INST]SELECT production_code FROM table_2818164_7 WHERE written_by = "Matt Robinson"</s>
CREATE TABLE table_2076533_1 (type VARCHAR, enrollment__2005_ VARCHAR)
SELECT type FROM table_2076533_1 WHERE enrollment__2005_ = 1245
Name the type for 1245 enrollment
<s>[INST]Name the type for 1245 enrollment Context: CREATE TABLE table_2076533_1 (type VARCHAR, enrollment__2005_ VARCHAR)[/INST]SELECT type FROM table_2076533_1 WHERE enrollment__2005_ = 1245</s>
CREATE TABLE table_name_5 (loser VARCHAR, date VARCHAR, year VARCHAR)
SELECT loser FROM table_name_5 WHERE date = "december 12" AND year = 1971
Who was the loser on December 12, 1971?
<s>[INST]Who was the loser on December 12, 1971? Context: CREATE TABLE table_name_5 (loser VARCHAR, date VARCHAR, year VARCHAR)[/INST]SELECT loser FROM table_name_5 WHERE date = "december 12" AND year = 1971</s>
CREATE TABLE table_name_17 (round VARCHAR, grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT COUNT(round) FROM table_name_17 WHERE fastest_lap = "damon hill" AND pole_position = "michael schumacher" AND grand_prix = "hungarian grand prix"
During the hungarian grand prix where the pole position was michael schumacher and the fastest lap was driven by damon hill, what's the total number of rounds of races matching these standards?
<s>[INST]During the hungarian grand prix where the pole position was michael schumacher and the fastest lap was driven by damon hill, what's the total number of rounds of races matching these standards? Context: CREATE TABLE table_name_17 (round VARCHAR, grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_17 WHERE fastest_lap = "damon hill" AND pole_position = "michael schumacher" AND grand_prix = "hungarian grand prix"</s>
CREATE TABLE table_name_29 (league_division VARCHAR, location VARCHAR)
SELECT league_division FROM table_name_29 WHERE location = "n/a"
What League/Division has a Location of n/a?
<s>[INST]What League/Division has a Location of n/a? Context: CREATE TABLE table_name_29 (league_division VARCHAR, location VARCHAR)[/INST]SELECT league_division FROM table_name_29 WHERE location = "n/a"</s>
CREATE TABLE table_name_41 (year INTEGER, entrant VARCHAR)
SELECT MAX(year) FROM table_name_41 WHERE entrant = "dean van lines"
What was the most recent year for Dean Van Lines?
<s>[INST]What was the most recent year for Dean Van Lines? Context: CREATE TABLE table_name_41 (year INTEGER, entrant VARCHAR)[/INST]SELECT MAX(year) FROM table_name_41 WHERE entrant = "dean van lines"</s>
CREATE TABLE table_19905183_1 (team VARCHAR, head_coach VARCHAR)
SELECT COUNT(team) FROM table_19905183_1 WHERE head_coach = "Waqar Younis"
In how many teams is Waqar Younis the head coach?
<s>[INST]In how many teams is Waqar Younis the head coach? Context: CREATE TABLE table_19905183_1 (team VARCHAR, head_coach VARCHAR)[/INST]SELECT COUNT(team) FROM table_19905183_1 WHERE head_coach = "Waqar Younis"</s>
CREATE TABLE table_name_13 (years VARCHAR, decile VARCHAR, area VARCHAR)
SELECT years FROM table_name_13 WHERE decile < 8 AND area = "southbrook"
What years had the decile smaller than 8 in the area of southbrook?
<s>[INST]What years had the decile smaller than 8 in the area of southbrook? Context: CREATE TABLE table_name_13 (years VARCHAR, decile VARCHAR, area VARCHAR)[/INST]SELECT years FROM table_name_13 WHERE decile < 8 AND area = "southbrook"</s>
CREATE TABLE table_name_3 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_3 WHERE competition = "2008 africa cup of nations"
What was the Score of the 2008 Africa Cup of Nations Competition?
<s>[INST]What was the Score of the 2008 Africa Cup of Nations Competition? Context: CREATE TABLE table_name_3 (score VARCHAR, competition VARCHAR)[/INST]SELECT score FROM table_name_3 WHERE competition = "2008 africa cup of nations"</s>
CREATE TABLE table_2668329_11 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_2668329_11 WHERE incumbent = "Samuel Smith"
What was the result of Samuel Smith's race?
<s>[INST]What was the result of Samuel Smith's race? Context: CREATE TABLE table_2668329_11 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_2668329_11 WHERE incumbent = "Samuel Smith"</s>
CREATE TABLE table_14754471_1 (asian___percentage_ VARCHAR, year VARCHAR)
SELECT asian___percentage_ FROM table_14754471_1 WHERE year = 2004
What percentage of Asians are there in the year 2004?
<s>[INST]What percentage of Asians are there in the year 2004? Context: CREATE TABLE table_14754471_1 (asian___percentage_ VARCHAR, year VARCHAR)[/INST]SELECT asian___percentage_ FROM table_14754471_1 WHERE year = 2004</s>
CREATE TABLE table_name_20 (duration VARCHAR, appearances VARCHAR, character VARCHAR)
SELECT duration FROM table_name_20 WHERE appearances = "3" AND character = "james garret"
What is the duration that has 3 for appearances, and james garret as the character?
<s>[INST]What is the duration that has 3 for appearances, and james garret as the character? Context: CREATE TABLE table_name_20 (duration VARCHAR, appearances VARCHAR, character VARCHAR)[/INST]SELECT duration FROM table_name_20 WHERE appearances = "3" AND character = "james garret"</s>
CREATE TABLE table_name_14 (population__2006_ INTEGER, population__2011_ VARCHAR, area__km_2__ VARCHAR)
SELECT AVG(population__2006_) FROM table_name_14 WHERE population__2011_ > 5 AND area__km_2__ = 5.84
What is the average population in 2006 that has more than 5 people in 2011 and an area 5.84km?
<s>[INST]What is the average population in 2006 that has more than 5 people in 2011 and an area 5.84km? Context: CREATE TABLE table_name_14 (population__2006_ INTEGER, population__2011_ VARCHAR, area__km_2__ VARCHAR)[/INST]SELECT AVG(population__2006_) FROM table_name_14 WHERE population__2011_ > 5 AND area__km_2__ = 5.84</s>
CREATE TABLE CARS_DATA (id VARCHAR, year INTEGER); CREATE TABLE MODEL_LIST (model VARCHAR); CREATE TABLE CAR_NAMES (model VARCHAR, MakeId VARCHAR)
SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.model = T2.model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.id WHERE T3.year > 1980
Which distinct car models are the produced after 1980?
<s>[INST]Which distinct car models are the produced after 1980? Context: CREATE TABLE CARS_DATA (id VARCHAR, year INTEGER); CREATE TABLE MODEL_LIST (model VARCHAR); CREATE TABLE CAR_NAMES (model VARCHAR, MakeId VARCHAR)[/INST]SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.model = T2.model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.id WHERE T3.year > 1980</s>
CREATE TABLE table_name_14 (label VARCHAR, region VARCHAR)
SELECT label FROM table_name_14 WHERE region = "japan"
What was the label in Japan?
<s>[INST]What was the label in Japan? Context: CREATE TABLE table_name_14 (label VARCHAR, region VARCHAR)[/INST]SELECT label FROM table_name_14 WHERE region = "japan"</s>
CREATE TABLE table_name_87 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_87 WHERE away_team = "huddersfield town"
Which tie did Huddersfield Town play as an away team?
<s>[INST]Which tie did Huddersfield Town play as an away team? Context: CREATE TABLE table_name_87 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_87 WHERE away_team = "huddersfield town"</s>
CREATE TABLE table_name_30 (position VARCHAR, surname VARCHAR)
SELECT position FROM table_name_30 WHERE surname = "ruzic"
Which Position did Ruzic play?
<s>[INST]Which Position did Ruzic play? Context: CREATE TABLE table_name_30 (position VARCHAR, surname VARCHAR)[/INST]SELECT position FROM table_name_30 WHERE surname = "ruzic"</s>
CREATE TABLE table_20996923_25 (nfl_team VARCHAR, player VARCHAR)
SELECT COUNT(nfl_team) FROM table_20996923_25 WHERE player = "Stevie Brown"
How many NFL teams does Stevie Brown play for?
<s>[INST]How many NFL teams does Stevie Brown play for? Context: CREATE TABLE table_20996923_25 (nfl_team VARCHAR, player VARCHAR)[/INST]SELECT COUNT(nfl_team) FROM table_20996923_25 WHERE player = "Stevie Brown"</s>
CREATE TABLE table_name_59 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_59 WHERE game = 58
What was the record when they played game 58?
<s>[INST]What was the record when they played game 58? Context: CREATE TABLE table_name_59 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_59 WHERE game = 58</s>
CREATE TABLE table_name_65 (cuts_made INTEGER, events INTEGER)
SELECT MAX(cuts_made) FROM table_name_65 WHERE events < 1
Events smaller than 1 had what highest cuts made?
<s>[INST]Events smaller than 1 had what highest cuts made? Context: CREATE TABLE table_name_65 (cuts_made INTEGER, events INTEGER)[/INST]SELECT MAX(cuts_made) FROM table_name_65 WHERE events < 1</s>
CREATE TABLE table_name_97 (stake VARCHAR, wards__branches_in_arkansas VARCHAR)
SELECT stake FROM table_name_97 WHERE wards__branches_in_arkansas = 16
What stake has 16 wards/branches in Arkansas?
<s>[INST]What stake has 16 wards/branches in Arkansas? Context: CREATE TABLE table_name_97 (stake VARCHAR, wards__branches_in_arkansas VARCHAR)[/INST]SELECT stake FROM table_name_97 WHERE wards__branches_in_arkansas = 16</s>
CREATE TABLE table_2668352_14 (district VARCHAR, first_elected VARCHAR)
SELECT district FROM table_2668352_14 WHERE first_elected = "1810"
Name the district for first elected 1810
<s>[INST]Name the district for first elected 1810 Context: CREATE TABLE table_2668352_14 (district VARCHAR, first_elected VARCHAR)[/INST]SELECT district FROM table_2668352_14 WHERE first_elected = "1810"</s>
CREATE TABLE table_name_53 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_53 WHERE date = "september 28, 1997"
What is the Attendance on September 28, 1997?
<s>[INST]What is the Attendance on September 28, 1997? Context: CREATE TABLE table_name_53 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_53 WHERE date = "september 28, 1997"</s>
CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR, year VARCHAR, location VARCHAR)
SELECT date FROM table_name_15 WHERE year > 1992 AND location = "murcia" AND score = "0-3"
What day did the team play in murcia with a score of 0-3 after 1992?
<s>[INST]What day did the team play in murcia with a score of 0-3 after 1992? Context: CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR, year VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_15 WHERE year > 1992 AND location = "murcia" AND score = "0-3"</s>
CREATE TABLE table_name_78 (grid VARCHAR, laps INTEGER)
SELECT COUNT(grid) FROM table_name_78 WHERE laps > 24
What is the total number of Grid, when Laps is greater than 24?
<s>[INST]What is the total number of Grid, when Laps is greater than 24? Context: CREATE TABLE table_name_78 (grid VARCHAR, laps INTEGER)[/INST]SELECT COUNT(grid) FROM table_name_78 WHERE laps > 24</s>
CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_83 WHERE home_team = "west ham united"
What is Away Team, when Home Team is "West Ham United"?
<s>[INST]What is Away Team, when Home Team is "West Ham United"? Context: CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_83 WHERE home_team = "west ham united"</s>
CREATE TABLE table_name_49 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_49 WHERE player = "sam torrance"
What did Sam Torrance score?
<s>[INST]What did Sam Torrance score? Context: CREATE TABLE table_name_49 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_49 WHERE player = "sam torrance"</s>
CREATE TABLE table_name_82 (ratings__5_capital_cities_ VARCHAR, episode_no VARCHAR)
SELECT ratings__5_capital_cities_ FROM table_name_82 WHERE episode_no = "wonder drug"
What was the rating of the episode Wonder Drug?
<s>[INST]What was the rating of the episode Wonder Drug? Context: CREATE TABLE table_name_82 (ratings__5_capital_cities_ VARCHAR, episode_no VARCHAR)[/INST]SELECT ratings__5_capital_cities_ FROM table_name_82 WHERE episode_no = "wonder drug"</s>
CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR)
SELECT to_par FROM table_name_15 WHERE year_s__won = "1983"
Which To par has a Year(s) won of 1983?
<s>[INST]Which To par has a Year(s) won of 1983? Context: CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR)[/INST]SELECT to_par FROM table_name_15 WHERE year_s__won = "1983"</s>
CREATE TABLE table_name_92 (points INTEGER, percentage_of_possible_points VARCHAR)
SELECT SUM(points) FROM table_name_92 WHERE percentage_of_possible_points = "67.22%"
How many points have a percentage of possible points of 67.22%?
<s>[INST]How many points have a percentage of possible points of 67.22%? Context: CREATE TABLE table_name_92 (points INTEGER, percentage_of_possible_points VARCHAR)[/INST]SELECT SUM(points) FROM table_name_92 WHERE percentage_of_possible_points = "67.22%"</s>
CREATE TABLE table_160510_1 (hangul VARCHAR, hanja VARCHAR)
SELECT hangul FROM table_160510_1 WHERE hanja = "θ‰―ε·ž"
What is the hangul symbol for the hanja θ‰―ε·ž?
<s>[INST]What is the hangul symbol for the hanja θ‰―ε·ž? Context: CREATE TABLE table_160510_1 (hangul VARCHAR, hanja VARCHAR)[/INST]SELECT hangul FROM table_160510_1 WHERE hanja = "θ‰―ε·ž"</s>
CREATE TABLE table_1473672_6 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_1473672_6 WHERE player = "Rob Palmer"
What NHL team drafted Rob Palmer?
<s>[INST]What NHL team drafted Rob Palmer? Context: CREATE TABLE table_1473672_6 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT nhl_team FROM table_1473672_6 WHERE player = "Rob Palmer"</s>
CREATE TABLE table_name_58 (agg VARCHAR, team_2 VARCHAR)
SELECT agg FROM table_name_58 WHERE team_2 = "irtysh"
What is the aggregate for the tie with a team 2 of Irtysh?
<s>[INST]What is the aggregate for the tie with a team 2 of Irtysh? Context: CREATE TABLE table_name_58 (agg VARCHAR, team_2 VARCHAR)[/INST]SELECT agg FROM table_name_58 WHERE team_2 = "irtysh"</s>
CREATE TABLE table_17275810_7 (replaced_by VARCHAR, team VARCHAR)
SELECT replaced_by FROM table_17275810_7 WHERE team = "Ascoli"
Name the replacced by with ascoli
<s>[INST]Name the replacced by with ascoli Context: CREATE TABLE table_17275810_7 (replaced_by VARCHAR, team VARCHAR)[/INST]SELECT replaced_by FROM table_17275810_7 WHERE team = "Ascoli"</s>
CREATE TABLE table_name_76 (player VARCHAR, pick__number VARCHAR, college VARCHAR)
SELECT player FROM table_name_76 WHERE pick__number < 304 AND college = "notre dame"
Who is the player that attended Notre Dame with a pick smaller than 304?
<s>[INST]Who is the player that attended Notre Dame with a pick smaller than 304? Context: CREATE TABLE table_name_76 (player VARCHAR, pick__number VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_76 WHERE pick__number < 304 AND college = "notre dame"</s>
CREATE TABLE table_name_92 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_92 WHERE home_team = "footscray"
What away team played Footscray?
<s>[INST]What away team played Footscray? Context: CREATE TABLE table_name_92 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_92 WHERE home_team = "footscray"</s>
CREATE TABLE table_name_34 (starts INTEGER, wins VARCHAR, position VARCHAR)
SELECT AVG(starts) FROM table_name_34 WHERE wins > 0 AND position = "32nd"
What is the average start with wins larger than 0 and 32nd position?
<s>[INST]What is the average start with wins larger than 0 and 32nd position? Context: CREATE TABLE table_name_34 (starts INTEGER, wins VARCHAR, position VARCHAR)[/INST]SELECT AVG(starts) FROM table_name_34 WHERE wins > 0 AND position = "32nd"</s>
CREATE TABLE table_name_24 (place VARCHAR, country VARCHAR, score VARCHAR)
SELECT place FROM table_name_24 WHERE score = 69 - 69 = 138 AND country = "germany"
What was the place in Germany with a score of 69-69=138?
<s>[INST]What was the place in Germany with a score of 69-69=138? Context: CREATE TABLE table_name_24 (place VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_24 WHERE score = 69 - 69 = 138 AND country = "germany"</s>
CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_66 WHERE date = "november 23, 2008"
What was the final score of the game on November 23, 2008?
<s>[INST]What was the final score of the game on November 23, 2008? Context: CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_66 WHERE date = "november 23, 2008"</s>
CREATE TABLE table_name_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR)
SELECT high_rebounds FROM table_name_94 WHERE game < 9 AND opponent = "detroit"
Which High rebounds has a Game smaller than 9, and a Opponent of detroit?
<s>[INST]Which High rebounds has a Game smaller than 9, and a Opponent of detroit? Context: CREATE TABLE table_name_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR)[/INST]SELECT high_rebounds FROM table_name_94 WHERE game < 9 AND opponent = "detroit"</s>
CREATE TABLE table_name_49 (location VARCHAR, country VARCHAR)
SELECT location FROM table_name_49 WHERE country = "belgian congo tanganyika"
Which location is in the Belgian Congo Tanganyika?
<s>[INST]Which location is in the Belgian Congo Tanganyika? Context: CREATE TABLE table_name_49 (location VARCHAR, country VARCHAR)[/INST]SELECT location FROM table_name_49 WHERE country = "belgian congo tanganyika"</s>
CREATE TABLE table_name_2 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_2 WHERE week = 2
what was the date of the game on week 2?
<s>[INST]what was the date of the game on week 2? Context: CREATE TABLE table_name_2 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_2 WHERE week = 2</s>
CREATE TABLE table_name_95 (team VARCHAR, class VARCHAR)
SELECT team FROM table_name_95 WHERE class = "rotax light"
What is the name of the team whose class is Rotax Light?
<s>[INST]What is the name of the team whose class is Rotax Light? Context: CREATE TABLE table_name_95 (team VARCHAR, class VARCHAR)[/INST]SELECT team FROM table_name_95 WHERE class = "rotax light"</s>
CREATE TABLE table_name_88 (win_percentage VARCHAR, games VARCHAR, Pwin_percentage VARCHAR, β€” VARCHAR, term_ VARCHAR, c_ VARCHAR)
SELECT win_percentage FROM table_name_88 WHERE games = 80 AND Pwin_percentage = β€” AND term_[c_] = "1987–1988"
What is the win% for the game 80 and a PWin% of β€”, and a Term [c ] of 1987–1988?
<s>[INST]What is the win% for the game 80 and a PWin% of β€”, and a Term [c ] of 1987–1988? Context: CREATE TABLE table_name_88 (win_percentage VARCHAR, games VARCHAR, Pwin_percentage VARCHAR, β€” VARCHAR, term_ VARCHAR, c_ VARCHAR)[/INST]SELECT win_percentage FROM table_name_88 WHERE games = 80 AND Pwin_percentage = β€” AND term_[c_] = "1987–1988"</s>
CREATE TABLE table_name_85 (subtitles VARCHAR, classifaction VARCHAR)
SELECT subtitles FROM table_name_85 WHERE classifaction = "15"
What subtitles have 15 as the classification?
<s>[INST]What subtitles have 15 as the classification? Context: CREATE TABLE table_name_85 (subtitles VARCHAR, classifaction VARCHAR)[/INST]SELECT subtitles FROM table_name_85 WHERE classifaction = "15"</s>
CREATE TABLE table_name_14 (date VARCHAR, registration VARCHAR)
SELECT date FROM table_name_14 WHERE registration = "tc-jes"
When was the registration of tc-jes?
<s>[INST]When was the registration of tc-jes? Context: CREATE TABLE table_name_14 (date VARCHAR, registration VARCHAR)[/INST]SELECT date FROM table_name_14 WHERE registration = "tc-jes"</s>
CREATE TABLE table_name_28 (player VARCHAR, score INTEGER)
SELECT player FROM table_name_28 WHERE score > 72
Who scored more than 72?
<s>[INST]Who scored more than 72? Context: CREATE TABLE table_name_28 (player VARCHAR, score INTEGER)[/INST]SELECT player FROM table_name_28 WHERE score > 72</s>
CREATE TABLE shop (shop_id VARCHAR, address VARCHAR, score INTEGER)
SELECT shop_id, address FROM shop WHERE score < (SELECT AVG(score) FROM shop)
Find the id and address of the shops whose score is below the average score.
<s>[INST]Find the id and address of the shops whose score is below the average score. Context: CREATE TABLE shop (shop_id VARCHAR, address VARCHAR, score INTEGER)[/INST]SELECT shop_id, address FROM shop WHERE score < (SELECT AVG(score) FROM shop)</s>
CREATE TABLE table_name_51 (extra INTEGER, meeting VARCHAR, year VARCHAR)
SELECT MAX(extra) FROM table_name_51 WHERE meeting = "all africa games" AND year < 2003
What is the highest extra total before 2003 at the Meeting of all africa games?
<s>[INST]What is the highest extra total before 2003 at the Meeting of all africa games? Context: CREATE TABLE table_name_51 (extra INTEGER, meeting VARCHAR, year VARCHAR)[/INST]SELECT MAX(extra) FROM table_name_51 WHERE meeting = "all africa games" AND year < 2003</s>
CREATE TABLE table_name_76 (winner VARCHAR, win__number VARCHAR, points VARCHAR)
SELECT winner FROM table_name_76 WHERE win__number > 1 AND points < 94
What is Winner, when Win # is greater than 1, and when Points is less than 94?
<s>[INST]What is Winner, when Win # is greater than 1, and when Points is less than 94? Context: CREATE TABLE table_name_76 (winner VARCHAR, win__number VARCHAR, points VARCHAR)[/INST]SELECT winner FROM table_name_76 WHERE win__number > 1 AND points < 94</s>
CREATE TABLE table_name_68 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_68 WHERE away_team = "st kilda"
What home team played against St Kilda?
<s>[INST]What home team played against St Kilda? Context: CREATE TABLE table_name_68 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_68 WHERE away_team = "st kilda"</s>
CREATE TABLE table_name_70 (winner VARCHAR, mountains_classification VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_70 WHERE mountains_classification = "not awarded" AND stage = "1"
Which winner of stage 1 was not awarded a mountains classification?
<s>[INST]Which winner of stage 1 was not awarded a mountains classification? Context: CREATE TABLE table_name_70 (winner VARCHAR, mountains_classification VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_name_70 WHERE mountains_classification = "not awarded" AND stage = "1"</s>
CREATE TABLE table_27712180_7 (team VARCHAR, date VARCHAR)
SELECT team FROM table_27712180_7 WHERE date = "December 18"
Name the team for december 18
<s>[INST]Name the team for december 18 Context: CREATE TABLE table_27712180_7 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_27712180_7 WHERE date = "December 18"</s>