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_47 (internet_explorer VARCHAR, firefox VARCHAR) ### Question: What was the internet explorer % when firefox was 24.98%? ### Answer: SELECT internet_explorer FROM table_name_47 WHERE firefox = "24.98%"
Below is an context that describes a sql 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 (flags INTEGER, wins VARCHAR, losses VARCHAR) ### Question: What's the most flags that had 473 wins and less than 633 losses? ### Answer: SELECT MAX(flags) FROM table_name_90 WHERE wins = 473 AND losses < 633
Below is an context that describes a sql 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 (debut_in_europe INTEGER, player VARCHAR, games VARCHAR) ### Question: When was the latest debut in Europe for Henrik Larsson, with less than 108 games? ### Answer: SELECT MAX(debut_in_europe) FROM table_name_57 WHERE player = "henrik larsson" AND games < 108
Below is an context that describes a sql 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 (pick__number INTEGER, position VARCHAR, cfl_team VARCHAR) ### Question: Name the Pick # which has a Position of lb, and a CFL Team of winnipeg? ### Answer: SELECT SUM(pick__number) FROM table_name_74 WHERE position = "lb" AND cfl_team = "winnipeg"
Below is an context that describes a sql 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 (stop_no VARCHAR, platform VARCHAR) ### Question: Which Stop # has a Platform of [2777] mciver station platforms? ### Answer: SELECT stop_no FROM table_name_50 WHERE platform = "[2777] mciver station platforms"
Below is an context that describes a sql 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 (japanese_title VARCHAR, romaji_title VARCHAR) ### Question: What's the Japanese title when the Romaji Title was Atsu-Hime? ### Answer: SELECT japanese_title FROM table_name_24 WHERE romaji_title = "atsu-hime"
Below is an context that describes a sql 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 (location VARCHAR, club VARCHAR) ### Question: What is the location for a club of telecom? ### Answer: SELECT location FROM table_name_61 WHERE club = "telecom"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2482547_5 (team_s_ VARCHAR, average VARCHAR) ### Question: What are all the teams with an average of 15.89? ### Answer: SELECT team_s_ FROM table_2482547_5 WHERE average = "15.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_23950611_2 (rank__all__2013 VARCHAR, name VARCHAR) ### Question: How many companies named cenovus energy? ### Answer: SELECT COUNT(rank__all__2013) FROM table_23950611_2 WHERE name = "Cenovus Energy"
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR) ### Question: What is the date of the game when the record is 2-0? ### Answer: SELECT date FROM table_name_53 WHERE record = "2-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_24949975_1 (stadium VARCHAR, home_team VARCHAR, result VARCHAR) ### Question: What was the stadium for the home team of shamrock rovers and result of 3–0? ### Answer: SELECT stadium FROM table_24949975_1 WHERE home_team = "Shamrock Rovers" AND result = "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_name_68 (date VARCHAR, week VARCHAR, record VARCHAR) ### Question: What is the Date for a week higher than 7 with a record of 9–1? ### Answer: SELECT date FROM table_name_68 WHERE week > 7 AND record = "9–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_2 (score VARCHAR, opponent VARCHAR) ### Question: What is the Score of the game against Philadelphia 76ers? ### Answer: SELECT score FROM table_name_2 WHERE opponent = "philadelphia 76ers"
Below is an context that describes a sql 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 (name VARCHAR, nationality VARCHAR, ranking VARCHAR) ### Question: What is the name of the player from Spain with a rank lower than 3? ### Answer: SELECT name FROM table_name_62 WHERE nationality = "spain" AND ranking > 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_83 (attendance INTEGER, loss VARCHAR) ### Question: What is the sum of the people in attendance when there was a Loss of clement (5–7)? ### Answer: SELECT SUM(attendance) FROM table_name_83 WHERE loss = "clement (5–7)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (silver INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR) ### Question: What is the smallest silver with a Bronze smaller than 6, a Total of 3, and a Rank smaller than 9? ### Answer: SELECT MIN(silver) FROM table_name_33 WHERE bronze < 6 AND total = 3 AND rank < 9
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16388478_2 (ground VARCHAR, home_team VARCHAR) ### Question: How many locations were there when sydney was the home team? ### Answer: SELECT COUNT(ground) FROM table_16388478_2 WHERE home_team = "Sydney"
Below is an context that describes a sql 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 (laps INTEGER, driver VARCHAR, grid VARCHAR) ### Question: what's the highest lap that contains the driver of graham hill and a grid that is larger than 18? ### Answer: SELECT MAX(laps) FROM table_name_34 WHERE driver = "graham hill" 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_12 (kickoff_ VARCHAR, a_ VARCHAR, game_site VARCHAR) ### Question: What is the kickoff time for the Hubert H. Humphrey Metrodome? ### Answer: SELECT kickoff_[a_] FROM table_name_12 WHERE game_site = "hubert h. humphrey metrodome"
Below is an context that describes a sql 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 (runners INTEGER, dist__f_ VARCHAR) ### Question: Name the least runners with dist of 10.5 ### Answer: SELECT MIN(runners) FROM table_name_34 WHERE dist__f_ = 10.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_16670746_2 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR) ### Question: Who had the fastest lap in the race won by Team Impul at the Twin Ring Motegi circuit? ### Answer: SELECT fastest_lap FROM table_16670746_2 WHERE winning_team = "Team Impul" AND circuit = "Twin Ring Motegi"
Below is an context that describes 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 (Id VARCHAR) ### Question: How many drivers are there? ### Answer: SELECT COUNT(*) FROM driver
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (silver INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR) ### Question: What is the lowest silver that has a bronze greater than 1, a gold less than 2, and a total less than 2? ### Answer: SELECT MIN(silver) FROM table_name_73 WHERE bronze > 1 AND gold < 2 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_83 (try_bonus VARCHAR, drawn VARCHAR, points_for VARCHAR) ### Question: What try bonus drew 0 and scored 427 points for? ### Answer: SELECT try_bonus FROM table_name_83 WHERE drawn = "0" AND points_for = "427"
Below is an context that describes a sql 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 (msrp VARCHAR, storage VARCHAR) ### Question: What is the MSRP for the laptop with storage of 128-512 GB SSD? ### Answer: SELECT msrp FROM table_name_2 WHERE storage = "128-512 gb ssd"
Below is an context that describes a sql 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 (venue VARCHAR, opponent VARCHAR) ### Question: What is the venue of the match with the cronulla sharks as the opponent? ### Answer: SELECT venue FROM table_name_49 WHERE opponent = "cronulla 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_name_51 (date VARCHAR, points VARCHAR) ### Question: What is the date of the game with 62 points? ### Answer: SELECT date FROM table_name_51 WHERE points = 62
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (outcome VARCHAR, surface VARCHAR, date VARCHAR) ### Question: What is the total outcome for the clay surface on April 21, 1996? ### Answer: SELECT outcome FROM table_name_91 WHERE surface = "clay" AND date = "april 21, 1996"
Below is an context that describes a sql 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 (plural_abbreviation VARCHAR, plural_word VARCHAR) ### Question: The plural word of following lines or pages has what plural abbreviation? ### Answer: SELECT plural_abbreviation FROM table_name_21 WHERE plural_word = "following lines or pages"
Below is an context that describes a sql 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 (outcome VARCHAR, score_in_the_final VARCHAR) ### Question: Which Outcome has a Score in the final of 3–6, 1–6? ### Answer: SELECT outcome FROM table_name_57 WHERE score_in_the_final = "3–6, 1–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_1011906_1 (land_area VARCHAR, seat_of_rcm VARCHAR) ### Question: what's the land area with seat of rcm being granby ### Answer: SELECT land_area FROM table_1011906_1 WHERE seat_of_rcm = "Granby"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1277350_7 (friday_day_six VARCHAR, monday_day_two VARCHAR) ### Question: What is friday day six when monday day two is isnin? ### Answer: SELECT friday_day_six FROM table_1277350_7 WHERE monday_day_two = "Isnin"
Below is an context that describes a sql 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 (rounds VARCHAR, tyre VARCHAR, drivers VARCHAR) ### Question: In what rounds was the featured driver Tomonobu Fujii with a Tyre of Y? ### Answer: SELECT rounds FROM table_name_59 WHERE tyre = "y" AND drivers = "tomonobu fujii"
Below is an context that describes a sql 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 (county VARCHAR, grantee VARCHAR) ### Question: Tell me the county for mariano castro ### Answer: SELECT county FROM table_name_48 WHERE grantee = "mariano castro"
Below is an context that describes a sql 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 (money___ INTEGER, player VARCHAR) ### Question: What is the total Money (£) of Player of nick faldo? ### Answer: SELECT SUM(money___) AS £__ FROM table_name_56 WHERE player = "nick faldo"
Below is an context that describes a sql 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 (first_elected INTEGER, party VARCHAR) ### Question: What is the most recent year for a first elected republican? ### Answer: SELECT MAX(first_elected) FROM table_name_36 WHERE party = "republican"
Below is an context that describes a sql 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 (joined INTEGER, institution VARCHAR) ### Question: When did Northeastern University join? ### Answer: SELECT SUM(joined) FROM table_name_59 WHERE institution = "northeastern 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_name_73 (rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__night_ VARCHAR, rating VARCHAR) ### Question: What is the weekly rank of the episode with more than 7.14mil viewers, a nightly rank of 5, and a rating/share of 2.9/10? ### Answer: SELECT rank__week_ FROM table_name_73 WHERE viewers__millions_ > 7.14 AND rank__night_ = "5" AND rating / SHARE(18 - 49) = 2.9 / 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_2897457_2 (pick__number VARCHAR, player VARCHAR) ### Question: How many draft picks is player byron dafoe? ### Answer: SELECT COUNT(pick__number) FROM table_2897457_2 WHERE player = "Byron Dafoe"
Below is an context that describes a sql 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 (band INTEGER, system VARCHAR) ### Question: What band is the highest and has a System of gsm-450? ### Answer: SELECT MAX(band) FROM table_name_22 WHERE system = "gsm-450"
Below is an context that describes a sql 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 (machine VARCHAR, trophy VARCHAR) ### Question: What machine did susan jenness trophy earn the trophy? ### Answer: SELECT machine FROM table_name_75 WHERE trophy = "susan jenness trophy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (tie_no VARCHAR, date VARCHAR) ### Question: What tie no has Watford as the date? ### Answer: SELECT tie_no FROM table_name_92 WHERE date = "watford"
Below is an context that describes a sql 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 (track_s_ VARCHAR, date VARCHAR) ### Question: Which Track(s) is on 18 november 1985? ### Answer: SELECT track_s_ FROM table_name_86 WHERE date = "18 november 1985"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341930_24 (district VARCHAR, incumbent VARCHAR) ### Question: How many districts have W. Arthur Winstead as elected official? ### Answer: SELECT COUNT(district) FROM table_1341930_24 WHERE incumbent = "W. Arthur Winstead"
Below is an context that describes a sql 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 (top_5 INTEGER, tournament VARCHAR, top_10 VARCHAR) ### Question: What is the average Top-5 for the open championship, and a Top-10 smaller than 2? ### Answer: SELECT AVG(top_5) FROM table_name_98 WHERE tournament = "the open championship" AND top_10 < 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_4 (rowers VARCHAR, country VARCHAR) ### Question: Which rowers represented the country of portugal? ### Answer: SELECT rowers FROM table_name_4 WHERE country = "portugal"
Below is an context that describes a sql 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 (title VARCHAR, written_by VARCHAR) ### Question: What was the title of the episode written by Robert Haywood? ### Answer: SELECT title FROM table_name_83 WHERE written_by = "robert haywood"
Below is an context that describes a sql 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 (edition_publisher VARCHAR, language VARCHAR, page_size VARCHAR) ### Question: Who published in Italian with a page size of 8 inches (20cm) x 5.4 inches (14cm)? ### Answer: SELECT edition_publisher FROM table_name_5 WHERE language = "italian" AND page_size = "8 inches (20cm) x 5.4 inches (14cm)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Faculty_participates_in (FacID VARCHAR) ### Question: How many faculty members participate in an activity? ### Answer: SELECT COUNT(DISTINCT FacID) FROM Faculty_participates_in
Below is an context that describes a sql 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, nominee VARCHAR, category VARCHAR) ### Question: Which Year has a Nominee of stephen sondheim, and a Category of the best original score? ### Answer: SELECT year FROM table_name_90 WHERE nominee = "stephen sondheim" AND category = "best original score"
Below is an context that describes a sql 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 (australian VARCHAR, american VARCHAR) ### Question: What is the Australian for the American ɑ? ### Answer: SELECT australian FROM table_name_79 WHERE american = "ɑ"
Below is an context that describes a sql 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 (time_retired VARCHAR, grid VARCHAR) ### Question: When did grid 8 finish? ### Answer: SELECT time_retired FROM table_name_66 WHERE grid = 8
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (district VARCHAR, incumbent VARCHAR) ### Question: What is the district of the incumbent Thomas Larkin Thompson? ### Answer: SELECT district FROM table_name_37 WHERE incumbent = "thomas larkin thompson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26168687_5 (no_in_season VARCHAR, vessel_operator VARCHAR) ### Question: Name the number of season for beluga shipping ### Answer: SELECT COUNT(no_in_season) FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping"
Below is an context that describes a sql 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 (opponents VARCHAR, partner VARCHAR) ### Question: Tell me the opponents for partner of yvonne meusburger ### Answer: SELECT opponents FROM table_name_21 WHERE partner = "yvonne meusburger"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23346303_4 (steals VARCHAR, player VARCHAR) ### Question: How many steals did jasmine wynne have? ### Answer: SELECT steals FROM table_23346303_4 WHERE player = "Jasmine Wynne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_237757_3 (winning_coach VARCHAR, top_team_in_regular_season__points_ VARCHAR) ### Question: What is the winning coach total number if the top team in regular season (points) is the Kansas City Spurs (110 points)? ### Answer: SELECT COUNT(winning_coach) FROM table_237757_3 WHERE top_team_in_regular_season__points_ = "Kansas City Spurs (110 points)"
Below is an context that describes a sql 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 (to_par VARCHAR, country VARCHAR, player VARCHAR) ### Question: What is the to par of United States' Cristie Kerr? ### Answer: SELECT to_par FROM table_name_66 WHERE country = "united states" AND player = "cristie kerr"
Below is an context that describes a sql 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 (opponent VARCHAR, time VARCHAR, ground VARCHAR) ### Question: Who is the Opponent playing at 20:00 GMT at Camp Nou? ### Answer: SELECT opponent FROM table_name_64 WHERE time = "20:00 gmt" AND ground = "camp nou"
Below is an context that describes a sql 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 (student_body VARCHAR, affiliation VARCHAR, enrollment VARCHAR) ### Question: What's the Student Body with an Affiliation of Roman Catholic and has an Enrollment of 502? ### Answer: SELECT student_body FROM table_name_27 WHERE affiliation = "roman catholic" AND enrollment = 502
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR) ### Question: When did Essendon play as the home team? ### Answer: SELECT date FROM table_name_70 WHERE home_team = "essendon"
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR) ### Question: What was the Attendance on 31 January 1987? ### Answer: SELECT COUNT(attendance) FROM table_name_44 WHERE date = "31 january 1987"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE editor (Name VARCHAR, Age VARCHAR) ### Question: What is the name of the youngest editor? ### Answer: SELECT Name FROM editor ORDER BY Age 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_16 (tournament VARCHAR, opponents VARCHAR) ### Question: Which Tournament has Opponents of marc lópez santiago ventura? ### Answer: SELECT tournament FROM table_name_16 WHERE opponents = "marc lópez santiago ventura"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR) ### Question: What is the Record of the Game on January 20 with Visitor Toronto Maple Leafs with a Score of 3–1? ### Answer: SELECT record FROM table_name_63 WHERE score = "3–1" AND visitor = "toronto maple leafs" AND date = "january 20"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (appeared INTEGER, rr_w_rate VARCHAR, player VARCHAR) ### Question: For Angelique Kerber who had an RR Rate of less than 0.33, what's the appeared? ### Answer: SELECT SUM(appeared) FROM table_name_87 WHERE rr_w_rate < 0.33 AND player = "angelique kerber"
Below is an context that describes a sql 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 (round VARCHAR, venue VARCHAR, away VARCHAR) ### Question: What round was the match at Westpac Stadium that had the Newcastle Jets as the away team? ### Answer: SELECT round FROM table_name_24 WHERE venue = "westpac stadium" AND away = "newcastle jets"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341598_44 (incumbent VARCHAR, district VARCHAR) ### Question: What incumbent won the district of texas 22? ### Answer: SELECT incumbent FROM table_1341598_44 WHERE district = "Texas 22"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27700375_8 (game VARCHAR, date VARCHAR) ### Question: How many games were held on January 5? ### Answer: SELECT COUNT(game) FROM table_27700375_8 WHERE date = "January 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_68 (venue VARCHAR, score VARCHAR) ### Question: What is the Venue, when the Score is 56-4? ### Answer: SELECT venue FROM table_name_68 WHERE score = "56-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_43 (home_run INTEGER, location VARCHAR, date VARCHAR) ### Question: On June 17 in Tiger stadium, what was the average home run? ### Answer: SELECT AVG(home_run) FROM table_name_43 WHERE location = "tiger stadium" AND date = "june 17"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (place VARCHAR, player VARCHAR) ### Question: What is the place of player john cook? ### Answer: SELECT place FROM table_name_73 WHERE player = "john cook"
Below is an context that describes a sql 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 (team VARCHAR, game VARCHAR) ### Question: What is the Team in Game 38? ### Answer: SELECT team FROM table_name_46 WHERE game = 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_62 (attendance INTEGER, away_team VARCHAR, tie_no VARCHAR) ### Question: What's the sum of attendance when banbury united is the away team and tie no is over 102? ### Answer: SELECT SUM(attendance) FROM table_name_62 WHERE away_team = "banbury united" AND tie_no > 102
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (county VARCHAR, name VARCHAR) ### Question: In what county is the Canyon Padre Bridge? ### Answer: SELECT county FROM table_name_33 WHERE name = "canyon padre bridge"
Below is an context that describes a sql 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 (year_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) ### Question: What year was the wheel arrangement 0-6-0 and a class 302? ### Answer: SELECT year_made FROM table_name_76 WHERE wheel_arrangement = "0-6-0" AND class = "302"
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR, decision VARCHAR, home VARCHAR) ### Question: What was the date of the home Detroit game with a decision of Joseph and a record of 27–13–5–2? ### Answer: SELECT date FROM table_name_85 WHERE decision = "joseph" AND home = "detroit" AND record = "27–13–5–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_94 (attendance VARCHAR, week VARCHAR) ### Question: What was the attendance for the game in Week 3? ### Answer: SELECT attendance FROM table_name_94 WHERE week = 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_22871316_6 (high_rebounds VARCHAR, high_assists VARCHAR) ### Question: Who did the high rebounds in the game in which Brandon Jennings (8) did the high assists? ### Answer: SELECT high_rebounds FROM table_22871316_6 WHERE high_assists = "Brandon Jennings (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_73 (first_elected INTEGER, home_city_town VARCHAR, party VARCHAR, district VARCHAR) ### Question: Which First elected is the highest one that has a Party of dem, and a District larger than 24, and a Home city/town of berlin? ### Answer: SELECT MAX(first_elected) FROM table_name_73 WHERE party = "dem" AND district > 24 AND home_city_town = "berlin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1272033_1 (champion_s_ VARCHAR, location VARCHAR) ### Question: Who are the champions that have won at Aguas Buenas, Puerto Rico? ### Answer: SELECT champion_s_ FROM table_1272033_1 WHERE location = "Aguas Buenas, Puerto Rico"
Below is an context that describes a sql 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 (team_2 VARCHAR) ### Question: What was the score in the 1st leg when Stade d'Abidjan was Team 2? ### Answer: SELECT 1 AS st_leg FROM table_name_34 WHERE team_2 = "stade d'abidjan"
Below is an context that describes a sql 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 (reason VARCHAR, became_heir VARCHAR) ### Question: Which Reason is given when 1103 is the date for Became heir? ### Answer: SELECT reason FROM table_name_7 WHERE became_heir = "1103"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR) ### Question: For each customer who has at least two orders, find the customer name and number of orders made. ### Answer: SELECT T2.customer_name, COUNT(*) FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING COUNT(*) >= 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_47 (player VARCHAR, school_club_team VARCHAR) ### Question: Who played for Memphis State? ### Answer: SELECT player FROM table_name_47 WHERE school_club_team = "memphis state"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28803803_1 (date VARCHAR, name VARCHAR) ### Question: What are the dates that Falling Angel aired? ### Answer: SELECT date FROM table_28803803_1 WHERE name = "Falling Angel"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (week VARCHAR, opponent VARCHAR) ### Question: How many weeks have pittsburgh steelers as the opponent? ### Answer: SELECT COUNT(week) FROM table_name_89 WHERE opponent = "pittsburgh steelers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20754016_2 (height__ft_ VARCHAR, country VARCHAR) ### Question: How tall is the contestant from Honduras? ### Answer: SELECT height__ft_ FROM table_20754016_2 WHERE country = "Honduras"
Below is an context that describes a sql 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 (rank INTEGER, wins VARCHAR, events VARCHAR) ### Question: What is the rank for the player with 5 wins and under 32 events? ### Answer: SELECT SUM(rank) FROM table_name_52 WHERE wins = 5 AND events < 32
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (engine VARCHAR, year INTEGER) ### Question: What engine was used after 1984? ### Answer: SELECT engine FROM table_name_87 WHERE year > 1984
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR) ### Question: What was the date of the game against Norway with a 1:1 result? ### Answer: SELECT date FROM table_name_31 WHERE opponent = "norway" AND results¹ = "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_56 (losses INTEGER, team VARCHAR, goals_against VARCHAR) ### Question: What is the sum of the losses by the Montreal Hockey Club, who have more than 15 Goals Against? ### Answer: SELECT SUM(losses) FROM table_name_56 WHERE team = "montreal hockey club" AND goals_against > 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_20630462_1 (tier_iv_in VARCHAR, tournament VARCHAR) ### Question: What is the tier IV year for the tournament held in Tampa? ### Answer: SELECT tier_iv_in FROM table_20630462_1 WHERE tournament = "Tampa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (time INTEGER, swimmer VARCHAR, lane VARCHAR) ### Question: Tell me the least time for apostolos tsagkarakis for lane less than 6 ### Answer: SELECT MIN(time) FROM table_name_63 WHERE swimmer = "apostolos tsagkarakis" AND lane < 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_79 (bronze INTEGER, rank VARCHAR, gold VARCHAR, nation VARCHAR) ### Question: How many France bronze have a gold of more than 1 and a rank of 0? ### Answer: SELECT SUM(bronze) FROM table_name_79 WHERE gold > 1 AND nation = "france" AND rank < 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 (bronze VARCHAR, rank VARCHAR, silver VARCHAR) ### Question: Name the total number of bronze with rank of 5 and silver more than 1 ### Answer: SELECT COUNT(bronze) FROM table_name_39 WHERE rank = "5" AND silver > 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 nomination (Festival_ID VARCHAR, Artwork_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR) ### Question: Show the id, name of each festival and the number of artworks it has nominated. ### Answer: SELECT T1.Festival_ID, T3.Festival_Name, COUNT(*) FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID GROUP BY T1.Festival_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_2602958_3 (us_viewers__million_ VARCHAR, no VARCHAR) ### Question: How many viewers in millions for episode number 38? ### Answer: SELECT us_viewers__million_ FROM table_2602958_3 WHERE no = 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_36 (points INTEGER, engine VARCHAR, chassis VARCHAR) ### Question: What are the lowest points that have a Mugen V8 engine and a Reynard 91D chassis? ### Answer: SELECT MIN(points) FROM table_name_36 WHERE engine = "mugen v8" AND chassis = "reynard 91d"
Below is an context that describes a sql 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 (interview INTEGER, state VARCHAR, evening_gown VARCHAR) ### Question: Tell me the highest interview for north carolina and evening gown more than 7.68 ### Answer: SELECT MAX(interview) FROM table_name_19 WHERE state = "north carolina" AND evening_gown > 7.68