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_4 (country VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR) ### Question: Which Country has a Score smaller than 70, and a Place of t3, and a Player of andrés romero? ### Answer: SELECT country FROM table_name_4 WHERE score < 70 AND place = "t3" AND player = "andrés romero"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Fault_Log (fault_description VARCHAR, fault_log_entry_id VARCHAR); CREATE TABLE Fault_Log_Parts (fault_status VARCHAR, fault_log_entry_id VARCHAR) ### Question: What are all the fault descriptions and the fault status of all the faults recoreded in the logs? ### Answer: SELECT T1.fault_description, T2.fault_status FROM Fault_Log AS T1 JOIN Fault_Log_Parts AS T2 ON T1.fault_log_entry_id = T2.fault_log_entry_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_64 (home_team VARCHAR, venue VARCHAR) ### Question: Which Home team has a Venue of arden street oval? ### Answer: SELECT home_team FROM table_name_64 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_26 (player VARCHAR, position VARCHAR) ### Question: What player plays the position of small forward? ### Answer: SELECT player FROM table_name_26 WHERE position = "small forward"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22903773_2 (opp_points INTEGER, location VARCHAR) ### Question: How many points did the opponents score at the game in Knoxville? ### Answer: SELECT MIN(opp_points) FROM table_22903773_2 WHERE location = "Knoxville"
Below is an context that describes a sql 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 (score VARCHAR, year VARCHAR, champion VARCHAR) ### Question: What was the score when stefan edberg won after 1978? ### Answer: SELECT score FROM table_name_68 WHERE year > 1978 AND champion = "stefan edberg"
Below is an context that describes a sql 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 (winning_score VARCHAR, date VARCHAR) ### Question: What was the winning score on 7 jun 1976? ### Answer: SELECT winning_score FROM table_name_4 WHERE date = "7 jun 1976"
Below is an context that describes a sql 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 (silver INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR) ### Question: Which Silver is the lowest one that has a Gold larger than 0, and a Rank of total, and a Bronze smaller than 32? ### Answer: SELECT MIN(silver) FROM table_name_70 WHERE gold > 0 AND rank = "total" 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_name_98 (date VARCHAR, winning_score VARCHAR) ### Question: When has a Winning score of –16 (70-65-65=200)? ### Answer: SELECT date FROM table_name_98 WHERE winning_score = –16(70 - 65 - 65 = 200)
Below is an context that describes a sql 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 (opponent VARCHAR, game VARCHAR) ### Question: Who is the opponent of game 75? ### Answer: SELECT opponent FROM table_name_44 WHERE game = 75
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (nationality VARCHAR, former_team VARCHAR) ### Question: Which Nationality has a Former Team of denver nuggets? ### Answer: SELECT nationality FROM table_name_54 WHERE former_team = "denver nuggets"
Below is an context that describes a sql 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 (opponent VARCHAR, attendance VARCHAR) ### Question: Who did the argonauts play against during the game that had 19,423 fans in attendance? ### Answer: SELECT opponent FROM table_name_45 WHERE attendance = "19,423"
Below is an context that describes a sql 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 (away_team VARCHAR, tie_no VARCHAR) ### Question: What is the name of the away team with a Tie no of 7? ### Answer: SELECT away_team FROM table_name_40 WHERE tie_no = "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_31 (competition VARCHAR, opponent VARCHAR, venue VARCHAR) ### Question: Which competition had an opponent of Police at the Selayang Stadium? ### Answer: SELECT competition FROM table_name_31 WHERE opponent = "police" AND venue = "selayang stadium"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20170644_5 (position VARCHAR, cfl_team VARCHAR) ### Question: What position(s) drafted by the montreal alouettes? ### Answer: SELECT position FROM table_20170644_5 WHERE cfl_team = "Montreal Alouettes"
Below is an context that describes a sql 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 (lost VARCHAR, against VARCHAR, drawn VARCHAR, points VARCHAR) ### Question: How much Lost has a Drawn larger than 1, and Points smaller than 14, and an Against larger than 10? ### Answer: SELECT COUNT(lost) FROM table_name_61 WHERE drawn > 1 AND points < 14 AND against > 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_49 (decile VARCHAR, roll VARCHAR, authority VARCHAR, area VARCHAR) ### Question: What is the total Decile that has a state authority, fairlie area and roll smarter than 206? ### Answer: SELECT COUNT(decile) FROM table_name_49 WHERE authority = "state" AND area = "fairlie" AND roll < 206
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26842217_8 (time VARCHAR, visiting_team VARCHAR) ### Question: If the visiting team is Clemson, when was the time? ### Answer: SELECT time FROM table_26842217_8 WHERE visiting_team = "Clemson"
Below is an context that describes a sql 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 (year INTEGER, album VARCHAR) ### Question: Album of les mots had what lowest year? ### Answer: SELECT MIN(year) FROM table_name_18 WHERE album = "les mots"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23286112_7 (location_attendance VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR) ### Question: What location attendance has russell westbrook (5) as high assists and nenad krstic (8) as high rebounds? ### Answer: SELECT location_attendance FROM table_23286112_7 WHERE high_assists = "Russell Westbrook (5)" AND high_rebounds = "Nenad Krstic (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_23 (callsign VARCHAR, power__kw_ VARCHAR, branding VARCHAR) ### Question: What is the callsign of the 5kW Sonshine Radio Cotabato? ### Answer: SELECT callsign FROM table_name_23 WHERE power__kw_ = "5kw" AND branding = "sonshine radio cotabato"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12275654_1 (mens_doubles VARCHAR, mens_singles VARCHAR) ### Question: Who won the men's double when Chou Tien-Chen won the men's single? ### Answer: SELECT mens_doubles FROM table_12275654_1 WHERE mens_singles = "Chou Tien-chen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12043148_2 (premier_two VARCHAR, gloucestershire VARCHAR) ### Question: who many times is gloucestershire is painswick? ### Answer: SELECT COUNT(premier_two) FROM table_12043148_2 WHERE gloucestershire = "Painswick"
Below is an context that describes a sql 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 (year INTEGER, points INTEGER) ### Question: Which year did the team receive more than 0 points? ### Answer: SELECT AVG(year) FROM table_name_65 WHERE points > 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_22822559_4 (date VARCHAR, team VARCHAR) ### Question: On what date did the Pistons play @ toronto? ### Answer: SELECT date FROM table_22822559_4 WHERE team = "@ Toronto"
Below is an context that describes a 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_7 (no VARCHAR, player VARCHAR) ### Question: What is every number when the player is Aigars Vitols? ### Answer: SELECT no FROM table_23670057_7 WHERE player = "Aigars Vitols"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE roller_coaster (Name VARCHAR, LENGTH VARCHAR) ### Question: List the names of roller coasters by ascending order of length. ### Answer: SELECT Name FROM roller_coaster ORDER BY LENGTH
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR) ### Question: What place was Mark Carnevale in? ### Answer: SELECT place FROM table_name_32 WHERE player = "mark carnevale"
Below is an context that describes a sql 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 (year_s__of_manufacture VARCHAR, quantity VARCHAR, type VARCHAR) ### Question: Which Year(s) of manufacture has a Quantity of 2, and a Type of b n2t? ### Answer: SELECT year_s__of_manufacture FROM table_name_13 WHERE quantity = 2 AND type = "b n2t"
Below is an context that describes a sql 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 (result VARCHAR, first_elected VARCHAR) ### Question: When someone was first elected in 1898 what was the result? ### Answer: SELECT result FROM table_name_53 WHERE first_elected = "1898"
Below is an context that describes a sql 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 VARCHAR, goal VARCHAR) ### Question: What is the score of the game with 4 goals? ### Answer: SELECT score FROM table_name_46 WHERE goal = 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_38 (year VARCHAR, laps INTEGER) ### Question: In what year were there more laps than 200 in a race? ### Answer: SELECT year FROM table_name_38 WHERE laps > 200
Below is an context that describes a sql 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 (bronze VARCHAR, notes VARCHAR) ### Question: What is Bronze, when Notes is "6.7km, 22controls"? ### Answer: SELECT bronze FROM table_name_2 WHERE notes = "6.7km, 22controls"
Below is an context that describes a sql 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 (drawn VARCHAR, against VARCHAR, lost VARCHAR, points VARCHAR, position VARCHAR) ### Question: Which Drawn has Points smaller than 46, and a Position smaller than 20, and a Lost smaller than 19, and an Against of 56? ### Answer: SELECT drawn FROM table_name_7 WHERE points < 46 AND position < 20 AND lost < 19 AND against = 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_name_13 (location VARCHAR, winning_skip VARCHAR) ### Question: What location did Sherry Middaugh win in? ### Answer: SELECT location FROM table_name_13 WHERE winning_skip = "sherry middaugh"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_81 (venue VARCHAR, result VARCHAR) ### Question: Where was the game with the result of 22-20 played? ### Answer: SELECT venue FROM table_name_81 WHERE result = "22-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_28215780_4 (title VARCHAR, written_by VARCHAR) ### Question: What is the title(s) of episodes written by aron eli coleite? ### Answer: SELECT title FROM table_28215780_4 WHERE written_by = "Aron Eli Coleite"
Below is an context that describes a sql 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 (finalist VARCHAR, tournament VARCHAR) ### Question: Who was the finalist in the Monte Carlo Tournament? ### Answer: SELECT finalist FROM table_name_91 WHERE tournament = "monte carlo"
Below is an context that describes a sql 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 (goals VARCHAR, points VARCHAR) ### Question: How many goals were scored when 158 points were collected? ### Answer: SELECT goals FROM table_name_45 WHERE points = "158"
Below is an context that describes a sql 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 (visitor VARCHAR, home VARCHAR, date VARCHAR) ### Question: Who was the Visitor when the Home team was Anaheim on the Date of April 12? ### Answer: SELECT visitor FROM table_name_49 WHERE home = "anaheim" AND date = "april 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 table_name_1 (outcome VARCHAR, championship VARCHAR, year VARCHAR) ### Question: What was Shaun Murphy's outcome in the Premier League Snooker championship held before 2010? ### Answer: SELECT outcome FROM table_name_1 WHERE championship = "premier league snooker" AND year < 2010
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2889810_1 (motogp_500cc INTEGER) ### Question: What is the minimum MotoGP/500cc ranking? ### Answer: SELECT MIN(motogp_500cc) FROM table_2889810_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_4 (college_junior_club_team__league_ VARCHAR, round VARCHAR) ### Question: What college/junior/club team had a player selected in round 6? ### Answer: SELECT college_junior_club_team__league_ FROM table_name_4 WHERE round = 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_25341765_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) ### Question: Who directed the episode that had 5.92 million viewers? ### Answer: SELECT directed_by FROM table_25341765_1 WHERE us_viewers__million_ = "5.92"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2886617_5 (college_junior_club_team VARCHAR, nhl_team VARCHAR) ### Question: How may college/junior/club team has a the nhl team listed as Colorado Avalanche? ### Answer: SELECT COUNT(college_junior_club_team) FROM table_2886617_5 WHERE nhl_team = "Colorado Avalanche"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27723526_12 (high_assists VARCHAR, score VARCHAR) ### Question: Name the high assists for l 103–104 (ot) ### Answer: SELECT high_assists FROM table_27723526_12 WHERE score = "L 103–104 (OT)"
Below is an context that describes a sql 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 (color_commentator_s_ VARCHAR, year VARCHAR, network VARCHAR) ### Question: Who were the collor commentator(s) for ESPN before 2012? ### Answer: SELECT color_commentator_s_ FROM table_name_53 WHERE year < 2012 AND network = "espn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE VISITS (Visit_Date VARCHAR) ### Question: What are the distinct visit dates? ### Answer: SELECT DISTINCT Visit_Date FROM VISITS
Below is an context that describes a sql 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 (system VARCHAR, license VARCHAR, name VARCHAR) ### Question: Which System's Name is Steem, and has a Freeware License? ### Answer: SELECT system FROM table_name_76 WHERE license = "freeware" AND name = "steem"
Below is an context that describes a sql 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 (title VARCHAR, label VARCHAR, standard_number VARCHAR) ### Question: What Title has the Label of Columbia and Standard number of CODC-8760? ### Answer: SELECT title FROM table_name_27 WHERE label = "columbia" AND standard_number = "codc-8760"
Below is an context that describes a sql 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 (event_4 VARCHAR, event_3 VARCHAR, event_1 VARCHAR, event_2 VARCHAR) ### Question: What is event 4 when event one was gauntlet, event 2 was duel, and event 3 was pendulum? ### Answer: SELECT event_4 FROM table_name_10 WHERE event_1 = "gauntlet" AND event_2 = "duel" AND event_3 = "pendulum"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29486189_4 (representative VARCHAR, residence VARCHAR) ### Question: which representative is from willowick ### Answer: SELECT representative FROM table_29486189_4 WHERE residence = "Willowick"
Below is an context that describes a sql 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 (postcodedistrict VARCHAR, location VARCHAR) ### Question: What is the name of the Post code district that is in Eden Park? ### Answer: SELECT postcodedistrict FROM table_name_76 WHERE location = "eden park"
Below is an context that describes a sql 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 (award VARCHAR, year INTEGER) ### Question: What award did they win before 2005? ### Answer: SELECT award FROM table_name_62 WHERE year < 2005
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13258876_2 (opponent VARCHAR, attendance VARCHAR) ### Question: Who did the Seahawks play when the listed attendance was 61615? ### Answer: SELECT opponent FROM table_13258876_2 WHERE attendance = 61615
Below is an context that describes a sql 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, date VARCHAR) ### Question: What is the record on April 3? ### Answer: SELECT record FROM table_name_86 WHERE date = "april 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 (latin VARCHAR, english VARCHAR) ### Question: What is the Latin word for the English word bone? ### Answer: SELECT latin FROM table_name_33 WHERE english = "bone"
Below is an context that describes a sql 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 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR) ### Question: What nationality is Northwood School (N.Y.)? ### Answer: SELECT nationality FROM table_name_44 WHERE college_junior_club_team__league_ = "northwood school (n.y.)"
Below is an context that describes a sql 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 (reference VARCHAR, romaji_title VARCHAR) ### Question: What is the reference for the romani title da.i.su.ki? ### Answer: SELECT reference FROM table_name_4 WHERE romaji_title = "da.i.su.ki"
Below is an context that describes a sql 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 (interview VARCHAR, preliminary_average VARCHAR) ### Question: what is the interview score when the preliminary average is 8.529 (6)? ### Answer: SELECT interview FROM table_name_53 WHERE preliminary_average = "8.529 (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_33 (tyres VARCHAR, year VARCHAR, engine VARCHAR) ### Question: What is the tyres with a year earlier than 1961 for a climax l4 engine? ### Answer: SELECT tyres FROM table_name_33 WHERE year < 1961 AND engine = "climax l4"
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: What was the record on the date of september 15, 1968? ### Answer: SELECT record FROM table_name_89 WHERE date = "september 15, 1968"
Below is an context that describes a sql 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 (opponent VARCHAR, save VARCHAR) ### Question: Who is the opponent with a save of ||33,453||36–27? ### Answer: SELECT opponent FROM table_name_39 WHERE save = "||33,453||36–27"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10725629_2 (rnd VARCHAR, date VARCHAR) ### Question: Which rounds were held on August 9? ### Answer: SELECT rnd FROM table_10725629_2 WHERE date = "August 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_23 (city VARCHAR, date VARCHAR) ### Question: Which City has a Date of may 19, 1976? ### Answer: SELECT city FROM table_name_23 WHERE date = "may 19, 1976"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2618142_1 (no_in_series INTEGER) ### Question: the first episode in this season had what number in the series? ### Answer: SELECT MIN(no_in_series) FROM table_2618142_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_14977592_1 (result VARCHAR, date VARCHAR) ### Question: Name the result for november 14, 1965 ### Answer: SELECT result FROM table_14977592_1 WHERE date = "November 14, 1965"
Below is an context that describes a sql 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 (season INTEGER, last_aired VARCHAR) ### Question: Of the series that last aired August 20, 2010, what is the lowest number of seasons? ### Answer: SELECT MIN(season) FROM table_name_42 WHERE last_aired = "august 20, 2010"
Below is an context that describes a sql 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 (date VARCHAR, circuit VARCHAR) ### Question: What was the date of the Circuit of Indianapolis? ### Answer: SELECT date FROM table_name_83 WHERE circuit = "indianapolis"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR) ### Question: What was the score on 3 may 2009? ### Answer: SELECT score FROM table_name_82 WHERE date = "3 may 2009"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1681535_1 (release_date VARCHAR, notes VARCHAR) ### Question: What is the release date of the bonus interview with Peter Purves? ### Answer: SELECT release_date FROM table_1681535_1 WHERE notes = "Bonus interview with Peter Purves"
Below is an context that describes a 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_23 (party VARCHAR, incumbent VARCHAR) ### Question: What party does jim ramstad represent? ### Answer: SELECT party FROM table_1341423_23 WHERE incumbent = "Jim Ramstad"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28348757_6 (written_by VARCHAR, production_code VARCHAR) ### Question: Who wrote the episode with the code xle05012? ### Answer: SELECT written_by FROM table_28348757_6 WHERE production_code = "XLE05012"
Below is an context that describes a sql 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 (time VARCHAR, lane VARCHAR, name VARCHAR) ### Question: When is the lane less than 5 and is named ágnes kovács? ### Answer: SELECT time FROM table_name_65 WHERE lane < 5 AND name = "ágnes kovács"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) ### Question: Median household income of $40,340, and a Number of households smaller than 64,767 is what average population? ### Answer: SELECT AVG(population) FROM table_name_54 WHERE median_household_income = "$40,340" AND number_of_households < 64 OFFSET 767
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16494599_1 (no VARCHAR, years_for_grizzlies VARCHAR) ### Question: How may players played for the Grizzlies from 2000-2002? ### Answer: SELECT COUNT(no) FROM table_16494599_1 WHERE years_for_grizzlies = "2000-2002"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_97 (country VARCHAR, score VARCHAR) ### Question: What country scored 71-69=140? ### Answer: SELECT country FROM table_name_97 WHERE score = 71 - 69 = 140
Below is an context that describes a sql 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 (goal_difference VARCHAR, goals_for VARCHAR, position VARCHAR) ### Question: What is the total of the goal difference entries for entries with fewer than 49 goals and position smaller than 8? ### Answer: SELECT COUNT(goal_difference) FROM table_name_9 WHERE goals_for < 49 AND position < 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_41 (total VARCHAR, place VARCHAR, season VARCHAR) ### Question: What is the total for 3rd place on season 9? ### Answer: SELECT total FROM table_name_41 WHERE place = "3rd" AND season = "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_180802_2 (english_name VARCHAR, abbr VARCHAR) ### Question: What's the English name for the month with พ.ย. abbreviation? ### Answer: SELECT english_name FROM table_180802_2 WHERE abbr = "พ.ย."
Below is an context that describes a sql 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 (glyph INTEGER, hexadecimal VARCHAR, binary VARCHAR) ### Question: What is the sum of the glyph with a 38 hexadecimal and a binary less than 111000? ### Answer: SELECT SUM(glyph) FROM table_name_4 WHERE hexadecimal = 38 AND binary < 111000
Below is an context that describes a sql 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 (draws INTEGER, season VARCHAR, wins VARCHAR) ### Question: What is the highest Draws for a season later than 1926 with less than 0 wins? ### Answer: SELECT MAX(draws) FROM table_name_63 WHERE season > 1926 AND wins < 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_23 (city VARCHAR, tickets_available_since VARCHAR, date VARCHAR) ### Question: What city had tickets available since March 28, 2008 and went on sale on September 4, 2009? ### Answer: SELECT city FROM table_name_23 WHERE tickets_available_since = "march 28, 2008" AND date = "september 4, 2009"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (surface VARCHAR, date VARCHAR) ### Question: What surface was the April 24, 2003 match played on? ### Answer: SELECT surface FROM table_name_88 WHERE date = "april 24, 2003"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR) ### Question: When victoria coren and rhod gilbert are both on the lees team what is the score? ### Answer: SELECT scores FROM table_23575917_6 WHERE lees_team = "Victoria Coren and Rhod Gilbert"
Below is an context that describes a sql 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 (length VARCHAR, year VARCHAR, make_ VARCHAR, _model VARCHAR) ### Question: What is the lenth of a 2003 Make & Model of nabi 35-lfw? ### Answer: SELECT length FROM table_name_52 WHERE year = "2003" AND make_ & _model = "nabi 35-lfw"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (date VARCHAR, away_team VARCHAR) ### Question: What date was the away team Morecambe? ### Answer: SELECT date FROM table_name_78 WHERE away_team = "morecambe"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_20 (position VARCHAR, played VARCHAR, points VARCHAR, lost VARCHAR) ### Question: What is the total number of positions having points over 2, more than 4 losses, and under 10 matches played? ### Answer: SELECT COUNT(position) FROM table_name_20 WHERE points > 2 AND lost > 4 AND played < 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_87 (telugu_తెలుగు VARCHAR, kannada_ಕನ್ನಡ VARCHAR) ### Question: Which Telugu తెలుగు has a Kannada ಕನ್ನಡ of chitra ಚಿತ್ತ? ### Answer: SELECT telugu_తెలుగు FROM table_name_87 WHERE kannada_ಕನ್ನಡ = "chitra ಚಿತ್ತ"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE university (founded VARCHAR, enrollment VARCHAR) ### Question: When was the school with the largest enrollment founded? ### Answer: SELECT founded FROM university ORDER BY enrollment DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_69 (music___director VARCHAR, co___singer VARCHAR, film VARCHAR) ### Question: Who is the music-director for the song from the film khaleja who had a co-singer of hemachandra? ### Answer: SELECT music___director FROM table_name_69 WHERE co___singer = "hemachandra" AND film = "khaleja"
Below is an context that describes 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 (region_id VARCHAR) ### Question: How many regions are affected? ### Answer: SELECT COUNT(DISTINCT region_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_67 (name VARCHAR, round VARCHAR) ### Question: Round of 9 involved what name? ### Answer: SELECT name FROM table_name_67 WHERE round = 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_19860361_4 (huckleberry_hound VARCHAR, air_date VARCHAR) ### Question: How many Huckleberry Hound episodes were aired on 1960.09.18? ### Answer: SELECT COUNT(huckleberry_hound) FROM table_19860361_4 WHERE air_date = "1960.09.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_1160660_1 (official_registration_notes VARCHAR, website VARCHAR) ### Question: Are there registration notes on usek.edu.lb? ### Answer: SELECT official_registration_notes FROM table_1160660_1 WHERE website = "usek.edu.lb"
Below is an context that describes a 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_36 (district VARCHAR, incumbent VARCHAR) ### Question: where is the district where the incumbent is del latta? ### Answer: SELECT district FROM table_1341598_36 WHERE incumbent = "Del Latta"
Below is an context that describes a sql 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 (tail_code VARCHAR, weapon_systems_officer VARCHAR) ### Question: Which Tail Code belongs to Weapon Systems Officer Capt Charles B. Debellevue? ### Answer: SELECT tail_code FROM table_name_29 WHERE weapon_systems_officer = "capt charles b. debellevue"
Below is an context that describes a sql 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 (scored INTEGER, losses VARCHAR, draws VARCHAR, team VARCHAR) ### Question: What is the averaged scored number of team guaraní, which has less than 6 draws and less than 5 losses? ### Answer: SELECT AVG(scored) FROM table_name_30 WHERE draws < 6 AND team = "guaraní" AND losses < 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 phone (Carrier VARCHAR, Memory_in_G INTEGER) ### Question: Show the carriers that have both phones with memory smaller than 32 and phones with memory bigger than 64. ### Answer: SELECT Carrier FROM phone WHERE Memory_in_G < 32 INTERSECT SELECT Carrier FROM phone WHERE Memory_in_G > 64
Below is an context that describes a sql 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, game VARCHAR) ### Question: what is the year for the game dead space 2? ### Answer: SELECT year FROM table_name_53 WHERE game = "dead space 2"