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_46 (record VARCHAR, decision VARCHAR, november VARCHAR) ### Question: What is the record when the decision was valiquette on November 23? ### Answer: SELECT record FROM table_name_46 WHERE decision = "valiquette" AND november = 23
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (date VARCHAR, home_team VARCHAR) ### Question: When did St Kilda play a home game? ### Answer: SELECT date FROM table_name_91 WHERE home_team = "st kilda"
Below is an context that describes a sql 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 (games INTEGER, years_at_club VARCHAR, debut_year VARCHAR) ### Question: How many Games have Years at club of 1971–1974, and a Debut year larger than 1971? ### Answer: SELECT SUM(games) FROM table_name_94 WHERE years_at_club = "1971–1974" AND debut_year > 1971
Below is an context that describes a sql 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 (tries_for VARCHAR, losing_bonus VARCHAR, club VARCHAR) ### Question: How many tries had a losing bonus of 5, and were part of the Maesteg Celtic RFC club? ### Answer: SELECT tries_for FROM table_name_73 WHERE losing_bonus = "5" AND club = "maesteg celtic rfc"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24786958_2 (final_score VARCHAR, game_site VARCHAR) ### Question: How many final scores were there on the game at Amsterdam arena? ### Answer: SELECT COUNT(final_score) FROM table_24786958_2 WHERE game_site = "Amsterdam ArenA"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (type VARCHAR, state VARCHAR, name VARCHAR) ### Question: What type is You from the state of Chen? ### Answer: SELECT type FROM table_name_91 WHERE state = "chen" AND name = "you"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE settlements (settlement_amount INTEGER) ### Question: Find the total and average amount of settlements. ### Answer: SELECT SUM(settlement_amount), AVG(settlement_amount) FROM settlements
Below is an context that describes a sql 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 (year INTEGER, bronze VARCHAR) ### Question: What is listed as the highest Year that's also got a Bronze of Wataru Haraguchi? ### Answer: SELECT MAX(year) FROM table_name_1 WHERE bronze = "wataru haraguchi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_229917_2 (tail_number VARCHAR, brief_description VARCHAR) ### Question: What's the tail number of the airplane involved in the accident described as crashed? ### Answer: SELECT tail_number FROM table_229917_2 WHERE brief_description = "Crashed"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (name VARCHAR, runner_up VARCHAR) ### Question: What is the Name when the runner-up was Sania Mirza Elena Vesnina? ### Answer: SELECT name FROM table_name_77 WHERE runner_up = "sania mirza elena vesnina"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10586064_2 (county VARCHAR, precincts VARCHAR) ### Question: What is the county of precints 515? ### Answer: SELECT county FROM table_10586064_2 WHERE precincts = 515
Below is an context that describes a sql 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 (losses INTEGER, goals_against VARCHAR, games_played VARCHAR) ### Question: what is the sum of the losses when the goals against is less than 34 and the games played is less than 8? ### Answer: SELECT SUM(losses) FROM table_name_80 WHERE goals_against < 34 AND games_played < 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_21538523_1 (type VARCHAR, caliber VARCHAR) ### Question: What type of glazing will stop a .44 magnum? ### Answer: SELECT type FROM table_21538523_1 WHERE caliber = ".44 Magnum"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (votes___percentage_ VARCHAR, episode VARCHAR) ### Question: What is Votes (%), when Episode is "1x03"? ### Answer: SELECT votes___percentage_ FROM table_name_14 WHERE episode = "1x03"
Below is an context that describes a sql 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 (rank_by_average VARCHAR, number_of_dances VARCHAR, season VARCHAR) ### Question: What rank by average has 1 dance on season 9? ### Answer: SELECT rank_by_average FROM table_name_34 WHERE number_of_dances = "1" AND season = "9"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (club VARCHAR, nation VARCHAR) ### Question: Which club was from Great Britain? ### Answer: SELECT club FROM table_name_27 WHERE nation = "great britain"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26427332_17 (contestant VARCHAR, city VARCHAR) ### Question: who are the participants from hanover? ### Answer: SELECT contestant FROM table_26427332_17 WHERE city = "Hanover"
Below is an context that describes a sql 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, location_attendance VARCHAR) ### Question: What was the score of the game at the Chicago Stadium? ### Answer: SELECT score FROM table_name_67 WHERE location_attendance = "chicago 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_40 (silver VARCHAR, total INTEGER) ### Question: What is the total number of silver medals of the nation with more than 16 total medals? ### Answer: SELECT COUNT(silver) FROM table_name_40 WHERE total > 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_30 (third_member VARCHAR, third_party VARCHAR, second_party VARCHAR) ### Question: Who is the third member of the third conservative party, and the second liberal party? ### Answer: SELECT third_member FROM table_name_30 WHERE third_party = "conservative" AND second_party = "liberal"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE car_makers (id VARCHAR, maker VARCHAR); CREATE TABLE model_list (maker VARCHAR, model VARCHAR); CREATE TABLE car_names (model VARCHAR) ### Question: Which are the car makers which produce at least 2 models and more than 3 car makers ? List the id and the maker . ### Answer: SELECT t1.id, t1.maker FROM car_makers AS t1 JOIN model_list AS t2 ON t1.id = t2.maker GROUP BY t1.id HAVING COUNT(*) >= 2 INTERSECT SELECT t1.id, t1.maker FROM car_makers AS t1 JOIN model_list AS t2 ON t1.id = t2.maker JOIN car_names AS t3 ON t2.model = t3.model GROUP BY t1.id HAVING COUNT(*) > 3
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (rank INTEGER, points VARCHAR, team VARCHAR, name VARCHAR) ### Question: What's the rank of Igor Rakočević of Tau Cerámica with more than 377 points? ### Answer: SELECT SUM(rank) FROM table_name_87 WHERE team = "tau cerámica" AND name = "igor rakočević" AND points > 377
Below is an context that describes a sql 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 (classification VARCHAR, current_conference VARCHAR, location VARCHAR) ### Question: What is the classification for the school in the NEC Conference located in New Britain, Connecticut? ### Answer: SELECT classification FROM table_name_4 WHERE current_conference = "nec" AND location = "new britain, connecticut"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12887260_1 (main_developer VARCHAR, first_release VARCHAR, console VARCHAR) ### Question: Which main developer made their first release in 1991 and created the Mega Drive/Genesis console? ### Answer: SELECT main_developer FROM table_12887260_1 WHERE first_release = 1991 AND console = "Mega Drive/Genesis"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR) ### Question: What was the Opponent on August 31, 1997? ### Answer: SELECT opponent FROM table_name_15 WHERE date = "august 31, 1997"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1360997_2 (result VARCHAR, race VARCHAR) ### Question: How many results were there for the Stan Fox Stakes race? ### Answer: SELECT COUNT(result) FROM table_1360997_2 WHERE race = "Stan Fox Stakes"
Below is an context that describes a sql 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 (years VARCHAR, ranking VARCHAR) ### Question: What years had a ranking of 1? ### Answer: SELECT years FROM table_name_99 WHERE ranking = 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_20667854_1 (gics_sector VARCHAR, free_float VARCHAR) ### Question: How many GICS sectors have a free float of 0.2391? ### Answer: SELECT COUNT(gics_sector) FROM table_20667854_1 WHERE free_float = "0.2391"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (catalog VARCHAR, date VARCHAR) ### Question: What is the catalog of the release from January 23, 2002? ### Answer: SELECT catalog FROM table_name_59 WHERE date = "january 23, 2002"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_62 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR) ### Question: What is the total bronze with a Gold larger than 1, a Rank of 2, and a Silver smaller than 12? ### Answer: SELECT COUNT(bronze) FROM table_name_62 WHERE gold > 1 AND rank = 2 AND silver < 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_name_26 (runner_up VARCHAR, winning_score VARCHAR) ### Question: who is the runner-up when the winning score is −16 (68-70-65-65=268)? ### Answer: SELECT runner_up FROM table_name_26 WHERE winning_score = −16(68 - 70 - 65 - 65 = 268)
Below is an context that describes a sql 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 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) ### Question: Which District has a First elected of 1856, and an Incumbent of william kellogg? ### Answer: SELECT district FROM table_name_20 WHERE first_elected = 1856 AND incumbent = "william kellogg"
Below is an context that describes a sql 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 (championship VARCHAR) ### Question: What is the 54 holes for The Open Championship (4)? ### Answer: SELECT 54 AS _holes FROM table_name_7 WHERE championship = "the open championship (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_27155678_2 (accession_number VARCHAR, genus_species VARCHAR) ### Question: Name the accession number for rhodopseudomonas palustris ### Answer: SELECT accession_number FROM table_27155678_2 WHERE genus_species = "Rhodopseudomonas palustris"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (area__km_2__ INTEGER, code VARCHAR, region VARCHAR) ### Question: What is the average area larger than Code 19025 but a smaller region than 12? ### Answer: SELECT AVG(area__km_2__) FROM table_name_91 WHERE code > 19025 AND region < 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_name_65 (against INTEGER, points VARCHAR, played VARCHAR) ### Question: Which average Against has Points of 6, and a Played smaller than 9? ### Answer: SELECT AVG(against) FROM table_name_65 WHERE points = 6 AND played < 9
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (draws INTEGER, club VARCHAR, played VARCHAR) ### Question: How many draws has a Club of real valladolid that was played less than 38? ### Answer: SELECT MAX(draws) FROM table_name_35 WHERE club = "real valladolid" AND played < 38
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27927185_1 (originalairdate VARCHAR, viewers__millions_ VARCHAR) ### Question: What was the original air-date that had 4.77 million viewers? ### Answer: SELECT originalairdate FROM table_27927185_1 WHERE viewers__millions_ = "4.77"
Below is an context that describes a sql 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 (competition VARCHAR, date VARCHAR) ### Question: Which competition was played on 13-11-2012? ### Answer: SELECT competition FROM table_name_22 WHERE date = "13-11-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_2562572_39 (type VARCHAR, cyrillic_name_other_names VARCHAR) ### Question: What kind of type is бока? ### Answer: SELECT type FROM table_2562572_39 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_26173058_2 (qadisiya VARCHAR, × VARCHAR) ### Question: what is the capital where it is ramtha ### Answer: SELECT qadisiya FROM table_26173058_2 WHERE × = "ramtha"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, total VARCHAR, nation VARCHAR) ### Question: What's the lowest gold with a total of 4 and less than 2 silver for liechtenstein? ### Answer: SELECT MIN(gold) FROM table_name_16 WHERE total = 4 AND nation = "liechtenstein" AND silver < 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_34 (constructor VARCHAR, grid VARCHAR) ### Question: Who constructed grid 14? ### Answer: SELECT constructor FROM table_name_34 WHERE grid = 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_17325580_6 (location_attendance VARCHAR, date VARCHAR) ### Question: What is every location attendance on the date December 12? ### Answer: SELECT location_attendance FROM table_17325580_6 WHERE date = "December 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_name_29 (opponent VARCHAR, week VARCHAR, game_site VARCHAR) ### Question: Who is the opponent after week 9 at rich stadium? ### Answer: SELECT opponent FROM table_name_29 WHERE week > 9 AND 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 table_name_84 (score VARCHAR, record VARCHAR) ### Question: What was the score when they had a 25-41-9 record? ### Answer: SELECT score FROM table_name_84 WHERE record = "25-41-9"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR) ### Question: What is Score, when Opponent is Atlanta Hawks? ### Answer: SELECT score FROM table_name_44 WHERE opponent = "atlanta hawks"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21422977_2 (ministries VARCHAR, duration VARCHAR) ### Question: What is the ministries number when duration is 4 years, 4 days (1,465 days)? ### Answer: SELECT ministries FROM table_21422977_2 WHERE duration = "4 years, 4 days (1,465 days)"
Below is an context that describes a sql 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 (rank_final VARCHAR, year INTEGER) ### Question: What was the rank final before 2007? ### Answer: SELECT rank_final FROM table_name_41 WHERE 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 table_name_72 (away_team VARCHAR, venue VARCHAR) ### Question: What is the away team for the game at Windy Hill? ### Answer: SELECT away_team FROM table_name_72 WHERE venue = "windy hill"
Below is an context that describes a sql 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 (president VARCHAR, head_coach VARCHAR) ### Question: Who is the President of the team that has the Head Coach Mark Wakeling? ### Answer: SELECT president FROM table_name_37 WHERE head_coach = "mark wakeling"
Below is an context that describes a sql 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 (summer_olympics VARCHAR, city VARCHAR) ### Question: When did the Summer Olympics occur in Tokyo? ### Answer: SELECT summer_olympics FROM table_name_3 WHERE city = "tokyo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17323092_7 (high_points VARCHAR, date VARCHAR) ### Question: Who had the high points on the date February 10? ### Answer: SELECT high_points FROM table_17323092_7 WHERE date = "February 10"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR) ### Question: What was the score of the game when the record was 22–46? ### Answer: SELECT score FROM table_name_36 WHERE record = "22–46"
Below is an context that describes a sql 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 (away VARCHAR, season VARCHAR, opponent VARCHAR) ### Question: Which Away has a Season of 2001–02, and an Opponent of dinaburg? ### Answer: SELECT away FROM table_name_69 WHERE season = "2001–02" AND opponent = "dinaburg"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17118657_10 (date VARCHAR, high_assists VARCHAR) ### Question: On which date is high assists Dupree (6)? ### Answer: SELECT date FROM table_17118657_10 WHERE high_assists = "Dupree (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_10007452_3 (manufacturer VARCHAR, model VARCHAR) ### Question: how many times is the model ge40lfr? ### Answer: SELECT COUNT(manufacturer) FROM table_10007452_3 WHERE model = "GE40LFR"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23294081_11 (performer_1 VARCHAR, performer_2 VARCHAR, _number VARCHAR) ### Question: Who was performer 1 in the episode number 7 where Heather Anne Campbell was performer 2? ### Answer: SELECT performer_1 FROM table_23294081_11 WHERE performer_2 = "Heather Anne Campbell" AND _number = 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_21 (display VARCHAR, iso_range VARCHAR, seconds_frame VARCHAR) ### Question: Which display has an ISO range of 80-800, and 0.8 Seconds/Frame? ### Answer: SELECT display FROM table_name_21 WHERE iso_range = "80-800" AND seconds_frame = 0.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_14319023_2 (mixed_doubles VARCHAR, girls_doubles VARCHAR) ### Question: When girls doubles is anneke feinya agustin wenny setiawati what is the mixed doubles? ### Answer: SELECT mixed_doubles FROM table_14319023_2 WHERE girls_doubles = "Anneke Feinya Agustin Wenny Setiawati"
Below is an context that describes a sql 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 (callsign VARCHAR, frequency VARCHAR) ### Question: Frequency of 0 864 has what callsign? ### Answer: SELECT callsign FROM table_name_99 WHERE frequency = "0 864"
Below is an context that describes a sql 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 (opponent_in_the_final VARCHAR, date VARCHAR) ### Question: Who is the opponent in the final of the match on 26 March 2006? ### Answer: SELECT opponent_in_the_final FROM table_name_49 WHERE date = "26 march 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_25 (venue VARCHAR, away_team VARCHAR) ### Question: What is the venue when melbourne is the away team? ### Answer: SELECT venue FROM table_name_25 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_224616_1 (location_of_venue VARCHAR, venue VARCHAR) ### Question: Where is the Bellerive Country Club venue located? ### Answer: SELECT location_of_venue FROM table_224616_1 WHERE venue = "Bellerive country Club"
Below is an context that describes a sql 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 (nation VARCHAR, bronze VARCHAR, rank VARCHAR) ### Question: What nation has 2 bronze and a rank of 9? ### Answer: SELECT nation FROM table_name_54 WHERE bronze = 2 AND rank = 9
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (visitor VARCHAR, date VARCHAR) ### Question: Who is the visitor team on 23 November 2007? ### Answer: SELECT visitor FROM table_name_98 WHERE date = "23 november 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 table_name_86 (attendance VARCHAR, opponent VARCHAR) ### Question: What is the attendance when the opponent is the San Francisco 49ers? ### Answer: SELECT attendance FROM table_name_86 WHERE opponent = "san francisco 49ers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17103645_10 (high_assists VARCHAR, date VARCHAR) ### Question: Name the number of high assists for july 1 ### Answer: SELECT COUNT(high_assists) FROM table_17103645_10 WHERE date = "July 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_12792876_3 (drawn VARCHAR, tries_for VARCHAR) ### Question: what was the drawn when the tries for was 46? ### Answer: SELECT drawn FROM table_12792876_3 WHERE tries_for = "46"
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR) ### Question: What was the score of the game played on May 9? ### Answer: SELECT score FROM table_name_43 WHERE date = "may 9"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29566686_1 (clubs_remaining VARCHAR, winners_from_previous_round VARCHAR) ### Question: How many clubs remained when there were 4 winners from the previous round? ### Answer: SELECT clubs_remaining FROM table_29566686_1 WHERE winners_from_previous_round = 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_17848578_1 (result VARCHAR, game_site VARCHAR) ### Question: How many results are there when the game was at the Atlanta-Fulton county stadium? ### Answer: SELECT COUNT(result) FROM table_17848578_1 WHERE game_site = "Atlanta-Fulton County 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_14700336_1 (revenue__millions_ VARCHAR, spending_per_capita VARCHAR) ### Question: How many times was revenue in millions recorded when the spending per capita was $6,736? ### Answer: SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE spending_per_capita = "$6,736"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18788823_5 (position_in_table VARCHAR, outgoing_manager VARCHAR) ### Question: How many times did Keith Downing depart a position? ### Answer: SELECT COUNT(position_in_table) FROM table_18788823_5 WHERE outgoing_manager = "Keith Downing"
Below is an context that describes a sql 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 (tournament VARCHAR) ### Question: What is 1995, when Tournament is "Miami"? ### Answer: SELECT 1995 FROM table_name_36 WHERE tournament = "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_14 (rank VARCHAR, goals VARCHAR, scorer VARCHAR) ### Question: Which Rank has Goals larger than 4, and a Scorer of oh seok-jae? ### Answer: SELECT rank FROM table_name_14 WHERE goals > 4 AND scorer = "oh seok-jae"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18522916_5 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) ### Question: Name the manner of departure for date of vacancy 25 august 2008 ### Answer: SELECT manner_of_departure FROM table_18522916_5 WHERE date_of_vacancy = "25 August 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_1205598_1 (nhl_team_s_ VARCHAR, metropolitan_area VARCHAR) ### Question: How many NHL teams are there in the Phoenix, Arizona area? ### Answer: SELECT COUNT(nhl_team_s_) FROM table_1205598_1 WHERE metropolitan_area = "Phoenix, Arizona"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_57 (tied INTEGER, points VARCHAR, goals_for VARCHAR) ### Question: What is the lowest tie with less than 100 points and 277 goals? ### Answer: SELECT MIN(tied) FROM table_name_57 WHERE points < 100 AND goals_for = 277
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18335117_2 (original_air_date VARCHAR, production_code VARCHAR) ### Question: When did the episodes first air that had a production code of 107? ### Answer: SELECT original_air_date FROM table_18335117_2 WHERE production_code = 107
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2897457_8 (pick__number VARCHAR, position VARCHAR, nhl_team VARCHAR) ### Question: What pick number was the Boston Bruins selection for defence? ### Answer: SELECT pick__number FROM table_2897457_8 WHERE position = "Defence" AND nhl_team = "Boston Bruins"
Below is an context that describes a sql 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 (name VARCHAR, games VARCHAR) ### Question: Which Name has Games of 105? ### Answer: SELECT name FROM table_name_53 WHERE games = 105
Below is an context that describes a sql 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 (clubs VARCHAR, round VARCHAR) ### Question: What are the club number for the first round? ### Answer: SELECT clubs FROM table_name_43 WHERE round = "first round"
Below is an context that describes a sql 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 (set_1 VARCHAR, date VARCHAR, set_2 VARCHAR) ### Question: What is the Set 1 when the date is 08 jul, and a Set 2 of 25–21? ### Answer: SELECT set_1 FROM table_name_33 WHERE date = "08 jul" AND set_2 = "25–21"
Below is an context that describes a sql 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 (ole_miss VARCHAR, arkansas VARCHAR) ### Question: Who was the Ole Miss player associated with Chuck Dicus? ### Answer: SELECT ole_miss FROM table_name_65 WHERE arkansas = "chuck dicus"
Below is an context that describes a sql 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 (club_province VARCHAR, player VARCHAR) ### Question: Name the club/province for steve borthwick ### Answer: SELECT club_province FROM table_name_51 WHERE player = "steve borthwick"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11964154_7 (team VARCHAR, game VARCHAR) ### Question: Whom did they play on game number 25? ### Answer: SELECT team FROM table_11964154_7 WHERE game = 25
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (co_drivers VARCHAR, pos VARCHAR, class VARCHAR) ### Question: Who was the co-driver in the DNF position in the GT1 class? ### Answer: SELECT co_drivers FROM table_name_41 WHERE pos = "dnf" AND class = "gt1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_178242_1 (premiere___aired VARCHAR, channel VARCHAR) ### Question: When did the program air on Vier? ### Answer: SELECT premiere___aired FROM table_178242_1 WHERE channel = "VIER"
Below is an context that describes a sql 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 (position VARCHAR, nationality VARCHAR, player VARCHAR) ### Question: Corey Maggette from the United States plays what position? ### Answer: SELECT position FROM table_name_70 WHERE nationality = "united states" AND player = "corey maggette"
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR) ### Question: Which Date has a Score of 6–1, 6–2? ### Answer: SELECT date FROM table_name_76 WHERE score = "6–1, 6–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_12165135_1 (overall_pick__number INTEGER, afl_team VARCHAR) ### Question: What is the largest pick number of the new york jets? ### Answer: SELECT MAX(overall_pick__number) FROM table_12165135_1 WHERE afl_team = "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 table_1341423_13 (district VARCHAR, incumbent VARCHAR) ### Question: What district is Henry Hyde in ### Answer: SELECT district FROM table_1341423_13 WHERE incumbent = "Henry Hyde"
Below is an context that describes a sql 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 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR) ### Question: What was the loss of the game against the Yankees that was attended by 27,652? ### Answer: SELECT loss FROM table_name_45 WHERE opponent = "yankees" AND attendance = "27,652"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (decile INTEGER, roll VARCHAR, years VARCHAR, authority VARCHAR) ### Question: What is the largest Decile with Years of 1–8, anAuthority of state, and a Roll of 141? ### Answer: SELECT MAX(decile) FROM table_name_46 WHERE years = "1–8" AND authority = "state" AND roll = 141
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE pilot (Nationality VARCHAR) ### Question: What are the different nationalities of pilots? Show each nationality and the number of pilots of each nationality. ### Answer: SELECT Nationality, COUNT(*) FROM pilot GROUP BY Nationality
Below is an context that describes a sql 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 (venue VARCHAR, score VARCHAR) ### Question: Name the venue for score of 1-3 ### Answer: SELECT venue FROM table_name_75 WHERE score = "1-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_36 (points INTEGER, lost VARCHAR, position VARCHAR) ### Question: What's the Points average with a Lost of 21, and Position of 22? ### Answer: SELECT AVG(points) FROM table_name_36 WHERE lost = 21 AND position = 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_79 (points VARCHAR, opponent VARCHAR, february VARCHAR, game VARCHAR) ### Question: How many points did the Flyers have against the New York Islanders with a February bigger than 12, and a game smaller than 60? ### Answer: SELECT COUNT(points) FROM table_name_79 WHERE february > 12 AND game < 60 AND opponent = "new york islanders"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28019988_5 (series__number INTEGER, production_code VARCHAR) ### Question: What episode number of the series had a production code of bdf409? ### Answer: SELECT MIN(series__number) FROM table_28019988_5 WHERE production_code = "BDF409"