text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the % indian american for asian population 126965 ### Context: CREATE TABLE table_18963843_1 (_percentage_indian_american VARCHAR, asian_american_population__2010_ VARCHAR) [/INST] ### Response: SELECT _percentage_indian_american FROM table_18963843_1 WHERE asian_american_population__2010_ = 126965 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the % asian american for 23526 ### Context: CREATE TABLE table_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR) [/INST] ### Response: SELECT _percentage_asian_american FROM table_18963843_1 WHERE indian_american_population__2010_ = 23526 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When buffalo narrows is the name how many measurements of population density per kilometer squared are there? ### Context: CREATE TABLE table_189598_7 (population_density__per_km²_ VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(population_density__per_km²_) FROM table_189598_7 WHERE name = "Buffalo Narrows" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When 1233 is the population of 2011 what is the land area in kilometers squared? ### Context: CREATE TABLE table_189598_7 (land_area__km²_ VARCHAR, population__2011_ VARCHAR) [/INST] ### Response: SELECT land_area__km²_ FROM table_189598_7 WHERE population__2011_ = 1233 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When 6.00 is the land area in kilometers squared what is the highest population of 2011? ### Context: CREATE TABLE table_189598_7 (population__2011_ INTEGER, land_area__km²_ VARCHAR) [/INST] ### Response: SELECT MAX(population__2011_) FROM table_189598_7 WHERE land_area__km²_ = "6.00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When beauval is the name what is the lowest population of 2011? ### Context: CREATE TABLE table_189598_7 (population__2011_ INTEGER, name VARCHAR) [/INST] ### Response: SELECT MIN(population__2011_) FROM table_189598_7 WHERE name = "Beauval" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When 4.5 is the percentage of change how many population counts were made for 2011? ### Context: CREATE TABLE table_189598_7 (population__2011_ VARCHAR, change___percentage_ VARCHAR) [/INST] ### Response: SELECT COUNT(population__2011_) FROM table_189598_7 WHERE change___percentage_ = "4.5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When 14.85 kilometers squared is the land area what is the name? ### Context: CREATE TABLE table_189598_7 (name VARCHAR, land_area__km²_ VARCHAR) [/INST] ### Response: SELECT name FROM table_189598_7 WHERE land_area__km²_ = "14.85" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every state and District of Columbia with 60.0% overweight or obese adults? ### Context: CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR) [/INST] ### Response: SELECT state_and_district_of_columbia FROM table_18958648_1 WHERE overweight__incl_obese__adults = "60.0%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are all percentages of overweight or obese adults for obesity rank of 21? ### Context: CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obesity_rank VARCHAR) [/INST] ### Response: SELECT overweight__incl_obese__adults FROM table_18958648_1 WHERE obesity_rank = 21 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the least obesity rank for the state of Utah? ### Context: CREATE TABLE table_18958648_1 (obesity_rank INTEGER, state_and_district_of_columbia VARCHAR) [/INST] ### Response: SELECT MIN(obesity_rank) FROM table_18958648_1 WHERE state_and_district_of_columbia = "Utah" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many states or District of Columbia have 65.4% overweight or obese adults? ### Context: CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR) [/INST] ### Response: SELECT COUNT(state_and_district_of_columbia) FROM table_18958648_1 WHERE overweight__incl_obese__adults = "65.4%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every percentage of overweight or obese adults when 12.4% of children and adolescents are obese? ### Context: CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obese_children_and_adolescents VARCHAR) [/INST] ### Response: SELECT overweight__incl_obese__adults FROM table_18958648_1 WHERE obese_children_and_adolescents = "12.4%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed the film Gomorra? ### Context: CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] ### Response: SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Gomorra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What language was spoken in Everlasting Moments? ### Context: CREATE TABLE table_18994724_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] ### Response: SELECT language_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Everlasting Moments" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the original title of the film submitted by Greece? ### Context: CREATE TABLE table_18994724_1 (original_title VARCHAR, submitting_country VARCHAR) [/INST] ### Response: SELECT original_title FROM table_18994724_1 WHERE submitting_country = "Greece" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed the film Nuits d'arabie? ### Context: CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] ### Response: SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Nuits d'Arabie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every value for population (2006) with a Romanian mother tongue? ### Context: CREATE TABLE table_189893_1 (population__2006_ VARCHAR, mother_tongue VARCHAR) [/INST] ### Response: SELECT population__2006_ FROM table_189893_1 WHERE mother_tongue = "Romanian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest population(2011)? ### Context: CREATE TABLE table_189893_1 (population__2011_ INTEGER) [/INST] ### Response: SELECT MIN(population__2011_) FROM table_189893_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest population(2006) when there is a 1.06% in 2011? ### Context: CREATE TABLE table_189893_1 (population__2006_ INTEGER, percentage__2011_ VARCHAR) [/INST] ### Response: SELECT MIN(population__2006_) FROM table_189893_1 WHERE percentage__2011_ = "1.06%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many values for population(2011) correspond to a 1.40% in 2006? ### Context: CREATE TABLE table_189893_1 (population__2011_ VARCHAR, percentage__2006_ VARCHAR) [/INST] ### Response: SELECT COUNT(population__2011_) FROM table_189893_1 WHERE percentage__2006_ = "1.40%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every value for percentage(2006) with a Polish mother tongue? ### Context: CREATE TABLE table_189893_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR) [/INST] ### Response: SELECT percentage__2006_ FROM table_189893_1 WHERE mother_tongue = "Polish" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which team/s have 48 goals total? ### Context: CREATE TABLE table_18967450_2 (club VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT club FROM table_18967450_2 WHERE goals = 48 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the contestant eliminated on episode 8 of RW: Key West season? ### Context: CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, eliminated VARCHAR) [/INST] ### Response: SELECT player FROM table_18974269_1 WHERE original_season = "RW: Key West" AND eliminated = "Episode 8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the female contestant on the Original season of Fresh Meat? ### Context: CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, gender VARCHAR) [/INST] ### Response: SELECT player FROM table_18974269_1 WHERE original_season = "Fresh Meat" AND gender = "Female" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the gender of the contestant on RR: South Pacific season? ### Context: CREATE TABLE table_18974269_1 (gender VARCHAR, original_season VARCHAR) [/INST] ### Response: SELECT gender FROM table_18974269_1 WHERE original_season = "RR: South Pacific" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the season where Evelyn Smith was on? ### Context: CREATE TABLE table_18974269_1 (original_season VARCHAR, player VARCHAR) [/INST] ### Response: SELECT original_season FROM table_18974269_1 WHERE player = "Evelyn Smith" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many original Australian performers are there when the Original West End Performer is Jordan Dunne? ### Context: CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR) [/INST] ### Response: SELECT COUNT(original_australian_performer) FROM table_1901751_1 WHERE original_west_end_performer = "Jordan Dunne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the Original west end performer for the character Martha? ### Context: CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR) [/INST] ### Response: SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Martha" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the original broadway performer for the character Colin Craven? ### Context: CREATE TABLE table_1901751_1 (original_broadway_performer VARCHAR, character VARCHAR) [/INST] ### Response: SELECT original_broadway_performer FROM table_1901751_1 WHERE character = "Colin Craven" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the original west end performer for the character Neville Craven? ### Context: CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR) [/INST] ### Response: SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Neville Craven" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the 2005 World AIDS Day Benefit "Dream" Cast when the Original Australian performer is Susan-Ann Walker? ### Context: CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR) [/INST] ### Response: SELECT 2005 AS _world_aids_day_benefit_dream_cast FROM table_1901751_1 WHERE original_australian_performer = "Susan-Ann Walker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the Original Australian performer when the Original West End Performer is Linzi Hateley? ### Context: CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR) [/INST] ### Response: SELECT original_australian_performer FROM table_1901751_1 WHERE original_west_end_performer = "Linzi Hateley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the minimum wins ### Context: CREATE TABLE table_19001175_1 (wins INTEGER) [/INST] ### Response: SELECT MIN(wins) FROM table_19001175_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the country for hideki noda category:articles with hcards ### Context: CREATE TABLE table_19001175_1 (country VARCHAR, name VARCHAR) [/INST] ### Response: SELECT country FROM table_19001175_1 WHERE name = "Hideki Noda Category:Articles with hCards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of poles for stefano livio category:articles with hcards ### Context: CREATE TABLE table_19001175_1 (poles VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(poles) FROM table_19001175_1 WHERE name = "Stefano Livio Category:Articles with hCards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the points for thierry tassin category:articles with hcards ### Context: CREATE TABLE table_19001175_1 (points VARCHAR, name VARCHAR) [/INST] ### Response: SELECT points FROM table_19001175_1 WHERE name = "Thierry Tassin Category:Articles with hCards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of wins for michele rugolo category:articles with hcards ### Context: CREATE TABLE table_19001175_1 (wins VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(wins) FROM table_19001175_1 WHERE name = "Michele Rugolo Category:Articles with hCards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the lg for ermengol ### Context: CREATE TABLE table_19018191_5 (l_g VARCHAR, player VARCHAR) [/INST] ### Response: SELECT l_g FROM table_19018191_5 WHERE player = "Ermengol" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the nat for total apps for 27 ### Context: CREATE TABLE table_19018191_5 (nat VARCHAR, total_apps VARCHAR) [/INST] ### Response: SELECT nat FROM table_19018191_5 WHERE total_apps = 27 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of apps for total g is 8 ### Context: CREATE TABLE table_19018191_5 (l_apps VARCHAR, total_g VARCHAR) [/INST] ### Response: SELECT COUNT(l_apps) FROM table_19018191_5 WHERE total_g = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the player for l apps is 27 ### Context: CREATE TABLE table_19018191_5 (player VARCHAR, l_apps VARCHAR) [/INST] ### Response: SELECT player FROM table_19018191_5 WHERE l_apps = 27 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are all the countries where the electric company Ebisa has a presence? ### Context: CREATE TABLE table_19001916_2 (country VARCHAR, entities VARCHAR) [/INST] ### Response: SELECT country FROM table_19001916_2 WHERE entities = "EBISA" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In how many countries is Itaipu a supply point for electricity? ### Context: CREATE TABLE table_19001916_2 (country VARCHAR, supply_point VARCHAR) [/INST] ### Response: SELECT COUNT(country) FROM table_19001916_2 WHERE supply_point = "Itaipu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the electric companies drawing power from Itaipu? ### Context: CREATE TABLE table_19001916_2 (entities VARCHAR, supply_point VARCHAR) [/INST] ### Response: SELECT entities FROM table_19001916_2 WHERE supply_point = "Itaipu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what will the population of Asia be when Latin America/Caribbean is 783 (7.5%)? ### Context: CREATE TABLE table_19017269_5 (asia VARCHAR, latin_america_caribbean VARCHAR) [/INST] ### Response: SELECT asia FROM table_19017269_5 WHERE latin_america_caribbean = "783 (7.5%)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what will be the population of Europe when Northern America is 482 (4.7%)? ### Context: CREATE TABLE table_19017269_5 (europe VARCHAR, northern_america VARCHAR) [/INST] ### Response: SELECT europe FROM table_19017269_5 WHERE northern_america = "482 (4.7%)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what row is the population of Latin America/Caribbean when Asia is 4,894 (46.1%)? ### Context: CREATE TABLE table_19017269_5 (latin_america_caribbean VARCHAR, asia VARCHAR) [/INST] ### Response: SELECT COUNT(latin_america_caribbean) FROM table_19017269_5 WHERE asia = "4,894 (46.1%)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what will be the population of Africa when Oceania is 67 (0.6%) ### Context: CREATE TABLE table_19017269_5 (africa VARCHAR, oceania VARCHAR) [/INST] ### Response: SELECT africa FROM table_19017269_5 WHERE oceania = "67 (0.6%)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is population in the world when 788 (8.1%)? ### Context: CREATE TABLE table_19017269_5 (world INTEGER, latin_america_caribbean VARCHAR) [/INST] ### Response: SELECT MIN(world) FROM table_19017269_5 WHERE latin_america_caribbean = "788 (8.1%)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the worlds smallest population? ### Context: CREATE TABLE table_19017269_5 (world INTEGER) [/INST] ### Response: SELECT MIN(world) FROM table_19017269_5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the first year in the competition? ### Context: CREATE TABLE table_19047_2 (year INTEGER) [/INST] ### Response: SELECT MIN(year) FROM table_19047_2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the result in the final versos Jennifer Capriati? ### Context: CREATE TABLE table_19047_2 (outcome VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT outcome FROM table_19047_2 WHERE opponent_in_the_final = "Jennifer Capriati" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What tournament did she win with a final score of 4–6, 7–5, 6–2? ### Context: CREATE TABLE table_19047_2 (championship VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT championship FROM table_19047_2 WHERE score_in_the_final = "4–6, 7–5, 6–2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When joj agpangan* is the name how many duration's are there? ### Context: CREATE TABLE table_19061741_3 (duration VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(duration) FROM table_19061741_3 WHERE name = "Joj Agpangan*" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When davao city is the home or representative town or province and clash 2010 is the edition how many ages are there? ### Context: CREATE TABLE table_19061741_3 (age VARCHAR, edition VARCHAR, home_or_representative_town_or_province VARCHAR) [/INST] ### Response: SELECT COUNT(age) FROM table_19061741_3 WHERE edition = "Clash 2010" AND home_or_representative_town_or_province = "Davao City" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When winner is the status and 77 is the total days in pbb house what is the edition? ### Context: CREATE TABLE table_19061741_3 (edition VARCHAR, total_days_in_pbb_house VARCHAR, status VARCHAR) [/INST] ### Response: SELECT edition FROM table_19061741_3 WHERE total_days_in_pbb_house = 77 AND status = "Winner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When days 1-86 is the duration how many names are there? ### Context: CREATE TABLE table_19061741_3 (name VARCHAR, duration VARCHAR) [/INST] ### Response: SELECT COUNT(name) FROM table_19061741_3 WHERE duration = "Days 1-86" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHen joaqui mendoza is the name how long is the duration? ### Context: CREATE TABLE table_19061741_3 (duration VARCHAR, name VARCHAR) [/INST] ### Response: SELECT duration FROM table_19061741_3 WHERE name = "Joaqui Mendoza" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When guiguinto, bulacan is the home or representative town or province how many names are there? ### Context: CREATE TABLE table_19061741_3 (name VARCHAR, home_or_representative_town_or_province VARCHAR) [/INST] ### Response: SELECT COUNT(name) FROM table_19061741_3 WHERE home_or_representative_town_or_province = "Guiguinto, Bulacan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When 3t7458 is the production code who are the writers? ### Context: CREATE TABLE table_19068566_1 (written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT written_by FROM table_19068566_1 WHERE production_code = "3T7458" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When there are 3.39 million u.s viewers what is the production code? ### Context: CREATE TABLE table_19068566_1 (production_code VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT production_code FROM table_19068566_1 WHERE us_viewers__million_ = "3.39" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When 3t7461 is the production code who is the director? ### Context: CREATE TABLE table_19068566_1 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_19068566_1 WHERE production_code = "3T7461" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score at the end of the match number 4? ### Context: CREATE TABLE table_19072602_1 (score VARCHAR, match_no VARCHAR) [/INST] ### Response: SELECT score FROM table_19072602_1 WHERE match_no = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the match number where Bill Hoffman plays for Team USA? ### Context: CREATE TABLE table_19072602_1 (match_no INTEGER, team_usa VARCHAR) [/INST] ### Response: SELECT MIN(match_no) FROM table_19072602_1 WHERE team_usa = "Bill Hoffman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many different scores did Team Europe get when Mika Koivuniemi played for them? ### Context: CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR) [/INST] ### Response: SELECT COUNT(score) FROM table_19072602_1 WHERE team_europe = "Mika Koivuniemi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score when Tore Torgersen played for Team Europe? ### Context: CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR) [/INST] ### Response: SELECT score FROM table_19072602_1 WHERE team_europe = "Tore Torgersen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the launch date for duration days 174.14 ### Context: CREATE TABLE table_1906515_1 (launch_date VARCHAR, duration__days_ VARCHAR) [/INST] ### Response: SELECT launch_date FROM table_1906515_1 WHERE duration__days_ = "174.14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of 3rd placed teams when the host is University of Manitoba, Winnipeg, Manitoba? ### Context: CREATE TABLE table_1906920_1 (host VARCHAR) [/INST] ### Response: SELECT COUNT(3 AS rd_place) FROM table_1906920_1 WHERE host = "University of Manitoba, Winnipeg, Manitoba" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When tim mack is on team usa what is the progressive total? ### Context: CREATE TABLE table_19072602_3 (progressive_total VARCHAR, team_usa VARCHAR) [/INST] ### Response: SELECT progressive_total FROM table_19072602_3 WHERE team_usa = "Tim Mack" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When 14 is the match number how many usa teams are there? ### Context: CREATE TABLE table_19072602_3 (team_usa VARCHAR, match_no VARCHAR) [/INST] ### Response: SELECT COUNT(team_usa) FROM table_19072602_3 WHERE match_no = 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When chris barnes is on team usa how many europe teams are there? ### Context: CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR) [/INST] ### Response: SELECT COUNT(team_europe) FROM table_19072602_3 WHERE team_usa = "Chris Barnes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: in the year 1998/99 what was the league ### Context: CREATE TABLE table_1908049_1 (league VARCHAR, year VARCHAR) [/INST] ### Response: SELECT league FROM table_1908049_1 WHERE year = "1998/99" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: in the year 1995/96 what was the reg. season ### Context: CREATE TABLE table_1908049_1 (reg_season VARCHAR, year VARCHAR) [/INST] ### Response: SELECT reg_season FROM table_1908049_1 WHERE year = "1995/96" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: in what playoffs the league was in the semifinals ### Context: CREATE TABLE table_1908049_1 (league VARCHAR, playoffs VARCHAR) [/INST] ### Response: SELECT league FROM table_1908049_1 WHERE playoffs = "Semifinals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what was the year where in the playoffs was champions ### Context: CREATE TABLE table_1908049_1 (year VARCHAR, playoffs VARCHAR) [/INST] ### Response: SELECT year FROM table_1908049_1 WHERE playoffs = "Champions" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what where the playoffs where the avg attendance of the team was 3416 ### Context: CREATE TABLE table_1908049_1 (playoffs VARCHAR, avg_attendance VARCHAR) [/INST] ### Response: SELECT playoffs FROM table_1908049_1 WHERE avg_attendance = 3416 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: when did the club Citizen achieve its last top division title? ### Context: CREATE TABLE table_1908877_2 (last_top_division_title VARCHAR, club VARCHAR) [/INST] ### Response: SELECT last_top_division_title FROM table_1908877_2 WHERE club = "Citizen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many clubs achieved the 5th position in 2012-13? ### Context: CREATE TABLE table_1908877_2 (top_division_titles VARCHAR, position_in_2012_13 VARCHAR) [/INST] ### Response: SELECT COUNT(top_division_titles) FROM table_1908877_2 WHERE position_in_2012_13 = "5th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When interplanet janet is the episode title who is the music by? ### Context: CREATE TABLE table_191105_3 (music_by VARCHAR, episode_title VARCHAR) [/INST] ### Response: SELECT music_by FROM table_191105_3 WHERE episode_title = "Interplanet Janet" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHen jaime aff and christine langner are the performers what is the subject? ### Context: CREATE TABLE table_191105_3 (subject VARCHAR, performed_by VARCHAR) [/INST] ### Response: SELECT subject FROM table_191105_3 WHERE performed_by = "Jaime Aff and Christine Langner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If skeletal system is the subject when was it first aired? ### Context: CREATE TABLE table_191105_3 (first_aired VARCHAR, subject VARCHAR) [/INST] ### Response: SELECT first_aired FROM table_191105_3 WHERE subject = "Skeletal system" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When zachary sanders is the performer what is the lowerst first aired? ### Context: CREATE TABLE table_191105_3 (first_aired INTEGER, performed_by VARCHAR) [/INST] ### Response: SELECT MIN(first_aired) FROM table_191105_3 WHERE performed_by = "Zachary Sanders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the amount of winnings (in $) in the year with 2 wins? ### Context: CREATE TABLE table_1909647_2 (winnings VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT winnings FROM table_1909647_2 WHERE wins = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the number of starts in the year with 19.3 average finish? ### Context: CREATE TABLE table_1909647_2 (starts INTEGER, avg_finish VARCHAR) [/INST] ### Response: SELECT MIN(starts) FROM table_1909647_2 WHERE avg_finish = "19.3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what year did the #14 FitzBradshaw Racing compete? ### Context: CREATE TABLE table_1909647_2 (year VARCHAR, team_s_ VARCHAR) [/INST] ### Response: SELECT year FROM table_1909647_2 WHERE team_s_ = "#14 FitzBradshaw Racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the average finish in 2008? ### Context: CREATE TABLE table_1909647_2 (avg_finish VARCHAR, year VARCHAR) [/INST] ### Response: SELECT avg_finish FROM table_1909647_2 WHERE year = 2008 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's #14 FitzBradshaw Racing's top 5 result? ### Context: CREATE TABLE table_1909647_2 (top_5 INTEGER, team_s_ VARCHAR) [/INST] ### Response: SELECT MAX(top_5) FROM table_1909647_2 WHERE team_s_ = "#14 FitzBradshaw Racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date for the episode performed by Sue Manchester? ### Context: CREATE TABLE table_191105_4 (first_aired VARCHAR, performed_by VARCHAR) [/INST] ### Response: SELECT first_aired FROM table_191105_4 WHERE performed_by = "Sue Manchester" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the music by for episode the Elbow Room? ### Context: CREATE TABLE table_191105_4 (music_by VARCHAR, episode_title VARCHAR) [/INST] ### Response: SELECT music_by FROM table_191105_4 WHERE episode_title = "Elbow Room" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the episode performed by Essra Mohawk ### Context: CREATE TABLE table_191105_4 (episode_title VARCHAR, performed_by VARCHAR) [/INST] ### Response: SELECT episode_title FROM table_191105_4 WHERE performed_by = "Essra Mohawk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When five is the new channel what is the date of original removal? ### Context: CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, new_channel_s_ VARCHAR) [/INST] ### Response: SELECT date_s__of_original_removal FROM table_19114172_11 WHERE new_channel_s_ = "Five" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When bbc two is the original channel what is the date of original removal? ### Context: CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, original_channel VARCHAR) [/INST] ### Response: SELECT date_s__of_original_removal FROM table_19114172_11 WHERE original_channel = "BBC Two" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When bbc two is the new channel what is the date of return? ### Context: CREATE TABLE table_19114172_11 (date_of_return VARCHAR, new_channel_s_ VARCHAR) [/INST] ### Response: SELECT date_of_return FROM table_19114172_11 WHERE new_channel_s_ = "BBC Two" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's team #2 in the round where team $1 is Ilisiakos? ### Context: CREATE TABLE table_19130829_4 (team__number2 VARCHAR, team__number1 VARCHAR) [/INST] ### Response: SELECT team__number2 FROM table_19130829_4 WHERE team__number1 = "Ilisiakos" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the team #2 in the round where team #1 is Iraklis? ### Context: CREATE TABLE table_19130829_4 (team__number2 VARCHAR, team__number1 VARCHAR) [/INST] ### Response: SELECT team__number2 FROM table_19130829_4 WHERE team__number1 = "Iraklis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the 1st leg result in the round where team #1 is Iraklis? ### Context: CREATE TABLE table_19130829_4 (team__number1 VARCHAR) [/INST] ### Response: SELECT 1 AS st_leg FROM table_19130829_4 WHERE team__number1 = "Iraklis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the 2nd leg result in the round where Panionios is team #2? ### Context: CREATE TABLE table_19130829_4 (team__number2 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_19130829_4 WHERE team__number2 = "Panionios" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the 2nd leg result in the round where team #1 is Iraklis? ### Context: CREATE TABLE table_19130829_4 (team__number1 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_19130829_4 WHERE team__number1 = "Iraklis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the dma when the format is rhythmic contemporary? ### Context: CREATE TABLE table_19131921_1 (dma INTEGER, format VARCHAR) [/INST] ### Response: SELECT MIN(dma) FROM table_19131921_1 WHERE format = "Rhythmic Contemporary" </s>