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_name_95 (year INTEGER, round VARCHAR, winner VARCHAR) ### Question: What year did Ivanovic win with Ivanovic greater than 4 and round of R16? ### Answer: SELECT SUM(year) FROM table_name_95 WHERE winner = "ivanovic" AND "ivanovic" > 4 AND round = "r16"
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_1341423_38 (candidates VARCHAR, incumbent VARCHAR) ### Question: How many candidates were there in the district won by Joe Hoeffel? ### Answer: SELECT COUNT(candidates) FROM table_1341423_38 WHERE incumbent = "Joe Hoeffel"
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_26 (cbs_airdate VARCHAR, episode VARCHAR, airdate__usa_ VARCHAR) ### Question: What is the CBS airdate of the episode with a number under 70 with a USA airdate of 1 April 2005? ### Answer: SELECT cbs_airdate FROM table_name_26 WHERE episode < 70 AND airdate__usa_ = "1 april 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 country (Name VARCHAR, Continent VARCHAR, population INTEGER) ### Question: What are the African countries that have a population less than any country in Asia? ### Answer: SELECT Name FROM country WHERE Continent = "Africa" AND population < (SELECT MAX(population) FROM country WHERE Continent = "Asia")
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_4 (margin_of_victory VARCHAR, runner_s__up VARCHAR, tournament VARCHAR) ### Question: Which Margin of victory has a Runner(s)-up of betty burfeindt, and a Tournament of pompano beach classic? ### Answer: SELECT margin_of_victory FROM table_name_4 WHERE runner_s__up = "betty burfeindt" AND tournament = "pompano beach classic"
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_22597626_17 (year INTEGER, opponents_in_the_final VARCHAR, score_in_the_final VARCHAR) ### Question: What was the year date when one of the opponents in the final was bahrami leconte and score in the final is 7–6 2 , 6–1? ### Answer: SELECT MIN(year) FROM table_22597626_17 WHERE opponents_in_the_final = "Bahrami Leconte" AND score_in_the_final = "7–6 2 , 6–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_75 (tournament VARCHAR, surface VARCHAR, finalist VARCHAR) ### Question: Where was the tournament where the match was on a hard surface and jan-michael gambill (19) was the finalist? ### Answer: SELECT tournament FROM table_name_75 WHERE surface = "hard" AND finalist = "jan-michael gambill (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_8 (home_team VARCHAR, away_team VARCHAR) ### Question: What did the home team score when playing Fitzroy as the away team? ### Answer: SELECT home_team AS score FROM table_name_8 WHERE away_team = "fitzroy"
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 Assessment_Notes (teacher_id VARCHAR); CREATE TABLE Teachers (first_name VARCHAR, teacher_id VARCHAR) ### Question: Find the ids and first names of the 3 teachers that have the most number of assessment notes? ### Answer: SELECT T1.teacher_id, T2.first_name FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id GROUP BY T1.teacher_id ORDER BY COUNT(*) DESC LIMIT 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_78 (name VARCHAR, overall VARCHAR) ### Question: Which Name has an Overall of 235? ### Answer: SELECT name FROM table_name_78 WHERE overall = 235
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_47 (score VARCHAR, date VARCHAR) ### Question: What score was given at the August 17, 2005 match? ### Answer: SELECT score FROM table_name_47 WHERE date = "august 17, 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 table_name_71 (week INTEGER, opponent VARCHAR) ### Question: What week was the opponent the San Diego Chargers? ### Answer: SELECT AVG(week) FROM table_name_71 WHERE opponent = "san diego chargers"
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 (status VARCHAR, opened VARCHAR, model VARCHAR) ### Question: What is the status of the junior coaster model that opened in 2008? ### Answer: SELECT status FROM table_name_89 WHERE opened = "2008" AND model = "junior coaster"
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 (country VARCHAR, score VARCHAR) ### Question: The player for which country had a score of 66-72=138? ### Answer: SELECT country FROM table_name_90 WHERE score = 66 - 72 = 138
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 (college VARCHAR, overall VARCHAR) ### Question: Which College has an Overall of 308? ### Answer: SELECT college FROM table_name_46 WHERE overall = 308
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_18539834_2 (romaji_title VARCHAR, average_ratings VARCHAR) ### Question: How many titles had an average rating of 8.9%? ### Answer: SELECT COUNT(romaji_title) FROM table_18539834_2 WHERE average_ratings = "8.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_name_92 (sitalsasthi_carnival VARCHAR, sambalpuri_saree VARCHAR) ### Question: What is the sitalsasthi carnival with hirakud as sambalpuri saree? ### Answer: SELECT sitalsasthi_carnival FROM table_name_92 WHERE sambalpuri_saree = "hirakud"
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_11647327_2 (married_filing_jointly_or_qualified_widow_er_ VARCHAR, married_filing_separately VARCHAR) ### Question: What is the range of married filing jointly or qualified widower in which married filing separately is $33,951–$68,525? ### Answer: SELECT married_filing_jointly_or_qualified_widow_er_ FROM table_11647327_2 WHERE married_filing_separately = "$33,951–$68,525"
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 (score VARCHAR, game VARCHAR) ### Question: What's the score of Game 5? ### Answer: SELECT score FROM table_name_79 WHERE game = "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_55 (week VARCHAR, date VARCHAR) ### Question: Which week starts on November 23, 1997? ### Answer: SELECT week FROM table_name_55 WHERE date = "november 23, 1997"
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 (heat INTEGER, time VARCHAR) ### Question: What is the heat number of the athlete who finished in 2:23.95? ### Answer: SELECT AVG(heat) FROM table_name_99 WHERE time = "2:23.95"
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 Player (weight INTEGER) ### Question: What is the maximum and minimum height of all players? ### Answer: SELECT MAX(weight), MIN(weight) FROM Player
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 (transfer_window VARCHAR, name VARCHAR) ### Question: What is the transfer window for Christian Nerlinger? ### Answer: SELECT transfer_window FROM table_name_23 WHERE name = "christian nerlinger"
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_27 (wins INTEGER, losses VARCHAR, league VARCHAR, finish VARCHAR) ### Question: What is the highest wins for the NFL with a finish of 1st, and more than 6 losses? ### Answer: SELECT MAX(wins) FROM table_name_27 WHERE league = "nfl" AND finish = "1st" AND losses > 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_2 (city VARCHAR, opponent VARCHAR) ### Question: What city did Yugoslavia play Norway in? ### Answer: SELECT city FROM table_name_2 WHERE opponent = "norway"
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 (score VARCHAR, date VARCHAR) ### Question: What was the Score on September 29, 2003? ### Answer: SELECT score FROM table_name_64 WHERE date = "september 29, 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_name_89 (opponent VARCHAR, result VARCHAR) ### Question: Who was the opponent with a score of 40-20? ### Answer: SELECT opponent FROM table_name_89 WHERE result = "40-20"
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_27 (competition VARCHAR, date VARCHAR) ### Question: What is the competition on 15 August 2008? ### Answer: SELECT competition FROM table_name_27 WHERE date = "15 august 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_16494599_5 (school_club_team VARCHAR, player VARCHAR) ### Question: Which school/club team did blue edwards play for ### Answer: SELECT school_club_team FROM table_16494599_5 WHERE player = "Blue Edwards"
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 (opponent VARCHAR, date VARCHAR) ### Question: Who was the opponent on April 21? ### Answer: SELECT opponent FROM table_name_24 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_27 (engine VARCHAR, entrant VARCHAR, points VARCHAR, tyres VARCHAR) ### Question: Which engine of Rob Walker Racing Team has 47 points and F tyres? ### Answer: SELECT engine FROM table_name_27 WHERE points = "47" AND tyres = "f" AND entrant = "rob walker racing team"
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_52 (interview INTEGER, state VARCHAR, evening_gown VARCHAR) ### Question: Who had the lowest interview score from South Dakota with an evening gown less than 8.513? ### Answer: SELECT MIN(interview) FROM table_name_52 WHERE state = "south dakota" AND evening_gown < 8.513
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 (constructor VARCHAR, grid VARCHAR) ### Question: Who is the constructor with the grid of 8? ### Answer: SELECT constructor FROM table_name_25 WHERE grid = 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_name_27 (articulatory_class VARCHAR, non__stop VARCHAR) ### Question: If the Non- stop is (ㆁ), what is the Articulatory Class? ### Answer: SELECT articulatory_class FROM table_name_27 WHERE non__stop = "(ㆁ)"
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 (notes VARCHAR, year VARCHAR) ### Question: What were the notes in 2011? ### Answer: SELECT notes FROM table_name_89 WHERE year = 2011
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 (quantity VARCHAR, manufacturer VARCHAR, retired VARCHAR) ### Question: How many in the quantity section had Fokker as a manufacturer and retired later than 1999? ### Answer: SELECT COUNT(quantity) FROM table_name_68 WHERE manufacturer = "fokker" AND retired > 1999
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_98 (report VARCHAR, date VARCHAR) ### Question: Name the report on 20 may ### Answer: SELECT report FROM table_name_98 WHERE date = "20 may"
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 (points VARCHAR, engine VARCHAR) ### Question: What is the total number of points of the honda hr-1 engine? ### Answer: SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-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_23248869_8 (score VARCHAR, record VARCHAR) ### Question: How many times was the record 19–34 ### Answer: SELECT COUNT(score) FROM table_23248869_8 WHERE record = "19–34"
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 (left_office VARCHAR, death VARCHAR) ### Question: On what date did the person who died on March 23, 1824 leave office? ### Answer: SELECT left_office FROM table_name_15 WHERE death = "march 23, 1824"
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 (ihsaa_class VARCHAR, year_joined VARCHAR) ### Question: What is the IHSAA Class for football for the team joining in 1968? ### Answer: SELECT ihsaa_class AS Football FROM table_name_15 WHERE year_joined = 1968
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_2104176_1 (medal_of_honor VARCHAR, air_force_cross VARCHAR) ### Question: What is the Medal of Honor with Army Distinguished Service Medal? ### Answer: SELECT medal_of_honor FROM table_2104176_1 WHERE air_force_cross = "Army Distinguished Service Medal"
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_24126518_2 (record VARCHAR, week VARCHAR) ### Question: Name the number of record for week 11 ### Answer: SELECT COUNT(record) FROM table_24126518_2 WHERE week = 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_1121352_2 (to_par VARCHAR, date VARCHAR) ### Question: What is the to par dated may 4, 2003? ### Answer: SELECT to_par FROM table_1121352_2 WHERE date = "May 4, 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_name_47 (member_countries VARCHAR, area__km²_ VARCHAR) ### Question: What is the name of the country that has an Area (km²) of 49,036? ### Answer: SELECT member_countries FROM table_name_47 WHERE area__km²_ = "49,036"
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 (home_team VARCHAR) ### Question: What is south melbourne's home side score? ### Answer: SELECT home_team AS score FROM table_name_53 WHERE home_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_11734041_11 (height_in_ft VARCHAR, years_for_rockets VARCHAR) ### Question: What is the height for the player in 1968-72? ### Answer: SELECT height_in_ft FROM table_11734041_11 WHERE years_for_rockets = "1968-72"
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 (commissioned__decommissioned VARCHAR, home_port VARCHAR, nvr_page VARCHAR) ### Question: Name the commissioned-decommissioned for oakland and NVR page of aor-1 ### Answer: SELECT commissioned__decommissioned FROM table_name_62 WHERE home_port = "oakland" AND nvr_page = "aor-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_77 (recipient VARCHAR, play VARCHAR, year VARCHAR) ### Question: Name the recipient of much ado about nothing for 1973 ### Answer: SELECT recipient FROM table_name_77 WHERE play = "much ado about nothing" AND year = 1973
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 (gold INTEGER, total VARCHAR, bronze VARCHAR) ### Question: What is the average gold that has a total of 2 and more than 1 bronze. ### Answer: SELECT AVG(gold) FROM table_name_75 WHERE total = 2 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_37 (notes VARCHAR, type VARCHAR) ### Question: What are the notes for a Type of 0-6-0t? ### Answer: SELECT notes FROM table_name_37 WHERE type = "0-6-0t"
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 (rochester VARCHAR, syracuse VARCHAR, albany VARCHAR) ### Question: What is Rochester, when Syracuse is Cardiff Dark Gray Shale, and when Albany is (Mt. Marion Fm.)? ### Answer: SELECT rochester FROM table_name_39 WHERE syracuse = "cardiff dark gray shale" AND albany = "(mt. marion fm.)"
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_47 (best VARCHAR, name VARCHAR) ### Question: What was Robert Doornbos' Best? ### Answer: SELECT best FROM table_name_47 WHERE name = "robert doornbos"
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_8 (n° VARCHAR, television_service VARCHAR) ### Question: Name the number for fox news channel ### Answer: SELECT n° FROM table_15887683_8 WHERE television_service = "Fox News Channel"
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_57 (record VARCHAR, opponent VARCHAR, november VARCHAR, game VARCHAR, decision VARCHAR) ### Question: What is the Record for a game smaller than 24, Lundqvist was the decision, November less than 8, and opponent Was New York Islanders? ### Answer: SELECT record FROM table_name_57 WHERE game < 24 AND decision = "lundqvist" AND november < 8 AND opponent = "new york islanders"
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_98 (pts INTEGER, chassis VARCHAR) ### Question: What is the total number of points for entrants with a Jordan 192 chassis? ### Answer: SELECT SUM(pts) FROM table_name_98 WHERE chassis = "jordan 192"
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 MATCH (match_id VARCHAR, competition VARCHAR) ### Question: Find the match ids of the cities that hosted competition "1994 FIFA World Cup qualification"? ### Answer: SELECT match_id FROM MATCH WHERE competition = "1994 FIFA World Cup qualification"
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 (league_goals INTEGER, player VARCHAR) ### Question: How many total League goals does Player John O'Flynn have? ### Answer: SELECT SUM(league_goals) FROM table_name_45 WHERE player = "john o'flynn"
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 (venue VARCHAR, away_team VARCHAR) ### Question: Where did the away team Carlton play? ### Answer: SELECT venue FROM table_name_2 WHERE away_team = "carlton"
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 (competition VARCHAR, position VARCHAR, venue VARCHAR) ### Question: Which competition in Budapest, Hungary gave a result of 8th? ### Answer: SELECT competition FROM table_name_1 WHERE position = "8th" AND venue = "budapest, hungary"
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 (country VARCHAR, moving_to VARCHAR) ### Question: Name the country moving to chelsea ### Answer: SELECT country FROM table_name_24 WHERE moving_to = "chelsea"
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_15001681_1 (mixed_doubles VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR) ### Question: In 2001, where the mens singles is armand jehle and the womens singles is michaela ritter, who are the mixed doubles ### Answer: SELECT mixed_doubles FROM table_15001681_1 WHERE womens_singles = "Michaela Ritter" AND mens_singles = "Armand Jehle"
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_1566852_6 (cover_model VARCHAR, date VARCHAR) ### Question: Who were the cover model(s) on the 4-05 issue? ### Answer: SELECT cover_model FROM table_1566852_6 WHERE date = "4-05"
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_2979789_1 (division VARCHAR, fa_cup_apps VARCHAR) ### Question: Name the total number of division for fa cups being 9 ### Answer: SELECT COUNT(division) FROM table_2979789_1 WHERE fa_cup_apps = 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_name_9 (local_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) ### Question: Who was in local affairs when the Human Resources & Operations was N. Charles Hamilton? ### Answer: SELECT local_affairs FROM table_name_9 WHERE human_resources_ & _operations = "n. charles hamilton"
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 (director VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: WHAT IS THE DIRECTOR WITH FILM hope and pain? ### Answer: SELECT director FROM table_name_28 WHERE film_title_used_in_nomination = "hope and pain"
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_2169966_2 (winnings VARCHAR, top_10 VARCHAR) ### Question: What were his winnings when he had 14 top 10s? ### Answer: SELECT winnings FROM table_2169966_2 WHERE top_10 = 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_name_38 (record VARCHAR, date VARCHAR) ### Question: What was the record at the game on November 13, 1932? ### Answer: SELECT record FROM table_name_38 WHERE date = "november 13, 1932"
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_26250155_1 (order__number VARCHAR, theme VARCHAR, original_artist VARCHAR) ### Question: What is the order number of the Billboard Hot 100 Hits theme and the original artist was Sixpence None the Richer? ### Answer: SELECT order__number FROM table_26250155_1 WHERE theme = "Billboard Hot 100 Hits" AND original_artist = "Sixpence None the Richer"
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_2140071_13 (episode VARCHAR, coach VARCHAR) ### Question: What is the summary for the episode with a coach named Rebecca Star? ### Answer: SELECT episode AS Summary FROM table_2140071_13 WHERE coach = "Rebecca Star"
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 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR) ### Question: Who is the player from the United States with a total less than 293 and won in 1984? ### Answer: SELECT player FROM table_name_74 WHERE country = "united states" AND total < 293 AND year_s__won = "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 table_name_44 (Id VARCHAR) ### Question: What 1983 has a 1975 of career statistics? ### Answer: SELECT 1983 FROM table_name_44 WHERE 1975 = "career statistics"
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_23183195_5 (three_pointers INTEGER, player VARCHAR) ### Question: Name the most three pointers for dewanna bonner ### Answer: SELECT MAX(three_pointers) FROM table_23183195_5 WHERE player = "DeWanna Bonner"
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 (attendance VARCHAR, loss VARCHAR) ### Question: What was the attendance at the game that had a loss of Crabtree (0-1)? ### Answer: SELECT attendance FROM table_name_34 WHERE loss = "crabtree (0-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_99 (total INTEGER, horse VARCHAR) ### Question: Tell me the highest total when the horse is spender s ### Answer: SELECT MAX(total) FROM table_name_99 WHERE horse = "spender 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_name_23 (block VARCHAR, cospar_id VARCHAR) ### Question: What block has a COSPAR ID of 1995-060a? ### Answer: SELECT block FROM table_name_23 WHERE cospar_id = "1995-060a"
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 (round INTEGER, time VARCHAR, res VARCHAR, location VARCHAR) ### Question: What is the lowest round for Fort Lauderdale, Florida, United States, with a win and a time of 3:38? ### Answer: SELECT MIN(round) FROM table_name_14 WHERE res = "win" AND location = "fort lauderdale, florida, united states" AND time = "3:38"
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 (frequency_mhz VARCHAR, city_of_license VARCHAR) ### Question: Give me the MHz Frequency of Allapattah, Florida. ### Answer: SELECT frequency_mhz FROM table_name_28 WHERE city_of_license = "allapattah, florida"
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 (losses INTEGER, goals_against INTEGER) ### Question: for a Goals Against greater than 42 what is the number of losses? ### Answer: SELECT AVG(losses) FROM table_name_9 WHERE goals_against > 42
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_25391981_3 (rank_by_average INTEGER, average VARCHAR) ### Question: What is the rank by average for the team who averaged 22.8? ### Answer: SELECT MIN(rank_by_average) FROM table_25391981_3 WHERE average = "22.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_name_35 (country VARCHAR, player VARCHAR) ### Question: What country is player Raymond Floyd from? ### Answer: SELECT country FROM table_name_35 WHERE player = "raymond floyd"
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 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) ### Question: Who was in external affairs when Jakki Doyle was in Human Resources & Operations? ### Answer: SELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = "jakki doyle"
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_10 (date VARCHAR, status VARCHAR, against VARCHAR) ### Question: On what date is there a status of Five Nations and an against of 23? ### Answer: SELECT date FROM table_name_10 WHERE status = "five nations" AND against = 23
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 (score VARCHAR, record VARCHAR) ### Question: What is the Score of a Record 24–23–3? ### Answer: SELECT score FROM table_name_69 WHERE record = "24–23–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_48 (apps INTEGER, rank VARCHAR, goals VARCHAR) ### Question: How many Apps have a Rank larger than 2, and Goals smaller than 102? ### Answer: SELECT SUM(apps) FROM table_name_48 WHERE rank > 2 AND goals < 102
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_67 (city VARCHAR, short_name VARCHAR) ### Question: What city has the nickname of pontisola? ### Answer: SELECT city FROM table_name_67 WHERE short_name = "pontisola"
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_20887670_1 (year_joined VARCHAR, colors VARCHAR) ### Question: in what year did the colors red and gold join? ### Answer: SELECT COUNT(year_joined) FROM table_20887670_1 WHERE colors = "Red and Gold"
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_21550897_1 (_number VARCHAR, directed_by VARCHAR) ### Question: What episode number was directed by Craig Ross, Jr. ### Answer: SELECT _number FROM table_21550897_1 WHERE directed_by = "Craig Ross, Jr."
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 (record_description VARCHAR, date VARCHAR, pilot VARCHAR, achievement VARCHAR, type VARCHAR) ### Question: Achievement of m (ft), and a Type of mi-10r, and a Pilot of v.p. koloshenko, and a Date of 28 may 1965 had what record description? ### Answer: SELECT record_description FROM table_name_96 WHERE achievement = "m (ft)" AND type = "mi-10r" AND pilot = "v.p. koloshenko" AND date = "28 may 1965"
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 (goals INTEGER, team VARCHAR, division VARCHAR) ### Question: What is the average Goals, when Team is "Rah Ahan", and when Division is less than 1? ### Answer: SELECT AVG(goals) FROM table_name_81 WHERE team = "rah ahan" AND division < 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_36 (road_team VARCHAR, result VARCHAR) ### Question: What is Road Team, when Result is "74-71"? ### Answer: SELECT road_team FROM table_name_36 WHERE result = "74-71"
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_22380270_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) ### Question: On what air date were there 2.15 million u.s. viewers? ### Answer: SELECT original_air_date FROM table_22380270_1 WHERE us_viewers__millions_ = "2.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_34 (pick VARCHAR, position VARCHAR, team VARCHAR) ### Question: What pick number did the linebacker from the denver broncos get? ### Answer: SELECT pick FROM table_name_34 WHERE position = "linebacker" AND team = "denver broncos"
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_26 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) ### Question: Tell me the total for silver more than 0 for italy with gold less than 29 ### Answer: SELECT MIN(total) FROM table_name_26 WHERE silver > 0 AND nation = "italy" AND gold < 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 region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_name VARCHAR, region_id VARCHAR) ### Question: Show the name for regions not affected. ### Answer: SELECT region_name FROM region WHERE NOT region_id IN (SELECT region_id FROM affected_region)
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 (week_4 VARCHAR, week_2 VARCHAR) ### Question: What is the name of the cyber girl in week 4 when Lexi Lombardelli was the cyber girl in week 2? ### Answer: SELECT week_4 FROM table_name_75 WHERE week_2 = "lexi lombardelli"
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_26131768_4 (district INTEGER, representative VARCHAR) ### Question: If the Representative is Barbara sears, what is the district number? ### Answer: SELECT MAX(district) FROM table_26131768_4 WHERE representative = "Barbara Sears"
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_37 (home_team VARCHAR, away_team VARCHAR) ### Question: When richmond was the Away team what was the score of the home team? ### Answer: SELECT home_team AS score FROM table_name_37 WHERE away_team = "richmond"
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_20589703_2 (draft_round VARCHAR, college VARCHAR, draft_year VARCHAR) ### Question: In what draft round in 2012 did a player from Rio Hondo get drafted? ### Answer: SELECT draft_round FROM table_20589703_2 WHERE college = "Rio Hondo" AND draft_year = 2012
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_4 (round VARCHAR, player VARCHAR, pick VARCHAR, draft VARCHAR) ### Question: Which Round was Player Adam Cracknell Picked after 231 in a Draft year after 1988? ### Answer: SELECT round FROM table_name_4 WHERE pick > 231 AND draft > 1988 AND player = "adam cracknell"