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_1 (opponent VARCHAR, date VARCHAR) ### Question: what team played on may 11 ### Answer: SELECT opponent FROM table_name_1 WHERE date = "may 11"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (genre VARCHAR, year VARCHAR, name VARCHAR) ### Question: Which Genre has a Year before 2013, and a Name of kikumana? ### Answer: SELECT genre FROM table_name_92 WHERE year < 2013 AND name = "kikumana"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (round INTEGER, team VARCHAR) ### Question: Which round was a player from the Long Island Lizards drafted in first? ### Answer: SELECT MAX(round) FROM table_name_26 WHERE team = "long island lizards"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Songs (Title VARCHAR, SongId VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, Lastname VARCHAR) ### Question: Find all the songs performed by artist with last name "Heilo" ### Answer: SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.Lastname = "Heilo"
Below is an context that describes a sql 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 (venue VARCHAR, competition VARCHAR, position VARCHAR) ### Question: In which venue did he place 3rd in the World Race Walking Cup? ### Answer: SELECT venue FROM table_name_7 WHERE competition = "world race walking cup" AND position = "3rd"
Below is an context that describes a sql 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 (s_no INTEGER, opponent VARCHAR) ### Question: what is the number of people in sri lanka ### Answer: SELECT AVG(s_no) FROM table_name_10 WHERE opponent = "sri lanka"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1966992_1 (administrative_capital VARCHAR, lga_name VARCHAR) ### Question: What is the administrative capital of LGA name Akuku-Toru? ### Answer: SELECT administrative_capital FROM table_1966992_1 WHERE lga_name = "Akuku-Toru"
Below is an context that describes a sql 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 (heat_semifinal_final VARCHAR, time VARCHAR) ### Question: What heat, semifinal or final has a time of 25.00? ### Answer: SELECT heat_semifinal_final FROM table_name_31 WHERE time = "25.00"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15055594_6 (states VARCHAR, fall_06 VARCHAR) ### Question: Which state had 3821 students in the fall of 06? ### Answer: SELECT states FROM table_15055594_6 WHERE fall_06 = 3821
Below is an context that describes a sql 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 (away_team VARCHAR) ### Question: What was Carlton's score when they were the away team? ### Answer: SELECT away_team AS score FROM table_name_86 WHERE away_team = "carlton"
Below is an context that describes a sql 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 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, trofeo_fast_team VARCHAR) ### Question: Who was the winner that had a Points Classification of Giuseppe Saronni, a Trofeo Fast Team of Bianchi, and was Stage 3? ### Answer: SELECT winner FROM table_name_71 WHERE points_classification = "giuseppe saronni" AND trofeo_fast_team = "bianchi" AND stage = "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_17265535_7 (equation VARCHAR) ### Question: If the equation is 6 × 9² + 6 × 9 + 6, what is the 2nd throw? ### Answer: SELECT MAX(2 AS nd_throw) FROM table_17265535_7 WHERE equation = "6 × 9² + 6 × 9 + 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_13 (player VARCHAR, years_for_grizzlies VARCHAR) ### Question: Which player played for the Grizzlies from 1997-1998? ### Answer: SELECT player FROM table_name_13 WHERE years_for_grizzlies = "1997-1998"
Below is an context that describes a sql 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 (year INTEGER, league VARCHAR) ### Question: What was the earliest year for the USISL Pro League? ### Answer: SELECT MIN(year) FROM table_name_52 WHERE league = "usisl pro league"
Below is an context that describes a sql 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 (license VARCHAR, release_date VARCHAR) ### Question: Which licence has a release date of 2009-08? ### Answer: SELECT license FROM table_name_23 WHERE release_date = "2009-08"
Below is an context that describes a sql 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 (games INTEGER, team VARCHAR, rebounds VARCHAR) ### Question: What's the mean game number for the olympiacos team when there's less than 17 rebounds? ### Answer: SELECT AVG(games) FROM table_name_75 WHERE team = "olympiacos" AND rebounds < 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_15 (incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) ### Question: What incumbent has a re-elected result and first elected larger than 1884? ### Answer: SELECT incumbent FROM table_name_15 WHERE result = "re-elected" AND first_elected > 1884
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR) ### Question: Who was the away team when the VFL played at MCG? ### Answer: SELECT away_team FROM table_name_56 WHERE venue = "mcg"
Below is an context that describes a sql 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 (date VARCHAR, circuit VARCHAR, fastest_lap VARCHAR) ### Question: What date was the circuit, snetterton, when riki christodoulou had the fastest lap? ### Answer: SELECT date FROM table_name_10 WHERE circuit = "snetterton" AND fastest_lap = "riki christodoulou"
Below is an context that describes a sql 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 (runner_up VARCHAR, season VARCHAR) ### Question: Which Runner-up played in the Season of 2000–01? ### Answer: SELECT runner_up FROM table_name_72 WHERE season = "2000–01"
Below is an context that describes a sql 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 (bluetooth VARCHAR, wifi VARCHAR, launch_year VARCHAR, rom___mib__ VARCHAR) ### Question: What was the status of Bluetooth for the model that launched after 2004 with a ROM (MiB) of 128 and a Wifi of 802.11b? ### Answer: SELECT bluetooth FROM table_name_5 WHERE launch_year > 2004 AND rom___mib__ = 128 AND wifi = "802.11b"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE song (song_name VARCHAR, resolution VARCHAR) ### Question: Give me a list of the names of all songs ordered by their resolution. ### Answer: SELECT song_name FROM song ORDER BY resolution
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (population__2006_ INTEGER, population__2011_ VARCHAR, area__km_2__ VARCHAR) ### Question: What is the average population in 2006 that has more than 5 people in 2011 and an area 5.84km? ### Answer: SELECT AVG(population__2006_) FROM table_name_14 WHERE population__2011_ > 5 AND area__km_2__ = 5.84
Below is an context that describes a sql 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 (method VARCHAR, res VARCHAR, time VARCHAR) ### Question: What method resulted in a win and a time of 4:36? ### Answer: SELECT method FROM table_name_44 WHERE res = "win" AND time = "4:36"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21258_1 (natural_increase VARCHAR, births VARCHAR) ### Question: where births is 388 000 how many number is natural increase ### Answer: SELECT COUNT(natural_increase) FROM table_21258_1 WHERE births = "388 000"
Below is an context that describes a sql 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 (year VARCHAR, engine_code VARCHAR) ### Question: From what year is the engine with engine code M57D30? ### Answer: SELECT year FROM table_name_21 WHERE engine_code = "m57d30"
Below is an context that describes a sql 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 (games VARCHAR, name VARCHAR) ### Question: Name the games for rubén limardo ### Answer: SELECT games FROM table_name_66 WHERE name = "rubén limardo"
Below is an context that describes a sql 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 (brilliance_grade VARCHAR, benchmark VARCHAR) ### Question: Which Brilliance Grade has a Benchmark of practical fine cut? ### Answer: SELECT brilliance_grade FROM table_name_69 WHERE benchmark = "practical fine cut"
Below is an context that describes a sql 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 (pick INTEGER, round VARCHAR, nationality VARCHAR) ### Question: What was the lowest pick number for a united states player picked before round 7? ### Answer: SELECT MIN(pick) FROM table_name_91 WHERE round > 7 AND nationality = "united states"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_32 (report VARCHAR, location VARCHAR) ### Question: What was the Report for the Monaco race? ### Answer: SELECT report FROM table_name_32 WHERE location = "monaco"
Below is an context that describes a sql 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 (avg_g INTEGER, effic VARCHAR, cmp_att_int VARCHAR) ### Question: Which Avg/G has an Effic larger than 129.73, and a Cmp-Att-Int of 333-500-13? ### Answer: SELECT SUM(avg_g) FROM table_name_63 WHERE effic > 129.73 AND cmp_att_int = "333-500-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_15581223_8 (tackles INTEGER, player VARCHAR) ### Question: Name the least amount of tackles for danny clark ### Answer: SELECT MIN(tackles) FROM table_15581223_8 WHERE player = "Danny Clark"
Below is an context that describes a sql 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 (year INTEGER, competition VARCHAR, event VARCHAR) ### Question: Competition of u.s championships, and a Event of all around has what average year? ### Answer: SELECT AVG(year) FROM table_name_61 WHERE competition = "u.s championships" AND event = "all around"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (region VARCHAR, catalog VARCHAR) ### Question: What region has the catalog sir021-6? ### Answer: SELECT region FROM table_name_93 WHERE catalog = "sir021-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_2370579_1 (directed_by VARCHAR, written_by VARCHAR) ### Question: Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)? ### Answer: SELECT directed_by FROM table_2370579_1 WHERE written_by = "Tony O'Grady (pseudonym of Brian Clemens)"
Below is an context that describes a sql 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 (record VARCHAR, visitor VARCHAR) ### Question: Name the record for dallas visitor ### Answer: SELECT record FROM table_name_86 WHERE visitor = "dallas"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1132568_3 (rd VARCHAR, grand_prix VARCHAR) ### Question: What number is the Monaco Grand Prix? ### Answer: SELECT rd FROM table_1132568_3 WHERE grand_prix = "Monaco 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_14688744_2 (station VARCHAR, station_code VARCHAR) ### Question: what amount of stations have station code is awy? ### Answer: SELECT COUNT(station) FROM table_14688744_2 WHERE station_code = "AWY"
Below is an context that describes a sql 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 (other VARCHAR, firefox VARCHAR) ### Question: What percentage of users were using other browsers according to the source that reported 21.22% were using Firefox? ### Answer: SELECT other FROM table_name_95 WHERE firefox = "21.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_name_77 (team VARCHAR, qual_1 VARCHAR) ### Question: What is the name of the team with a qual 1 time of 1:17.481? ### Answer: SELECT team FROM table_name_77 WHERE qual_1 = "1:17.481"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1046170_5 (us_open_cup VARCHAR, playoffs VARCHAR) ### Question: which round is u.s. open cup division semifinals ### Answer: SELECT us_open_cup FROM table_1046170_5 WHERE playoffs = "division Semifinals"
Below is an context that describes a sql 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 (tournament VARCHAR) ### Question: Which tournament has 1r in 2011, 1r in 2012, A in 2005, and 1r in 2010? ### Answer: SELECT tournament FROM table_name_62 WHERE 2011 = "1r" AND 2012 = "1r" AND 2005 = "a" AND 2010 = "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_52 (date VARCHAR, home_team VARCHAR) ### Question: When did the Wolverhampton Wanderers play at home? ### Answer: SELECT date FROM table_name_52 WHERE home_team = "wolverhampton wanderers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1180228_1 (num_of_discs VARCHAR, duration VARCHAR) ### Question: What is the total number of discs where the run time was 4 hours 40 minutes? ### Answer: SELECT COUNT(num_of_discs) FROM table_1180228_1 WHERE duration = "4 hours 40 minutes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (year VARCHAR, assists VARCHAR) ### Question: What year had 48 assists? ### Answer: SELECT year FROM table_name_35 WHERE assists = "48"
Below is an context that describes a sql 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 (car_s_ VARCHAR, rounds VARCHAR, owner_s_ VARCHAR) ### Question: What car does Scott Deware own that has rounds under 12? ### Answer: SELECT car_s_ FROM table_name_24 WHERE rounds < 12 AND owner_s_ = "scott deware"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR) ### Question: Name the record for houston ### Answer: SELECT record FROM table_23186738_6 WHERE team = "Houston"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR) ### Question: List the addresses of all the course authors or tutors. ### Answer: SELECT address_line_1 FROM Course_Authors_and_Tutors
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR) ### Question: What was the attendance on 10/29/1932? ### Answer: SELECT attendance FROM table_name_15 WHERE date = "10/29/1932"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (tickets_sold___available VARCHAR, gross_revenue__1979_ VARCHAR) ### Question: Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232? ### Answer: SELECT tickets_sold___available FROM table_name_26 WHERE gross_revenue__1979_ = "$665,232"
Below is an context that describes a sql 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 (loss VARCHAR, score VARCHAR) ### Question: What game did they lose by 6 - 5? ### Answer: SELECT loss FROM table_name_67 WHERE score = "6 - 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 Participants (Participant_ID VARCHAR, Participant_Type_Code VARCHAR); CREATE TABLE Participants_in_Events (Participant_ID VARCHAR) ### Question: How many events have each participants attended? List the participant id, type and the number. ### Answer: SELECT T1.Participant_ID, T1.Participant_Type_Code, COUNT(*) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID = T2.Participant_ID GROUP BY T1.Participant_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_16295365_1 (record VARCHAR, school VARCHAR) ### Question: What was the overall record of UMBC? ### Answer: SELECT record FROM table_16295365_1 WHERE school = "UMBC"
Below is an context that describes a sql 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 (gpu_model VARCHAR, frequency VARCHAR, sspec_number VARCHAR) ### Question: what is the gpu model when the frequency is 3.4 ghz and the sspec number is sr00b(d2)? ### Answer: SELECT gpu_model FROM table_name_8 WHERE frequency = "3.4 ghz" AND sspec_number = "sr00b(d2)"
Below is an context that describes a sql 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 (round VARCHAR, time VARCHAR) ### Question: Which round has a time of 3:01? ### Answer: SELECT round FROM table_name_43 WHERE time = "3:01"
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: What is Record, when Date is "December 30"? ### Answer: SELECT record FROM table_name_22 WHERE date = "december 30"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12834315_5 (barrel_profile VARCHAR, name VARCHAR) ### Question: What is the barrell profile that goes with the gas piston carbine? ### Answer: SELECT barrel_profile FROM table_12834315_5 WHERE name = "Gas Piston Carbine"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_55 (time_retired VARCHAR, driver VARCHAR) ### Question: What is the time/retired for the driver emerson fittipaldi? ### Answer: SELECT time_retired FROM table_name_55 WHERE driver = "emerson 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_66 (socket VARCHAR, multiplier_1 VARCHAR) ### Question: What is the socket type for the processor with a multiplier 1 of 11.5x? ### Answer: SELECT socket FROM table_name_66 WHERE multiplier_1 = "11.5x"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (opponent VARCHAR, attendance VARCHAR) ### Question: Who is the opponent when the attendance is 57,331? ### Answer: SELECT opponent FROM table_name_41 WHERE attendance = "57,331"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR) ### Question: Which Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Vertices larger than 62? ### Answer: SELECT MIN(edges) FROM table_name_29 WHERE dual_archimedean_solid = "truncated icosidodecahedron" AND vertices > 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_32 (year VARCHAR, player VARCHAR) ### Question: What is the sum of all the years that Landon Donovan won the ESPY award? ### Answer: SELECT COUNT(year) FROM table_name_32 WHERE player = "landon donovan"
Below is an context that describes a sql 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 (played INTEGER, conceded INTEGER) ### Question: Mean of played with smaller than 7 conceded? ### Answer: SELECT AVG(played) FROM table_name_62 WHERE conceded < 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_58 (replaced_by VARCHAR, outgoing_manager VARCHAR) ### Question: Who replaced István Sándor? ### Answer: SELECT replaced_by FROM table_name_58 WHERE outgoing_manager = "istván sándor"
Below is an context that describes a sql 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 (round INTEGER, record VARCHAR) ### Question: What is the sum of Round, when Record is "19-25-5"? ### Answer: SELECT SUM(round) FROM table_name_70 WHERE record = "19-25-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_40 (result VARCHAR, goals VARCHAR) ### Question: What was the score of cook 3/6? ### Answer: SELECT result FROM table_name_40 WHERE goals = "cook 3/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_56 (gross_mw VARCHAR, operation_start VARCHAR) ### Question: Operation start of 2015 has what gross mw? ### Answer: SELECT gross_mw FROM table_name_56 WHERE operation_start = "2015"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17058151_6 (record VARCHAR, date VARCHAR) ### Question: Name the record for december 6 ### Answer: SELECT record FROM table_17058151_6 WHERE date = "December 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_26 (rank INTEGER) ### Question: What is the average 1st place with a Rank that is larger than 10? ### Answer: SELECT AVG(1 AS st_place) FROM table_name_26 WHERE rank > 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_23 (group VARCHAR, population VARCHAR) ### Question: What group has a Population of see hoy? ### Answer: SELECT group FROM table_name_23 WHERE population = "see hoy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19753079_41 (result VARCHAR, incumbent VARCHAR) ### Question: When chris carney is the incumbent what are the results? ### Answer: SELECT result FROM table_19753079_41 WHERE incumbent = "Chris Carney"
Below is an context that describes a sql 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 (founded INTEGER, nickname VARCHAR) ### Question: What is the most recent year founded that has a nickname of bruins? ### Answer: SELECT MAX(founded) FROM table_name_7 WHERE nickname = "bruins"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Settlements (Id VARCHAR) ### Question: How many settlements are there in total? ### Answer: SELECT COUNT(*) FROM Settlements
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (year INTEGER, chassis VARCHAR) ### Question: What year was the brabham bt46 bt48 bt49 Chassis common? ### Answer: SELECT AVG(year) FROM table_name_89 WHERE chassis = "brabham bt46 bt48 bt49"
Below is an context that describes a sql 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 (points_gained INTEGER, fans_took VARCHAR, miles_ VARCHAR, one_way VARCHAR) ### Question: What is the highest points gained of the match where fans took 907 and there were more than 44.9 miles one way? ### Answer: SELECT MAX(points_gained) FROM table_name_57 WHERE fans_took = "907" AND miles_[one_way] > 44.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_name_31 (part_3 VARCHAR, part_4 VARCHAR) ### Question: What is the part 3 entry that has a part 4 entry of giboran? ### Answer: SELECT part_3 FROM table_name_31 WHERE part_4 = "giboran"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28677723_16 (couple VARCHAR, total VARCHAR) ### Question: What is the couple that received a total score of 38? ### Answer: SELECT couple FROM table_28677723_16 WHERE total = 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_83 (race VARCHAR, time VARCHAR) ### Question: Who holds the time of 17:11.572? ### Answer: SELECT race FROM table_name_83 WHERE time = "17:11.572"
Below is an context that describes a sql 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 (round VARCHAR, opponent VARCHAR) ### Question: What round has hereford united as the opponent? ### Answer: SELECT round FROM table_name_50 WHERE opponent = "hereford 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_94 (date VARCHAR, away_team VARCHAR) ### Question: what is the date when the away team is crystal palace? ### Answer: SELECT date FROM table_name_94 WHERE away_team = "crystal palace"
Below is an context that describes a sql 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, away_team VARCHAR) ### Question: What day is north melbourne the away side? ### Answer: SELECT date FROM table_name_51 WHERE away_team = "north 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_66 (match VARCHAR, competition VARCHAR, date VARCHAR) ### Question: Which Match has a Competition of Group Stage on 2000-09-17? ### Answer: SELECT match FROM table_name_66 WHERE competition = "group stage" AND date = "2000-09-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_62 (year VARCHAR, division INTEGER) ### Question: What is the total number of years that have divisions greater than 4? ### Answer: SELECT COUNT(year) FROM table_name_62 WHERE division > 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_83 (score VARCHAR, december VARCHAR) ### Question: What is the score for the Dec 11 game? ### Answer: SELECT score FROM table_name_83 WHERE december = 11
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_65 (total INTEGER, silver VARCHAR, bronze VARCHAR) ### Question: How many Total medals did the country with 16 Silver and less than 32 Bronze receive? ### Answer: SELECT MIN(total) FROM table_name_65 WHERE silver = 16 AND bronze < 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_22297198_3 (team VARCHAR, outgoing_manager VARCHAR) ### Question: What team did Alireza mansourian leave? ### Answer: SELECT team FROM table_22297198_3 WHERE outgoing_manager = "Alireza Mansourian"
Below is an context that describes a sql 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 (body_styles VARCHAR, engine VARCHAR) ### Question: What body styles have devaux-hall inline 6 as the engine? ### Answer: SELECT body_styles FROM table_name_9 WHERE engine = "devaux-hall inline 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_27 (grid INTEGER, driver VARCHAR, time_retired VARCHAR, laps VARCHAR) ### Question: What is the sum of grids with an engine in Time/Retired with less than 45 laps for Giancarlo Baghetti? ### Answer: SELECT SUM(grid) FROM table_name_27 WHERE time_retired = "engine" AND laps < 45 AND driver = "giancarlo baghetti"
Below is an context that describes a sql 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 (total_rebounds INTEGER, player VARCHAR) ### Question: What was Peter Woolfolk's Total Rebound average? ### Answer: SELECT SUM(total_rebounds) FROM table_name_59 WHERE player = "peter woolfolk"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22460085_1 (character VARCHAR, original_broadway_performer VARCHAR) ### Question: What character did Moya Angela portray? ### Answer: SELECT character FROM table_22460085_1 WHERE original_broadway_performer = "Moya Angela"
Below is an context that describes a sql 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, venue VARCHAR) ### Question: Who was the away team at western oval? ### Answer: SELECT away_team FROM table_name_28 WHERE venue = "western 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_26565936_2 (written_by VARCHAR, no_in_series VARCHAR) ### Question: Who wrote episode number 109 in the series? ### Answer: SELECT written_by FROM table_26565936_2 WHERE no_in_series = 109
Below is an context that describes a sql 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 (laps INTEGER, driver VARCHAR) ### Question: How many Laps did Bob Wollek have? ### Answer: SELECT AVG(laps) FROM table_name_5 WHERE driver = "bob wollek"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14623167_1 (call_sign VARCHAR, physical VARCHAR) ### Question: Name the call sign for the 17 physical ### Answer: SELECT call_sign FROM table_14623167_1 WHERE physical = 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_22020724_1 (result VARCHAR, title_in_the_original_language VARCHAR) ### Question: What are the results for the film titled 'Joki'? ### Answer: SELECT COUNT(result) FROM table_22020724_1 WHERE title_in_the_original_language = "Joki"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_55 (wins VARCHAR, tournament VARCHAR, events VARCHAR) ### Question: How many wins were in the PGA Championship when there were more than 10 events? ### Answer: SELECT COUNT(wins) FROM table_name_55 WHERE tournament = "pga championship" 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_47 (fa_cup_apps INTEGER, league_goals VARCHAR, total_goals VARCHAR) ### Question: Which FA Cup apps has league goals of 1 with total goals less than 1? ### Answer: SELECT AVG(fa_cup_apps) FROM table_name_47 WHERE league_goals = 1 AND total_goals < 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 station (station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR); CREATE TABLE train_station (train_id VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR) ### Question: Find the names of the trains that do not pass any station located in London. ### Answer: SELECT T2.name FROM train_station AS T1 JOIN train AS T2 ON T1.train_id = T2.train_id WHERE NOT T1.station_id IN (SELECT T4.station_id FROM train_station AS T3 JOIN station AS T4 ON T3.station_id = T4.station_id WHERE t4.location = "London")
Below is an context that describes a sql 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 (score VARCHAR, country VARCHAR, place VARCHAR) ### Question: What did the United States score in the T5? ### Answer: SELECT score FROM table_name_88 WHERE country = "united states" AND place = "t5"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (country VARCHAR, left_office VARCHAR) ### Question: What is the country of the Representative that left office as incumbent? ### Answer: SELECT country FROM table_name_29 WHERE left_office = "incumbent"