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 latest episode number with the title of Jerusalem? ### Context: CREATE TABLE table_19517621_4 (episode__number INTEGER, title VARCHAR) [/INST] ### Response: SELECT MAX(episode__number) FROM table_19517621_4 WHERE title = "Jerusalem" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date of the episode written by Michelle Offen? ### Context: CREATE TABLE table_19517621_4 (original_airdate VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT original_airdate FROM table_19517621_4 WHERE written_by = "Michelle Offen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 written by Vanessa Bates? ### Context: CREATE TABLE table_19517621_4 (title VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT title FROM table_19517621_4 WHERE written_by = "Vanessa Bates" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date for the episode Calle, The Transit of Venus? ### Context: CREATE TABLE table_19517621_4 (original_airdate VARCHAR, title VARCHAR) [/INST] ### Response: SELECT original_airdate FROM table_19517621_4 WHERE title = "The Transit of Venus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 completion percentage when yards per attempt was done by Steve McNair : 2003? ### Context: CREATE TABLE table_19517448_3 (completion_percentage VARCHAR, yards_per_attempt VARCHAR) [/INST] ### Response: SELECT completion_percentage FROM table_19517448_3 WHERE yards_per_attempt = "Steve McNair : 2003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank has a rating of 146.8? ### Context: CREATE TABLE table_19517448_3 (rank VARCHAR, rating VARCHAR) [/INST] ### Response: SELECT rank FROM table_19517448_3 WHERE rating = "146.8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many yards per attempt were there when total yards were 513? ### Context: CREATE TABLE table_19517448_3 (yards_per_attempt VARCHAR, total_yards VARCHAR) [/INST] ### Response: SELECT yards_per_attempt FROM table_19517448_3 WHERE total_yards = "513" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series number for the episode written by Kristen Dunphy and David Ogilvy? ### Context: CREATE TABLE table_19517621_3 (series__number INTEGER, written_by VARCHAR) [/INST] ### Response: SELECT MAX(series__number) FROM table_19517621_3 WHERE written_by = "Kristen Dunphy and David Ogilvy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title if the Lost Boy, how many directors were there? ### Context: CREATE TABLE table_19517621_3 (directed_by VARCHAR, title VARCHAR) [/INST] ### Response: SELECT COUNT(directed_by) FROM table_19517621_3 WHERE title = "The Lost Boy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the episode that written by Michael Miller? ### Context: CREATE TABLE table_19517621_3 (title VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT title FROM table_19517621_3 WHERE written_by = "Michael Miller" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 playoff berth is 17, what is the AFC championship number? ### Context: CREATE TABLE table_1952057_5 (afc_championships VARCHAR, playoff_berths VARCHAR) [/INST] ### Response: SELECT afc_championships FROM table_1952057_5 WHERE playoff_berths = 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team in the New England Patriots, what is the super bowl championship minimum number? ### Context: CREATE TABLE table_1952057_5 (super_bowl_championships INTEGER, team VARCHAR) [/INST] ### Response: SELECT MIN(super_bowl_championships) FROM table_1952057_5 WHERE team = "New England Patriots" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximum number of AFC championships? ### Context: CREATE TABLE table_1952057_5 (afc_championships INTEGER) [/INST] ### Response: SELECT MAX(afc_championships) FROM table_1952057_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: How many authors are present when the original was Carry On? ### Context: CREATE TABLE table_19523708_1 (authors VARCHAR, original VARCHAR) [/INST] ### Response: SELECT COUNT(authors) FROM table_19523708_1 WHERE original = "Carry On" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 draw for the english meaning Eyes that Never Lie? ### Context: CREATE TABLE table_19523708_1 (draw VARCHAR, language VARCHAR, english_meaning VARCHAR) [/INST] ### Response: SELECT draw FROM table_19523708_1 WHERE language = "English" AND english_meaning = "Eyes That Never Lie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest draw represented? ### Context: CREATE TABLE table_19523708_1 (draw INTEGER) [/INST] ### Response: SELECT MAX(draw) FROM table_19523708_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: Who was the artist for the origin Shake it, Europe? ### Context: CREATE TABLE table_19523708_1 (artist VARCHAR, original VARCHAR) [/INST] ### Response: SELECT artist FROM table_19523708_1 WHERE original = "Shake It, Europe" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 arena capacity of the arena in the town whose head coach is Yuriy Korotkevich? ### Context: CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR) [/INST] ### Response: SELECT COUNT(arena__capacity_) FROM table_19526911_1 WHERE head_coach = "Yuriy Korotkevich" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 arena capacity of the arena in the town whose head coach is Roberto Serniotti? ### Context: CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR) [/INST] ### Response: SELECT arena__capacity_ FROM table_19526911_1 WHERE head_coach = "Roberto Serniotti" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 foreign players on team/s that play in Moscow? ### Context: CREATE TABLE table_19526911_1 (foreign_players__max_2_ VARCHAR, town VARCHAR) [/INST] ### Response: SELECT foreign_players__max_2_ FROM table_19526911_1 WHERE town = "Moscow" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 previous season ranks of teams whose website is www.novavolley.narod.ru? ### Context: CREATE TABLE table_19526911_1 (previous_season_2007_2008 VARCHAR, website VARCHAR) [/INST] ### Response: SELECT previous_season_2007_2008 FROM table_19526911_1 WHERE website = "www.novavolley.narod.ru" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minimum indoor results that have a 5 for inspection? ### Context: CREATE TABLE table_19534874_2 (indoor INTEGER, inspection VARCHAR) [/INST] ### Response: SELECT MIN(indoor) FROM table_19534874_2 WHERE inspection = 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 maximum number in written when the standard was 2? ### Context: CREATE TABLE table_19534874_2 (written INTEGER, standard VARCHAR) [/INST] ### Response: SELECT MAX(written) FROM table_19534874_2 WHERE standard = 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: How many point categories are there for the 3 mile run? ### Context: CREATE TABLE table_19534874_2 (points VARCHAR, mile_run VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_19534874_2 WHERE mile_run = 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 the indoor number for the NJ wing/ ### Context: CREATE TABLE table_19534874_2 (indoor VARCHAR, wing VARCHAR) [/INST] ### Response: SELECT indoor FROM table_19534874_2 WHERE wing = "NJ" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 indoor number for the NER region? ### Context: CREATE TABLE table_19534874_2 (indoor VARCHAR, region VARCHAR) [/INST] ### Response: SELECT COUNT(indoor) FROM table_19534874_2 WHERE region = "NER" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning span of the name martin kaymer? ### Context: CREATE TABLE table_1953516_1 (winning_span VARCHAR, name VARCHAR) [/INST] ### Response: SELECT winning_span FROM table_1953516_1 WHERE name = "Martin Kaymer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning span in the country of England with the name of paul casey? ### Context: CREATE TABLE table_1953516_1 (winning_span VARCHAR, country VARCHAR, name VARCHAR) [/INST] ### Response: SELECT winning_span FROM table_1953516_1 WHERE country = "England" AND name = "Paul Casey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning span for the name of bernard gallacher? ### Context: CREATE TABLE table_1953516_1 (winning_span VARCHAR, name VARCHAR) [/INST] ### Response: SELECT winning_span FROM table_1953516_1 WHERE name = "Bernard Gallacher" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning span with the rank of 5? ### Context: CREATE TABLE table_1953516_1 (winning_span VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT winning_span FROM table_1953516_1 WHERE rank = "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: How many scorecards are there for the match on October 28? ### Context: CREATE TABLE table_19576091_1 (scorecard VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(scorecard) FROM table_19576091_1 WHERE date = "October 28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venues were there for the match on November 6? ### Context: CREATE TABLE table_19576091_1 (venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(venue) FROM table_19576091_1 WHERE date = "November 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 was the venue for the match on October 10? ### Context: CREATE TABLE table_19576091_1 (venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_19576091_1 WHERE date = "October 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: Who was the man of the match when the Rockets won by 9 wickets? ### Context: CREATE TABLE table_19576091_1 (man_of_the_match VARCHAR, result VARCHAR) [/INST] ### Response: SELECT man_of_the_match FROM table_19576091_1 WHERE result = "Rockets won by 9 wickets" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacator for wisconsin 1st ### Context: CREATE TABLE table_1958768_3 (vacator VARCHAR, district VARCHAR) [/INST] ### Response: SELECT vacator FROM table_1958768_3 WHERE district = "Wisconsin 1st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor for pennsylvania 15th ### Context: CREATE TABLE table_1958768_3 (successor VARCHAR, district VARCHAR) [/INST] ### Response: SELECT successor FROM table_1958768_3 WHERE district = "Pennsylvania 15th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 circuit for #47 orbit racing ### Context: CREATE TABLE table_19598014_2 (circuit VARCHAR, challenge_winning_team VARCHAR) [/INST] ### Response: SELECT circuit FROM table_19598014_2 WHERE challenge_winning_team = "#47 Orbit 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 gt2 winning team where lmp2 winning team and butch leitzinger marino franchitti ben devlin ### Context: CREATE TABLE table_19598014_2 (gt2_winning_team VARCHAR, lmp2_winning_team VARCHAR) [/INST] ### Response: SELECT gt2_winning_team FROM table_19598014_2 WHERE lmp2_winning_team = "Butch Leitzinger Marino Franchitti Ben Devlin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lmp 1 winning team for rnd being 2 and adrian fernández luis díaz ### Context: CREATE TABLE table_19598014_2 (lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR) [/INST] ### Response: SELECT lmp1_winning_team FROM table_19598014_2 WHERE rnd = 2 AND lmp2_winning_team = "Adrian Fernández Luis Díaz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 capitals have an area of exactly 377930 square km? ### Context: CREATE TABLE table_19605700_1 (capital VARCHAR, area_km² VARCHAR) [/INST] ### Response: SELECT capital FROM table_19605700_1 WHERE area_km² = 377930 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of capitals that have an area of exactly 1104 square km? ### Context: CREATE TABLE table_19605700_1 (capital VARCHAR, area_km² VARCHAR) [/INST] ### Response: SELECT COUNT(capital) FROM table_19605700_1 WHERE area_km² = 1104 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 capital has a population of exactly 1339724852? ### Context: CREATE TABLE table_19605700_1 (capital VARCHAR, population VARCHAR) [/INST] ### Response: SELECT capital FROM table_19605700_1 WHERE population = 1339724852 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 populations have a capital of Hong Kong? ### Context: CREATE TABLE table_19605700_1 (population VARCHAR, capital VARCHAR) [/INST] ### Response: SELECT COUNT(population) FROM table_19605700_1 WHERE capital = "Hong Kong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 values for the male population in 2001 with a growth rate in 1991-01 of 36.16? ### Context: CREATE TABLE table_19589113_5 (male_population_2001 VARCHAR, growth_rate_1991_01 VARCHAR) [/INST] ### Response: SELECT male_population_2001 FROM table_19589113_5 WHERE growth_rate_1991_01 = "36.16" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the least value for total population in 2001 with a growth rate in 1991-01 of 33.08? ### Context: CREATE TABLE table_19589113_5 (total_population_2001 INTEGER, growth_rate_1991_01 VARCHAR) [/INST] ### Response: SELECT MIN(total_population_2001) FROM table_19589113_5 WHERE growth_rate_1991_01 = "33.08" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 values for male population in 2001 when sex ratio in 1991 is 896? ### Context: CREATE TABLE table_19589113_5 (male_population_2001 VARCHAR, sex_ratio_‡_1991 VARCHAR) [/INST] ### Response: SELECT male_population_2001 FROM table_19589113_5 WHERE sex_ratio_‡_1991 = 896 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 growth rate in 1991-2001 when sex ratio in 2001 is 937? ### Context: CREATE TABLE table_19589113_5 (growth_rate_1991_01 VARCHAR, sex_ratio_‡_2001 VARCHAR) [/INST] ### Response: SELECT growth_rate_1991_01 FROM table_19589113_5 WHERE sex_ratio_‡_2001 = 937 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 districts of Bihar have a sex ratio in 1991 of 864? ### Context: CREATE TABLE table_19589113_5 (districts_of_bihar VARCHAR, sex_ratio_‡_1991 VARCHAR) [/INST] ### Response: SELECT districts_of_bihar FROM table_19589113_5 WHERE sex_ratio_‡_1991 = 864 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 marriages between women have % same-sex marriages of 1.06? ### Context: CREATE TABLE table_19614212_1 (marriages_between_women VARCHAR, _percentage_same_sex_marriages VARCHAR) [/INST] ### Response: SELECT marriages_between_women FROM table_19614212_1 WHERE _percentage_same_sex_marriages = "1.06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the % of same-sex marriages for the year of 2011? ### Context: CREATE TABLE table_19614212_1 (_percentage_same_sex_marriages VARCHAR, year VARCHAR) [/INST] ### Response: SELECT _percentage_same_sex_marriages FROM table_19614212_1 WHERE year = "2011" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 % same-sex marriages are there for the year 2008? ### Context: CREATE TABLE table_19614212_1 (_percentage_same_sex_marriages VARCHAR, year VARCHAR) [/INST] ### Response: SELECT COUNT(_percentage_same_sex_marriages) FROM table_19614212_1 WHERE year = "2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many % same-sex marriages are marriages between men for 923? ### Context: CREATE TABLE table_19614212_1 (_percentage_same_sex_marriages VARCHAR, marriages_between_men VARCHAR) [/INST] ### Response: SELECT COUNT(_percentage_same_sex_marriages) FROM table_19614212_1 WHERE marriages_between_men = 923 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the episode number 2 originally aired? ### Context: CREATE TABLE table_19632728_1 (original_air_date VARCHAR, episode__number VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_19632728_1 WHERE episode__number = 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 was the highest season number? ### Context: CREATE TABLE table_19632728_1 (season__number INTEGER) [/INST] ### Response: SELECT MAX(season__number) FROM table_19632728_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the margin of victory of Steve Stricker as a runner up? ### Context: CREATE TABLE table_19630743_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR) [/INST] ### Response: SELECT margin_of_victory FROM table_19630743_2 WHERE runner_s__up = "Steve Stricker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 to par has the winning score of 69-66-68=203. ### Context: CREATE TABLE table_19630743_2 (to_par VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_19630743_2 WHERE winning_score = 69 - 66 - 68 = 203 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minimum number of the bmw championship tournament. ### Context: CREATE TABLE table_19630743_2 (no INTEGER, tournament VARCHAR) [/INST] ### Response: SELECT MIN(no) FROM table_19630743_2 WHERE tournament = "BMW Championship" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of John Merrick as a runner up? ### Context: CREATE TABLE table_19630743_2 (no VARCHAR, runner_s__up VARCHAR) [/INST] ### Response: SELECT COUNT(no) FROM table_19630743_2 WHERE runner_s__up = "John Merrick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 horses does r. a. Scott own? ### Context: CREATE TABLE table_19624708_1 (horse VARCHAR, owner VARCHAR) [/INST] ### Response: SELECT horse FROM table_19624708_1 WHERE owner = "R. A. Scott" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numbers have sp of 20/1 and a finishing position of fence 19? ### Context: CREATE TABLE table_19624708_1 (number VARCHAR, sp VARCHAR, finishing_position VARCHAR) [/INST] ### Response: SELECT COUNT(number) FROM table_19624708_1 WHERE sp = "20/1" AND finishing_position = "Fence 19" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 handicap has the horse knowhere? ### Context: CREATE TABLE table_19624708_1 (handicap__st_lb_ VARCHAR, horse VARCHAR) [/INST] ### Response: SELECT handicap__st_lb_ FROM table_19624708_1 WHERE horse = "Knowhere" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 colors does David Langdon use? ### Context: CREATE TABLE table_19624708_1 (colours VARCHAR, owner VARCHAR) [/INST] ### Response: SELECT colours FROM table_19624708_1 WHERE owner = "David Langdon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 film title nominated is Baran, what was the result? ### Context: CREATE TABLE table_19625976_1 (result VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] ### Response: SELECT result FROM table_19625976_1 WHERE film_title_used_in_nomination = "Baran" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For the Persian Title میم مثل مادر, what were the results? ### Context: CREATE TABLE table_19625976_1 (result VARCHAR, persian_title VARCHAR) [/INST] ### Response: SELECT result FROM table_19625976_1 WHERE persian_title = "میم مثل مادر" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For the Persian title گبه, What was the film title used for the nomination? ### Context: CREATE TABLE table_19625976_1 (film_title_used_in_nomination VARCHAR, persian_title VARCHAR) [/INST] ### Response: SELECT film_title_used_in_nomination FROM table_19625976_1 WHERE persian_title = "گبه" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year had an Allison B400R transmission and a model of BRT? ### Context: CREATE TABLE table_19643196_1 (year VARCHAR, transmission VARCHAR, model VARCHAR) [/INST] ### Response: SELECT year FROM table_19643196_1 WHERE transmission = "Allison B400R" AND model = "BRT" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fleet number when the length (ft) is 30? ### Context: CREATE TABLE table_19643196_1 (fleet__number VARCHAR, length__ft_ VARCHAR) [/INST] ### Response: SELECT fleet__number FROM table_19643196_1 WHERE length__ft_ = 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: What is the fleet number when the transmission is Voith D863.4 and the engine is Cummins ISL? ### Context: CREATE TABLE table_19643196_1 (fleet__number VARCHAR, transmission VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT fleet__number FROM table_19643196_1 WHERE transmission = "Voith D863.4" AND engine = "Cummins ISL" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a transmission of Voith D863.4 and a Cummins ISM engine? ### Context: CREATE TABLE table_19643196_1 (year VARCHAR, transmission VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT year FROM table_19643196_1 WHERE transmission = "Voith D863.4" AND engine = "Cummins ISM" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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/junior club team for ian turnbull ### Context: CREATE TABLE table_1965650_1 (college_junior_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_1965650_1 WHERE player = "Ian Turnbull" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nhl team being los angeles kings ### Context: CREATE TABLE table_1965650_3 (position VARCHAR, nhl_team VARCHAR) [/INST] ### Response: SELECT position FROM table_1965650_3 WHERE nhl_team = "Los Angeles Kings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nhl times for jeff jacques ### Context: CREATE TABLE table_1965650_3 (nhl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nhl_team FROM table_1965650_3 WHERE player = "Jeff Jacques" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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/junior club team for john campbell ### Context: CREATE TABLE table_1965650_3 (college_junior_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_1965650_3 WHERE player = "John Campbell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 # for doug gibson ### Context: CREATE TABLE table_1965650_3 (pick__number INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(pick__number) FROM table_1965650_3 WHERE player = "Doug Gibson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationalities does Tom Colley have? ### Context: CREATE TABLE table_1965650_4 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(nationality) FROM table_1965650_4 WHERE player = "Tom Colley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the NHL team that drafted the player from Sudbury Wolves (OHA)? ### Context: CREATE TABLE table_1965650_4 (nhl_team VARCHAR, college_junior_club_team VARCHAR) [/INST] ### Response: SELECT nhl_team FROM table_1965650_4 WHERE college_junior_club_team = "Sudbury Wolves (OHA)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the number of positions of the player playing in Minnesota North Stars? ### Context: CREATE TABLE table_1965650_4 (position VARCHAR, nhl_team VARCHAR) [/INST] ### Response: SELECT COUNT(position) FROM table_1965650_4 WHERE nhl_team = "Minnesota North Stars" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the smallest pick number of a player playing in Minnesota North Stars? ### Context: CREATE TABLE table_1965650_4 (pick__number INTEGER, nhl_team VARCHAR) [/INST] ### Response: SELECT MIN(pick__number) FROM table_1965650_4 WHERE nhl_team = "Minnesota North Stars" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the nationality of the player coming from Edmonton Oil Kings (WCHL)? ### Context: CREATE TABLE table_1965650_4 (nationality VARCHAR, college_junior_club_team VARCHAR) [/INST] ### Response: SELECT nationality FROM table_1965650_4 WHERE college_junior_club_team = "Edmonton Oil Kings (WCHL)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's Steve Langdon's naitionality? ### Context: CREATE TABLE table_1965650_4 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_1965650_4 WHERE player = "Steve Langdon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 michigan technological university (ncaa) is the college, junior, or club team what is the nationality? ### Context: CREATE TABLE table_1965650_9 (nationality VARCHAR, college_junior_club_team VARCHAR) [/INST] ### Response: SELECT nationality FROM table_1965650_9 WHERE college_junior_club_team = "Michigan Technological University (NCAA)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kitchener rangers (oha) is the college, junior, or club team team who is the player? ### Context: CREATE TABLE table_1965650_9 (player VARCHAR, college_junior_club_team VARCHAR) [/INST] ### Response: SELECT player FROM table_1965650_9 WHERE college_junior_club_team = "Kitchener Rangers (OHA)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sault ste. marie greyhounds (oha) is the college, junior, or club team how many nationalities are there? ### Context: CREATE TABLE table_1965650_9 (nationality VARCHAR, college_junior_club_team VARCHAR) [/INST] ### Response: SELECT COUNT(nationality) FROM table_1965650_9 WHERE college_junior_club_team = "Sault Ste. Marie Greyhounds (OHA)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kitchener rangers (oha) is the college, junior, or club team what is the position? ### Context: CREATE TABLE table_1965650_9 (position VARCHAR, college_junior_club_team VARCHAR) [/INST] ### Response: SELECT position FROM table_1965650_9 WHERE college_junior_club_team = "Kitchener Rangers (OHA)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions for denis patry? ### Context: CREATE TABLE table_1965650_6 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(position) FROM table_1965650_6 WHERE player = "Denis Patry" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality for neil korzack? ### Context: CREATE TABLE table_1965650_6 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_1965650_6 WHERE player = "Neil Korzack" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that has 10000 enrolled ### Context: CREATE TABLE table_1969577_1 (institution VARCHAR, enrollment VARCHAR) [/INST] ### Response: SELECT institution FROM table_1969577_1 WHERE enrollment = 10000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 joined for molloy college ### Context: CREATE TABLE table_1969577_1 (joined INTEGER, institution VARCHAR) [/INST] ### Response: SELECT MAX(joined) FROM table_1969577_1 WHERE institution = "Molloy 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: how many times was total considered when hancock # was 1394 ### Context: CREATE TABLE table_19681738_1 (total VARCHAR, hancock__number VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_19681738_1 WHERE hancock__number = 1394 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 times was hancock % considered when starky % was 20.96% ### Context: CREATE TABLE table_19681738_1 (hancock__percentage VARCHAR, starky__percentage VARCHAR) [/INST] ### Response: SELECT COUNT(hancock__percentage) FROM table_19681738_1 WHERE starky__percentage = "20.96%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times was country considered when starky % was 20.96% ### Context: CREATE TABLE table_19681738_1 (county VARCHAR, starky__percentage VARCHAR) [/INST] ### Response: SELECT COUNT(county) FROM table_19681738_1 WHERE starky__percentage = "20.96%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: which country did stary get 17.41% ### Context: CREATE TABLE table_19681738_1 (county VARCHAR, starky__percentage VARCHAR) [/INST] ### Response: SELECT county FROM table_19681738_1 WHERE starky__percentage = "17.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: what is the least total in gila ### Context: CREATE TABLE table_19681738_1 (total INTEGER, county VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_19681738_1 WHERE county = "Gila" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did hancock get 3.09% ### Context: CREATE TABLE table_19681738_1 (county VARCHAR, hancock__percentage VARCHAR) [/INST] ### Response: SELECT county FROM table_19681738_1 WHERE hancock__percentage = "3.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: What is the BBM when the strike rate is 42.2? ### Context: CREATE TABLE table_19662262_6 (bbm VARCHAR, strike_rate VARCHAR) [/INST] ### Response: SELECT bbm FROM table_19662262_6 WHERE strike_rate = "42.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 economy when the strike rate is 54.0? ### Context: CREATE TABLE table_19662262_6 (economy_rate VARCHAR, strike_rate VARCHAR) [/INST] ### Response: SELECT economy_rate FROM table_19662262_6 WHERE strike_rate = "54.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: How many averages are there when the economy rate is 2.26? ### Context: CREATE TABLE table_19662262_6 (average VARCHAR, economy_rate VARCHAR) [/INST] ### Response: SELECT COUNT(average) FROM table_19662262_6 WHERE economy_rate = "2.26" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 figures for wickets when the strike rate is 54.0? ### Context: CREATE TABLE table_19662262_6 (wickets VARCHAR, strike_rate VARCHAR) [/INST] ### Response: SELECT COUNT(wickets) FROM table_19662262_6 WHERE strike_rate = "54.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 strike rate when there are 17 wickets? ### Context: CREATE TABLE table_19662262_6 (strike_rate VARCHAR, wickets VARCHAR) [/INST] ### Response: SELECT strike_rate FROM table_19662262_6 WHERE wickets = 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 areas (km 2) have 151511 as the census 2006 population? ### Context: CREATE TABLE table_1966992_1 (area__km_2__ VARCHAR, census_2006_population VARCHAR) [/INST] ### Response: SELECT COUNT(area__km_2__) FROM table_1966992_1 WHERE census_2006_population = 151511 </s>