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: Which opponent has a record of 6-2? ### Context: CREATE TABLE table_21091127_1 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_21091127_1 WHERE record = "6-2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many results have a game of 5? ### Context: CREATE TABLE table_21091127_1 (result VARCHAR, game VARCHAR) [/INST] ### Response: SELECT COUNT(result) FROM table_21091127_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: What is the run time for the episode with 7.9 million viewers? ### Context: CREATE TABLE table_2108684_1 (run_time VARCHAR, viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT run_time FROM table_2108684_1 WHERE viewers__in_millions_ = "7.9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What episode had a run time of 23:38? ### Context: CREATE TABLE table_2108684_1 (episode VARCHAR, run_time VARCHAR) [/INST] ### Response: SELECT episode FROM table_2108684_1 WHERE run_time = "23:38" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 million viewers watched the episode with a run time of 25:22? ### Context: CREATE TABLE table_2108684_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) [/INST] ### Response: SELECT viewers__in_millions_ FROM table_2108684_1 WHERE run_time = "25:22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the date for result loss for duke ### Context: CREATE TABLE table_21092444_1 (date VARCHAR, result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_21092444_1 WHERE result = "Loss" AND opponent = "Duke" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record of 2-1 ### Context: CREATE TABLE table_21092444_1 (opponents VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponents FROM table_21092444_1 WHERE record = "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: Name the record for black knights points 54 ### Context: CREATE TABLE table_21092444_1 (record VARCHAR, black_knights_points VARCHAR) [/INST] ### Response: SELECT record FROM table_21092444_1 WHERE black_knights_points = 54 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the opponents stanford ### Context: CREATE TABLE table_21092444_1 (opponents VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT opponents FROM table_21092444_1 WHERE opponent = "Stanford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ursinus college ### Context: CREATE TABLE table_21094951_1 (result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_21094951_1 WHERE opponent = "Ursinus College" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the black knights points for loss result ### Context: CREATE TABLE table_21094951_1 (black_knights_points INTEGER, result VARCHAR) [/INST] ### Response: SELECT MAX(black_knights_points) FROM table_21094951_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: Name the date for 6-2 record ### Context: CREATE TABLE table_21094951_1 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_21094951_1 WHERE record = "6-2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the opponents for record being 2-0 ### Context: CREATE TABLE table_21094951_1 (opponents INTEGER, record VARCHAR) [/INST] ### Response: SELECT MAX(opponents) FROM table_21094951_1 WHERE record = "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: How man innings were there during the period with a career average of 41.43? ### Context: CREATE TABLE table_21100348_10 (innings VARCHAR, average VARCHAR) [/INST] ### Response: SELECT innings FROM table_21100348_10 WHERE average = "41.43" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: During what period did Ricky Ponting play? ### Context: CREATE TABLE table_21100348_10 (period VARCHAR, player VARCHAR) [/INST] ### Response: SELECT period FROM table_21100348_10 WHERE player = "Ricky Ponting" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: During what period was the career average 44.10? ### Context: CREATE TABLE table_21100348_10 (period VARCHAR, average VARCHAR) [/INST] ### Response: SELECT period FROM table_21100348_10 WHERE average = "44.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: What was the smallest numbered rank for Michael Bevan? ### Context: CREATE TABLE table_21100348_10 (rank INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(rank) FROM table_21100348_10 WHERE player = "Michael Bevan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 period was there a career average of 48.15? ### Context: CREATE TABLE table_21100348_10 (period VARCHAR, average VARCHAR) [/INST] ### Response: SELECT period FROM table_21100348_10 WHERE average = "48.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: when the value (int $1000) is 409566, what is the commodity? ### Context: CREATE TABLE table_21109892_1 (commodity VARCHAR, value__int_$1000_ VARCHAR) [/INST] ### Response: SELECT commodity FROM table_21109892_1 WHERE value__int_$1000_ = 409566 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 value rank is 23, what is the value? ### Context: CREATE TABLE table_21109892_1 (value__int_ INTEGER, value_world_rank VARCHAR) [/INST] ### Response: SELECT MIN(value__int_) AS $1000_ FROM table_21109892_1 WHERE value_world_rank = "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: When the value world rank is 7, what is the rank? ### Context: CREATE TABLE table_21109892_1 (rank VARCHAR, value_world_rank VARCHAR) [/INST] ### Response: SELECT rank FROM table_21109892_1 WHERE value_world_rank = "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: When the production (mt) is 650000, what is the total number of rank? ### Context: CREATE TABLE table_21109892_1 (rank VARCHAR, production__mt_ VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_21109892_1 WHERE production__mt_ = 650000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production (mt) is 446424, what is the value world rank ? ### Context: CREATE TABLE table_21109892_1 (value_world_rank VARCHAR, production__mt_ VARCHAR) [/INST] ### Response: SELECT value_world_rank FROM table_21109892_1 WHERE production__mt_ = 446424 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: where value world rank is 12, what is the quantity world rank? ### Context: CREATE TABLE table_21109892_1 (quantity_world_rank VARCHAR, value_world_rank VARCHAR) [/INST] ### Response: SELECT quantity_world_rank FROM table_21109892_1 WHERE value_world_rank = "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: What is the rank of Tim Paine? ### Context: CREATE TABLE table_21100348_15 (rank VARCHAR, player VARCHAR) [/INST] ### Response: SELECT rank FROM table_21100348_15 WHERE player = "Tim Paine" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank does Rodney Marsh have? ### Context: CREATE TABLE table_21100348_15 (rank INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_21100348_15 WHERE player = "Rodney Marsh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank for a strike rate of 91.67? ### Context: CREATE TABLE table_21100348_11 (rank INTEGER, strike_rate VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_21100348_11 WHERE strike_rate = "91.67" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What player has 477 runs? ### Context: CREATE TABLE table_21100348_11 (player VARCHAR, runs VARCHAR) [/INST] ### Response: SELECT player FROM table_21100348_11 WHERE runs = 477 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 innings does rank 3 have? ### Context: CREATE TABLE table_21100348_11 (innings INTEGER, rank VARCHAR) [/INST] ### Response: SELECT MAX(innings) FROM table_21100348_11 WHERE rank = 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 was the goals for in the season that the pct % was 0.604? ### Context: CREATE TABLE table_2110959_1 (goals_for INTEGER, pct__percentage VARCHAR) [/INST] ### Response: SELECT MAX(goals_for) FROM table_2110959_1 WHERE pct__percentage = "0.604" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season was the pct % 0.552? ### Context: CREATE TABLE table_2110959_1 (season VARCHAR, pct__percentage VARCHAR) [/INST] ### Response: SELECT season FROM table_2110959_1 WHERE pct__percentage = "0.552" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 standing in the season that the pct% was 0.769? ### Context: CREATE TABLE table_2110959_1 (standing VARCHAR, pct__percentage VARCHAR) [/INST] ### Response: SELECT standing FROM table_2110959_1 WHERE pct__percentage = "0.769" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the points in the 1958-59 season? ### Context: CREATE TABLE table_2110959_1 (points VARCHAR, season VARCHAR) [/INST] ### Response: SELECT points FROM table_2110959_1 WHERE season = "1958-59" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Dürr's opponents in the final on year 1968? ### Context: CREATE TABLE table_2112025_3 (opponents_in_the_final VARCHAR, year VARCHAR) [/INST] ### Response: SELECT opponents_in_the_final FROM table_2112025_3 WHERE year = 1968 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 court surface on year 1971? ### Context: CREATE TABLE table_2112025_3 (surface VARCHAR, year VARCHAR) [/INST] ### Response: SELECT surface FROM table_2112025_3 WHERE year = 1971 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 top 10s for 2 best finish ### Context: CREATE TABLE table_2112220_6 (top_10s INTEGER, best_finish VARCHAR) [/INST] ### Response: SELECT MAX(top_10s) FROM table_2112220_6 WHERE best_finish = "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: Name the tournaments played for 2004 ### Context: CREATE TABLE table_2112220_6 (tournaments_played INTEGER, year VARCHAR) [/INST] ### Response: SELECT MIN(tournaments_played) FROM table_2112220_6 WHERE year = 2004 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 submission of the night occurred when the fighter was matt wiman? ### Context: CREATE TABLE table_21114902_1 (submissions_of_the_night INTEGER, fighter VARCHAR) [/INST] ### Response: SELECT MAX(submissions_of_the_night) FROM table_21114902_1 WHERE fighter = "Matt Wiman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 knockout of the night occurred when joe lauzon fought. ### Context: CREATE TABLE table_21114902_1 (knockouts_of_the_night VARCHAR, fighter VARCHAR) [/INST] ### Response: SELECT knockouts_of_the_night FROM table_21114902_1 WHERE fighter = "Joe Lauzon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 smallest number of episodes in a season? ### Context: CREATE TABLE table_2113721_7 (episodes INTEGER) [/INST] ### Response: SELECT MIN(episodes) FROM table_2113721_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: When was Season Three premiered in region 2? ### Context: CREATE TABLE table_2113721_7 (region_2 VARCHAR, dvd_name VARCHAR) [/INST] ### Response: SELECT region_2 FROM table_2113721_7 WHERE dvd_name = "Season Three" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is every location with specialization of textile engineering? ### Context: CREATE TABLE table_2112260_1 (location VARCHAR, specialization VARCHAR) [/INST] ### Response: SELECT location FROM table_2112260_1 WHERE specialization = "Textile engineering" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every website with specialization of engineering and division of dhaka division? ### Context: CREATE TABLE table_2112260_1 (website VARCHAR, specialization VARCHAR, division VARCHAR) [/INST] ### Response: SELECT website FROM table_2112260_1 WHERE specialization = "Engineering" AND division = "Dhaka division" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is every location where Nick is Bru? ### Context: CREATE TABLE table_2112260_1 (location VARCHAR, nick VARCHAR) [/INST] ### Response: SELECT location FROM table_2112260_1 WHERE nick = "BRU" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every specialization with the website Jstu.edu.bd ### Context: CREATE TABLE table_2112260_1 (specialization VARCHAR, website VARCHAR) [/INST] ### Response: SELECT specialization FROM table_2112260_1 WHERE website = "jstu.edu.bd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 languages for cyprus ### Context: CREATE TABLE table_21133193_1 (languages VARCHAR, member_countries VARCHAR) [/INST] ### Response: SELECT languages FROM table_21133193_1 WHERE member_countries = "Cyprus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 languages for estonia ### Context: CREATE TABLE table_21133193_1 (languages VARCHAR, member_countries VARCHAR) [/INST] ### Response: SELECT languages FROM table_21133193_1 WHERE member_countries = "Estonia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gdp per capita latvian ### Context: CREATE TABLE table_21133193_1 (gdp_per_capita__us INTEGER, languages VARCHAR) [/INST] ### Response: SELECT MAX(gdp_per_capita__us) AS $_ FROM table_21133193_1 WHERE languages = "Latvian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 archive were when run time is 24:34 ### Context: CREATE TABLE table_2112766_1 (archive VARCHAR, run_time VARCHAR) [/INST] ### Response: SELECT archive FROM table_2112766_1 WHERE run_time = "24:34" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is all the broadcast date when viewers were 8.4 millions ### Context: CREATE TABLE table_2112766_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(broadcast_date) FROM table_2112766_1 WHERE viewers__in_millions_ = "8.4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many episode have 8.4 millions viewer. ### Context: CREATE TABLE table_2112766_1 (episode VARCHAR, viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(episode) FROM table_2112766_1 WHERE viewers__in_millions_ = "8.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 was the title in season #8? ### Context: CREATE TABLE table_21146729_6 (title VARCHAR, season__number VARCHAR) [/INST] ### Response: SELECT title FROM table_21146729_6 WHERE season__number = 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: Who was the director when the writer(s) was John W. Bloch? ### Context: CREATE TABLE table_21146729_6 (director VARCHAR, writer_s_ VARCHAR) [/INST] ### Response: SELECT director FROM table_21146729_6 WHERE writer_s_ = "John W. Bloch" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series# with the original airdate of october 23, 1967? ### Context: CREATE TABLE table_21146729_6 (series__number INTEGER, original_airdate VARCHAR) [/INST] ### Response: SELECT MAX(series__number) FROM table_21146729_6 WHERE original_airdate = "October 23, 1967" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the writer(s) is jack turley? ### Context: CREATE TABLE table_21146729_6 (title VARCHAR, writer_s_ VARCHAR) [/INST] ### Response: SELECT title FROM table_21146729_6 WHERE writer_s_ = "Jack Turley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the series # when the original airdate is september 25, 1967? ### Context: CREATE TABLE table_21146729_6 (series__number VARCHAR, original_airdate VARCHAR) [/INST] ### Response: SELECT COUNT(series__number) FROM table_21146729_6 WHERE original_airdate = "September 25, 1967" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of 22:50 ### Context: CREATE TABLE table_2114308_1 (episode VARCHAR, run_time VARCHAR) [/INST] ### Response: SELECT episode FROM table_2114308_1 WHERE run_time = "22:50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the broadcast date of 6.9 million viewers ### Context: CREATE TABLE table_2114308_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT broadcast_date FROM table_2114308_1 WHERE viewers__in_millions_ = "6.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: Name the broadcast date of run time being 24:14 ### Context: CREATE TABLE table_2114308_1 (broadcast_date VARCHAR, run_time VARCHAR) [/INST] ### Response: SELECT broadcast_date FROM table_2114308_1 WHERE run_time = "24:14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which archive has a run time of 23:48? ### Context: CREATE TABLE table_2114238_1 (archive VARCHAR, run_time VARCHAR) [/INST] ### Response: SELECT archive FROM table_2114238_1 WHERE run_time = "23:48" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 broadcast date has 6.8 million viewers? ### Context: CREATE TABLE table_2114238_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT broadcast_date FROM table_2114238_1 WHERE viewers__in_millions_ = "6.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 Petrol engine has total power of ps (kw; bhp)@5400-6500? ### Context: CREATE TABLE table_21154679_1 (model VARCHAR, max_power VARCHAR) [/INST] ### Response: SELECT model FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)@5400-6500" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 top speed of a petrol engine at ps (kw; bhp)@5250-6250? ### Context: CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR) [/INST] ### Response: SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)@5250-6250" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the maximum speed for total power of ps (kw; bhp)? ### Context: CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR) [/INST] ### Response: SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 s7 4.0 tfsi quattro engine torque? ### Context: CREATE TABLE table_21154679_1 (torque VARCHAR, model VARCHAR) [/INST] ### Response: SELECT torque FROM table_21154679_1 WHERE model = "S7 4.0 TFSI quattro" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in season for 4300062 ### Context: CREATE TABLE table_21165255_1 (no_in_season INTEGER, production_code VARCHAR) [/INST] ### Response: SELECT MAX(no_in_season) FROM table_21165255_1 WHERE production_code = 4300062 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cancelled for turnham green ### Context: CREATE TABLE table_211615_2 (cancelled VARCHAR, station VARCHAR) [/INST] ### Response: SELECT COUNT(cancelled) FROM table_211615_2 WHERE station = "Turnham Green" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of details for emlyn road ### Context: CREATE TABLE table_211615_2 (details VARCHAR, station VARCHAR) [/INST] ### Response: SELECT COUNT(details) FROM table_211615_2 WHERE station = "Emlyn Road" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the series was directed by John Behring? ### Context: CREATE TABLE table_21164557_1 (no_in_series INTEGER, directed_by VARCHAR) [/INST] ### Response: SELECT MAX(no_in_series) FROM table_21164557_1 WHERE directed_by = "John Behring" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air dates were there for episodes with a production code of 4398016? ### Context: CREATE TABLE table_21164557_1 (original_air_date VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_21164557_1 WHERE production_code = 4398016 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank for 14.80 viewers ### Context: CREATE TABLE table_211714_2 (rank VARCHAR, viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT rank FROM table_211714_2 WHERE viewers__in_millions_ = "14.80" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank for season 6 ### Context: CREATE TABLE table_211714_2 (rank VARCHAR, season VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_211714_2 WHERE season = 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date did the episode with a production code of 4301085 originally air? ### Context: CREATE TABLE table_21172539_1 (original_air_date VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_21172539_1 WHERE production_code = 4301085 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did episode 15 of the season originally air? ### Context: CREATE TABLE table_21172539_1 (original_air_date VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_21172539_1 WHERE no_in_season = 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: Name the remarks for sawhouse ### Context: CREATE TABLE table_211791_1 (remarks VARCHAR, nato_reporting_name VARCHAR) [/INST] ### Response: SELECT remarks FROM table_211791_1 WHERE nato_reporting_name = "SAWHOUSE" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nato/ us dod code for sabbot ### Context: CREATE TABLE table_211791_1 (nato_us_dod_code VARCHAR, nato_reporting_name VARCHAR) [/INST] ### Response: SELECT nato_us_dod_code FROM table_211791_1 WHERE nato_reporting_name = "SABBOT" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 autodromo nazionale monza is the circuit what is the report? ### Context: CREATE TABLE table_21191496_1 (report VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT report FROM table_21191496_1 WHERE circuit = "Autodromo Nazionale Monza" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 michele pirro is the pole position what is the date? ### Context: CREATE TABLE table_21191496_1 (date VARCHAR, pole_position VARCHAR) [/INST] ### Response: SELECT date FROM table_21191496_1 WHERE pole_position = "Michele Pirro" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Netherlands is the country what is the report? ### Context: CREATE TABLE table_21191496_1 (report VARCHAR, country VARCHAR) [/INST] ### Response: SELECT report FROM table_21191496_1 WHERE country = "Netherlands" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 circuit ricardo tormo is the circuit who is the winning team? ### Context: CREATE TABLE table_21191496_1 (winning_team VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT winning_team FROM table_21191496_1 WHERE circuit = "circuit Ricardo Tormo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 circuit ricardo tormo is the circuit what is the round? ### Context: CREATE TABLE table_21191496_1 (round VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_21191496_1 WHERE circuit = "circuit Ricardo Tormo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were there when the record was 6-0? ### Context: CREATE TABLE table_21197135_1 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(opponent) FROM table_21197135_1 WHERE record = "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 opponents were there when the record was 6-0? ### Context: CREATE TABLE table_21197135_1 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_21197135_1 WHERE record = "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: What was the team record when the team played @ Utah? ### Context: CREATE TABLE table_21197135_1 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_21197135_1 WHERE opponent = "@ Utah" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points did the Cowboys have when they had a 7-0 record? ### Context: CREATE TABLE table_21197135_1 (cowboys_points VARCHAR, record VARCHAR) [/INST] ### Response: SELECT cowboys_points FROM table_21197135_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: Name the scoreboard for total being 23.5 ### Context: CREATE TABLE table_21234111_6 (scoreboard VARCHAR, total VARCHAR) [/INST] ### Response: SELECT scoreboard FROM table_21234111_6 WHERE total = "23.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 jason for public vote being 19.20% ### Context: CREATE TABLE table_21234111_6 (jason VARCHAR, public_vote__percentage VARCHAR) [/INST] ### Response: SELECT jason FROM table_21234111_6 WHERE public_vote__percentage = "19.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: Name the number of song for scoreboard being 3rd ### Context: CREATE TABLE table_21234111_6 (song VARCHAR, scoreboard VARCHAR) [/INST] ### Response: SELECT COUNT(song) FROM table_21234111_6 WHERE scoreboard = "3rd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: state the opponent on halliwell jones stadium in super league xiv ### Context: CREATE TABLE table_21256068_3 (opponent VARCHAR, venue VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT opponent FROM table_21256068_3 WHERE venue = "Halliwell Jones Stadium" AND competition = "Super League XIV" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venues were played on in round 1 ### Context: CREATE TABLE table_21256068_3 (venue VARCHAR, round VARCHAR) [/INST] ### Response: SELECT COUNT(venue) FROM table_21256068_3 WHERE round = "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: state the round that had a game score 50-10 ### Context: CREATE TABLE table_21256068_3 (round VARCHAR, score VARCHAR) [/INST] ### Response: SELECT round FROM table_21256068_3 WHERE score = "50-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: state the round that had a game attended attended by 9359 people ### Context: CREATE TABLE table_21256068_3 (round VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT round FROM table_21256068_3 WHERE attendance = 9359 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds had the score 44-22 ### Context: CREATE TABLE table_21256068_3 (round VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_21256068_3 WHERE score = "44-22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the score against crusaders ### Context: CREATE TABLE table_21256068_3 (score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_21256068_3 WHERE opponent = "Crusaders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Small catagories are there for the department that has a medium of 17101? ### Context: CREATE TABLE table_21249915_1 (small__100ha_ VARCHAR, medium__500ha_ VARCHAR) [/INST] ### Response: SELECT COUNT(small__100ha_) FROM table_21249915_1 WHERE medium__500ha_ = 17101 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for Chuquisaca? ### Context: CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR) [/INST] ### Response: SELECT total FROM table_21249915_1 WHERE department = "Chuquisaca" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 department has a small of 11370? ### Context: CREATE TABLE table_21249915_1 (department VARCHAR, small__100ha_ VARCHAR) [/INST] ### Response: SELECT department FROM table_21249915_1 WHERE small__100ha_ = 11370 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 catagories are there for La Paz? ### Context: CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_21249915_1 WHERE department = "La Paz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points under par was the winner of the Miyagi TV Cup Dunlop Ladies Open? ### Context: CREATE TABLE table_2126093_3 (to_par VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT to_par FROM table_2126093_3 WHERE tournament = "Miyagi TV Cup Dunlop Ladies 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: What was the winning score of the Vernal Ladies tournament? ### Context: CREATE TABLE table_2126093_3 (winning_score VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_2126093_3 WHERE tournament = "Vernal Ladies" </s>