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 Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) ### Question: What are the movie titles and average rating of the movies with the lowest average rating? ### Answer: SELECT T2.title, AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY AVG(T1.stars) LIMIT 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 files (duration INTEGER, f_id VARCHAR, formats VARCHAR); CREATE TABLE song (f_id VARCHAR, resolution VARCHAR) ### Question: What is the average duration of songs that have mp3 format and resolution below 800? ### Answer: SELECT AVG(T1.duration) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.formats = "mp3" AND T2.resolution < 800
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 (year VARCHAR, result VARCHAR, venue VARCHAR) ### Question: What is the total number of years wehre anna thompson had a 3rd place result at edinburgh, scotland? ### Answer: SELECT COUNT(year) FROM table_name_28 WHERE result = "3rd" AND venue = "edinburgh, scotland"
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 (ravg VARCHAR, year VARCHAR) ### Question: In 1984, what was the RAvg? ### Answer: SELECT ravg FROM table_name_51 WHERE year = "1984"
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 Project_Staff (role_code VARCHAR, date_from VARCHAR, date_to VARCHAR) ### Question: What are the staff roles of the staff who ### Answer: SELECT role_code FROM Project_Staff WHERE date_from > '2003-04-19 15:06:20' AND date_to < '2016-03-15 00:33:18'
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 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR) ### Question: who is the outgoing manager when the manner of departure is contract terminated and the date of vacancy is 1 september 2008? ### Answer: SELECT outgoing_manager FROM table_name_22 WHERE manner_of_departure = "contract terminated" AND date_of_vacancy = "1 september 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_96 (country VARCHAR, player VARCHAR) ### Question: What is Country, when Player is "Hale Irwin"? ### Answer: SELECT country FROM table_name_96 WHERE player = "hale irwin"
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 (drg_number_s_ VARCHAR, railway_number_s_ VARCHAR) ### Question: Which DRG number has xxx railway number? ### Answer: SELECT drg_number_s_ FROM table_name_32 WHERE railway_number_s_ = "xxx"
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_16 (away_team VARCHAR, venue VARCHAR) ### Question: What was the score of the away team at the MCG? ### Answer: SELECT away_team AS score FROM table_name_16 WHERE venue = "mcg"
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 (attendance VARCHAR, week VARCHAR, result VARCHAR) ### Question: What was the attendance for the week before 10 with a result of L 12-15 ### Answer: SELECT attendance FROM table_name_86 WHERE week < 10 AND result = "l 12-15"
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_66 (sodium VARCHAR, potassium VARCHAR) ### Question: what is the properties of sodium when potassium is lii (1.5)? ### Answer: SELECT sodium FROM table_name_66 WHERE potassium = "lii (1.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_14 (venue VARCHAR, away_team VARCHAR) ### Question: Which venue has an Away team of south melbourne? ### Answer: SELECT venue FROM table_name_14 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_41 (opponent VARCHAR, date VARCHAR) ### Question: Who was the opponent on September 17? ### Answer: SELECT opponent FROM table_name_41 WHERE date = "september 17"
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 (quay_cranes INTEGER, terminal VARCHAR, berths VARCHAR, operator VARCHAR) ### Question: Name the lowest Quay cranes for Berths of 1 and operator of mtl with terminal of terminal 5 (ct5) ### Answer: SELECT MIN(quay_cranes) FROM table_name_72 WHERE berths = 1 AND operator = "mtl" AND terminal = "terminal 5 (ct5)"
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_71 (wheels INTEGER, type VARCHAR, location VARCHAR) ### Question: What average wheels has accounting as the type, with IBM Collection as the location? ### Answer: SELECT AVG(wheels) FROM table_name_71 WHERE type = "accounting" AND location = "ibm collection"
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_20032301_3 (dates_administered VARCHAR, poll_source VARCHAR) ### Question: When did Minnesota Poll administer their poll? ### Answer: SELECT dates_administered FROM table_20032301_3 WHERE poll_source = "Minnesota Poll"
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 (opponent VARCHAR, city VARCHAR, results¹ VARCHAR) ### Question: Who was the opponent in Belgrade and had a result of 5:2? ### Answer: SELECT opponent FROM table_name_8 WHERE city = "belgrade" AND 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_name_89 (rank VARCHAR, bronze VARCHAR, nation VARCHAR) ### Question: Which Rank has a Bronze of 1, and a Nation of lithuania? ### Answer: SELECT rank FROM table_name_89 WHERE bronze = 1 AND nation = "lithuania"
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 (home__1st_leg_ VARCHAR, aggregate VARCHAR) ### Question: What was the first leg home that had a total aggregate of 3-1? ### Answer: SELECT home__1st_leg_ FROM table_name_90 WHERE aggregate = "3-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_23465864_5 (rider VARCHAR, tues_25_aug VARCHAR) ### Question: What is every rider on Tuesday August 25 at 20' 32.11 110.241mph? ### Answer: SELECT rider FROM table_23465864_5 WHERE tues_25_aug = "20' 32.11 110.241mph"
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_74 (home_team VARCHAR, venue VARCHAR) ### Question: What was the home teams score at Western Oval? ### Answer: SELECT home_team AS score FROM table_name_74 WHERE venue = "western oval"
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_68 (percent_yes VARCHAR, jurisdiction VARCHAR, percent_no VARCHAR) ### Question: What is the percent yes of Alberta, which had a percent no larger than 60.2? ### Answer: SELECT COUNT(percent_yes) FROM table_name_68 WHERE jurisdiction = "alberta" AND percent_no > 60.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_43 (tie_no VARCHAR, home_team VARCHAR) ### Question: What is listed as the Tie no for Home team of Gillingham? ### Answer: SELECT tie_no FROM table_name_43 WHERE home_team = "gillingham"
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 (year INTEGER, partner VARCHAR, surface VARCHAR) ### Question: What is the highest listed year for the partner of Marcel Granollers and a hard surface? ### Answer: SELECT MAX(year) FROM table_name_28 WHERE partner = "marcel granollers" AND surface = "hard"
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 (score VARCHAR, game VARCHAR, date VARCHAR) ### Question: What score has a game less than 4, and april 19 as the date? ### Answer: SELECT score FROM table_name_2 WHERE game < 4 AND date = "april 19"
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_96 (caps VARCHAR, player VARCHAR, province___club VARCHAR, position VARCHAR) ### Question: What is Caps, when Province / Club is Example, when Position is Prop, and when Player is Sam Walters? ### Answer: SELECT caps FROM table_name_96 WHERE province___club = "example" AND position = "prop" AND player = "sam walters"
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_1342198_25 (first_elected VARCHAR, incumbent VARCHAR) ### Question: In what year was Phil J. Welch first elected? ### Answer: SELECT first_elected FROM table_1342198_25 WHERE incumbent = "Phil J. Welch"
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 (first_year_aired VARCHAR, name VARCHAR) ### Question: What year did Zone Rouge first air? ### Answer: SELECT first_year_aired FROM table_name_79 WHERE name = "zone rouge"
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_53 (laps VARCHAR, entrant VARCHAR) ### Question: Peter Hopwood has how many laps in all? ### Answer: SELECT COUNT(laps) FROM table_name_53 WHERE entrant = "peter hopwood"
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 (cultural_and_educational_panel INTEGER, labour_panel VARCHAR, agricultural_panel VARCHAR) ### Question: What is the sum of all from the Cultural and Educational Panel with less than 7 from the Labour Panel and less than 1 from the Agricultural Panel? ### Answer: SELECT SUM(cultural_and_educational_panel) FROM table_name_23 WHERE labour_panel < 7 AND agricultural_panel < 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_45 (year VARCHAR, nominee VARCHAR) ### Question: What years was Denis Lawson nominated for an award? ### Answer: SELECT COUNT(year) FROM table_name_45 WHERE nominee = "denis lawson"
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 (loss VARCHAR, opponent VARCHAR, save VARCHAR) ### Question: What is the loss for the game against @ expos, with a save of parrett (2)? ### Answer: SELECT loss FROM table_name_28 WHERE opponent = "@ expos" AND save = "parrett (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_5 (frequency VARCHAR, area_served VARCHAR, callsign VARCHAR) ### Question: What is the Frequency of Gosford when the Callsign of 2cfm? ### Answer: SELECT frequency FROM table_name_5 WHERE area_served = "gosford" AND callsign = "2cfm"
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_24100843_1 (tdp VARCHAR, socket VARCHAR, processor VARCHAR) ### Question: When the socket is bga956 and processor is penryn-3m, what is the tdp? ### Answer: SELECT tdp FROM table_24100843_1 WHERE socket = "BGA956" AND processor = "Penryn-3M"
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_27833186_1 (distance__miles_ VARCHAR, horse_name VARCHAR) ### Question: What was the distance (in miles) of the championship were the winning horse was Koona? ### Answer: SELECT distance__miles_ FROM table_27833186_1 WHERE horse_name = "Koona"
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 (position VARCHAR, team VARCHAR) ### Question: What position does the player from the Arizona Diamondbacks play? ### Answer: SELECT position FROM table_name_6 WHERE team = "arizona diamondbacks"
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_25355392_2 (november_3 VARCHAR, june_10_11 VARCHAR) ### Question: what is november 3 when june 10-11 is june 10, 1964? ### Answer: SELECT november_3 FROM table_25355392_2 WHERE june_10_11 = "June 10, 1964"
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_83 (high_rebounds VARCHAR, score VARCHAR) ### Question: What was the high rebounds for the game that had a score of w 76-66? ### Answer: SELECT high_rebounds FROM table_name_83 WHERE score = "w 76-66"
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 (date VARCHAR, round VARCHAR) ### Question: What is the Date that has a Round of semifinal? ### Answer: SELECT date FROM table_name_46 WHERE round = "semifinal"
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 Documents (grant_id VARCHAR) ### Question: How many documents can one grant have at most? List the grant id and number. ### Answer: SELECT grant_id, COUNT(*) FROM Documents GROUP BY grant_id ORDER BY COUNT(*) DESC LIMIT 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_19 (production_company VARCHAR, year VARCHAR) ### Question: What is the name of the production company that has a year of 2008-2009? ### Answer: SELECT production_company FROM table_name_19 WHERE year = "2008-2009"
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 (location VARCHAR, score VARCHAR) ### Question: What was the location of the game with a score of 2:3? ### Answer: SELECT location FROM table_name_90 WHERE score = "2: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_24 (field VARCHAR, commissioned VARCHAR) ### Question: What Field was Commissioned in 1958, 2005? ### Answer: SELECT field FROM table_name_24 WHERE commissioned = "1958, 2005"
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 park (park_name VARCHAR, park_id VARCHAR); CREATE TABLE home_game (park_id VARCHAR, year VARCHAR, attendance VARCHAR) ### Question: Which park had most attendances in 2008? ### Answer: SELECT T2.park_name FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2008 ORDER BY T1.attendance DESC LIMIT 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_7 (Id VARCHAR) ### Question: What shows for 2006 when 1999 is Grand Slam Tournaments? ### Answer: SELECT 2006 FROM table_name_7 WHERE 1990 = "grand slam tournaments"
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_16 (races INTEGER, team_name VARCHAR, points VARCHAR) ### Question: Can you tell me the lowest Races that has the Team Name of piquet gp, and the Points larger than 24? ### Answer: SELECT MIN(races) FROM table_name_16 WHERE team_name = "piquet gp" AND points > 24
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 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR) ### Question: Who was the winning driver when pole position was jenson button, the fastest lap was michael schumacher and the car was ferrari? ### Answer: SELECT winning_driver FROM table_name_13 WHERE fastest_lap = "michael schumacher" AND constructor = "ferrari" AND pole_position = "jenson button"
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_17288845_9 (high_assists VARCHAR, team VARCHAR) ### Question: Name the high assists for houston ### Answer: SELECT high_assists FROM table_17288845_9 WHERE team = "Houston"
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 (tournament VARCHAR) ### Question: If the French Open tournament had 2r in 2012, what was it in 2010? ### Answer: SELECT 2010 FROM table_name_31 WHERE 2012 = "2r" AND tournament = "french open"
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 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR) ### Question: Which Time/Retired entry has greater than 51 laps and driver Cristiano da Matta? ### Answer: SELECT time_retired FROM table_name_79 WHERE laps > 51 AND driver = "cristiano da matta"
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 (team VARCHAR, car__number VARCHAR, date VARCHAR) ### Question: What team ran car #24 on August 30? ### Answer: SELECT team FROM table_name_56 WHERE car__number = 24 AND date = "august 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_name_51 (laurel_mountain_channel VARCHAR, b_mountain_channel VARCHAR) ### Question: What Laurel Mountain Channel is associated with B Mountain Channel of 7? ### Answer: SELECT laurel_mountain_channel FROM table_name_51 WHERE b_mountain_channel = "7"
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_9 (nat VARCHAR, name VARCHAR) ### Question: What is the nationality of Gavin Rae? ### Answer: SELECT nat FROM table_name_9 WHERE name = "gavin rae"
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_54 (year INTEGER, silver VARCHAR) ### Question: WHAT YEAR HAS A SILVER FOR MATTHIAS MERZ? ### Answer: SELECT MIN(year) FROM table_name_54 WHERE silver = "matthias merz"
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_42 (round INTEGER, date VARCHAR) ### Question: What is the highest round on 5 april? ### Answer: SELECT MAX(round) FROM table_name_42 WHERE date = "5 april"
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_42 (high_points VARCHAR, date VARCHAR) ### Question: who had the high points on june 8? ### Answer: SELECT high_points FROM table_name_42 WHERE date = "june 8"
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_2538117_5 (type VARCHAR, letters VARCHAR) ### Question: What type is σαεπ? ### Answer: SELECT type FROM table_2538117_5 WHERE letters = "ΣΑΕΠ"
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 (winner VARCHAR, score VARCHAR) ### Question: who is the winner when the score is 71-62? ### Answer: SELECT winner FROM table_name_64 WHERE score = "71-62"
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_29778616_1 (intro_date VARCHAR, throughput VARCHAR) ### Question: What is the intro date for the throughput of 16 mbit/s? ### Answer: SELECT intro_date FROM table_29778616_1 WHERE throughput = "16 Mbit/s"
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_17621978_11 (high_rebounds VARCHAR, date VARCHAR) ### Question: Name the number of high rebounds for april 21 ### Answer: SELECT COUNT(high_rebounds) FROM table_17621978_11 WHERE date = "April 21"
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_24 (total VARCHAR, finish VARCHAR) ### Question: Name the total with finish of t22 ### Answer: SELECT total FROM table_name_24 WHERE finish = "t22"
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 (director VARCHAR, title VARCHAR) ### Question: Who directed hamateur night? ### Answer: SELECT director FROM table_name_2 WHERE title = "hamateur night"
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_74 (lost_to VARCHAR, film VARCHAR) ### Question: Who was the loss to for the film Chicago? ### Answer: SELECT lost_to FROM table_name_74 WHERE film = "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_22654073_13 (high_rebounds VARCHAR, date VARCHAR) ### Question: List all high rebound entries from May 11. ### Answer: SELECT high_rebounds FROM table_22654073_13 WHERE date = "May 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_name_9 (category VARCHAR, recipient_s_ VARCHAR, award VARCHAR) ### Question: In which category did Nick Jonas win at the Kids' Choice Awards Mexico? ### Answer: SELECT category FROM table_name_9 WHERE recipient_s_ = "nick jonas" AND award = "kids' choice awards mexico"
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 (home_team VARCHAR, away_team VARCHAR) ### Question: Who was the home team that played against Armthorpe Welfare? ### Answer: SELECT home_team FROM table_name_51 WHERE away_team = "armthorpe welfare"
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 (green_communist VARCHAR, left_bloc VARCHAR) ### Question: What is the result for the Green-Communist party when the Left Bloc has 3.6%? ### Answer: SELECT green_communist FROM table_name_64 WHERE left_bloc = "3.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_60 (champion VARCHAR, runner_up VARCHAR) ### Question: What player was the champion in the match where E.A. Lassen was the runner-up? ### Answer: SELECT champion FROM table_name_60 WHERE runner_up = "e.a. lassen"
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 Courses (author_id VARCHAR, course_name VARCHAR); CREATE TABLE Course_Authors_and_Tutors (login_name VARCHAR, author_id VARCHAR) ### Question: Find the login name of the course author that teaches the course with name "advanced database". ### Answer: SELECT T1.login_name FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id WHERE T2.course_name = "advanced database"
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_15637071_1 (commenced_operations VARCHAR, headquarters VARCHAR) ### Question: Which year did the Angeles City based airline begin operations? ### Answer: SELECT commenced_operations FROM table_15637071_1 WHERE headquarters = "Angeles City"
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_44 (opponent VARCHAR, record VARCHAR) ### Question: Which opponent has a 26-12 record? ### Answer: SELECT opponent FROM table_name_44 WHERE record = "26-12"
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 (rank VARCHAR, time VARCHAR) ### Question: What is the rank of the time of 6:30.53? ### Answer: SELECT COUNT(rank) FROM table_name_89 WHERE time = "6:30.53"
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 (place VARCHAR, player VARCHAR) ### Question: What is Ben Hogan's Place? ### Answer: SELECT place FROM table_name_21 WHERE player = "ben hogan"
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_19 (year INTEGER, copies_sold VARCHAR, oricon_position VARCHAR) ### Question: What year sold 1,695,900+ copies with an Oricon position larger than 1? ### Answer: SELECT AVG(year) FROM table_name_19 WHERE copies_sold = "1,695,900+" AND oricon_position > 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_28243691_1 (team_nickname VARCHAR, location VARCHAR) ### Question: How many mascotts are there for college station, texas ### Answer: SELECT COUNT(team_nickname) FROM table_28243691_1 WHERE location = "College Station, Texas"
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_16028499_2 (date VARCHAR, opponent VARCHAR) ### Question: What date did the team play the New York Jets? ### Answer: SELECT date FROM table_16028499_2 WHERE opponent = "New York Jets"
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 (points INTEGER, grid VARCHAR, laps VARCHAR) ### Question: What were the highest points for less than 78 laps and on grid 5? ### Answer: SELECT MAX(points) FROM table_name_86 WHERE grid = 5 AND laps < 78
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_74 (to_par VARCHAR, player VARCHAR, score VARCHAR) ### Question: What is the to par for Fred Couples when the score is 68-66=134? ### Answer: SELECT to_par FROM table_name_74 WHERE score = 68 - 66 = 134 AND player = "fred couples"
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_11340432_1 (valley_vista VARCHAR, willow_canyon VARCHAR) ### Question: Name the Valley Vista of Anthony Capuano ### Answer: SELECT valley_vista FROM table_11340432_1 WHERE willow_canyon = "Anthony Capuano"
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_93 (award VARCHAR, category VARCHAR, year VARCHAR, title_of_work VARCHAR) ### Question: What was awarded before 2013 to the Saber in the category of Best Action? ### Answer: SELECT award FROM table_name_93 WHERE year < 2013 AND title_of_work = "saber" AND category = "best action"
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_20 (year VARCHAR) ### Question: Who came in 3rd place in 1990? ### Answer: SELECT 3 AS rd_place FROM table_name_20 WHERE year = "1990"
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_15796054_3 (song_choice VARCHAR, week__number VARCHAR) ### Question: Name the song choice when week number is hollywood ### Answer: SELECT song_choice FROM table_15796054_3 WHERE week__number = "Hollywood"
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 (title VARCHAR, songwriter_s_ VARCHAR) ### Question: Which Title has a Songwriter(s) of hadise açıkgöz, stefaan fernande, elio deepcore? ### Answer: SELECT title FROM table_name_72 WHERE songwriter_s_ = "hadise açıkgöz, stefaan fernande, elio deepcore"
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_13223187_1 (michelob_ultra_mountains_classification_gold_polka_dot_jersey VARCHAR, drury_hotels_most_aggressive_rider_red_jersey VARCHAR) ### Question: How many michelob ultra mountains classification for darren lill ### Answer: SELECT COUNT(michelob_ultra_mountains_classification_gold_polka_dot_jersey) FROM table_13223187_1 WHERE drury_hotels_most_aggressive_rider_red_jersey = "Darren Lill"
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_20 (year INTEGER, entrant VARCHAR, points VARCHAR) ### Question: What is the highest year team tyrrell earned more than 14 points? ### Answer: SELECT MAX(year) FROM table_name_20 WHERE entrant = "team tyrrell" AND points > 14
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_15887683_15 (television_service VARCHAR, country VARCHAR, n° VARCHAR) ### Question: what television service are in the united kingdom and n° is greater than 854.0? ### Answer: SELECT television_service FROM table_15887683_15 WHERE country = "United Kingdom" AND n° > 854.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_39 (team VARCHAR, game VARCHAR, high_rebounds VARCHAR) ### Question: What team had a high rebound of perkins (9) and a game smaller than 78? ### Answer: SELECT team FROM table_name_39 WHERE game < 78 AND high_rebounds = "perkins (9)"
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_21100348_15 (rank VARCHAR, player VARCHAR) ### Question: What is the rank of Tim Paine? ### Answer: SELECT rank FROM table_21100348_15 WHERE player = "Tim Paine"
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 (last_1_4 VARCHAR, race VARCHAR, fin_time VARCHAR) ### Question: What is the last 1/4 for the QUA race with a finishing time of 2:03.1? ### Answer: SELECT last_1_4 FROM table_name_22 WHERE race = "qua" AND fin_time = "2:03.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_70 (rowers VARCHAR, time VARCHAR) ### Question: What is the names of the rowers that the time was 6:24.61? ### Answer: SELECT rowers FROM table_name_70 WHERE time = "6:24.61"
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_10413597_5 (written_by VARCHAR, setting VARCHAR) ### Question: Who wrote the episode that was set in winter 1541/february 13, 1542? ### Answer: SELECT written_by FROM table_10413597_5 WHERE setting = "Winter 1541/February 13, 1542"
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 (year INTEGER, nation_represented VARCHAR) ### Question: What is the latest result where a person from the Philippines won? ### Answer: SELECT MAX(year) FROM table_name_72 WHERE nation_represented = "philippines"
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 (tournament VARCHAR) ### Question: What is 2009, when 2008 is "A", when 2011 is "A", and when Tournament is "Paris Masters"? ### Answer: SELECT 2009 FROM table_name_25 WHERE 2008 = "a" AND 2011 = "a" AND tournament = "paris masters"
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_54 (crowd INTEGER, away_team VARCHAR) ### Question: What was the attendance when Hawthorn played as the away team? ### Answer: SELECT AVG(crowd) FROM table_name_54 WHERE away_team = "hawthorn"
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_39 (record VARCHAR, team VARCHAR) ### Question: What is the boston celtics' record? ### Answer: SELECT record FROM table_name_39 WHERE team = "boston celtics"
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_15 (number_1971 INTEGER) ### Question: What is the lowest 1971 number of the Macedonian population with a 2002 value greater than 133 and a 1991 value less than 171? ### Answer: SELECT MIN(number_1971) FROM table_name_15 WHERE 2002 > 133 AND 1991 < 171
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_1341586_39 (party VARCHAR, district VARCHAR) ### Question: what's party with district being pennsylvania 21 ### Answer: SELECT party FROM table_1341586_39 WHERE district = "Pennsylvania 21"
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_9 (country VARCHAR, lane VARCHAR, name VARCHAR) ### Question: What country had the runner abubaker kaki khamis in lane 5? ### Answer: SELECT country FROM table_name_9 WHERE lane = 5 AND name = "abubaker kaki khamis"
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 (bleeding_time VARCHAR, condition VARCHAR) ### Question: Which Bleeding time has a Condition of factor x deficiency as seen in amyloid purpura? ### Answer: SELECT bleeding_time FROM table_name_31 WHERE condition = "factor x deficiency as seen in amyloid purpura"
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 (score VARCHAR, player VARCHAR) ### Question: What score has hal sutton as the player? ### Answer: SELECT score FROM table_name_17 WHERE player = "hal sutton"