text
stringlengths
293
1.24k
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2950964_1 (published VARCHAR, audiobook_narrator VARCHAR) ### Question: What is the publication date of the book that is narrated by Michael Maloney? ### Answer: SELECT published FROM table_2950964_1 WHERE audiobook_narrator = "Michael Maloney"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_32 (total INTEGER, nation VARCHAR, bronze VARCHAR) ### Question: Tell me the average total for guatemala and bronze less than 2 ### Answer: SELECT AVG(total) FROM table_name_32 WHERE nation = "guatemala" AND bronze < 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_97 (erp_w INTEGER, call_sign VARCHAR) ### Question: What is the average ERP W for callsign K207BK? ### Answer: SELECT AVG(erp_w) FROM table_name_97 WHERE call_sign = "k207bk"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1140076_2 (pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR) ### Question: What is the pole position for the race with the fastest lap by Nelson Piquet and the constructor is Ferrari? ### Answer: SELECT pole_position FROM table_1140076_2 WHERE fastest_lap = "Nelson Piquet" AND constructor = "Ferrari"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22815568_2 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR) ### Question: What is the unemployment rate for the county with a market income per capita of $20,958? ### Answer: SELECT COUNT(unemployment_rate) FROM table_22815568_2 WHERE market_income_per_capita = "$20,958"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18893428_1 (driver VARCHAR, constructor VARCHAR) ### Question: Who is the driver of the entry constructed by Mercedes-Benz? ### Answer: SELECT driver FROM table_18893428_1 WHERE constructor = "Mercedes-Benz"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_22 (level VARCHAR, domestic_cup VARCHAR) ### Question: Which level is quarterfinals domestic cup? ### Answer: SELECT level FROM table_name_22 WHERE domestic_cup = "quarterfinals"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_99 (date VARCHAR, points VARCHAR, home VARCHAR) ### Question: What is the date of the game with less than 35 points and chicago as the home team? ### Answer: SELECT date FROM table_name_99 WHERE points < 35 AND home = "chicago"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (home_team VARCHAR, year VARCHAR, venue VARCHAR) ### Question: Which Home team has a Year of 2002/03, and a Venue of tahnoun bin mohamed stadium? ### Answer: SELECT home_team FROM table_name_35 WHERE year = "2002/03" AND venue = "tahnoun bin mohamed stadium"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (event VARCHAR, total VARCHAR) ### Question: What event did the shooter, who had 29 total points, compete in? ### Answer: SELECT event FROM table_name_31 WHERE total = "29"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (venue VARCHAR, team VARCHAR) ### Question: what is the venue of belshina ### Answer: SELECT venue FROM table_name_94 WHERE team = "belshina"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (week INTEGER, game_site VARCHAR, attendance VARCHAR) ### Question: What was the first week when there was an attendance over 75,007 at Mile High Stadium? ### Answer: SELECT MIN(week) FROM table_name_21 WHERE game_site = "mile high stadium" AND attendance > 75 OFFSET 007
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_2 (week_3 VARCHAR, week_9 VARCHAR) ### Question: Which Week 3 has a Week 9 of ejected (day 3)? ### Answer: SELECT week_3 FROM table_name_2 WHERE week_9 = "ejected (day 3)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17525955_2 (viewers__millions_ VARCHAR, episode__number VARCHAR) ### Question: How many viewers did Episode #5 have? ### Answer: SELECT viewers__millions_ FROM table_17525955_2 WHERE episode__number = 5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (total_population__2010_census_ INTEGER, area__km_2__ INTEGER) ### Question: Which Total population (2010 census) has an Area (km 2) smaller than 147,307.00? ### Answer: SELECT MAX(total_population__2010_census_) FROM table_name_11 WHERE area__km_2__ < 147 OFFSET 307.00
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_75 (issue INTEGER, spoofed_title VARCHAR) ### Question: What issue was the spoofed title Ho-Hum land? ### Answer: SELECT SUM(issue) FROM table_name_75 WHERE spoofed_title = "ho-hum land"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11658094_1 (location VARCHAR, joined VARCHAR) ### Question: what are the locations that joined in 2008 ### Answer: SELECT location FROM table_11658094_1 WHERE joined = "2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (date VARCHAR, venue VARCHAR) ### Question: When was victoria park used as a venue? ### Answer: SELECT date FROM table_name_18 WHERE venue = "victoria park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (seats_2001 INTEGER, seats_2006 VARCHAR, _percentage_2001 VARCHAR) ### Question: There are communities listed that a percentage larger than 7.6 in 2001, but none of them has 2 seats listed in 2006. ### Answer: SELECT SUM(seats_2001) FROM table_name_7 WHERE seats_2006 = 2 AND _percentage_2001 > 7.6
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (platform VARCHAR, title VARCHAR) ### Question: What's the platform of Super Mario All-Stars? ### Answer: SELECT platform FROM table_name_89 WHERE title = "super mario all-stars"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1008653_1 (capital___endonym__ VARCHAR, country___endonym__ VARCHAR) ### Question: What is the local name given to the capital of Anguilla? ### Answer: SELECT capital___endonym__ FROM table_1008653_1 WHERE country___endonym__ = "Anguilla"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2506300_1 (top_10 INTEGER, winnings VARCHAR) ### Question: What the rank in the top 10 when the winnings were $1,741,176? ### Answer: SELECT MIN(top_10) FROM table_2506300_1 WHERE winnings = "$1,741,176"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20860739_1 (position VARCHAR, player VARCHAR) ### Question: What is the number of Mike Thomas? ### Answer: SELECT COUNT(position) FROM table_20860739_1 WHERE player = "Mike Thomas"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (us_modern_rock VARCHAR, code VARCHAR) ### Question: What is the US modern rock rank of code bad 0003? ### Answer: SELECT us_modern_rock FROM table_name_90 WHERE code = "bad 0003"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (winner VARCHAR, date VARCHAR) ### Question: Who was the winner on 28 December 2007? ### Answer: SELECT winner FROM table_name_59 WHERE date = "28 december 2007"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE countrylanguage (LANGUAGE VARCHAR) ### Question: How many unique languages are spoken in the world? ### Answer: SELECT COUNT(DISTINCT LANGUAGE) FROM countrylanguage
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24143253_5 (deceased_spouse VARCHAR, length_of_marriage VARCHAR) ### Question: Who was the deceased spouse who was married for 4 years? ### Answer: SELECT deceased_spouse FROM table_24143253_5 WHERE length_of_marriage = "4 years"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14342592_5 (player VARCHAR, position VARCHAR) ### Question: What players played the position of left tackle? ### Answer: SELECT player FROM table_14342592_5 WHERE position = "Left tackle"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (Id VARCHAR) ### Question: Name the 1821 with 1811 of 1921 ### Answer: SELECT 1821 FROM table_name_1 WHERE 1811 = "1921"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR) ### Question: Which Result has a Date of 7 june 2000? ### Answer: SELECT result FROM table_name_36 WHERE date = "7 june 2000"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (country VARCHAR, score VARCHAR) ### Question: Which of the countries showed a score of 71-72=143? ### Answer: SELECT country FROM table_name_8 WHERE score = 71 - 72 = 143
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_6 (emit__nm_ VARCHAR, absorb__nm_ VARCHAR) ### Question: Which Emission (in nanometers) has an absorbtion of 593 nm? ### Answer: SELECT emit__nm_ FROM table_name_6 WHERE absorb__nm_ = "593"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (score VARCHAR, venue VARCHAR, date VARCHAR) ### Question: What is the score of the match on 3 March 1988 at the estadio nacional? ### Answer: SELECT score FROM table_name_73 WHERE venue = "estadio nacional" AND date = "3 march 1988"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17505751_5 (total VARCHAR, p INTEGER) ### Question: if p is bigger than 4.0 what is total number ### Answer: SELECT COUNT(total) FROM table_17505751_5 WHERE p > 4.0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (driver VARCHAR, grid VARCHAR) ### Question: Which driver had a grid of 2? ### Answer: SELECT driver FROM table_name_63 WHERE grid = 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_51 (player VARCHAR) ### Question: How many average 100s were there for Tim Bresnan? ### Answer: SELECT AVG(100 AS s) FROM table_name_51 WHERE player = "tim bresnan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE journalist (Id VARCHAR) ### Question: How many journalists are there? ### Answer: SELECT COUNT(*) FROM journalist
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18600760_10 (land___sqmi__ VARCHAR, county VARCHAR) ### Question: How big is the land in square miles of Grand Forks county? ### Answer: SELECT land___sqmi__ FROM table_18600760_10 WHERE county = "Grand Forks"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (episode VARCHAR, airdate__canada_ VARCHAR) ### Question: What is the total number of episodes aired in Canada on 22 October 2004? ### Answer: SELECT COUNT(episode) FROM table_name_18 WHERE airdate__canada_ = "22 october 2004"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_5 (city VARCHAR, results¹ VARCHAR) ### Question: What city held that game with a 5:2 result? ### Answer: SELECT city FROM table_name_5 WHERE results¹ = "5:2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1429629_1 (episode VARCHAR, run_time VARCHAR) ### Question: What are all the episodes with an episode run time of 24:01? ### Answer: SELECT episode FROM table_1429629_1 WHERE run_time = "24:01"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_23 (summoned VARCHAR, elected VARCHAR) ### Question: What is Summoned, when Elected is "March 1298"? ### Answer: SELECT summoned FROM table_name_23 WHERE elected = "march 1298"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (final_score VARCHAR, attendance VARCHAR) ### Question: What was the final score for the game with 65,309 people in attendance? ### Answer: SELECT final_score FROM table_name_28 WHERE attendance = "65,309"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (leading_scorer VARCHAR, date VARCHAR) ### Question: Name the leading scorer for 1 april 2008 ### Answer: SELECT leading_scorer FROM table_name_82 WHERE date = "1 april 2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1231892_4 (us_air_date VARCHAR, broadcast_order VARCHAR) ### Question: What's the original air date of the episode with a broadcast order s04 e01? ### Answer: SELECT us_air_date FROM table_1231892_4 WHERE broadcast_order = "S04 E01"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1046170_5 (division VARCHAR, us_open_cup VARCHAR, year VARCHAR) ### Question: how many division did not qualify for u.s. open cup in 2003 ### Answer: SELECT division FROM table_1046170_5 WHERE us_open_cup = "Did Not Qualify" AND year = 2003
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13258823_2 (opponent VARCHAR, game_site VARCHAR) ### Question: Name the number of opponent with arrowhead stadium ### Answer: SELECT COUNT(opponent) FROM table_13258823_2 WHERE game_site = "Arrowhead Stadium"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (category VARCHAR, year INTEGER) ### Question: What category has a year after 2004? ### Answer: SELECT category FROM table_name_33 WHERE year > 2004
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (wins INTEGER, team VARCHAR) ### Question: How many average wins have USA as the team? ### Answer: SELECT AVG(wins) FROM table_name_25 WHERE team = "usa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_70 (home VARCHAR, visitor VARCHAR) ### Question: Who was the home team where Trail Blazers were the visitor? ### Answer: SELECT home FROM table_name_70 WHERE visitor = "trail blazers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (gold INTEGER, total VARCHAR, bronze VARCHAR) ### Question: What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals? ### Answer: SELECT SUM(gold) FROM table_name_72 WHERE total = 12 AND bronze < 4
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (attendance INTEGER, away VARCHAR) ### Question: What is the Attendance when Vida is the Away team? ### Answer: SELECT AVG(attendance) FROM table_name_25 WHERE away = "vida"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Products (Product_Name VARCHAR, Product_Price VARCHAR) ### Question: List the name of products in ascending order of price. ### Answer: SELECT Product_Name FROM Products ORDER BY Product_Price
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24915874_1 (trainer VARCHAR, jockey VARCHAR) ### Question: Who was the trainer when the jockey was Luke Nolen? ### Answer: SELECT trainer FROM table_24915874_1 WHERE jockey = "Luke Nolen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_56 (airport VARCHAR, iata VARCHAR) ### Question: What Airport's IATA is SEA? ### Answer: SELECT airport FROM table_name_56 WHERE iata = "sea"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12886178_4 (try_bonus VARCHAR, tries_against VARCHAR) ### Question: What's the try bonus count for the club whose tries against count is 83? ### Answer: SELECT try_bonus FROM table_12886178_4 WHERE tries_against = "83"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18461635_1 (team VARCHAR, county VARCHAR) ### Question: What is the name of the team from Derbyshire county? ### Answer: SELECT team FROM table_18461635_1 WHERE county = "Derbyshire"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19766_1 (country VARCHAR) ### Question: How many millions of $ were spent in Iceland in 1948/49? ### Answer: SELECT MAX(1948 AS _49__) AS $_millions_ FROM table_19766_1 WHERE country = "Iceland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_13 (high_assists VARCHAR, team VARCHAR) ### Question: Who had the most assists in the game against Atlanta? ### Answer: SELECT high_assists FROM table_name_13 WHERE team = "atlanta"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (date VARCHAR, away_team VARCHAR) ### Question: What date did South Melbourne play as the Away team? ### Answer: SELECT date FROM table_name_79 WHERE away_team = "south melbourne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (gold INTEGER, nation VARCHAR, bronze VARCHAR) ### Question: Name the Gold which has a Nation of australia, and a Bronze smaller than 1? ### Answer: SELECT MIN(gold) FROM table_name_64 WHERE nation = "australia" AND bronze < 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (first_year_played VARCHAR, doubles_w_l VARCHAR) ### Question: Which year first played with Double W-L of 8–3? ### Answer: SELECT first_year_played FROM table_name_12 WHERE doubles_w_l = "8–3"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (season VARCHAR, opponent VARCHAR, location VARCHAR, decision VARCHAR) ### Question: What season was played at Safeco Field, against the Boston Red Sox, with a decision of L? ### Answer: SELECT season FROM table_name_60 WHERE location = "safeco field" AND decision = "l" AND opponent = "boston red sox"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15081939_4 (province VARCHAR, swimsuit VARCHAR) ### Question: Which province got a swimsuit score of 8.43 ### Answer: SELECT province FROM table_15081939_4 WHERE swimsuit = "8.43"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (points VARCHAR, wins VARCHAR, team VARCHAR) ### Question: How many points did Carlin have when they had 3 wins? ### Answer: SELECT points FROM table_name_90 WHERE wins = "3" AND team = "carlin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (example VARCHAR, formula VARCHAR) ### Question: Which example has rx as the formula? ### Answer: SELECT example FROM table_name_36 WHERE formula = "rx"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (title VARCHAR, doctor VARCHAR, company VARCHAR) ### Question: What is Title, when Doctor is 06 Sixth Doctor, and when Company is Big Finish? ### Answer: SELECT title FROM table_name_87 WHERE doctor = "06 sixth doctor" AND company = "big finish"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (result VARCHAR, score VARCHAR) ### Question: What is the result when the score is 4-0? ### Answer: SELECT result FROM table_name_82 WHERE score = "4-0"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR) ### Question: What record has march 30 as the date? ### Answer: SELECT record FROM table_name_1 WHERE date = "march 30"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25647137_2 (touchdowns INTEGER) ### Question: What was the highest number of touchdowns by a player? ### Answer: SELECT MAX(touchdowns) FROM table_25647137_2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1566850_8 (cover_model VARCHAR, date VARCHAR) ### Question: What is the name of the cover model on 3-97? ### Answer: SELECT cover_model FROM table_1566850_8 WHERE date = "3-97"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (total INTEGER, gold VARCHAR, bronze VARCHAR) ### Question: What is the total when the gold of 0, and a bronze larger than 1? ### Answer: SELECT MAX(total) FROM table_name_25 WHERE gold = 0 AND bronze > 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (result VARCHAR, venue VARCHAR, attendance VARCHAR) ### Question: I want to see the result for venue of n and attendance more than 20,664 ### Answer: SELECT result FROM table_name_17 WHERE venue = "n" AND attendance > 20 OFFSET 664
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (replaced_by VARCHAR, position_in_table VARCHAR, manner_of_departure VARCHAR) ### Question: Who was the manager that was positioned 11th in table and resigned in departure? ### Answer: SELECT replaced_by FROM table_name_30 WHERE position_in_table = "11th" AND manner_of_departure = "resigned"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (season VARCHAR, school_club_team VARCHAR) ### Question: What season did the player who came from Cebu play in? ### Answer: SELECT season FROM table_name_64 WHERE school_club_team = "cebu"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (defenses INTEGER, days_held VARCHAR) ### Question: What is the lowest defense a champion with 345 days held has? ### Answer: SELECT MIN(defenses) FROM table_name_46 WHERE days_held = "345"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_62 (host VARCHAR, state VARCHAR, venue VARCHAR) ### Question: What was the host of the round in the Montagne Center in Texas? ### Answer: SELECT host FROM table_name_62 WHERE state = "texas" AND venue = "montagne center"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_86 (player VARCHAR, round VARCHAR, overall VARCHAR) ### Question: Who is the player on round 7 with an overall ranking of #195? ### Answer: SELECT player FROM table_name_86 WHERE round = "7" AND overall = "#195"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) ### Question: What was the score on 6 February 2008? ### Answer: SELECT score FROM table_name_35 WHERE date = "6 february 2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE review (i_id VARCHAR); CREATE TABLE item (i_id VARCHAR) ### Question: Find the number of items that did not receive any review. ### Answer: SELECT COUNT(*) FROM item WHERE NOT i_id IN (SELECT i_id FROM review)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19930660_2 (first_broadcast VARCHAR, episode VARCHAR) ### Question: When was the episode 2x10 aired for the first time? ### Answer: SELECT first_broadcast FROM table_19930660_2 WHERE episode = "2x10"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_160510_1 (capital VARCHAR, hanja VARCHAR) ### Question: The hanja 尙州 is for what capital? ### Answer: SELECT capital FROM table_160510_1 WHERE hanja = "尙州"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_283203_1 (years_active VARCHAR, home_venue VARCHAR) ### Question: How long has the team who owns North Shore Events Centre Vector Arena been active? ### Answer: SELECT years_active FROM table_283203_1 WHERE home_venue = "North Shore Events Centre Vector Arena"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_34 (points_for VARCHAR, tries_for VARCHAR) ### Question: What is the points for where the tries for is 29? ### Answer: SELECT points_for FROM table_name_34 WHERE tries_for = "29"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (year INTEGER, winner VARCHAR) ### Question: What is the average year for scatman winning? ### Answer: SELECT AVG(year) FROM table_name_58 WHERE winner = "scatman"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (circumstances VARCHAR, location VARCHAR) ### Question: What happened in Mazar-i-sharif? ### Answer: SELECT circumstances FROM table_name_3 WHERE location = "mazar-i-sharif"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (declination___j2000__ VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR) ### Question: Tell me the declination with apparent magnitude more than 10.4 and NGC number of 5112 ### Answer: SELECT declination___j2000__ FROM table_name_12 WHERE apparent_magnitude > 10.4 AND ngc_number = 5112
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (february VARCHAR, record VARCHAR) ### Question: What is February, when Record is "21-29-11"? ### Answer: SELECT february FROM table_name_46 WHERE record = "21-29-11"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342233_32 (candidates VARCHAR, incumbent VARCHAR) ### Question: Name the candidates for ellsworth b. buck ### Answer: SELECT candidates FROM table_1342233_32 WHERE incumbent = "Ellsworth B. Buck"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE home_game (attendance INTEGER, team_id VARCHAR, year VARCHAR) ### Question: What is the total home game attendance of team Boston Red Stockings from 2000 to 2010? ### Answer: SELECT SUM(T1.attendance) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year BETWEEN 2000 AND 2010
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_81 (week_5_sept_28 VARCHAR, week_10_nov_2 VARCHAR) ### Question: What was the week 5 opponent for the year with a week 10 opponent of Maryland (6-2)? ### Answer: SELECT week_5_sept_28 FROM table_name_81 WHERE week_10_nov_2 = "maryland (6-2)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (digital_psip VARCHAR, broadcast_channel VARCHAR, call_sign VARCHAR) ### Question: What is the Digital PSIP for channels over 15 with callsign CFTU-DT? ### Answer: SELECT digital_psip FROM table_name_14 WHERE broadcast_channel > 15 AND call_sign = "cftu-dt"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR) ### Question: How many episodes were shown on Friday if 190 Boardwalk Empire was shown on Wednesday? ### Answer: SELECT COUNT(friday) FROM table_18173916_6 WHERE wednesday = "190 Boardwalk Empire"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_69 (team VARCHAR, stadium VARCHAR, top_division_titles VARCHAR, founded VARCHAR) ### Question: Which team has Top division titles larger than 0, a Founded larger than 1927, and a Stadium of miguel grau? ### Answer: SELECT team FROM table_name_69 WHERE top_division_titles > 0 AND founded > 1927 AND stadium = "miguel grau"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (attendance INTEGER, season VARCHAR, premiership VARCHAR, runner_up VARCHAR) ### Question: If the season is before 2000, the runner up was north melbourne, and it's the pre-season cup, what's the sum of attendees? ### Answer: SELECT SUM(attendance) FROM table_name_8 WHERE premiership = "pre-season cup" AND runner_up = "north melbourne" AND season < 2000
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_62 (rank INTEGER, player VARCHAR) ### Question: Which Rank has a Player of matt ruth? ### Answer: SELECT SUM(rank) FROM table_name_62 WHERE player = "matt ruth"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_49 (Id VARCHAR) ### Question: What is the 1938 that has N/A for 1948? ### Answer: SELECT 1938 FROM table_name_49 WHERE 1948 = "n/a"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (result VARCHAR, name VARCHAR) ### Question: Marion Buisson with a 4.00 of o had what result? ### Answer: SELECT result FROM table_name_89 WHERE 400 = "o" AND name = "marion buisson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (status VARCHAR, moving_to VARCHAR) ### Question: What is the status of the player who is moving to Nantes? ### Answer: SELECT status FROM table_name_72 WHERE moving_to = "nantes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17085947_32 (trans_2 VARCHAR, total_time VARCHAR) ### Question: What is the trans 2 duration if the total time is 1:51:19.45? ### Answer: SELECT trans_2 FROM table_17085947_32 WHERE total_time = "1:51:19.45"