text
stringlengths
281
1.19k
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: How many episodes had 16.03 million viewers? ### Inputs: table_name: table, columns: ['No. in series', 'No. in season', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (millions)'] ### Response: SELECT COUNT No. in series FROM table WHERE U.S. viewers (millions) = 16.03
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the number of interregnum for duration 3 months, 6 days? ### Inputs: table_name: table, columns: ['Interregnum began', 'Interregnum ended', 'Duration', 'Count Palatine of Saxony', 'Count Palatine of the Rhine'] ### Response: SELECT COUNT Interregnum ended FROM table WHERE Duration = 3 months, 6 days
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Who directed Episode 8? ### Inputs: table_name: table, columns: ['Series #', 'Episode #', 'Title', 'Directed by', 'Written by', 'Original air date'] ### Response: SELECT Directed by FROM table WHERE Episode # = 8
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Who directed the episode called "Tell-tale Heart"? ### Inputs: table_name: table, columns: ['Series #', 'Episode #', 'Title', 'Directed by', 'Written by', 'Original air date'] ### Response: SELECT Directed by FROM table WHERE Title = "Tell-Tale Heart"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What was the original air date for Series 36? ### Inputs: table_name: table, columns: ['Series #', 'Episode #', 'Title', 'Directed by', 'Written by', 'Original air date'] ### Response: SELECT Original air date FROM table WHERE Series # = 36
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Who wrote Series 38? ### Inputs: table_name: table, columns: ['Series #', 'Episode #', 'Title', 'Directed by', 'Written by', 'Original air date'] ### Response: SELECT Written by FROM table WHERE Series # = 38
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the percentage for manhattan 45,901? ### Inputs: table_name: table, columns: ['1973 Democratic initial primary', 'Manhattan', 'The Bronx', 'Brooklyn', 'Queens', 'Richmond [Staten Is.]', 'Total', '%'] ### Response: SELECT COUNT % FROM table WHERE Manhattan = 45,901
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Who won the 1973 democratic initial primary for queens of 19%? ### Inputs: table_name: table, columns: ['1973 Democratic initial primary', 'Manhattan', 'The Bronx', 'Brooklyn', 'Queens', 'Richmond [Staten Is.]', 'Total', '%'] ### Response: SELECT 1973 Democratic initial primary FROM table WHERE Queens = 19%
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the manhattan for richmond 35%? ### Inputs: table_name: table, columns: ['1973 Democratic initial primary', 'Manhattan', 'The Bronx', 'Brooklyn', 'Queens', 'Richmond [Staten Is.]', 'Total', '%'] ### Response: SELECT Manhattan FROM table WHERE Richmond [Staten Is.] = 35%
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the queens where richmond staten is 42%? ### Inputs: table_name: table, columns: ['1973 Democratic initial primary', 'Manhattan', 'The Bronx', 'Brooklyn', 'Queens', 'Richmond [Staten Is.]', 'Total', '%'] ### Response: SELECT Queens FROM table WHERE Richmond [Staten Is.] = 42%
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what's the party with brooklyn value of 51.0% ### Inputs: table_name: table, columns: ['1932 (before recount)', 'party', 'Manhattan', 'The Bronx', 'Brooklyn', 'Queens', 'Richmond [Staten Is.]', 'Total', '%'] ### Response: SELECT party FROM table WHERE Brooklyn = 51.0%
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what's the brooklyn with queens value of 16.8% ### Inputs: table_name: table, columns: ['1932 (before recount)', 'party', 'Manhattan', 'The Bronx', 'Brooklyn', 'Queens', 'Richmond [Staten Is.]', 'Total', '%'] ### Response: SELECT Brooklyn FROM table WHERE Queens = 16.8%
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what is the minimum total ### Inputs: table_name: table, columns: ['1932 (before recount)', 'party', 'Manhattan', 'The Bronx', 'Brooklyn', 'Queens', 'Richmond [Staten Is.]', 'Total', '%'] ### Response: SELECT MIN Total FROM table
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what's the % with total value of 249887 and queens value of 6.8% ### Inputs: table_name: table, columns: ['1932 (before recount)', 'party', 'Manhattan', 'The Bronx', 'Brooklyn', 'Queens', 'Richmond [Staten Is.]', 'Total', '%'] ### Response: SELECT % FROM table WHERE Total = 249887 AND Queens = 6.8%
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Which teams were in the central division and located in livonia? ### Inputs: table_name: table, columns: ['Team', 'Location', 'Joined', 'Conference', 'Division', 'Previous Conference'] ### Response: SELECT Team FROM table WHERE Division = Central AND Location = Livonia
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Which teams are located in highland township? ### Inputs: table_name: table, columns: ['Team', 'Location', 'Joined', 'Conference', 'Division', 'Previous Conference'] ### Response: SELECT Team FROM table WHERE Location = Highland Township
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What conference was the churchill chargers team in? ### Inputs: table_name: table, columns: ['Team', 'Location', 'Joined', 'Conference', 'Division', 'Previous Conference'] ### Response: SELECT Conference FROM table WHERE Team = Churchill Chargers
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What was the titles of the episodes written by ken lazebnik? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT Title FROM table WHERE Written by = Ken LaZebnik
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Who directed an episode that had 2.81 million U.S. viewers? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT Directed by FROM table WHERE U.S. viewers (million) = 2.81
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What were the names of the episodes that had 3.02 million U.S. viewers? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT Title FROM table WHERE U.S. viewers (million) = 3.02
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What were the original air dates of the episode named "winds of war"? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT Original air date FROM table WHERE Title = "Winds of War"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Who directed episodes that had 2.61 million U.S. viewers? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT Directed by FROM table WHERE U.S. viewers (million) = 2.61
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: How many millions of U.S. viewers watched "Brace for Impact"? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT U.S. viewers (million) FROM table WHERE Title = "Brace for Impact"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: How many millions of U.S. viewers watched the episode that first aired on March 31, 2013? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT U.S. viewers (million) FROM table WHERE Original air date = March 31, 2013
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Who wrote the episodes that were viewed by 2.12 million viewers? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT Written by FROM table WHERE U.S. viewers (million) = 2.12
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: The episode written by Rebecca Dameron aired on what date? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT Original air date FROM table WHERE Written by = Rebecca Dameron
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Which episode in the series drew 3.6 million U.S. viewers? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT MIN No. in series FROM table WHERE U.S. viewers (million) = 3.6
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Who wrote the episode that aired on April 17, 2011? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT Written by FROM table WHERE Original air date = April 17, 2011
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: How many times did episode 79 originally air? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT COUNT Original air date FROM table WHERE No. in series = 79
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: How many millions of views in the country watched "Line of Departure"? ### Inputs: table_name: table, columns: ['No. in season', 'No. in series', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)'] ### Response: SELECT U.S. viewers (million) FROM table WHERE Title = "Line of Departure"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the name of the shield winner in which the mls cup winner and mls cup runner up is colorado rapids? ### Inputs: table_name: table, columns: ['Season', 'MLS Cup Winner', 'MLS Cup Runner-Up', 'MLS Supporters Shield Winner', 'MLS Supporters Shield Runner-Up'] ### Response: SELECT MLS Cup Winner FROM table WHERE MLS Cup Runner-Up = Colorado Rapids
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the name of the shield winner in which the mls cup winner and mls supporters shield runner up is Chivas usa? ### Inputs: table_name: table, columns: ['Season', 'MLS Cup Winner', 'MLS Cup Runner-Up', 'MLS Supporters Shield Winner', 'MLS Supporters Shield Runner-Up'] ### Response: SELECT MLS Cup Winner FROM table WHERE MLS Supporters Shield Runner-Up = Chivas USA
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: who is the of the shield winnerin which the mls cup runner-up and mls cup winner is real salt lake? ### Inputs: table_name: table, columns: ['Season', 'MLS Cup Winner', 'MLS Cup Runner-Up', 'MLS Supporters Shield Winner', 'MLS Supporters Shield Runner-Up'] ### Response: SELECT MLS Cup Runner-Up FROM table WHERE MLS Cup Winner = Real Salt Lake
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Which shield winner has the mls cup runner up and the season is 2000? ### Inputs: table_name: table, columns: ['Season', 'MLS Cup Winner', 'MLS Cup Runner-Up', 'MLS Supporters Shield Winner', 'MLS Supporters Shield Runner-Up'] ### Response: SELECT MLS Cup Runner-Up FROM table WHERE Season = 2000
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: League apps (sub) maximum? ### Inputs: table_name: table, columns: ['Season', 'Division', 'League Apps (Sub)', 'League Goals', 'FA Cup Apps (Sub)', 'FA Cup Goals', 'FL Cup Apps (Sub)', 'FL Cup Goals', 'Other Apps', 'Other Goals', 'Total Apps (Sub)', 'Total Goals'] ### Response: SELECT MAX League Apps (Sub) FROM table
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: When total goals is 11 what was the league apps (sub)? ### Inputs: table_name: table, columns: ['Season', 'Division', 'League Apps (Sub)', 'League Goals', 'FA Cup Apps (Sub)', 'FA Cup Goals', 'FL Cup Apps (Sub)', 'FL Cup Goals', 'Other Apps', 'Other Goals', 'Total Apps (Sub)', 'Total Goals'] ### Response: SELECT MAX League Apps (Sub) FROM table WHERE Total Goals = 11
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Which city had the charleston area convention center as its callback location ### Inputs: table_name: table, columns: ['Episode Air Date', 'Audition City', 'Date', 'First Audition Venue', 'Callback Date', 'Callback Venue', 'Golden Tickets'] ### Response: SELECT Audition City FROM table WHERE Callback Venue = Charleston Area Convention Center
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: When did the callbacks from rancho bernardo inn air ### Inputs: table_name: table, columns: ['Episode Air Date', 'Audition City', 'Date', 'First Audition Venue', 'Callback Date', 'Callback Venue', 'Golden Tickets'] ### Response: SELECT Episode Air Date FROM table WHERE Callback Venue = Rancho Bernardo Inn
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: The station located in Albuquerque has been owned since what year? ### Inputs: table_name: table, columns: ['City of license/Market', 'Station', 'Channel TV ( DT )', 'Year of affiliation', 'Owned since'] ### Response: SELECT Owned since FROM table WHERE City of license/Market = Albuquerque
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What channels have stations that were affiliated in 2002? ### Inputs: table_name: table, columns: ['City of license/Market', 'Station', 'Channel TV ( DT )', 'Year of affiliation', 'Owned since'] ### Response: SELECT Channel TV ( DT ) FROM table WHERE Year of affiliation = 2002
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What market is KTFK-DT in? ### Inputs: table_name: table, columns: ['City of license/Market', 'Station', 'Channel TV ( DT )', 'Year of affiliation', 'Owned since'] ### Response: SELECT City of license/Market FROM table WHERE Station = KTFK-DT
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what's the engine where performance is 0–100km/h: 10.5s, vmax km/h (mph) ### Inputs: table_name: table, columns: ['Trim', 'Engine', 'Turbo', 'Fuel Delivery', 'Power', 'Torque', 'Transmission', 'Performance'] ### Response: SELECT Engine FROM table WHERE Performance = 0–100km/h: 10.5s, VMax km/h (mph)
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what's the turbo where trim is 2.0 20v ### Inputs: table_name: table, columns: ['Trim', 'Engine', 'Turbo', 'Fuel Delivery', 'Power', 'Torque', 'Transmission', 'Performance'] ### Response: SELECT Turbo FROM table WHERE Trim = 2.0 20v
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what's the torque where performance is 0–100km/h: 7.5s auto, vmax: km/h (mph) ### Inputs: table_name: table, columns: ['Trim', 'Engine', 'Turbo', 'Fuel Delivery', 'Power', 'Torque', 'Transmission', 'Performance'] ### Response: SELECT Torque FROM table WHERE Performance = 0–100km/h: 7.5s auto, VMax: km/h (mph)
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what's the transmission where turbo is yes (mitsubishi td04-16t ) ### Inputs: table_name: table, columns: ['Trim', 'Engine', 'Turbo', 'Fuel Delivery', 'Power', 'Torque', 'Transmission', 'Performance'] ### Response: SELECT Transmission FROM table WHERE Turbo = Yes (Mitsubishi TD04-16t )
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what's the fuel delivery where power is hp (kw) @6500 rpm ### Inputs: table_name: table, columns: ['Trim', 'Engine', 'Turbo', 'Fuel Delivery', 'Power', 'Torque', 'Transmission', 'Performance'] ### Response: SELECT Fuel Delivery FROM table WHERE Power = hp (kW) @6500 rpm
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: " what's the engine with turbo being yes (mitsubishi td04-15g ) " ### Inputs: table_name: table, columns: ['Trim', 'Engine', 'Turbo', 'Fuel Delivery', 'Power', 'Torque', 'Transmission', 'Performance'] ### Response: SELECT Engine FROM table WHERE Turbo = Yes (Mitsubishi TD04-15g )
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the english title that has finale as 33 and peak as 42? ### Inputs: table_name: table, columns: ['Rank', 'English title', 'Chinese title', 'Average', 'Peak', 'Premiere', 'Finale', 'HK viewers'] ### Response: SELECT English title FROM table WHERE Finale = 33 AND Peak = 42
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the english title where the premiere is less than 30.0 and the finale is bigger than 36.0? ### Inputs: table_name: table, columns: ['Rank', 'English title', 'Chinese title', 'Average', 'Peak', 'Premiere', 'Finale', 'HK viewers'] ### Response: SELECT English title FROM table WHERE Premiere < 30.0 AND Finale > 36.0
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the rank of the chinese title 緣來自有機? ### Inputs: table_name: table, columns: ['Rank', 'English title', 'Chinese title', 'Average', 'Peak', 'Premiere', 'Finale', 'HK viewers'] ### Response: SELECT Rank FROM table WHERE Chinese title = 緣來自有機
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What amount is the number of hk viewers where chinese title is 十兄弟? ### Inputs: table_name: table, columns: ['Rank', 'English title', 'Chinese title', 'Average', 'Peak', 'Premiere', 'Finale', 'HK viewers'] ### Response: SELECT HK viewers FROM table WHERE Chinese title = 十兄弟
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the weekly rank with an air date is november 12, 2007? ### Inputs: table_name: table, columns: ['#', 'Episode', 'Air Date', 'Rating', 'Share', '18–49 (Rating/Share)', 'Viewers (m)', 'Weekly Rank'] ### Response: SELECT Weekly Rank FROM table WHERE Air Date = November 12, 2007
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the air date of the episode "blowback"? ### Inputs: table_name: table, columns: ['#', 'Episode', 'Air Date', 'Rating', 'Share', '18–49 (Rating/Share)', 'Viewers (m)', 'Weekly Rank'] ### Response: SELECT Air Date FROM table WHERE Episode = "Blowback"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the lowest weekly rank with an air date of november 26, 2007? ### Inputs: table_name: table, columns: ['#', 'Episode', 'Air Date', 'Rating', 'Share', '18–49 (Rating/Share)', 'Viewers (m)', 'Weekly Rank'] ### Response: SELECT MIN Weekly Rank FROM table WHERE Air Date = November 26, 2007
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the episode where 18-49 has a rating/share of 3.5/9 ### Inputs: table_name: table, columns: ['#', 'Episode', 'Air Date', 'Rating', 'Share', '18–49 (Rating/Share)', 'Viewers (m)', 'Weekly Rank'] ### Response: SELECT Episode FROM table WHERE 18–49 (Rating/Share) = 3.5/9
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the viewers where the rating is 5.3? ### Inputs: table_name: table, columns: ['#', 'Episode', 'Air Date', 'Rating', 'Share', '18–49 (Rating/Share)', 'Viewers (m)', 'Weekly Rank'] ### Response: SELECT Viewers (m) FROM table WHERE Rating = 5.3
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the 18-49 rating/share where the viewers is 5.61? ### Inputs: table_name: table, columns: ['#', 'Episode', 'Air Date', 'Rating', 'Share', '18–49 (Rating/Share)', 'Viewers (m)', 'Weekly Rank'] ### Response: SELECT 18–49 (Rating/Share) FROM table WHERE Viewers (m) = 5.61
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the highest of balmoor/ ### Inputs: table_name: table, columns: ['Team', 'Stadium', 'Capacity', 'Highest', 'Lowest', 'Average'] ### Response: SELECT Highest FROM table WHERE Stadium = Balmoor
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the number of capacity at somerset park? ### Inputs: table_name: table, columns: ['Team', 'Stadium', 'Capacity', 'Highest', 'Lowest', 'Average'] ### Response: SELECT COUNT Capacity FROM table WHERE Stadium = Somerset Park
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the minimum capacity where airdrie united is? ### Inputs: table_name: table, columns: ['Team', 'Stadium', 'Capacity', 'Highest', 'Lowest', 'Average'] ### Response: SELECT MIN Capacity FROM table WHERE Team = Airdrie United
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the stadium for alloa athletic? ### Inputs: table_name: table, columns: ['Team', 'Stadium', 'Capacity', 'Highest', 'Lowest', 'Average'] ### Response: SELECT Stadium FROM table WHERE Team = Alloa Athletic
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the highest of ayr united? ### Inputs: table_name: table, columns: ['Team', 'Stadium', 'Capacity', 'Highest', 'Lowest', 'Average'] ### Response: SELECT MIN Highest FROM table WHERE Team = Ayr United
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the average? ### Inputs: table_name: table, columns: ['Team', 'Stadium', 'Capacity', 'Highest', 'Lowest', 'Average'] ### Response: SELECT MIN Average FROM table
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: When are team Galway's dates of appointment? ### Inputs: table_name: table, columns: ['Team', 'Outgoing manager', 'Manner of departure', 'Date of vacancy', 'Replaced by', 'Date of appointment', 'Position'] ### Response: SELECT Date of appointment FROM table WHERE Team = Galway
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: When are the vacancy dates for outgoing manager Damien Fox? ### Inputs: table_name: table, columns: ['Team', 'Outgoing manager', 'Manner of departure', 'Date of vacancy', 'Replaced by', 'Date of appointment', 'Position'] ### Response: SELECT Date of vacancy FROM table WHERE Outgoing manager = Damien Fox
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: When is the date of vacancy of Davy Fitzgerald being a replacement? ### Inputs: table_name: table, columns: ['Team', 'Outgoing manager', 'Manner of departure', 'Date of vacancy', 'Replaced by', 'Date of appointment', 'Position'] ### Response: SELECT Date of vacancy FROM table WHERE Replaced by = Davy FitzGerald
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Which team has the outgoing manager John Meyler? ### Inputs: table_name: table, columns: ['Team', 'Outgoing manager', 'Manner of departure', 'Date of vacancy', 'Replaced by', 'Date of appointment', 'Position'] ### Response: SELECT Team FROM table WHERE Outgoing manager = John Meyler
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: How many times is 3 credits 180? ### Inputs: table_name: table, columns: ['Hand', '1 credit', '2 credits', '3 credits', '4 credits', '5 credits'] ### Response: SELECT COUNT 1 credit FROM table WHERE 3 credits = 180
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the hand for 4 credits is 1600? ### Inputs: table_name: table, columns: ['Hand', '1 credit', '2 credits', '3 credits', '4 credits', '5 credits'] ### Response: SELECT Hand FROM table WHERE 4 credits = 1600
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: How many 3 credits are there with 5 credits of 5? ### Inputs: table_name: table, columns: ['Hand', '1 credit', '2 credits', '3 credits', '4 credits', '5 credits'] ### Response: SELECT COUNT 3 credits FROM table WHERE 5 credits = 5
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: How many 4 credits is the hand two pair? ### Inputs: table_name: table, columns: ['Hand', '1 credit', '2 credits', '3 credits', '4 credits', '5 credits'] ### Response: SELECT COUNT 4 credits FROM table WHERE Hand = Two pair
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What duration is listed for Christian de la Fuente? ### Inputs: table_name: table, columns: ['Character', 'Position', 'Actor', 'First Episode', 'Final Episode', 'Duration', 'Final Episode Count'] ### Response: SELECT Duration FROM table WHERE Actor = Christian de la Fuente
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What was the final episode for Dea Agent? ### Inputs: table_name: table, columns: ['Character', 'Position', 'Actor', 'First Episode', 'Final Episode', 'Duration', 'Final Episode Count'] ### Response: SELECT Final Episode FROM table WHERE Position = DEA Agent
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What days is greenock morton vacant? ### Inputs: table_name: table, columns: ['Team', 'Outgoing manager', 'Manner of departure', 'Date of vacancy', 'Replaced by', 'Date of appointment'] ### Response: SELECT Date of vacancy FROM table WHERE Team = Greenock Morton
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What are the dates of the outgoing manager colin hendry does appointments? ### Inputs: table_name: table, columns: ['Team', 'Outgoing manager', 'Manner of departure', 'Date of vacancy', 'Replaced by', 'Date of appointment'] ### Response: SELECT Date of appointment FROM table WHERE Outgoing manager = Colin Hendry
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What teams does jim mcinally manage? ### Inputs: table_name: table, columns: ['Team', 'Outgoing manager', 'Manner of departure', 'Date of vacancy', 'Replaced by', 'Date of appointment'] ### Response: SELECT Team FROM table WHERE Outgoing manager = Jim McInally
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What days are vacant that were replaced by john brown? ### Inputs: table_name: table, columns: ['Team', 'Outgoing manager', 'Manner of departure', 'Date of vacancy', 'Replaced by', 'Date of appointment'] ### Response: SELECT Date of vacancy FROM table WHERE Replaced by = John Brown
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What manner of departure is listed with an appointment date of 13 march 2008 ### Inputs: table_name: table, columns: ['Team', 'Outgoing manager', 'Manner of departure', 'Date of vacancy', 'Replaced by', 'Date of appointment'] ### Response: SELECT Manner of departure FROM table WHERE Date of appointment = 13 March 2008
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the date of appointment for outgoing manager Campbell Money ### Inputs: table_name: table, columns: ['Team', 'Outgoing manager', 'Manner of departure', 'Date of vacancy', 'Replaced by', 'Date of appointment'] ### Response: SELECT Date of appointment FROM table WHERE Outgoing manager = Campbell Money
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the lowest attendance that East End Park has ever had? ### Inputs: table_name: table, columns: ['Team', 'Stadium', 'Capacity', 'Highest', 'Lowest', 'Average'] ### Response: SELECT MIN Lowest FROM table WHERE Stadium = East End Park
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What team plays at Palmerston Park? ### Inputs: table_name: table, columns: ['Team', 'Stadium', 'Capacity', 'Highest', 'Lowest', 'Average'] ### Response: SELECT Team FROM table WHERE Stadium = Palmerston Park
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the lowest attandance recorded at Cappielow? ### Inputs: table_name: table, columns: ['Team', 'Stadium', 'Capacity', 'Highest', 'Lowest', 'Average'] ### Response: SELECT MIN Lowest FROM table WHERE Stadium = Cappielow
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the highest attendance at a game played by St. Johnstone? ### Inputs: table_name: table, columns: ['Team', 'Stadium', 'Capacity', 'Highest', 'Lowest', 'Average'] ### Response: SELECT MAX Highest FROM table WHERE Team = St. Johnstone
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What is the highest attandence at a Hamilton Academical game? ### Inputs: table_name: table, columns: ['Team', 'Stadium', 'Capacity', 'Highest', 'Lowest', 'Average'] ### Response: SELECT MIN Highest FROM table WHERE Team = Hamilton Academical
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: who is the champion where semi-finalist #2 is na and location is morrisville, nc ### Inputs: table_name: table, columns: ['Year', 'Champion', 'Score', 'Runner-Up', 'Location', 'Semi-Finalist #1', 'Semi-Finalist #2'] ### Response: SELECT Champion FROM table WHERE Semi-Finalist #2 = NA AND Location = Morrisville, NC
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what's the score where year is 2007 ### Inputs: table_name: table, columns: ['Year', 'Champion', 'Score', 'Runner-Up', 'Location', 'Semi-Finalist #1', 'Semi-Finalist #2'] ### Response: SELECT Score FROM table WHERE Year = 2007
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what is the total number of semi-finalist #2 where runner-up is east carolina ### Inputs: table_name: table, columns: ['Year', 'Champion', 'Score', 'Runner-Up', 'Location', 'Semi-Finalist #1', 'Semi-Finalist #2'] ### Response: SELECT COUNT Semi-Finalist #2 FROM table WHERE Runner-Up = East Carolina
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: who is the semi-finalist #1 where runner-up is elon university ### Inputs: table_name: table, columns: ['Year', 'Champion', 'Score', 'Runner-Up', 'Location', 'Semi-Finalist #1', 'Semi-Finalist #2'] ### Response: SELECT Semi-Finalist #1 FROM table WHERE Runner-Up = Elon University
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: who is the runner-up where year is 2004 and champion is north carolina state ### Inputs: table_name: table, columns: ['Year', 'Champion', 'Score', 'Runner-Up', 'Location', 'Semi-Finalist #1', 'Semi-Finalist #2'] ### Response: SELECT Runner-Up FROM table WHERE Year = 2004 AND Champion = North Carolina State
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: who is the runner-up where location is ellenton, fl and year is 2004 ### Inputs: table_name: table, columns: ['Year', 'Champion', 'Score', 'Runner-Up', 'Location', 'Semi-Finalist #1', 'Semi-Finalist #2'] ### Response: SELECT Runner-Up FROM table WHERE Location = Ellenton, FL AND Year = 2004
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what's the naturalisation by marriage with numer of jamaicans granted british citizenship being 3165 ### Inputs: table_name: table, columns: ['Year', 'Numer of Jamaicans granted British citizenship', 'Naturalisation by residence', 'Naturalisation by marriage', 'Registration of a minor child', 'Registration by other means'] ### Response: SELECT Naturalisation by marriage FROM table WHERE Numer of Jamaicans granted British citizenship = 3165
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: how many numer of jamaicans granted british citizenship with naturalisation by marriage being 1060 ### Inputs: table_name: table, columns: ['Year', 'Numer of Jamaicans granted British citizenship', 'Naturalisation by residence', 'Naturalisation by marriage', 'Registration of a minor child', 'Registration by other means'] ### Response: SELECT COUNT Numer of Jamaicans granted British citizenship FROM table WHERE Naturalisation by marriage = 1060
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what's the naturalisation by marriage with regbeingtration of a minor child being 114 ### Inputs: table_name: table, columns: ['Year', 'Numer of Jamaicans granted British citizenship', 'Naturalisation by residence', 'Naturalisation by marriage', 'Registration of a minor child', 'Registration by other means'] ### Response: SELECT Naturalisation by marriage FROM table WHERE Registration of a minor child = 114
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what's the numer of jamaicans granted british citizenship with naturalisation by residence being 927 ### Inputs: table_name: table, columns: ['Year', 'Numer of Jamaicans granted British citizenship', 'Naturalisation by residence', 'Naturalisation by marriage', 'Registration of a minor child', 'Registration by other means'] ### Response: SELECT Numer of Jamaicans granted British citizenship FROM table WHERE Naturalisation by residence = 927
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: what is the maximum year with registration of a minor child being 281 ### Inputs: table_name: table, columns: ['Year', 'Numer of Jamaicans granted British citizenship', 'Naturalisation by residence', 'Naturalisation by marriage', 'Registration of a minor child', 'Registration by other means'] ### Response: SELECT MAX Year FROM table WHERE Registration of a minor child = 281
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: How many episodes had their first air date on March 6, 2008? ### Inputs: table_name: table, columns: ['Episode Titles', 'First air date', 'Reward', 'Immunity', 'Exiled', 'Eliminated', 'Vote', 'Finish'] ### Response: SELECT COUNT Episode Titles FROM table WHERE First air date = March 6, 2008
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: What were the results of episodes with the first air date of March 6, 2008? ### Inputs: table_name: table, columns: ['Episode Titles', 'First air date', 'Reward', 'Immunity', 'Exiled', 'Eliminated', 'Vote', 'Finish'] ### Response: SELECT Finish FROM table WHERE First air date = March 6, 2008
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: How many millions of viewers watched episode 15? ### Inputs: table_name: table, columns: ['No. in series', 'No. in season', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (millions)'] ### Response: SELECT U.S. viewers (millions) FROM table WHERE No. in season = 15
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: How many millions of viewers watched the "Throwing Heat" episode? ### Inputs: table_name: table, columns: ['No. in series', 'No. in season', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (millions)'] ### Response: SELECT U.S. viewers (millions) FROM table WHERE Title = "Throwing Heat"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: How many millions of viewers watched the episode directed by Anthony Hemingway? ### Inputs: table_name: table, columns: ['No. in series', 'No. in season', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (millions)'] ### Response: SELECT U.S. viewers (millions) FROM table WHERE Directed by = Anthony Hemingway