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 enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55? ### Context: CREATE TABLE table_25042332_22 (preschool__0_5_years_ VARCHAR, tertiary__18_24_years_ VARCHAR) [/INST] ### Response: SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE tertiary__18_24_years_ = "29.55" </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 ratio in primary in the region where the enrollment ratio in preschool is 38.14? ### Context: CREATE TABLE table_25042332_22 (primary__6_13_years_ VARCHAR, preschool__0_5_years_ VARCHAR) [/INST] ### Response: SELECT primary__6_13_years_ FROM table_25042332_22 WHERE preschool__0_5_years_ = "38.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 enrollment ratio in tertiary in the region where the enrollment ration in secondary is 71.43? ### Context: CREATE TABLE table_25042332_22 (tertiary__18_24_years_ VARCHAR, secondary__14_17_years_ VARCHAR) [/INST] ### Response: SELECT tertiary__18_24_years_ FROM table_25042332_22 WHERE secondary__14_17_years_ = "71.43" </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 ratio in preschool in the region where the enrollment ratio in primary is 93.10? ### Context: CREATE TABLE table_25042332_22 (preschool__0_5_years_ VARCHAR, primary__6_13_years_ VARCHAR) [/INST] ### Response: SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE primary__6_13_years_ = "93.10" </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 ration in primary in the region where the enrollment ratio in preschool is 50.23? ### Context: CREATE TABLE table_25042332_22 (primary__6_13_years_ VARCHAR, preschool__0_5_years_ VARCHAR) [/INST] ### Response: SELECT primary__6_13_years_ FROM table_25042332_22 WHERE preschool__0_5_years_ = "50.23" </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 registered female voters where the percentage is 108.6% ### Context: CREATE TABLE table_25042332_30 (enrolled_women VARCHAR, e_vap_ratio_women VARCHAR) [/INST] ### Response: SELECT enrolled_women FROM table_25042332_30 WHERE e_vap_ratio_women = "108.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 the percentage of male voters where the level of maturity is 123726 ### Context: CREATE TABLE table_25042332_30 (e_vap_ratio_total VARCHAR, men_of_voting_age VARCHAR) [/INST] ### Response: SELECT e_vap_ratio_total FROM table_25042332_30 WHERE men_of_voting_age = 123726 </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 regions had 153 women prison inmates? ### Context: CREATE TABLE table_25042332_31 (incarceration_rate_total VARCHAR, prison_inmates_women VARCHAR) [/INST] ### Response: SELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE prison_inmates_women = 153 </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 regions had an incarceration rate for females of 63? ### Context: CREATE TABLE table_25042332_31 (incarceration_rate_total VARCHAR, incarceration_rate_female VARCHAR) [/INST] ### Response: SELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE incarceration_rate_female = 63 </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 male incarceration rate of maule? ### Context: CREATE TABLE table_25042332_31 (incarceration_rate_male INTEGER, region VARCHAR) [/INST] ### Response: SELECT MAX(incarceration_rate_male) FROM table_25042332_31 WHERE region = "Maule" </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 region for automatic washing machine being 60.9% ### Context: CREATE TABLE table_25042332_27 (region VARCHAR, automatic_washing_machine VARCHAR) [/INST] ### Response: SELECT region FROM table_25042332_27 WHERE automatic_washing_machine = "60.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: Name the fixed telephone line for 25.6% vehicle ### Context: CREATE TABLE table_25042332_27 (fixed_telephone_line VARCHAR, vehicle VARCHAR) [/INST] ### Response: SELECT fixed_telephone_line FROM table_25042332_27 WHERE vehicle = "25.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: Name the region for 39.2% vehicle ### Context: CREATE TABLE table_25042332_27 (region VARCHAR, vehicle VARCHAR) [/INST] ### Response: SELECT region FROM table_25042332_27 WHERE vehicle = "39.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 region has 0.3% solar panel? ### Context: CREATE TABLE table_25042332_26 (region VARCHAR, solar_panel VARCHAR) [/INST] ### Response: SELECT region FROM table_25042332_26 WHERE solar_panel = "0.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: What is atacama's percentage of solar panels? ### Context: CREATE TABLE table_25042332_26 (solar_panel VARCHAR, region VARCHAR) [/INST] ### Response: SELECT solar_panel FROM table_25042332_26 WHERE region = "Atacama" </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 region has 0.6% none? ### Context: CREATE TABLE table_25042332_26 (region VARCHAR, none VARCHAR) [/INST] ### Response: SELECT region FROM table_25042332_26 WHERE none = "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 the percentage of public network in the region that has 0.1% other sources, 0.0% solar, and is named maule? ### Context: CREATE TABLE table_25042332_26 (public_network VARCHAR, region VARCHAR, other_source VARCHAR, solar_panel VARCHAR) [/INST] ### Response: SELECT public_network FROM table_25042332_26 WHERE other_source = "0.1%" AND solar_panel = "0.0%" AND region = "Maule" </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 regions have 0.5% solar panels? ### Context: CREATE TABLE table_25042332_26 (public_network VARCHAR, solar_panel VARCHAR) [/INST] ### Response: SELECT COUNT(public_network) FROM table_25042332_26 WHERE solar_panel = "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 the production number of 3-04? ### Context: CREATE TABLE table_25046766_3 (prod_no INTEGER, episode_no VARCHAR) [/INST] ### Response: SELECT MAX(prod_no) FROM table_25046766_3 WHERE episode_no = "3-04" </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 title of the episode that aired on October 7, 1965? ### Context: CREATE TABLE table_25046766_3 (title VARCHAR, original_airdate_uk VARCHAR) [/INST] ### Response: SELECT title FROM table_25046766_3 WHERE original_airdate_uk = "October 7, 1965" </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 don inglis and ralph smart are the writers how many episode numbers are there? ### Context: CREATE TABLE table_25046766_1 (episode_no VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT COUNT(episode_no) FROM table_25046766_1 WHERE written_by = "Don Inglis and Ralph Smart" </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 2012/13 for university of cambridge ### Context: CREATE TABLE table_25057928_1 (institute VARCHAR) [/INST] ### Response: SELECT MAX(2012 AS _13) FROM table_25057928_1 WHERE institute = "University of Cambridge" </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 birth date for taavi sadam ### Context: CREATE TABLE table_25058562_2 (birth_date VARCHAR, player VARCHAR) [/INST] ### Response: SELECT birth_date FROM table_25058562_2 WHERE player = "Taavi Sadam" </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 height for asko esna ### Context: CREATE TABLE table_25058562_2 (height VARCHAR, player VARCHAR) [/INST] ### Response: SELECT height FROM table_25058562_2 WHERE player = "Asko Esna" </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 birth date for estonia for spiker and height of 189 ### Context: CREATE TABLE table_25058562_2 (birth_date VARCHAR, height VARCHAR, nationality VARCHAR, position VARCHAR) [/INST] ### Response: SELECT birth_date FROM table_25058562_2 WHERE nationality = "Estonia" AND position = "Spiker" AND height = 189 </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 199 height ### Context: CREATE TABLE table_25058562_2 (player VARCHAR, height VARCHAR) [/INST] ### Response: SELECT player FROM table_25058562_2 WHERE height = 199 </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 2.09 million US viewers watched this episode, who was it written by ### Context: CREATE TABLE table_25084227_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT written_by FROM table_25084227_1 WHERE us_viewers__in_millions_ = "2.09" </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 episode was directed by Michael Offer, what was the episode number? ### Context: CREATE TABLE table_25084227_1 (no INTEGER, directed_by VARCHAR) [/INST] ### Response: SELECT MIN(no) FROM table_25084227_1 WHERE directed_by = "Michael Offer" </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 episode was directed by Michael Offer, how many US Viewers watched it? ### Context: CREATE TABLE table_25084227_1 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT us_viewers__in_millions_ FROM table_25084227_1 WHERE directed_by = "Michael Offer" </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 draft pick number was the player with the position DL? ### Context: CREATE TABLE table_25085059_3 (pick__number VARCHAR, position VARCHAR) [/INST] ### Response: SELECT pick__number FROM table_25085059_3 WHERE position = "DL" </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 draft picks were for Winnipeg blue bombers? ### Context: CREATE TABLE table_25085059_3 (pick__number VARCHAR, cfl_team VARCHAR) [/INST] ### Response: SELECT COUNT(pick__number) FROM table_25085059_3 WHERE cfl_team = "Winnipeg Blue Bombers" </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 colleges provided players with positions LB? ### Context: CREATE TABLE table_25085059_3 (college VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(college) FROM table_25085059_3 WHERE position = "LB" </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 college did the player come from whose position is DL? ### Context: CREATE TABLE table_25085059_3 (college VARCHAR, position VARCHAR) [/INST] ### Response: SELECT college FROM table_25085059_3 WHERE position = "DL" </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 team got a draft pick player from McGill? ### Context: CREATE TABLE table_25085059_3 (cfl_team VARCHAR, college VARCHAR) [/INST] ### Response: SELECT cfl_team FROM table_25085059_3 WHERE college = "McGill" </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 number draft pick was Oklahoma State's Greg Hill in 1983? ### Context: CREATE TABLE table_2508633_4 (pick__number VARCHAR, college VARCHAR, player VARCHAR) [/INST] ### Response: SELECT pick__number FROM table_2508633_4 WHERE college = "Oklahoma State" AND player = "Greg 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: What number pick was Danny Walters in the 1983 NFL draft? ### Context: CREATE TABLE table_2508633_4 (pick__number VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(pick__number) FROM table_2508633_4 WHERE player = "Danny Walters" </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 were the pick numbers of the defensive tackles chosen by the New Orleans Saints in the 1983 draft? ### Context: CREATE TABLE table_2508633_4 (position VARCHAR, nfl_team VARCHAR) [/INST] ### Response: SELECT position FROM table_2508633_4 WHERE nfl_team = "New Orleans Saints" </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 number draft pick was linebacker Steve Maidlow in the 1983 NFL Draft? ### Context: CREATE TABLE table_2508633_4 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_2508633_4 WHERE player = "Steve Maidlow" </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 which colleges is the NFL Team New York Giants and with the position defensive back? ### Context: CREATE TABLE table_2508633_11 (college VARCHAR, nfl_team VARCHAR, position VARCHAR) [/INST] ### Response: SELECT college FROM table_2508633_11 WHERE nfl_team = "New York Giants" AND position = "Defensive back" </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 NFL Team has the player Danny Triplett with the position linebacker? ### Context: CREATE TABLE table_2508633_11 (nfl_team VARCHAR, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_2508633_11 WHERE position = "Linebacker" AND player = "Danny Triplett" </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 NFL Teams in College North Texas State? ### Context: CREATE TABLE table_2508633_11 (nfl_team VARCHAR, college VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_2508633_11 WHERE college = "North Texas State" </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 colleges have the NFL Team Buffalo Bills? ### Context: CREATE TABLE table_2508633_11 (college VARCHAR, nfl_team VARCHAR) [/INST] ### Response: SELECT COUNT(college) FROM table_2508633_11 WHERE nfl_team = "Buffalo Bills" </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 the all the players whose position is guard in college Clemson? ### Context: CREATE TABLE table_2508633_11 (player VARCHAR, college VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_2508633_11 WHERE college = "Clemson" AND position = "Guard" </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 NFL Teams have the player Aaron Williams? ### Context: CREATE TABLE table_2508633_11 (nfl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_2508633_11 WHERE player = "Aaron Williams" </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 pick number for the denver broncos ### Context: CREATE TABLE table_2508633_2 (pick__number INTEGER, nfl_team VARCHAR) [/INST] ### Response: SELECT MIN(pick__number) FROM table_2508633_2 WHERE nfl_team = "Denver Broncos" </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 pick number 39 ### Context: CREATE TABLE table_2508633_2 (position VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT position FROM table_2508633_2 WHERE pick__number = 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: Name the total number of pick number being henry ellard ### Context: CREATE TABLE table_2508633_2 (pick__number VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(pick__number) FROM table_2508633_2 WHERE player = "Henry Ellard" </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 new orleans saints ### Context: CREATE TABLE table_2508633_2 (player VARCHAR, nfl_team VARCHAR) [/INST] ### Response: SELECT player FROM table_2508633_2 WHERE nfl_team = "New Orleans Saints" </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 players for georgia tech ### Context: CREATE TABLE table_2508633_2 (player VARCHAR, college VARCHAR) [/INST] ### Response: SELECT COUNT(player) FROM table_2508633_2 WHERE college = "Georgia Tech" </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 pick number for guard and kansas city chiefs ### Context: CREATE TABLE table_2508633_2 (pick__number INTEGER, position VARCHAR, nfl_team VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_2508633_2 WHERE position = "Guard" AND nfl_team = "Kansas City Chiefs" </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 nfl team for pick number 151 ### Context: CREATE TABLE table_2508633_6 (nfl_team VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_2508633_6 WHERE pick__number = 151 </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 college for houston oilers ### Context: CREATE TABLE table_2508633_6 (college VARCHAR, nfl_team VARCHAR) [/INST] ### Response: SELECT college FROM table_2508633_6 WHERE nfl_team = "Houston Oilers" </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 pick number for illinois ### Context: CREATE TABLE table_2508633_6 (pick__number INTEGER, college VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_2508633_6 WHERE college = "Illinois" </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 total number for nfl team for ellis gardner ### Context: CREATE TABLE table_2508633_6 (nfl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(nfl_team) FROM table_2508633_6 WHERE player = "Ellis Gardner" </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 delaware ### Context: CREATE TABLE table_2508633_6 (position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT position FROM table_2508633_6 WHERE college = "Delaware" </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 nfl team for eric williams ### Context: CREATE TABLE table_2508633_6 (nfl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_2508633_6 WHERE player = "Eric Williams" </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 NFL team picked a player from Jackson State? ### Context: CREATE TABLE table_2508633_9 (nfl_team VARCHAR, college VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_2508633_9 WHERE college = "Jackson State" </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 position was the draft pick that came from Langston? ### Context: CREATE TABLE table_2508633_9 (position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT position FROM table_2508633_9 WHERE college = "Langston" </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 players were the running back draft pick for the New England Patriots? ### Context: CREATE TABLE table_2508633_9 (player VARCHAR, nfl_team VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(player) FROM table_2508633_9 WHERE nfl_team = "New England Patriots" AND position = "Running back" </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 draft pick for Kansas City Chiefs? ### Context: CREATE TABLE table_2508633_9 (player VARCHAR, nfl_team VARCHAR) [/INST] ### Response: SELECT player FROM table_2508633_9 WHERE nfl_team = "Kansas City Chiefs" </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 college did the tight end draft pick for New England Patriots come from? ### Context: CREATE TABLE table_2508633_9 (college VARCHAR, nfl_team VARCHAR, position VARCHAR) [/INST] ### Response: SELECT college FROM table_2508633_9 WHERE nfl_team = "New England Patriots" AND position = "Tight end" </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 Cuchumela Municipality minimum? ### Context: CREATE TABLE table_2509112_3 (cuchumuela_municipality INTEGER) [/INST] ### Response: SELECT MIN(cuchumuela_municipality) FROM table_2509112_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: If Villa Rivero Municipality if 7, what is the language? ### Context: CREATE TABLE table_2509112_3 (language VARCHAR, villa_rivero_municipality VARCHAR) [/INST] ### Response: SELECT language FROM table_2509112_3 WHERE villa_rivero_municipality = 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 is the language total number if the Tacachi Municipality is 3? ### Context: CREATE TABLE table_2509112_3 (language VARCHAR, tacachi_municipality VARCHAR) [/INST] ### Response: SELECT COUNT(language) FROM table_2509112_3 WHERE tacachi_municipality = 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: If the language is another native, what is the San Benito Municipality total number? ### Context: CREATE TABLE table_2509112_3 (san_benito_municipality VARCHAR, language VARCHAR) [/INST] ### Response: SELECT COUNT(san_benito_municipality) FROM table_2509112_3 WHERE language = "Another native" </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 language is Spanish, what is the Vinto Municipality minimum? ### Context: CREATE TABLE table_2509113_2 (vinto_municipality INTEGER, language VARCHAR) [/INST] ### Response: SELECT MIN(vinto_municipality) FROM table_2509113_2 WHERE language = "Spanish" </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 Vinto Municipality is 18630, what is the Quillacollo Municipality? ### Context: CREATE TABLE table_2509113_2 (quillacollo_municipality INTEGER, vinto_municipality VARCHAR) [/INST] ### Response: SELECT MAX(quillacollo_municipality) FROM table_2509113_2 WHERE vinto_municipality = 18630 </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 Sipe Sipe Municipality minimum if the language is Quechua? ### Context: CREATE TABLE table_2509113_2 (sipe_sipe_municipality INTEGER, language VARCHAR) [/INST] ### Response: SELECT MIN(sipe_sipe_municipality) FROM table_2509113_2 WHERE language = "Quechua" </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 language is Native and Spanish, what is the Vinto Municipality minimum? ### Context: CREATE TABLE table_2509113_2 (vinto_municipality INTEGER, language VARCHAR) [/INST] ### Response: SELECT MIN(vinto_municipality) FROM table_2509113_2 WHERE language = "Native and Spanish" </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 Quillacollo Municipality is 93131, what is the Vinto Municipality minimum? ### Context: CREATE TABLE table_2509113_2 (vinto_municipality INTEGER, quillacollo_municipality VARCHAR) [/INST] ### Response: SELECT MIN(vinto_municipality) FROM table_2509113_2 WHERE quillacollo_municipality = 93131 </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 language for villa 1167 ### Context: CREATE TABLE table_2509350_3 (language VARCHAR, villa_alcalá_municipality VARCHAR) [/INST] ### Response: SELECT language FROM table_2509350_3 WHERE villa_alcalá_municipality = 1167 </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 padilla municipality for quechua ### Context: CREATE TABLE table_2509350_3 (padilla_municipality INTEGER, language VARCHAR) [/INST] ### Response: SELECT MAX(padilla_municipality) FROM table_2509350_3 WHERE language = "Quechua" </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 language for sopachuy 10 ### Context: CREATE TABLE table_2509350_3 (language VARCHAR, sopachuy_municipality VARCHAR) [/INST] ### Response: SELECT language FROM table_2509350_3 WHERE sopachuy_municipality = 10 </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 tomina for villa alcala for 176 ### Context: CREATE TABLE table_2509350_3 (tomina_municipality VARCHAR, villa_alcalá_municipality VARCHAR) [/INST] ### Response: SELECT COUNT(tomina_municipality) FROM table_2509350_3 WHERE villa_alcalá_municipality = 176 </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 tomina for el villar being 4 ### Context: CREATE TABLE table_2509350_3 (tomina_municipality INTEGER, el_villar_municipality VARCHAR) [/INST] ### Response: SELECT MIN(tomina_municipality) FROM table_2509350_3 WHERE el_villar_municipality = 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 language for el villar 1264 ### Context: CREATE TABLE table_2509350_3 (language VARCHAR, el_villar_municipality VARCHAR) [/INST] ### Response: SELECT language FROM table_2509350_3 WHERE el_villar_municipality = 1264 </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 total number of games for goals against being 352 ### Context: CREATE TABLE table_2509505_1 (games VARCHAR, goals_against VARCHAR) [/INST] ### Response: SELECT COUNT(games) FROM table_2509505_1 WHERE goals_against = 352 </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 total number of games for lost being 41 ### Context: CREATE TABLE table_2509505_1 (games VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT COUNT(games) FROM table_2509505_1 WHERE lost = 41 </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 goals for 56 points ### Context: CREATE TABLE table_2509505_1 (goals_for INTEGER, points VARCHAR) [/INST] ### Response: SELECT MAX(goals_for) FROM table_2509505_1 WHERE points = 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: Name the number of won for goals for being 274 ### Context: CREATE TABLE table_2509505_1 (won VARCHAR, goals_for VARCHAR) [/INST] ### Response: SELECT COUNT(won) FROM table_2509505_1 WHERE goals_for = 274 </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 the quiabaya municipality is 2 what is the combaya municipality? ### Context: CREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR) [/INST] ### Response: SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "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 guanay municipality when the tacacoma municipality is 4.321? ### Context: CREATE TABLE table_2509202_2 (guanay_municipality VARCHAR, tacacoma_municipality VARCHAR) [/INST] ### Response: SELECT guanay_municipality FROM table_2509202_2 WHERE tacacoma_municipality = "4.321" </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 people in the sorata municipality when the quiabaya municipality has 33? ### Context: CREATE TABLE table_2509202_2 (sorata_municipality VARCHAR, quiabaya_municipality VARCHAR) [/INST] ### Response: SELECT sorata_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "33" </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 for combaya municipality when quiabaya municipality is 33? ### Context: CREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR) [/INST] ### Response: SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "33" </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: tipuani municipality when tacacoma municipality is 6? ### Context: CREATE TABLE table_2509202_2 (tipuani_municipality VARCHAR, tacacoma_municipality VARCHAR) [/INST] ### Response: SELECT tipuani_municipality FROM table_2509202_2 WHERE tacacoma_municipality = "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 the number for the guanay municipality when combaya municipality is 0? ### Context: CREATE TABLE table_2509202_2 (guanay_municipality VARCHAR, combaya_municipality VARCHAR) [/INST] ### Response: SELECT guanay_municipality FROM table_2509202_2 WHERE combaya_municipality = "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 the first year where the assassination attempt was at Martyrs' Mausoleum, Rangoon, Burma? ### Context: CREATE TABLE table_251272_4 (year INTEGER, location VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_251272_4 WHERE location = "Martyrs' Mausoleum, Rangoon, Burma" </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: Where was the attempt on the Prime Minister of Sri Lanka's life made? ### Context: CREATE TABLE table_251272_4 (location VARCHAR, title_at_the_time VARCHAR) [/INST] ### Response: SELECT location FROM table_251272_4 WHERE title_at_the_time = "Prime Minister of Sri Lanka" </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 original language for book series Little House on the Prairie? ### Context: CREATE TABLE table_2512935_8 (original_language VARCHAR, book_series VARCHAR) [/INST] ### Response: SELECT original_language FROM table_2512935_8 WHERE book_series = "Little House on the Prairie" </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 approximate sales for the author Laura Ingalls Wilder? ### Context: CREATE TABLE table_2512935_8 (approximate_sales VARCHAR, author VARCHAR) [/INST] ### Response: SELECT approximate_sales FROM table_2512935_8 WHERE author = "Laura Ingalls Wilder" </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 for notre dame prep ### Context: CREATE TABLE table_25118909_3 (_number INTEGER, former_school VARCHAR) [/INST] ### Response: SELECT MAX(_number) FROM table_25118909_3 WHERE former_school = "Notre Dame Prep" </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 ends won for blank ends for 0 ### Context: CREATE TABLE table_25107064_2 (Ends VARCHAR, blank_ends VARCHAR) [/INST] ### Response: SELECT Ends AS won FROM table_25107064_2 WHERE blank_ends = 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 stolen ends for germany ### Context: CREATE TABLE table_25107064_2 (stolen_ends INTEGER, country VARCHAR, Germany VARCHAR) [/INST] ### Response: SELECT MIN(stolen_ends) FROM table_25107064_2 WHERE country = Germany </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 ends won for pf being 78 ### Context: CREATE TABLE table_25107064_2 (Ends INTEGER, pf VARCHAR) [/INST] ### Response: SELECT MIN(Ends) AS won FROM table_25107064_2 WHERE pf = 78 </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 stadium in Kuopio? ### Context: CREATE TABLE table_25129482_1 (stadium VARCHAR, location VARCHAR) [/INST] ### Response: SELECT stadium FROM table_25129482_1 WHERE location = "Kuopio" </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 kitmaker for TPS? ### Context: CREATE TABLE table_25129482_1 (kitmaker VARCHAR, club VARCHAR) [/INST] ### Response: SELECT kitmaker FROM table_25129482_1 WHERE club = "TPS" </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 capacity for a stadium? ### Context: CREATE TABLE table_25129482_1 (capacity INTEGER) [/INST] ### Response: SELECT MAX(capacity) FROM table_25129482_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: Which stadium is managed by Kari Martonen? ### Context: CREATE TABLE table_25129482_1 (stadium VARCHAR, manager VARCHAR) [/INST] ### Response: SELECT stadium FROM table_25129482_1 WHERE manager = "Kari Martonen" </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 capacities are given for FF Jaro club? ### Context: CREATE TABLE table_25129482_1 (capacity VARCHAR, club VARCHAR) [/INST] ### Response: SELECT COUNT(capacity) FROM table_25129482_1 WHERE club = "FF Jaro" </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 managers for club in Turku where kitmaker is Puma? ### Context: CREATE TABLE table_25129482_1 (manager VARCHAR, kitmaker VARCHAR, location VARCHAR) [/INST] ### Response: SELECT COUNT(manager) FROM table_25129482_1 WHERE kitmaker = "Puma" AND location = "Turku" </s>