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_22 (extra_points_1_point INTEGER, total_points VARCHAR, touchdowns__5_points_ VARCHAR) ### Question: Which Extra points 1 point has a Total Points smaller than 30, and Touchdowns (5 points) of 5? ### Answer: SELECT AVG(extra_points_1_point) FROM table_name_22 WHERE total_points < 30 AND touchdowns__5_points_ = 5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (weight VARCHAR, series VARCHAR) ### Question: What does the ii Series weigh? ### Answer: SELECT weight FROM table_name_73 WHERE series = "ii series"
Below is an context that describes a sql 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 (points INTEGER, year INTEGER) ### Question: What is the total points before 1963? ### Answer: SELECT SUM(points) FROM table_name_47 WHERE year < 1963
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Document_Drafts (draft_details VARCHAR, document_id VARCHAR) ### Question: What is draft detail of the document with id 7? ### Answer: SELECT draft_details FROM Document_Drafts WHERE document_id = 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_207795_1 (type_of_work VARCHAR, russian_title VARCHAR) ### Question: How many types of work is хромая судьба? ### Answer: SELECT COUNT(type_of_work) FROM table_207795_1 WHERE russian_title = "Хромая судьба"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (airing_date VARCHAR, english_title__chinese_title_ VARCHAR, genre VARCHAR, official_website VARCHAR, number_of_episodes VARCHAR) ### Question: What's the airing date of Armed Reaction 陀槍師姐 with 20 episodes in the Modern Action genre having an official website? ### Answer: SELECT airing_date FROM table_name_50 WHERE official_website = "official website" AND number_of_episodes = 20 AND genre = "modern action" AND english_title__chinese_title_ = "armed reaction 陀槍師姐"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1656555_1 (ordained_bishop VARCHAR, ordained_priest VARCHAR) ### Question: What date was the person ordained as a priest in December 1838 ordained as a bishop? ### Answer: SELECT ordained_bishop FROM table_1656555_1 WHERE ordained_priest = "December 1838"
Below is an context that describes a sql 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 (division_southwest VARCHAR, division_north VARCHAR, division_south VARCHAR) ### Question: Who won Division Southwest when the winner of Division North was Lepenec and Division South was won by 11 Oktomvri? ### Answer: SELECT division_southwest FROM table_name_44 WHERE division_north = "lepenec" AND division_south = "11 oktomvri"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (venue VARCHAR, winner VARCHAR, year VARCHAR) ### Question: Tell me the venue for winner of nevada and year more than 2004 ### Answer: SELECT venue FROM table_name_7 WHERE winner = "nevada" AND year > 2004
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17781886_1 (week VARCHAR, opponent VARCHAR) ### Question: The opponent was the New York Jets on what week? ### Answer: SELECT week FROM table_17781886_1 WHERE opponent = "New York Jets"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE station (id VARCHAR, local_authority VARCHAR); CREATE TABLE route (station_id VARCHAR, train_id VARCHAR); CREATE TABLE train (name VARCHAR, time VARCHAR, id VARCHAR) ### Question: Find names and times of trains that run through stations for the local authority Chiltern. ### Answer: SELECT t3.name, t3.time FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id JOIN train AS t3 ON t2.train_id = t3.id WHERE t1.local_authority = "Chiltern"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE locations (city VARCHAR, state_province VARCHAR, location_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, location_id VARCHAR) ### Question: display the department name, city, and state province for each department. ### Answer: SELECT T1.department_name, T2.city, T2.state_province FROM departments AS T1 JOIN locations AS T2 ON T2.location_id = T1.location_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_74 (_percentage_of_seats VARCHAR, net_gain_loss VARCHAR) ### Question: When there was a net gain/loss of +34, what was the percentage of seats that party held? ### Answer: SELECT _percentage_of_seats FROM table_name_74 WHERE net_gain_loss = "+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_4 (date VARCHAR, visitor VARCHAR, leading_scorer VARCHAR) ### Question: Which date's visitor was jazz, when the leading scorer was Mehmet Okur (22)? ### Answer: SELECT date FROM table_name_4 WHERE visitor = "jazz" AND leading_scorer = "mehmet okur (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_60 (tournament VARCHAR) ### Question: What is the 2010 value in the Australian Open? ### Answer: SELECT 2010 FROM table_name_60 WHERE tournament = "australian open"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (gold INTEGER, nation VARCHAR, silver VARCHAR) ### Question: Switzerland has how many gold and less than 0 silver? ### Answer: SELECT MAX(gold) FROM table_name_61 WHERE nation = "switzerland" AND silver < 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_71 (year VARCHAR, award VARCHAR) ### Question: For how many years has the Mercury Prize been awarded? ### Answer: SELECT COUNT(year) FROM table_name_71 WHERE award = "mercury prize"
Below is an context that describes a sql 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 (episode VARCHAR, airdate__usa_ VARCHAR) ### Question: Which episode aired in the USA on 20 May 2005? ### Answer: SELECT episode FROM table_name_75 WHERE airdate__usa_ = "20 may 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_25820786_2 (win_loss VARCHAR, nationality VARCHAR) ### Question: What was the win-loss record for the player from Switzerland? ### Answer: SELECT win_loss FROM table_25820786_2 WHERE nationality = "Switzerland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ VARCHAR, provider VARCHAR) ### Question: How many 2006 subscribers are named Vodafone? ### Answer: SELECT COUNT(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Vodafone"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (laps INTEGER, rider VARCHAR, grid VARCHAR) ### Question: What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24? ### Answer: SELECT MAX(laps) FROM table_name_37 WHERE rider = "shuhei aoyama" AND grid > 24
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13079788_3 (circuit VARCHAR, gtc_winner VARCHAR, pole_position VARCHAR) ### Question: what are all the circuit for gtc winner graeme mundy jamie smyth and pole position bradley ellis alex mortimer ### Answer: SELECT circuit FROM table_13079788_3 WHERE gtc_winner = "Graeme Mundy Jamie Smyth" AND pole_position = "Bradley Ellis Alex Mortimer"
Below is an context that describes a sql 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 (format VARCHAR, catalog VARCHAR) ### Question: Which format's catalog designation was 21-382a? ### Answer: SELECT format FROM table_name_95 WHERE catalog = "21-382a"
Below is an context that describes a sql 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 (season VARCHAR, player VARCHAR) ### Question: In what Season was Colin Miller (TAS) the Player? ### Answer: SELECT season FROM table_name_34 WHERE player = "colin miller (tas)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (total INTEGER, bronze VARCHAR, silver VARCHAR) ### Question: Which Total has a Bronze of 5, and a Silver smaller than 1? ### Answer: SELECT MIN(total) FROM table_name_37 WHERE bronze = 5 AND silver < 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_98 (location VARCHAR, county VARCHAR) ### Question: Where was the county of rockingham? ### Answer: SELECT location FROM table_name_98 WHERE county = "rockingham"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18303274_1 (grand_prix VARCHAR, pole_position VARCHAR, round VARCHAR) ### Question: Which round 5 Grand Prix had Daijiro Hiura at pole position? ### Answer: SELECT grand_prix FROM table_18303274_1 WHERE pole_position = "Daijiro Hiura" AND round = 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_72 (league VARCHAR, avg_attendance_† VARCHAR) ### Question: What league has an average attendance of 244? ### Answer: SELECT league FROM table_name_72 WHERE avg_attendance_† = "244"
Below is an context that describes a sql 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 (area__km²_ INTEGER, population VARCHAR, country VARCHAR, rank VARCHAR) ### Question: What's the smallest area in Russia that is ranked 23 with a population more than 522,800? ### Answer: SELECT MIN(area__km²_) FROM table_name_21 WHERE country = "russia" AND rank = 23 AND population > 522 OFFSET 800
Below is an context that describes a sql 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 (date VARCHAR, city VARCHAR, type_of_game VARCHAR, opponent VARCHAR) ### Question: What date has friendly as the type of game, france as an opponent, and paris, france as the city? ### Answer: SELECT date FROM table_name_92 WHERE type_of_game = "friendly" AND opponent = "france" AND city = "paris, france"
Below is an context that describes a sql 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 (nominated_work VARCHAR, year VARCHAR, festival VARCHAR) ### Question: Name the nominated work for 1996 and festival of black maria film and video festival ### Answer: SELECT nominated_work FROM table_name_7 WHERE year = 1996 AND festival = "black maria film and video festival"
Below is an context that describes a sql 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 (athlete VARCHAR, data VARCHAR) ### Question: Who has a walking data of 214.061km? ### Answer: SELECT athlete FROM table_name_66 WHERE data = "214.061km"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342359_2 (district VARCHAR, incumbent VARCHAR) ### Question: How many districts does william b. oliver represent? ### Answer: SELECT COUNT(district) FROM table_1342359_2 WHERE incumbent = "William B. Oliver"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25468520_1 (design VARCHAR, quantity VARCHAR) ### Question: What is the design when quantity is 5,000,000? ### Answer: SELECT design FROM table_25468520_1 WHERE quantity = "5,000,000"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (coverage_area VARCHAR, city_of_license VARCHAR) ### Question: Name the coverage area for licesne of hillsboro, west virginia ### Answer: SELECT coverage_area FROM table_name_25 WHERE city_of_license = "hillsboro, west virginia"
Below is an context that describes a sql 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 (tujunga VARCHAR, la_crescenta__montrose VARCHAR) ### Question: When La Crescenta-Montrose has 66%, what is Tujunga? ### Answer: SELECT tujunga FROM table_name_85 WHERE la_crescenta__montrose = "66%"
Below is an context that describes a sql 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 (tie_no VARCHAR, home_team VARCHAR) ### Question: What is the tie number for the home team Orient? ### Answer: SELECT tie_no FROM table_name_35 WHERE home_team = "orient"
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR) ### Question: What is the Result of the game with an Attendance of 64,104? ### Answer: SELECT result FROM table_name_25 WHERE attendance = "64,104"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20928649_1 (date VARCHAR, record VARCHAR) ### Question: What game date had the record of 1-2? ### Answer: SELECT date FROM table_20928649_1 WHERE record = "1-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 music_festival (RESULT VARCHAR) ### Question: What is the most common result of the music festival? ### Answer: SELECT RESULT FROM music_festival GROUP BY RESULT 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_26 (nat VARCHAR, estimate VARCHAR) ### Question: Which nation was the ship from that had 372 victims? ### Answer: SELECT nat FROM table_name_26 WHERE estimate = "372"
Below is an context that describes a sql 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 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR) ### Question: Which NCAA Tournament Appearances have Conference Titles that are larger than 0, NCAA Titles of 0, and were coached by Lou Watson? ### Answer: SELECT ncaa_tourn_appearances FROM table_name_3 WHERE conference_titles > "0" AND ncaa_titles = "0" AND coach = "lou watson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE film (title VARCHAR, directed_by VARCHAR) ### Question: Show the title and director for all films. ### Answer: SELECT title, directed_by FROM film
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_184334_2 (population__2010_census_ VARCHAR, s_barangay VARCHAR) ### Question: What is the population (2010 census) if s barangay is 51? ### Answer: SELECT COUNT(population__2010_census_) FROM table_184334_2 WHERE s_barangay = 51
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Financial_transactions (transaction_type VARCHAR) ### Question: Show the transaction type and the number of transactions. ### Answer: SELECT transaction_type, COUNT(*) FROM Financial_transactions GROUP BY transaction_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_1231316_7 (athlete VARCHAR, location VARCHAR) ### Question: Which athlete is from Mexico City? ### Answer: SELECT athlete FROM table_1231316_7 WHERE location = "Mexico City"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (location VARCHAR, opponent VARCHAR) ### Question: What location is Jimmy Smith fighting in? ### Answer: SELECT location FROM table_name_72 WHERE opponent = "jimmy 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_name_9 (loss VARCHAR, opponent VARCHAR, record VARCHAR) ### Question: What was the loss of the game against the Angels with a 26-30 record? ### Answer: SELECT loss FROM table_name_9 WHERE opponent = "angels" AND record = "26-30"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (sign VARCHAR, modern_title_of_house VARCHAR) ### Question: Which sign has a modern house title of House of Partnerships? ### Answer: SELECT sign FROM table_name_50 WHERE modern_title_of_house = "house of partnerships"
Below is an context that describes a sql 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 (round VARCHAR, school_club_team VARCHAR, pick VARCHAR) ### Question: In what round did someone from North Carolina State get picked larger than 91? ### Answer: SELECT COUNT(round) FROM table_name_99 WHERE school_club_team = "north carolina state" AND pick > 91
Below is an context that describes a sql 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 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR) ### Question: Name the score in the final for runner-up and hard surface with opponents being michaël llodra nenad zimonjić ### Answer: SELECT score_in_the_final FROM table_name_1 WHERE outcome = "runner-up" AND surface = "hard" AND opponents_in_the_final = "michaël llodra nenad zimonjić"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1059743_1 (play_off VARCHAR, points VARCHAR) ### Question: Did any team score games that totaled up to 860.5? ### Answer: SELECT play_off FROM table_1059743_1 WHERE points = "860.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_20 (date VARCHAR, year VARCHAR) ### Question: What was the date of the Cross Code debut that had an Int'l Debut in the year 2008? ### Answer: SELECT date FROM table_name_20 WHERE year = "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_20942925_1 (directed_by VARCHAR, production_code VARCHAR) ### Question: What is every director with production code of NABF13? ### Answer: SELECT directed_by FROM table_20942925_1 WHERE production_code = "NABF13"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1430913_1 (category VARCHAR, name_of_place VARCHAR) ### Question: If the place is hemkunt sahib what is the category? ### Answer: SELECT category FROM table_1430913_1 WHERE name_of_place = "Hemkunt Sahib"
Below is an context that describes a sql 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 (result VARCHAR, captain_2 VARCHAR) ### Question: Which Result has a Captain 2 of louis burger? ### Answer: SELECT result FROM table_name_81 WHERE captain_2 = "louis burger"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15928363_1 (horizontal VARCHAR, framerate___hz__ VARCHAR) ### Question: Name the number of horizontal when framerate hz is 25 ### Answer: SELECT COUNT(horizontal) FROM table_15928363_1 WHERE framerate___hz__ = "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_18254488_2 (p INTEGER, player VARCHAR) ### Question: When shaun maloney is the player what is the lowest p? ### Answer: SELECT MIN(p) FROM table_18254488_2 WHERE player = "Shaun Maloney"
Below is an context that describes a 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 (official_itv_rating__millions_ VARCHAR, episode VARCHAR) ### Question: What were the official itv ratings in millions for semi-final 5? ### Answer: SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE episode = "Semi-final 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 (attendance VARCHAR, title VARCHAR) ### Question: What is the Attendance number for the title of 44th? ### Answer: SELECT attendance FROM table_name_67 WHERE title = "44th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21063459_1 (opponent VARCHAR, record VARCHAR) ### Question: Who did the team play against when a record of 3-1, #16 was achieved? ### Answer: SELECT opponent FROM table_21063459_1 WHERE record = "3-1, #16"
Below is an context that describes a sql 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 (rank VARCHAR, director_s_ VARCHAR) ### Question: What Rank is the director of maximilian jezo-parovsky? ### Answer: SELECT rank FROM table_name_95 WHERE director_s_ = "maximilian jezo-parovsky"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_51 (year VARCHAR, performer_s_ VARCHAR) ### Question: How many years was Louis Armstrong performing? ### Answer: SELECT COUNT(year) FROM table_name_51 WHERE performer_s_ = "louis armstrong"
Below is an context that describes a sql 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 (Track VARCHAR, year INTEGER) ### Question: Which track title has a year lesser thsn 2005? ### Answer: SELECT Track AS title FROM table_name_6 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_name_95 (home_team VARCHAR, away_team VARCHAR) ### Question: What is the home team score when the away team is Melbourne? ### Answer: SELECT home_team AS score FROM table_name_95 WHERE away_team = "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_44 (network VARCHAR, region_country VARCHAR, dates_aired VARCHAR) ### Question: What is the name of the network in the United Kingdom which aired in 1985–1992? ### Answer: SELECT network FROM table_name_44 WHERE region_country = "united kingdom" AND dates_aired = "1985–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_12340907_1 (total_costs__2005_ VARCHAR, municipality VARCHAR) ### Question: What is the value of total costs (2005) in the Coldstream municipality? ### Answer: SELECT total_costs__2005_ FROM table_12340907_1 WHERE municipality = "Coldstream"
Below is an context that describes a sql 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 (country VARCHAR, time VARCHAR) ### Question: Which country timed at 7:03.91? ### Answer: SELECT country FROM table_name_55 WHERE time = "7:03.91"
Below is an context that describes a sql 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 (title VARCHAR, role VARCHAR, year VARCHAR, studio VARCHAR) ### Question: What is the title where the studio was RKO, the role was Dolly, and the year was later than 1943? ### Answer: SELECT title FROM table_name_98 WHERE year > 1943 AND studio = "rko" AND role = "dolly"
Below is an context that describes a sql 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 (original_channel VARCHAR, note VARCHAR, year VARCHAR) ### Question: what is the original channel when the note is co-star in year 2012? ### Answer: SELECT original_channel FROM table_name_61 WHERE note = "co-star" AND year = 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_32 (chassis VARCHAR, year VARCHAR, entrant VARCHAR) ### Question: Which chassis did fondmetal f1 spa use after 1990? ### Answer: SELECT chassis FROM table_name_32 WHERE year > 1990 AND entrant = "fondmetal f1 spa"
Below is an context that describes a 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_5 (player VARCHAR, extra_points VARCHAR) ### Question: Which players have made a total of 12 extra points? ### Answer: SELECT player FROM table_14342592_5 WHERE extra_points = 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 Product_Suppliers (supplier_id VARCHAR, total_amount_purchased INTEGER) ### Question: Find the id of suppliers whose average amount purchased for each product is above 50000 or below 30000. ### Answer: SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id HAVING AVG(total_amount_purchased) > 50000 OR AVG(total_amount_purchased) < 30000
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: On May 13, what was the team's record? ### Answer: SELECT record FROM table_name_33 WHERE date = "may 13"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (championship VARCHAR, year VARCHAR, opponent VARCHAR, surface VARCHAR) ### Question: Which championship has Roger Federer as an opponent on a clay surface in a year earlier than 2007? ### Answer: SELECT championship FROM table_name_36 WHERE opponent = "roger federer" AND surface = "clay" AND year < 2007
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Grants (grant_start_date VARCHAR, grant_id VARCHAR); CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR); CREATE TABLE Documents (grant_id VARCHAR, document_type_code VARCHAR) ### Question: For grants with both documents described as 'Regular' and documents described as 'Initial Application', list its start date. ### Answer: SELECT T1.grant_start_date FROM Grants AS T1 JOIN Documents AS T2 ON T1.grant_id = T2.grant_id JOIN Document_Types AS T3 ON T2.document_type_code = T3.document_type_code WHERE T3.document_description = 'Regular' INTERSECT SELECT T1.grant_start_date FROM Grants AS T1 JOIN Documents AS T2 ON T1.grant_id = T2.grant_id JOIN Document_Types AS T3 ON T2.document_type_code = T3.document_type_code WHERE T3.document_description = 'Initial Application'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (record VARCHAR, game_site VARCHAR) ### Question: What was the record after the game at Rich Stadium? ### Answer: SELECT record FROM table_name_72 WHERE game_site = "rich 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 Services (service_id VARCHAR, service_details VARCHAR); CREATE TABLE Residents_Services (service_id VARCHAR) ### Question: What is the maximum number that a certain service is provided? List the service id, details and number. ### Answer: SELECT T1.service_id, T1.service_details, COUNT(*) FROM Services AS T1 JOIN Residents_Services AS T2 ON T1.service_id = T2.service_id GROUP BY T1.service_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_28744929_1 (acc_football_titles VARCHAR, nickname VARCHAR) ### Question: how many acc football titles have been won by the institution nicknamed tar heels? ### Answer: SELECT acc_football_titles FROM table_28744929_1 WHERE nickname = "Tar Heels"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27268238_4 (matches INTEGER) ### Question: What is the smallest amount of matches? ### Answer: SELECT MIN(matches) FROM table_27268238_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_18 (rank VARCHAR, total VARCHAR, bronze VARCHAR) ### Question: What is the total rank where the total is less than 5, and bronze is less than 0? ### Answer: SELECT COUNT(rank) FROM table_name_18 WHERE total < 5 AND bronze < 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_43 (record VARCHAR, event VARCHAR) ### Question: What was the record at WEC 24? ### Answer: SELECT record FROM table_name_43 WHERE event = "wec 24"
Below is an context that describes a sql 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 (partner VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) ### Question: Who was David Adams partner on the match played on Clay Surface with a Score in the final of 6–3, 6–7 (5–7) , 7–6 (7–5)? ### Answer: SELECT partner FROM table_name_53 WHERE surface = "clay" AND score_in_the_final = "6–3, 6–7 (5–7) , 7–6 (7–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 Employees (role_code VARCHAR) ### Question: Show all role codes and the number of employees in each role. ### Answer: SELECT role_code, COUNT(*) FROM Employees GROUP BY role_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_84 (label VARCHAR, region VARCHAR) ### Question: What Label has the Region of Australia? ### Answer: SELECT label FROM table_name_84 WHERE region = "australia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (away_team VARCHAR, home_team VARCHAR) ### Question: What away team played against Footscray as the home team? ### Answer: SELECT away_team FROM table_name_50 WHERE home_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_22 (score VARCHAR, date VARCHAR) ### Question: What is the score of the game played 26 July 2010? ### Answer: SELECT score FROM table_name_22 WHERE date = "26 july 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_69 (swimsuit INTEGER, state VARCHAR, evening_gown VARCHAR, average VARCHAR, interview VARCHAR) ### Question: What is the highest swimsuit a contestant from Kansas with an average larger than 8.48, an interview higher than 8.58, and an evening gown higher than 8.82 has? ### Answer: SELECT MAX(swimsuit) FROM table_name_69 WHERE average > 8.48 AND interview > 8.58 AND evening_gown > 8.82 AND state = "kansas"
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR) ### Question: What was the score when the record was 39-62? ### Answer: SELECT score FROM table_name_29 WHERE record = "39-62"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1132568_3 (pole_position VARCHAR, grand_prix VARCHAR) ### Question: Who is in the pole position for the French Grand Prix? ### Answer: SELECT pole_position FROM table_1132568_3 WHERE grand_prix = "French grand_prix"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (university_of_dublin VARCHAR, labour_panel INTEGER) ### Question: What is the total University of Dublin value with a labour panel greater than 11? ### Answer: SELECT COUNT(university_of_dublin) FROM table_name_45 WHERE labour_panel > 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_22815568_1 (status VARCHAR, poverty_rate VARCHAR) ### Question: What is the status of the county that has a 14.7% poverty rate? ### Answer: SELECT status FROM table_22815568_1 WHERE poverty_rate = "14.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_25214321_1 (season INTEGER, winner VARCHAR) ### Question: In what season was the winner Dado Dolabella? ### Answer: SELECT MAX(season) FROM table_25214321_1 WHERE winner = "Dado Dolabella"
Below is an context that describes a sql 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 (byes VARCHAR, against VARCHAR, draws VARCHAR) ### Question: What is the total number of byes for teams with against of 2139 and more than 0 draws? ### Answer: SELECT COUNT(byes) FROM table_name_70 WHERE against = 2139 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_16768245_2 (namesake VARCHAR, longitude VARCHAR) ### Question: When the longitude is 147.1w what is the namesake of the feature? ### Answer: SELECT namesake FROM table_16768245_2 WHERE longitude = "147.1W"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10577579_3 (left VARCHAR, women’s_nickname VARCHAR) ### Question: Name the left of the Lady Pilots. ### Answer: SELECT left FROM table_10577579_3 WHERE women’s_nickname = "Lady Pilots"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2562572_25 (type VARCHAR, cyrillic_name_other_names VARCHAR) ### Question: When оџаци is the cyrillic name other names what is the type? ### Answer: SELECT type FROM table_2562572_25 WHERE cyrillic_name_other_names = "Оџаци"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (score VARCHAR, date VARCHAR) ### Question: Name the score for september 11 ### Answer: SELECT score FROM table_name_48 WHERE date = "september 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_61 (name VARCHAR, moving_to VARCHAR) ### Question: Who was moved to barcelona? ### Answer: SELECT name FROM table_name_61 WHERE moving_to = "barcelona"
Below is an context that describes a sql 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 (kick_off VARCHAR, round VARCHAR) ### Question: What was the kickoff date for the round value of R4? ### Answer: SELECT kick_off FROM table_name_23 WHERE round = "r4"