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: Who wrote the episode that originally aired on January 15, 1993? ### Context: CREATE TABLE table_2409041_5 (written_by VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT written_by FROM table_2409041_5 WHERE original_air_date = "January 15, 1993" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number 77 in the series? ### Context: CREATE TABLE table_2409041_5 (title VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT title FROM table_2409041_5 WHERE no_in_series = 77 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 17 is the number in series who is the director? ### Context: CREATE TABLE table_2409041_2 (directed_by VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_2409041_2 WHERE no_in_series = 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: When 21 is the number in series what is the air date? ### Context: CREATE TABLE table_2409041_2 (original_air_date VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_2409041_2 WHERE no_in_series = 21 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When 446004 is the production code who are the writers? ### Context: CREATE TABLE table_2409041_2 (written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT written_by FROM table_2409041_2 WHERE production_code = 446004 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the name of the epiode written by Gary M. Goodrich? ### Context: CREATE TABLE table_2409041_9 (title VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT title FROM table_2409041_9 WHERE written_by = "Gary M. Goodrich" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed episode number 179 in the series? ### Context: CREATE TABLE table_2409041_9 (directed_by VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_2409041_9 WHERE no_in_series = 179 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 voltage of the model with part number TT80503300? ### Context: CREATE TABLE table_24096813_15 (voltage VARCHAR, part_number_s_ VARCHAR) [/INST] ### Response: SELECT voltage FROM table_24096813_15 WHERE part_number_s_ = "TT80503300" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 frequency of the model with part number TT80503300? ### Context: CREATE TABLE table_24096813_15 (frequency VARCHAR, part_number_s_ VARCHAR) [/INST] ### Response: SELECT frequency FROM table_24096813_15 WHERE part_number_s_ = "TT80503300" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part number of the model with TDP of 2.9 (max.4.1~5.4) w? ### Context: CREATE TABLE table_24096813_15 (part_number_s_ VARCHAR, tdp VARCHAR) [/INST] ### Response: SELECT part_number_s_ FROM table_24096813_15 WHERE tdp = "2.9 (Max.4.1~5.4) W" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 l1 cache of the model with sspec number sl2z3, sl28q (mya0)? ### Context: CREATE TABLE table_24096813_15 (l1_cache VARCHAR, sspec_number VARCHAR) [/INST] ### Response: SELECT l1_cache FROM table_24096813_15 WHERE sspec_number = "SL2Z3, SL28Q (myA0)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 region 4 dates are associated with a region 2 date of July 9, 2007? ### Context: CREATE TABLE table_240936_2 (region_4__australia_ VARCHAR, region_2__uk_ VARCHAR) [/INST] ### Response: SELECT COUNT(region_4__australia_) FROM table_240936_2 WHERE region_2__uk_ = "July 9, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 region 1 (Canada) date associated with a region 1 (US) date of January 16, 2007? ### Context: CREATE TABLE table_240936_2 (region_1__can_ VARCHAR, region_1__us_ VARCHAR) [/INST] ### Response: SELECT region_1__can_ FROM table_240936_2 WHERE region_1__us_ = "January 16, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 region 4 (Aus) date associated with a region 1 (US) date of January 16, 2007? ### Context: CREATE TABLE table_240936_2 (region_4__australia_ VARCHAR, region_1__us_ VARCHAR) [/INST] ### Response: SELECT region_4__australia_ FROM table_240936_2 WHERE region_1__us_ = "January 16, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008? ### Context: CREATE TABLE table_240936_2 (region_2__uk_ VARCHAR, region_4__australia_ VARCHAR) [/INST] ### Response: SELECT region_2__uk_ FROM table_240936_2 WHERE region_4__australia_ = "July 31, 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009? ### Context: CREATE TABLE table_240936_2 (region_1__can_ VARCHAR, region_2__uk_ VARCHAR) [/INST] ### Response: SELECT region_1__can_ FROM table_240936_2 WHERE region_2__uk_ = "May 18, 2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the episode airing on September 24, 1993? ### Context: CREATE TABLE table_2409041_6 (directed_by VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_2409041_6 WHERE original_air_date = "September 24, 1993" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which series was season 18? ### Context: CREATE TABLE table_2409041_6 (no_in_series VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT COUNT(no_in_series) FROM table_2409041_6 WHERE no_in_season = 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the title of season 2? ### Context: CREATE TABLE table_2409041_6 (title VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT title FROM table_2409041_6 WHERE no_in_season = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the brand name associated with a model name e4xxx? ### Context: CREATE TABLE table_24099628_1 (brand_name VARCHAR, model__list_ VARCHAR) [/INST] ### Response: SELECT brand_name FROM table_24099628_1 WHERE model__list_ = "E4xxx" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 brand name associated with the model 4x0? ### Context: CREATE TABLE table_24099628_1 (brand_name VARCHAR, model__list_ VARCHAR) [/INST] ### Response: SELECT brand_name FROM table_24099628_1 WHERE model__list_ = "4x0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cores associated with model name e2xxx? ### Context: CREATE TABLE table_24099628_1 (cores VARCHAR, model__list_ VARCHAR) [/INST] ### Response: SELECT cores FROM table_24099628_1 WHERE model__list_ = "E2xxx" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wattage/TDP associated with model name 4x0? ### Context: CREATE TABLE table_24099628_1 (tdp VARCHAR, model__list_ VARCHAR) [/INST] ### Response: SELECT tdp FROM table_24099628_1 WHERE model__list_ = "4x0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 socket is bga956 and processor is penryn-3m, what is the tdp? ### Context: CREATE TABLE table_24100843_1 (tdp VARCHAR, socket VARCHAR, processor VARCHAR) [/INST] ### Response: SELECT tdp FROM table_24100843_1 WHERE socket = "BGA956" AND processor = "Penryn-3M" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 processor for p9xxx? ### Context: CREATE TABLE table_24100843_1 (processor VARCHAR, model__list_ VARCHAR) [/INST] ### Response: SELECT processor FROM table_24100843_1 WHERE model__list_ = "P9xxx" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 l2 cache of the model with TDP of 5.5-10 w? ### Context: CREATE TABLE table_24099916_1 (l2_cache VARCHAR, tdp VARCHAR) [/INST] ### Response: SELECT l2_cache FROM table_24099916_1 WHERE tdp = "5.5-10 W" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 model of the processor with BGA479 socket and a 5.5 w TDP? ### Context: CREATE TABLE table_24099916_1 (model__list_ VARCHAR, socket VARCHAR, tdp VARCHAR) [/INST] ### Response: SELECT model__list_ FROM table_24099916_1 WHERE socket = "BGA479" AND tdp = "5.5 W" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 model of the processor with a 5.5 w TDP? ### Context: CREATE TABLE table_24099916_1 (model__list_ VARCHAR, tdp VARCHAR) [/INST] ### Response: SELECT model__list_ FROM table_24099916_1 WHERE tdp = "5.5 W" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 smallest number for cores of any of the processor models? ### Context: CREATE TABLE table_24099916_1 (cores INTEGER) [/INST] ### Response: SELECT MIN(cores) FROM table_24099916_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the model where the processor is yorkfield and the brand name is xeon? ### Context: CREATE TABLE table_24101118_1 (model__list_ VARCHAR, processor VARCHAR, brand_name VARCHAR) [/INST] ### Response: SELECT model__list_ FROM table_24101118_1 WHERE processor = "Yorkfield" AND brand_name = "Xeon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the socket that has a brand name of core 2 extreme? ### Context: CREATE TABLE table_24101118_1 (socket VARCHAR, brand_name VARCHAR) [/INST] ### Response: SELECT socket FROM table_24101118_1 WHERE brand_name = "Core 2 Extreme" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the processor for model x33x0? ### Context: CREATE TABLE table_24101118_1 (processor VARCHAR, model__list_ VARCHAR) [/INST] ### Response: SELECT processor FROM table_24101118_1 WHERE model__list_ = "X33x0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 earliest number in before? ### Context: CREATE TABLE table_24108789_4 (before INTEGER) [/INST] ### Response: SELECT MIN(before) FROM table_24108789_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 is the latest after when the player is Steve Stricker? ### Context: CREATE TABLE table_24108789_4 (after INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(after) FROM table_24108789_4 WHERE player = "Steve Stricker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List all before numbers when Geoff Ogilvy was playing. ### Context: CREATE TABLE table_24108789_4 (before VARCHAR, player VARCHAR) [/INST] ### Response: SELECT before FROM table_24108789_4 WHERE player = "Geoff Ogilvy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 events for number 7 ### Context: CREATE TABLE table_24108789_6 (events INTEGER, _number VARCHAR) [/INST] ### Response: SELECT MIN(events) FROM table_24108789_6 WHERE _number = 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of events for 3031 ### Context: CREATE TABLE table_24108789_6 (events VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(events) FROM table_24108789_6 WHERE points = 3031 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player for 22 events ### Context: CREATE TABLE table_24108789_6 (player VARCHAR, events VARCHAR) [/INST] ### Response: SELECT player FROM table_24108789_6 WHERE events = 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 least points for number 6 ### Context: CREATE TABLE table_24108789_6 (points INTEGER, _number VARCHAR) [/INST] ### Response: SELECT MIN(points) FROM table_24108789_6 WHERE _number = 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: Name the most number for steve stricker ### Context: CREATE TABLE table_24108789_6 (_number INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(_number) FROM table_24108789_6 WHERE player = "Steve Stricker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for 800 reset ### Context: CREATE TABLE table_24108789_6 (points VARCHAR, reset_points VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_24108789_6 WHERE reset_points = 800 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What percentage did kennedy win while coakly won 37.9% ### Context: CREATE TABLE table_24115349_4 (kennedy__percentage VARCHAR, coakley__percentage VARCHAR) [/INST] ### Response: SELECT kennedy__percentage FROM table_24115349_4 WHERE coakley__percentage = "37.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: How many votes did kennedy win when coakley won 66.2% ### Context: CREATE TABLE table_24115349_4 (kennedy_votes INTEGER, coakley__percentage VARCHAR) [/INST] ### Response: SELECT MIN(kennedy_votes) FROM table_24115349_4 WHERE coakley__percentage = "66.2%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the percentage of votes for coakley when kennedy won 1.6% ### Context: CREATE TABLE table_24115349_4 (coakley__percentage VARCHAR, kennedy__percentage VARCHAR) [/INST] ### Response: SELECT coakley__percentage FROM table_24115349_4 WHERE kennedy__percentage = "1.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: How many votes did kennedy win when coaklely won 2139 votes? ### Context: CREATE TABLE table_24115349_4 (kennedy_votes VARCHAR, coakley_votes VARCHAR) [/INST] ### Response: SELECT COUNT(kennedy_votes) FROM table_24115349_4 WHERE coakley_votes = 2139 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many locations did the team play at on week 7? ### Context: CREATE TABLE table_24123547_2 (location VARCHAR, week VARCHAR) [/INST] ### Response: SELECT COUNT(location) FROM table_24123547_2 WHERE week = 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result of the games VS the Lions? ### Context: CREATE TABLE table_24123547_2 (final_score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT final_score FROM table_24123547_2 WHERE opponent = "Lions" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of dates for alouettes ### Context: CREATE TABLE table_24126518_2 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_24126518_2 WHERE opponent = "Alouettes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance for l 36–1 ### Context: CREATE TABLE table_24126518_2 (attendance INTEGER, final_score VARCHAR) [/INST] ### Response: SELECT MIN(attendance) FROM table_24126518_2 WHERE final_score = "L 36–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 final score for exhibition stadium for september 10 ### Context: CREATE TABLE table_24126518_2 (final_score VARCHAR, location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT final_score FROM table_24126518_2 WHERE location = "Exhibition Stadium" AND date = "September 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: Name the number of record for week 11 ### Context: CREATE TABLE table_24126518_2 (record VARCHAR, week VARCHAR) [/INST] ### Response: SELECT COUNT(record) FROM table_24126518_2 WHERE week = 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the opponent for week 12 ### Context: CREATE TABLE table_24126606_2 (opponent VARCHAR, week VARCHAR) [/INST] ### Response: SELECT opponent FROM table_24126606_2 WHERE week = 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the total number of opponent for october 3 ### Context: CREATE TABLE table_24126606_2 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(opponent) FROM table_24126606_2 WHERE date = "October 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 final score for week 5 ### Context: CREATE TABLE table_24126606_2 (final_score VARCHAR, week VARCHAR) [/INST] ### Response: SELECT final_score FROM table_24126606_2 WHERE week = 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: Who directed episode 28 in the series? ### Context: CREATE TABLE table_24132054_1 (directed_by VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_24132054_1 WHERE no_in_series = 28 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What in the series number of the episode written by Lauren Gussis? ### Context: CREATE TABLE table_24132083_1 (no_in_series INTEGER, written_by VARCHAR) [/INST] ### Response: SELECT MIN(no_in_series) FROM table_24132083_1 WHERE written_by = "Lauren Gussis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On how many different dates did the episode directed by Marcos Siega and written by Scott Buck air for the first time? ### Context: CREATE TABLE table_24132083_1 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_24132083_1 WHERE directed_by = "Marcos Siega" AND written_by = "Scott Buck" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series number of the episode written by Tim Schlattmann? ### Context: CREATE TABLE table_24132083_1 (no_in_series INTEGER, written_by VARCHAR) [/INST] ### Response: SELECT MIN(no_in_series) FROM table_24132083_1 WHERE written_by = "Tim Schlattmann" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who played in the semi finals matches at the Buick WCT finals? ### Context: CREATE TABLE table_2413292_1 (semifinal_matches VARCHAR, commercial_name VARCHAR) [/INST] ### Response: SELECT semifinal_matches FROM table_2413292_1 WHERE commercial_name = "Buick WCT Finals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 l 28–15 ### Context: CREATE TABLE table_24138601_2 (date VARCHAR, final_score VARCHAR) [/INST] ### Response: SELECT date FROM table_24138601_2 WHERE final_score = "L 28–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 tiger-cats is the opponent what is the location? ### Context: CREATE TABLE table_24136365_2 (location VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT location FROM table_24136365_2 WHERE opponent = "Tiger-Cats" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 4 is the week what is the location? ### Context: CREATE TABLE table_24136365_2 (location VARCHAR, week VARCHAR) [/INST] ### Response: SELECT location FROM table_24136365_2 WHERE week = 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 record for the Argonauts on September 7? ### Context: CREATE TABLE table_24136814_3 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_24136814_3 WHERE date = "September 7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is he smallest numbered week? ### Context: CREATE TABLE table_24136814_3 (week INTEGER) [/INST] ### Response: SELECT MIN(week) FROM table_24136814_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: How many cellos are suggested in the reference with section size for 20 players? ### Context: CREATE TABLE table_2414_1 (celli VARCHAR, section_size VARCHAR) [/INST] ### Response: SELECT celli FROM table_2414_1 WHERE section_size = "20 players" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reference, written by Nelson Riddle, suggests 2 violas? ### Context: CREATE TABLE table_2414_1 (reference VARCHAR, violas VARCHAR, author VARCHAR) [/INST] ### Response: SELECT reference FROM table_2414_1 WHERE violas = 2 AND author = "Nelson Riddle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 biggest number of basses suggested in either one of the references? ### Context: CREATE TABLE table_2414_1 (basses INTEGER) [/INST] ### Response: SELECT MAX(basses) FROM table_2414_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Stella Farentino's current relationship status? ### Context: CREATE TABLE table_24143253_2 (current_marital_status VARCHAR, name VARCHAR) [/INST] ### Response: SELECT current_marital_status FROM table_24143253_2 WHERE name = "Stella Farentino" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 children did Dennis Hawley have at his time of death? ### Context: CREATE TABLE table_24143253_2 (children_together VARCHAR, deceased_spouse VARCHAR) [/INST] ### Response: SELECT children_together FROM table_24143253_2 WHERE deceased_spouse = "Dennis Hawley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Stella Farentino die? ### Context: CREATE TABLE table_24143253_2 (cause_of_death VARCHAR, name VARCHAR) [/INST] ### Response: SELECT cause_of_death FROM table_24143253_2 WHERE name = "Stella Farentino" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cause of death in the marriage that lasted 28 years? ### Context: CREATE TABLE table_24143253_4 (cause_of_death VARCHAR, length_of_marriage VARCHAR) [/INST] ### Response: SELECT cause_of_death FROM table_24143253_4 WHERE length_of_marriage = "28 years" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 long were Ray Bradbury and his wife married? ### Context: CREATE TABLE table_24143253_4 (length_of_marriage VARCHAR, name VARCHAR) [/INST] ### Response: SELECT length_of_marriage FROM table_24143253_4 WHERE name = "Ray Bradbury" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name for deceased spouse being louis malle ### Context: CREATE TABLE table_24143253_1 (name VARCHAR, deceased_spouse VARCHAR) [/INST] ### Response: SELECT name FROM table_24143253_1 WHERE deceased_spouse = "Louis Malle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 deceased spouse for length of marriage being 24 years ### Context: CREATE TABLE table_24143253_1 (deceased_spouse VARCHAR, length_of_marriage VARCHAR) [/INST] ### Response: SELECT deceased_spouse FROM table_24143253_1 WHERE length_of_marriage = "24 years" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 decease spouse for carol deluise ### Context: CREATE TABLE table_24143253_1 (deceased_spouse VARCHAR, name VARCHAR) [/INST] ### Response: SELECT deceased_spouse FROM table_24143253_1 WHERE name = "Carol DeLuise" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 children together for 9 years of marriage ### Context: CREATE TABLE table_24143253_1 (children_together VARCHAR, length_of_marriage VARCHAR) [/INST] ### Response: SELECT children_together FROM table_24143253_1 WHERE length_of_marriage = "9 years" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 deceased spouse who was married for 4 years? ### Context: CREATE TABLE table_24143253_5 (deceased_spouse VARCHAR, length_of_marriage VARCHAR) [/INST] ### Response: SELECT deceased_spouse FROM table_24143253_5 WHERE length_of_marriage = "4 years" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who were the children of Benjamin Harrison? ### Context: CREATE TABLE table_24143253_5 (children_together VARCHAR, name VARCHAR) [/INST] ### Response: SELECT children_together FROM table_24143253_5 WHERE name = "Benjamin Harrison" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1 for episode # 2/225 ### Context: CREATE TABLE table_24172078_2 (segment_1 VARCHAR, episode__number VARCHAR) [/INST] ### Response: SELECT segment_1 FROM table_24172078_2 WHERE episode__number = "2/225" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lessons taught for episode # 2/205 ### Context: CREATE TABLE table_24172078_2 (lessons_taught VARCHAR, episode__number VARCHAR) [/INST] ### Response: SELECT lessons_taught FROM table_24172078_2 WHERE episode__number = "2/205" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state had william bigler (d) as a successor) ### Context: CREATE TABLE table_2417308_3 (state__class_ VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT state__class_ FROM table_2417308_3 WHERE successor = "William Bigler (D)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor seated for successor being vacant ### Context: CREATE TABLE table_2417330_4 (date_successor_seated VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT date_successor_seated FROM table_2417330_4 WHERE successor = "Vacant" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacator for kentucky 2nd ### Context: CREATE TABLE table_2417330_4 (vacator VARCHAR, district VARCHAR) [/INST] ### Response: SELECT vacator FROM table_2417330_4 WHERE district = "Kentucky 2nd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor for election was successfully contested july 30, 1861 ### Context: CREATE TABLE table_2417330_4 (successor VARCHAR, reason_for_change VARCHAR) [/INST] ### Response: SELECT successor FROM table_2417330_4 WHERE reason_for_change = "Election was successfully contested July 30, 1861" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor for vacant and december 3, 1862 ### Context: CREATE TABLE table_2417330_4 (successor VARCHAR, reason_for_change VARCHAR, date_successor_seated VARCHAR) [/INST] ### Response: SELECT successor FROM table_2417330_4 WHERE reason_for_change = "Vacant" AND date_successor_seated = "December 3, 1862" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacator for georgia 2nd? ### Context: CREATE TABLE table_2417340_4 (vacator VARCHAR, district VARCHAR) [/INST] ### Response: SELECT vacator FROM table_2417340_4 WHERE district = "Georgia 2nd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor for vacant alabama 3rd? ### Context: CREATE TABLE table_2417340_4 (successor VARCHAR, vacator VARCHAR, district VARCHAR) [/INST] ### Response: SELECT successor FROM table_2417340_4 WHERE vacator = "Vacant" AND district = "Alabama 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: Who was the successor for vacant louisiana 5th ### Context: CREATE TABLE table_2417340_4 (successor VARCHAR, vacator VARCHAR, district VARCHAR) [/INST] ### Response: SELECT successor FROM table_2417340_4 WHERE vacator = "Vacant" AND district = "Louisiana 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: Who were the successors when the date the successors were installed was February 23, 1870? ### Context: CREATE TABLE table_2417345_3 (successor VARCHAR, date_of_successors_formal_installation VARCHAR) [/INST] ### Response: SELECT successor FROM table_2417345_3 WHERE date_of_successors_formal_installation = "February 23, 1870" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacator when the successor was formally installed on February 1, 1871? ### Context: CREATE TABLE table_2417345_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR) [/INST] ### Response: SELECT vacator FROM table_2417345_3 WHERE date_of_successors_formal_installation = "February 1, 1871" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor that was formally installed on March 30, 1870? ### Context: CREATE TABLE table_2417345_3 (successor VARCHAR, date_of_successors_formal_installation VARCHAR) [/INST] ### Response: SELECT successor FROM table_2417345_3 WHERE date_of_successors_formal_installation = "March 30, 1870" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did Orville H. Browning (r) succeed? ### Context: CREATE TABLE table_2417330_3 (date_of_successors_formal_installation VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT date_of_successors_formal_installation FROM table_2417330_3 WHERE successor = "Orville H. Browning (R)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List all dates of succession in the state class Missouri (3). ### Context: CREATE TABLE table_2417330_3 (date_of_successors_formal_installation VARCHAR, state__class_ VARCHAR) [/INST] ### Response: SELECT date_of_successors_formal_installation FROM table_2417330_3 WHERE state__class_ = "Missouri (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: List the number of vacators when successors were formally installed on June 22, 1868. ### Context: CREATE TABLE table_2417340_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR) [/INST] ### Response: SELECT COUNT(vacator) FROM table_2417340_3 WHERE date_of_successors_formal_installation = "June 22, 1868" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List all state classes when successors were formally installed on June 22, 1868. ### Context: CREATE TABLE table_2417340_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR) [/INST] ### Response: SELECT state__class_ FROM table_2417340_3 WHERE date_of_successors_formal_installation = "June 22, 1868" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reason for change to the successor that was seated on December 13, 1880? ### Context: CREATE TABLE table_2417395_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR) [/INST] ### Response: SELECT reason_for_change FROM table_2417395_4 WHERE date_successor_seated = "December 13, 1880" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 person died May 22, 1895 is the reason for vacancy what is the district? ### Context: CREATE TABLE table_2417445_4 (district VARCHAR, reason_for_vacancy VARCHAR) [/INST] ### Response: SELECT district FROM table_2417445_4 WHERE reason_for_vacancy = "Died May 22, 1895" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 frederick remann (r) is the vacator what is the reason for vacancy? ### Context: CREATE TABLE table_2417445_4 (reason_for_vacancy VARCHAR, vacator VARCHAR) [/INST] ### Response: SELECT reason_for_vacancy FROM table_2417445_4 WHERE vacator = "Frederick Remann (R)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rudolph kleberg (d) is the successor is the reason for vacancy? ### Context: CREATE TABLE table_2417445_4 (reason_for_vacancy VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT reason_for_vacancy FROM table_2417445_4 WHERE successor = "Rudolph Kleberg (D)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 massachusetts 6th is the district what is the reason for vacancy? ### Context: CREATE TABLE table_2417445_4 (reason_for_vacancy VARCHAR, district VARCHAR) [/INST] ### Response: SELECT reason_for_vacancy FROM table_2417445_4 WHERE district = "Massachusetts 6th" </s>