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_79 (frequency VARCHAR, sspec_number VARCHAR) ### Question: What is the frequency of the processor with an sSpec number of sl3bn(kc0)sl3e9(kc0)? ### Answer: SELECT frequency FROM table_name_79 WHERE sspec_number = "sl3bn(kc0)sl3e9(kc0)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_211714_2 (rank VARCHAR, season VARCHAR) ### Question: Name the number of rank for season 6 ### Answer: SELECT COUNT(rank) FROM table_211714_2 WHERE season = 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_50 (tied VARCHAR, played VARCHAR) ### Question: What was tied at 15 played? ### Answer: SELECT tied FROM table_name_50 WHERE played = "15"
Below is an context that describes a sql 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 (boarding_day VARCHAR, type VARCHAR, house VARCHAR) ### Question: What is the Boarding/Day value for a type of old and house of Saunderites? ### Answer: SELECT boarding_day FROM table_name_36 WHERE type = "old" AND house = "saunderites"
Below is an context that describes a sql 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 (figures INTEGER, free INTEGER) ### Question: What was the average figure score of the skater with a free score under 56.35? ### Answer: SELECT AVG(figures) FROM table_name_19 WHERE free < 56.35
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (method VARCHAR, round VARCHAR, record VARCHAR) ### Question: What's the method for a record of 4-2 and round smaller than 3? ### Answer: SELECT method FROM table_name_78 WHERE round < 3 AND record = "4-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_19 (driver VARCHAR, time_retired VARCHAR) ### Question: What driver has a Time/Retired of 2:16:38.0? ### Answer: SELECT driver FROM table_name_19 WHERE time_retired = "2:16:38.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_50 (lap_length VARCHAR, category VARCHAR) ### Question: What is the Lap Length of the race with a Grand Prix Fia Category? ### Answer: SELECT lap_length FROM table_name_50 WHERE category = "grand prix fia"
Below is an context that describes a sql 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 (first VARCHAR, year VARCHAR, country VARCHAR, last VARCHAR) ### Question: Name the first for countries of trinidad and tobago for hutchinson for years before 2004 ### Answer: SELECT first FROM table_name_39 WHERE country = "trinidad and tobago" AND last = "hutchinson" 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_name_31 (nation VARCHAR, gold VARCHAR, bronze VARCHAR) ### Question: Which nation has a gold less than 2 and a bronze less than 5? ### Answer: SELECT nation FROM table_name_31 WHERE gold < 2 AND bronze < 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_14723382_1 (division INTEGER) ### Question: What is the largest numbered? ### Answer: SELECT MAX(division) FROM table_14723382_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_7 (interview INTEGER, state VARCHAR, average VARCHAR) ### Question: Name the most interview for minnesota and average more than 7.901 ### Answer: SELECT MAX(interview) FROM table_name_7 WHERE state = "minnesota" AND average > 7.901
Below is an context that describes a sql 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 (year INTEGER, death_toll VARCHAR, cause VARCHAR, colliery VARCHAR) ### Question: Count the lowest Year which has gas explosion, Colliery of tylorstown colliery, and a Death toll larger than 57? ### Answer: SELECT MIN(year) FROM table_name_15 WHERE cause = "gas explosion" AND colliery = "tylorstown colliery" AND death_toll > 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_18 (to_par VARCHAR, player VARCHAR) ### Question: Ben Crenshaw has what To par? ### Answer: SELECT to_par FROM table_name_18 WHERE player = "ben crenshaw"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2503102_2 (chassis VARCHAR, team VARCHAR) ### Question: What chassis is on the car repped by team rahal letterman lanigan racing? ### Answer: SELECT chassis FROM table_2503102_2 WHERE team = "Rahal Letterman Lanigan Racing"
Below is an context that describes a sql 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 (structure_type VARCHAR, name VARCHAR) ### Question: What type of structure is there at the American Tower Christmas? ### Answer: SELECT structure_type FROM table_name_17 WHERE name = "american tower christmas"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_56 (event VARCHAR, venue VARCHAR) ### Question: What event took place in Erfurt, Germany? ### Answer: SELECT event FROM table_name_56 WHERE venue = "erfurt, germany"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1914090_2 (africa INTEGER, year VARCHAR) ### Question: What is the minimum number of members Africa had in 2001? ### Answer: SELECT MIN(africa) FROM table_1914090_2 WHERE year = 2001
Below is an context that describes a sql 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 (outcome VARCHAR, date VARCHAR) ### Question: Which is the Outcome on 13 november 2006? ### Answer: SELECT outcome FROM table_name_44 WHERE date = "13 november 2006"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19283982_4 (_number_of_total_votes VARCHAR, _number_of_seats_won VARCHAR) ### Question: Name the number of total votes for # of seats won being 30 ### Answer: SELECT _number_of_total_votes FROM table_19283982_4 WHERE _number_of_seats_won = 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_8 (week INTEGER, result VARCHAR, dance VARCHAR) ### Question: What week was she safe for a salsa dance? ### Answer: SELECT SUM(week) FROM table_name_8 WHERE result = "safe" AND dance = "salsa"
Below is an context that describes a sql 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 (goals_for INTEGER, goal_difference VARCHAR, position VARCHAR) ### Question: What is the number of goals when the goal difference was less than 43, and the position less than 3? ### Answer: SELECT SUM(goals_for) FROM table_name_27 WHERE goal_difference < 43 AND position < 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_66 (pick__number INTEGER, name VARCHAR, round VARCHAR) ### Question: What was the pick number for Deji Karim, in a round lower than 6? ### Answer: SELECT AVG(pick__number) FROM table_name_66 WHERE name = "deji karim" AND round < 6
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16677738_1 (gore_hundred INTEGER, spelthorne_hundred VARCHAR) ### Question: When 12743 is the spelthorne what is the largest gore hundred? ### Answer: SELECT MAX(gore_hundred) FROM table_16677738_1 WHERE spelthorne_hundred = 12743
Below is an context that describes a sql 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 (to_par VARCHAR, country VARCHAR, score VARCHAR) ### Question: What is the to par of the player from the United States with a score of 69-68-65=202? ### Answer: SELECT to_par FROM table_name_44 WHERE country = "united states" AND score = 69 - 68 - 65 = 202
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19333752_1 (national_cup VARCHAR, championship VARCHAR) ### Question: What is the national cup statistics when the Championship is 21 app / 6 goals? ### Answer: SELECT national_cup FROM table_19333752_1 WHERE championship = "21 app / 6 goals"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (minister VARCHAR, end_date VARCHAR) ### Question: Name the minister for end date of 31 july 2004 ### Answer: SELECT minister FROM table_name_12 WHERE end_date = "31 july 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_name_96 (area__km_2__ INTEGER, rank VARCHAR, municipality VARCHAR, province VARCHAR, status VARCHAR) ### Question: What is the highest Area (KM 2) for the Province of Ontario, that has the Status of Town, a Municipality of Minto, and a Rank that's smaller than 84? ### Answer: SELECT MAX(area__km_2__) FROM table_name_96 WHERE province = "ontario" AND status = "town" AND municipality = "minto" AND rank < 84
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (top_10 INTEGER, events VARCHAR, cuts_made VARCHAR, top_5 VARCHAR) ### Question: Which top ten, having less than 12 cuts less than 2 top five, and events smaller than 14, is the highest? ### Answer: SELECT MAX(top_10) FROM table_name_92 WHERE cuts_made < 12 AND top_5 < 2 AND events < 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_18598175_2 (method_of_elimination VARCHAR, time VARCHAR) ### Question: What was the styled used to defeat the opponent within the time frame of 32:32? ### Answer: SELECT method_of_elimination FROM table_18598175_2 WHERE time = "32: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_80 (byes INTEGER, wins VARCHAR, against VARCHAR, ntfa_div_2 VARCHAR) ### Question: Which Byes have an Against smaller than 1647, and an NTFA Div 2 of fingal valley, and Wins smaller than 14? ### Answer: SELECT MAX(byes) FROM table_name_80 WHERE against < 1647 AND ntfa_div_2 = "fingal valley" AND wins < 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_81 (office VARCHAR, representative VARCHAR) ### Question: Which Office has a Representative of scott pelath? ### Answer: SELECT office FROM table_name_81 WHERE representative = "scott pelath"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_237757_10 (season VARCHAR, low_team VARCHAR) ### Question: What was the season when the low team is chicago sting? ### Answer: SELECT season FROM table_237757_10 WHERE low_team = "Chicago Sting"
Below is an context that describes a sql 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 (points VARCHAR, position VARCHAR, wins VARCHAR, club VARCHAR) ### Question: WHAT ARE THE TOTAL NUMBER OF POINTS WITH WINS SMALLER THAN 14, AT SD INDAUCHU, POSITION BIGGER THAN 12? ### Answer: SELECT COUNT(points) FROM table_name_73 WHERE wins < 14 AND club = "sd indauchu" AND position > 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_18811741_15 (pos INTEGER, podiums VARCHAR) ### Question: What is the highest pos for a driver with 1 podium? ### Answer: SELECT MAX(pos) FROM table_18811741_15 WHERE podiums = 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 airlines (country VARCHAR) ### Question: Which countries has the most number of airlines? ### Answer: SELECT country FROM airlines GROUP BY country 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_99 (country VARCHAR, director VARCHAR) ### Question: Where is the director Dariush Mehrjui from? ### Answer: SELECT country FROM table_name_99 WHERE director = "dariush mehrjui"
Below is an context that describes a sql 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 (score VARCHAR, venue VARCHAR, result VARCHAR) ### Question: What was the score in the venue of Seoul that resulted in 8-0? ### Answer: SELECT score FROM table_name_32 WHERE venue = "seoul" AND result = "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_76 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR) ### Question: What is the number of households in the county with median income of $65,240 and population greater than 744,344? ### Answer: SELECT SUM(number_of_households) FROM table_name_76 WHERE median_family_income = "$65,240" AND population > 744 OFFSET 344
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE cinema (LOCATION VARCHAR, openning_year VARCHAR) ### Question: What is the location with the most cinemas opened in year 2010 or later? ### Answer: SELECT LOCATION FROM cinema WHERE openning_year >= 2010 GROUP BY LOCATION 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_93 (director VARCHAR, year__ceremony_ VARCHAR) ### Question: What was the Director with a Ceremony of 2001? ### Answer: SELECT director FROM table_name_93 WHERE year__ceremony_ = 2001
Below is an context that describes a sql 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 (attendance INTEGER, venue VARCHAR, round VARCHAR) ### Question: I want to know the average attendance for n venue and f round ### Answer: SELECT AVG(attendance) FROM table_name_49 WHERE venue = "n" AND round = "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_15829930_5 (wins INTEGER, success_rate VARCHAR) ### Question: Name the maximum wins for 68.75% ### Answer: SELECT MAX(wins) FROM table_15829930_5 WHERE success_rate = "68.75%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Allergy_type (allergytype VARCHAR, allergy VARCHAR) ### Question: What is the type of allergy Cat? ### Answer: SELECT allergytype FROM Allergy_type WHERE allergy = "Cat"
Below is an context that describes a sql 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 (opponent VARCHAR, game_site VARCHAR) ### Question: Who was the opponent for the giants stadium game? ### Answer: SELECT opponent FROM table_name_83 WHERE game_site = "giants 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_18 (leader VARCHAR, votes VARCHAR, seats VARCHAR, percentage VARCHAR) ### Question: Who is the leader of the party which has Seats less than 28, a percentage of votes 54.03, and more votes than 120,801? ### Answer: SELECT leader FROM table_name_18 WHERE seats < 28 AND percentage = "54.03" AND votes > 120 OFFSET 801
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19089486_1 (clubs_involved INTEGER, leagues_entering_this_round VARCHAR, round VARCHAR) ### Question: Name the least clubs involved for leagues being none for semi finals ### Answer: SELECT MIN(clubs_involved) FROM table_19089486_1 WHERE leagues_entering_this_round = "none" AND round = "Semi finals"
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR) ### Question: Which Country has a Score of 69-74=143? ### Answer: SELECT country FROM table_name_66 WHERE score = 69 - 74 = 143
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (id VARCHAR, name VARCHAR) ### Question: What are the ids and names of the companies that operated more than one flight? ### Answer: SELECT T1.id, T1.name FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id GROUP BY T1.id HAVING COUNT(*) > 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_56 (result VARCHAR, year VARCHAR) ### Question: What is the result for the year 1999? ### Answer: SELECT result FROM table_name_56 WHERE year = 1999
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20688030_1 (mccain_number VARCHAR, obama_percentage VARCHAR) ### Question: What is McCains percent when Obamas is 39.13% ### Answer: SELECT COUNT(mccain_number) FROM table_20688030_1 WHERE obama_percentage = "39.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_27956_3 (national_rank VARCHAR, percentage_change_yoy VARCHAR) ### Question: Name the total number of rank for percentage change yoy 13.1% ### Answer: SELECT COUNT(national_rank) FROM table_27956_3 WHERE percentage_change_yoy = "13.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_96 (joined INTEGER, institution VARCHAR, enrollment VARCHAR) ### Question: Which Joined has an Institution of abraham baldwin agricultural college, and an Enrollment smaller than 3,284? ### Answer: SELECT MAX(joined) FROM table_name_96 WHERE institution = "abraham baldwin agricultural college" AND enrollment < 3 OFFSET 284
Below is an context that describes a sql 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 (date VARCHAR, opposing_teams VARCHAR, venue VARCHAR) ### Question: What is Date, when Opposing Teams is "South Africa", and when Venus is "Vodacom Park , Bloemfontein"? ### Answer: SELECT date FROM table_name_22 WHERE opposing_teams = "south africa" AND venue = "vodacom park , bloemfontein"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26464364_1 (title VARCHAR, directed_by VARCHAR, production_code VARCHAR) ### Question: What is the title of the episode directed by Christopher Petry with the production cod 3x6006? ### Answer: SELECT title FROM table_26464364_1 WHERE directed_by = "Christopher Petry" AND production_code = "3X6006"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17413485_1 (first_broadcast VARCHAR, episode VARCHAR) ### Question: in what date was aired the first broacast of the episode 1x02 ### Answer: SELECT first_broadcast FROM table_17413485_1 WHERE episode = "1x02"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1855841_1 (votes_given VARCHAR, running_with__in_team_ VARCHAR) ### Question: Name the votes given for michael russo, genevy dimitrion , manny ortega ### Answer: SELECT votes_given FROM table_1855841_1 WHERE running_with__in_team_ = "Michael Russo, Genevy Dimitrion , Manny Ortega"
Below is an context that describes a sql 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 (category VARCHAR, award VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR) ### Question: Which Category has a Year larger than 1996, and a Result of won, and a Title of brokeback mountain, and an Award of golden globe award? ### Answer: SELECT category FROM table_name_45 WHERE year > 1996 AND result = "won" AND title = "brokeback mountain" AND award = "golden globe award"
Below is an context that describes a sql 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 (away_team VARCHAR) ### Question: What did Essendon score as the Away team? ### Answer: SELECT away_team AS score FROM table_name_7 WHERE away_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 country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR) ### Question: Return the country name and the numbers of languages spoken for each country that speaks at least 3 languages. ### Answer: SELECT COUNT(T2.Language), T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name 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_13018116_1 (pts_agst INTEGER, pts_for VARCHAR) ### Question: Name the most points against when points for is 860 ### Answer: SELECT MAX(pts_agst) FROM table_13018116_1 WHERE pts_for = 860
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_222666_1 (former_codes VARCHAR, new_country_names_and_codes VARCHAR) ### Question: Name the former codes for merged into panama ( pa , pan , 591 ) ### Answer: SELECT former_codes FROM table_222666_1 WHERE new_country_names_and_codes = "Merged into Panama ( PA , PAN , 591 )"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341843_19 (district VARCHAR, incumbent VARCHAR) ### Question: What district is F. Edward Hebert the incumbent in? ### Answer: SELECT district FROM table_1341843_19 WHERE incumbent = "F. Edward Hebert"
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR) ### Question: When was the game that had Sydney Spirit as the away team? ### Answer: SELECT date FROM table_name_64 WHERE away_team = "sydney spirit"
Below is an context that describes a sql 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 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR, time VARCHAR) ### Question: What is the highest grid for Aprilia vehicles, laps over 5, and a retirement finish? ### Answer: SELECT MAX(grid) FROM table_name_43 WHERE manufacturer = "aprilia" AND time = "retirement" AND laps > 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_41 (loss VARCHAR, record VARCHAR) ### Question: What was the loss of the game that had a record of 3-3? ### Answer: SELECT loss FROM table_name_41 WHERE record = "3-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_95 (place VARCHAR, player VARCHAR) ### Question: Which Place has a Player of lee trevino? ### Answer: SELECT place FROM table_name_95 WHERE player = "lee trevino"
Below is an context that describes a sql 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 (date VARCHAR, result_f_a VARCHAR) ### Question: Result F–A of 5–0 had what date? ### Answer: SELECT date FROM table_name_72 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 Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR) ### Question: Show the apartment numbers, start dates, and end dates of all the apartment bookings. ### Answer: SELECT T2.apt_number, T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_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_52 (win__percentage INTEGER, lost VARCHAR) ### Question: Lost of 18 had what sum of win %? ### Answer: SELECT SUM(win__percentage) FROM table_name_52 WHERE lost = 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_27529608_21 (age_s_ VARCHAR, act VARCHAR) ### Question: What is the age of the act who is a rapper? ### Answer: SELECT age_s_ FROM table_27529608_21 WHERE act = "Rapper"
Below is an context that describes a sql 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 (code VARCHAR, cr VARCHAR) ### Question: What code has a C.R of 16.7:1? ### Answer: SELECT code FROM table_name_97 WHERE cr = "16.7: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_12286195_1 (celebrity VARCHAR, raised VARCHAR) ### Question: Which celebrity was raised 03? ### Answer: SELECT celebrity FROM table_12286195_1 WHERE raised = "03"
Below is an context that describes a sql 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 (capacity INTEGER, club VARCHAR) ### Question: What is the largest capacity for the stadium for Treviso club? ### Answer: SELECT MAX(capacity) FROM table_name_44 WHERE club = "treviso"
Below is an context that describes a sql 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 (original_air_date VARCHAR, title VARCHAR) ### Question: When did Julie gets Validated originally air? ### Answer: SELECT original_air_date FROM table_name_84 WHERE title = "julie gets validated"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE shop (Open_Date VARCHAR, Open_Year VARCHAR, Shop_Name VARCHAR) ### Question: List the open date of open year of the shop named "Apple". ### Answer: SELECT Open_Date, Open_Year FROM shop WHERE Shop_Name = "Apple"
Below is an context that describes a sql 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 (dates VARCHAR, rally_hq VARCHAR) ### Question: Which dates have a Rally HQ of kingscliff? ### Answer: SELECT dates FROM table_name_6 WHERE rally_hq = "kingscliff"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2182170_1 (car_s_ VARCHAR, listed_owner_s_ VARCHAR) ### Question: How many cars does Gregg Mixon own? ### Answer: SELECT COUNT(car_s_) FROM table_2182170_1 WHERE listed_owner_s_ = "Gregg Mixon"
Below is an context that describes a sql 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 (pick__number INTEGER, overall VARCHAR, round VARCHAR) ### Question: What is the highest pick # that has a 228 overall and a round less than 7? ### Answer: SELECT MAX(pick__number) FROM table_name_81 WHERE overall = 228 AND round < 7
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (opponents VARCHAR, partner VARCHAR) ### Question: What is Opponents, when Partner is Vitalia Diatchenko? ### Answer: SELECT opponents FROM table_name_60 WHERE partner = "vitalia diatchenko"
Below is an context that describes a sql 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 (name VARCHAR, league_cup_goals VARCHAR, league_apps VARCHAR) ### Question: Which Name has a League Cup Goals of 0, and League Apps of 1? ### Answer: SELECT name FROM table_name_75 WHERE league_cup_goals = 0 AND league_apps = "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_20 (team_1 VARCHAR, team_2 VARCHAR) ### Question: Which team was team 1 in the match where team 2 was olympique lyonnais (d2)? ### Answer: SELECT team_1 FROM table_name_20 WHERE team_2 = "olympique lyonnais (d2)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19418696_3 (yards INTEGER, name VARCHAR) ### Question: How many total yards for Bobby Layne? ### Answer: SELECT MAX(yards) FROM table_19418696_3 WHERE name = "Bobby Layne"
Below is an context that describes a sql 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 (final_score VARCHAR, date VARCHAR, host_team VARCHAR) ### Question: Tell me the final score for january 9 for cincinnati bengals ### Answer: SELECT final_score FROM table_name_96 WHERE date = "january 9" AND host_team = "cincinnati bengals"
Below is an context that describes a sql 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 (year_s__of_manufacture VARCHAR, axle_arrangement VARCHAR) ### Question: Which Year(s) of manufacture has an Axle arrangement of 2′b n2? ### Answer: SELECT year_s__of_manufacture FROM table_name_92 WHERE axle_arrangement = "2′b n2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20396710_1 (drawn VARCHAR, points_for VARCHAR) ### Question: when points for is 39 what is the total number of drawn ### Answer: SELECT drawn FROM table_20396710_1 WHERE points_for = "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_28 (date VARCHAR, week VARCHAR, attendance VARCHAR) ### Question: What is the date of the game played after week 4 with 60,658 people in attendance? ### Answer: SELECT date FROM table_name_28 WHERE week > 4 AND attendance = "60,658"
Below is an context that describes a sql 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 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR) ### Question: What was the date of vacancy where the replacement was Albert Cartier and the manager was fired? ### Answer: SELECT date_of_vacancy FROM table_name_9 WHERE manner_of_departure = "fired" AND replaced_by = "albert cartier"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR) ### Question: Which Opponent has a Type of ud and a Round of 10 on 2008-06-11? ### Answer: SELECT opponent FROM table_name_65 WHERE type = "ud" AND round = "10" AND date = "2008-06-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_82 (kickoff_time VARCHAR, date VARCHAR) ### Question: What was the kickoff time for the December 14, 2003 game? ### Answer: SELECT kickoff_time FROM table_name_82 WHERE date = "december 14, 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 Dogs (age INTEGER) ### Question: What is the age of the oldest dog? ### Answer: SELECT MAX(age) FROM Dogs
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (goals_against INTEGER, draws VARCHAR, wins VARCHAR, points VARCHAR, goal_difference VARCHAR) ### Question: What is the highest goals against when points are larger than 31, the goal difference is smaller than 9, wins are 13, and draws are larger than 6? ### Answer: SELECT MAX(goals_against) FROM table_name_12 WHERE points > 31 AND goal_difference < 9 AND wins = 13 AND draws > 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_67 (score VARCHAR, country VARCHAR, place VARCHAR) ### Question: What is the score of T5 place in the United States? ### Answer: SELECT score FROM table_name_67 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_26686908_2 (production VARCHAR, rd VARCHAR) ### Question: How many productions are shown for rd 2? ### Answer: SELECT COUNT(production) FROM table_26686908_2 WHERE rd = "Rd 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_31 (opponent VARCHAR, record VARCHAR) ### Question: What opponent does she fight when she is 10-1? ### Answer: SELECT opponent FROM table_name_31 WHERE record = "10-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_5 (chassis VARCHAR, constructor VARCHAR, driver VARCHAR) ### Question: what was the chassis built by simca-gordini and driven by max de terra? ### Answer: SELECT chassis FROM table_name_5 WHERE constructor = "simca-gordini" AND driver = "max de terra"
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR) ### Question: What day is south melbourne at home? ### Answer: SELECT date FROM table_name_35 WHERE home_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_3 (home VARCHAR, visitor VARCHAR, record VARCHAR) ### Question: What team did the Montreal Canadiens visit when the record was 0-3? ### Answer: SELECT home FROM table_name_3 WHERE visitor = "montreal canadiens" AND record = "0-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_12232526_2 (hull_numbers INTEGER) ### Question: what is the maximum number of hull numbers? ### Answer: SELECT MAX(hull_numbers) FROM table_12232526_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_89 (overall INTEGER, name VARCHAR, round VARCHAR) ### Question: Which highest overall figure had Robert Alford as a name and a round of more than 2? ### Answer: SELECT MAX(overall) FROM table_name_89 WHERE name = "robert alford" AND round > 2