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_19 (dates_administered VARCHAR, poll_source VARCHAR, lead_margin VARCHAR) ### Question: What was the date administered from a source of Rasmussen Reports and a lead margin over 32? ### Answer: SELECT dates_administered FROM table_name_19 WHERE poll_source = "rasmussen reports" AND lead_margin > 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_31 (league VARCHAR, sport VARCHAR, club VARCHAR) ### Question: Which league is for baseball with Laredo Apaches? ### Answer: SELECT league FROM table_name_31 WHERE sport = "baseball" AND club = "laredo apaches"
Below is an context that describes a sql 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 (gold INTEGER, total VARCHAR) ### Question: What is the smallest number of gold medals a country with 7 medals has? ### Answer: SELECT MIN(gold) FROM table_name_23 WHERE total = 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_68 (kickoff_ VARCHAR, a_ VARCHAR, date VARCHAR) ### Question: What time was the kickoff on September 15, 1985? ### Answer: SELECT kickoff_[a_] FROM table_name_68 WHERE date = "september 15, 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_name_63 (year VARCHAR, league_position VARCHAR) ### Question: What year had a league position of 8/12? ### Answer: SELECT year FROM table_name_63 WHERE league_position = "8/12"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (track_id VARCHAR) ### Question: Show the name of track and the number of races in each track. ### Answer: SELECT T2.name, COUNT(*) FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id GROUP BY T1.track_id
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (attendance INTEGER, week VARCHAR) ### Question: What was the Attendance on Week 8? ### Answer: SELECT AVG(attendance) FROM table_name_95 WHERE week = 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_12 (visiting_team VARCHAR, final_score VARCHAR) ### Question: Which visiting team had a final score of 14-34? ### Answer: SELECT visiting_team FROM table_name_12 WHERE final_score = "14-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_12 (conmebol_1994 VARCHAR, team VARCHAR, supercopa_1994 VARCHAR, recopa_1994 VARCHAR) ### Question: Which CONMEBOL 1994 has a Supercopa 1994 of n/a, and a Recopa 1994 of n/a, and a Team of san lorenzo? ### Answer: SELECT conmebol_1994 FROM table_name_12 WHERE supercopa_1994 = "n/a" AND recopa_1994 = "n/a" AND team = "san lorenzo"
Below is an context that describes a sql 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 (attendance VARCHAR, record VARCHAR) ### Question: When the record was 4-4, how many people attended? ### Answer: SELECT attendance FROM table_name_64 WHERE record = "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_1670921_1 (batting_partners VARCHAR, season VARCHAR) ### Question: Who are the batting partners for the 1997 season? ### Answer: SELECT batting_partners FROM table_1670921_1 WHERE season = "1997"
Below is an context that describes a sql 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 (class VARCHAR, type VARCHAR) ### Question: What is the class of the locomotive with a 0-4-0st type? ### Answer: SELECT class FROM table_name_23 WHERE type = "0-4-0st"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11642945_1 (viewers VARCHAR, director VARCHAR) ### Question: Which viewers had Matt Gallagher as the director? ### Answer: SELECT viewers FROM table_11642945_1 WHERE director = "Matt Gallagher"
Below is an context that describes a sql 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 (tenure VARCHAR, name VARCHAR) ### Question: What is Gary David Saunders' Tenure? ### Answer: SELECT tenure FROM table_name_23 WHERE name = "gary david saunders"
Below is an context that describes a sql 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 (poll_year VARCHAR, third VARCHAR) ### Question: WHAT IS THE POLL YEAR WITH A THIRD OF THE TING TINGS? ### Answer: SELECT poll_year FROM table_name_34 WHERE third = "the ting tings"
Below is an context that describes a sql 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 (laps INTEGER, driver VARCHAR) ### Question: What is the average number of laps when Gerhard Berger is the driver? ### Answer: SELECT AVG(laps) FROM table_name_23 WHERE driver = "gerhard berger"
Below is an context that describes a sql 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 (goals INTEGER, name VARCHAR, caps VARCHAR) ### Question: Name of gilmar, and a Caps smaller than 94 had how many highest goals? ### Answer: SELECT MAX(goals) FROM table_name_18 WHERE name = "gilmar" AND caps < 94
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27722734_10 (location_attendance VARCHAR, team VARCHAR) ### Question: what was the location for charlotte? ### Answer: SELECT location_attendance FROM table_27722734_10 WHERE team = "Charlotte"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341423_21 (district VARCHAR, incumbent VARCHAR) ### Question: Which district is Joe Moakley? ### Answer: SELECT district FROM table_1341423_21 WHERE incumbent = "Joe Moakley"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26615633_1 (jewel VARCHAR, media_debut VARCHAR) ### Question: what is the jewel power when the media debut is ep 17? ### Answer: SELECT jewel AS Power FROM table_26615633_1 WHERE media_debut = "EP 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_58 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR, constellation VARCHAR) ### Question: what is the right ascension (j2000) with the ngc number less than 3384, the constellation is hydra and the object type is spiral galaxy? ### Answer: SELECT right_ascension___j2000__ FROM table_name_58 WHERE ngc_number < 3384 AND constellation = "hydra" AND object_type = "spiral galaxy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR) ### Question: What is the time/retired for ronnie peterson with under 75 laps and a grid under 15? ### Answer: SELECT time_retired FROM table_name_30 WHERE laps < 75 AND grid < 15 AND driver = "ronnie peterson"
Below is an context that describes a sql 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 (crowd INTEGER, venue VARCHAR) ### Question: Who has the smallest crowd in the Venue of Arden Street Oval? ### Answer: SELECT MIN(crowd) FROM table_name_56 WHERE venue = "arden street oval"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (engine_capacity INTEGER, mpg_us_urban VARCHAR, co_2_g_km VARCHAR, manufacturer VARCHAR, mpg_uk_extra_urban VARCHAR) ### Question: What is the highest engine capacity with a bmw manufacturer, an mpg-UK extra-urban of 52.3, a 176 CO 2 g/km, and an mpg-us urban greater than 27.3? ### Answer: SELECT MAX(engine_capacity) FROM table_name_25 WHERE manufacturer = "bmw" AND mpg_uk_extra_urban = 52.3 AND co_2_g_km = 176 AND mpg_us_urban > 27.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_33 (points INTEGER, chassis VARCHAR, year VARCHAR) ### Question: Name the most points for years before 1979 and chassis of alfa romeo 177 ### Answer: SELECT MAX(points) FROM table_name_33 WHERE chassis = "alfa romeo 177" AND year < 1979
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18933037_3 (mission_target VARCHAR, cause_of_loss VARCHAR) ### Question: When hit by sam at 38,500 feet just after bomb release was the cause of loss what is the mission/target? ### Answer: SELECT mission_target FROM table_18933037_3 WHERE cause_of_loss = "Hit by SAM at 38,500 feet just after bomb release"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668387_18 (result VARCHAR, candidates VARCHAR) ### Question: Name the result for walter jones (dr) 99.0% henry lee (f) 1.0% ### Answer: SELECT result FROM table_2668387_18 WHERE candidates = "Walter Jones (DR) 99.0% Henry Lee (F) 1.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 products (price VARCHAR) ### Question: Compute the number of products with a price larger than or equal to $180. ### Answer: SELECT COUNT(*) FROM products WHERE price >= 180
Below is an context that describes a sql 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 (release_date VARCHAR, developer_s_ VARCHAR, required_os VARCHAR, type VARCHAR) ### Question: Which Release date has a Required OS of windows, a Type of 2d, and a Developer(s) of zeonix? ### Answer: SELECT release_date FROM table_name_59 WHERE required_os = "windows" AND type = "2d" AND developer_s_ = "zeonix"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342013_34 (party VARCHAR, candidates VARCHAR) ### Question: how many party with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5% ### Answer: SELECT COUNT(party) FROM table_1342013_34 WHERE candidates = "John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.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_5 (tournament VARCHAR) ### Question: What was the value in 2009 when 2005 was A for the Australian Open? ### Answer: SELECT 2009 FROM table_name_5 WHERE 2005 = "a" AND tournament = "australian open"
Below is an context that describes a sql 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 (distance VARCHAR, date VARCHAR) ### Question: What was the distance on 24 May? ### Answer: SELECT distance FROM table_name_83 WHERE date = "24 may"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (rank VARCHAR, season VARCHAR) ### Question: What rank for season 1? ### Answer: SELECT rank FROM table_name_28 WHERE season = 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_92 (entrant VARCHAR, constructor VARCHAR) ### Question: What team used the BRM built car? ### Answer: SELECT entrant FROM table_name_92 WHERE constructor = "brm"
Below is an context that describes a sql 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 (tie_no VARCHAR, score VARCHAR) ### Question: Which Tie has a Score of 5–1? ### Answer: SELECT tie_no FROM table_name_98 WHERE score = "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 table_name_88 (lost INTEGER, drawn VARCHAR, goals_for VARCHAR, points_1 VARCHAR) ### Question: What is the lowest Lost, when Goals For is greater than 52, when Points 1 is "44", and when Drawn is less than 8? ### Answer: SELECT MIN(lost) FROM table_name_88 WHERE goals_for > 52 AND points_1 = "44" AND drawn < 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_10 (tag_team VARCHAR, time VARCHAR) ### Question: Name the Tag Team with a Time of 03:34? ### Answer: SELECT tag_team FROM table_name_10 WHERE time = "03: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_9 (bats_throws VARCHAR, players VARCHAR) ### Question: What side does Ryan Overland Bat/Throws from? ### Answer: SELECT bats_throws FROM table_name_9 WHERE players = "ryan overland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR) ### Question: How many candidates were there when Henry Garland Dupré was the incumbent? ### Answer: SELECT COUNT(candidates) FROM table_1342451_16 WHERE incumbent = "Henry Garland Dupré"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21234111_6 (scoreboard VARCHAR, total VARCHAR) ### Question: Name the scoreboard for total being 23.5 ### Answer: SELECT scoreboard FROM table_21234111_6 WHERE total = "23.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 affected_region (name VARCHAR, storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR) ### Question: Show the name of storms which don't have affected region in record. ### Answer: SELECT name FROM storm WHERE NOT storm_id IN (SELECT storm_id FROM affected_region)
Below is an context that describes a sql 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 (years INTEGER, tied VARCHAR, total_games VARCHAR) ### Question: What is the average number of years associated with 51 games tied and over 1184 total games? ### Answer: SELECT AVG(years) FROM table_name_60 WHERE tied = 51 AND total_games > 1184
Below is an context that describes a sql 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 (elimination VARCHAR, team VARCHAR) ### Question: Which Elimination Move is listed at Elimination 8 for Team Batista? ### Answer: SELECT elimination AS Move FROM table_name_90 WHERE team = "team batista" AND elimination = "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_28 (away_team VARCHAR, tie_no VARCHAR) ### Question: Which away team has a tie number of 3? ### Answer: SELECT away_team FROM table_name_28 WHERE tie_no = "3"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18365784_3 (departure VARCHAR, going_to VARCHAR) ### Question: What was the departure time of the train going to Boston? ### Answer: SELECT departure FROM table_18365784_3 WHERE going_to = "Boston"
Below is an context that describes a sql 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 (tournament VARCHAR, winner VARCHAR) ### Question: Which tournament did Thomas Enqvist win? ### Answer: SELECT tournament FROM table_name_23 WHERE winner = "thomas enqvist"
Below is an context that describes a sql 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 (phonetic_realisation VARCHAR, without_niqqud VARCHAR) ### Question: If a variant without niqqud is as final letter: ו or יו, what is the phonetic realisation? ### Answer: SELECT phonetic_realisation FROM table_name_61 WHERE without_niqqud = "as final letter: ו or יו"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14181578_1 (goals_for_against VARCHAR, w_l_d VARCHAR) ### Question: what's the goals for/against with w-l-d being 3-1-1 ### Answer: SELECT goals_for_against FROM table_14181578_1 WHERE w_l_d = "3-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_26335424_86 (round_of_32 VARCHAR, quarterfinals VARCHAR, event VARCHAR) ### Question: If the event was bantamweight (-63kg), and the quarterfinals did not advance, then who was in round of 32? ### Answer: SELECT round_of_32 FROM table_26335424_86 WHERE quarterfinals = "Did not advance" AND event = "Bantamweight (-63kg)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22879262_7 (date VARCHAR, game VARCHAR) ### Question: what ist he date of game 29? ### Answer: SELECT date FROM table_22879262_7 WHERE game = 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_53 (year VARCHAR, result VARCHAR, location VARCHAR, winner VARCHAR) ### Question: How many years did the new york giants win with a result of 15-7 at lincoln financial field? ### Answer: SELECT COUNT(year) FROM table_name_53 WHERE location = "lincoln financial field" AND winner = "new york giants" AND result = "15-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_75 (wheel_arrangement VARCHAR, year_s__retired VARCHAR) ### Question: What is the wheel arrangement for the model that was retired in 1955? ### Answer: SELECT wheel_arrangement FROM table_name_75 WHERE year_s__retired = "1955"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24099476_8 (edition VARCHAR, opponent VARCHAR) ### Question: In what edition is Ungur's opponent David Nalbandian? ### Answer: SELECT edition FROM table_24099476_8 WHERE opponent = "David Nalbandian"
Below is an context that describes a sql 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 (bulls VARCHAR, total_horses VARCHAR, cows VARCHAR, oxen VARCHAR, sheep_and_goats VARCHAR) ### Question: What is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5? ### Answer: SELECT bulls FROM table_name_58 WHERE oxen > 113.8 AND sheep_and_goats > 4533.4 AND cows < 3987 AND total_horses > 5056.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_42 (points INTEGER, rank VARCHAR, name VARCHAR) ### Question: What is the average points value for a rank less than 12 for David Santee? ### Answer: SELECT AVG(points) FROM table_name_42 WHERE rank < 12 AND name = "david santee"
Below is an context that describes a sql 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 (rating INTEGER, centre VARCHAR) ### Question: Which Rating has a Centre of helsinki? ### Answer: SELECT SUM(rating) FROM table_name_88 WHERE centre = "helsinki"
Below is an context that describes a sql 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 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) ### Question: What volume 3 weeks on top for Third Eye Blind? ### Answer: SELECT volume AS :issue FROM table_name_47 WHERE weeks_on_top = "3" AND artist = "third eye blind"
Below is an context that describes a sql 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 (prom__m_ INTEGER, peak VARCHAR) ### Question: What is the total of Prom in M for Peak great knoutberry hill? ### Answer: SELECT SUM(prom__m_) FROM table_name_72 WHERE peak = "great knoutberry hill"
Below is an context that describes a sql 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 (round VARCHAR, tournament VARCHAR) ### Question: What is Round, when Tournament is "Paris"? ### Answer: SELECT round FROM table_name_61 WHERE tournament = "paris"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11630008_8 (title VARCHAR, production_code VARCHAR) ### Question: What is the title of the episode with the production code 624? ### Answer: SELECT title FROM table_11630008_8 WHERE production_code = 624
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE building (height_feet INTEGER, floors INTEGER) ### Question: Show the number of buildings with a height above the average or a number of floors above the average. ### Answer: SELECT COUNT(*) FROM building WHERE height_feet > (SELECT AVG(height_feet) FROM building) OR floors > (SELECT AVG(floors) FROM building)
Below is an context that describes a sql 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 (speed VARCHAR, rank VARCHAR) ### Question: WHich Speed has a Rank of 2? ### Answer: SELECT speed FROM table_name_59 WHERE rank = 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_64 (poles INTEGER, season VARCHAR, podiums VARCHAR) ### Question: What is the sum of Poles, when Season is greater than 2004, and when Podiums is less than 1? ### Answer: SELECT SUM(poles) FROM table_name_64 WHERE season < 2004 AND podiums < 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 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR) ### Question: What shows for monounsaturated fat when the saturated fat is 39g? ### Answer: SELECT monounsaturated_fat FROM table_name_32 WHERE saturated_fat = "39g"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE rankings (ranking_date VARCHAR, tours INTEGER) ### Question: Find the total number of tours for each ranking date. ### Answer: SELECT SUM(tours), ranking_date FROM rankings GROUP BY ranking_date
Below is an context that describes a sql 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 (declination___j2000__ VARCHAR, constellation VARCHAR, object_type VARCHAR) ### Question: For the constellation scorpius and object of planetary nebula, what was the declination (J2000)? ### Answer: SELECT declination___j2000__ FROM table_name_53 WHERE constellation = "scorpius" AND object_type = "planetary nebula"
Below is an context that describes a sql 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 (drawn VARCHAR, points_for VARCHAR, points_against VARCHAR) ### Question: What drawn has 416 as the points for and 533 as the points against? ### Answer: SELECT drawn FROM table_name_49 WHERE points_for = "416" AND points_against = "533"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_71 (engine VARCHAR, model VARCHAR) ### Question: Which Engine has a Model of s430? ### Answer: SELECT engine FROM table_name_71 WHERE model = "s430"
Below is an context that describes a sql 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 (seasons VARCHAR, percentage VARCHAR) ### Question: Which season has a percentage of 13.56%? ### Answer: SELECT seasons FROM table_name_45 WHERE percentage = "13.56%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23670057_5 (player VARCHAR, height__m_ VARCHAR) ### Question: which players have a height of 2.07m? ### Answer: SELECT player FROM table_23670057_5 WHERE height__m_ = "2.07"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (versus VARCHAR, player VARCHAR, venue VARCHAR) ### Question: What is the Versus with a Player with ko otieno, with Venue with bloemfontein? ### Answer: SELECT versus FROM table_name_37 WHERE player = "ko otieno" AND venue = "bloemfontein"
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR) ### Question: On which date did Richmond play as an away team? ### Answer: SELECT date FROM table_name_4 WHERE away_team = "richmond"
Below is an context that describes a sql 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 (extras INTEGER, name VARCHAR, er VARCHAR) ### Question: What is the lowest Extras for Chamara Kapugedera, with an E.R. less than 4.59? ### Answer: SELECT MIN(extras) FROM table_name_50 WHERE name = "chamara kapugedera" AND er < 4.59
Below is an context that describes a sql 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 (name VARCHAR, score VARCHAR) ### Question: What is Name, when Score is "101"? ### Answer: SELECT name FROM table_name_63 WHERE score = "101"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22883210_8 (team VARCHAR, date VARCHAR) ### Question: Who was the opponent in the game held on February 4? ### Answer: SELECT team FROM table_22883210_8 WHERE date = "February 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 building (name VARCHAR, height_feet VARCHAR, building_id VARCHAR); CREATE TABLE institution (building_id VARCHAR, founded INTEGER) ### Question: Show the names and heights of buildings with at least two institutions founded after 1880. ### Answer: SELECT T1.name, T1.height_feet FROM building AS T1 JOIN institution AS T2 ON T1.building_id = T2.building_id WHERE T2.founded > 1880 GROUP BY T1.building_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_38 (result VARCHAR, week VARCHAR) ### Question: What was the result of week 13? ### Answer: SELECT result FROM table_name_38 WHERE week = 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_33 (name VARCHAR, teams VARCHAR) ### Question: What is the name of the event where Cornell-Penn played? ### Answer: SELECT name FROM table_name_33 WHERE teams = "cornell-penn"
Below is an context that describes a sql 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 (team VARCHAR, series VARCHAR) ### Question: WHAT IS THE TEAM WITH astc round 1? ### Answer: SELECT team FROM table_name_56 WHERE series = "astc round 1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1137694_3 (grand_prix VARCHAR, winning_constructor VARCHAR) ### Question: Which Grand Prix was won by a car constructed by Jordan - Mugen-Honda? ### Answer: SELECT grand_prix FROM table_1137694_3 WHERE winning_constructor = "Jordan - Mugen-Honda"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (tournament VARCHAR) ### Question: Which tournament had a 2009 result of 1R? ### Answer: SELECT tournament FROM table_name_77 WHERE 2009 = "1r"
Below is an context that describes a sql 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 (original_title VARCHAR, year VARCHAR) ### Question: What original title has a year of 1978? ### Answer: SELECT original_title FROM table_name_18 WHERE year = "1978"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR) ### Question: What was the result on the 26th? ### Answer: SELECT result FROM table_name_31 WHERE date = "26th"
Below is an context that describes a sql 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 (year VARCHAR, play_by_play VARCHAR) ### Question: What year was the play-by-play for Don Earle? ### Answer: SELECT year FROM table_name_84 WHERE play_by_play = "don earle"
Below is an context that describes a sql 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 (constructor VARCHAR, year VARCHAR, driver VARCHAR) ### Question: What was the constructor of the car that Achille Varzi drove before 1937? ### Answer: SELECT constructor FROM table_name_2 WHERE year < 1937 AND driver = "achille varzi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11318462_5 (crew VARCHAR, open_1st_viii VARCHAR, u15_3rd_iv VARCHAR, u15_1st_iv VARCHAR) ### Question: how many crew had u15 3rd iv being bgs and u15 1st iv being acgs and open 1st viii being acgs ### Answer: SELECT COUNT(crew) FROM table_11318462_5 WHERE u15_3rd_iv = "BGS" AND u15_1st_iv = "ACGS" AND open_1st_viii = "ACGS"
Below is an context that describes a sql 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 (class_to_1928 VARCHAR, year_s__of_manufacture VARCHAR, class_from_1928 VARCHAR) ### Question: Which class to 1928 value had years of manufacture of 1921/23 and class from 1928 of BCi-21? ### Answer: SELECT class_to_1928 FROM table_name_21 WHERE year_s__of_manufacture = "1921/23" AND class_from_1928 = "bci-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 table_name_47 (manner_of_departure VARCHAR, replaced_by VARCHAR) ### Question: What manner of departure was Dick Advocaat replaced by? ### Answer: SELECT manner_of_departure FROM table_name_47 WHERE replaced_by = "dick advocaat"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18914438_1 (best VARCHAR, career VARCHAR) ### Question: What was the Best score during the game played from 1971-1984? ### Answer: SELECT best FROM table_18914438_1 WHERE career = "1971-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_59 (year VARCHAR, class VARCHAR, stages_won VARCHAR) ### Question: What year did he compete in the car class and win 0 stages? ### Answer: SELECT year FROM table_name_59 WHERE class = "car" AND stages_won = "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_46 (score_in_the_final VARCHAR, date VARCHAR) ### Question: What was the final score on the February 19, 2012 final? ### Answer: SELECT score_in_the_final FROM table_name_46 WHERE date = "february 19, 2012"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_261954_1 (joined INTEGER) ### Question: What is the least value of joined? ### Answer: SELECT MIN(joined) FROM table_261954_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_99 (area_km² VARCHAR, population VARCHAR) ### Question: What is the area km² for a population of 99,685 (2008)? ### Answer: SELECT area_km² FROM table_name_99 WHERE population = "99,685 (2008)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15187794_1 (round VARCHAR, circuit VARCHAR) ### Question: Which round was the circuit Assen ### Answer: SELECT round FROM table_15187794_1 WHERE circuit = "Assen"
Below is an context that describes a sql 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 (chassis VARCHAR, points VARCHAR) ### Question: What chassis recorded 5 points? ### Answer: SELECT chassis FROM table_name_68 WHERE points = 5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27409644_1 (location VARCHAR, manager VARCHAR) ### Question: Where is the team that is managed by richard barnwell from? ### Answer: SELECT location FROM table_27409644_1 WHERE manager = "Richard Barnwell"
Below is an context that describes a sql 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 (manager VARCHAR, club VARCHAR) ### Question: Who is the manager of the Stenhousemuir club? ### Answer: SELECT manager FROM table_name_16 WHERE club = "stenhousemuir"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_99 (lane INTEGER, athlete VARCHAR, time VARCHAR) ### Question: What is the greatest lane that David Payne was in when he ran longer than 13.17? ### Answer: SELECT MAX(lane) FROM table_name_99 WHERE athlete = "david payne" AND time > 13.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_11960407_5 (date VARCHAR, game VARCHAR) ### Question: What is the date of Game 50? ### Answer: SELECT date FROM table_11960407_5 WHERE game = 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 table_name_15 (venue VARCHAR, against INTEGER) ### Question: Which venue had an against smaller than 7? ### Answer: SELECT venue FROM table_name_15 WHERE against < 7