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_14308895_2 (former_pageant VARCHAR, new_pageant VARCHAR) ### Question: which is the former pageant in the country where the new pageant is miss bahamas? ### Answer: SELECT former_pageant FROM table_14308895_2 WHERE new_pageant = "Miss Bahamas"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24477075_1 (minutes INTEGER, starts VARCHAR) ### Question: Name the most minutes and starts being 12 ### Answer: SELECT MAX(minutes) FROM table_24477075_1 WHERE starts = 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 (time INTEGER, year VARCHAR, event VARCHAR) ### Question: What is the greatest Time with a Year of 1991, and Event of 4x100 m relay? ### Answer: SELECT MAX(time) FROM table_name_89 WHERE year = 1991 AND event = "4x100 m relay"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE department (dept_name VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR); CREATE TABLE instructor (dept_name VARCHAR, id VARCHAR) ### Question: Find the total number of students and total number of instructors for each department. ### Answer: SELECT COUNT(DISTINCT T2.id), COUNT(DISTINCT T3.id), T3.dept_name FROM department AS T1 JOIN student AS T2 ON T1.dept_name = T2.dept_name JOIN instructor AS T3 ON T1.dept_name = T3.dept_name GROUP BY T3.dept_name
Below is an context that describes a 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 (locomotive VARCHAR, delivered_as VARCHAR) ### Question: What Locomotive was Delivered as T414? ### Answer: SELECT locomotive FROM table_name_2 WHERE delivered_as = "t414"
Below is an context that describes a 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_3 (content VARCHAR, n° VARCHAR) ### Question: What's the content offered by the package number 204? ### Answer: SELECT content FROM table_15887683_3 WHERE n° = 204
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1855841_1 (office_running_for VARCHAR, candidate VARCHAR) ### Question: Name the office running for for anthony mussara ### Answer: SELECT office_running_for FROM table_1855841_1 WHERE candidate = "Anthony Mussara"
Below is an context that describes a 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 (period VARCHAR, _number_found VARCHAR) ### Question: What's the Period with # found of 5? ### Answer: SELECT period FROM table_name_81 WHERE _number_found = "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_1661124_1 (target VARCHAR, approved_treatment_s_ VARCHAR) ### Question: What is the target when the approved treatment is non-hodgkin lymphoma? ### Answer: SELECT target FROM table_1661124_1 WHERE approved_treatment_s_ = "non-Hodgkin lymphoma"
Below is an context that describes a 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 (home_team VARCHAR, away_team VARCHAR) ### Question: Which home team had an away team of the Brisbane Lions? ### Answer: SELECT home_team FROM table_name_36 WHERE away_team = "brisbane lions"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12722302_2 (original_air_date VARCHAR, no VARCHAR) ### Question: What is the original air date for no. 2? ### Answer: SELECT original_air_date FROM table_12722302_2 WHERE no = 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 (score VARCHAR, location VARCHAR, champion VARCHAR) ### Question: When John Mcenroe won at Montreal, what was the score? ### Answer: SELECT score FROM table_name_43 WHERE location = "montreal" AND champion = "john mcenroe"
Below is an context that describes a 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 (wins INTEGER, club VARCHAR, points_against VARCHAR) ### Question: What is the lowest Wins when the Club is broadview hawks, and Points Against is more than 594? ### Answer: SELECT MIN(wins) FROM table_name_46 WHERE club = "broadview hawks" AND points_against > 594
Below is an context that describes a 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 (Id VARCHAR) ### Question: Who in 2009, has a 2003 2r and a 2000 2r? ### Answer: SELECT 2009 FROM table_name_64 WHERE 2003 = "2r" AND 2000 = "2r"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17358515_1 (points_2 VARCHAR, team VARCHAR) ### Question: How many points did Goole Town accumulate? ### Answer: SELECT COUNT(points_2) FROM table_17358515_1 WHERE team = "Goole Town"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, seans_team VARCHAR) ### Question: What was the first broadcast date of the episode in which Sean's team is made up of Peter Serafinowicz and Johnny Vegas? ### Answer: SELECT first_broadcast FROM table_23292220_3 WHERE seans_team = "Peter Serafinowicz and Johnny Vegas"
Below is an context that describes a 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 (wednesday VARCHAR, day_3 VARCHAR) ### Question: What is the Wednesday when day 3 is math? ### Answer: SELECT wednesday FROM table_name_24 WHERE day_3 = "math"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25042332_33 (hdi VARCHAR, life_expectancy_at_birth__2001_2002_ VARCHAR) ### Question: How many regions had a life expectancy at birth in 2001-2002 of 75.9? ### Answer: SELECT COUNT(hdi) FROM table_25042332_33 WHERE life_expectancy_at_birth__2001_2002_ = "75.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_15 (qual_2 VARCHAR, team VARCHAR, best VARCHAR) ### Question: Name the Qual 2 of a Team of american spirit team johansson and a Best of 59.073? ### Answer: SELECT qual_2 FROM table_name_15 WHERE team = "american spirit team johansson" AND best = "59.073"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2248991_2 (gdp_per_capita VARCHAR, nation VARCHAR) ### Question: How many items are listed under gdp per capita under the nation of Burkina Faso? ### Answer: SELECT COUNT(gdp_per_capita) FROM table_2248991_2 WHERE nation = "Burkina Faso"
Below is an context that describes a 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 (type VARCHAR, name VARCHAR) ### Question: What is the film type for the movie Sanctuary? ### Answer: SELECT type FROM table_name_35 WHERE name = "sanctuary"
Below is an context that describes a 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 (region VARCHAR, format VARCHAR, date VARCHAR) ### Question: In what region was Degeneration released in digital format on 19 July 2008? ### Answer: SELECT region FROM table_name_41 WHERE format = "digital" AND date = "19 july 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_8 (date VARCHAR, location VARCHAR) ### Question: What date was the game played when it was located at bells beach? ### Answer: SELECT date FROM table_name_8 WHERE location = "bells beach"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14977592_1 (game_site VARCHAR, date VARCHAR) ### Question: Name the game site for december 12, 1965 ### Answer: SELECT game_site FROM table_14977592_1 WHERE date = "December 12, 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_20 (attendance INTEGER, opponent VARCHAR, game VARCHAR) ### Question: What is the attendance of the game against the New Orleans Saints before game 11? ### Answer: SELECT AVG(attendance) FROM table_name_20 WHERE opponent = "new orleans saints" AND game < 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 (venue VARCHAR, figures VARCHAR) ### Question: What is Venue, when Figures is 5/29? ### Answer: SELECT venue FROM table_name_9 WHERE figures = "5/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_37 (points INTEGER, chassis VARCHAR) ### Question: What is the lowest points of using mclaren m14a as chassis? ### Answer: SELECT MIN(points) FROM table_name_37 WHERE chassis = "mclaren m14a"
Below is an context that describes a 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 (language VARCHAR, director VARCHAR) ### Question: Which Language Director of nagisa oshima use in his film? ### Answer: SELECT language FROM table_name_54 WHERE director = "nagisa oshima"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_242785_3 (main_legion_base VARCHAR, date_disband VARCHAR) ### Question: What is the main legion base that disbanded 70 xx? ### Answer: SELECT main_legion_base FROM table_242785_3 WHERE date_disband = "70 XX"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27756014_6 (high_points VARCHAR, team VARCHAR) ### Question: Who scored the most points when the Bucks played against Houston? ### Answer: SELECT high_points FROM table_27756014_6 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_51 (city_of_license VARCHAR, frequency VARCHAR) ### Question: What is the City of license with a 88.7 fm frequency ### Answer: SELECT city_of_license FROM table_name_51 WHERE frequency = "88.7 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_2624098_1 (old_english_day_name VARCHAR, modern_english_day_name VARCHAR) ### Question: what is the old English name of Saturday? ### Answer: SELECT old_english_day_name FROM table_2624098_1 WHERE modern_english_day_name = "Saturday"
Below is an context that describes a 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_61 (crowd INTEGER, venue VARCHAR) ### Question: What is the crowd size of the game at Brunswick Street Oval? ### Answer: SELECT SUM(crowd) FROM table_name_61 WHERE venue = "brunswick street 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_8 (grid VARCHAR, time_retired VARCHAR) ### Question: What was the grid for suspension time/retired? ### Answer: SELECT grid FROM table_name_8 WHERE time_retired = "suspension"
Below is an context that describes a 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 (laps INTEGER, start VARCHAR) ### Question: What is the highest number of laps with a 21 start? ### Answer: SELECT MAX(laps) FROM table_name_42 WHERE start = "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 Person (gender VARCHAR) ### Question: How many females does this network has? ### Answer: SELECT COUNT(*) FROM Person WHERE gender = 'female'
Below is an context that describes a 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 (team__number1 VARCHAR) ### Question: What is the 2nd leg of the 1st team in the 2007 uefa intertoto cup? ### Answer: SELECT 2 AS nd_leg FROM table_name_72 WHERE team__number1 = "2007 uefa intertoto cup"
Below is an context that describes a 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 (record VARCHAR, date VARCHAR) ### Question: What was the record on October 8, 1989? ### Answer: SELECT record FROM table_16028499_2 WHERE date = "October 8, 1989"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21146729_6 (title VARCHAR, season__number VARCHAR) ### Question: What was the title in season #8? ### Answer: SELECT title FROM table_21146729_6 WHERE season__number = 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_31 (result VARCHAR, year VARCHAR, date VARCHAR) ### Question: What is Result, when Year is 1948, and when Date is November 7? ### Answer: SELECT result FROM table_name_31 WHERE year = 1948 AND date = "november 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_67 (lowest INTEGER, stadium VARCHAR, average VARCHAR) ### Question: What's the highest lowest number of capacity that ibrox stadium has when the average is larger than 49,143? ### Answer: SELECT MAX(lowest) FROM table_name_67 WHERE stadium = "ibrox stadium" AND average > 49 OFFSET 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_34 (track VARCHAR, date VARCHAR) ### Question: Where was the race on 09-13-2008? ### Answer: SELECT track FROM table_name_34 WHERE date = "09-13-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 (score VARCHAR, opponents_in_the_final VARCHAR) ### Question: WHich Score has marcelo filippini mark koevermans? ### Answer: SELECT score FROM table_name_18 WHERE opponents_in_the_final = "marcelo filippini mark koevermans"
Below is an context that describes a 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 (name VARCHAR, pada_3 VARCHAR) ### Question: What is the Name of ङ ng/na? ### Answer: SELECT name FROM table_name_87 WHERE pada_3 = "ङ ng/na"
Below is an context that describes a 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 (to_par VARCHAR, player VARCHAR) ### Question: What was the To Par score for player Justin Leonard? ### Answer: SELECT to_par FROM table_name_14 WHERE player = "justin leonard"
Below is an context that describes a 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 (competition VARCHAR, result VARCHAR) ### Question: What competition has a Result of 1–2? ### Answer: SELECT competition FROM table_name_73 WHERE result = "1–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_85 (hosted VARCHAR, average VARCHAR) ### Question: How many were hosted whene the average attendance was 27,638? ### Answer: SELECT COUNT(hosted) FROM table_name_85 WHERE average = 27 OFFSET 638
Below is an context that describes a 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 (score VARCHAR, date VARCHAR) ### Question: What is the score on the date of May 2? ### Answer: SELECT score FROM table_name_54 WHERE date = "may 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_23799417_1 (production_code VARCHAR, directed_by VARCHAR) ### Question: What is the production code directed by Matt Shakman? ### Answer: SELECT production_code FROM table_23799417_1 WHERE directed_by = "Matt Shakman"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2562572_53 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name VARCHAR) ### Question: What ethnic group had the largest population in сурдук in 2002? ### Answer: SELECT largest_ethnic_group__2002_ FROM table_2562572_53 WHERE cyrillic_name = "Сурдук"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_179174_2 (years VARCHAR, flights VARCHAR) ### Question: What years had 134 orbital flights? ### Answer: SELECT years FROM table_179174_2 WHERE flights = "134 Orbital"
Below is an context that describes a 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 (year INTEGER, runners_up VARCHAR, venue VARCHAR) ### Question: What is the average Year when Australia was the runner-up at victoria golf club? ### Answer: SELECT AVG(year) FROM table_name_8 WHERE runners_up = "australia" AND venue = "victoria golf club"
Below is an context that describes a 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 (value VARCHAR, other VARCHAR) ### Question: What number value has the Other transliteration of muoy roy? ### Answer: SELECT value FROM table_name_90 WHERE other = "muoy roy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE musical (Nominee VARCHAR, Award VARCHAR) ### Question: Show the musical nominee with award "Bob Fosse" or "Cleavant Derricks". ### Answer: SELECT Nominee FROM musical WHERE Award = "Tony Award" OR Award = "Cleavant Derricks"
Below is an context that describes a 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 (engine VARCHAR, chassis VARCHAR, year VARCHAR) ### Question: What 1957 engine has a Chassis of connaught type b? ### Answer: SELECT engine FROM table_name_71 WHERE chassis = "connaught type b" AND year > 1957
Below is an context that describes a 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 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) ### Question: What is the party of re-elected, incumbent Charles H. Grosvenor, who was first elected before 1894? ### Answer: SELECT party FROM table_name_3 WHERE result = "re-elected" AND first_elected < 1894 AND incumbent = "charles h. grosvenor"
Below is an context that describes a 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_84 (attendance VARCHAR, tie_no VARCHAR) ### Question: On what day was the attendance that had a Tie value of 40? ### Answer: SELECT attendance FROM table_name_84 WHERE tie_no = "40"
Below is an context that describes a 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 (winter VARCHAR, year VARCHAR) ### Question: What is the Winter in 1906? ### Answer: SELECT winter FROM table_name_99 WHERE year = 1906
Below is an context that describes a 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 (opponent VARCHAR, week VARCHAR, result VARCHAR) ### Question: Who was the opponent before week 8 when the result was l 28-17? ### Answer: SELECT opponent FROM table_name_49 WHERE week < 8 AND result = "l 28-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_38 (exposure_fusion VARCHAR, name VARCHAR) ### Question: What's the exposure fusion of Panoramaplus x4? ### Answer: SELECT exposure_fusion FROM table_name_38 WHERE name = "panoramaplus x4"
Below is an context that describes a 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 (away_team VARCHAR, venue VARCHAR) ### Question: Who was the away team at Victoria Park? ### Answer: SELECT away_team FROM table_name_52 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_24 (date VARCHAR, rank__number VARCHAR, opponent_number VARCHAR) ### Question: On what date was the game played where the opponent was Stanford, ranked #5? ### Answer: SELECT date FROM table_name_24 WHERE rank__number = "5" AND opponent_number = "stanford"
Below is an context that describes a 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 (d_45 VARCHAR, d_42 VARCHAR) ### Question: What is the D45 associated with a D42 of r 22? ### Answer: SELECT d_45 FROM table_name_23 WHERE d_42 = "r 22"
Below is an context that describes a 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 (fastest_lap VARCHAR, pole_position VARCHAR, location VARCHAR) ### Question: Who did the fastest lap when pole position was damon hill and the location was magny-cours? ### Answer: SELECT fastest_lap FROM table_name_33 WHERE pole_position = "damon hill" AND location = "magny-cours"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11240028_3 (portrayed_by VARCHAR, relationship VARCHAR) ### Question: How many characters were portrayed by the informant of don flack? ### Answer: SELECT COUNT(portrayed_by) FROM table_11240028_3 WHERE relationship = "Informant of Don Flack"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20728138_1 (seats_forfeited VARCHAR, party VARCHAR) ### Question: How many seats were forfeited in the revolutionary socialist party? ### Answer: SELECT COUNT(seats_forfeited) FROM table_20728138_1 WHERE party = "Revolutionary Socialist party"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28885977_1 (location VARCHAR, stadium VARCHAR) ### Question: What is the location of the Moorabbin Oval stadium? ### Answer: SELECT location FROM table_28885977_1 WHERE stadium = "Moorabbin 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_11207040_5 (highest INTEGER, team VARCHAR) ### Question: What is the highest attandence at a Hamilton Academical game? ### Answer: SELECT MIN(highest) FROM table_11207040_5 WHERE team = "Hamilton Academical"
Below is an context that describes a 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 (street_address VARCHAR, name VARCHAR) ### Question: The Palazzo's street address is listed as what? ### Answer: SELECT street_address FROM table_name_73 WHERE name = "the palazzo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14623167_1 (virtual VARCHAR, network VARCHAR) ### Question: Name the virtual for Fox ### Answer: SELECT COUNT(virtual) FROM table_14623167_1 WHERE network = "Fox"
Below is an context that describes a 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 (opponent VARCHAR, record VARCHAR) ### Question: Who's the opponent of the game with the record 64-51? ### Answer: SELECT opponent FROM table_name_60 WHERE record = "64-51"
Below is an context that describes a 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 (country VARCHAR, player VARCHAR) ### Question: Which country does Adam Scott play for? ### Answer: SELECT country FROM table_name_39 WHERE player = "adam scott"
Below is an context that describes a 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 (high_points VARCHAR, opponent VARCHAR) ### Question: WHAT IS THE HIGHEST POINTS FOR LOS ANGELES? ### Answer: SELECT high_points FROM table_name_89 WHERE opponent = "los angeles"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15694696_1 (arabic_capital_name VARCHAR, english_capital_name VARCHAR) ### Question: what is the arabic capital name wher the english capital name is manama? ### Answer: SELECT arabic_capital_name FROM table_15694696_1 WHERE english_capital_name = "Manama"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2818164_7 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR) ### Question: What is the original air date the was written by mark st. germain and direct by jay sandrich? ### Answer: SELECT original_air_date FROM table_2818164_7 WHERE written_by = "Mark St. Germain" AND directed_by = "Jay Sandrich"
Below is an context that describes a 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 (d_44 VARCHAR, d_41 VARCHAR) ### Question: What is the D44 when D41 is D 16? ### Answer: SELECT d_44 FROM table_name_70 WHERE d_41 = "d 16"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1301373_1 (captain VARCHAR, head_coach VARCHAR) ### Question: Who's the captain of the team whose head coach is Alistair Edwards? ### Answer: SELECT captain FROM table_1301373_1 WHERE head_coach = "Alistair 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_63 (nation VARCHAR, bronze VARCHAR) ### Question: What nation has 28 bronze medals? ### Answer: SELECT nation FROM table_name_63 WHERE bronze = "28"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20016339_1 (team VARCHAR, motorcycle VARCHAR) ### Question: What's the name of the team who had a Honda motorcycle? ### Answer: SELECT team FROM table_20016339_1 WHERE motorcycle = "Honda"
Below is an context that describes a 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 (modern_equivalent VARCHAR, former_kingdom VARCHAR, hanja VARCHAR) ### Question: What is the modern equivalent of the former kingdom "silla" with the hanja 尙州? ### Answer: SELECT COUNT(modern_equivalent) FROM table_160510_1 WHERE former_kingdom = "Silla" AND 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_name_38 (births__000s_ INTEGER, deaths VARCHAR) ### Question: What is the average births that had a death rate of 0.4 ### Answer: SELECT AVG(births__000s_) FROM table_name_38 WHERE deaths = 0.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_41 (opponent VARCHAR, round VARCHAR) ### Question: What opponent has 32 as the round? ### Answer: SELECT opponent FROM table_name_41 WHERE round = "32"
Below is an context that describes a 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 (total INTEGER, nation VARCHAR, rank VARCHAR) ### Question: What is the smallest total from Japan with a rank larger than 3? ### Answer: SELECT MIN(total) FROM table_name_95 WHERE nation = "japan" AND rank > 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_52 (competition VARCHAR, date VARCHAR) ### Question: What was the competition on 25/08/07? ### Answer: SELECT competition FROM table_name_52 WHERE date = "25/08/07"
Below is an context that describes a 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 (winner VARCHAR) ### Question: What is the 2nd leg when San Pedro was the winner? ### Answer: SELECT 2 AS nd_leg FROM table_name_92 WHERE winner = "san pedro"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10361625_1 (round VARCHAR, player_name VARCHAR) ### Question: Which round did Tommy Kramer play in> ### Answer: SELECT round FROM table_10361625_1 WHERE player_name = "Tommy Kramer"
Below is an context that describes a 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 (location VARCHAR, circuit VARCHAR, race VARCHAR) ### Question: what is the location when the circuit is lowood circuit and the race is lowood trophy? ### Answer: SELECT location FROM table_name_47 WHERE circuit = "lowood circuit" AND race = "lowood trophy"
Below is an context that describes a 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 (champions VARCHAR, year VARCHAR, runners_up VARCHAR) ### Question: Who won after 1999 with changwon lg sakers as runners-up? ### Answer: SELECT champions FROM table_name_47 WHERE year > 1999 AND runners_up = "changwon lg sakers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_228149_1 (bruce_coulter_award VARCHAR, game VARCHAR) ### Question: Nam the total number for bruce coulter award for 9th game ### Answer: SELECT COUNT(bruce_coulter_award) FROM table_228149_1 WHERE game = "9th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE operate_company (TYPE VARCHAR) ### Question: What is the most common company type, and how many are there? ### Answer: SELECT TYPE, COUNT(*) FROM operate_company GROUP BY TYPE 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_86 (segment_a VARCHAR, netflix VARCHAR) ### Question: Which segment a's Netflix is S05E22? ### Answer: SELECT segment_a FROM table_name_86 WHERE netflix = "s05e22"
Below is an context that describes a 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 (bronze VARCHAR, silver INTEGER) ### Question: What is the total number of bronze medals for teams with less than 0 silver? ### Answer: SELECT COUNT(bronze) FROM table_name_98 WHERE silver < 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_82 (pick INTEGER, player VARCHAR, round VARCHAR) ### Question: What is the average Pick, when Player is "Willie White",and when Round is less than 2? ### Answer: SELECT AVG(pick) FROM table_name_82 WHERE player = "willie white" AND round < 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_30 (place VARCHAR, score VARCHAR, player VARCHAR) ### Question: WHAT IS THE PLACE THAT HAS SCORE OF 65 OR BETTER, FOR ROCCO MEDIATE? ### Answer: SELECT place FROM table_name_30 WHERE score > 65 AND player = "rocco mediate"
Below is an context that describes a 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 (score VARCHAR, team VARCHAR) ### Question: Tell met he score for team of waaia ### Answer: SELECT score FROM table_name_67 WHERE team = "waaia"
Below is an context that describes a 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 (score VARCHAR, january VARCHAR, record VARCHAR) ### Question: What is the score of the game before January 22 with a 30-7-7 record? ### Answer: SELECT score FROM table_name_54 WHERE january < 22 AND record = "30-7-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_23918997_1 (directed_by VARCHAR, written_by VARCHAR) ### Question: How many directors worked on the episode written by Brent Fletcher & Miranda Kwok? ### Answer: SELECT COUNT(directed_by) FROM table_23918997_1 WHERE written_by = "Brent Fletcher & Miranda Kwok"
Below is an context that describes a 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 (year INTEGER, competition VARCHAR, venue VARCHAR) ### Question: Which Year has a Competition of olympic games, and a Venue of atlanta, united states? ### Answer: SELECT AVG(year) FROM table_name_93 WHERE competition = "olympic games" AND venue = "atlanta, united states"
Below is an context that describes a 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 (team_2 VARCHAR, team_1 VARCHAR) ### Question: What is the team 2 for team 1 of Valletta? ### Answer: SELECT team_2 FROM table_name_60 WHERE team_1 = "valletta"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2501754_2 (original_airdate VARCHAR, prod_code VARCHAR) ### Question: What are the original air date(s) for episodes with production code ipea343l? ### Answer: SELECT original_airdate FROM table_2501754_2 WHERE prod_code = "IPEA343L"