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_68 (lner_class VARCHAR) ### Question: What is the 1913 Class of the d32 LNER Class? ### Answer: SELECT 1913 AS _class FROM table_name_68 WHERE lner_class = "d32"
Below is an context that describes a sql 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 (laps VARCHAR, driver VARCHAR, grid VARCHAR) ### Question: How many laps for robin montgomerie-charrington, and a Grid smaller than 15? ### Answer: SELECT COUNT(laps) FROM table_name_18 WHERE driver = "robin montgomerie-charrington" AND grid < 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_1473672_3 (position VARCHAR, nhl_team VARCHAR) ### Question: Which position did the player hold that played for the Philadelphia Flyers in NHL? ### Answer: SELECT position FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers"
Below is an context that describes a sql 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 (title VARCHAR, characters VARCHAR) ### Question: What title has daffy (as duck dodgers) as the character? ### Answer: SELECT title FROM table_name_98 WHERE characters = "daffy (as duck dodgers)"
Below is an context that describes a sql 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 (year VARCHAR, result VARCHAR, matches VARCHAR) ### Question: What is the number of Year with a Result of champions, and Matches larger than 5? ### Answer: SELECT COUNT(year) FROM table_name_34 WHERE result = "champions" AND matches > 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_25316812_1 (rate_change___percentage_ VARCHAR, rate_limit__p_ VARCHAR) ### Question: What is the rate change % when the rate limit is 82.86? ### Answer: SELECT rate_change___percentage_ FROM table_25316812_1 WHERE rate_limit__p_ = "82.86"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_261895_1 (institution VARCHAR, joined VARCHAR) ### Question: in 1953, which of the institutions joined? ### Answer: SELECT institution FROM table_261895_1 WHERE joined = "1953"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_57 (producer VARCHAR, title VARCHAR) ### Question: Who is the producer of city sharks? ### Answer: SELECT producer FROM table_name_57 WHERE title = "city sharks"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, type_of_protection VARCHAR) ### Question: For short patent type of protections, what type of PCT route is available? ### Answer: SELECT pct_route_available FROM table_2279413_1 WHERE type_of_protection = "short patent"
Below is an context that describes a sql 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 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, year VARCHAR) ### Question: Who was Al Michaels' color commentator in 2003? ### Answer: SELECT color_commentator_s_ FROM table_name_69 WHERE play_by_play = "al michaels" AND year > 2003
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (pop__2010_ VARCHAR, longitude VARCHAR) ### Question: What is the population in 2010 for the longitude of -97.578927? ### Answer: SELECT COUNT(pop__2010_) FROM table_name_24 WHERE longitude = -97.578927
Below is an context that describes a sql 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 (home VARCHAR, away VARCHAR) ### Question: What home has 1-5 as the away? ### Answer: SELECT home FROM table_name_69 WHERE away = "1-5"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19948664_1 (countries_sampled VARCHAR, ranking_la__2_ VARCHAR, world_ranking__1_ VARCHAR) ### Question: How many countries were sampled for the index in 2nd place in the LA ranking and 23rd in the world ranking? ### Answer: SELECT countries_sampled FROM table_19948664_1 WHERE ranking_la__2_ = "2nd" AND world_ranking__1_ = "23rd"
Below is an context that describes a sql 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 (games VARCHAR, position VARCHAR) ### Question: How many games were played by the player at FB? ### Answer: SELECT COUNT(games) AS ↑ FROM table_name_18 WHERE position = "fb"
Below is an context that describes a sql 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 (power VARCHAR, year INTEGER) ### Question: How powerful is the model before 1999? ### Answer: SELECT power FROM table_name_58 WHERE year < 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_75 (hole VARCHAR, country VARCHAR, player VARCHAR) ### Question: How many holes did Mike Reid from United States have? ### Answer: SELECT hole FROM table_name_75 WHERE country = "united states" AND player = "mike reid"
Below is an context that describes a sql 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_against___tests__ VARCHAR, year_s_ VARCHAR, games_won___tests__ VARCHAR) ### Question: What are the points against for 2001, and games won of 5 (3)? ### Answer: SELECT points_against___tests__ FROM table_name_16 WHERE year_s_ = 2001 AND games_won___tests__ = "5 (3)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (time_retired VARCHAR, laps VARCHAR, rider VARCHAR) ### Question: Which Time/Retired has Laps smaller than 14, and a Rider of darren barton? ### Answer: SELECT time_retired FROM table_name_78 WHERE laps < 14 AND rider = "darren barton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (Id VARCHAR) ### Question: What is 2001, when 1996 is "0 / 2"? ### Answer: SELECT 2001 FROM table_name_1 WHERE 1996 = "0 / 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 (runner_up VARCHAR, year VARCHAR, champion VARCHAR) ### Question: Which Runner-up has a Year smaller than 2008, and a Champion of josé acasuso? ### Answer: SELECT runner_up FROM table_name_49 WHERE year < 2008 AND champion = "josé acasuso"
Below is an context that describes a sql 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 (investing_dragon_s_ VARCHAR, episode VARCHAR, entrepreneur_s_ VARCHAR) ### Question: Which Investing Dragon(s) belong to Episode 9 with the Entrepreneur Ashley Sayed? ### Answer: SELECT investing_dragon_s_ FROM table_name_82 WHERE episode = "episode 9" AND entrepreneur_s_ = "ashley sayed"
Below is an context that describes a sql 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 (total VARCHAR, nation VARCHAR) ### Question: What is the total number of medals by the Czech republic? ### Answer: SELECT total FROM table_name_70 WHERE nation = "czech republic"
Below is an context that describes a sql 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 (wins INTEGER, rank VARCHAR, events VARCHAR) ### Question: Who has the least wins when ranked above 3 with over 10 events? ### Answer: SELECT MIN(wins) FROM table_name_5 WHERE rank < 3 AND events > 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_90 (year VARCHAR, manufacturer VARCHAR) ### Question: In what year was Letecke Zavody N.P., Jinonice the manufacturer? ### Answer: SELECT year FROM table_name_90 WHERE manufacturer = "letecke zavody n.p., jinonice"
Below is an context that describes a sql 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 (mascot VARCHAR, ihsaa_class___football_class VARCHAR) ### Question: Which mascot has an IHSAA Class and Football class of 2A/2A? ### Answer: SELECT mascot FROM table_name_80 WHERE ihsaa_class___football_class = "2a/2a"
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR, score VARCHAR) ### Question: Who is the player from the United States with a score of 71-72=143? ### Answer: SELECT player FROM table_name_38 WHERE country = "united states" AND score = 71 - 72 = 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_20649850_1 (pick__number VARCHAR, position VARCHAR) ### Question: Name the number for db ### Answer: SELECT COUNT(pick__number) FROM table_20649850_1 WHERE position = "DB"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (author VARCHAR, last_issue VARCHAR) ### Question: What is the Author of the Title with an Ongoing Last Issue? ### Answer: SELECT author FROM table_name_1 WHERE last_issue = "ongoing"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) ### Question: Who was Melbourne's home team opponent? ### Answer: SELECT home_team FROM table_name_90 WHERE away_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_name_72 (no_3 VARCHAR, no_7 VARCHAR, no_5 VARCHAR) ### Question: Name the No. 3 which has a No. 7 of logan, and a No. 5 of jackson? ### Answer: SELECT no_3 FROM table_name_72 WHERE no_7 = "logan" AND no_5 = "jackson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27599216_6 (capacity VARCHAR, institution VARCHAR) ### Question: What is the capacity for the institution of university of alberta? ### Answer: SELECT capacity FROM table_27599216_6 WHERE institution = "University of Alberta"
Below is an context that describes a sql 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, away_team VARCHAR) ### Question: What day is south melbourne away? ### Answer: SELECT date FROM table_name_19 WHERE away_team = "south melbourne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (country VARCHAR, director VARCHAR) ### Question: Which Country has the Director Chen Kaige? ### Answer: SELECT country FROM table_name_79 WHERE director = "chen kaige"
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR) ### Question: When did Collingwood play? ### Answer: SELECT date FROM table_name_36 WHERE home_team = "collingwood"
Below is an context that describes a sql 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 (first_leg VARCHAR, round VARCHAR) ### Question: What was the first leg score during the quarter-final game? ### Answer: SELECT first_leg FROM table_name_16 WHERE round = "quarter-final"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2518850_4 (prefecture VARCHAR, city_town VARCHAR) ### Question: In what prefecture is Daito located? ### Answer: SELECT prefecture FROM table_2518850_4 WHERE city_town = "Daito"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Student (StuID VARCHAR, age INTEGER) ### Question: Show the student id of the oldest student. ### Answer: SELECT StuID FROM Student WHERE age = (SELECT MAX(age) FROM Student)
Below is an context that describes a sql 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 (firefox VARCHAR, netscape VARCHAR) ### Question: What percentage of users were using Firefox during the period in which *0.77% were using Netscape? ### Answer: SELECT firefox FROM table_name_8 WHERE netscape = "*0.77%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25527255_2 (shirt_sponsor VARCHAR, team VARCHAR) ### Question: Who is the shirt sponsor for FC Bunyodkor? ### Answer: SELECT shirt_sponsor FROM table_25527255_2 WHERE team = "FC Bunyodkor"
Below is an context that describes a sql 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 (played INTEGER, points VARCHAR, lost VARCHAR, drawn VARCHAR) ### Question: What is the total number of games played with 3 losses, 1 or more drawns and 10 or fewer points? ### Answer: SELECT SUM(played) FROM table_name_68 WHERE lost = 3 AND drawn > 1 AND points < 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_92 (segment_c VARCHAR, segment_b VARCHAR) ### Question: When segment B is s pineapple, what is the segment C? ### Answer: SELECT segment_c FROM table_name_92 WHERE segment_b = "s pineapple"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (result VARCHAR, week VARCHAR, date VARCHAR) ### Question: What's the result for the game held on December 27, 2004 with a week greater than 2? ### Answer: SELECT result FROM table_name_4 WHERE week > 2 AND date = "december 27, 2004"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12186237_1 (date VARCHAR, grand_prix VARCHAR) ### Question: What is the date of the German Grand Prix? ### Answer: SELECT date FROM table_12186237_1 WHERE grand_prix = "German grand_prix"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23486853_6 (game INTEGER, opponent VARCHAR) ### Question: What was the game number when the opposing team was the Buffalo Sabres? ### Answer: SELECT MIN(game) FROM table_23486853_6 WHERE opponent = "Buffalo Sabres"
Below is an context that describes a sql 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 (quantity INTEGER, drg_number_s_ VARCHAR) ### Question: What is average quantity, when DRG number is 99 011? ### Answer: SELECT AVG(quantity) FROM table_name_85 WHERE drg_number_s_ = "99 011"
Below is an context that describes a sql 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 (position VARCHAR, years_for_rockets VARCHAR) ### Question: What was the position of the player who played for the Rockets during 1981? ### Answer: SELECT position FROM table_name_88 WHERE years_for_rockets = "1981"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_228973_9 (no_in_series INTEGER, directed_by VARCHAR) ### Question: What is the maximum number in the series for the episode directed by Harvey S. Laidman? ### Answer: SELECT MAX(no_in_series) FROM table_228973_9 WHERE directed_by = "Harvey S. Laidman"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27833186_1 (distance__miles_ VARCHAR, best_conditioned_horse VARCHAR) ### Question: What was the total distance (in miles) of the championship where the best conditioned horse was Freedom? ### Answer: SELECT distance__miles_ FROM table_27833186_1 WHERE best_conditioned_horse = "Freedom"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Draft_Copies (document_id VARCHAR) ### Question: Which documents have more than 1 draft copies? List document id and number of draft copies. ### Answer: SELECT document_id, COUNT(*) FROM Draft_Copies GROUP BY document_id HAVING COUNT(*) > 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_32 (position VARCHAR, player VARCHAR) ### Question: What position is Sal Martinez? ### Answer: SELECT position FROM table_name_32 WHERE player = "sal martinez"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (date VARCHAR, goal VARCHAR) ### Question: What was the date of the game that had a goal of 3? ### Answer: SELECT date FROM table_name_48 WHERE goal = 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_12 (location VARCHAR, round VARCHAR, score VARCHAR) ### Question: At what Location in Round 3 is the Score 1-1? ### Answer: SELECT location FROM table_name_12 WHERE round = "round 3" AND score = "1-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 (semifinalists VARCHAR, champions VARCHAR) ### Question: Which Semifinalists has a Champions of michael chang 6-0 6-4? ### Answer: SELECT semifinalists FROM table_name_86 WHERE champions = "michael chang 6-0 6-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_25 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) ### Question: What's the highest silver and 1 gold that the nation of djibouti received with a total less than 3? ### Answer: SELECT MAX(silver) FROM table_name_25 WHERE gold = 1 AND nation = "djibouti" AND total < 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_96 (year VARCHAR, tournament_name VARCHAR, runners_up VARCHAR) ### Question: What year was the Grand Prix Passing Shot Bordeaux that had Runners-up of Diego Nargiso? ### Answer: SELECT year FROM table_name_96 WHERE tournament_name = "grand prix passing shot bordeaux" AND runners_up = "diego nargiso"
Below is an context that describes a sql 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 (city VARCHAR, entered_the_house VARCHAR, profession VARCHAR) ### Question: What city is the housemate who entered the house on day 1 and whose profession was a tv presenter from? ### Answer: SELECT city FROM table_name_84 WHERE entered_the_house = "day 1" AND profession = "tv presenter"
Below is an context that describes a sql 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 (result VARCHAR, score VARCHAR) ### Question: Which result has a Score of 1–1? ### Answer: SELECT result FROM table_name_23 WHERE score = "1–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_79 (competition VARCHAR, score VARCHAR) ### Question: In which competition was the score 3-0? ### Answer: SELECT competition FROM table_name_79 WHERE score = "3-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_11206787_5 (highest INTEGER, team VARCHAR) ### Question: What is the highest of ayr united? ### Answer: SELECT MIN(highest) FROM table_11206787_5 WHERE team = "Ayr United"
Below is an context that describes a sql 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 (school_club_team VARCHAR, position VARCHAR, player VARCHAR) ### Question: What School/Club Team has a Player named Juan Dixon and a Position of guard? ### Answer: SELECT school_club_team FROM table_name_58 WHERE position = "guard" AND player = "juan dixon"
Below is an context that describes a sql 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 (name VARCHAR, pos VARCHAR) ### Question: What's the name of the person in the CF Pos? ### Answer: SELECT name FROM table_name_43 WHERE pos = "cf"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26611679_3 (category VARCHAR, totals VARCHAR) ### Question: Name the category for 50 totals ### Answer: SELECT category FROM table_26611679_3 WHERE totals = "50"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE bank (no_of_customers INTEGER) ### Question: How many customers are there? ### Answer: SELECT SUM(no_of_customers) FROM bank
Below is an context that describes a sql 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 (laps INTEGER, start VARCHAR, finish VARCHAR) ### Question: How many laps were completed with a start of 33, and a finish of 18? ### Answer: SELECT MAX(laps) FROM table_name_67 WHERE start = "33" AND finish = "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 Plays_games (Stuid VARCHAR, hours_played INTEGER) ### Question: Show all student ids and the number of hours played. ### Answer: SELECT Stuid, SUM(hours_played) FROM Plays_games GROUP BY Stuid
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2602958_5 (writer_s_ VARCHAR, _number VARCHAR) ### Question: Who wrote the movie positioned at 8 on the list? ### Answer: SELECT writer_s_ FROM table_2602958_5 WHERE _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_78 (visitor VARCHAR, home VARCHAR, record VARCHAR) ### Question: What is the Visitor of the Montreal Canadiens Home game with a Record of 6–4–4? ### Answer: SELECT visitor FROM table_name_78 WHERE home = "montreal canadiens" AND record = "6–4–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_14984050_1 (result VARCHAR, game_site VARCHAR) ### Question: Name the result for milwaukee county stadium ### Answer: SELECT result FROM table_14984050_1 WHERE game_site = "Milwaukee County 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_36 (top_5 INTEGER, cuts_made VARCHAR) ### Question: What is the least Top-5 when 1 is the cuts made? ### Answer: SELECT MIN(top_5) FROM table_name_36 WHERE cuts_made = 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_34 (nfl_club VARCHAR, pick VARCHAR, position VARCHAR) ### Question: What is the NFL club of the cornerback player with a pick greater than 63? ### Answer: SELECT nfl_club FROM table_name_34 WHERE pick > 63 AND position = "cornerback"
Below is an context that describes a sql 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 (round INTEGER, weight_class VARCHAR, card VARCHAR) ### Question: What is the smallest round for the welterweight class with a preliminary card? ### Answer: SELECT MIN(round) FROM table_name_11 WHERE weight_class = "welterweight" AND card = "preliminary"
Below is an context that describes a sql 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 (year INTEGER, position VARCHAR, event VARCHAR) ### Question: Name the sum of year for 2nd position for junior race ### Answer: SELECT SUM(year) FROM table_name_40 WHERE position = "2nd" AND event = "junior race"
Below is an context that describes a sql 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 (school VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) ### Question: Which School has an IHSAA Class of aaa, and a Mascot of saints? ### Answer: SELECT school FROM table_name_76 WHERE ihsaa_class = "aaa" AND mascot = "saints"
Below is an context that describes a sql 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 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) ### Question: Tell me the sum of laps with a time/retired of +13 laps with grid more than 18 ### Answer: SELECT SUM(laps) FROM table_name_21 WHERE time_retired = "+13 laps" AND grid > 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_53 (basikal VARCHAR, ikut VARCHAR, mana VARCHAR, pergi VARCHAR) ### Question: what is basikal when mana is mano, pergi is gi and Ikut is turuk? ### Answer: SELECT basikal FROM table_name_53 WHERE mana = "mano" AND pergi = "gi" AND ikut = "turuk"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR) ### Question: Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina? ### Answer: SELECT mens_doubles FROM table_12171145_1 WHERE womens_doubles = "Anastasia Chervyakova Romina Gabdullina"
Below is an context that describes a sql 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 (representing VARCHAR, original_title VARCHAR) ### Question: Name the representation for om fjorten dage ### Answer: SELECT representing FROM table_name_59 WHERE original_title = "om fjorten dage"
Below is an context that describes a sql 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 (team VARCHAR, year VARCHAR) ### Question: What is the team in 1989? ### Answer: SELECT team FROM table_name_50 WHERE year = "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_name_95 (manager_1 VARCHAR, team VARCHAR) ### Question: Who is the manager 1 for Leeds United? ### Answer: SELECT manager_1 FROM table_name_95 WHERE team = "leeds united"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19998428_3 (san_antonio_de_lomerío_municipality___percentage_ VARCHAR, language VARCHAR) ### Question: If the language is only native, what is the percentage of the San Antonio de Lomerio municipality? ### Answer: SELECT san_antonio_de_lomerío_municipality___percentage_ FROM table_19998428_3 WHERE language = "Only native"
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR) ### Question: On which date did Geelong play at home? ### Answer: SELECT date FROM table_name_74 WHERE home_team = "geelong"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_13 (surface VARCHAR, opponent VARCHAR) ### Question: WHich Surface has an Opponent of gustavo kuerten? ### Answer: SELECT surface FROM table_name_13 WHERE opponent = "gustavo kuerten"
Below is an context that describes a sql 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 (serial_number VARCHAR, function__figure_ VARCHAR) ### Question: What is the Serial number for the Space Security Trooper Function (figure)? ### Answer: SELECT serial_number FROM table_name_11 WHERE function__figure_ = "space security trooper"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14754471_1 (asian___percentage_ VARCHAR, year VARCHAR) ### Question: What percentage of Asians are there in the year 2009? ### Answer: SELECT asian___percentage_ FROM table_14754471_1 WHERE year = 2009
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_74 (score VARCHAR, attendance VARCHAR, tie_no VARCHAR) ### Question: Which Score has an Attendance of 23 january 1999, and a Tie # of 6? ### Answer: SELECT score FROM table_name_74 WHERE attendance = "23 january 1999" AND tie_no = "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_19542477_8 (number_one_s_ INTEGER) ### Question: What is the highest overall number one(s)? ### Answer: SELECT MAX(number_one_s_) FROM table_19542477_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_16 (against INTEGER, draws INTEGER) ### Question: What was the lowest against when the draw was at least 0? ### Answer: SELECT MIN(against) FROM table_name_16 WHERE draws > 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_31 (vehicle_flight__number VARCHAR, pilot VARCHAR, velocity__km_h_ VARCHAR) ### Question: What Vehicle Flight # has Pilot Peterson and Velocity (km/h) of 649? ### Answer: SELECT vehicle_flight__number FROM table_name_31 WHERE pilot = "peterson" AND velocity__km_h_ = 649
Below is an context that describes a sql 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 (segment_b VARCHAR, segment_d VARCHAR) ### Question: Which Segment B has a Segment D of stone wool insulation? ### Answer: SELECT segment_b FROM table_name_92 WHERE segment_d = "stone wool insulation"
Below is an context that describes a sql 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 (fatalities VARCHAR, country VARCHAR) ### Question: How many fatalities does Italy have? ### Answer: SELECT fatalities FROM table_name_50 WHERE country = "italy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25594271_2 (loa__metres_ VARCHAR, yacht VARCHAR) ### Question: What were the LOA metres for the yacht ichi ban? ### Answer: SELECT loa__metres_ FROM table_25594271_2 WHERE yacht = "Ichi Ban"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18888159_1 (points VARCHAR, _number VARCHAR) ### Question: Name the total number of points for number 6 ### Answer: SELECT COUNT(points) FROM table_18888159_1 WHERE _number = 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_61 (total_area VARCHAR, outlet VARCHAR, _percentage_in_state VARCHAR) ### Question: What is the total area of the Arkansas River outlet with a % in-state of a021 100%? ### Answer: SELECT total_area FROM table_name_61 WHERE outlet = "arkansas river" AND _percentage_in_state = "a021 100%"
Below is an context that describes a sql 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 (sign_in_bicker VARCHAR, location VARCHAR) ### Question: Which Sign-in/Bicker is at of wash50 on washington rd? ### Answer: SELECT sign_in_bicker FROM table_name_56 WHERE location = "wash50 on washington rd"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16729063_2 (week VARCHAR, attendance VARCHAR) ### Question: In what week number was the attendance 74716? ### Answer: SELECT COUNT(week) FROM table_16729063_2 WHERE attendance = 74716
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13564702_3 (points_for VARCHAR, try_bonus VARCHAR) ### Question: Name the total number of points for when try bonus is 10 ### Answer: SELECT COUNT(points_for) FROM table_13564702_3 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_2 (country VARCHAR, score VARCHAR) ### Question: What country scored 66-65-66-72=269? ### Answer: SELECT country FROM table_name_2 WHERE score = 66 - 65 - 66 - 72 = 269
Below is an context that describes a sql 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 (team VARCHAR, drivers VARCHAR) ### Question: Christian Fittipaldi drove in what team? ### Answer: SELECT team FROM table_name_74 WHERE drivers = "christian fittipaldi"
Below is an context that describes a sql 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 (competition VARCHAR, date VARCHAR) ### Question: Which Competition has a Date of may 2, 1993? ### Answer: SELECT competition FROM table_name_12 WHERE date = "may 2, 1993"
Below is an context that describes a sql 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 (location VARCHAR, nationality VARCHAR, time VARCHAR) ### Question: In what Location in the United States the Time 2:25.62? ### Answer: SELECT location FROM table_name_87 WHERE nationality = "united states" AND time = "2:25.62"