text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the institution with the nickname seahawks?
### Context:
CREATE TABLE table_261927_1 (institution VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT institution FROM table_261927_1 WHERE nickname = "Seahawks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 colors for the nickname engineers?
### Context:
CREATE TABLE table_261927_1 (colors VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT colors FROM table_261927_1 WHERE nickname = "Engineers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have the colors blue & gold?
### Context:
CREATE TABLE table_261927_1 (institution VARCHAR, colors VARCHAR) [/INST]
### Response:
SELECT COUNT(institution) FROM table_261927_1 WHERE colors = "Blue & Gold" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 institution with the nickname engineers?
### Context:
CREATE TABLE table_261927_1 (institution VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT institution FROM table_261927_1 WHERE nickname = "Engineers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the enrollment for the colors green & black?
### Context:
CREATE TABLE table_261927_1 (enrollment VARCHAR, colors VARCHAR) [/INST]
### Response:
SELECT enrollment FROM table_261927_1 WHERE colors = "Green & Black" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 institution(s) are located in wilkes-barre, pennsylvania?
### Context:
CREATE TABLE table_261906_2 (institution VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT institution FROM table_261906_2 WHERE location = "Wilkes-Barre, 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 is the highest enrollment schools that joined the mac in 1997?
### Context:
CREATE TABLE table_261906_2 (enrollment INTEGER, joined_mac VARCHAR) [/INST]
### Response:
SELECT MAX(enrollment) FROM table_261906_2 WHERE joined_mac = 1997 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the enrollment at delaware valley college?
### Context:
CREATE TABLE table_261906_2 (joined_mac INTEGER, institution VARCHAR) [/INST]
### Response:
SELECT MAX(joined_mac) FROM table_261906_2 WHERE institution = "Delaware Valley 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 year did the the school with the nickname eagles join the mac?
### Context:
CREATE TABLE table_261906_2 (joined_mac INTEGER, nickname VARCHAR) [/INST]
### Response:
SELECT MIN(joined_mac) FROM table_261906_2 WHERE nickname = "Eagles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 institution's nickname is the Bobcats?
### Context:
CREATE TABLE table_261931_2 (institution VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT institution FROM table_261931_2 WHERE nickname = "Bobcats" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the enrollment at the institution in New London, Connecticut?
### Context:
CREATE TABLE table_261931_2 (enrollment VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT enrollment FROM table_261931_2 WHERE location = "New London, Connecticut" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the institution located in Lewiston, Maine join the conference?
### Context:
CREATE TABLE table_261931_2 (joined VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT joined FROM table_261931_2 WHERE location = "Lewiston, Maine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 institution's nickname is the Polar Bears?
### Context:
CREATE TABLE table_261931_2 (institution VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT institution FROM table_261931_2 WHERE nickname = "Polar Bears" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Linfield College?
### Context:
CREATE TABLE table_261941_1 (nickname VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_261941_1 WHERE institution = "Linfield 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 the private/baptist school founded?
### Context:
CREATE TABLE table_261941_1 (founded VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT founded FROM table_261941_1 WHERE type = "Private/Baptist" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 items appear in the enrollment column that joined in 1931, 1949 1?
### Context:
CREATE TABLE table_261941_1 (enrollment VARCHAR, joined VARCHAR) [/INST]
### Response:
SELECT COUNT(enrollment) FROM table_261941_1 WHERE joined = "1931, 1949 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 location of the University that joined in 1926, 1996 2?
### Context:
CREATE TABLE table_261941_1 (location VARCHAR, joined VARCHAR) [/INST]
### Response:
SELECT location FROM table_261941_1 WHERE joined = "1926, 1996 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:
When was the earliest founded university?
### Context:
CREATE TABLE table_261941_1 (founded INTEGER) [/INST]
### Response:
SELECT MIN(founded) FROM table_261941_1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the team standing if the won 130 goals against another team?
### Context:
CREATE TABLE table_2619469_1 (standing VARCHAR, goals_against VARCHAR) [/INST]
### Response:
SELECT standing FROM table_2619469_1 WHERE goals_against = 130 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every type for the location of Roanoke, Virginia?
### Context:
CREATE TABLE table_261954_1 (type VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT type FROM table_261954_1 WHERE location = "Roanoke, Virginia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many values for joined occur at Guilford College?
### Context:
CREATE TABLE table_261954_1 (joined VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT COUNT(joined) FROM table_261954_1 WHERE institution = "Guilford 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 every institution with the nickname of Quakers?
### Context:
CREATE TABLE table_261954_1 (institution VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT institution FROM table_261954_1 WHERE nickname = "Quakers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the least value of joined?
### Context:
CREATE TABLE table_261954_1 (joined INTEGER) [/INST]
### Response:
SELECT MIN(joined) FROM table_261954_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 every institution with the nickname of Wildcats?
### Context:
CREATE TABLE table_261954_1 (institution VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT institution FROM table_261954_1 WHERE nickname = "WildCats" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the title of the episode with production code 2alf03?
### Context:
CREATE TABLE table_26199130_1 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_26199130_1 WHERE production_code = "2ALF03" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank (week) for episode number 34?
### Context:
CREATE TABLE table_26199130_1 (rank__week_ VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT rank__week_ FROM table_26199130_1 WHERE no = 34 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numbered episode had 11.96 million US viewers?
### Context:
CREATE TABLE table_26199130_1 (no INTEGER, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT MAX(no) FROM table_26199130_1 WHERE us_viewers__million_ = "11.96" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the ranking of episode #19?
### Context:
CREATE TABLE table_26200084_1 (rank__week_ VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT rank__week_ FROM table_26200084_1 WHERE _number = 19 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the production code of the episode ranked 28?
### Context:
CREATE TABLE table_26200084_1 (production_code VARCHAR, rank__week_ VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_26200084_1 WHERE rank__week_ = "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 was the title of the episode directed by David Mamet?
### Context:
CREATE TABLE table_26200084_1 (title VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_26200084_1 WHERE directed_by = "David Mamet" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the production code for the episode that had 18.07 million viewers?
### Context:
CREATE TABLE table_26198709_1 (production_code VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_26198709_1 WHERE us_viewers__million_ = "18.07" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weeks rank for the episode with the production code 1alf05?
### Context:
CREATE TABLE table_26198709_1 (rank__week_ INTEGER, production_code VARCHAR) [/INST]
### Response:
SELECT MAX(rank__week_) FROM table_26198709_1 WHERE production_code = "1ALF05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 air dates does the episode with 15.50 million viewers have?
### Context:
CREATE TABLE table_26198709_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT COUNT(original_air_date) FROM table_26198709_1 WHERE us_viewers__million_ = "15.50" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 18.07 million viewers?
### Context:
CREATE TABLE table_26198709_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_26198709_1 WHERE us_viewers__million_ = "18.07" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points were scored against the Toronto Rebels?
### Context:
CREATE TABLE table_26200568_16 (points_against INTEGER, club VARCHAR) [/INST]
### Response:
SELECT MAX(points_against) FROM table_26200568_16 WHERE club = "Toronto Rebels" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points did the Toronto Downtown Dingos score?
### Context:
CREATE TABLE table_26200568_16 (points_for INTEGER, club VARCHAR) [/INST]
### Response:
SELECT MIN(points_for) FROM table_26200568_16 WHERE club = "Toronto Downtown Dingos" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 losses does Toronto Downtown Dingos have?
### Context:
CREATE TABLE table_26200568_16 (losses VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT losses FROM table_26200568_16 WHERE club = "Toronto Downtown Dingos" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the percentage listed for the team who scored 63 points?
### Context:
CREATE TABLE table_26200568_16 (percentage VARCHAR, points_for VARCHAR) [/INST]
### Response:
SELECT percentage FROM table_26200568_16 WHERE points_for = 63 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many losses does Central Blues have?
### Context:
CREATE TABLE table_26200568_16 (losses INTEGER, club VARCHAR) [/INST]
### Response:
SELECT MAX(losses) FROM table_26200568_16 WHERE club = "Central Blues" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 calculated activity (CI) is 4.96×10 −11, what is the specimen weight/size?
### Context:
CREATE TABLE table_26211058_1 (specimen_weight_size VARCHAR, calculated_activity___ci__ VARCHAR) [/INST]
### Response:
SELECT specimen_weight_size FROM table_26211058_1 WHERE calculated_activity___ci__ = "4.96×10 −11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the specimen weight/size is 1000 g / 8.79 cm, what is the calculated activity?
### Context:
CREATE TABLE table_26211058_1 (calculated_activity___bq__ VARCHAR, specimen_weight_size VARCHAR) [/INST]
### Response:
SELECT COUNT(calculated_activity___bq__) FROM table_26211058_1 WHERE specimen_weight_size = "1000 g / 8.79 cm" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new points were 5760, what is the RK?
### Context:
CREATE TABLE table_26218783_6 (rk VARCHAR, new_points VARCHAR) [/INST]
### Response:
SELECT rk FROM table_26218783_6 WHERE new_points = 5760 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player Stanislas Wawrinka on the list?
### Context:
CREATE TABLE table_26218783_6 (points VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(points) AS defending FROM table_26218783_6 WHERE player = "Stanislas Wawrinka" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time was points 6675?
### Context:
CREATE TABLE table_26218783_7 (points VARCHAR) [/INST]
### Response:
SELECT COUNT(points) AS won FROM table_26218783_7 WHERE points = 6675 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest points won from player victoria azarenka?
### Context:
CREATE TABLE table_26218783_7 (points INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(points) AS won FROM table_26218783_7 WHERE player = "Victoria Azarenka" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 status when sd is 15?
### Context:
CREATE TABLE table_26218783_7 (status VARCHAR, sd VARCHAR) [/INST]
### Response:
SELECT status FROM table_26218783_7 WHERE sd = 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:
What is the highest sd when the status is second round lost to iveta benešová?
### Context:
CREATE TABLE table_26218783_7 (sd INTEGER, status VARCHAR) [/INST]
### Response:
SELECT MAX(sd) FROM table_26218783_7 WHERE status = "Second round lost to Iveta Benešová" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 clubs were founded in the westfalenstadion stadium?
### Context:
CREATE TABLE table_26218124_1 (founded VARCHAR, stadium VARCHAR) [/INST]
### Response:
SELECT COUNT(founded) FROM table_26218124_1 WHERE stadium = "Westfalenstadion" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club was originally named hapoel katamon jerusalem f.c.?
### Context:
CREATE TABLE table_26218124_1 (original_club VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT original_club FROM table_26218124_1 WHERE name = "Hapoel Katamon Jerusalem F.C." </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 clubs were founded in belo horizonte?
### Context:
CREATE TABLE table_26218124_1 (founded VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT COUNT(founded) FROM table_26218124_1 WHERE city = "Belo Horizonte" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club was originally named the newcastle falcons?
### Context:
CREATE TABLE table_26218124_1 (original_club VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT original_club FROM table_26218124_1 WHERE name = "Newcastle Falcons" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the minimum number of f/laps?
### Context:
CREATE TABLE table_26222468_1 (f_laps INTEGER) [/INST]
### Response:
SELECT MIN(f_laps) FROM table_26222468_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:
How many seasons have points totals of N/A?
### Context:
CREATE TABLE table_26222468_1 (season VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(season) FROM table_26222468_1 WHERE points = "N/A" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum number of wins?
### Context:
CREATE TABLE table_26222468_1 (wins INTEGER) [/INST]
### Response:
SELECT MAX(wins) FROM table_26222468_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:
How many different starts had an average finish of 17.9?
### Context:
CREATE TABLE table_2622469_1 (starts VARCHAR, avg_finish VARCHAR) [/INST]
### Response:
SELECT COUNT(starts) FROM table_2622469_1 WHERE avg_finish = "17.9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the wins of 1983?
### Context:
CREATE TABLE table_2622469_1 (wins VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT wins FROM table_2622469_1 WHERE year = 1983 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes in season 3 were written by Mark Drop?
### Context:
CREATE TABLE table_2623498_4 (Season VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT Season AS episode__number FROM table_2623498_4 WHERE written_by = "Mark Drop" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 where the player was jimmy demaret
### Context:
CREATE TABLE table_262383_1 (runner_s__up VARCHAR) [/INST]
### Response:
SELECT 54 AS _holes FROM table_262383_1 WHERE runner_s__up = "Jimmy Demaret" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 space where the next one was mike turnesa
### Context:
CREATE TABLE table_262383_1 (margin VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT margin FROM table_262383_1 WHERE runner_s__up = "Mike Turnesa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 space where the next winner is skee riegel
### Context:
CREATE TABLE table_262383_1 (margin VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT margin FROM table_262383_1 WHERE runner_s__up = "Skee Riegel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 old English name of Saturday?
### Context:
CREATE TABLE table_2624098_1 (old_english_day_name VARCHAR, modern_english_day_name VARCHAR) [/INST]
### Response:
SELECT old_english_day_name FROM table_2624098_1 WHERE modern_english_day_name = "Saturday" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mant different day names in old English were coined from the Latin day name "dies iovis"?
### Context:
CREATE TABLE table_2624098_1 (old_english_day_name VARCHAR, glossed_from_latin_day_name VARCHAR) [/INST]
### Response:
SELECT COUNT(old_english_day_name) FROM table_2624098_1 WHERE glossed_from_latin_day_name = "Dies Iovis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 meanings does Wednesday have?
### Context:
CREATE TABLE table_2624098_1 (english_day_name_meaning VARCHAR, modern_english_day_name VARCHAR) [/INST]
### Response:
SELECT COUNT(english_day_name_meaning) FROM table_2624098_1 WHERE modern_english_day_name = "Wednesday" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 meaning of the old English name "sæturnesdæg"?
### Context:
CREATE TABLE table_2624098_1 (english_day_name_meaning VARCHAR, old_english_day_name VARCHAR) [/INST]
### Response:
SELECT english_day_name_meaning FROM table_2624098_1 WHERE old_english_day_name = "Sæturnesdæg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 meaning of the latin day name "dies saturni"?
### Context:
CREATE TABLE table_2624098_1 (latin_day_name_meaning VARCHAR, glossed_from_latin_day_name VARCHAR) [/INST]
### Response:
SELECT latin_day_name_meaning FROM table_2624098_1 WHERE glossed_from_latin_day_name = "Dies Saturni" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponents conference has the result L, 62-10?
### Context:
CREATE TABLE table_26240481_1 (opponents_conference VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT opponents_conference FROM table_26240481_1 WHERE result = "L, 62-10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the opponents head coach with the result L, 56-6?
### Context:
CREATE TABLE table_26240481_1 (opponents_head_coach VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT opponents_head_coach FROM table_26240481_1 WHERE result = "L, 56-6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is Charleston Southerns head coach where the result is L, 56-6?-
### Context:
CREATE TABLE table_26240481_1 (charleston_southerns_head_coach VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT charleston_southerns_head_coach FROM table_26240481_1 WHERE result = "L, 56-6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who played FBS where the result was L, 62-3?
### Context:
CREATE TABLE table_26240481_1 (fbs_opponent VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT fbs_opponent FROM table_26240481_1 WHERE result = "L, 62-3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was alfred university founded?
### Context:
CREATE TABLE table_262476_3 (founded INTEGER, institution VARCHAR) [/INST]
### Response:
SELECT MAX(founded) FROM table_262476_3 WHERE institution = "Alfred 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:
Name where bethany college is
### Context:
CREATE TABLE table_262476_1 (location VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT location FROM table_262476_1 WHERE institution = "Bethany 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:
Name the location for golden tornadoes
### Context:
CREATE TABLE table_262476_1 (location VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT location FROM table_262476_1 WHERE nickname = "Golden Tornadoes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of locations for geneva college
### Context:
CREATE TABLE table_262476_1 (location VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_262476_1 WHERE institution = "Geneva 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:
Name the enrollment for tomcats
### Context:
CREATE TABLE table_262476_1 (enrollment VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT enrollment FROM table_262476_1 WHERE nickname = "Tomcats" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season 4 appearances are there by Mrs. Jennifer Knight?
### Context:
CREATE TABLE table_26240046_1 (season_4 INTEGER, character VARCHAR) [/INST]
### Response:
SELECT MIN(season_4) FROM table_26240046_1 WHERE character = "Mrs. Jennifer Knight" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season 3 appearances by Morgan the Dog?
### Context:
CREATE TABLE table_26240046_1 (season_3 INTEGER, played_by VARCHAR) [/INST]
### Response:
SELECT MAX(season_3) FROM table_26240046_1 WHERE played_by = "Morgan the Dog" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode was the first appearance of the character who appears 7 times in season 4?
### Context:
CREATE TABLE table_26240046_1 (first_appearance VARCHAR, season_4 VARCHAR) [/INST]
### Response:
SELECT first_appearance FROM table_26240046_1 WHERE season_4 = 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:
How many season 3 appearances by the character played by Stefan Van Ray?
### Context:
CREATE TABLE table_26240046_1 (season_3 INTEGER, played_by VARCHAR) [/INST]
### Response:
SELECT MIN(season_3) FROM table_26240046_1 WHERE played_by = "Stefan van Ray" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the first appearance of the character played by Obdul Reid?
### Context:
CREATE TABLE table_26240046_1 (first_appearance VARCHAR, played_by VARCHAR) [/INST]
### Response:
SELECT first_appearance FROM table_26240046_1 WHERE played_by = "Obdul 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:
What was the primary conference when joining the cslf for the institution that was founded in 1894
### Context:
CREATE TABLE table_262501_1 (primary_conference_when_joining_the_csfl VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT primary_conference_when_joining_the_csfl FROM table_262501_1 WHERE founded = 1894 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 primary conference when joining the csfl for the institution that joined in 2004-05?
### Context:
CREATE TABLE table_262501_1 (primary_conference_when_joining_the_csfl VARCHAR, joined VARCHAR) [/INST]
### Response:
SELECT primary_conference_when_joining_the_csfl FROM table_262501_1 WHERE joined = "2004-05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 results had the theme inspirational?
### Context:
CREATE TABLE table_26250151_1 (result VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_26250151_1 WHERE theme = "Inspirational" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which episode had Lavern Baker?
### Context:
CREATE TABLE table_26250151_1 (episode VARCHAR, original_recording_artist VARCHAR) [/INST]
### Response:
SELECT episode FROM table_26250151_1 WHERE original_recording_artist = "LaVern Baker" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 order # or Erma Franklin?
### Context:
CREATE TABLE table_26250151_1 (order__number VARCHAR, original_recording_artist VARCHAR) [/INST]
### Response:
SELECT order__number FROM table_26250151_1 WHERE original_recording_artist = "Erma Franklin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 theme for the original artist Alicia Keys?
### Context:
CREATE TABLE table_26250145_1 (theme VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT theme FROM table_26250145_1 WHERE original_artist = "Alicia Keys" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the original artist Alicia keys?
### Context:
CREATE TABLE table_26250145_1 (result VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_26250145_1 WHERE original_artist = "Alicia Keys" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 order # for the original artist sarah mclachlan?
### Context:
CREATE TABLE table_26250145_1 (order__number VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT order__number FROM table_26250145_1 WHERE original_artist = "Sarah McLachlan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 them for the order #2?
### Context:
CREATE TABLE table_26250145_1 (theme VARCHAR, order__number VARCHAR) [/INST]
### Response:
SELECT theme FROM table_26250145_1 WHERE order__number = "2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When pointers are the nickname what is the type?
### Context:
CREATE TABLE table_262495_1 (type VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT type FROM table_262495_1 WHERE nickname = "Pointers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 falcons are the nickname what is the type?
### Context:
CREATE TABLE table_262495_1 (type VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT type FROM table_262495_1 WHERE nickname = "Falcons" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 9386 is the undergraduate enrollment what is the nickname?
### Context:
CREATE TABLE table_262495_1 (nickname VARCHAR, undergraduate_enrollment VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_262495_1 WHERE undergraduate_enrollment = 9386 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 choice of song where the original artist was Stevie Wonder?
### Context:
CREATE TABLE table_26250189_1 (song_choice VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT song_choice FROM table_26250189_1 WHERE original_artist = "Stevie Wonder" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Katie's order number when the theme was The Rolling Stones?
### Context:
CREATE TABLE table_26250189_1 (order__number VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT order__number FROM table_26250189_1 WHERE theme = "The Rolling Stones" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original artist of the chosen song when the theme was The Rolling Stones?
### Context:
CREATE TABLE table_26250189_1 (original_artist VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT original_artist FROM table_26250189_1 WHERE theme = "The Rolling Stones" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original artist of the First solo theme?
### Context:
CREATE TABLE table_26250155_1 (original_artist VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT original_artist FROM table_26250155_1 WHERE theme = "First Solo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 song choices where the original artist was Bright Eyes?
### Context:
CREATE TABLE table_26250155_1 (song_choice VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT COUNT(song_choice) FROM table_26250155_1 WHERE original_artist = "Bright Eyes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original artist of the group performance theme?
### Context:
CREATE TABLE table_26250155_1 (original_artist VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT original_artist FROM table_26250155_1 WHERE theme = "Group Performance" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 order number of the Billboard Hot 100 Hits theme and the original artist was Sixpence None the Richer?
### Context:
CREATE TABLE table_26250155_1 (order__number VARCHAR, theme VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT order__number FROM table_26250155_1 WHERE theme = "Billboard Hot 100 Hits" AND original_artist = "Sixpence None the Richer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of weeks that had a Billboard Hot 100 Hits theme, an order number of 3, and an original artist of Sixpence None the Richer?
### Context:
CREATE TABLE table_26250155_1 (week__number VARCHAR, original_artist VARCHAR, theme VARCHAR, order__number VARCHAR) [/INST]
### Response:
SELECT COUNT(week__number) FROM table_26250155_1 WHERE theme = "Billboard Hot 100 Hits" AND order__number = "3" AND original_artist = "Sixpence None the Richer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 joined the Warriors?
### Context:
CREATE TABLE table_262508_1 (joined VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT COUNT(joined) FROM table_262508_1 WHERE nickname = "Warriors" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.