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:
The tournament Buick Classic occured on what dates?
### Context:
CREATE TABLE table_1507431_1 (date VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT date FROM table_1507431_1 WHERE tournament = "Buick Classic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who are all runner-ups for No. 2?
### Context:
CREATE TABLE table_1507431_1 (runner_up VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT runner_up FROM table_1507431_1 WHERE no = 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 the nickname halley is used, what are the date completed
### Context:
CREATE TABLE table_15070195_1 (date_completed VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT date_completed FROM table_15070195_1 WHERE nickname = "Halley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date complted is 02/91, what framed size was used
### Context:
CREATE TABLE table_15070195_1 (framed_size VARCHAR, date_completed VARCHAR) [/INST]
### Response:
SELECT framed_size FROM table_15070195_1 WHERE date_completed = "02/91" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 robot black nickname, what framed size is used
### Context:
CREATE TABLE table_15070195_1 (framed_size VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT framed_size FROM table_15070195_1 WHERE nickname = "Robot 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 are the attributes when the type is "DOMNodeRemoved"?
### Context:
CREATE TABLE table_1507852_1 (attribute VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT attribute FROM table_1507852_1 WHERE type = "DOMNodeRemoved" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 categories are there when the attribute is "onreset"?
### Context:
CREATE TABLE table_1507852_1 (category VARCHAR, attribute VARCHAR) [/INST]
### Response:
SELECT COUNT(category) FROM table_1507852_1 WHERE attribute = "onreset" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 descriptions are there when the attribute is "ondragstart"?
### Context:
CREATE TABLE table_1507852_1 (description VARCHAR, attribute VARCHAR) [/INST]
### Response:
SELECT COUNT(description) FROM table_1507852_1 WHERE attribute = "ondragstart" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the type is "reset" what is the description?
### Context:
CREATE TABLE table_1507852_1 (description VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT description FROM table_1507852_1 WHERE type = "reset" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all the team clasification where the combination classification is mederic clain
### Context:
CREATE TABLE table_15088557_1 (team_classification VARCHAR, combination_classification VARCHAR) [/INST]
### Response:
SELECT team_classification FROM table_15088557_1 WHERE combination_classification = "Mederic Clain" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In how many stages did Jose Vicente Garcia Acosta won?
### Context:
CREATE TABLE table_15088557_1 (stage VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT COUNT(stage) FROM table_15088557_1 WHERE winner = "Jose Vicente Garcia Acosta" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stage where Sergei Smetanine won?
### Context:
CREATE TABLE table_15088557_1 (stage INTEGER, winner VARCHAR) [/INST]
### Response:
SELECT MIN(stage) FROM table_15088557_1 WHERE winner = "Sergei Smetanine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stage where mountains classification is aitor osa and aitor gonzález won?
### Context:
CREATE TABLE table_15088557_1 (stage INTEGER, mountains_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT MIN(stage) FROM table_15088557_1 WHERE mountains_classification = "Aitor Osa" AND winner = "Aitor González" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the top division for the team that finished 005 5th in 2012-2013
### Context:
CREATE TABLE table_1510519_1 (number_of_seasons_in_top_division VARCHAR, position_in_2012_13 VARCHAR) [/INST]
### Response:
SELECT COUNT(number_of_seasons_in_top_division) FROM table_1510519_1 WHERE position_in_2012_13 = "005 5th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 countries does honoree Roberto de Vicenzo represent?
### Context:
CREATE TABLE table_1515346_2 (country VARCHAR, honoree_s_ VARCHAR) [/INST]
### Response:
SELECT COUNT(country) FROM table_1515346_2 WHERE honoree_s_ = "Roberto De Vicenzo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which country does Keith Fergus play?
### Context:
CREATE TABLE table_1515346_2 (country VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT country FROM table_1515346_2 WHERE player = "Keith Fergus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who won the tournament for Australia in the year when Byron Nelson was Honoree?
### Context:
CREATE TABLE table_1515346_2 (player VARCHAR, country VARCHAR, honoree_s_ VARCHAR) [/INST]
### Response:
SELECT player FROM table_1515346_2 WHERE country = "Australia" AND honoree_s_ = "Byron Nelson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the margin of victory in the year when the honoree was Tommy Armour?
### Context:
CREATE TABLE table_1515346_2 (margin_of_victory VARCHAR, honoree_s_ VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_1515346_2 WHERE honoree_s_ = "Tommy Armour" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the most recent US Open championship?
### Context:
CREATE TABLE table_1514559_1 (year INTEGER, championship VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_1514559_1 WHERE championship = "US Open" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nominees had a net voice of 15.17%
### Context:
CREATE TABLE table_15162479_8 (nominee VARCHAR, net_vote VARCHAR) [/INST]
### Response:
SELECT COUNT(nominee) FROM table_15162479_8 WHERE net_vote = "15.17%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What nominees had a net vote of 34.46%?
### Context:
CREATE TABLE table_15162479_8 (nominee VARCHAR, net_vote VARCHAR) [/INST]
### Response:
SELECT nominee FROM table_15162479_8 WHERE net_vote = "34.46%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many nominee's had a vote to evict percentage of 3.92%
### Context:
CREATE TABLE table_15162479_8 (nominee VARCHAR, vote_to_evict VARCHAR) [/INST]
### Response:
SELECT COUNT(nominee) FROM table_15162479_8 WHERE vote_to_evict = "3.92%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 eviction results occurred with a eviction no. 12 and a vote to save of 2.76%?
### Context:
CREATE TABLE table_15162479_8 (eviction_result VARCHAR, eviction_no VARCHAR, vote_to_save VARCHAR) [/INST]
### Response:
SELECT COUNT(eviction_result) FROM table_15162479_8 WHERE eviction_no = 12 AND vote_to_save = "2.76%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result when the viewers selected ejay?
### Context:
CREATE TABLE table_15162503_1 (result VARCHAR, viewers_selection VARCHAR) [/INST]
### Response:
SELECT result FROM table_15162503_1 WHERE viewers_selection = "Ejay" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 description when the viewers selected Nan?
### Context:
CREATE TABLE table_15162503_1 (description VARCHAR, viewers_selection VARCHAR) [/INST]
### Response:
SELECT description FROM table_15162503_1 WHERE viewers_selection = "Nan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name of series episode 11-02's segment c?
### Context:
CREATE TABLE table_15187735_11 (segment_c VARCHAR, series_ep VARCHAR) [/INST]
### Response:
SELECT segment_c FROM table_15187735_11 WHERE series_ep = "11-02" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series episode 11-05's segment d?
### Context:
CREATE TABLE table_15187735_11 (segment_d VARCHAR, series_ep VARCHAR) [/INST]
### Response:
SELECT segment_d FROM table_15187735_11 WHERE series_ep = "11-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:
In seris episode 11-04, what is the B segment titled?
### Context:
CREATE TABLE table_15187735_11 (segment_b VARCHAR, series_ep VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_11 WHERE series_ep = "11-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:
In the episode where segment a is microphones, what is segment d?
### Context:
CREATE TABLE table_15187735_11 (segment_d VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT segment_d FROM table_15187735_11 WHERE segment_a = "Microphones" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Segment B for series episode 12-08?
### Context:
CREATE TABLE table_15187735_12 (segment_b VARCHAR, series_ep VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_12 WHERE series_ep = "12-08" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the series episode where Segment B is popcorn ?
### Context:
CREATE TABLE table_15187735_12 (series_ep VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT series_ep FROM table_15187735_12 WHERE segment_b = "Popcorn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Netflix where Segment C is car washes?
### Context:
CREATE TABLE table_15187735_12 (netflix VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT netflix FROM table_15187735_12 WHERE segment_c = "Car Washes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Segment B for series episode 12-02?
### Context:
CREATE TABLE table_15187735_12 (segment_b VARCHAR, series_ep VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_12 WHERE series_ep = "12-02" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Segment A where Segment B is Kevlar S Canoe?
### Context:
CREATE TABLE table_15187735_12 (segment_a VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_12 WHERE segment_b = "Kevlar s Canoe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Netflix where Segment D is pressure gauges ?
### Context:
CREATE TABLE table_15187735_12 (netflix VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT netflix FROM table_15187735_12 WHERE segment_d = "Pressure Gauges" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment d for bowling balls
### Context:
CREATE TABLE table_15187735_13 (segment_d VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT segment_d FROM table_15187735_13 WHERE segment_a = "Bowling Balls" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment b for pressure cookers
### Context:
CREATE TABLE table_15187735_13 (segment_b VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_13 WHERE segment_a = "Pressure Cookers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment b for 167
### Context:
CREATE TABLE table_15187735_13 (segment_b VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_13 WHERE episode = 167 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment a for 162
### Context:
CREATE TABLE table_15187735_13 (segment_a VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_13 WHERE episode = 162 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of segment c for pressure cookers
### Context:
CREATE TABLE table_15187735_13 (segment_c VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT COUNT(segment_c) FROM table_15187735_13 WHERE segment_a = "Pressure Cookers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment C when segment D was fluorescent tubes?
### Context:
CREATE TABLE table_15187735_1 (segment_c VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT segment_c FROM table_15187735_1 WHERE segment_d = "Fluorescent Tubes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment C when segment B was package printing?
### Context:
CREATE TABLE table_15187735_1 (segment_c VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT segment_c FROM table_15187735_1 WHERE segment_b = "Package printing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment A when segment B was snowboards?
### Context:
CREATE TABLE table_15187735_1 (segment_a VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_1 WHERE segment_b = "Snowboards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment D when segment B was jeans?
### Context:
CREATE TABLE table_15187735_1 (segment_d VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT segment_d FROM table_15187735_1 WHERE segment_b = "Jeans" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what episode was segment D ned Can Corn?
### Context:
CREATE TABLE table_15187735_1 (episode INTEGER, segment_d VARCHAR) [/INST]
### Response:
SELECT MAX(episode) FROM table_15187735_1 WHERE segment_d = "ned Can Corn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment c for crash test dummies
### Context:
CREATE TABLE table_15187735_10 (segment_c VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT COUNT(segment_c) FROM table_15187735_10 WHERE segment_d = "Crash Test Dummies" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment b for s dress form
### Context:
CREATE TABLE table_15187735_10 (segment_b VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_10 WHERE segment_a = "s Dress Form" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment a for s duvet
### Context:
CREATE TABLE table_15187735_10 (segment_a VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_10 WHERE segment_c = "s Duvet" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of episodes for s fire extinguisher
### Context:
CREATE TABLE table_15187735_10 (episode VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT COUNT(episode) FROM table_15187735_10 WHERE segment_a = "s Fire Extinguisher" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of segment b for s banjo
### Context:
CREATE TABLE table_15187735_10 (segment_b VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT COUNT(segment_b) FROM table_15187735_10 WHERE segment_d = "s Banjo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of segment d for wooden s barrel
### Context:
CREATE TABLE table_15187735_10 (segment_d VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT COUNT(segment_d) FROM table_15187735_10 WHERE segment_a = "Wooden s Barrel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment A were in series episode 14-05
### Context:
CREATE TABLE table_15187735_14 (segment_a VARCHAR, series_ep VARCHAR) [/INST]
### Response:
SELECT COUNT(segment_a) FROM table_15187735_14 WHERE series_ep = "14-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:
What is segment C in s07e05
### Context:
CREATE TABLE table_15187735_14 (segment_c VARCHAR, netflix VARCHAR) [/INST]
### Response:
SELECT segment_c FROM table_15187735_14 WHERE netflix = "S07E05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 netflix episode number where Segment D is high-performance engines?
### Context:
CREATE TABLE table_15187735_15 (netflix VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT netflix FROM table_15187735_15 WHERE segment_d = "High-Performance Engines" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment D for episode 183?
### Context:
CREATE TABLE table_15187735_15 (segment_d VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT segment_d FROM table_15187735_15 WHERE episode = 183 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Segment A where Segment C is Sushi (part 1)?
### Context:
CREATE TABLE table_15187735_15 (segment_a VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_15 WHERE segment_c = "Sushi (Part 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 episodes have the Netflix episode number S08E04?
### Context:
CREATE TABLE table_15187735_15 (episode VARCHAR, netflix VARCHAR) [/INST]
### Response:
SELECT COUNT(episode) FROM table_15187735_15 WHERE netflix = "S08E04" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Segment A where Segment D is luxury sports cars?
### Context:
CREATE TABLE table_15187735_15 (segment_a VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_15 WHERE segment_d = "Luxury Sports Cars" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number is the episode with a segment on thinning shears?
### Context:
CREATE TABLE table_15187735_20 (episode INTEGER, segment_a VARCHAR) [/INST]
### Response:
SELECT MIN(episode) FROM table_15187735_20 WHERE segment_a = "Thinning Shears" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has segment D on custom motorcycle tanks?
### Context:
CREATE TABLE table_15187735_20 (episode INTEGER, segment_d VARCHAR) [/INST]
### Response:
SELECT MIN(episode) FROM table_15187735_20 WHERE segment_d = "Custom Motorcycle Tanks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment C are there in the episode where segment D is bicycle tires?
### Context:
CREATE TABLE table_15187735_20 (segment_c VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT COUNT(segment_c) FROM table_15187735_20 WHERE segment_d = "Bicycle Tires" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number?
### Context:
CREATE TABLE table_15187735_20 (episode INTEGER) [/INST]
### Response:
SELECT MIN(episode) FROM table_15187735_20 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment b's when segment a is filigree glass
### Context:
CREATE TABLE table_15187735_16 (segment_b VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT COUNT(segment_b) FROM table_15187735_16 WHERE segment_a = "Filigree Glass" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Whats the name of segment in s08e21
### Context:
CREATE TABLE table_15187735_16 (segment_a VARCHAR, netflix VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_16 WHERE netflix = "S08E21" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Whats the season/episode of segment a digital dentistry
### Context:
CREATE TABLE table_15187735_16 (netflix VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT netflix FROM table_15187735_16 WHERE segment_a = "Digital Dentistry" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Whats the name of segment D in the episode where segment A is tequila
### Context:
CREATE TABLE table_15187735_16 (segment_d VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT segment_d FROM table_15187735_16 WHERE segment_a = "Tequila" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episods for segment c being s oyster
### Context:
CREATE TABLE table_15187735_18 (episode VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT COUNT(episode) FROM table_15187735_18 WHERE segment_c = "s Oyster" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fibre cement siding
### Context:
CREATE TABLE table_15187735_18 (episode INTEGER, segment_d VARCHAR) [/INST]
### Response:
SELECT MIN(episode) FROM table_15187735_18 WHERE segment_d = "Fibre Cement Siding" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment b for 226 episode
### Context:
CREATE TABLE table_15187735_18 (segment_b VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_18 WHERE episode = 226 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sement d for solar water heaters
### Context:
CREATE TABLE table_15187735_18 (segment_d VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT COUNT(segment_d) FROM table_15187735_18 WHERE segment_b = "Solar Water Heaters" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment d for s cufflink
### Context:
CREATE TABLE table_15187735_18 (segment_d VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT segment_d FROM table_15187735_18 WHERE segment_a = "s Cufflink" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment B of episode 242?
### Context:
CREATE TABLE table_15187735_19 (segment_b VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_19 WHERE episode = 242 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment C of the episode where segment B is Film Digitization?
### Context:
CREATE TABLE table_15187735_19 (segment_c VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT segment_c FROM table_15187735_19 WHERE segment_b = "Film Digitization" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment A on episode 237?
### Context:
CREATE TABLE table_15187735_19 (segment_a VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_19 WHERE episode = 237 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 last episode which has segment d as blown glass?
### Context:
CREATE TABLE table_15187735_4 (episode INTEGER, segment_d VARCHAR) [/INST]
### Response:
SELECT MAX(episode) FROM table_15187735_4 WHERE segment_d = "Blown Glass" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode with a netflix episode code of s02e20?
### Context:
CREATE TABLE table_15187735_4 (episode INTEGER, netflix VARCHAR) [/INST]
### Response:
SELECT MIN(episode) FROM table_15187735_4 WHERE netflix = "S02E20" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 netflix code for episode 46?
### Context:
CREATE TABLE table_15187735_4 (netflix VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT netflix FROM table_15187735_4 WHERE episode = 46 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the netflix code where the series and episode are 4-11?
### Context:
CREATE TABLE table_15187735_4 (netflix VARCHAR, series_ep VARCHAR) [/INST]
### Response:
SELECT netflix FROM table_15187735_4 WHERE series_ep = "4-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:
What is listed in segment b when segment c is artificial flowers?
### Context:
CREATE TABLE table_15187735_21 (segment_b VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_21 WHERE segment_c = "Artificial Flowers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles of segment c when segment d is motorcycle brake locks?
### Context:
CREATE TABLE table_15187735_21 (segment_c VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT segment_c FROM table_15187735_21 WHERE segment_d = "Motorcycle Brake Locks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles of segment c for series episode is 21-08?
### Context:
CREATE TABLE table_15187735_21 (segment_c VARCHAR, series_ep VARCHAR) [/INST]
### Response:
SELECT segment_c FROM table_15187735_21 WHERE series_ep = "21-08" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the titles of segment b when segment c is standby generators (part 1)?
### Context:
CREATE TABLE table_15187735_21 (segment_b VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_21 WHERE segment_c = "Standby Generators (Part 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 are the titles of segment a for series episode 21-12?
### Context:
CREATE TABLE table_15187735_21 (segment_a VARCHAR, series_ep VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_21 WHERE series_ep = "21-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:
Name the number of episode for phyllo dough
### Context:
CREATE TABLE table_15187735_3 (episode VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT COUNT(episode) FROM table_15187735_3 WHERE segment_c = "Phyllo Dough" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment d for combination locks
### Context:
CREATE TABLE table_15187735_3 (segment_d VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT segment_d FROM table_15187735_3 WHERE segment_a = "Combination Locks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series ep for s02e08
### Context:
CREATE TABLE table_15187735_3 (series_ep VARCHAR, netflix VARCHAR) [/INST]
### Response:
SELECT series_ep FROM table_15187735_3 WHERE netflix = "S02E08" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment c for couscous
### Context:
CREATE TABLE table_15187735_3 (segment_c VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT segment_c FROM table_15187735_3 WHERE segment_b = "Couscous" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment c for pottery
### Context:
CREATE TABLE table_15187735_3 (segment_c VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT segment_c FROM table_15187735_3 WHERE segment_b = "Pottery" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment d for chicken
### Context:
CREATE TABLE table_15187735_3 (segment_d VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT segment_d FROM table_15187735_3 WHERE segment_c = "Chicken" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Segment A for when Segment C is s Sailboard?
### Context:
CREATE TABLE table_15187735_6 (segment_a VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_6 WHERE segment_c = "s Sailboard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Segment B when the Segment D is s Hammock?
### Context:
CREATE TABLE table_15187735_6 (segment_b VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_6 WHERE segment_d = "s Hammock" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Netflix Episode when the Segment B is s Highlighter?
### Context:
CREATE TABLE table_15187735_6 (netflix VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT netflix FROM table_15187735_6 WHERE segment_b = "s Highlighter" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 #1?
### Context:
CREATE TABLE table_15190346_2 (location VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT location FROM table_15190346_2 WHERE _number = 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 stadium was the 1994 Gator Bowl in?
### Context:
CREATE TABLE table_15190346_2 (stadium VARCHAR, bowl_game VARCHAR) [/INST]
### Response:
SELECT stadium FROM table_15190346_2 WHERE bowl_game = "1994 Gator Bowl" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stadium where the attendance was 75,406?
### Context:
CREATE TABLE table_15190346_2 (stadium VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT stadium FROM table_15190346_2 WHERE attendance = "75,406" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the bowl game when attendance was 79,280?
### Context:
CREATE TABLE table_15190346_2 (_number INTEGER, attendance VARCHAR) [/INST]
### Response:
SELECT MAX(_number) FROM table_15190346_2 WHERE attendance = "79,280" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance of the bowl game in Gainesville, Fl?
### Context:
CREATE TABLE table_15190346_2 (attendance VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_15190346_2 WHERE location = "Gainesville, FL" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of median income for population 2006 for 365540
### Context:
CREATE TABLE table_151994_1 (median_monthly_per_capita___labour_force_income__hkd_ VARCHAR, population__2006_est_ VARCHAR) [/INST]
### Response:
SELECT COUNT(median_monthly_per_capita___labour_force_income__hkd_) FROM table_151994_1 WHERE population__2006_est_ = 365540 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minimum derby county goals
### Context:
CREATE TABLE table_15201666_3 (derby_county INTEGER) [/INST]
### Response:
SELECT MIN(derby_county) AS Goals FROM table_15201666_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 most derby county
### Context:
CREATE TABLE table_15201666_3 (derby_county INTEGER) [/INST]
### Response:
SELECT MAX(derby_county) FROM table_15201666_3 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.