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: What is the total quantity of populace (2010) where location (km²) is 134.51 ### Context: CREATE TABLE table_255812_1 (population__2010_ VARCHAR, area__km²_ VARCHAR) [/INST] ### Response: SELECT COUNT(population__2010_) FROM table_255812_1 WHERE area__km²_ = "134.51" </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 metropolis / municipality where mayor is helen c. De castro ### Context: CREATE TABLE table_255812_1 (city___municipality VARCHAR, mayor VARCHAR) [/INST] ### Response: SELECT city___municipality FROM table_255812_1 WHERE mayor = "Helen C. De Castro" </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 number of the sail with an overall length of 13.68? ### Context: CREATE TABLE table_25595107_2 (sail_number VARCHAR, loa__metres_ VARCHAR) [/INST] ### Response: SELECT sail_number FROM table_25595107_2 WHERE loa__metres_ = "13.68" </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 most number in season for leslie hill ### Context: CREATE TABLE table_25604014_9 (no_in_season INTEGER, directed_by VARCHAR) [/INST] ### Response: SELECT MAX(no_in_season) FROM table_25604014_9 WHERE directed_by = "Leslie Hill" </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 who directed the production code 1l10 ### Context: CREATE TABLE table_25604014_9 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_25604014_9 WHERE production_code = "1L10" </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 production code for theresa rebeck ### Context: CREATE TABLE table_25604014_9 (production_code VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT production_code FROM table_25604014_9 WHERE written_by = "Theresa Rebeck" </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 original air date for production code 1l16 ### Context: CREATE TABLE table_25604014_9 (original_air_date VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_25604014_9 WHERE production_code = "1L16" </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 ethnic majority in the only town? ### Context: CREATE TABLE table_2562572_11 (largest_ethnic_group__2002_ VARCHAR, type VARCHAR) [/INST] ### Response: SELECT largest_ethnic_group__2002_ FROM table_2562572_11 WHERE type = "town" </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 to you write плавна with the latin alphabet? ### Context: CREATE TABLE table_2562572_11 (settlement VARCHAR, cyrillic_name_other_names VARCHAR) [/INST] ### Response: SELECT settlement FROM table_2562572_11 WHERE cyrillic_name_other_names = "Плавна" </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 smallest population listed? ### Context: CREATE TABLE table_2562572_11 (population__2011_ INTEGER) [/INST] ### Response: SELECT MIN(population__2011_) FROM table_2562572_11 </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 type of settlement is rabe? ### Context: CREATE TABLE table_2562572_30 (type VARCHAR, settlement VARCHAR) [/INST] ### Response: SELECT type FROM table_2562572_30 WHERE settlement = "Rabe" </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 largest ethnic group of the settlement with the cyrillic name of банатско аранђелово? ### Context: CREATE TABLE table_2562572_30 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) [/INST] ### Response: SELECT largest_ethnic_group__2002_ FROM table_2562572_30 WHERE cyrillic_name_other_names = "Банатско Аранђелово" </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 dominant religions are in đala? ### Context: CREATE TABLE table_2562572_30 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) [/INST] ### Response: SELECT COUNT(dominant_religion__2002_) FROM table_2562572_30 WHERE settlement = "Đala" </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 settlement has the cyrillic name сигет? ### Context: CREATE TABLE table_2562572_30 (settlement VARCHAR, cyrillic_name_other_names VARCHAR) [/INST] ### Response: SELECT settlement FROM table_2562572_30 WHERE cyrillic_name_other_names = "Сигет" </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 cyrillic and other name of rabe? ### Context: CREATE TABLE table_2562572_30 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) [/INST] ### Response: SELECT cyrillic_name_other_names FROM table_2562572_30 WHERE settlement = "Rabe" </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 dominant religion in Gornji Tavankut? ### Context: CREATE TABLE table_2562572_26 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) [/INST] ### Response: SELECT dominant_religion__2002_ FROM table_2562572_26 WHERE settlement = "Gornji Tavankut" </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 population in стари жедник (croatian: stari žednik)? ### Context: CREATE TABLE table_2562572_26 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) [/INST] ### Response: SELECT population__2011_ FROM table_2562572_26 WHERE cyrillic_name_other_names = "Стари Жедник (Croatian: Stari Žednik)" </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 cyrillic and other names of the settlement whose population is 6591? ### Context: CREATE TABLE table_2562572_26 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR) [/INST] ### Response: SELECT cyrillic_name_other_names FROM table_2562572_26 WHERE population__2011_ = 6591 </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 type of settlement has a population of 1441? ### Context: CREATE TABLE table_2562572_26 (type VARCHAR, population__2011_ VARCHAR) [/INST] ### Response: SELECT type FROM table_2562572_26 WHERE population__2011_ = 1441 </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 settlements are named ђурђин (croatian: đurđin)? ### Context: CREATE TABLE table_2562572_26 (settlement VARCHAR, cyrillic_name_other_names VARCHAR) [/INST] ### Response: SELECT COUNT(settlement) FROM table_2562572_26 WHERE cyrillic_name_other_names = "Ђурђин (Croatian: Đurđin)" </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 town has the population of 777? ### Context: CREATE TABLE table_2562572_39 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR) [/INST] ### Response: SELECT cyrillic_name_other_names FROM table_2562572_39 WHERE population__2011_ = "777" </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 ethnic group is конак? ### Context: CREATE TABLE table_2562572_39 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) [/INST] ### Response: SELECT largest_ethnic_group__2002_ FROM table_2562572_39 WHERE cyrillic_name_other_names = "Конак" </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: The pooulation of јарковац is? ### Context: CREATE TABLE table_2562572_39 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) [/INST] ### Response: SELECT population__2011_ FROM table_2562572_39 WHERE cyrillic_name_other_names = "Јарковац" </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 kind of type is бока? ### Context: CREATE TABLE table_2562572_39 (type VARCHAR, cyrillic_name_other_names VARCHAR) [/INST] ### Response: SELECT type FROM table_2562572_39 WHERE cyrillic_name_other_names = "Бока" </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: The population is 2,107's dominant religion is? ### Context: CREATE TABLE table_2562572_39 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR) [/INST] ### Response: SELECT dominant_religion__2002_ FROM table_2562572_39 WHERE population__2011_ = "2,107" </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 Deliblato village known as in Cyrillic? ### Context: CREATE TABLE table_2562572_41 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) [/INST] ### Response: SELECT cyrillic_name_other_names FROM table_2562572_41 WHERE settlement = "Deliblato" </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 had 41.76% yes votes ### Context: CREATE TABLE table_256286_20 (description VARCHAR, _percentage_yes VARCHAR) [/INST] ### Response: SELECT description FROM table_256286_20 WHERE _percentage_yes = "41.76%" </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 yes votes made up 43.18% yes? ### Context: CREATE TABLE table_256286_20 (yes_votes INTEGER, _percentage_yes VARCHAR) [/INST] ### Response: SELECT MAX(yes_votes) FROM table_256286_20 WHERE _percentage_yes = "43.18%" </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 no votes were there when there were 45.60% yes votes ### Context: CREATE TABLE table_256286_20 (no_votes INTEGER, _percentage_yes VARCHAR) [/INST] ### Response: SELECT MIN(no_votes) FROM table_256286_20 WHERE _percentage_yes = "45.60%" </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 measure number for the init type? ### Context: CREATE TABLE table_256286_18 (meas_num VARCHAR, type VARCHAR) [/INST] ### Response: SELECT meas_num FROM table_256286_18 WHERE type = "Init" </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 donald boor ### Context: CREATE TABLE table_25646820_2 (points VARCHAR, player VARCHAR) [/INST] ### Response: SELECT points FROM table_25646820_2 WHERE player = "Donald Boor" </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 least touchdowns for joe rogers ### Context: CREATE TABLE table_25646820_2 (touchdowns INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(touchdowns) FROM table_25646820_2 WHERE player = "Joe Rogers" </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 titles had production code 1040? ### Context: CREATE TABLE table_25662434_1 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_25662434_1 WHERE production_code = 1040 </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 episode with production code ca311? ### Context: CREATE TABLE table_25740548_4 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_25740548_4 WHERE production_code = "CA311" </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 episode had 2.75 million viewers in the U.S.? ### Context: CREATE TABLE table_25740548_4 (title VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT title FROM table_25740548_4 WHERE us_viewers__million_ = "2.75" </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 episode with production code ca303? ### Context: CREATE TABLE table_25740548_4 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_25740548_4 WHERE production_code = "CA303" </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 wrote the episode with e4515 as the production code? ### Context: CREATE TABLE table_25750635_2 (written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT written_by FROM table_25750635_2 WHERE production_code = "E4515" </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 there are 11 lifts, what is the base elevation? ### Context: CREATE TABLE table_25762852_1 (base_elevation__feet_ INTEGER, lifts VARCHAR) [/INST] ### Response: SELECT MAX(base_elevation__feet_) FROM table_25762852_1 WHERE lifts = 11 </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 there are 30 lifts, what is the name of the ski resort? ### Context: CREATE TABLE table_25762852_1 (name VARCHAR, lifts VARCHAR) [/INST] ### Response: SELECT name FROM table_25762852_1 WHERE lifts = 30 </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 the name is Steamboat, what is the top elevation? ### Context: CREATE TABLE table_25762852_1 (top_elevation__feet_ VARCHAR, name VARCHAR) [/INST] ### Response: SELECT top_elevation__feet_ FROM table_25762852_1 WHERE name = "Steamboat" </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 resorts have 118 runs? ### Context: CREATE TABLE table_25762852_1 (name VARCHAR, runs VARCHAR) [/INST] ### Response: SELECT COUNT(name) FROM table_25762852_1 WHERE runs = "118" </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 snowfall for ski resort Snowmass? ### Context: CREATE TABLE table_25762852_1 (snowfall__in_year_ INTEGER, name VARCHAR) [/INST] ### Response: SELECT MAX(snowfall__in_year_) FROM table_25762852_1 WHERE name = "Snowmass" </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 most poles for 64 points ### Context: CREATE TABLE table_25794532_1 (poles INTEGER, points VARCHAR) [/INST] ### Response: SELECT MAX(poles) FROM table_25794532_1 WHERE points = "64" </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 car number 4 ### Context: CREATE TABLE table_25794532_1 (points VARCHAR, car_no VARCHAR) [/INST] ### Response: SELECT points FROM table_25794532_1 WHERE car_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: Name the position for eifelland racing ### Context: CREATE TABLE table_25794532_1 (position VARCHAR, team VARCHAR) [/INST] ### Response: SELECT position FROM table_25794532_1 WHERE team = "Eifelland 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: Name the series for 68 ### Context: CREATE TABLE table_25794532_1 (series VARCHAR, points VARCHAR) [/INST] ### Response: SELECT series FROM table_25794532_1 WHERE points = "68" </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 man teams had a total weight of 57.5? ### Context: CREATE TABLE table_2581397_3 (group VARCHAR, weight__kg_ VARCHAR) [/INST] ### Response: SELECT COUNT(group) FROM table_2581397_3 WHERE weight__kg_ = "57.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: List the weight for 56 kilograms. ### Context: CREATE TABLE table_2581397_3 (distance VARCHAR, weight__kg_ VARCHAR) [/INST] ### Response: SELECT distance FROM table_2581397_3 WHERE weight__kg_ = "56" </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: List the weight for 56.5 kilograms. ### Context: CREATE TABLE table_2581397_3 (race VARCHAR, weight__kg_ VARCHAR) [/INST] ### Response: SELECT race FROM table_2581397_3 WHERE weight__kg_ = "56.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 was the loss/gain when the votes -cast was 166? ### Context: CREATE TABLE table_25818630_2 (loss_gain VARCHAR, votes__cast VARCHAR) [/INST] ### Response: SELECT loss_gain FROM table_25818630_2 WHERE votes__cast = 166 </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 as the candidate when the result - % was 2.9%? ### Context: CREATE TABLE table_25818630_2 (candidate VARCHAR, result____percentage VARCHAR) [/INST] ### Response: SELECT candidate FROM table_25818630_2 WHERE result____percentage = "2.9%" </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 votes were cast when the constituency was midlothian? ### Context: CREATE TABLE table_25818630_2 (votes__cast VARCHAR, constituency VARCHAR) [/INST] ### Response: SELECT votes__cast FROM table_25818630_2 WHERE constituency = "Midlothian" </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 candidate when the result - % was 0.4%? ### Context: CREATE TABLE table_25818630_2 (candidate VARCHAR, result____percentage VARCHAR) [/INST] ### Response: SELECT candidate FROM table_25818630_2 WHERE result____percentage = "0.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 was the loss/gain when the affiliation was solidarity? ### Context: CREATE TABLE table_25818630_2 (loss_gain VARCHAR, affiliation VARCHAR) [/INST] ### Response: SELECT loss_gain FROM table_25818630_2 WHERE affiliation = "Solidarity" </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 affiliation for candidate Daren Ireland? ### Context: CREATE TABLE table_25818630_1 (affiliation VARCHAR, candidate VARCHAR) [/INST] ### Response: SELECT affiliation FROM table_25818630_1 WHERE candidate = "Daren Ireland" </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 candidate for the Cardiff Central constituency? ### Context: CREATE TABLE table_25818630_1 (candidate VARCHAR, constituency VARCHAR) [/INST] ### Response: SELECT candidate FROM table_25818630_1 WHERE constituency = "Cardiff Central" </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 largest vote result for the Huddersfield constituency? ### Context: CREATE TABLE table_25818630_1 (result___votes INTEGER, constituency VARCHAR) [/INST] ### Response: SELECT MAX(result___votes) FROM table_25818630_1 WHERE constituency = "Huddersfield" </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 largest vote result if loss/gain is -0.5%? ### Context: CREATE TABLE table_25818630_1 (result___votes INTEGER, loss_gain VARCHAR) [/INST] ### Response: SELECT MAX(result___votes) FROM table_25818630_1 WHERE loss_gain = "-0.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 every affiliation for the Tottenham constituency? ### Context: CREATE TABLE table_25818630_1 (affiliation VARCHAR, constituency VARCHAR) [/INST] ### Response: SELECT affiliation FROM table_25818630_1 WHERE constituency = "Tottenham" </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 constituency for the vote result of 162? ### Context: CREATE TABLE table_25818630_1 (constituency VARCHAR, result___votes VARCHAR) [/INST] ### Response: SELECT COUNT(constituency) FROM table_25818630_1 WHERE result___votes = 162 </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 the locale is Ontario, what is the W minimum? ### Context: CREATE TABLE table_25933764_1 (w INTEGER, locale VARCHAR, Ontario VARCHAR) [/INST] ### Response: SELECT MIN(w) FROM table_25933764_1 WHERE locale = Ontario </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 runtimes does episode 53 have? ### Context: CREATE TABLE table_26032940_2 (network_tv_run_time VARCHAR, episode__number VARCHAR) [/INST] ### Response: SELECT COUNT(network_tv_run_time) FROM table_26032940_2 WHERE episode__number = 53 </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 cast on the 3/23/1963 episode? ### Context: CREATE TABLE table_26032940_2 (main_cast VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT main_cast FROM table_26032940_2 WHERE airdate = "3/23/1963" </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 movie did dana wynter , mel ferrer , theodore bikel star in? ### Context: CREATE TABLE table_26032940_2 (movie_title_and_year VARCHAR, main_cast VARCHAR) [/INST] ### Response: SELECT movie_title_and_year FROM table_26032940_2 WHERE main_cast = "Dana Wynter , Mel Ferrer , Theodore Bikel" </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 branding of the callsign DWCI-TV? ### Context: CREATE TABLE table_2610582_2 (branding VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT branding FROM table_2610582_2 WHERE callsign = "DWCI-TV" </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 brandings are there where the Power kW (ERP) is 1kW (29.94kW ERP)? ### Context: CREATE TABLE table_2610582_2 (branding VARCHAR, power_kw__erp_ VARCHAR) [/INST] ### Response: SELECT COUNT(branding) FROM table_2610582_2 WHERE power_kw__erp_ = "1kW (29.94kW ERP)" </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: The callsign DWEC-TV has what branding? ### Context: CREATE TABLE table_2610582_2 (branding VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT branding FROM table_2610582_2 WHERE callsign = "DWEC-TV" </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: The location (transmitter site) San Fernando, Pampanga ** has what Power kW (ERP)? ### Context: CREATE TABLE table_2610582_2 (power_kw__erp_ VARCHAR, location__transmitter_site_ VARCHAR) [/INST] ### Response: SELECT power_kw__erp_ FROM table_2610582_2 WHERE location__transmitter_site_ = "San Fernando, Pampanga **" </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 station type for the branding ABS-CBN TV-32 Tagaytay? ### Context: CREATE TABLE table_2610582_2 (station_type VARCHAR, branding VARCHAR) [/INST] ### Response: SELECT station_type FROM table_2610582_2 WHERE branding = "ABS-CBN TV-32 Tagaytay" </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 are all winning drivers if winning team is Carlin Motorsport and circuit is Croft? ### Context: CREATE TABLE table_26137666_3 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_26137666_3 WHERE winning_team = "Carlin Motorsport" AND circuit = "Croft" </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 date of Mark Taylor as winning driver? ### Context: CREATE TABLE table_26137666_3 (date VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT date FROM table_26137666_3 WHERE winning_driver = "Mark Taylor" </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 pole position for the Castle Combe circuit and Robbie Kerr is the winning driver? ### Context: CREATE TABLE table_26137666_3 (pole_position VARCHAR, circuit VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT pole_position FROM table_26137666_3 WHERE circuit = "Castle Combe" AND winning_driver = "Robbie Kerr" </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 rounds have Fabio Carbone for fastest lap? ### Context: CREATE TABLE table_26137666_3 (round VARCHAR, fastest_lap VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_26137666_3 WHERE fastest_lap = "Fabio Carbone" </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 pole positions for round 20? ### Context: CREATE TABLE table_26137666_3 (pole_position VARCHAR, round VARCHAR) [/INST] ### Response: SELECT COUNT(pole_position) FROM table_26137666_3 WHERE round = 20 </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 ahli when ramtha is 0-4? ### Context: CREATE TABLE table_26173063_2 (ahli VARCHAR, ramtha VARCHAR) [/INST] ### Response: SELECT ahli FROM table_26173063_2 WHERE ramtha = "0-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 faisaly when wehdat is xxx? ### Context: CREATE TABLE table_26173063_2 (faisaly VARCHAR, wehdat VARCHAR) [/INST] ### Response: SELECT faisaly FROM table_26173063_2 WHERE wehdat = "XXX" </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 orthodoxy when x is wehdat? ### Context: CREATE TABLE table_26173063_2 (orthodoxy VARCHAR, × VARCHAR) [/INST] ### Response: SELECT orthodoxy FROM table_26173063_2 WHERE × = "wehdat" </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 x when faisaly is 0-0? ### Context: CREATE TABLE table_26173063_2 (× VARCHAR, faisaly VARCHAR) [/INST] ### Response: SELECT × FROM table_26173063_2 WHERE faisaly = "0-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 is ramtha when jeel is 1-0 and hussein is 1-0? ### Context: CREATE TABLE table_26173063_2 (ramtha VARCHAR, jeel VARCHAR, hussein VARCHAR) [/INST] ### Response: SELECT ramtha FROM table_26173063_2 WHERE jeel = "1-0" AND hussein = "1-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: name the title of the episode that ed sherin directed. ### Context: CREATE TABLE table_2618142_1 (title VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT title FROM table_2618142_1 WHERE directed_by = "Ed Sherin" </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: the first episode in this season had what number in the series? ### Context: CREATE TABLE table_2618142_1 (no_in_series INTEGER) [/INST] ### Response: SELECT MIN(no_in_series) FROM table_2618142_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: The episode with original air date January 13, 1999 is written by who? ### Context: CREATE TABLE table_2618152_1 (written_by VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT written_by FROM table_2618152_1 WHERE original_air_date = "January 13, 1999" </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: The episode with the original air date January 6, 1999, has what production code? ### Context: CREATE TABLE table_2618152_1 (production_code VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT production_code FROM table_2618152_1 WHERE original_air_date = "January 6, 1999" </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 title of the episode with the original air date October 21, 1998? ### Context: CREATE TABLE table_2618152_1 (title VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT title FROM table_2618152_1 WHERE original_air_date = "October 21, 1998" </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 season number of the episode written by Matt Witten , Richard Sweren? ### Context: CREATE TABLE table_2618152_1 (no_in_season VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT no_in_season FROM table_2618152_1 WHERE written_by = "Matt Witten , Richard Sweren" </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: The episode with the production code E0208 is directed by who? ### Context: CREATE TABLE table_2618152_1 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_2618152_1 WHERE production_code = "E0208" </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 institutions can be categorized as private/united church of christ? ### Context: CREATE TABLE table_261895_1 (institution VARCHAR, type VARCHAR) [/INST] ### Response: SELECT institution FROM table_261895_1 WHERE type = "Private/United Church of Christ" </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 1953, which of the institutions joined? ### Context: CREATE TABLE table_261895_1 (institution VARCHAR, joined VARCHAR) [/INST] ### Response: SELECT institution FROM table_261895_1 WHERE joined = "1953" </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 categories fit under the institution calvin college? ### Context: CREATE TABLE table_261895_1 (type VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT type FROM table_261895_1 WHERE institution = "Calvin College" </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 1833, how many institutions were created? ### Context: CREATE TABLE table_261895_1 (institution VARCHAR, founded VARCHAR) [/INST] ### Response: SELECT COUNT(institution) FROM table_261895_1 WHERE founded = 1833 </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 categories fall under the category of britons? ### Context: CREATE TABLE table_261895_1 (type VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT COUNT(type) FROM table_261895_1 WHERE nickname = "Britons" </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: under belles, which is the most possible created? ### Context: CREATE TABLE table_261895_1 (founded INTEGER, nickname VARCHAR) [/INST] ### Response: SELECT MAX(founded) FROM table_261895_1 WHERE nickname = "Belles" </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 population density for the city of lubang? ### Context: CREATE TABLE table_261951_1 (pop_density__per_km²_ VARCHAR, municipality VARCHAR) [/INST] ### Response: SELECT COUNT(pop_density__per_km²_) FROM table_261951_1 WHERE municipality = "Lubang" </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 smallist population in 2010? ### Context: CREATE TABLE table_261951_1 (population__2010_ INTEGER) [/INST] ### Response: SELECT MIN(population__2010_) FROM table_261951_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: List the population density per kilometer for the city of calintaan? ### Context: CREATE TABLE table_261951_1 (pop_density__per_km²_ VARCHAR, municipality VARCHAR) [/INST] ### Response: SELECT pop_density__per_km²_ FROM table_261951_1 WHERE municipality = "Calintaan" </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: List the population density per kilometer for the city of abra de ilog. ### Context: CREATE TABLE table_261951_1 (pop_density__per_km²_ VARCHAR, municipality VARCHAR) [/INST] ### Response: SELECT pop_density__per_km²_ FROM table_261951_1 WHERE municipality = "Abra de Ilog" </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 enrollment for Ashland University? ### Context: CREATE TABLE table_261946_3 (enrollment VARCHAR, location__all_in_ohio_ VARCHAR) [/INST] ### Response: SELECT enrollment FROM table_261946_3 WHERE location__all_in_ohio_ = "Ashland" </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 founding year corresponds with the highest enrollment? ### Context: CREATE TABLE table_261946_3 (founded INTEGER) [/INST] ### Response: SELECT MAX(founded) FROM table_261946_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: Which year did enrolled Gambier members leave? ### Context: CREATE TABLE table_261946_3 (left INTEGER, location__all_in_ohio_ VARCHAR) [/INST] ### Response: SELECT MIN(left) FROM table_261946_3 WHERE location__all_in_ohio_ = "Gambier" </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 type of institution in Kent State University? ### Context: CREATE TABLE table_261946_3 (type VARCHAR, location__all_in_ohio_ VARCHAR) [/INST] ### Response: SELECT type FROM table_261946_3 WHERE location__all_in_ohio_ = "Kent" </s>