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_27319183_7 (date VARCHAR, weekly_rank VARCHAR) ### Question: What date was the show's weekly ranking 12? ### Answer: SELECT date FROM table_27319183_7 WHERE weekly_rank = 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_26168687_5 (narrated_by VARCHAR, vessel_operator VARCHAR) ### Question: Name the narraed by for beluga shipping ### Answer: SELECT narrated_by FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25887826_17 (total_pts VARCHAR) ### Question: What is the largest number of 10 C points for a team with 39 total points? ### Answer: SELECT MAX(10 AS _c_pts) FROM table_25887826_17 WHERE total_pts = 39
Below is an context that describes a sql 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 (loss INTEGER, avg_g VARCHAR, gain VARCHAR) ### Question: Which Loss is the lowest one that has an Avg/G of 3.5, and a Gain smaller than 42? ### Answer: SELECT MIN(loss) FROM table_name_83 WHERE avg_g = 3.5 AND gain < 42
Below is an context that describes a sql 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 (fleet_number_s_ VARCHAR, quantity_made VARCHAR) ### Question: What fleet number had 3 made? ### Answer: SELECT fleet_number_s_ FROM table_name_42 WHERE quantity_made = "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_74 (mascot VARCHAR, previous_conference VARCHAR, location VARCHAR) ### Question: What's the mascot in Anderson for the Independent previous conference? ### Answer: SELECT mascot FROM table_name_74 WHERE previous_conference = "independent" AND location = "anderson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_85 (genre VARCHAR, artist VARCHAR) ### Question: What genre is Led Zeppelin? ### Answer: SELECT genre FROM table_name_85 WHERE artist = "led zeppelin"
Below is an context that describes a sql 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 (director VARCHAR, title VARCHAR) ### Question: Who was the Director of Kung Fu Panda 2? ### Answer: SELECT director FROM table_name_15 WHERE title = "kung fu panda 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_54 (epicenter VARCHAR, date VARCHAR) ### Question: Where was the epicenter of the quake on December 1, 2012? ### Answer: SELECT epicenter FROM table_name_54 WHERE date = "december 1, 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_name_92 (non__stop VARCHAR, plain_stop VARCHAR) ### Question: If the Plain stop is γ„·, what is the Non- stop? ### Answer: SELECT non__stop FROM table_name_92 WHERE plain_stop = "γ„·"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (title VARCHAR, rank VARCHAR, gross VARCHAR) ### Question: Which title ranked lower than 19 has a gross of $11,833,696? ### Answer: SELECT title FROM table_name_11 WHERE rank < 19 AND gross = "$11,833,696"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24037660_2 (lmpc_winning_team VARCHAR, rnd VARCHAR) ### Question: What was the winning team lmpc in rnd 3? ### Answer: SELECT lmpc_winning_team FROM table_24037660_2 WHERE rnd = 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_67 (player VARCHAR, no_s_ VARCHAR) ### Question: What player had numbers of 20 ### Answer: SELECT player FROM table_name_67 WHERE no_s_ = "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_22892217_4 (nightly_rank INTEGER) ### Question: What is the highest numbered nightly rank for any episode? ### Answer: SELECT MAX(nightly_rank) FROM table_22892217_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 ship (TYPE VARCHAR) ### Question: Show different types of ships and the number of ships of each type. ### Answer: SELECT TYPE, COUNT(*) FROM ship GROUP BY TYPE
Below is an context that describes a sql 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 (poll_source VARCHAR, dates_administered VARCHAR) ### Question: What was the poll source for october 6, 2008? ### Answer: SELECT poll_source FROM table_name_91 WHERE dates_administered = "october 6, 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_name_91 (score VARCHAR, date VARCHAR) ### Question: What was the final score for the game on May 4? ### Answer: SELECT score FROM table_name_91 WHERE date = "may 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_74 (conference VARCHAR, city VARCHAR, school VARCHAR) ### Question: Which Conference has a City of boca raton, and a School of florida atlantic university? ### Answer: SELECT conference FROM table_name_74 WHERE city = "boca raton" AND school = "florida atlantic university"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_13 (total INTEGER, all_around VARCHAR, rope VARCHAR) ### Question: What is the lowest total with an all around of 10 and a rope higher than 10? ### Answer: SELECT MIN(total) FROM table_name_13 WHERE all_around = 10 AND rope > 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_28760804_1 (title VARCHAR, directed_by VARCHAR) ### Question: What is the title of the episode Alex Reid directed? ### Answer: SELECT title FROM table_28760804_1 WHERE directed_by = "Alex Reid"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_39 (entrant VARCHAR, chassis VARCHAR) ### Question: What is the name of the Entrant that has a Chassis of lotus 25 ### Answer: SELECT entrant FROM table_name_39 WHERE chassis = "lotus 25"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (english_example VARCHAR, variant__with_niqqud__ VARCHAR) ### Question: Give me an english example of a variant with niqqud of Χ•ΦΉ? ### Answer: SELECT english_example FROM table_name_96 WHERE variant__with_niqqud__ = "Χ•ΦΉ"
Below is an context that describes a sql 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 (score VARCHAR, decision VARCHAR, home VARCHAR) ### Question: What was the score for Boston's Home game that had Gerber as the decision? ### Answer: SELECT score FROM table_name_34 WHERE decision = "gerber" AND home = "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_27 (gpu_frequency VARCHAR, release_date VARCHAR, sspec_number VARCHAR) ### Question: What is the GPU frequency for the processor released in June 2013, with a sSpec number of sr17l(c0)? ### Answer: SELECT gpu_frequency FROM table_name_27 WHERE release_date = "june 2013" AND sspec_number = "sr17l(c0)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE votes (contestant_number VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR) ### Question: What are the contestant numbers and names of the contestants who had at least two votes? ### Answer: SELECT T1.contestant_number, T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number 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_23394920_1 (power_kw VARCHAR, callsign VARCHAR) ### Question: When dxrt-tv is the callsign what is the power kw? ### Answer: SELECT power_kw FROM table_23394920_1 WHERE callsign = "DXRT-TV"
Below is an context that describes a sql 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 (position VARCHAR, overall VARCHAR, school_club_team VARCHAR) ### Question: What was Cal State-Los Angeles' position with an Overall above 22? ### Answer: SELECT position FROM table_name_77 WHERE overall > 22 AND school_club_team = "cal state-los angeles"
Below is an context that describes a sql 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 (home_team VARCHAR) ### Question: What was the score when Richmond payed as the home team? ### Answer: SELECT home_team AS score FROM table_name_83 WHERE home_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_22577693_1 (result VARCHAR, runner_up VARCHAR) ### Question: If the runner-up is [[|]] 151/8 (50.0 overs), what were the results? ### Answer: SELECT result FROM table_22577693_1 WHERE runner_up = "[[|]] 151/8 (50.0 overs)"
Below is an context that describes a sql 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 (played VARCHAR, bp VARCHAR, pts_agst VARCHAR) ### Question: B.P. of 0, and a Pts Agst smaller than 247 has how many total number of played? ### Answer: SELECT COUNT(played) FROM table_name_25 WHERE bp = 0 AND pts_agst < 247
Below is an context that describes a sql 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 (attendance INTEGER, opponent VARCHAR, loss VARCHAR) ### Question: What is the largest attendance that has tigers as the opponent and a loss of leiter (0-1)? ### Answer: SELECT MAX(attendance) FROM table_name_75 WHERE opponent = "tigers" AND loss = "leiter (0-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 record (event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (stadium_id VARCHAR, id VARCHAR) ### Question: Find the names of stadiums that the most swimmers have been to. ### Answer: SELECT t3.name FROM record AS t1 JOIN event AS t2 ON t1.event_id = t2.id JOIN stadium AS t3 ON t3.id = t2.stadium_id GROUP BY t2.stadium_id ORDER BY COUNT(*) 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_44 (team__number1 VARCHAR) ### Question: What is the 2nd leg when team #1 is Rubin Kazan? ### Answer: SELECT 2 AS nd_leg FROM table_name_44 WHERE team__number1 = "rubin kazan"
Below is an context that describes a sql 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 (year VARCHAR, remark VARCHAR) ### Question: What year was remark #104 us? ### Answer: SELECT year FROM table_name_58 WHERE remark = "#104 us"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_6 (marriage VARCHAR, ceased_to_be_consort VARCHAR) ### Question: Name the marriagefor ceased to be consort of 29 september 1898 ### Answer: SELECT marriage FROM table_name_6 WHERE ceased_to_be_consort = "29 september 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_93 (group_position VARCHAR, result_f_a VARCHAR) ### Question: Result F–A of 5–0 had what group position? ### Answer: SELECT group_position FROM table_name_93 WHERE result_f_a = "5–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_62 (venue VARCHAR, score VARCHAR) ### Question: Where was the match with a score of 18.6 (114) - 21.14 (140)? ### Answer: SELECT venue FROM table_name_62 WHERE score = "18.6 (114) - 21.14 (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_8 (score VARCHAR, opponent VARCHAR, save VARCHAR) ### Question: Which Score has a Opponent of Boston red sox and a Save of sager? ### Answer: SELECT score FROM table_name_8 WHERE opponent = "boston red sox" AND save = "sager"
Below is an context that describes a sql 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 (year INTEGER, pts VARCHAR) ### Question: What year has 54 (73) points? ### Answer: SELECT SUM(year) FROM table_name_55 WHERE pts = "54 (73)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1769428_2 (winning_driver VARCHAR, team VARCHAR, make VARCHAR) ### Question: Who was the winning driver for Hendrick Motorsports in a Chevrolet Impala SS? ### Answer: SELECT winning_driver FROM table_1769428_2 WHERE team = "Hendrick Motorsports" AND make = "Chevrolet Impala SS"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_127511_1 (ion_torrent_pgm VARCHAR, sanger_3730xl VARCHAR) ### Question: How many times was Sanger 3730xl $2400 usd? ### Answer: SELECT COUNT(ion_torrent_pgm) FROM table_127511_1 WHERE sanger_3730xl = "$2400 USD"
Below is an context that describes a sql 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 (time VARCHAR, set_3 VARCHAR) ### Question: What was the Time when Set 3 was 25–14? ### Answer: SELECT time FROM table_name_70 WHERE set_3 = "25–14"
Below is an context that describes a sql 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 (rider VARCHAR, laps VARCHAR, grid VARCHAR) ### Question: Who is the rider who did less than 20 laps on a grid number greater than 23? ### Answer: SELECT rider FROM table_name_67 WHERE laps < 20 AND grid > 23
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1358608_4 (distance VARCHAR, group VARCHAR) ### Question: What was the distance of the race in which Northerly raced in group G3? ### Answer: SELECT distance FROM table_1358608_4 WHERE group = "G3"
Below is an context that describes a sql 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 (year INTEGER, team VARCHAR, score VARCHAR) ### Question: What year did the Capital City Giants have a game with the final score of 8-0? ### Answer: SELECT AVG(year) FROM table_name_54 WHERE team = "capital city giants" AND score = "8-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_93 (week INTEGER, opponent VARCHAR, attendance VARCHAR) ### Question: What is the highest Week when the opponent was the los angeles rams, with more than 37,382 in Attendance? ### Answer: SELECT MAX(week) FROM table_name_93 WHERE opponent = "los angeles rams" AND attendance > 37 OFFSET 382
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1354805_3 (total VARCHAR, number_of_dances VARCHAR, competition_finish VARCHAR) ### Question: What is the Number of dances is 11 and competition finish is larger than 2.0 total ### Answer: SELECT total FROM table_1354805_3 WHERE number_of_dances = 11 AND competition_finish > 2.0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_97 (source VARCHAR, moving_from VARCHAR) ### Question: What is the source of the move from Port Vale? ### Answer: SELECT source FROM table_name_97 WHERE moving_from = "port vale"
Below is an context that describes a sql 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 (ungegn VARCHAR, khmer VARCHAR) ### Question: what's the ungegn for the ៑០០ khmer? ### Answer: SELECT ungegn FROM table_name_23 WHERE khmer = "៑០០"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE pilot (Pilot_ID VARCHAR, Age INTEGER); CREATE TABLE aircraft (Fleet_Series VARCHAR, Aircraft_ID VARCHAR) ### Question: Show the fleet series of the aircrafts flied by pilots younger than 34 ### Answer: SELECT T2.Fleet_Series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID = T3.Pilot_ID WHERE T3.Age < 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_21994729_2 (written_by VARCHAR, prod_code VARCHAR) ### Question: Who wore the episode with the production code of 1apx11? ### Answer: SELECT written_by FROM table_21994729_2 WHERE prod_code = "1APX11"
Below is an context that describes a sql 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 (points INTEGER, engine VARCHAR, year VARCHAR) ### Question: What is the average points of a Cosworth v8 engine in 1973. ### Answer: SELECT AVG(points) FROM table_name_23 WHERE engine = "cosworth v8" AND year = 1973
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (game INTEGER, location_attendance VARCHAR, score VARCHAR) ### Question: What is the smallest game had a location of Madison Square Garden with a score of 109-99? ### Answer: SELECT MIN(game) FROM table_name_3 WHERE location_attendance = "madison square garden" AND score = "109-99"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22384475_1 (team__a_ VARCHAR, margin VARCHAR) ### Question: How many games were won by a margin of 131 runs? ### Answer: SELECT COUNT(team__a_) FROM table_22384475_1 WHERE margin = "131 runs"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13762472_3 (high_points VARCHAR, game VARCHAR) ### Question: How many players scored the most points on game 4? ### Answer: SELECT COUNT(high_points) FROM table_13762472_3 WHERE game = 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_29 (venue VARCHAR, competition VARCHAR, date VARCHAR) ### Question: What venue did the 2000 tiger cup take place at on November 10, 2000? ### Answer: SELECT venue FROM table_name_29 WHERE competition = "2000 tiger cup" AND date = "november 10, 2000"
Below is an context that describes a sql 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 (height VARCHAR, city VARCHAR, name VARCHAR) ### Question: What is the height of the EMC Insurance Building in Des Moines? ### Answer: SELECT height FROM table_name_25 WHERE city = "des moines" AND name = "emc insurance 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_93 (format VARCHAR, region VARCHAR) ### Question: Which Format is listed that has a Region of China? ### Answer: SELECT format FROM table_name_93 WHERE region = "china"
Below is an context that describes a sql 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 (pick INTEGER, name VARCHAR, overall VARCHAR) ### Question: What is the sum of the pick of darryl pounds, who has an overall greater than 68? ### Answer: SELECT SUM(pick) FROM table_name_94 WHERE name = "darryl pounds" AND overall > 68
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27703902_9 (high_points VARCHAR, game VARCHAR) ### Question: Who had the high points in game is 81? ### Answer: SELECT high_points FROM table_27703902_9 WHERE game = 81
Below is an context that describes a sql 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 (top_10 INTEGER, avg_start VARCHAR) ### Question: How many times did the team with an average start of 18.9 make the top 10? ### Answer: SELECT SUM(top_10) FROM table_name_82 WHERE avg_start = 18.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_2668378_18 (first_elected VARCHAR, incumbent VARCHAR) ### Question: When was someone first elected in the district with incumbent john smith? ### Answer: SELECT first_elected FROM table_2668378_18 WHERE incumbent = "John Smith"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14847258_1 (written_by VARCHAR, directed_by VARCHAR) ### Question: When steve gomer is the director who is the writer? ### Answer: SELECT written_by FROM table_14847258_1 WHERE directed_by = "Steve Gomer"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: what is 1958 when 1957 is 2 and 1956 is 3? ### Answer: SELECT 1958 FROM table_name_67 WHERE 1957 = "2" AND 1956 = "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 club (club_id VARCHAR, club_name VARCHAR); CREATE TABLE coach (club_id VARCHAR) ### Question: How many coaches does each club has? List the club id, name and the number of coaches. ### Answer: SELECT T1.club_id, T1.club_name, COUNT(*) FROM club AS T1 JOIN coach AS T2 ON T1.club_id = T2.club_id GROUP BY T1.club_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 club (name VARCHAR) ### Question: List all club names in descending alphabetical order. ### Answer: SELECT name FROM club ORDER BY name DESC
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23851574_2 (name VARCHAR, nationality_sponsors VARCHAR) ### Question: Which telescopes were sponsored by or originated in Belgium? ### Answer: SELECT name FROM table_23851574_2 WHERE nationality_sponsors = "Belgium"
Below is an context that describes a sql 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 (series VARCHAR, released_by VARCHAR, release_date VARCHAR) ### Question: WHAT SERIES WAS RELEASED BY ITV STUDIOS AND A RELEASE DATE OF AUGUST 15, 2012? ### Answer: SELECT series FROM table_name_47 WHERE released_by = "itv studios" AND release_date = "august 15, 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_16388478_4 (home_team VARCHAR, away_team VARCHAR) ### Question: Who was the home team when the away team is Carlton? ### Answer: SELECT home_team FROM table_16388478_4 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_99 (location VARCHAR, ref_number VARCHAR) ### Question: What is the location of the mill with a reference number of 44? ### Answer: SELECT location FROM table_name_99 WHERE ref_number = 44
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11603006_1 (location VARCHAR, score VARCHAR) ### Question: How many different locations have the score 207 (-10)? ### Answer: SELECT COUNT(location) FROM table_11603006_1 WHERE score = "207 (-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_79 (school_club_team VARCHAR, season VARCHAR) ### Question: What is School/Club Team, when Season is 2006-2012? ### Answer: SELECT school_club_team FROM table_name_79 WHERE season = "2006-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_name_91 (stadium VARCHAR, opposition VARCHAR) ### Question: Which stadium had the opposition of 79,122? ### Answer: SELECT stadium FROM table_name_91 WHERE opposition = "79,122"
Below is an context that describes a sql 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 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR) ### Question: Who was the opponents in the final on January 5, 2003, on a hard surface? ### Answer: SELECT opponents_in_the_final FROM table_name_19 WHERE surface = "hard" AND date = "january 5, 2003"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (laps VARCHAR, manufacturer VARCHAR, rider VARCHAR) ### Question: How many laps did Valentino rossi have when riding a vehicle manufactured by yamaha? ### Answer: SELECT laps FROM table_name_77 WHERE manufacturer = "yamaha" AND rider = "valentino rossi"
Below is an context that describes 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 (screen_mode VARCHAR, Accreditation_type VARCHAR); CREATE TABLE screen_mode (pixels VARCHAR, Graphics_mode VARCHAR) ### Question: Find the pixels of the screen modes that are used by both phones with full accreditation types and phones with Provisional accreditation types. ### Answer: SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode = t2.screen_mode WHERE t2.Accreditation_type = 'Provisional' INTERSECT SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode = t2.screen_mode WHERE t2.Accreditation_type = 'Full'
Below is an context that describes a sql 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 (nhl_team VARCHAR, player VARCHAR) ### Question: Tell me the NHL team for mike gaffney ### Answer: SELECT nhl_team FROM table_name_53 WHERE player = "mike gaffney"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (score VARCHAR, venue VARCHAR) ### Question: What is the score at shay stadium? ### Answer: SELECT score FROM table_name_96 WHERE venue = "shay stadium"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (opponent_in_the_final VARCHAR, date VARCHAR) ### Question: Who was the opponent in the final on 5 July 1992? ### Answer: SELECT opponent_in_the_final FROM table_name_46 WHERE date = "5 july 1992"
Below is an context that describes a sql 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 (enrollment VARCHAR, established INTEGER) ### Question: What is the enrollment of the university established in or after 2011? ### Answer: SELECT enrollment FROM table_name_68 WHERE established > 2011
Below is an context that describes a sql 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 (home VARCHAR, date VARCHAR) ### Question: What is the home team of the game on January 22? ### Answer: SELECT home FROM table_name_67 WHERE date = "january 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_10568553_1 (street_names VARCHAR, milepost VARCHAR) ### Question: Which street is 12.2 miles long? ### Answer: SELECT street_names FROM table_10568553_1 WHERE milepost = "12.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_99 (opponent VARCHAR, date VARCHAR) ### Question: Name the opponent for august 26 ### Answer: SELECT opponent FROM table_name_99 WHERE date = "august 26"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27700530_10 (record VARCHAR, high_points VARCHAR) ### Question: What is the record when jameer nelson (19) had the high points? ### Answer: SELECT record FROM table_27700530_10 WHERE high_points = "Jameer Nelson (19)"
Below is an context that describes a sql 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 (to_par VARCHAR, country VARCHAR, place VARCHAR) ### Question: What is the to par of the player from the United States with a t5 place? ### Answer: SELECT to_par FROM table_name_38 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_96 (notes VARCHAR, year VARCHAR) ### Question: What events did the competition that took place in 1997 have? ### Answer: SELECT notes FROM table_name_96 WHERE year = 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_17 (took_office VARCHAR, senator VARCHAR) ### Question: What year did Senator Ken Armbrister take office? ### Answer: SELECT took_office FROM table_name_17 WHERE senator = "ken armbrister"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17118657_8 (game INTEGER, record VARCHAR) ### Question: What number was the game resulting in a 5-11 record? ### Answer: SELECT MIN(game) FROM table_17118657_8 WHERE record = "5-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_35 (driver VARCHAR, points VARCHAR) ### Question: What is the name of the driver with 6 points? ### Answer: SELECT driver FROM table_name_35 WHERE points = 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_97 (rank INTEGER, location VARCHAR, fastest_time__s_ VARCHAR) ### Question: what is the highest rank in dresden with a time faster than 10.88? ### Answer: SELECT MAX(rank) FROM table_name_97 WHERE location = "dresden" AND fastest_time__s_ < 10.88
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2781227_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR) ### Question: What college team did the pick for Pittsburgh Penguins come from? ### Answer: SELECT college_junior_club_team FROM table_2781227_7 WHERE nhl_team = "Pittsburgh Penguins"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE problem_log (problem_log_id VARCHAR, problem_id VARCHAR, log_entry_date VARCHAR) ### Question: What is the oldest log id and its corresponding problem id? ### Answer: SELECT problem_log_id, problem_id FROM problem_log ORDER BY log_entry_date 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_87 (venue VARCHAR, home_team VARCHAR) ### Question: If essendon is the home team, what venue did they play at? ### Answer: SELECT venue FROM table_name_87 WHERE home_team = "essendon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_81 (season VARCHAR, event_type VARCHAR, location VARCHAR) ### Question: In what season did he compete in the Grand Prix in Kuala Lumpur? ### Answer: SELECT season FROM table_name_81 WHERE event_type = "grand prix" AND location = "kuala lumpur"
Below is an context that describes a sql 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 (score VARCHAR, tie_no VARCHAR) ### Question: What is the score when the tie number is 4? ### Answer: SELECT score FROM table_name_47 WHERE tie_no = "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_45 (away_team VARCHAR) ### Question: What was Footscray's score as an away team? ### Answer: SELECT away_team AS score FROM table_name_45 WHERE away_team = "footscray"
Below is an context that describes a sql 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 (against INTEGER, position INTEGER) ### Question: What is the mean number of against when the position is less than 1? ### Answer: SELECT AVG(against) FROM table_name_92 WHERE position < 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_1 (driver VARCHAR, team VARCHAR) ### Question: Who is the Driver with the Team of P & L Mechanical Services? ### Answer: SELECT driver FROM table_name_1 WHERE team = "p & l mechanical services"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341663_11 (result VARCHAR, incumbent VARCHAR) ### Question: In the race involving Billy Lee Evans as the seated Representative, was he elected again? ### Answer: SELECT result FROM table_1341663_11 WHERE incumbent = "Billy Lee Evans"
Below is an context that describes a sql 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 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR) ### Question: What tournament took place after 1986 and had a final score of 7–6, 3–6, 6–2? ### Answer: SELECT tournament FROM table_name_26 WHERE date > 1986 AND score_in_the_final = "7–6, 3–6, 6–2"