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_25030512_24 (result VARCHAR, first_elected VARCHAR) ### Question: Name the result for 1998 ### Answer: SELECT result FROM table_25030512_24 WHERE first_elected = "1998"
Below is an context that describes a sql 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 (wins INTEGER, pos VARCHAR, poles VARCHAR) ### Question: Which Wins is the highest one that has a Pos of 2nd, and Poles larger than 2? ### Answer: SELECT MAX(wins) FROM table_name_3 WHERE pos = "2nd" AND poles > 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_20 (to_par INTEGER, player VARCHAR) ### Question: What is the average To Par, when Player is "Billy Casper"? ### Answer: SELECT AVG(to_par) FROM table_name_20 WHERE player = "billy casper"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21576644_2 (mens_2nd_xi VARCHAR, mens_1st_xi VARCHAR) ### Question: When 6th, south division 2 is the mens 1st xi what is the mens 2nd xi? ### Answer: SELECT mens_2nd_xi FROM table_21576644_2 WHERE mens_1st_xi = "6th, South Division 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 (player VARCHAR, position VARCHAR, overall VARCHAR) ### Question: What is the name of the player in position lb and an overall of 128? ### Answer: SELECT player FROM table_name_65 WHERE position = "lb" AND overall = 128
Below is an context that describes a sql 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 (sixth_place VARCHAR, series VARCHAR) ### Question: Who was in sixth place in series 7? ### Answer: SELECT sixth_place FROM table_name_34 WHERE series = 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_51 (built VARCHAR, to_iow VARCHAR, withdrawn VARCHAR, br_sr_no VARCHAR) ### Question: What is the number for year built of W27 that was withdrawn in 1967 with a To LoW year earlier than 1926? ### Answer: SELECT COUNT(built) FROM table_name_51 WHERE withdrawn = 1967 AND br_sr_no = "w27" AND to_iow < 1926
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_70 (time VARCHAR, lane VARCHAR) ### Question: What was lane 4's time? ### Answer: SELECT time FROM table_name_70 WHERE lane = 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 city (Official_Name VARCHAR, City_ID VARCHAR); CREATE TABLE farm_competition (Year VARCHAR, Host_city_ID VARCHAR) ### Question: Show the years and the official names of the host cities of competitions. ### Answer: SELECT T2.Year, T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_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_29747178_3 (title VARCHAR, production_code VARCHAR) ### Question: What is the title of the episode with a production code of FL209? ### Answer: SELECT title FROM table_29747178_3 WHERE production_code = "FL209"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, product_stock_number VARCHAR) ### Question: Find the names of all the products whose stock number starts with "2". ### Answer: SELECT catalog_entry_name FROM catalog_contents WHERE product_stock_number LIKE "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 (rank INTEGER, gold VARCHAR, total VARCHAR) ### Question: What is the Rank of the Nation with more than 1 Gold and a more than 4 Total medals? ### Answer: SELECT SUM(rank) FROM table_name_65 WHERE gold > 1 AND total > 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_22883210_7 (date VARCHAR, record VARCHAR) ### Question: What was the date for the record 23-13? ### Answer: SELECT date FROM table_22883210_7 WHERE record = "23-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_82 (ratings__5_capital_cities_ VARCHAR, episode_no VARCHAR) ### Question: What was the rating of the episode Wonder Drug? ### Answer: SELECT ratings__5_capital_cities_ FROM table_name_82 WHERE episode_no = "wonder drug"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16645_1 (__percentage VARCHAR, rural INTEGER, year__january_ VARCHAR) ### Question: What is the rural population percentage in 1979? ### Answer: SELECT MIN(rural), __percentage FROM table_16645_1 WHERE year__january_ = 1979
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18513028_3 (contestant_name VARCHAR, date_premiered__2009_ VARCHAR) ### Question: What contestant was premiered on July 25? ### Answer: SELECT contestant_name FROM table_18513028_3 WHERE date_premiered__2009_ = "July 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_13258806_2 (date VARCHAR, result VARCHAR) ### Question: On what date did the game end with the result w 43-14? ### Answer: SELECT date FROM table_13258806_2 WHERE result = "W 43-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_63 (total VARCHAR, to_par VARCHAR) ### Question: What is the total with a +4 to par? ### Answer: SELECT total FROM table_name_63 WHERE to_par = "+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_37 (team VARCHAR, date VARCHAR) ### Question: What team played on November 28? ### Answer: SELECT team FROM table_name_37 WHERE date = "november 28"
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR) ### Question: What was the score of the friendly match at Amman on February 14, 2006? ### Answer: SELECT score FROM table_name_72 WHERE venue = "amman" AND competition = "friendly" AND date = "february 14, 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_name_50 (money___£__ VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR) ### Question: Count the Money ( £ ) of south africa with a To par of +1, and a Player of ernie els? ### Answer: SELECT money___£__ FROM table_name_50 WHERE country = "south africa" AND to_par = "+1" AND player = "ernie els"
Below is an context that describes a sql 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 (winner VARCHAR, week_of VARCHAR, runner_up VARCHAR) ### Question: Who is the winner in the week listed as 26 June 2 weeks, when the runner-up is Arantxa Sánchez Vicario? ### Answer: SELECT winner FROM table_name_71 WHERE week_of = "26 june 2 weeks" AND runner_up = "arantxa sánchez vicario"
Below is an context that describes a sql 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 (rank INTEGER, name VARCHAR, lane VARCHAR) ### Question: How many ranks have chen yin as the name, with a lane greater than 8? ### Answer: SELECT SUM(rank) FROM table_name_22 WHERE name = "chen yin" AND lane > 8
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (team_2 VARCHAR, team_1 VARCHAR) ### Question: What team played against Al-Ismaily (team 1)? ### Answer: SELECT team_2 FROM table_name_79 WHERE team_1 = "al-ismaily"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What in 2007 has a 2008 of sf, and a 2010 of f? ### Answer: SELECT 2007 FROM table_name_95 WHERE 2008 = "sf" AND 2010 = "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_name_69 (total INTEGER, to_par VARCHAR, player VARCHAR) ### Question: How many strokes for arnold palmer with a to par of greater than 9? ### Answer: SELECT AVG(total) FROM table_name_69 WHERE to_par > 9 AND player = "arnold palmer"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (draw INTEGER, goals_scored VARCHAR, lost VARCHAR, place VARCHAR) ### Question: What is the sum of draw with a lost smaller than 6, and a place of 5, and a goals scored less than 29? ### Answer: SELECT SUM(draw) FROM table_name_90 WHERE lost < 6 AND place = 5 AND goals_scored < 29
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22916979_1 (state VARCHAR, population_density__people_per_mi_2__ VARCHAR) ### Question: How many states had a population density of 10188.8? ### Answer: SELECT COUNT(state) FROM table_22916979_1 WHERE population_density__people_per_mi_2__ = "10188.8"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (source VARCHAR, norris VARCHAR) ### Question: What is the Source with a Norris that is 7%? ### Answer: SELECT source FROM table_name_45 WHERE norris = "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_45 (date VARCHAR, winner VARCHAR, competition_round VARCHAR, venue VARCHAR, season VARCHAR) ### Question: On what date did Universitario win the Torneo Apertura round after 2003 at Estadio Alejandro Villanueva? ### Answer: SELECT date FROM table_name_45 WHERE venue = "estadio alejandro villanueva" AND season > 2003 AND competition_round = "torneo apertura" AND winner = "universitario"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2828803_1 (title VARCHAR, written_by VARCHAR) ### Question: What is th title of the episode written by Nick Thiel? ### Answer: SELECT title FROM table_2828803_1 WHERE written_by = "Nick Thiel"
Below is an context that describes a sql 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 (opponent VARCHAR, score VARCHAR, attendance VARCHAR) ### Question: Who was the opponent of the game that 31,293 people attended that had a final score of 9 - 6. ### Answer: SELECT opponent FROM table_name_4 WHERE score = "9 - 6" AND attendance > 31 OFFSET 293
Below is an context that describes a sql 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 (bronze VARCHAR, nation VARCHAR) ### Question: How many bronze medals did Bulgaria receive? ### Answer: SELECT bronze FROM table_name_1 WHERE nation = "bulgaria"
Below is an context that describes a sql 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 (region VARCHAR, catalog VARCHAR) ### Question: What Region is the MHCL-20004 Catalog? ### Answer: SELECT region FROM table_name_39 WHERE catalog = "mhcl-20004"
Below is an context that describes a sql 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 (rank VARCHAR, s_wicket VARCHAR, average VARCHAR) ### Question: Which rank has a s wicket at 40 and 28.42 is the average? ### Answer: SELECT rank FROM table_name_66 WHERE s_wicket = "40" AND average = "28.42"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (surface VARCHAR, opponent_in_the_final VARCHAR) ### Question: The final match played against Evie Dominikovic was played on what surface? ### Answer: SELECT surface FROM table_name_54 WHERE opponent_in_the_final = "evie dominikovic"
Below is an context that describes a sql 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 (total VARCHAR, gold INTEGER) ### Question: What is the total Gold's less than 0? ### Answer: SELECT COUNT(total) FROM table_name_44 WHERE gold < 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_29615165_5 (_percentage_40_59_years VARCHAR, quartier VARCHAR) ### Question: the quartier menpenti has how many 40-59 year olds? ### Answer: SELECT _percentage_40_59_years FROM table_29615165_5 WHERE quartier = "Menpenti"
Below is an context that describes a sql 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 (athlete VARCHAR, school VARCHAR) ### Question: What is the Athlete from Burbank High School? ### Answer: SELECT athlete FROM table_name_25 WHERE school = "burbank high school"
Below is an context that describes a sql 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 (result VARCHAR, stadium VARCHAR) ### Question: What is the result of the game at Odsal Stadium? ### Answer: SELECT result FROM table_name_41 WHERE stadium = "odsal 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_22347090_4 (no_in_series INTEGER, us_viewers__million_ VARCHAR) ### Question: Which series number had 1.98 million viewers? ### Answer: SELECT MIN(no_in_series) FROM table_22347090_4 WHERE us_viewers__million_ = "1.98"
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR) ### Question: On what date was their record 26-19? ### Answer: SELECT date FROM table_name_70 WHERE record = "26-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_9 (to_par VARCHAR, player VARCHAR) ### Question: What was Todd Hamilton's to par? ### Answer: SELECT to_par FROM table_name_9 WHERE player = "todd hamilton"
Below is an context that describes a sql 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 (side VARCHAR, identification VARCHAR) ### Question: Which side has Ludovico Carracci listed as the identification? ### Answer: SELECT side FROM table_name_74 WHERE identification = "ludovico carracci"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR, title VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR) ### Question: What are the songs in album "A Kiss Before You Go: Live in Hamburg"? ### Answer: SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE T1.title = "A Kiss Before You Go: Live in Hamburg"
Below is an context that describes a sql 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 (country VARCHAR, iata VARCHAR) ### Question: Which Country that has a IATA of bal? ### Answer: SELECT country FROM table_name_83 WHERE iata = "bal"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (earnings__ INTEGER, rank INTEGER) ### Question: Tell me the sum of earnings for rank less than 1 ### Answer: SELECT SUM(earnings__) AS $__ FROM table_name_63 WHERE rank < 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_83 (ground VARCHAR, away VARCHAR) ### Question: The Away High Park Demons was which Ground? ### Answer: SELECT ground FROM table_name_83 WHERE away = "high park demons"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27293285_4 (drawn VARCHAR, lost VARCHAR, tries_for VARCHAR) ### Question: Name the drawn for lost being 5 and tries for 89 ### Answer: SELECT drawn FROM table_27293285_4 WHERE lost = "5" AND tries_for = "89"
Below is an context that describes a sql 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 (res VARCHAR, event VARCHAR) ### Question: What is the result of the UFC 87? ### Answer: SELECT res FROM table_name_95 WHERE event = "ufc 87"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_234886_3 (directed_by VARCHAR, no_in_series VARCHAR) ### Question: Who directed episode no. 44 in the series? ### Answer: SELECT directed_by FROM table_234886_3 WHERE no_in_series = 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_name_51 (record VARCHAR, nationality VARCHAR) ### Question: What's the record of Barbados? ### Answer: SELECT record FROM table_name_51 WHERE nationality = "barbados"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18600760_7 (ansi_code INTEGER, pop__2010_ VARCHAR) ### Question: If the population is 1858, what is the maximum ansi code? ### Answer: SELECT MAX(ansi_code) FROM table_18600760_7 WHERE pop__2010_ = 1858
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_86 (position VARCHAR, round VARCHAR, college VARCHAR) ### Question: WHAT POSITION HAS A ROUND LARGER THAN 2, FOR VALDOSTA COLLEGE? ### Answer: SELECT position FROM table_name_86 WHERE round > 2 AND college = "valdosta"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE addresses (line_1 VARCHAR, line_2 VARCHAR) ### Question: what are all the addresses including line 1 and line 2? ### Answer: SELECT line_1, line_2 FROM addresses
Below is an context that describes a sql 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 (date VARCHAR, attendance VARCHAR) ### Question: What date was the attendance 1,804? ### Answer: SELECT date FROM table_name_44 WHERE attendance = "1,804"
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR, visitor VARCHAR, points VARCHAR) ### Question: What date does visitor team Toronto score less than 49 points and has record of 18-17-7? ### Answer: SELECT date FROM table_name_73 WHERE visitor = "toronto" AND points < 49 AND record = "18-17-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_2226817_9 (directed_by VARCHAR, production_code VARCHAR) ### Question: How many episodes have the production code 8.04 ### Answer: SELECT COUNT(directed_by) FROM table_2226817_9 WHERE production_code = "8.04"
Below is an context that describes a sql 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 (game VARCHAR, record VARCHAR, points VARCHAR) ### Question: How many games have a Record of 7–6–3, and Points smaller than 17? ### Answer: SELECT COUNT(game) FROM table_name_74 WHERE record = "7–6–3" AND points < 17
Below is an context that describes a sql 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 (source_language VARCHAR, meaning VARCHAR) ### Question: What language did the word that means mahjong first come from? ### Answer: SELECT source_language FROM table_name_28 WHERE meaning = "mahjong"
Below is an context that describes a sql 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 (money___$__ VARCHAR, player VARCHAR) ### Question: What is Money ( $ ), when Player is "Morgan Pressel"? ### Answer: SELECT money___$__ FROM table_name_4 WHERE player = "morgan pressel"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27441210_5 (weeks_at__number1 INTEGER, year VARCHAR) ### Question: Name the least weeks at number 1 for 1988 ### Answer: SELECT MIN(weeks_at__number1) FROM table_27441210_5 WHERE year = 1988
Below is an context that describes a sql 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 (attendance INTEGER, opponent VARCHAR) ### Question: What was the attendance when the opponent was virginia? ### Answer: SELECT SUM(attendance) FROM table_name_96 WHERE opponent = "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_95 (agg VARCHAR, team_1 VARCHAR) ### Question: Goldfields Obuasi Team 1 has what Agg. totals ? ### Answer: SELECT agg FROM table_name_95 WHERE team_1 = "goldfields obuasi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10935205_1 (no_in_series VARCHAR, canadian_airdate VARCHAR) ### Question: The canadian airdate of 11 february 2008 applied to what series number? ### Answer: SELECT COUNT(no_in_series) FROM table_10935205_1 WHERE canadian_airdate = "11 February 2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (date VARCHAR, opponent VARCHAR) ### Question: When was Pablo Andújar the opponent? ### Answer: SELECT date FROM table_name_38 WHERE opponent = "pablo andújar"
Below is an context that describes a sql 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 (form_factor VARCHAR, introduced VARCHAR, controller VARCHAR, capacities__gb_ VARCHAR) ### Question: Which value for Form factor has Sandforce with Capacity 80/120/180/240/360/480 introduced in July 2013? ### Answer: SELECT form_factor FROM table_name_84 WHERE controller = "sandforce" AND capacities__gb_ = "80/120/180/240/360/480" AND introduced = "july 2013"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (record_set VARCHAR, actor VARCHAR, year VARCHAR) ### Question: What record was set by walter brennan before 1941? ### Answer: SELECT record_set FROM table_name_30 WHERE actor = "walter brennan" AND year < 1941
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE college (cName VARCHAR, state VARCHAR, enr INTEGER) ### Question: What is the name of school that has the smallest enrollment in each state? ### Answer: SELECT cName, state, MIN(enr) FROM college GROUP BY state
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13480122_5 (game VARCHAR, record VARCHAR) ### Question: what's the game with record being 29–3 ### Answer: SELECT game FROM table_13480122_5 WHERE record = "29–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 branch (city VARCHAR, open_year INTEGER) ### Question: Show the city and the number of branches opened before 2010 for each city. ### Answer: SELECT city, COUNT(*) FROM branch WHERE open_year < 2010 GROUP BY 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_40 (name VARCHAR, year_appointed VARCHAR, years_until_mandatory_retirement VARCHAR) ### Question: what name has an appointed year of 2009 and years until mandatory retirement of 13 years? ### Answer: SELECT name FROM table_name_40 WHERE year_appointed = 2009 AND years_until_mandatory_retirement = "13 years"
Below is an context that describes a sql 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 (player VARCHAR, position VARCHAR) ### Question: Who plays linebacker? ### Answer: SELECT player FROM table_name_99 WHERE position = "linebacker"
Below is an context that describes a sql 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 VARCHAR, countries_affected VARCHAR) ### Question: Which year did USA undergo a disaster? ### Answer: SELECT year FROM table_name_15 WHERE countries_affected = "usa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11654169_1 (area_in_1000km²__1930_ VARCHAR, voivodeship_separate_city VARCHAR) ### Question: List all areas within 1000 km in the city of Lubelskie? ### Answer: SELECT area_in_1000km²__1930_ FROM table_11654169_1 WHERE voivodeship_separate_city = "lubelskie"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29181479_5 (score VARCHAR, high_points VARCHAR) ### Question: What was the final in the game that boris diaw (34) scored the most points? ### Answer: SELECT score FROM table_29181479_5 WHERE high_points = "Boris Diaw (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_56 (date VARCHAR, attendance VARCHAR) ### Question: What date was the game when 45,943 attended? ### Answer: SELECT date FROM table_name_56 WHERE attendance = "45,943"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1373542_1 (asset_acquired VARCHAR, date_announced VARCHAR) ### Question: It was announced on July 2, 2006 that what asset was acquired? ### Answer: SELECT asset_acquired FROM table_1373542_1 WHERE date_announced = "July 2, 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_19534874_2 (indoor INTEGER, inspection VARCHAR) ### Question: What are the minimum indoor results that have a 5 for inspection? ### Answer: SELECT MIN(indoor) FROM table_19534874_2 WHERE inspection = 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_37 (designation VARCHAR, launch_weight VARCHAR) ### Question: What designation has a launch weight of 11.3kg? ### Answer: SELECT designation FROM table_name_37 WHERE launch_weight = "11.3kg"
Below is an context that describes a sql 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 (player VARCHAR, jersey_number_s_ VARCHAR) ### Question: Who has a Jersey number of 31? ### Answer: SELECT player FROM table_name_84 WHERE jersey_number_s_ = "31"
Below is an context that describes a sql 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 (completions VARCHAR, team VARCHAR, yards VARCHAR) ### Question: What were the number of completions for James Vanderberg on Iowa when his yards were 45? ### Answer: SELECT completions FROM table_name_72 WHERE team = "iowa" AND yards = "45"
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR) ### Question: What date was the game score 103-94? ### Answer: SELECT date FROM table_name_26 WHERE score = "103-94"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23284271_8 (high_assists VARCHAR, record VARCHAR) ### Question: Who had the most high assists with a record of 32-19? ### Answer: SELECT high_assists FROM table_23284271_8 WHERE record = "32-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_49 (result VARCHAR, competition VARCHAR) ### Question: What is the result of the 2011 Concacaf Gold Cup competition? ### Answer: SELECT result FROM table_name_49 WHERE competition = "2011 concacaf gold cup"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (state VARCHAR, major_city_served VARCHAR) ### Question: What is the greatest 2010 for Miami, Fl? ### Answer: SELECT MAX(2010) FROM table_name_94 WHERE state = "fl" AND major_city_served = "miami"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (name VARCHAR, pick__number VARCHAR, position VARCHAR) ### Question: What is the Name of the Quarterback with a Pick # less than 11? ### Answer: SELECT name FROM table_name_90 WHERE pick__number < 11 AND position = "quarterback"
Below is an context that describes a 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_22 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) ### Question: Name the number of cyrillic name for stanišić ### Answer: SELECT COUNT(cyrillic_name_other_names) FROM table_2562572_22 WHERE settlement = "Stanišić"
Below is an context that describes a sql 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 (fcc_info VARCHAR, city_of_license VARCHAR) ### Question: What is the FCC info of the translator with an Irmo, South Carolina city license? ### Answer: SELECT fcc_info FROM table_name_51 WHERE city_of_license = "irmo, south carolina"
Below is an context that describes a sql 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 (year VARCHAR, surface VARCHAR, score VARCHAR) ### Question: How many years have a Surface of clay, and a Score of 4 : 0? ### Answer: SELECT COUNT(year) FROM table_name_45 WHERE surface = "clay" AND score = "4 : 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 film (Studio VARCHAR, Gross_in_dollar INTEGER) ### Question: List the studios which average gross is above 4500000. ### Answer: SELECT Studio FROM film GROUP BY Studio HAVING AVG(Gross_in_dollar) >= 4500000
Below is an context that describes a sql 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 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR) ### Question: What is the smallest number of gold of a country of rank 6, with 2 bronzes? ### Answer: SELECT MIN(gold) FROM table_name_71 WHERE bronze = 2 AND rank = 6 AND total > 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 player (Points INTEGER) ### Question: Show total points of all players. ### Answer: SELECT SUM(Points) FROM player
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16226584_1 (length_feet INTEGER, km_from_kingston VARCHAR) ### Question: When the kilometers from kingston is 105.4 what is the minimum amount of length in feet? ### Answer: SELECT MIN(length_feet) FROM table_16226584_1 WHERE km_from_kingston = "105.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_41 (entrant VARCHAR, year INTEGER) ### Question: Who was the entrant before 1988? ### Answer: SELECT entrant FROM table_name_41 WHERE year < 1988
Below is an context that describes a sql 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 (points VARCHAR, club VARCHAR, goal_difference VARCHAR, wins VARCHAR) ### Question: In the club of Real Oviedo, what were the points of the competitor with a goal difference less than 38, and 12 wins? ### Answer: SELECT points FROM table_name_39 WHERE goal_difference < 38 AND wins = 12 AND club = "real oviedo"
Below is an context that describes a sql 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 (railway_number_s_ VARCHAR, class VARCHAR) ### Question: What's the railway number of a D(rebuild) class? ### Answer: SELECT railway_number_s_ FROM table_name_28 WHERE class = "d(rebuild)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25042332_33 (gdp__ppp__per_capita__2008_ INTEGER, combined_gross_enrollment_ratio__2009_ VARCHAR) ### Question: What is the gdp per capita in 2008 for the region with a combined gross enrollment ratio of 86.6 in 2009? ### Answer: SELECT MAX(gdp__ppp__per_capita__2008_) FROM table_25042332_33 WHERE combined_gross_enrollment_ratio__2009_ = "86.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 buildings (name VARCHAR, Height VARCHAR) ### Question: List the names of buildings in descending order of building height. ### Answer: SELECT name FROM buildings ORDER BY Height DESC
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (score VARCHAR, location VARCHAR) ### Question: what is the score at Olympia fields, illinois? ### Answer: SELECT score FROM table_name_80 WHERE location = "olympia fields, illinois"