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_78 (score VARCHAR, place VARCHAR) ### Question: Which Score has a Place of 4? ### Answer: SELECT score FROM table_name_78 WHERE place = "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_23285849_7 (high_points VARCHAR, score VARCHAR) ### Question: Who had the most points in the game where the score was w 97–92 (ot)? ### Answer: SELECT high_points FROM table_23285849_7 WHERE score = "W 97–92 (OT)"
Below is an context that describes a sql 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 (attendance VARCHAR, week VARCHAR) ### Question: What is the attendance of the game on week 4? ### Answer: SELECT attendance FROM table_name_10 WHERE week = 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_85 (subtitles VARCHAR, classifaction VARCHAR) ### Question: What subtitles have 15 as the classification? ### Answer: SELECT subtitles FROM table_name_85 WHERE classifaction = "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_56 (comments VARCHAR, length_over_all VARCHAR) ### Question: Which Comments has a Length Over All of 4.5m? ### Answer: SELECT comments FROM table_name_56 WHERE length_over_all = "4.5m"
Below is an context that describes a sql 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 (delegates INTEGER, counties_carries VARCHAR, state_delegate VARCHAR) ### Question: What is the total number of delegate that have 4 counties carries and more than 1,903 state delegates? ### Answer: SELECT SUM(delegates) FROM table_name_22 WHERE counties_carries = 4 AND state_delegate > 1 OFFSET 903
Below is an context that describes a sql 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 (incumbent VARCHAR, district VARCHAR) ### Question: Which Incumbent has a District of California 5? ### Answer: SELECT incumbent FROM table_name_99 WHERE district = "california 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_58 (week INTEGER, result VARCHAR) ### Question: What was the last week when the team had a bye week? ### Answer: SELECT MAX(week) FROM table_name_58 WHERE result = "bye"
Below is an context that describes a sql 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 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) ### Question: What is the lowest gold when there are 0 bronze and the total is less than 2, and silver is less than 0? ### Answer: SELECT MIN(gold) FROM table_name_24 WHERE bronze = 0 AND total < 2 AND 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_16 (score VARCHAR, home_team VARCHAR) ### Question: What was the score for the match where the home team was Leicester City? ### Answer: SELECT score FROM table_name_16 WHERE home_team = "leicester 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_80 (country VARCHAR, lane VARCHAR, react VARCHAR) ### Question: What is Country, when Lane is 5, and when React is greater than 0.166? ### Answer: SELECT country FROM table_name_80 WHERE lane = 5 AND react > 0.166
Below is an context that describes a sql 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 (film_title_used_in_nomination VARCHAR, year__ceremony_ VARCHAR) ### Question: What is Film title used in nomination, when Year (Ceremony) is 1968 (41st)? ### Answer: SELECT film_title_used_in_nomination FROM table_name_47 WHERE year__ceremony_ = "1968 (41st)"
Below is an context that describes a sql 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 (losses INTEGER, name VARCHAR) ### Question: Which Losses have a Name of jimmy clausen? ### Answer: SELECT AVG(losses) FROM table_name_39 WHERE name = "jimmy clausen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1784514_1 (year_established INTEGER) ### Question: What is the latest year a division was established? ### Answer: SELECT MAX(year_established) FROM table_1784514_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 APPELLATIONS (Appelation VARCHAR, Area VARCHAR); CREATE TABLE WINE (Price INTEGER, Appelation VARCHAR, year VARCHAR) ### Question: Find the maximum price of wins from the appelations in Central Coast area and produced before the year of 2005. ### Answer: SELECT MAX(T2.Price) FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T1.Area = "Central Coast" AND T2.year < 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_20 (cuts_made INTEGER, top_5 VARCHAR, wins VARCHAR) ### Question: What is the highest number of cuts made in a tournament with 0 wins and 0 top 5 placings? ### Answer: SELECT MAX(cuts_made) FROM table_name_20 WHERE top_5 = 0 AND wins < 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_11 (format VARCHAR, owner VARCHAR, frequency VARCHAR) ### Question: What is the format for Cherry Creek Radio with frequency of 0 92.1 fm? ### Answer: SELECT format FROM table_name_11 WHERE owner = "cherry creek radio" AND frequency = "0 92.1 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 country (Official_native_language VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, College VARCHAR) ### Question: What are the official languages of the countries of players from Maryland or Duke college? ### Answer: SELECT T1.Official_native_language FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.College = "Maryland" OR T2.College = "Duke"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, opponent VARCHAR) ### Question: What was the result of the game after week 3 against the New York Giants? ### Answer: SELECT result FROM table_name_94 WHERE week > 3 AND opponent = "new york giants"
Below is an context that describes a sql 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 (athlete VARCHAR, rank VARCHAR, total VARCHAR) ### Question: Who had a rank under 17 with a total of 119? ### Answer: SELECT athlete FROM table_name_30 WHERE rank < 17 AND total = "119"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_198175_2 (map_number INTEGER) ### Question: What is the highest value for map number? ### Answer: SELECT MAX(map_number) FROM table_198175_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_16 (weeks_on_top VARCHAR, artist VARCHAR) ### Question: How many weeks on top was the single from Savage Garden? ### Answer: SELECT weeks_on_top FROM table_name_16 WHERE artist = "savage garden"
Below is an context that describes a sql 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_captain VARCHAR, venue VARCHAR) ### Question: Which Home captain has a Venue of melbourne cricket ground? ### Answer: SELECT home_captain FROM table_name_53 WHERE venue = "melbourne cricket ground"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13328239_4 (date VARCHAR, venue VARCHAR) ### Question: When was the game happening at Halton Stadium? ### Answer: SELECT date FROM table_13328239_4 WHERE venue = "Halton Stadium"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_70 (mission VARCHAR, service VARCHAR, age_on_mission VARCHAR) ### Question: What mission did the astronaut who 38 years old on the mission and who served in NASA serve on? ### Answer: SELECT mission FROM table_name_70 WHERE service = "nasa" AND age_on_mission = 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_96 (score VARCHAR, money___$__ VARCHAR, player VARCHAR) ### Question: WHAT IS THE SCORE WITH $85 FOR CLARENCE HACKNEY? ### Answer: SELECT score FROM table_name_96 WHERE money___$__ = 85 AND player = "clarence hackney"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15905399_1 (length VARCHAR, iin_ranges VARCHAR) ### Question: What is the length for iin range 51-55? ### Answer: SELECT length FROM table_15905399_1 WHERE iin_ranges = "51-55"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (mountains_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) ### Question: What mountains classification corresponds to Mark Cavendish and the Garmin-Chipotle-H30? ### Answer: SELECT mountains_classification FROM table_name_80 WHERE general_classification = "mark cavendish" AND team_classification = "garmin-chipotle-h30"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12962773_2 (player VARCHAR, position VARCHAR) ### Question: What player plays center? ### Answer: SELECT player FROM table_12962773_2 WHERE position = "Center"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school VARCHAR) ### Question: what is the position when the pick is higher than 33 and the school is tottenville hs (staten island, ny)? ### Answer: SELECT position FROM table_name_16 WHERE pick > 33 AND school = "tottenville hs (staten island, ny)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17432028_1 (high_rebounds VARCHAR, date VARCHAR) ### Question: Name the high rebounds for march 15 ### Answer: SELECT high_rebounds FROM table_17432028_1 WHERE date = "March 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_12 (currency VARCHAR, central_rate VARCHAR) ### Question: Which currency has a central rate of 0.702804? ### Answer: SELECT currency FROM table_name_12 WHERE central_rate = "0.702804"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12584173_1 (population__stanthorpe_ INTEGER, population__rosenthal_ VARCHAR) ### Question: What was the population in Stanthorpe in the year when the population in Rosenthal was 1548? ### Answer: SELECT MAX(population__stanthorpe_) FROM table_12584173_1 WHERE population__rosenthal_ = 1548
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (erp_w INTEGER, call_sign VARCHAR) ### Question: Call sign k216fo has what average ERP W? ### Answer: SELECT AVG(erp_w) FROM table_name_76 WHERE call_sign = "k216fo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_282413_3 (ethnic_group VARCHAR) ### Question: What is the highest 2001 population when the ethnic group is white: british? ### Answer: SELECT MAX(2001 AS _population) FROM table_282413_3 WHERE ethnic_group = "White: British"
Below is an context that describes a sql 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 (round INTEGER, circuit VARCHAR) ### Question: Which Round is the lowest one that has a Circuit of donington? ### Answer: SELECT MIN(round) FROM table_name_18 WHERE circuit = "donington"
Below is an context that describes a sql 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 (social_ao VARCHAR, president VARCHAR) ### Question: What Social AO has a President of harm van leeuwen? ### Answer: SELECT social_ao FROM table_name_68 WHERE president = "harm van leeuwen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE contestants (contestant_name VARCHAR) ### Question: Return the names of the contestants whose names contain the substring 'Al' . ### Answer: SELECT contestant_name FROM contestants WHERE contestant_name LIKE "%al%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1057316_1 (wheel_arrangement___whyte_notation__ VARCHAR, operational_owner_s_ VARCHAR) ### Question: How many wheels does the train owned by Texas and New Orleans Railroad #319 have? ### Answer: SELECT COUNT(wheel_arrangement___whyte_notation__) FROM table_1057316_1 WHERE operational_owner_s_ = "Texas and New Orleans Railroad #319"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22875369_3 (irish_points VARCHAR, record VARCHAR) ### Question: Name the irish points for 23-1 record ### Answer: SELECT irish_points FROM table_22875369_3 WHERE record = "23-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_1637981_7 (grand_rapids__grr_ VARCHAR, saginaw__mbs_ VARCHAR) ### Question: When Saginaw's fare is $470.47, what was the fare to Grand Rapids? ### Answer: SELECT grand_rapids__grr_ FROM table_1637981_7 WHERE saginaw__mbs_ = "$470.47"
Below is an context that describes a sql 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 (score VARCHAR, visitor VARCHAR) ### Question: What was the scory when calgary was visiting? ### Answer: SELECT score FROM table_name_10 WHERE visitor = "calgary"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27397948_2 (title VARCHAR, no_in_series VARCHAR) ### Question: List all titles with a 57 series number. ### Answer: SELECT title FROM table_27397948_2 WHERE no_in_series = 57
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14489821_1 (played INTEGER) ### Question: what is the maximum number of matches played by a team? ### Answer: SELECT MAX(played) FROM table_14489821_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 (attendance INTEGER, date VARCHAR) ### Question: Date of november 29, 1959 had what lowest attendance? ### Answer: SELECT MIN(attendance) FROM table_name_7 WHERE date = "november 29, 1959"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25034983_2 (day_power___w__ VARCHAR, city VARCHAR) ### Question: List the kilo watt hoours per day for moline. ### Answer: SELECT day_power___w__ FROM table_25034983_2 WHERE city = "Moline"
Below is an context that describes a sql 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 (winning_driver VARCHAR, date VARCHAR) ### Question: Who is Winning driver on 18 may? ### Answer: SELECT winning_driver FROM table_name_30 WHERE date = "18 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 (place VARCHAR, country VARCHAR, player VARCHAR) ### Question: What is Place, when Country is "United States", and when Player is "Lee Trevino"? ### Answer: SELECT place FROM table_name_41 WHERE country = "united states" AND player = "lee trevino"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27615896_20 (status VARCHAR, points VARCHAR) ### Question: What's the status of the player with 3041 points? ### Answer: SELECT status FROM table_27615896_20 WHERE points = 3041
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Financial_transactions (transaction_type VARCHAR, transaction_amount INTEGER) ### Question: Show the transaction types and the total amount of transactions. ### Answer: SELECT transaction_type, SUM(transaction_amount) FROM Financial_transactions GROUP BY transaction_type
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24587026_1 (races INTEGER, team VARCHAR) ### Question: Name the least races for carlin ### Answer: SELECT MIN(races) FROM table_24587026_1 WHERE team = "Carlin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (matches VARCHAR, clubs VARCHAR) ### Question: What is the total number of Matches, when Clubs is 588 → 406? ### Answer: SELECT COUNT(matches) FROM table_name_16 WHERE clubs = "588 → 406"
Below is an context that describes a sql 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 (pick VARCHAR, round VARCHAR, team VARCHAR) ### Question: What was the pick for round 2 with the team Indianapolis Olympians? ### Answer: SELECT pick FROM table_name_14 WHERE round = "2" AND team = "indianapolis olympians"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1539201_1 (july VARCHAR) ### Question: Name the julys ### Answer: SELECT july FROM table_1539201_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_39 (sensor_resolution VARCHAR, cpu_usage VARCHAR, camera VARCHAR) ### Question: What was the sensor resolution with a minimal CPU usage for a naturalpoint trackir 3 pro? ### Answer: SELECT sensor_resolution FROM table_name_39 WHERE cpu_usage = "minimal" AND camera = "naturalpoint trackir 3 pro"
Below is an context that describes a sql 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 (team_1 VARCHAR) ### Question: What is the 1st leg in the match where Remo (PA) is team 1? ### Answer: SELECT 1 AS st_leg FROM table_name_26 WHERE team_1 = "remo (pa)"
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR) ### Question: What date was the record 20–16? ### Answer: SELECT date FROM table_name_38 WHERE record = "20–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_26455614_1 (entries INTEGER, winner VARCHAR) ### Question: What is the fewest recorded entrants against paris saint-germain? ### Answer: SELECT MIN(entries) FROM table_26455614_1 WHERE winner = "Paris Saint-Germain"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, other_characteristic_details VARCHAR, characteristic_data_type VARCHAR, characteristic_id VARCHAR); CREATE TABLE product_characteristics (characteristic_id VARCHAR); CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, other_characteristic_details VARCHAR, characteristic_data_type VARCHAR) ### Question: What are the names, details and data types of the characteristics which are never used by any product? ### Answer: SELECT characteristic_name, other_characteristic_details, characteristic_data_type FROM CHARACTERISTICS EXCEPT SELECT t1.characteristic_name, t1.other_characteristic_details, t1.characteristic_data_type FROM CHARACTERISTICS AS t1 JOIN product_characteristics AS t2 ON t1.characteristic_id = t2.characteristic_id
Below is an context that describes a sql 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 (position_in_1959_1960 VARCHAR, clubs VARCHAR) ### Question: What was the position in 1959-1960 for the Sporting De Braga club? ### Answer: SELECT position_in_1959_1960 FROM table_name_19 WHERE clubs = "sporting de braga"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (college_junior_club_team VARCHAR, nhl_team VARCHAR, nationality VARCHAR) ### Question: What College/junior/club had a player of United States nationality drafted by the Toronto Maple Leafs? ### Answer: SELECT college_junior_club_team FROM table_name_12 WHERE nhl_team = "toronto maple leafs" AND nationality = "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_21 (game_status VARCHAR, occupation VARCHAR) ### Question: When the occupation was utility worker on-air talent, what was the game status? ### Answer: SELECT game_status FROM table_name_21 WHERE occupation = "utility worker on-air talent"
Below is an context that describes a 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_4 (no_in_series INTEGER, written_by VARCHAR) ### Question: What is the series number for the episode written by janet leahy? ### Answer: SELECT MIN(no_in_series) FROM table_2818164_4 WHERE written_by = "Janet Leahy"
Below is an context that describes a sql 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 (score_in_the_final VARCHAR, tournament VARCHAR) ### Question: What score in the final had a tournament of $25,000 Glasgow, Great Britain? ### Answer: SELECT score_in_the_final FROM table_name_82 WHERE tournament = "$25,000 glasgow, great britain"
Below is an context that describes a sql 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 (poll_source VARCHAR, peg_luksik VARCHAR, dates_administered VARCHAR) ### Question: Which Poll source has a Peg Luksik of 9%, and Dates administered of may 12, 2010? ### Answer: SELECT poll_source FROM table_name_2 WHERE peg_luksik = "9%" AND dates_administered = "may 12, 2010"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25276250_3 (outputs VARCHAR, notes VARCHAR) ### Question: How many outputs are there for solid state, battery operated for portable use listed in notes? ### Answer: SELECT COUNT(outputs) FROM table_25276250_3 WHERE notes = "Solid state, battery operated for portable use"
Below is an context that describes a sql 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 (date VARCHAR, attendance VARCHAR) ### Question: On what date was the attendance 24,976? ### Answer: SELECT date FROM table_name_98 WHERE attendance = "24,976"
Below is an context that describes a sql 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 (grid VARCHAR, car_no VARCHAR) ### Question: What is the grid of car no. 3? ### Answer: SELECT grid FROM table_name_17 WHERE car_no = "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_39 (points INTEGER, lost VARCHAR) ### Question: What is the highest Points with a Lost total of 8? ### Answer: SELECT MAX(points) FROM table_name_39 WHERE lost = 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_20505342_1 (penalties VARCHAR, conversions VARCHAR) ### Question: How many seasons featured 29 conversions? ### Answer: SELECT COUNT(penalties) FROM table_20505342_1 WHERE conversions = 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_32 (country VARCHAR, score VARCHAR) ### Question: Which country had a score of 72-67=139? ### Answer: SELECT country FROM table_name_32 WHERE score = 72 - 67 = 139
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342013_9 (first_elected VARCHAR, incumbent VARCHAR) ### Question: how many first elected with incumbent being william c. lantaff ### Answer: SELECT COUNT(first_elected) FROM table_1342013_9 WHERE incumbent = "William C. Lantaff"
Below is an context that describes a sql 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 (shell__lb_ VARCHAR, time_to_ft__m__at_40°__seconds_ VARCHAR) ### Question: What is the weight of the shell that reached its maximum height at 40° in 12.6 seconds? ### Answer: SELECT shell__lb_ FROM table_name_6 WHERE time_to_ft__m__at_40°__seconds_ = 12.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_18 (team VARCHAR, home_run VARCHAR) ### Question: Which team has a Home Run of 27? ### Answer: SELECT team FROM table_name_18 WHERE home_run = 27
Below is an context that describes a sql 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, make VARCHAR, winnings VARCHAR) ### Question: How many total laps did the Chevrolet that won $97,508 make? ### Answer: SELECT COUNT(laps) FROM table_name_53 WHERE make = "chevrolet" AND winnings = "$97,508"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (opponents VARCHAR, kick_off VARCHAR, h___a VARCHAR, referee VARCHAR) ### Question: Who is the opponent of the match with a H/A of h, Beguiristain Iceta as the referee, and a kick off at 1993-04-18 17:00? ### Answer: SELECT opponents FROM table_name_50 WHERE h___a = "h" AND referee = "beguiristain iceta" AND kick_off = "1993-04-18 17:00"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (country VARCHAR, builder VARCHAR) ### Question: What is Country, when Builder is "Sheerness Dockyard"? ### Answer: SELECT country FROM table_name_38 WHERE builder = "sheerness dockyard"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28561455_1 (no_in_series INTEGER, written_by VARCHAR) ### Question: What was the latest episode number that Meredith Averill wrote? ### Answer: SELECT MAX(no_in_series) FROM table_28561455_1 WHERE written_by = "Meredith Averill"
Below is an context that describes a sql 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 (position INTEGER, points VARCHAR, goals_ VARCHAR, __ VARCHAR) ### Question: What is the average position of Eesti Põlevkivi Jõhvi when they had less than 13 points and worse than a -12 goal differential? ### Answer: SELECT AVG(position) FROM table_name_54 WHERE points < 13 AND goals_ + __ > -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_55 (silver INTEGER, bronze VARCHAR, total VARCHAR) ### Question: What is the least silvers where there are 39 bronzes and the total is less than 120? ### Answer: SELECT MIN(silver) FROM table_name_55 WHERE bronze = 39 AND total < 120
Below is an context that describes a sql 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 (no_7 VARCHAR, no_6 VARCHAR, no_10 VARCHAR, no_1 VARCHAR, no_9 VARCHAR) ### Question: What name was number 7 when Mason was number 1, Owen was number 6, Jackson was number 9, and Logan was number 10? ### Answer: SELECT no_7 FROM table_name_68 WHERE no_1 = "mason" AND no_9 = "jackson" AND no_10 = "logan" AND no_6 = "owen"
Below is an context that describes a sql 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 (laps INTEGER, points VARCHAR, team VARCHAR, time_retired VARCHAR) ### Question: What is the fewest number of laps for a Dale Coyne Racing team with a mechanical time/retired and fewer than 5 points? ### Answer: SELECT MIN(laps) FROM table_name_85 WHERE team = "dale coyne racing" AND time_retired = "mechanical" AND points < 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_78 (title VARCHAR, end_term VARCHAR) ### Question: Which Title has an 1825 end term? ### Answer: SELECT title FROM table_name_78 WHERE end_term = 1825
Below is an context that describes a sql 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 (opponent VARCHAR, event VARCHAR) ### Question: Who was the match against at the PRIDE 31 event? ### Answer: SELECT opponent FROM table_name_70 WHERE event = "pride 31"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27734577_13 (team VARCHAR, high_assists VARCHAR) ### Question: What team was the opponent when josh smith (8) had the high assists? ### Answer: SELECT team FROM table_27734577_13 WHERE high_assists = "Josh Smith (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_2801442_1 (code VARCHAR, population__2011_census_ VARCHAR) ### Question: What's the code of the district in which 312520 people lived in 2011? ### Answer: SELECT code FROM table_2801442_1 WHERE population__2011_census_ = 312520
Below is an context that describes a sql 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 (seats INTEGER, election VARCHAR) ### Question: What is the lowest number of seats of the 1992 election? ### Answer: SELECT MIN(seats) FROM table_name_86 WHERE election = 1992
Below is an context that describes a sql 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 (fcwc INTEGER, years VARCHAR, icfc VARCHAR) ### Question: What is the highest number of FCWC in the Years of 1958–1965, and an ICFC smaller than 11? ### Answer: SELECT MAX(fcwc) FROM table_name_38 WHERE years = "1958–1965" AND icfc < 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 election (Delegate VARCHAR, Committee VARCHAR) ### Question: Show the delegate and committee information of elections. ### Answer: SELECT Delegate, Committee FROM election
Below is an context that describes a sql 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 (player VARCHAR, cfl_team VARCHAR) ### Question: Which player was drafted by the Saskatchewan Roughriders? ### Answer: SELECT player FROM table_name_5 WHERE cfl_team = "saskatchewan roughriders"
Below is an context that describes a sql 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 (played INTEGER, drawn VARCHAR, lost VARCHAR, percentage VARCHAR) ### Question: what is the highest number of games played when there was 2 losses, percentage was 0.00% and more than 0 draws? ### Answer: SELECT MAX(played) FROM table_name_2 WHERE lost = 2 AND percentage = "0.00%" AND drawn > 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_70 (losses INTEGER, against INTEGER) ### Question: What is the sum of losses for Against values over 1510? ### Answer: SELECT SUM(losses) FROM table_name_70 WHERE against > 1510
Below is an context that describes a sql 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 (overall INTEGER, name VARCHAR, round VARCHAR) ### Question: Name the most overall for dwight freeney with round less than 1 ### Answer: SELECT MAX(overall) FROM table_name_8 WHERE name = "dwight freeney" AND round < 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_54 (pennant_number INTEGER, ships_in_class VARCHAR) ### Question: What is the highest pennant number with ships in raahe class? ### Answer: SELECT MAX(pennant_number) FROM table_name_54 WHERE ships_in_class = "raahe"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (venue VARCHAR, score VARCHAR) ### Question: Tell me the venue for score of 82-0 ### Answer: SELECT venue FROM table_name_58 WHERE score = "82-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_19 (date VARCHAR, winning_score VARCHAR) ### Question: Which Date has a Winning score of −9 (70-64-70=203)? ### Answer: SELECT date FROM table_name_19 WHERE winning_score = −9(70 - 64 - 70 = 203)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24648983_1 (title VARCHAR, us_viewers__million_ VARCHAR) ### Question: What is the name of the episode that had 9.89 million U.S. viewers? ### Answer: SELECT title FROM table_24648983_1 WHERE us_viewers__million_ = "9.89"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18064020_21 (brup VARCHAR, name VARCHAR) ### Question: What is the total brup for the team? ### Answer: SELECT brup FROM table_18064020_21 WHERE name = "total"
Below is an context that describes a sql 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 (title VARCHAR, director VARCHAR) ### Question: What film did Pen-Ek Ratanaruang direct? ### Answer: SELECT title FROM table_name_62 WHERE director = "pen-ek ratanaruang"
Below is an context that describes a sql 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 (ended VARCHAR, loan_club VARCHAR) ### Question: when was the loan ended when the loan club is spartak moscow? ### Answer: SELECT ended FROM table_name_98 WHERE loan_club = "spartak moscow"