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 125cc winners were in the same events as when the Moto2 winner was Shoya Tomizawa?
### Context:
CREATE TABLE table_20935975_1 (moto2_winner VARCHAR) [/INST]
### Response:
SELECT COUNT(125 AS cc_winner) FROM table_20935975_1 WHERE moto2_winner = "Shoya Tomizawa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
After how many opponents was the overall record 1-0-0?
### Context:
CREATE TABLE table_20928682_1 (opponents VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(opponents) FROM table_20928682_1 WHERE record = "1-0-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 was the record after the game in which the Hurricanes scored 24 points?
### Context:
CREATE TABLE table_20928682_1 (record VARCHAR, hurricanes_points VARCHAR) [/INST]
### Response:
SELECT record FROM table_20928682_1 WHERE hurricanes_points = 24 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game number was played against Georgia?
### Context:
CREATE TABLE table_20928682_1 (game INTEGER, opponent VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_20928682_1 WHERE opponent = "Georgia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 games were played against Tulane?
### Context:
CREATE TABLE table_20928682_1 (opponents VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(opponents) FROM table_20928682_1 WHERE opponent = "Tulane" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much parking is in Van Nuys at the Sepulveda station?
### Context:
CREATE TABLE table_2093995_1 (parking VARCHAR, city__neighborhood VARCHAR, stations VARCHAR) [/INST]
### Response:
SELECT parking FROM table_2093995_1 WHERE city__neighborhood = "Van Nuys" AND stations = "Sepulveda" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stations in Tarzana?
### Context:
CREATE TABLE table_2093995_1 (stations VARCHAR, city__neighborhood VARCHAR) [/INST]
### Response:
SELECT stations FROM table_2093995_1 WHERE city__neighborhood = "Tarzana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 connection catagories are there for Tampa?
### Context:
CREATE TABLE table_2093995_1 (connections VARCHAR, stations VARCHAR) [/INST]
### Response:
SELECT COUNT(connections) FROM table_2093995_1 WHERE stations = "Tampa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 station has park & ride lot parking?
### Context:
CREATE TABLE table_2093995_1 (stations VARCHAR, parking VARCHAR) [/INST]
### Response:
SELECT stations FROM table_2093995_1 WHERE parking = "Park & Ride Lot" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3-dart average with a high checkout of 112?
### Context:
CREATE TABLE table_20948329_1 (high_checkout VARCHAR) [/INST]
### Response:
SELECT 3 AS _dart_average FROM table_20948329_1 WHERE high_checkout = 112 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 180s have legs won of 45?
### Context:
CREATE TABLE table_20948329_1 (legs_won VARCHAR) [/INST]
### Response:
SELECT MAX(180 AS s) FROM table_20948329_1 WHERE legs_won = 45 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player who had 145 yards had how many touchdowns?
### Context:
CREATE TABLE table_20938922_2 (touchdowns VARCHAR, yards VARCHAR) [/INST]
### Response:
SELECT COUNT(touchdowns) FROM table_20938922_2 WHERE yards = 145 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team did the player have who had 27 total carries?
### Context:
CREATE TABLE table_20938922_2 (team VARCHAR, carries VARCHAR) [/INST]
### Response:
SELECT team FROM table_20938922_2 WHERE carries = 27 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player's team's opponent for Week 12?
### Context:
CREATE TABLE table_20938922_2 (opponent VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_20938922_2 WHERE week = 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 directed the episode that originally aired on March 18, 1988?
### Context:
CREATE TABLE table_20967430_4 (directed_by VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_20967430_4 WHERE original_air_date = "March 18, 1988" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name of the episode that aired originally on March 11, 1988?
### Context:
CREATE TABLE table_20967430_4 (title VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT title FROM table_20967430_4 WHERE original_air_date = "March 11, 1988" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the episode written by Jack Carrerrow?
### Context:
CREATE TABLE table_20967430_4 (prod_code VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT prod_code FROM table_20967430_4 WHERE written_by = "Jack Carrerrow" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes had a production code of 5m13?
### Context:
CREATE TABLE table_20967430_4 (ep VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT COUNT(ep) FROM table_20967430_4 WHERE prod_code = "5M13" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title that aired for november 08, 1985
### Context:
CREATE TABLE table_20967430_2 (title VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT title FROM table_20967430_2 WHERE original_air_date = "November 08, 1985" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code for november 08, 1985
### Context:
CREATE TABLE table_20967430_2 (prod_code VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT prod_code FROM table_20967430_2 WHERE original_air_date = "November 08, 1985" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 written by for production code 4g07
### Context:
CREATE TABLE table_20967430_2 (written_by VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_20967430_2 WHERE prod_code = "4G07" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least episode for november 29, 1985
### Context:
CREATE TABLE table_20967430_2 (ep INTEGER, original_air_date VARCHAR) [/INST]
### Response:
SELECT MIN(ep) FROM table_20967430_2 WHERE original_air_date = "November 29, 1985" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final score when tracy austin was runner up?
### Context:
CREATE TABLE table_20986710_1 (score_in_final VARCHAR, runner_up VARCHAR) [/INST]
### Response:
SELECT score_in_final FROM table_20986710_1 WHERE runner_up = "Tracy Austin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 5a06 is the production code what is the highest episode?
### Context:
CREATE TABLE table_20967430_3 (ep INTEGER, prod_code VARCHAR) [/INST]
### Response:
SELECT MAX(ep) FROM table_20967430_3 WHERE prod_code = "5A06" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 it is season 10 who are the writers?
### Context:
CREATE TABLE table_20967430_3 (written_by VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_20967430_3 WHERE season = 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:
when womens singles is wang yihan and tour is french super series, what were the men's singles?
### Context:
CREATE TABLE table_21001903_2 (mens_singles VARCHAR, womens_singles VARCHAR, tour VARCHAR) [/INST]
### Response:
SELECT mens_singles FROM table_21001903_2 WHERE womens_singles = "Wang Yihan" AND tour = "French Super Series" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mixed doubles is zheng bo ma jin and womens singles is wang yihan, what was the tour?
### Context:
CREATE TABLE table_21001903_2 (tour VARCHAR, mixed_doubles VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT tour FROM table_21001903_2 WHERE mixed_doubles = "Zheng Bo Ma Jin" AND womens_singles = "Wang Yihan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles were directed by Alex Chapple?
### Context:
CREATE TABLE table_21002034_4 (title VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_21002034_4 WHERE director = "Alex Chapple" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most number for air date 2009/12/29
### Context:
CREATE TABLE table_21002034_7 (_number INTEGER, air_date_netherlands_yyyy_mm_dd VARCHAR) [/INST]
### Response:
SELECT MAX(_number) FROM table_21002034_7 WHERE air_date_netherlands_yyyy_mm_dd = "2009/12/29" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 millions viewers watched the episode that ran 23:25?
### Context:
CREATE TABLE table_2101431_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT viewers__in_millions_ FROM table_2101431_1 WHERE run_time = "23:25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 broadcast date of the episode on 16mm t/r that ran 23:25?
### Context:
CREATE TABLE table_2101431_1 (broadcast_date VARCHAR, archive VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT broadcast_date FROM table_2101431_1 WHERE archive = "16mm t/r" AND run_time = "23:25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which episode was watched by 7.2 million viewers?
### Context:
CREATE TABLE table_2101431_1 (episode VARCHAR, viewers__in_millions_ VARCHAR) [/INST]
### Response:
SELECT episode FROM table_2101431_1 WHERE viewers__in_millions_ = "7.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 episode had a run time of 24:18?
### Context:
CREATE TABLE table_2101431_1 (episode VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT episode FROM table_2101431_1 WHERE run_time = "24:18" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the greatest number of valves?
### Context:
CREATE TABLE table_21021796_1 (valves INTEGER) [/INST]
### Response:
SELECT MIN(valves) FROM table_21021796_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:
For the 1999 w210 e-class , 2000 w203 c-class, what is the stroke?
### Context:
CREATE TABLE table_21021796_1 (stroke VARCHAR, applications VARCHAR) [/INST]
### Response:
SELECT stroke FROM table_21021796_1 WHERE applications = "1999 W210 E-Class , 2000 W203 C-Class" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 displacement for torque of n·m (lb·ft) @1500 rpm?
### Context:
CREATE TABLE table_21021796_1 (displacement VARCHAR, torque VARCHAR) [/INST]
### Response:
SELECT displacement FROM table_21021796_1 WHERE torque = "N·m (lb·ft) @1500 rpm" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 torque is n·m (lb·ft) @1600–2400 rpm and applications is 2000 w90x sprinter, what is the power?
### Context:
CREATE TABLE table_21021796_1 (power VARCHAR, torque VARCHAR, applications VARCHAR) [/INST]
### Response:
SELECT power FROM table_21021796_1 WHERE torque = "N·m (lb·ft) @1600–2400 rpm" AND applications = "2000 W90x Sprinter" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the torque possible when the stroke is 88.4mm?
### Context:
CREATE TABLE table_21021796_1 (torque VARCHAR, stroke VARCHAR) [/INST]
### Response:
SELECT torque FROM table_21021796_1 WHERE stroke = "88.4mm" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent for 7-1-0
### Context:
CREATE TABLE table_21007907_1 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_21007907_1 WHERE record = "7-1-0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the episode for run time 25:05
### Context:
CREATE TABLE table_2102782_1 (episode VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT episode FROM table_2102782_1 WHERE run_time = "25: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:
Name the broadcast date for run timke of 25:04
### Context:
CREATE TABLE table_2102782_1 (broadcast_date VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT broadcast_date FROM table_2102782_1 WHERE run_time = "25:04" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the archive for run time of 23:55
### Context:
CREATE TABLE table_2102782_1 (archive VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT archive FROM table_2102782_1 WHERE run_time = "23:55" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the broadcast date for 7.4 viewers
### Context:
CREATE TABLE table_2102782_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) [/INST]
### Response:
SELECT broadcast_date FROM table_2102782_1 WHERE viewers__in_millions_ = "7.4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the broadcast date for 6.0 viewers
### Context:
CREATE TABLE table_2102782_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) [/INST]
### Response:
SELECT broadcast_date FROM table_2102782_1 WHERE viewers__in_millions_ = "6.0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many episodes were written by Kirstie Falkous & John Regier?
### Context:
CREATE TABLE table_21025437_2 (episode_no VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT COUNT(episode_no) FROM table_21025437_2 WHERE written_by = "Kirstie Falkous & John Regier" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had 9.7 million viewers?
### Context:
CREATE TABLE table_2102714_1 (episode VARCHAR, viewers__in_millions_ VARCHAR) [/INST]
### Response:
SELECT episode FROM table_2102714_1 WHERE viewers__in_millions_ = "9.7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date was an episode broadcasted on that had a run time of 24:40?
### Context:
CREATE TABLE table_2102714_1 (broadcast_date VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT broadcast_date FROM table_2102714_1 WHERE run_time = "24: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 episode had a run time of 24:53?
### Context:
CREATE TABLE table_2102714_1 (episode VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT episode FROM table_2102714_1 WHERE run_time = "24:53" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 archive for the episode with a run time of 25:24?
### Context:
CREATE TABLE table_2102714_1 (archive VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT archive FROM table_2102714_1 WHERE run_time = "25:24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 he archive for the episode with a run time of 24:05?
### Context:
CREATE TABLE table_2102714_1 (archive VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT archive FROM table_2102714_1 WHERE run_time = "24: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:
Who directed episode number 23?
### Context:
CREATE TABLE table_21025437_6 (directed_by VARCHAR, episode_no VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_21025437_6 WHERE episode_no = 23 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the numer of the game when the record was 4-0?
### Context:
CREATE TABLE table_21034801_1 (game INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_21034801_1 WHERE record = "4-0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many opponents led to an exactly 7-0 record?
### Context:
CREATE TABLE table_21034801_1 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(opponent) FROM table_21034801_1 WHERE record = "7-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 number was the game against Kansas State?
### Context:
CREATE TABLE table_21034801_1 (game VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT game FROM table_21034801_1 WHERE opponent = "Kansas State" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many episodes ran 24:33?
### Context:
CREATE TABLE table_2102898_1 (episode VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT COUNT(episode) FROM table_2102898_1 WHERE run_time = "24:33" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On broadcast date is 25april1970, how many people tuned in?
### Context:
CREATE TABLE table_2102898_1 (viewers__in_millions_ VARCHAR, broadcast_date VARCHAR) [/INST]
### Response:
SELECT viewers__in_millions_ FROM table_2102898_1 WHERE broadcast_date = "25April1970" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 broadcast date is 28march1970, how many people tuned in?
### Context:
CREATE TABLE table_2102898_1 (viewers__in_millions_ VARCHAR, broadcast_date VARCHAR) [/INST]
### Response:
SELECT viewers__in_millions_ FROM table_2102898_1 WHERE broadcast_date = "28March1970" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 broadcast date is 21march1970, how many people tuned in?
### Context:
CREATE TABLE table_2102898_1 (viewers__in_millions_ VARCHAR, broadcast_date VARCHAR) [/INST]
### Response:
SELECT COUNT(viewers__in_millions_) FROM table_2102898_1 WHERE broadcast_date = "21March1970" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 archive of the show that aired on 18april1970?
### Context:
CREATE TABLE table_2102898_1 (archive VARCHAR, broadcast_date VARCHAR) [/INST]
### Response:
SELECT archive FROM table_2102898_1 WHERE broadcast_date = "18April1970" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least amount of points scored by the golden bears when the opponent scored 15 points?
### Context:
CREATE TABLE table_21035326_1 (golden_bears_points INTEGER, opponents VARCHAR) [/INST]
### Response:
SELECT MIN(golden_bears_points) FROM table_21035326_1 WHERE opponents = 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 total number of opponents played against the bears in game 4?
### Context:
CREATE TABLE table_21035326_1 (opponents VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(opponents) FROM table_21035326_1 WHERE game = 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 opponent was playing against the Golden Bears when they scored 3 points?
### Context:
CREATE TABLE table_21035326_1 (opponent VARCHAR, golden_bears_points VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_21035326_1 WHERE golden_bears_points = 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Medal of Honor with Army Distinguished Service Medal?
### Context:
CREATE TABLE table_2104176_1 (medal_of_honor VARCHAR, air_force_cross VARCHAR) [/INST]
### Response:
SELECT medal_of_honor FROM table_2104176_1 WHERE air_force_cross = "Army Distinguished Service Medal" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Homeland security distinguished service medal when the medal of honor is Coast guard Medal?
### Context:
CREATE TABLE table_2104176_1 (homeland_security_distinguished_service_medal VARCHAR, medal_of_honor VARCHAR) [/INST]
### Response:
SELECT homeland_security_distinguished_service_medal FROM table_2104176_1 WHERE medal_of_honor = "Coast Guard Medal" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 distinguished service cross when the navy cross is Coast Guard commendation medal?
### Context:
CREATE TABLE table_2104176_1 (distinguished_service_cross VARCHAR, navy_cross VARCHAR) [/INST]
### Response:
SELECT distinguished_service_cross FROM table_2104176_1 WHERE navy_cross = "Coast Guard Commendation Medal" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the air force cross when you recieve the Aerial achievement medal?
### Context:
CREATE TABLE table_2104176_1 (air_force_cross VARCHAR, homeland_security_distinguished_service_medal VARCHAR) [/INST]
### Response:
SELECT air_force_cross FROM table_2104176_1 WHERE homeland_security_distinguished_service_medal = "Aerial Achievement Medal" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coast guard cross when you recieve the navy distinguished service medal?
### Context:
CREATE TABLE table_2104176_1 (coast_guard_cross VARCHAR, distinguished_service_cross VARCHAR) [/INST]
### Response:
SELECT coast_guard_cross FROM table_2104176_1 WHERE distinguished_service_cross = "Navy Distinguished Service Medal" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many figures are given for Walker's percentage in Kenosha county?
### Context:
CREATE TABLE table_21046399_3 (walker__percentage VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT COUNT(walker__percentage) FROM table_21046399_3 WHERE county = "Kenosha" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 percentage did Walker win in Calumet county?
### Context:
CREATE TABLE table_21046399_3 (walker__percentage VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT walker__percentage FROM table_21046399_3 WHERE county = "Calumet" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total figures are given for Milwaukee county?
### Context:
CREATE TABLE table_21046399_3 (won_by VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT COUNT(won_by) FROM table_21046399_3 WHERE county = "Milwaukee" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 they do in the game when their record was 3-2-1?
### Context:
CREATE TABLE table_21058823_1 (result VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT result FROM table_21058823_1 WHERE record = "3-2-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 did they do against Villanova?
### Context:
CREATE TABLE table_21058823_1 (result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_21058823_1 WHERE opponent = "Villanova" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 they do against Memphis?
### Context:
CREATE TABLE table_21058823_1 (result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_21058823_1 WHERE opponent = "Memphis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 games did they play when their record 0-2-0?
### Context:
CREATE TABLE table_21058823_1 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_21058823_1 WHERE record = "0-2-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:
When did the episode seen by is 2.267 million people get aired?
### Context:
CREATE TABLE table_21055055_2 (au_air_date VARCHAR, viewers__m_ VARCHAR) [/INST]
### Response:
SELECT au_air_date FROM table_21055055_2 WHERE viewers__m_ = "2.267" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode for run time in 24:44
### Context:
CREATE TABLE table_2105721_1 (episode VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT episode FROM table_2105721_1 WHERE run_time = "24:44" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode for runtime of 24:11
### Context:
CREATE TABLE table_2105721_1 (episode VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT COUNT(episode) FROM table_2105721_1 WHERE run_time = "24: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:
Who did the team play against when a record of 3-1, #16 was achieved?
### Context:
CREATE TABLE table_21063459_1 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_21063459_1 WHERE record = "3-1, #16" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result of the game against Mississippi State?
### Context:
CREATE TABLE table_21063459_1 (result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_21063459_1 WHERE opponent = "Mississippi State" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who did the team play against in the game that resulted with a loss?
### Context:
CREATE TABLE table_21063459_1 (opponent VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_21063459_1 WHERE result = "Loss" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game did the Bruins play Santa Clara?
### Context:
CREATE TABLE table_21058836_1 (game VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT game FROM table_21058836_1 WHERE opponent = "Santa Clara" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Santa Clara was played how many times?
### Context:
CREATE TABLE table_21058836_1 (opponents VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT opponents FROM table_21058836_1 WHERE opponent = "Santa Clara" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game the Bruins scored 26 ,what was the result?
### Context:
CREATE TABLE table_21058836_1 (result VARCHAR, opponents VARCHAR) [/INST]
### Response:
SELECT result FROM table_21058836_1 WHERE opponents = 26 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the record for game 9?
### Context:
CREATE TABLE table_21058836_1 (record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT record FROM table_21058836_1 WHERE game = 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:
Who were the opponents of the Wildcats in game 4?
### Context:
CREATE TABLE table_21062353_1 (opponent VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_21062353_1 WHERE game = 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:
Who were the the opponents of the Wildcats for game 8 of the season?
### Context:
CREATE TABLE table_21062353_1 (opponent VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_21062353_1 WHERE game = 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 was the record of the Wildcats after playing Florida?
### Context:
CREATE TABLE table_21062353_1 (record VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT record FROM table_21062353_1 WHERE opponent = "Florida" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times did the Wildcats play a game 11 regardless of points scored?
### Context:
CREATE TABLE table_21062353_1 (wildcats_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(wildcats_points) FROM table_21062353_1 WHERE game = 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:
Name the number of black knights points for 3 game
### Context:
CREATE TABLE table_21091145_1 (black_knights_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(black_knights_points) FROM table_21091145_1 WHERE game = 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:
Name the opponents for game 5
### Context:
CREATE TABLE table_21091145_1 (opponents VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT opponents FROM table_21091145_1 WHERE game = 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the result for 19 black knights points
### Context:
CREATE TABLE table_21091145_1 (result VARCHAR, black_knights_points VARCHAR) [/INST]
### Response:
SELECT result FROM table_21091145_1 WHERE black_knights_points = 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:
Name the opponent for black knights points 27
### Context:
CREATE TABLE table_21091145_1 (opponent VARCHAR, black_knights_points VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_21091145_1 WHERE black_knights_points = 27 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game 8
### Context:
CREATE TABLE table_21091157_1 (date VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT date FROM table_21091157_1 WHERE game = 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:
Name the number of date for 1-0 record
### Context:
CREATE TABLE table_21091157_1 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_21091157_1 WHERE record = "1-0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the game for record 1-0
### Context:
CREATE TABLE table_21091157_1 (game VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT game FROM table_21091157_1 WHERE record = "1-0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most game
### Context:
CREATE TABLE table_21091157_1 (game INTEGER) [/INST]
### Response:
SELECT MAX(game) FROM table_21091157_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 games have a record of 3-4-0?
### Context:
CREATE TABLE table_21091162_1 (game INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_21091162_1 WHERE record = "3-4-0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many dates have boston college as the opponent?
### Context:
CREATE TABLE table_21091162_1 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_21091162_1 WHERE opponent = "Boston College" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games have Air Force as the opponent?
### Context:
CREATE TABLE table_21091162_1 (game INTEGER, opponent VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_21091162_1 WHERE opponent = "Air Force" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 records have black knights points as 17?
### Context:
CREATE TABLE table_21091162_1 (record VARCHAR, black_knights_points VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_21091162_1 WHERE black_knights_points = 17 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.