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:
How many days did Hawthorn play as a home team?
### Context:
CREATE TABLE table_16388230_1 (date VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_16388230_1 WHERE home_team = "Hawthorn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team of Richmond played on what grounds?
### Context:
CREATE TABLE table_16388230_1 (ground VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT ground FROM table_16388230_1 WHERE away_team = "Richmond" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team's score at the venue football park?
### Context:
CREATE TABLE table_16387953_1 (away_team VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_16387953_1 WHERE ground = "Football Park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scores for games where the home team is Adelaide?
### Context:
CREATE TABLE table_16387953_1 (home_team VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_16387953_1 WHERE home_team = "Adelaide" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what dates where games played at Football Park?
### Context:
CREATE TABLE table_16387953_1 (date VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT date FROM table_16387953_1 WHERE ground = "Football Park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team score against Collingwood?
### Context:
CREATE TABLE table_16387653_1 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_16387653_1 WHERE away_team = "Collingwood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team playing at Carlton?
### Context:
CREATE TABLE table_16387653_1 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_16387653_1 WHERE home_team = "Carlton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the home team score against Richmond?
### Context:
CREATE TABLE table_16387653_1 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_16387653_1 WHERE away_team = "Richmond" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 crowd size against St Kilda?
### Context:
CREATE TABLE table_16387653_1 (crowd INTEGER, away_team VARCHAR) [/INST]
### Response:
SELECT MAX(crowd) FROM table_16387653_1 WHERE away_team = "St Kilda" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 to Footscray score at home?
### Context:
CREATE TABLE table_16387653_1 (home_team VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_16387653_1 WHERE home_team = "Footscray" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date for bundaberg rum stadium
### Context:
CREATE TABLE table_16388439_3 (date VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT date FROM table_16388439_3 WHERE ground = "Bundaberg Rum Stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team score for brisbane lions
### Context:
CREATE TABLE table_16388439_3 (home_team VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_16388439_3 WHERE home_team = "Brisbane Lions" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team for football park
### Context:
CREATE TABLE table_16388439_3 (home_team VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_16388439_3 WHERE ground = "Football Park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team score for carlton
### Context:
CREATE TABLE table_16388439_3 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_16388439_3 WHERE home_team = "Carlton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date for adelaide for westpac stadium
### Context:
CREATE TABLE table_16388439_3 (date VARCHAR, home_team VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT date FROM table_16388439_3 WHERE home_team = "Adelaide" AND ground = "Westpac Stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of ground for essendon
### Context:
CREATE TABLE table_16388439_1 (ground VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT COUNT(ground) FROM table_16388439_1 WHERE home_team = "Essendon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 crowd for essendon
### Context:
CREATE TABLE table_16388439_1 (crowd INTEGER, away_team VARCHAR) [/INST]
### Response:
SELECT MAX(crowd) FROM table_16388439_1 WHERE away_team = "Essendon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ground is manuka oval what is the home team score?
### Context:
CREATE TABLE table_16388439_2 (home_team VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT COUNT(home_team) AS score FROM table_16388439_2 WHERE ground = "Manuka Oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the crowd was 8642 what was the away team's score?
### Context:
CREATE TABLE table_16388439_2 (away_team VARCHAR, crowd VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_16388439_2 WHERE crowd = 8642 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location had an attendance of 22537?
### Context:
CREATE TABLE table_16388545_1 (ground VARCHAR, crowd VARCHAR) [/INST]
### Response:
SELECT ground FROM table_16388545_1 WHERE crowd = 22537 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team's score of at the game of telstra stadium?
### Context:
CREATE TABLE table_16388545_1 (away_team VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_16388545_1 WHERE ground = "Telstra Stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the away team was Carlton, who was the home team?
### Context:
CREATE TABLE table_16388545_1 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_16388545_1 WHERE away_team = "Carlton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average for contestants with a swimsuit score of 8.266?
### Context:
CREATE TABLE table_16390001_2 (average VARCHAR, swimsuit VARCHAR) [/INST]
### Response:
SELECT average FROM table_16390001_2 WHERE swimsuit = "8.266" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 interview scores for contestants whose average is 9.090?
### Context:
CREATE TABLE table_16390001_2 (interview VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT interview FROM table_16390001_2 WHERE average = "9.090" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average scores of contestants whose home state is Pennsylvania?
### Context:
CREATE TABLE table_16390001_2 (average VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT average FROM table_16390001_2 WHERE country = "Pennsylvania" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 evening gown scores of contestants whose average is 9.266?
### Context:
CREATE TABLE table_16390001_2 (evening_gown VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT evening_gown FROM table_16390001_2 WHERE average = "9.266" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average scores of contestants whose interview score is 8.011?
### Context:
CREATE TABLE table_16390001_2 (average VARCHAR, interview VARCHAR) [/INST]
### Response:
SELECT average FROM table_16390001_2 WHERE interview = "8.011" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team scores when richmond is the home team?
### Context:
CREATE TABLE table_16388506_1 (home_team VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_16388506_1 WHERE home_team = "Richmond" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team scores when fremantle is the away team?
### Context:
CREATE TABLE table_16388506_1 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_16388506_1 WHERE away_team = "Fremantle" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest crowd when essendon is the home team?
### Context:
CREATE TABLE table_16388506_1 (crowd INTEGER, home_team VARCHAR) [/INST]
### Response:
SELECT MAX(crowd) FROM table_16388506_1 WHERE home_team = "Essendon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away teams when subiaco oval was the grounds?
### Context:
CREATE TABLE table_16388506_1 (away_team VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_16388506_1 WHERE ground = "Subiaco Oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team when the away team is Carlton?
### Context:
CREATE TABLE table_16388478_4 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_16388478_4 WHERE away_team = "Carlton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team score where the home team is Fremantle?
### Context:
CREATE TABLE table_16388478_4 (home_team VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_16388478_4 WHERE home_team = "Fremantle" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team score for the game with a crowd of 5391?
### Context:
CREATE TABLE table_16388478_4 (away_team VARCHAR, crowd VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_16388478_4 WHERE crowd = 5391 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Adelaide the home team?
### Context:
CREATE TABLE table_16388478_4 (date VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_16388478_4 WHERE home_team = "Adelaide" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 locations does Elon University have?
### Context:
CREATE TABLE table_16403890_1 (location VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_16403890_1 WHERE institution = "Elon 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:
Private/Catholic school's minimum enrollment is?
### Context:
CREATE TABLE table_16403890_1 (enrollment INTEGER, affiliation VARCHAR) [/INST]
### Response:
SELECT MIN(enrollment) FROM table_16403890_1 WHERE affiliation = "Private/Catholic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school has the mascot of the Colonials?
### Context:
CREATE TABLE table_16403890_1 (institution VARCHAR, team_nickname VARCHAR) [/INST]
### Response:
SELECT institution FROM table_16403890_1 WHERE team_nickname = "Colonials" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 socket location for sSPEC number sl3f7(kc0)sl3fj(kc0)?
### Context:
CREATE TABLE table_16400024_1 (socket VARCHAR, sspec_number VARCHAR) [/INST]
### Response:
SELECT socket FROM table_16400024_1 WHERE sspec_number = "SL3F7(kC0)SL3FJ(kC0)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 release date of part 80525py500512bx80525u500512bx80525u500512e?
### Context:
CREATE TABLE table_16400024_1 (release_date VARCHAR, part_number_s_ VARCHAR) [/INST]
### Response:
SELECT release_date FROM table_16400024_1 WHERE part_number_s_ = "80525PY500512BX80525U500512BX80525U500512E" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 release prices are there for the Pentium iii 550?
### Context:
CREATE TABLE table_16400024_1 (release_price___usd__ VARCHAR, model_number VARCHAR) [/INST]
### Response:
SELECT COUNT(release_price___usd__) FROM table_16400024_1 WHERE model_number = "Pentium III 550" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 model number with a release price of $496?
### Context:
CREATE TABLE table_16400024_1 (model_number VARCHAR, release_price___usd__ VARCHAR) [/INST]
### Response:
SELECT model_number FROM table_16400024_1 WHERE release_price___usd__ = "$496" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 l2 cache for the model with a release price of $669?
### Context:
CREATE TABLE table_16400024_1 (l2_cache VARCHAR, release_price___usd__ VARCHAR) [/INST]
### Response:
SELECT l2_cache FROM table_16400024_1 WHERE release_price___usd__ = "$669" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 day(s) did they play on week 2?
### Context:
CREATE TABLE table_1639689_2 (date VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT date FROM table_1639689_2 WHERE week = 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 kickoff time on monday, may 13?
### Context:
CREATE TABLE table_1639689_2 (kickoff VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT kickoff FROM table_1639689_2 WHERE date = "Monday, May 13" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in season 2 directed by jamie babbit?
### Context:
CREATE TABLE table_16390576_3 (no_in_season INTEGER, directed_by VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_season) FROM table_16390576_3 WHERE directed_by = "Jamie Babbit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 air dates for episodes with the production code 08-02-214
### Context:
CREATE TABLE table_16390576_3 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_16390576_3 WHERE production_code = "08-02-214" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode 28
### Context:
CREATE TABLE table_16390576_3 (title VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT title FROM table_16390576_3 WHERE no_in_series = 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:
What is the dpi of a scanner with the mm dimensions 280 x 95 x 40?
### Context:
CREATE TABLE table_16409745_1 (dpi VARCHAR, dimensions__mm_ VARCHAR) [/INST]
### Response:
SELECT dpi FROM table_16409745_1 WHERE dimensions__mm_ = "280 x 95 x 40" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum pages per minute for the Xerox Travel Scanner 100?
### Context:
CREATE TABLE table_16409745_1 (pages_per_minute__color_ INTEGER, product VARCHAR) [/INST]
### Response:
SELECT MAX(pages_per_minute__color_) FROM table_16409745_1 WHERE product = "Xerox Travel Scanner 100" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 interface is used on the scanner that has a 36 pages per minute?
### Context:
CREATE TABLE table_16409745_1 (interface VARCHAR, pages_per_minute__color_ VARCHAR) [/INST]
### Response:
SELECT interface FROM table_16409745_1 WHERE pages_per_minute__color_ = 36 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mm dimensions of the Plustek Mobileoffice D28 Corporate?
### Context:
CREATE TABLE table_16409745_1 (dimensions__mm_ VARCHAR, product VARCHAR) [/INST]
### Response:
SELECT dimensions__mm_ FROM table_16409745_1 WHERE product = "Plustek MobileOffice D28 Corporate" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?
### Context:
CREATE TABLE table_16409745_1 (dimensions__mm_ VARCHAR, product VARCHAR) [/INST]
### Response:
SELECT dimensions__mm_ FROM table_16409745_1 WHERE product = "Fujitsu fi-6130 A4 Series Scanner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dpi for the scanner with a max page size of 216mm x 355mm?
### Context:
CREATE TABLE table_16409745_1 (dpi VARCHAR, max_page_size VARCHAR) [/INST]
### Response:
SELECT dpi FROM table_16409745_1 WHERE max_page_size = "216mm x 355mm" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won swimming track & field when lexington won swimming and madison won volleyball
### Context:
CREATE TABLE table_16423070_4 (track_ VARCHAR, _field VARCHAR, swimming VARCHAR, volleyball VARCHAR) [/INST]
### Response:
SELECT track_ & _field FROM table_16423070_4 WHERE swimming = "Lexington" AND volleyball = "Madison" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams won at golf when wooster won soccer
### Context:
CREATE TABLE table_16423070_4 (golf VARCHAR, soccer VARCHAR) [/INST]
### Response:
SELECT COUNT(golf) FROM table_16423070_4 WHERE soccer = "Wooster" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 soccer when madison won volleyball, lexington won cross country and orrville won softball
### Context:
CREATE TABLE table_16423070_4 (soccer VARCHAR, softball VARCHAR, volleyball VARCHAR, cross_country VARCHAR) [/INST]
### Response:
SELECT soccer FROM table_16423070_4 WHERE volleyball = "Madison" AND cross_country = "Lexington" AND softball = "Orrville" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 volleyball when west holmes won basketball and wooster won swimming in 2011-12
### Context:
CREATE TABLE table_16423070_4 (volleyball VARCHAR, school_year VARCHAR, basketball VARCHAR, swimming VARCHAR) [/INST]
### Response:
SELECT volleyball FROM table_16423070_4 WHERE basketball = "West Holmes" AND swimming = "Wooster" AND school_year = "2011-12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tennis when ashland won softball and wooster won volleybal
### Context:
CREATE TABLE table_16423070_4 (tennis VARCHAR, softball VARCHAR, volleyball VARCHAR) [/INST]
### Response:
SELECT tennis FROM table_16423070_4 WHERE softball = "Ashland" AND volleyball = "Wooster" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 basketball when ashland won track & field and cross country
### Context:
CREATE TABLE table_16423070_4 (basketball VARCHAR, cross_country VARCHAR, track_ VARCHAR, _field VARCHAR) [/INST]
### Response:
SELECT basketball FROM table_16423070_4 WHERE track_ & _field = "Ashland" AND cross_country = "Ashland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the location of the school established in 1923
### Context:
CREATE TABLE table_16432543_1 (location VARCHAR, established VARCHAR) [/INST]
### Response:
SELECT location FROM table_16432543_1 WHERE established = 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:
Total enrollment at the school with the nickname Blue Hens
### Context:
CREATE TABLE table_16432543_1 (enrollment VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT COUNT(enrollment) FROM table_16432543_1 WHERE nickname = "Blue Hens" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Nickname of the school established in 1773
### Context:
CREATE TABLE table_16432543_1 (nickname VARCHAR, established VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_16432543_1 WHERE established = 1773 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year Rowan University was established
### Context:
CREATE TABLE table_16432543_1 (established VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT established FROM table_16432543_1 WHERE institution = "Rowan 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:
How many nicknames does the school in Newark, DE have
### Context:
CREATE TABLE table_16432543_1 (nickname VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(nickname) FROM table_16432543_1 WHERE location = "Newark, DE" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Location of the school with the nickname Mountaineers
### Context:
CREATE TABLE table_16432543_1 (location VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT location FROM table_16432543_1 WHERE nickname = "Mountaineers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who wrote the episode with the production code of 942A?
### Context:
CREATE TABLE table_16432167_1 (written_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_16432167_1 WHERE production_code = "942A" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 English title for the official number 22 episode?
### Context:
CREATE TABLE table_16425614_3 (english_title VARCHAR, official__number VARCHAR) [/INST]
### Response:
SELECT english_title FROM table_16425614_3 WHERE official__number = 22 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 CFL team did the player from British Columbia get drafted to
### Context:
CREATE TABLE table_16441561_5 (cfl_team VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_16441561_5 WHERE college = "British Columbia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions had players from Laval college
### Context:
CREATE TABLE table_16441561_5 (position VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT position FROM table_16441561_5 WHERE college = "Laval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Gene Stahl play
### Context:
CREATE TABLE table_16441561_5 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_16441561_5 WHERE player = "Gene Stahl" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player played DB
### Context:
CREATE TABLE table_16441561_5 (player VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT player FROM table_16441561_5 WHERE position = "DB" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest picked LB
### Context:
CREATE TABLE table_16441561_5 (pick__number INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MIN(pick__number) FROM table_16441561_5 WHERE position = "LB" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many players named Jeff Brown were drafted
### Context:
CREATE TABLE table_16441561_5 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_16441561_5 WHERE player = "Jeff Brown" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 feet per second does a shell move where the height range is 23500?
### Context:
CREATE TABLE table_16439764_1 (m_v_ft_s INTEGER, max_height__ft_ VARCHAR) [/INST]
### Response:
SELECT MIN(m_v_ft_s) FROM table_16439764_1 WHERE max_height__ft_ = 23500 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gun used is the qf 12 pdr 12 cwt, what is the shell weight?
### Context:
CREATE TABLE table_16439764_1 (shell__lb_ VARCHAR, gun VARCHAR) [/INST]
### Response:
SELECT shell__lb_ FROM table_16439764_1 WHERE gun = "QF 12 pdr 12 cwt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees?
### Context:
CREATE TABLE table_16439764_1 (time_to_ft__m__at_25°__seconds_ VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR) [/INST]
### Response:
SELECT time_to_ft__m__at_25°__seconds_ FROM table_16439764_1 WHERE shell__lb_ = "12.5" AND max_height__ft_ > 20000.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 gun has a time to feet ratio of 18.8 at 55 degrees?
### Context:
CREATE TABLE table_16439764_1 (gun VARCHAR, time_to_ft__m__at_55°__seconds_ VARCHAR) [/INST]
### Response:
SELECT gun FROM table_16439764_1 WHERE time_to_ft__m__at_55°__seconds_ = "18.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:
What is the maximum foot per second speed where time to feet ratio is 22.1 at 55 degrees?
### Context:
CREATE TABLE table_16439764_1 (m_v_ft_s INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR) [/INST]
### Response:
SELECT MAX(m_v_ft_s) FROM table_16439764_1 WHERE time_to_ft__m__at_55°__seconds_ = "22.1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees?
### Context:
CREATE TABLE table_16439764_1 (m_v_ft_s VARCHAR, time_to_ft__m__at_25°__seconds_ VARCHAR) [/INST]
### Response:
SELECT m_v_ft_s FROM table_16439764_1 WHERE time_to_ft__m__at_25°__seconds_ = "9.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:
Who was skip for the country whose points for (PF) was 73?
### Context:
CREATE TABLE table_1644857_2 (skip VARCHAR, pf VARCHAR) [/INST]
### Response:
SELECT skip FROM table_1644857_2 WHERE pf = 73 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is a score for stolen ends recorded for France?
### Context:
CREATE TABLE table_1644857_2 (stolen_ends VARCHAR, country VARCHAR, France VARCHAR) [/INST]
### Response:
SELECT COUNT(stolen_ends) FROM table_1644857_2 WHERE country = France </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ends were lost by the country whose points for (PF) was 87?
### Context:
CREATE TABLE table_1644857_2 (Ends INTEGER, pf VARCHAR) [/INST]
### Response:
SELECT MAX(Ends) AS lost FROM table_1644857_2 WHERE pf = 87 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seasons was Dave Reid treasurer?
### Context:
CREATE TABLE table_16446652_1 (season VARCHAR, treasurer VARCHAR) [/INST]
### Response:
SELECT COUNT(season) FROM table_16446652_1 WHERE treasurer = "Dave Reid" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Jonny Leadbeater President?
### Context:
CREATE TABLE table_16446652_1 (season VARCHAR, president VARCHAR) [/INST]
### Response:
SELECT season FROM table_16446652_1 WHERE president = "Jonny Leadbeater" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 skip with 14 stolen ends?
### Context:
CREATE TABLE table_1644876_2 (skip VARCHAR, stolen_ends VARCHAR) [/INST]
### Response:
SELECT skip FROM table_1644876_2 WHERE stolen_ends = 14 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the fewest number of losses?
### Context:
CREATE TABLE table_1644876_2 (l INTEGER) [/INST]
### Response:
SELECT MIN(l) FROM table_1644876_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 are the shot percentages for teams that played in switzerland?
### Context:
CREATE TABLE table_1644876_2 (shot__percentage VARCHAR, locale VARCHAR, Switzerland VARCHAR) [/INST]
### Response:
SELECT shot__percentage FROM table_1644876_2 WHERE locale = Switzerland </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of 60 -64?
### Context:
CREATE TABLE table_16457934_4 (Id VARCHAR) [/INST]
### Response:
SELECT MIN(60 AS _to_64) FROM table_16457934_4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What province has the Chinese translation 重庆?
### Context:
CREATE TABLE table_16489766_2 (province VARCHAR, chinese VARCHAR) [/INST]
### Response:
SELECT COUNT(province) FROM table_16489766_2 WHERE chinese = "重庆" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 administrative population of Shanghai?
### Context:
CREATE TABLE table_16489766_2 (administrative_population__2010_ VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT COUNT(administrative_population__2010_) FROM table_16489766_2 WHERE city = "Shanghai" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 administrative population of the city with Chinese translation 昆明?
### Context:
CREATE TABLE table_16489766_2 (administrative_population__2010_ INTEGER, chinese VARCHAR) [/INST]
### Response:
SELECT MAX(administrative_population__2010_) FROM table_16489766_2 WHERE chinese = "昆明" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 urban population of the city with the pinyin translation chángchūn?
### Context:
CREATE TABLE table_16489766_2 (urban_population__2010_ VARCHAR, pinyin VARCHAR) [/INST]
### Response:
SELECT COUNT(urban_population__2010_) FROM table_16489766_2 WHERE pinyin = "Chángchūn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was on the Grizzlies from 2009-2013?
### Context:
CREATE TABLE table_16494599_1 (player VARCHAR, years_for_grizzlies VARCHAR) [/INST]
### Response:
SELECT player FROM table_16494599_1 WHERE years_for_grizzlies = "2009-2013" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the player who went to school at South Florida?
### Context:
CREATE TABLE table_16494599_1 (nationality VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_16494599_1 WHERE school_club_team = "South 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:
What position is the player who was on the Grizzlies from 1995-1996?
### Context:
CREATE TABLE table_16494599_1 (position VARCHAR, years_for_grizzlies VARCHAR) [/INST]
### Response:
SELECT position FROM table_16494599_1 WHERE years_for_grizzlies = "1995-1996" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 may players played for the Grizzlies from 2000-2002?
### Context:
CREATE TABLE table_16494599_1 (no VARCHAR, years_for_grizzlies VARCHAR) [/INST]
### Response:
SELECT COUNT(no) FROM table_16494599_1 WHERE years_for_grizzlies = "2000-2002" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 miles for june 7
### Context:
CREATE TABLE table_16493961_1 (miles__km_ VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT miles__km_ FROM table_16493961_1 WHERE date = "June 7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the driver for race time being 2:34:21
### Context:
CREATE TABLE table_16493961_1 (driver VARCHAR, race_time VARCHAR) [/INST]
### Response:
SELECT driver FROM table_16493961_1 WHERE race_time = "2:34:21" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the driver for june 23 and team of penske racing
### Context:
CREATE TABLE table_16493961_1 (driver VARCHAR, date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT driver FROM table_16493961_1 WHERE date = "June 23" AND team = "Penske Racing" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.