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_52 (season INTEGER, score VARCHAR) ### Question: Which Seasonhas a Score of 3 – 3 aet , 4–3 pen? ### Answer: SELECT MAX(season) FROM table_name_52 WHERE score = "3 – 3 aet , 4–3 pen"
Below is an context that describes a sql 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 (team VARCHAR, year VARCHAR) ### Question: What is the Team, when the Year is 2011? ### Answer: SELECT team FROM table_name_14 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_28967275_3 (series__number VARCHAR, episode__number VARCHAR) ### Question: when 68 is the episode number what is the series number? ### Answer: SELECT series__number FROM table_28967275_3 WHERE episode__number = 68
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR, decision VARCHAR, visitor VARCHAR) ### Question: Decision of parent, and a Visitor of Philadelphia, and a Date of January 27 had what score? ### Answer: SELECT score FROM table_name_26 WHERE decision = "parent" AND visitor = "philadelphia" AND date = "january 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_40 (description VARCHAR, reserve VARCHAR) ### Question: What is the description when the reserve is Half Moon Caye? ### Answer: SELECT description FROM table_name_40 WHERE reserve = "half moon caye"
Below is an context that describes a sql 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 (losing_bonus VARCHAR, try_bonus VARCHAR) ### Question: When the try bonus was 10 what was the losing bonus? ### Answer: SELECT losing_bonus FROM table_name_78 WHERE try_bonus = "10"
Below is an context that describes a sql 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 (record VARCHAR, location VARCHAR, date VARCHAR) ### Question: What was their record on Wed. Dec. 5, when they played in Boston Garden? ### Answer: SELECT record FROM table_name_11 WHERE location = "boston garden" AND date = "wed. dec. 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_76 (date_s__released VARCHAR, democratic_alternative VARCHAR, labour VARCHAR) ### Question: Which date released had a Democratic Alternative value of 1% and Labour of 34%? ### Answer: SELECT date_s__released FROM table_name_76 WHERE democratic_alternative = "1%" AND labour = "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_86 (winning_jockey VARCHAR, track VARCHAR, winning_horse VARCHAR) ### Question: What Winning Jockey ran in the Tampa Bay Downs Track on Winning Horse Barkley Sound? ### Answer: SELECT winning_jockey FROM table_name_86 WHERE track = "tampa bay downs" AND winning_horse = "barkley sound"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_197446_1 (term_began VARCHAR, term_ended VARCHAR) ### Question: How many terms began when the term ended in January 3, 1989? ### Answer: SELECT COUNT(term_began) FROM table_197446_1 WHERE term_ended = "January 3, 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_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR) ### Question: Name the viewers for 2.1 rating ### Answer: SELECT viewers__millions_ FROM table_22822468_2 WHERE rating = "2.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_88 (region VARCHAR, format VARCHAR, catalog VARCHAR) ### Question: What record had an alca-271 cd? ### Answer: SELECT region FROM table_name_88 WHERE format = "cd" AND catalog = "alca-271"
Below is an context that describes a sql 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 (operation_start VARCHAR, gross_mw VARCHAR, unit VARCHAR) ### Question: Gross MW of 220, and a Unit of kakrapar 1 involves what operation start? ### Answer: SELECT operation_start FROM table_name_44 WHERE gross_mw = "220" AND unit = "kakrapar 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 (hindi VARCHAR, tamil VARCHAR) ### Question: WHAT HINDI HAS Tamil of vyazhan? ### Answer: SELECT hindi FROM table_name_37 WHERE tamil = "vyazhan"
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: Name the record for april 6 ### Answer: SELECT record FROM table_name_20 WHERE date = "april 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_58 (bronze INTEGER, rank VARCHAR, total VARCHAR) ### Question: What is the fewest bronzes for ranks of 3 with totals under 2? ### Answer: SELECT MIN(bronze) FROM table_name_58 WHERE rank = "3" AND total < 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_49 (home VARCHAR, record VARCHAR) ### Question: Which home team has a record of 3-2? ### Answer: SELECT home FROM table_name_49 WHERE record = "3-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_11780179_1 (gdp_per_capita__nominal_ VARCHAR, gdp__nominal_ VARCHAR) ### Question: How many countries has a gdp (nominal) of $29.9 billion? ### Answer: SELECT COUNT(gdp_per_capita__nominal_) FROM table_11780179_1 WHERE gdp__nominal_ = "$29.9 billion"
Below is an context that describes a sql 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 (outgoing_manager VARCHAR, replaced_by VARCHAR) ### Question: Who is the outgoing manager when they were replaced by pablo centrone? ### Answer: SELECT outgoing_manager FROM table_name_16 WHERE replaced_by = "pablo centrone"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR) ### Question: What was the score when Tore Torgersen played for Team Europe? ### Answer: SELECT score FROM table_19072602_1 WHERE team_europe = "Tore Torgersen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_206217_2 (epoch__utc_ VARCHAR, periselene__km_ VARCHAR) ### Question: What is every entry for epoch if periselene is 5,454.925? ### Answer: SELECT epoch__utc_ FROM table_206217_2 WHERE periselene__km_ = "5,454.925"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29090919_1 (date VARCHAR, home_team VARCHAR) ### Question: What is the date of the game when the home team is melbourne? ### Answer: SELECT date FROM table_29090919_1 WHERE home_team = "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_26409328_1 (title VARCHAR, production_code VARCHAR) ### Question: what title was given to the episode with production code 6ajn08? ### Answer: SELECT title FROM table_26409328_1 WHERE production_code = "6AJN08"
Below is an context that describes a sql 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 (space_agency VARCHAR, name VARCHAR) ### Question: Which space agency launched the herschel space observatory? ### Answer: SELECT space_agency FROM table_name_17 WHERE name = "herschel space observatory"
Below is an context that describes a sql 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 (name VARCHAR, pos VARCHAR, date_of_birth VARCHAR) ### Question: born on 1973-08-21, what is the cf's name? ### Answer: SELECT name FROM table_name_8 WHERE pos = "cf" AND date_of_birth = "1973-08-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 Allergy_type (allergytype VARCHAR) ### Question: Show all allergy types and the number of allergies in each type. ### Answer: SELECT allergytype, COUNT(*) FROM Allergy_type GROUP BY allergytype
Below is an context that describes a sql 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 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR) ### Question: Who drives a BMW Sauber with a Grid larger than 2 and a Time/Retired of +15.037? ### Answer: SELECT driver FROM table_name_37 WHERE grid > 2 AND constructor = "bmw sauber" AND time_retired = "+15.037"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14603057_2 (class_aAAAA VARCHAR, school_year VARCHAR) ### Question: Who was the class AAAAA in 2008-09? ### Answer: SELECT class_aAAAA FROM table_14603057_2 WHERE school_year = "2008-09"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24990183_7 (ws_points VARCHAR) ### Question: If the WS points is 947, what is the 08-09 gp/jgp 2nd ? ### Answer: SELECT 08 AS _09_gp_jgp_2nd FROM table_24990183_7 WHERE ws_points = 947
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25695027_1 (number_built VARCHAR, valve_gear VARCHAR, cylinder_size VARCHAR, firebox VARCHAR) ### Question: How many engines were built with a cylinder size of 20 ½” x 26”, firebox is belpaire and valve gear is from Stephenson? ### Answer: SELECT number_built FROM table_25695027_1 WHERE cylinder_size = "20 ½” x 26”" AND firebox = "Belpaire" AND valve_gear = "Stephenson"
Below is an context that describes a sql 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 (away_captain VARCHAR, date VARCHAR) ### Question: Which Away captain has a Date of 2,3,4,5 january 1999? ### Answer: SELECT away_captain FROM table_name_69 WHERE date = "2,3,4,5 january 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_14 (rank VARCHAR, assists VARCHAR) ### Question: What was the rank of the player who had 13 assists? ### Answer: SELECT rank FROM table_name_14 WHERE assists = "13"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_83 (start INTEGER, year VARCHAR, finish VARCHAR, manufacturer VARCHAR) ### Question: WHAT IS THE START THAT HAS A FINISH BIGGER THAN 3, FROM FORD, AFTER 1969? ### Answer: SELECT MAX(start) FROM table_name_83 WHERE finish > 3 AND manufacturer = "ford" AND year > 1969
Below is an context that describes a sql 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 (rank INTEGER, total VARCHAR, gold VARCHAR, silver VARCHAR) ### Question: What is the highest rank a country with less than 3 gold, more than 2 silver, and less than 5 total medals has? ### Answer: SELECT MAX(rank) FROM table_name_98 WHERE gold < 3 AND silver > 2 AND total < 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_65 (score VARCHAR, date VARCHAR) ### Question: What was the score of the match on April 23, 2007? ### Answer: SELECT score FROM table_name_65 WHERE date = "april 23, 2007"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (label VARCHAR, region VARCHAR) ### Question: What label is from the Region of Spain? ### Answer: SELECT label FROM table_name_93 WHERE region = "spain"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27816698_2 (pac_12_sports VARCHAR, institution VARCHAR) ### Question: How many pac-12 sports are shown for california polytechnic state university? ### Answer: SELECT COUNT(pac_12_sports) FROM table_27816698_2 WHERE institution = "California Polytechnic State University"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22838521_3 (best_finish VARCHAR, scoring_average VARCHAR) ### Question: If the scoring average is 72.46, what is the best finish? ### Answer: SELECT best_finish FROM table_22838521_3 WHERE scoring_average = "72.46"
Below is an context that describes a sql 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 (oberliga_südwest VARCHAR, oberliga_baden_württemberg VARCHAR, season VARCHAR) ### Question: which Oberliga Südwes has an Oberliga Baden-Württemberg of sv sandhausen in 1984-85? ### Answer: SELECT oberliga_südwest FROM table_name_60 WHERE oberliga_baden_württemberg = "sv sandhausen" AND season = "1984-85"
Below is an context that describes a sql 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 (bronze INTEGER, silver VARCHAR, gold VARCHAR, nation VARCHAR) ### Question: what is the average bronze when gold is more than 0, the nation is greece and silver is less than 0? ### Answer: SELECT AVG(bronze) FROM table_name_75 WHERE gold > 0 AND nation = "greece" 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_33 (attendance INTEGER, date VARCHAR) ### Question: On May 17, what is the highest Attendance? ### Answer: SELECT MAX(attendance) FROM table_name_33 WHERE date = "may 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_11677691_3 (player VARCHAR, hometown VARCHAR) ### Question: What player's hometown is Abilene, Texas? ### Answer: SELECT player FROM table_11677691_3 WHERE hometown = "Abilene, Texas"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (transfer_window VARCHAR, name VARCHAR) ### Question: Which Transfer window has a Name of tofas? ### Answer: SELECT transfer_window FROM table_name_27 WHERE name = "tofas"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668367_14 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the candidates in the district where the incumbent was Nathaniel Macon? ### Answer: SELECT candidates FROM table_2668367_14 WHERE incumbent = "Nathaniel Macon"
Below is an context that describes a sql 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 (population INTEGER, area_km_2 VARCHAR, status VARCHAR, census_ranking VARCHAR) ### Question: What is the Population of the Town with a Census Ranking of 1,379 of 5,008 and an Area km 2 smaller than 8.35? ### Answer: SELECT MAX(population) FROM table_name_70 WHERE status = "town" AND census_ranking = "1,379 of 5,008" AND area_km_2 < 8.35
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14752049_6 (country VARCHAR, change__2011_to_2012_ VARCHAR) ### Question: When the change (2011 to 2012) is -0.1% what is the country? ### Answer: SELECT country FROM table_14752049_6 WHERE change__2011_to_2012_ = "-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_67 (nominated_work VARCHAR, category VARCHAR, year VARCHAR) ### Question: Which nominated work is in the category of best performance by a leading actress in a play earlier than 2007? ### Answer: SELECT nominated_work FROM table_name_67 WHERE category = "best performance by a leading actress in a play" AND year < 2007
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (points INTEGER, place VARCHAR, played VARCHAR) ### Question: What is the total points for a place less than 2 with a played greater than 18? ### Answer: SELECT SUM(points) FROM table_name_16 WHERE place < 2 AND played > 18
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_97 (high_rebounds VARCHAR, game VARCHAR) ### Question: Which High rebounds has a Game of 76? ### Answer: SELECT high_rebounds FROM table_name_97 WHERE game = 76
Below is an context that describes a sql 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 (pick__number INTEGER, college VARCHAR) ### Question: What is buffalo's pick #? ### Answer: SELECT MAX(pick__number) FROM table_name_39 WHERE college = "buffalo"
Below is an context that describes a sql 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 (college VARCHAR, round INTEGER) ### Question: The draft pick that was taken before round 4 went to what college? ### Answer: SELECT college FROM table_name_72 WHERE round < 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_19905183_1 (province VARCHAR, team VARCHAR) ### Question: What province does the Ruhuna Royals team come from? ### Answer: SELECT province FROM table_19905183_1 WHERE team = "Ruhuna Royals"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: Tell me the 2008 of 2001 olympic games ### Answer: SELECT 2008 FROM table_name_69 WHERE 2011 = "olympic games"
Below is an context that describes a sql 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 (game VARCHAR, record VARCHAR) ### Question: What is the Game with a Record of 19-15? ### Answer: SELECT game FROM table_name_71 WHERE record = "19-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_84 (laps VARCHAR, time_retired VARCHAR) ### Question: How many laps have a Time/Retired of +1:35.553? ### Answer: SELECT COUNT(laps) FROM table_name_84 WHERE time_retired = "+1:35.553"
Below is an context that describes a sql 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 (opponent VARCHAR, record VARCHAR, october VARCHAR, game VARCHAR) ### Question: What is the Opponent before October 31 with a Record of 2-3-1 after Game 5? ### Answer: SELECT opponent FROM table_name_52 WHERE october < 31 AND game > 5 AND record = "2-3-1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (artist VARCHAR, issue_date_s_ VARCHAR) ### Question: Who was the artist that issued the single on 19 January? ### Answer: SELECT artist FROM table_name_67 WHERE issue_date_s_ = "19 january"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE cars_data (id VARCHAR, mpg VARCHAR); CREATE TABLE car_names (model VARCHAR, makeid VARCHAR) ### Question: What is the car model with the highest mpg ? ### Answer: SELECT t1.model FROM car_names AS t1 JOIN cars_data AS t2 ON t1.makeid = t2.id ORDER BY t2.mpg 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_17 (author VARCHAR, title VARCHAR) ### Question: who is the author for harry potter and the deathly hallows? ### Answer: SELECT author FROM table_name_17 WHERE title = "harry potter and the deathly hallows"
Below is an context that describes a sql 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 (total VARCHAR, concacaf VARCHAR, mls_cup VARCHAR) ### Question: How many Totals have a CONCACAF of 0, and an MLS Cup smaller than 6? ### Answer: SELECT COUNT(total) FROM table_name_64 WHERE concacaf = 0 AND mls_cup < 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_51 (remelting_at__°c_ VARCHAR, sn_sb___percentage_ VARCHAR) ### Question: What is the remelting temperature for the alloy that has a Sn/Sb ratio of 9.5/15? ### Answer: SELECT remelting_at__°c_ FROM table_name_51 WHERE sn_sb___percentage_ = "9.5/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_67 (hdtv VARCHAR, package_option VARCHAR, television_service VARCHAR) ### Question: What is the HDTV when the Package/Option is sky famiglia, and a Television service of boomerang +1? ### Answer: SELECT hdtv FROM table_name_67 WHERE package_option = "sky famiglia" AND television_service = "boomerang +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 settlements (settlement_amount INTEGER) ### Question: What are the maximum and minimum settlement amount on record? ### Answer: SELECT MAX(settlement_amount), MIN(settlement_amount) FROM settlements
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE program (name VARCHAR, program_id VARCHAR); CREATE TABLE broadcast (program_id VARCHAR) ### Question: Find the name of the program that is broadcast most frequently. ### Answer: SELECT t1.name FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id GROUP BY t2.program_id ORDER BY COUNT(*) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_85 (rank INTEGER, country VARCHAR) ### Question: Which highest rank belongs to the palestinian territories? ### Answer: SELECT MAX(rank) FROM table_name_85 WHERE country = "palestinian territories"
Below is an context that describes a sql 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 (versions VARCHAR, origin VARCHAR) ### Question: Tell me the versions for czechoslovakia? ### Answer: SELECT versions FROM table_name_80 WHERE origin = "czechoslovakia"
Below is an context that describes a sql 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 (horsepower VARCHAR, vin_code VARCHAR, engine VARCHAR) ### Question: Name the horsepower for VIN code of h and engine for 351-2v cleveland v8 ### Answer: SELECT horsepower FROM table_name_94 WHERE vin_code = "h" AND engine = "351-2v cleveland v8"
Below is an context that describes a sql 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 (matches INTEGER, loses VARCHAR, pos VARCHAR) ### Question: Loses of 2, and a Pos. smaller than 2 had how many highest matches? ### Answer: SELECT MAX(matches) FROM table_name_75 WHERE loses = 2 AND pos < 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 driver (party VARCHAR) ### Question: Show the party and the number of drivers in each party. ### Answer: SELECT party, COUNT(*) FROM driver GROUP BY 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_name_22 (gold VARCHAR, silver VARCHAR, bronze VARCHAR) ### Question: What is the total amount of gold medals when there were more than 20 silvers and there were 135 bronze medals? ### Answer: SELECT COUNT(gold) FROM table_name_22 WHERE silver > 20 AND bronze = 135
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_66 (team__number2 VARCHAR) ### Question: What is the 2nd leg of emelec team 2? ### Answer: SELECT 2 AS nd_leg FROM table_name_66 WHERE team__number2 = "emelec"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26702204_1 (us_viewers__million_ VARCHAR, production_code VARCHAR) ### Question: What was the u.s. viewers (millions) when the production code was 4alh19? ### Answer: SELECT us_viewers__million_ FROM table_26702204_1 WHERE production_code = "4ALH19"
Below is an context that describes a sql 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 (draw INTEGER, artist VARCHAR) ### Question: What was the draw of Maggie Toal? ### Answer: SELECT AVG(draw) FROM table_name_74 WHERE artist = "maggie toal"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13759592_1 (location VARCHAR, nickname VARCHAR) ### Question: Which location has a team that is nicknamed the Vikings? ### Answer: SELECT location FROM table_13759592_1 WHERE nickname = "Vikings"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (year INTEGER, chassis VARCHAR) ### Question: What is the year of the Lotus 25 chassis? ### Answer: SELECT AVG(year) FROM table_name_19 WHERE chassis = "lotus 25"
Below is an context that describes a sql 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 (points VARCHAR, chassis VARCHAR, entrant VARCHAR, year VARCHAR) ### Question: what is the points when the entrant is brabham racing organisation, the year is 1964 and the chassis is brabham bt7? ### Answer: SELECT points FROM table_name_17 WHERE entrant = "brabham racing organisation" AND year = 1964 AND chassis = "brabham bt7"
Below is an context that describes a sql 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 (wins VARCHAR, sunrayia_fl VARCHAR, byes VARCHAR) ### Question: What's the total wins for Wentworth with less than 0 byes? ### Answer: SELECT COUNT(wins) FROM table_name_45 WHERE sunrayia_fl = "wentworth" AND byes < 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_60 (score VARCHAR, february VARCHAR, record VARCHAR) ### Question: Name the score when february is more than 24 and has a record of 9-8-2 ### Answer: SELECT score FROM table_name_60 WHERE february > 24 AND record = "9-8-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_62 (myspace INTEGER, site VARCHAR, orkut VARCHAR) ### Question: What myspace has linkedin as the site, with an orkit greater than 3? ### Answer: SELECT AVG(myspace) FROM table_name_62 WHERE site = "linkedin" AND orkut > 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_17355820_1 (original_air_date VARCHAR, directed_by VARCHAR) ### Question: On which dates did the episodes directed by TR Babu Subramaniam air? ### Answer: SELECT original_air_date FROM table_17355820_1 WHERE directed_by = "TR Babu Subramaniam"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10413597_5 (setting VARCHAR, no_in_series VARCHAR) ### Question: How many settings where there for episode 29 of the season? ### Answer: SELECT COUNT(setting) FROM table_10413597_5 WHERE no_in_series = 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_59 (date VARCHAR, opponent VARCHAR, surface VARCHAR, tournament VARCHAR) ### Question: Name the date for hard surface at maybelline classic with opponent of wendy turnbull ### Answer: SELECT date FROM table_name_59 WHERE surface = "hard" AND tournament = "maybelline classic" AND opponent = "wendy turnbull"
Below is an context that describes a sql 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 (result VARCHAR, opponent VARCHAR) ### Question: Opponent of houston texans had what result? ### Answer: SELECT result FROM table_name_2 WHERE opponent = "houston texans"
Below is an context that describes a sql 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 (to_par INTEGER, player VARCHAR) ### Question: What is the lowest To Par, when Player is "Johnny Miller"? ### Answer: SELECT MIN(to_par) FROM table_name_76 WHERE player = "johnny miller"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_261913_1 (founded INTEGER, joined VARCHAR) ### Question: What was the earliest date an institution was founded that joined in 1977? ### Answer: SELECT MIN(founded) FROM table_261913_1 WHERE joined = "1977"
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: On the date of june 7 what was the score? ### Answer: SELECT record FROM table_name_31 WHERE date = "june 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_16884579_1 (seasons_and_winners VARCHAR, premiere VARCHAR) ### Question: Name the seasons and winners that airs 28 january 2007 ### Answer: SELECT seasons_and_winners FROM table_16884579_1 WHERE premiere = "28 January 2007"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_40 (height VARCHAR, year VARCHAR) ### Question: The year 1972 has what written in Height column? ### Answer: SELECT height FROM table_name_40 WHERE year = 1972
Below is an context that describes a sql 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 (events INTEGER, tournament VARCHAR, top_5 VARCHAR) ### Question: What is the average event for the Open Championship Tournament, and a Top-5 less than 1? ### Answer: SELECT AVG(events) FROM table_name_18 WHERE tournament = "the open championship" AND top_5 < 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 exhibition (YEAR VARCHAR) ### Question: How many exhibition are there in year 2005 or after? ### Answer: SELECT COUNT(*) FROM exhibition WHERE 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_50 (position INTEGER, drawn VARCHAR, against VARCHAR, team VARCHAR) ### Question: Which Position has an Against larger than 17, and a Team of juventus, and a Drawn smaller than 4? ### Answer: SELECT MIN(position) FROM table_name_50 WHERE against > 17 AND team = "juventus" AND drawn < 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_1974443_1 (enrollment VARCHAR, institution VARCHAR) ### Question: What is the enrollment for Lakeland College? ### Answer: SELECT enrollment FROM table_1974443_1 WHERE institution = "Lakeland College"
Below is an context that describes a sql 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 (overall_record VARCHAR, away_team VARCHAR) ### Question: Can you tell me the Overall Record that has the Away Team of miami? ### Answer: SELECT overall_record FROM table_name_46 WHERE away_team = "miami"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27743641_2 (gt_winning_team VARCHAR, gtc_winning_team VARCHAR) ### Question: Who were the GT winning team when the GTC winning team was No. 54 Black Swan Racing? ### Answer: SELECT gt_winning_team FROM table_27743641_2 WHERE gtc_winning_team = "No. 54 Black Swan Racing"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15530244_2 (race INTEGER, pole_position VARCHAR, circuit VARCHAR, winning_driver VARCHAR) ### Question: What is the highest race number in the Phillip Island circuit with James Winslow as the winning driver and pole position? ### Answer: SELECT MAX(race) FROM table_15530244_2 WHERE circuit = "Phillip Island" AND winning_driver = "James Winslow" AND pole_position = "James Winslow"
Below is an context that describes a sql 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 (channel VARCHAR, studio_analysts VARCHAR, play_by_play VARCHAR, studio_host VARCHAR) ### Question: which channel will have play by play commentator Paul Sunderland, Studio Host Bill Macdonald and Studi Analysty Jack Haley? ### Answer: SELECT channel FROM table_name_82 WHERE play_by_play = "paul sunderland" AND studio_host = "bill macdonald" AND studio_analysts = "jack haley"
Below is an context that describes a sql 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 (architect VARCHAR, floors VARCHAR, height_ VARCHAR, m VARCHAR) ### Question: Who was the architect of the 10 floor building with a height of 42 M? ### Answer: SELECT architect FROM table_name_68 WHERE height_[m] = 42 AND floors = 10
Below is an context that describes a sql 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 (home VARCHAR, date VARCHAR) ### Question: WHich Home is on 14 december 2002? ### Answer: SELECT home FROM table_name_18 WHERE date = "14 december 2002"
Below is an context that describes a sql 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 (color VARCHAR, thai_name VARCHAR) ### Question: Show the Color which has a Thai name of วันพฤหัสบดี? ### Answer: SELECT color FROM table_name_19 WHERE thai_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_70 (qual VARCHAR, rank VARCHAR, year VARCHAR) ### Question: What is the qualification for rank of 29 in 1957? ### Answer: SELECT qual FROM table_name_70 WHERE rank = "29" AND year = "1957"