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_83 (area VARCHAR, _percentage_other VARCHAR, _percentage_muslim VARCHAR) ### Question: What area has a % Other of –, and a % Muslim of 95%? ### Answer: SELECT area FROM table_name_83 WHERE _percentage_other = "–" AND _percentage_muslim = "95%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE city (Status VARCHAR) ### Question: List the most common type of Status across cities. ### Answer: SELECT Status FROM city GROUP BY Status 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_2668401_12 (party VARCHAR, district VARCHAR) ### Question: What are the parties listed for Pennsylvania 8? ### Answer: SELECT party FROM table_2668401_12 WHERE district = "Pennsylvania 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_26351260_1 (team_nickname VARCHAR, institution VARCHAR) ### Question: What is Kent State University's team nickname? ### Answer: SELECT team_nickname FROM table_26351260_1 WHERE institution = "Kent State 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_23 (round VARCHAR, player VARCHAR) ### Question: WHAT IS THE ROUND FOR JAMIE ARNIEL? ### Answer: SELECT COUNT(round) FROM table_name_23 WHERE player = "jamie arniel"
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR) ### Question: Who is the away team that goes against Team Zambia? ### Answer: SELECT away_team FROM table_name_13 WHERE home_team = "zambia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342198_6 (district VARCHAR, first_elected VARCHAR) ### Question: How many districts have an incumbent first elected in 1944? ### Answer: SELECT COUNT(district) FROM table_1342198_6 WHERE first_elected = 1944
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Likes (student_id VARCHAR) ### Question: Count the number of likes for each student id. ### Answer: SELECT student_id, COUNT(*) FROM Likes GROUP BY student_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_14342480_7 (points VARCHAR, player VARCHAR) ### Question: How many points were scored by Rolla Bigelow? ### Answer: SELECT points FROM table_14342480_7 WHERE player = "Rolla Bigelow"
Below is an context that describes a sql 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 (points INTEGER, entrant VARCHAR, chassis VARCHAR) ### Question: What is the sum of all the points won by Peter Whitehead in an alta f2 Chassis? ### Answer: SELECT SUM(points) FROM table_name_41 WHERE entrant = "peter whitehead" AND chassis = "alta f2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE instructor (ID VARCHAR, dept_name VARCHAR); CREATE TABLE teaches (ID VARCHAR) ### Question: Find the names of all instructors in the Art department who have taught some course and the course_id. ### Answer: SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID WHERE T1.dept_name = 'Art'
Below is an context that describes a sql 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 (grid INTEGER, driver VARCHAR, laps VARCHAR) ### Question: What is the grid total for kazuyoshi hoshino with under 71 laps? ### Answer: SELECT SUM(grid) FROM table_name_22 WHERE driver = "kazuyoshi hoshino" AND laps < 71
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16570286_2 (matches INTEGER) ### Question: What is the highest number of matches? ### Answer: SELECT MAX(matches) FROM table_16570286_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_65 (week INTEGER, opponent VARCHAR, attendance VARCHAR) ### Question: Which Week has an Opponent of baltimore colts, and an Attendance smaller than 55,137? ### Answer: SELECT AVG(week) FROM table_name_65 WHERE opponent = "baltimore colts" AND attendance < 55 OFFSET 137
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: Who is the home team when hawthorn is the away team? ### Answer: SELECT home_team FROM table_name_95 WHERE away_team = "hawthorn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28891101_3 (area__km_2__ INTEGER, lga_name VARCHAR) ### Question: What is the area when the Iga name is Ahoada East? ### Answer: SELECT MAX(area__km_2__) FROM table_28891101_3 WHERE lga_name = "Ahoada East"
Below is an context that describes a sql 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 (original_title VARCHAR, language VARCHAR) ### Question: What was the original title of the Hindi film? ### Answer: SELECT original_title FROM table_name_88 WHERE language = "hindi"
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR) ### Question: What was the date of the game where the indians record was 37-44? ### Answer: SELECT date FROM table_name_95 WHERE record = "37-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_14342592_4 (points INTEGER, player VARCHAR) ### Question: Name the least points for patrick ### Answer: SELECT MIN(points) FROM table_14342592_4 WHERE player = "Patrick"
Below is an context that describes a sql 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 (tyres VARCHAR, driver VARCHAR) ### Question: I want the tyres for hans binder ### Answer: SELECT tyres FROM table_name_46 WHERE driver = "hans binder"
Below is an context that describes a sql 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 (match_type VARCHAR, location VARCHAR, opponenent VARCHAR) ### Question: What was the match type in Budapest where the opponent was Luxembourg? ### Answer: SELECT match_type FROM table_name_64 WHERE location = "budapest" AND opponenent = "luxembourg"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13397394_1 (storeys INTEGER, address VARCHAR) ### Question: what is the minimum storeys on 325 5th ave n ### Answer: SELECT MIN(storeys) FROM table_13397394_1 WHERE address = "325 5th Ave N"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12186237_1 (circuit VARCHAR) ### Question: Who is the 125cc winnder for the Phillip Island circuit? ### Answer: SELECT 125 AS cc_winner FROM table_12186237_1 WHERE circuit = "Phillip Island"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE postseason (team_id_winner VARCHAR, year VARCHAR); CREATE TABLE team (name VARCHAR, team_id_br VARCHAR) ### Question: What are the name and id of the team with the most victories in 2008 postseason? ### Answer: SELECT T2.name, T1.team_id_winner FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T1.year = 2008 GROUP BY T1.team_id_winner 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_11734041_1 (height_in_ft VARCHAR, years_for_rockets VARCHAR) ### Question: What height was the player that played for the Rockets between 1992-93? ### Answer: SELECT height_in_ft FROM table_11734041_1 WHERE years_for_rockets = "1992-93"
Below is an context that describes a sql 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 (imap_shared VARCHAR, web_ui VARCHAR) ### Question: What IMAP sharing options exist for software with a web UI? ### Answer: SELECT imap_shared FROM table_name_93 WHERE web_ui = "web ui"
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR, opponent VARCHAR, venue VARCHAR) ### Question: What was the result when Dundee were the Opponent at Venue A on 6 September 1986? ### Answer: SELECT result FROM table_name_9 WHERE opponent = "dundee" AND venue = "a" AND date = "6 september 1986"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24285393_1 (highest_point VARCHAR, country_or_region VARCHAR) ### Question: What are the highest point in latvia ### Answer: SELECT highest_point FROM table_24285393_1 WHERE country_or_region = "Latvia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, rockingham_county VARCHAR) ### Question: Name the james e. holmes for joe baez ### Answer: SELECT james_e_holmes FROM table_25330991_3 WHERE rockingham_county = "Joe Baez"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25346763_1 (custody_level_s_ VARCHAR, location VARCHAR) ### Question: What is the custody level of the facility in Shelton? ### Answer: SELECT custody_level_s_ FROM table_25346763_1 WHERE location = "Shelton"
Below is an context that describes a sql 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 (bush_number INTEGER, bush_percentage VARCHAR, total VARCHAR) ### Question: What is the highest number of Bush with a 32.40% Bush % and a total less than 5,126? ### Answer: SELECT MAX(bush_number) FROM table_name_87 WHERE bush_percentage = "32.40%" AND total < 5 OFFSET 126
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22645714_5 (regular_season_winner VARCHAR, tournament_winner VARCHAR) ### Question: Who had the best regular season in the contest won by Arkansas-Pine Bluff? ### Answer: SELECT regular_season_winner FROM table_22645714_5 WHERE tournament_winner = "Arkansas-Pine Bluff"
Below is an context that describes a sql 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 (pop_density_people_km_2 INTEGER, population_in_millions VARCHAR, population__percentage_of_eu VARCHAR, area__percentage_of_eu VARCHAR) ### Question: What is the sum of the pop density people/km2 with a population % of EU of 0.1%, an area % of EU of 0.1%, and has more than 0.5 population in millions? ### Answer: SELECT SUM(pop_density_people_km_2) FROM table_name_47 WHERE population__percentage_of_eu = "0.1%" AND area__percentage_of_eu = "0.1%" AND population_in_millions > 0.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_47 (score VARCHAR, tournament VARCHAR) ### Question: What is the final score of the tournament played in Clearwater, Florida? ### Answer: SELECT score FROM table_name_47 WHERE tournament = "clearwater, florida"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10416547_1 (major_instrument_s_ VARCHAR, duration VARCHAR) ### Question: What is the major instrument of the song that lasts 4:32? ### Answer: SELECT major_instrument_s_ FROM table_10416547_1 WHERE duration = "4: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_49 (date VARCHAR, score VARCHAR) ### Question: Name the date with score of 9-2 ### Answer: SELECT date FROM table_name_49 WHERE score = "9-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_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR) ### Question: Who is the Original west end performer for the character Martha? ### Answer: SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Martha"
Below is an context that describes a sql 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 VARCHAR, funny_car VARCHAR, top_fuel VARCHAR) ### Question: In which year did John Force win Funny Car and Mike Dunn win in Top Fuel? ### Answer: SELECT year FROM table_name_65 WHERE funny_car = "john force" AND top_fuel = "mike dunn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_43 (home_team VARCHAR, away_team VARCHAR) ### Question: Which team was the home team when playing South Melbourne? ### Answer: SELECT home_team AS score FROM table_name_43 WHERE away_team = "south 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 (player VARCHAR, year VARCHAR) ### Question: What player played in 2000? ### Answer: SELECT player FROM table_name_66 WHERE year = 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_1425948_1 (number_in_fleet INTEGER, chassis_model VARCHAR) ### Question: Chassis model Scania K360ua has what minimum number in fleet? ### Answer: SELECT MIN(number_in_fleet) FROM table_1425948_1 WHERE chassis_model = "Scania K360UA"
Below is an context that describes a sql 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 (_percentage_won INTEGER, lost INTEGER) ### Question: What is the largest % Won with a Lost smaller than 0? ### Answer: SELECT MAX(_percentage_won) FROM table_name_89 WHERE lost < 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_82 (wins INTEGER, matches INTEGER) ### Question: How many wins had Matches greater than 5? ### Answer: SELECT SUM(wins) FROM table_name_82 WHERE matches > 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 stadium (name VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR, year VARCHAR); CREATE TABLE stadium (name VARCHAR) ### Question: Show names for all stadiums except for stadiums having a concert in year 2014. ### Answer: SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014
Below is an context that describes a sql 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 (wk_3 INTEGER, wk_11 VARCHAR, wk_14 VARCHAR, wk_2 VARCHAR) ### Question: What is the lowest wk 3 value with an n/r in wk 14, a wk 2 value of 7, and a wk 11 value greater than 18? ### Answer: SELECT MIN(wk_3) FROM table_name_11 WHERE wk_14 = "n/r" AND wk_2 = 7 AND wk_11 > 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_11677760_1 (nba_draft VARCHAR, player VARCHAR) ### Question: how many times was the player felipe lopez? ### Answer: SELECT COUNT(nba_draft) FROM table_11677760_1 WHERE player = "Felipe Lopez"
Below is an context that describes a sql 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 (year VARCHAR, genre VARCHAR) ### Question: What's year was the genre Adventure? ### Answer: SELECT year FROM table_name_57 WHERE genre = "adventure"
Below is an context that describes a sql 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 (rank VARCHAR, name VARCHAR) ### Question: What was the rank of Svetlana Fedorenko? ### Answer: SELECT rank FROM table_name_46 WHERE name = "svetlana fedorenko"
Below is an context that describes a sql 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 (laps VARCHAR, points VARCHAR) ### Question: How many laps were there in the race that netted the winner 19 points? ### Answer: SELECT laps FROM table_name_96 WHERE points = 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_92 (high_points VARCHAR, game VARCHAR, high_rebounds VARCHAR) ### Question: Which High points has a Game larger than 58, and a High rebounds of francisco elson (7)? ### Answer: SELECT high_points FROM table_name_92 WHERE game > 58 AND high_rebounds = "francisco elson (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 customers (customer_id VARCHAR); CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE complaints (product_id VARCHAR) ### Question: Which products has been complained by the customer who has filed least amount of complaints? ### Answer: SELECT DISTINCT t1.product_name FROM products AS t1 JOIN complaints AS t2 ON t1.product_id = t2.product_id JOIN customers AS t3 GROUP BY t3.customer_id ORDER BY COUNT(*) 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 dependent (sex VARCHAR) ### Question: how many female dependents are there? ### Answer: SELECT COUNT(*) FROM dependent WHERE sex = 'F'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20928682_1 (opponents VARCHAR, record VARCHAR) ### Question: After how many opponents was the overall record 1-0-0? ### Answer: SELECT COUNT(opponents) FROM table_20928682_1 WHERE record = "1-0-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_44 (silver VARCHAR, total VARCHAR, gold VARCHAR) ### Question: How much Silver has a Total larger than 9, and a Gold of 14? ### Answer: SELECT COUNT(silver) FROM table_name_44 WHERE total > 9 AND gold = 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_58 (car__number VARCHAR, points VARCHAR) ### Question: What car number has 130 points? ### Answer: SELECT car__number FROM table_name_58 WHERE points = 130
Below is an context that describes a sql 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 (Assistant VARCHAR, principal__2013_2014_ VARCHAR) ### Question: Who were the assistant and main principals of Kat Hughes? ### Answer: SELECT Assistant AS principal__2013_2014_ FROM table_name_97 WHERE principal__2013_2014_ = "kat hughes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (goals INTEGER, years VARCHAR) ### Question: What was the highest number of goals for 1922–1935? ### Answer: SELECT MAX(goals) FROM table_name_18 WHERE years = "1922–1935"
Below is an context that describes a sql 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 (tie_no VARCHAR, home_team VARCHAR) ### Question: what is the tie number that has Portsmouth Home team ### Answer: SELECT tie_no FROM table_name_52 WHERE home_team = "portsmouth"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17598822_11 (league VARCHAR, total VARCHAR) ### Question: Name the total number of league for 5 ### Answer: SELECT COUNT(league) FROM table_17598822_11 WHERE total = 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_67 (date VARCHAR, catalogue VARCHAR) ### Question: What was Catalogue tojp 60121-22's Date? ### Answer: SELECT date FROM table_name_67 WHERE catalogue = "tojp 60121-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_14 (tracking_method VARCHAR, latest_stable_release VARCHAR) ### Question: Which tracking method has a latest stable release of 2.23-05? ### Answer: SELECT tracking_method FROM table_name_14 WHERE latest_stable_release = "2.23-05"
Below is an context that describes a sql 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 (team VARCHAR, name VARCHAR) ### Question: What team was Paolo Quinteros on? ### Answer: SELECT team FROM table_name_59 WHERE name = "paolo quinteros"
Below is an context that describes a sql 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 (series VARCHAR, production_number VARCHAR) ### Question: What is the Series number of the episode with a production number of 1547? ### Answer: SELECT series FROM table_name_34 WHERE production_number = 1547
Below is an context that describes a sql 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 (djurgården_scorers VARCHAR, score VARCHAR) ### Question: What are the Djurgården scorers that have a Score of 2-1? ### Answer: SELECT djurgården_scorers FROM table_name_87 WHERE score = "2-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_6 (date VARCHAR, margin_of_victory VARCHAR) ### Question: What is the date of the 4 strokes margin of victory? ### Answer: SELECT date FROM table_name_6 WHERE margin_of_victory = "4 strokes"
Below is an context that describes a sql 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 (name VARCHAR, relationship_with_predecessor_s_ VARCHAR) ### Question: Who was the brother of Edward VIII? ### Answer: SELECT name FROM table_name_41 WHERE relationship_with_predecessor_s_ = "brother of edward viii"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22824312_1 (hometown VARCHAR, player VARCHAR) ### Question: What is jim dutcher's hometown? ### Answer: SELECT hometown FROM table_22824312_1 WHERE player = "Jim Dutcher"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16268026_3 (state VARCHAR, interview VARCHAR) ### Question: What state has an interview of 8.313 (8) ? ### Answer: SELECT state FROM table_16268026_3 WHERE interview = "8.313 (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_23670057_7 (year_born VARCHAR, height__m_ VARCHAR) ### Question: What is every year born for height of 1.88? ### Answer: SELECT year_born FROM table_23670057_7 WHERE height__m_ = "1.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_name_5 (class VARCHAR, weight VARCHAR) ### Question: Weight of 220 has what class? ### Answer: SELECT class FROM table_name_5 WHERE weight = 220
Below is an context that describes a sql 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 (losses INTEGER, wimmera_fl VARCHAR) ### Question: Which Losses have a Wimmera FL of minyip murtoa? ### Answer: SELECT AVG(losses) FROM table_name_35 WHERE wimmera_fl = "minyip murtoa"
Below is an context that describes a sql 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 (score VARCHAR, game VARCHAR) ### Question: What was the score of game 36? ### Answer: SELECT score FROM table_name_97 WHERE game = 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_name_38 (time VARCHAR, score VARCHAR) ### Question: What is the Time with a Score that is 80-34? ### Answer: SELECT time FROM table_name_38 WHERE score = "80-34"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_74 (episode_title VARCHAR, presenter VARCHAR) ### Question: What is the episode title of the episode with Ben Okri as the presenter? ### Answer: SELECT episode_title FROM table_name_74 WHERE presenter = "ben okri"
Below is an context that describes a sql 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 (matches INTEGER, player VARCHAR, wickets VARCHAR) ### Question: what is the sum of matches when the player is jim laker and wikets is less than 9? ### Answer: SELECT SUM(matches) FROM table_name_25 WHERE player = "jim laker" AND wickets < 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_77 (player VARCHAR, years_in_orlando VARCHAR) ### Question: What is the Player for Orlando in 1989–1991? ### Answer: SELECT player FROM table_name_77 WHERE years_in_orlando = "1989–1991"
Below is an context that describes a sql 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 (losses VARCHAR, against VARCHAR, draws VARCHAR) ### Question: How many total losses does the team have with an against of 2195 and the draws were greater than 0? ### Answer: SELECT COUNT(losses) FROM table_name_77 WHERE against = 2195 AND draws > 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_15418319_1 (points VARCHAR, team VARCHAR) ### Question: Name the points for paulistano ### Answer: SELECT points FROM table_15418319_1 WHERE team = "Paulistano"
Below is an context that describes a sql 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 (points INTEGER, entrant VARCHAR, year VARCHAR) ### Question: What is the total points that an 1951 Entrant alfa romeo spa have? ### Answer: SELECT SUM(points) FROM table_name_70 WHERE entrant = "alfa romeo spa" AND year < 1951
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2840500_6 (college_junior_club_team VARCHAR, nationality VARCHAR) ### Question: How many college teams have a player with a nationality of Russia? ### Answer: SELECT COUNT(college_junior_club_team) FROM table_2840500_6 WHERE nationality = "Russia"
Below is an context that describes a sql 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 (score VARCHAR, visitor VARCHAR, date VARCHAR) ### Question: On October 25, when the visitor was Colorado, what is the score? ### Answer: SELECT score FROM table_name_64 WHERE visitor = "colorado" AND date = "october 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 parties (payment_method_code VARCHAR) ### Question: Find the payment method code used by more than 3 parties. ### Answer: SELECT payment_method_code FROM parties GROUP BY payment_method_code HAVING COUNT(*) > 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_89 (constructor VARCHAR, year VARCHAR, driver VARCHAR) ### Question: What was the constructor of the car that Hermann Lang drove after 1935? ### Answer: SELECT constructor FROM table_name_89 WHERE year > 1935 AND driver = "hermann lang"
Below is an context that describes a sql 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, rank VARCHAR, floors VARCHAR) ### Question: What was the earliest year with rank 20 and less than 60 floors? ### Answer: SELECT MIN(year) FROM table_name_65 WHERE rank = 20 AND floors < 60
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11545282_4 (player VARCHAR, years_for_jazz VARCHAR) ### Question: Who are the players that played for the jazz from 1979-86 ### Answer: SELECT player FROM table_11545282_4 WHERE years_for_jazz = "1979-86"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE weather (zip_code VARCHAR, mean_temperature_f INTEGER, date VARCHAR) ### Question: For each zip code, return the average mean temperature of August there. ### Answer: SELECT zip_code, AVG(mean_temperature_f) FROM weather WHERE date LIKE "8/%" GROUP BY zip_code
Below is an context that describes a sql 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 (laps VARCHAR, constructor VARCHAR, driver VARCHAR) ### Question: How many laps were there when the constructor was Renault, and when the Driver was Fernando Alonso? ### Answer: SELECT laps FROM table_name_7 WHERE constructor = "renault" AND driver = "fernando alonso"
Below is an context that describes a sql 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 (rowers VARCHAR, time VARCHAR) ### Question: Who are the rowers with the time of 5:54.57? ### Answer: SELECT rowers FROM table_name_96 WHERE time = "5:54.57"
Below is an context that describes a sql 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 (run_4 VARCHAR, run_3 VARCHAR) ### Question: Which Run 4 has a Run 3 of 1:26.63? ### Answer: SELECT run_4 FROM table_name_53 WHERE run_3 = "1:26.63"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29574579_1 (uk_viewers__million_ VARCHAR, share___percentage_ VARCHAR) ### Question: How many millions of viewers are listed when the share is 10.8? ### Answer: SELECT uk_viewers__million_ FROM table_29574579_1 WHERE share___percentage_ = "10.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_27721131_10 (high_rebounds VARCHAR, team VARCHAR) ### Question: Who was the high rebounds of team @ Detroit? ### Answer: SELECT high_rebounds FROM table_27721131_10 WHERE team = "@ Detroit"
Below is an context that describes a sql 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 (record VARCHAR, game VARCHAR, score VARCHAR) ### Question: What is the celtics record after game 33 when they score of the game was 111-108? ### Answer: SELECT record FROM table_name_21 WHERE game > 33 AND score = "111-108"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (laps INTEGER, points VARCHAR, car__number VARCHAR, make VARCHAR) ### Question: What is the sum of laps that has a car number of larger than 1, is a ford, and has 155 points? ### Answer: SELECT SUM(laps) FROM table_name_54 WHERE car__number > 1 AND make = "ford" AND points = 155
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2518850_4 (year_of_previous_participation VARCHAR, prefecture VARCHAR) ### Question: What was the year of previous participation for the school in the Kagoshima prefecture? ### Answer: SELECT year_of_previous_participation FROM table_2518850_4 WHERE prefecture = "Kagoshima"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19834691_4 (timeslot VARCHAR, _number VARCHAR) ### Question: name the total number of timeslot for number 1 ### Answer: SELECT COUNT(timeslot) FROM table_19834691_4 WHERE _number = 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 (pos INTEGER, dutch_cup VARCHAR, tier VARCHAR) ### Question: Which Pos has a Dutch Cup of winner, and a Tier larger than 1? ### Answer: SELECT AVG(pos) FROM table_name_1 WHERE dutch_cup = "winner" AND tier > 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_46 (phone VARCHAR, address VARCHAR) ### Question: What is the phone number of the station located at 53 Dayton Road? ### Answer: SELECT phone FROM table_name_46 WHERE address = "53 dayton road"
Below is an context that describes a sql 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 (modern_equivalent VARCHAR, pre_1009_province VARCHAR, province_of_silla VARCHAR) ### Question: What kind of Modern equivalent that has a Pre-1009 province of sakbang -do, and a Province of Silla of sakju? ### Answer: SELECT modern_equivalent FROM table_name_15 WHERE pre_1009_province = "sakbang -do" AND province_of_silla = "sakju"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_187239_1 (secondary_sponsor VARCHAR, main_sponsor VARCHAR) ### Question: When olympikus is the main sponsor who is the secondary sponsor? ### Answer: SELECT secondary_sponsor FROM table_187239_1 WHERE main_sponsor = "Olympikus"
Below is an context that describes a 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_11 (party VARCHAR, district VARCHAR) ### Question: What is the party for District Georgia 9? ### Answer: SELECT party FROM table_1341598_11 WHERE district = "Georgia 9"