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 was the season number for the episode with the series number 61?
### Context:
CREATE TABLE table_11630008_5 (season__number INTEGER, series__number VARCHAR) [/INST]
### Response:
SELECT MAX(season__number) FROM table_11630008_5 WHERE series__number = 61 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with the production code 311?
### Context:
CREATE TABLE table_11630008_5 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_11630008_5 WHERE production_code = 311 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who directed the episode written by Lamont Ferrell?
### Context:
CREATE TABLE table_11630008_5 (directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_11630008_5 WHERE written_by = "Lamont Ferrell" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date was the result 6–2, 4–6, 6–4?
### Context:
CREATE TABLE table_11636213_7 (date VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT date FROM table_11636213_7 WHERE result = "6–2, 4–6, 6–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:
How many matches had the result of 6–3, 6–2?
### Context:
CREATE TABLE table_11636213_7 (partnering VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT COUNT(partnering) FROM table_11636213_7 WHERE result = "6–3, 6–2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the Original Air Date is 10January2008, what directors released on that date?
### Context:
CREATE TABLE table_11642945_1 (director VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT director FROM table_11642945_1 WHERE original_air_date = "10January2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The original air date of 29November2007 has what total no.?
### Context:
CREATE TABLE table_11642945_1 (total_no VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT total_no FROM table_11642945_1 WHERE original_air_date = "29November2007" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Margot Kidder had what director?
### Context:
CREATE TABLE table_11642945_1 (director VARCHAR, celebrity VARCHAR) [/INST]
### Response:
SELECT director FROM table_11642945_1 WHERE celebrity = "Margot Kidder" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 celebrities had an 18October2007 Original air Date?
### Context:
CREATE TABLE table_11642945_1 (celebrity VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(celebrity) FROM table_11642945_1 WHERE original_air_date = "18October2007" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 viewers had Matt Gallagher as the director?
### Context:
CREATE TABLE table_11642945_1 (viewers VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT viewers FROM table_11642945_1 WHERE director = "Matt Gallagher" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series with production code 503?
### Context:
CREATE TABLE table_11630008_7 (series__number VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(series__number) FROM table_11630008_7 WHERE production_code = 503 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code 514?
### Context:
CREATE TABLE table_11630008_7 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_11630008_7 WHERE production_code = 514 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location of the institution barton college
### Context:
CREATE TABLE table_11658094_1 (location VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT location FROM table_11658094_1 WHERE institution = "Barton 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:
Which institutions joined in 1993
### Context:
CREATE TABLE table_11658094_1 (institution VARCHAR, joined VARCHAR) [/INST]
### Response:
SELECT institution FROM table_11658094_1 WHERE joined = "1993" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 locations that joined in 2008
### Context:
CREATE TABLE table_11658094_1 (location VARCHAR, joined VARCHAR) [/INST]
### Response:
SELECT location FROM table_11658094_1 WHERE joined = "2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the minimum enrollment at barton college
### Context:
CREATE TABLE table_11658094_1 (enrollment INTEGER, institution VARCHAR) [/INST]
### Response:
SELECT MIN(enrollment) FROM table_11658094_1 WHERE institution = "Barton 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:
When was erskine college founded
### Context:
CREATE TABLE table_11658094_1 (founded VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT founded FROM table_11658094_1 WHERE institution = "Erskine 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:
What is ithe range for married filing separately where head of household is $117,451–$190,200?
### Context:
CREATE TABLE table_11647327_2 (married_filing_separately VARCHAR, head_of_household VARCHAR) [/INST]
### Response:
SELECT married_filing_separately FROM table_11647327_2 WHERE head_of_household = "$117,451–$190,200" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount of marginal ordinary income tax rate for single in which the range is $8,351– $33,950?
### Context:
CREATE TABLE table_11647327_2 (marginal_ordinary_income_tax_rate VARCHAR, single VARCHAR) [/INST]
### Response:
SELECT COUNT(marginal_ordinary_income_tax_rate) FROM table_11647327_2 WHERE single = "$8,351– $33,950" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 range of married filing jointly or qualified widower in which married filing separately is $33,951–$68,525?
### Context:
CREATE TABLE table_11647327_2 (married_filing_jointly_or_qualified_widow_er_ VARCHAR, married_filing_separately VARCHAR) [/INST]
### Response:
SELECT married_filing_jointly_or_qualified_widow_er_ FROM table_11647327_2 WHERE married_filing_separately = "$33,951–$68,525" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 range of the head of household whereas single is $171,551–$372,950?
### Context:
CREATE TABLE table_11647327_2 (head_of_household VARCHAR, single VARCHAR) [/INST]
### Response:
SELECT head_of_household FROM table_11647327_2 WHERE single = "$171,551–$372,950" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amoun of marginal ordinary income tax rate where married filing jointly or qualified widow is $208,851–$372,950?
### Context:
CREATE TABLE table_11647327_2 (marginal_ordinary_income_tax_rate VARCHAR, married_filing_jointly_or_qualified_widow_er_ VARCHAR) [/INST]
### Response:
SELECT COUNT(marginal_ordinary_income_tax_rate) FROM table_11647327_2 WHERE married_filing_jointly_or_qualified_widow_er_ = "$208,851–$372,950" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coach where dudley tuckey medal is ben howlett
### Context:
CREATE TABLE table_1165048_1 (coach VARCHAR, dudley_tuckey_medal VARCHAR) [/INST]
### Response:
SELECT coach FROM table_1165048_1 WHERE dudley_tuckey_medal = "Ben Howlett" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coach where captain is grant welsh and win/loss is 5-15
### Context:
CREATE TABLE table_1165048_1 (coach VARCHAR, captain VARCHAR, win_loss VARCHAR) [/INST]
### Response:
SELECT COUNT(coach) FROM table_1165048_1 WHERE captain = "Grant Welsh" AND win_loss = "5-15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dudley tuckey medal where leading goalkicker is scott simister (46)
### Context:
CREATE TABLE table_1165048_1 (dudley_tuckey_medal VARCHAR, leading_goalkicker VARCHAR) [/INST]
### Response:
SELECT dudley_tuckey_medal FROM table_1165048_1 WHERE leading_goalkicker = "Scott Simister (46)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season where leading goalkicker is scott simister (54)
### Context:
CREATE TABLE table_1165048_1 (season INTEGER, leading_goalkicker VARCHAR) [/INST]
### Response:
SELECT MAX(season) FROM table_1165048_1 WHERE leading_goalkicker = "Scott Simister (54)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what are all the win/loss where season is 2009
### Context:
CREATE TABLE table_1165048_1 (win_loss VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT win_loss FROM table_1165048_1 WHERE season = 2009 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 captain where coach is geoff miles
### Context:
CREATE TABLE table_1165048_1 (captain VARCHAR, coach VARCHAR) [/INST]
### Response:
SELECT captain FROM table_1165048_1 WHERE coach = "Geoff Miles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2005-06 what was the disaster?
### Context:
CREATE TABLE table_11649123_1 (disaster VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT disaster FROM table_11649123_1 WHERE year = "2005-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's the area of the voivodenship with 51 communes?
### Context:
CREATE TABLE table_11656578_2 (area_km²__1998_ VARCHAR, no_of_communes VARCHAR) [/INST]
### Response:
SELECT area_km²__1998_ FROM table_11656578_2 WHERE no_of_communes = 51 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How big (in km2) is the voivodenship also known by the abbreviation KN?
### Context:
CREATE TABLE table_11656578_2 (area_km²__1998_ VARCHAR, abbreviation VARCHAR) [/INST]
### Response:
SELECT area_km²__1998_ FROM table_11656578_2 WHERE abbreviation = "kn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lived in the voivodenship whose capital is Siedlce in the year of 1980?
### Context:
CREATE TABLE table_11656578_2 (population__1980_ VARCHAR, capital VARCHAR) [/INST]
### Response:
SELECT population__1980_ FROM table_11656578_2 WHERE capital = "Siedlce" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many different voivodenship have 747 900 citizes?
### Context:
CREATE TABLE table_11656578_2 (voivodeship VARCHAR, population__1980_ VARCHAR) [/INST]
### Response:
SELECT COUNT(voivodeship) FROM table_11656578_2 WHERE population__1980_ = "747 900" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did longwood university leave the conference?
### Context:
CREATE TABLE table_11658094_3 (left INTEGER, institution VARCHAR) [/INST]
### Response:
SELECT MIN(left) FROM table_11658094_3 WHERE institution = "Longwood University" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did a school leave that was founded in 1880?
### Context:
CREATE TABLE table_11658094_3 (left VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT left FROM table_11658094_3 WHERE founded = 1880 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nickname of the school with an enrollment of 2386?
### Context:
CREATE TABLE table_11658094_3 (nickname VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_11658094_3 WHERE enrollment = 2386 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the school from mars hill, north carolina join?
### Context:
CREATE TABLE table_11658094_3 (joined VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT joined FROM table_11658094_3 WHERE location = "Mars Hill, North Carolina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did anderson university leave?
### Context:
CREATE TABLE table_11658094_3 (left VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT COUNT(left) FROM table_11658094_3 WHERE institution = "Anderson University" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nickname of the newberry college?
### Context:
CREATE TABLE table_11658094_3 (nickname VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_11658094_3 WHERE institution = "Newberry 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:
What was the gross tonnage of the ship that ended service in 1866?
### Context:
CREATE TABLE table_11662133_1 (gross_tonnage VARCHAR, ended_service VARCHAR) [/INST]
### Response:
SELECT gross_tonnage FROM table_11662133_1 WHERE ended_service = "1866" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gross tonnage of the Munich?
### Context:
CREATE TABLE table_11662133_1 (gross_tonnage INTEGER, ships_name VARCHAR) [/INST]
### Response:
SELECT MIN(gross_tonnage) FROM table_11662133_1 WHERE ships_name = "Munich" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 air date for the episode written by Wendy Battles and directed by Oz Scott
### Context:
CREATE TABLE table_11665016_2 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_11665016_2 WHERE written_by = "Wendy Battles" AND directed_by = "Oz 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:
Which episode was written by anthony e. zuiker & ken solarz
### Context:
CREATE TABLE table_11665016_2 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_11665016_2 WHERE written_by = "Anthony E. Zuiker & Ken Solarz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which episode was directed by steven depaul
### Context:
CREATE TABLE table_11665016_2 (title VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_11665016_2 WHERE directed_by = "Steven DePaul" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What where the tms numbers built in 1923
### Context:
CREATE TABLE table_1166023_1 (TMS VARCHAR, year_built VARCHAR) [/INST]
### Response:
SELECT TMS AS number FROM table_1166023_1 WHERE year_built = 1923 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tms were built nzr addington in the year 1913
### Context:
CREATE TABLE table_1166023_1 (TMS VARCHAR, builder VARCHAR, year_built VARCHAR) [/INST]
### Response:
SELECT TMS AS number FROM table_1166023_1 WHERE builder = "NZR Addington" AND year_built = 1913 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date entered service with ships name koningin wilhelmina
### Context:
CREATE TABLE table_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR) [/INST]
### Response:
SELECT date_entered_service FROM table_11662133_3 WHERE ships_name = "Koningin Wilhelmina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date where ships name is zeeland entered service
### Context:
CREATE TABLE table_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR) [/INST]
### Response:
SELECT date_entered_service FROM table_11662133_3 WHERE ships_name = "Zeeland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tonnage where date entered service is 25 march 1986
### Context:
CREATE TABLE table_11662133_3 (tonnage INTEGER, date_entered_service VARCHAR) [/INST]
### Response:
SELECT MAX(tonnage) FROM table_11662133_3 WHERE date_entered_service = "25 March 1986" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what are all the date withdrawn for service entered on 21 november 1945
### Context:
CREATE TABLE table_11662133_3 (date_withdrawn VARCHAR, date_entered_service VARCHAR) [/INST]
### Response:
SELECT date_withdrawn FROM table_11662133_3 WHERE date_entered_service = "21 November 1945" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what are all the date withdrawn for twin screw ro-ro motorship
### Context:
CREATE TABLE table_11662133_3 (date_withdrawn VARCHAR, type_of_ship VARCHAR) [/INST]
### Response:
SELECT date_withdrawn FROM table_11662133_3 WHERE type_of_ship = "Twin Screw Ro-Ro Motorship" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what are all the date withdrawn for koningin beatrix
### Context:
CREATE TABLE table_11662133_3 (date_withdrawn VARCHAR, ships_name VARCHAR) [/INST]
### Response:
SELECT date_withdrawn FROM table_11662133_3 WHERE ships_name = "Koningin Beatrix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the first season that Anthony Hemingway appears?
### Context:
CREATE TABLE table_11664625_2 (no_in_season INTEGER, directed_by VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_season) FROM table_11664625_2 WHERE directed_by = "Anthony Hemingway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the original air date of season 18?
### Context:
CREATE TABLE table_11664625_2 (original_air_date VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_11664625_2 WHERE no_in_season = 18 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When is the first season there were 14.57 million U.S viewers?
### Context:
CREATE TABLE table_11664625_2 (no_in_season INTEGER, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_season) FROM table_11664625_2 WHERE us_viewers__millions_ = "14.57" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 champions were there in 2009?
### Context:
CREATE TABLE table_1167698_1 (champion VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT COUNT(champion) FROM table_1167698_1 WHERE season = "2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won third place with the runner up being dynamo moscow?
### Context:
CREATE TABLE table_1167698_1 (third_place VARCHAR, runner_up VARCHAR) [/INST]
### Response:
SELECT third_place FROM table_1167698_1 WHERE runner_up = "Dynamo 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 position does Matt Hobgood play?
### Context:
CREATE TABLE table_11677100_15 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_11677100_15 WHERE player = "Matt Hobgood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 from high point, nc?
### Context:
CREATE TABLE table_11677100_15 (mlb_draft VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT COUNT(mlb_draft) FROM table_11677100_15 WHERE hometown = "High Point, NC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high school did Jeff Malm attend?
### Context:
CREATE TABLE table_11677100_15 (school VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school FROM table_11677100_15 WHERE player = "Jeff Malm" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hometowns does the catcher have?
### Context:
CREATE TABLE table_11677100_15 (hometown VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(hometown) FROM table_11677100_15 WHERE position = "Catcher" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drafted from the school Mountain Pointe High School?
### Context:
CREATE TABLE table_11677100_16 (mlb_draft VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT mlb_draft FROM table_11677100_16 WHERE school = "Mountain Pointe High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school did the player Ethan Bennett attend?
### Context:
CREATE TABLE table_11677100_16 (school VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school FROM table_11677100_16 WHERE player = "Ethan Bennett" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 MLB Drafts have the position pitcher/infielder?
### Context:
CREATE TABLE table_11677100_16 (mlb_draft VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT mlb_draft FROM table_11677100_16 WHERE position = "Pitcher/Infielder" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions were drafted from Las Vegas, NV?
### Context:
CREATE TABLE table_11677100_16 (position VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT position FROM table_11677100_16 WHERE hometown = "Las Vegas, NV" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hometown of Bubba Starling?
### Context:
CREATE TABLE table_11677100_17 (hometown VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677100_17 WHERE player = "Bubba Starling" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 schools did Bubba Starling attend?
### Context:
CREATE TABLE table_11677100_17 (school VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(school) FROM table_11677100_17 WHERE player = "Bubba Starling" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hometown of the player who attended Athens Drive High School?
### Context:
CREATE TABLE table_11677100_5 (hometown VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677100_5 WHERE school = "Athens Drive High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school did Pat Osborn attend?
### Context:
CREATE TABLE table_11677100_5 (school VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school FROM table_11677100_5 WHERE player = "Pat Osborn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Josh Hamilton's hometown?
### Context:
CREATE TABLE table_11677100_5 (hometown VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677100_5 WHERE player = "Josh Hamilton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school does Kerry Wood play for?
### Context:
CREATE TABLE table_11677100_3 (school VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school FROM table_11677100_3 WHERE player = "Kerry Wood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position of the player from Germantown, TN?
### Context:
CREATE TABLE table_11677100_3 (position VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT position FROM table_11677100_3 WHERE hometown = "Germantown, TN" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player goes to Torrey Pines High School?
### Context:
CREATE TABLE table_11677100_3 (player VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT player FROM table_11677100_3 WHERE school = "Torrey Pines High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does Kerry Wood play in?
### Context:
CREATE TABLE table_11677100_3 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_11677100_3 WHERE player = "Kerry Wood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Shion Newton's MLB draft result?
### Context:
CREATE TABLE table_11677100_3 (mlb_draft VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT mlb_draft FROM table_11677100_3 WHERE player = "Shion Newton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hometown of the pitcher who's school was Saint Joseph Regional High School?
### Context:
CREATE TABLE table_11677100_18 (hometown VARCHAR, position VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677100_18 WHERE position = "Pitcher" AND school = "Saint Joseph Regional High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school of the player from Lake Charles, LA?
### Context:
CREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT school FROM table_11677100_18 WHERE hometown = "Lake Charles, LA" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mlb draft for the player who's school was Carl Albert High School?
### Context:
CREATE TABLE table_11677100_18 (mlb_draft VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT mlb_draft FROM table_11677100_18 WHERE school = "Carl Albert High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school did the player attend who's hometown was Montvale, NJ?
### Context:
CREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT school FROM table_11677100_18 WHERE hometown = "Montvale, 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 school for the player who's hometown was Irvine, CA?
### Context:
CREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT school FROM table_11677100_18 WHERE hometown = "Irvine, CA" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the player from Spring High School play?
### Context:
CREATE TABLE table_11677100_4 (position VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_11677100_4 WHERE school = "Spring High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player is from Spring, Tx?
### Context:
CREATE TABLE table_11677100_4 (player VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT player FROM table_11677100_4 WHERE hometown = "Spring, TX" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What town is Brighton High School in?
### Context:
CREATE TABLE table_11677100_4 (hometown VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677100_4 WHERE school = "Brighton High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The catcher went to what school?
### Context:
CREATE TABLE table_11677100_7 (school VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT school FROM table_11677100_7 WHERE position = "Catcher" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 schools did Mike Jones attend?
### Context:
CREATE TABLE table_11677100_7 (school VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(school) FROM table_11677100_7 WHERE player = "Mike Jones" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 postion of the player listed from Dooly County High School?
### Context:
CREATE TABLE table_11677691_10 (position VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT position FROM table_11677691_10 WHERE school = "Dooly County High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player represented Vista Murrieta High School?
### Context:
CREATE TABLE table_11677691_10 (player VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT player FROM table_11677691_10 WHERE school = "Vista Murrieta High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position of the player from Butler High School?
### Context:
CREATE TABLE table_11677691_10 (position VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT position FROM table_11677691_10 WHERE school = "Butler High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 belonged to the player from Paramus, New Jersey?
### Context:
CREATE TABLE table_11677691_10 (position VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT position FROM table_11677691_10 WHERE hometown = "Paramus, New Jersey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What town is Muscle Shoals High School located in?
### Context:
CREATE TABLE table_11677691_10 (hometown VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677691_10 WHERE school = "Muscle Shoals High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick was the player from Apopka, FL in the 2002 MLB draft
### Context:
CREATE TABLE table_11677100_8 (mlb_draft VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT mlb_draft FROM table_11677100_8 WHERE hometown = "Apopka, FL" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND?
### Context:
CREATE TABLE table_11677691_2 (school VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT school FROM table_11677691_2 WHERE college = "South Carolina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 HOMETOWN OF TONY STEWARD?
### Context:
CREATE TABLE table_11677691_2 (hometown VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677691_2 WHERE player = "Tony Steward" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 DOES THE PLAYER FROM SOUTH POINTE HIGH SCHOOL PLAY?
### Context:
CREATE TABLE table_11677691_2 (position VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT position FROM table_11677691_2 WHERE school = "South Pointe High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 PLAY FOR OREGON?
### Context:
CREATE TABLE table_11677691_2 (player VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_11677691_2 WHERE college = "Oregon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 SCHOOL DOES HA'SEAN CLINTON-DIX BELONG TO?
### Context:
CREATE TABLE table_11677691_2 (school VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school FROM table_11677691_2 WHERE player = "Ha'Sean Clinton-Dix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are from Delray Beach, Florida?
### Context:
CREATE TABLE table_11677691_11 (player VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_11677691_11 WHERE hometown = "Delray Beach, Florida" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 schools did Derrick Green attend?
### Context:
CREATE TABLE table_11677691_11 (school VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(school) FROM table_11677691_11 WHERE player = "Derrick Green" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hometown of the player who attended American Heritage School?
### Context:
CREATE TABLE table_11677691_11 (hometown VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677691_11 WHERE school = "American Heritage school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does Greg Bryant play?
### Context:
CREATE TABLE table_11677691_11 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_11677691_11 WHERE player = "Greg Bryant" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.