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 MATCH (Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR) ### Question: List the names of aircrafts and the number of times it won matches. ### Answer: SELECT T1.Aircraft, COUNT(*) FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft
Below is an context that describes a sql 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 (year INTEGER, rank VARCHAR, class VARCHAR, points VARCHAR) ### Question: What is the earliest year in the 125cc class with more than 102 points and a rank of 2nd? ### Answer: SELECT MIN(year) FROM table_name_74 WHERE class = "125cc" AND points > 102 AND rank = "2nd"
Below is an context that describes a sql 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 (comp VARCHAR, venue VARCHAR) ### Question: What's the comp in Olympic Stadium Tokyo, Japan? ### Answer: SELECT comp FROM table_name_60 WHERE venue = "olympic stadium tokyo, japan"
Below is an context that describes a sql 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 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) ### Question: Which City of license has a Frequency MHz larger than 89.5, and a Call sign of k213el? ### Answer: SELECT city_of_license FROM table_name_22 WHERE frequency_mhz > 89.5 AND call_sign = "k213el"
Below is an context that describes a sql 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 (muzzle_velocity VARCHAR, cartridge VARCHAR) ### Question: What is the muzzle velocity for the .38 long colt cartridge? ### Answer: SELECT muzzle_velocity FROM table_name_32 WHERE cartridge = ".38 long colt"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (player VARCHAR, average VARCHAR, goals VARCHAR, caps VARCHAR) ### Question: Who scored more than 8 goals, had more than 75 caps, and averaged 0.432? ### Answer: SELECT player FROM table_name_42 WHERE goals > 8 AND caps > 75 AND average = 0.432
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_228973_11 (directed_by VARCHAR, original_air_date VARCHAR) ### Question: Who directed the episode which originally aired February 4, 2005? ### Answer: SELECT directed_by FROM table_228973_11 WHERE original_air_date = "February 4, 2005"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR) ### Question: What is the Home team of the Kidderminster Harriers Away game? ### Answer: SELECT home_team FROM table_name_20 WHERE away_team = "kidderminster harriers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11964047_6 (score VARCHAR, _number VARCHAR) ### Question: What was the result and score of Game #29? ### Answer: SELECT score FROM table_11964047_6 WHERE _number = 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_name_67 (team VARCHAR, season VARCHAR) ### Question: What team has 2000-01 as the season? ### Answer: SELECT team FROM table_name_67 WHERE season = "2000-01"
Below is an context that describes a sql 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 (gender VARCHAR, roll VARCHAR, decile VARCHAR, authority VARCHAR, years VARCHAR) ### Question: Which gender has an Authority of state, Years of 1–8, and a Decile smaller than 10, and a Roll of 36? ### Answer: SELECT gender FROM table_name_76 WHERE authority = "state" AND years = "1–8" AND decile < 10 AND roll = 36
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR) ### Question: Name the incumbent for virginia 18 ### Answer: SELECT incumbent FROM table_2668387_18 WHERE district = "Virginia 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_name_90 (year VARCHAR, entrant VARCHAR, points VARCHAR) ### Question: What number of years did the red bull sauber petronas have greater than 6 points? ### Answer: SELECT COUNT(year) FROM table_name_90 WHERE entrant = "red bull sauber petronas" AND points > 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_31 (wins INTEGER, byes INTEGER) ### Question: What is the average of wins when the byes are less than 0? ### Answer: SELECT AVG(wins) FROM table_name_31 WHERE byes < 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_7 (winning_score VARCHAR, runner_s__up VARCHAR) ### Question: What is the winning score for the runner-up Ernie Els? ### Answer: SELECT winning_score FROM table_name_7 WHERE runner_s__up = "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_87 (round INTEGER, school_club_team VARCHAR, overall VARCHAR, position VARCHAR) ### Question: What is the average round for Wisconsin when the overall is larger than 238 and there is a defensive end? ### Answer: SELECT AVG(round) FROM table_name_87 WHERE overall > 238 AND position = "defensive end" AND school_club_team = "wisconsin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24535095_2 (team VARCHAR, listed_owner_s_ VARCHAR) ### Question: Name the team for susan bates ### Answer: SELECT team FROM table_24535095_2 WHERE listed_owner_s_ = "Susan Bates"
Below is an context that describes a sql 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 (lost INTEGER, name VARCHAR, played VARCHAR) ### Question: Which Lost is the lowest one that has a Name of esc holzkirchen, and Played smaller than 14? ### Answer: SELECT MIN(lost) FROM table_name_79 WHERE name = "esc holzkirchen" AND played < 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_55 (drew VARCHAR, rank VARCHAR, played VARCHAR) ### Question: Which Drew has a Rank of 5, and a Played larger than 30? ### Answer: SELECT COUNT(drew) FROM table_name_55 WHERE rank = 5 AND played > 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_12 (subject VARCHAR, pinyin VARCHAR) ### Question: Name the subject of shiyan ### Answer: SELECT subject FROM table_name_12 WHERE pinyin = "shiyan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27734769_8 (score VARCHAR, team VARCHAR) ### Question: What is the score when the team is milwaukee? ### Answer: SELECT score FROM table_27734769_8 WHERE team = "Milwaukee"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_2 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) ### Question: What was the date of vacancy after the outgoing manager, ralf santelli departed? ### Answer: SELECT date_of_vacancy FROM table_name_2 WHERE outgoing_manager = "ralf santelli"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25527255_2 (captain VARCHAR, kit_manufacturer VARCHAR) ### Question: Who is the captain of the team whose kit manufacturer is Nike? ### Answer: SELECT captain FROM table_25527255_2 WHERE kit_manufacturer = "Nike"
Below is an context that describes a sql 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 (championship VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) ### Question: What Championship has an Opponent in the final of aaron krickstein, and a Score in the final of 7–5, 6–2? ### Answer: SELECT championship FROM table_name_86 WHERE opponent_in_the_final = "aaron krickstein" AND score_in_the_final = "7–5, 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_name_44 (murder INTEGER, year INTEGER) ### Question: How many total murders happened after 2011? ### Answer: SELECT SUM(murder) FROM table_name_44 WHERE year > 2011
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_55 (points_classification VARCHAR, winner VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR) ### Question: How many points did lech piasecki, stephen roche, and carrera jeans-vagabond have? ### Answer: SELECT points_classification FROM table_name_55 WHERE young_rider_classification = "lech piasecki" AND general_classification = "stephen roche" AND winner = "carrera jeans-vagabond"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11044765_1 (school VARCHAR, mascot VARCHAR) ### Question: Which school has the Raiders as their mascot? ### Answer: SELECT school FROM table_11044765_1 WHERE mascot = "Raiders"
Below is an context that describes a sql 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 (record VARCHAR, result VARCHAR) ### Question: What is the record when the result was w 52–43? ### Answer: SELECT record FROM table_name_5 WHERE result = "w 52–43"
Below is an context that describes a sql 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 (area__km_2__ INTEGER, location VARCHAR, area__sq_mi_ VARCHAR) ### Question: What is the area located in Rhode Island with more than 38 sq mi area? ### Answer: SELECT AVG(area__km_2__) FROM table_name_81 WHERE location = "rhode island" AND area__sq_mi_ > 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_name_33 (club VARCHAR, goals_for VARCHAR, goals_against VARCHAR) ### Question: What club has less than 61 goals for and 55 goals against? ### Answer: SELECT club FROM table_name_33 WHERE goals_for < 61 AND goals_against = 55
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26139378_1 (original_airdate VARCHAR, viewers__in_millions_ VARCHAR) ### Question: What is the original airdate of the episode that had 8.23 million viewers? ### Answer: SELECT original_airdate FROM table_26139378_1 WHERE viewers__in_millions_ = "8.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_79 (date VARCHAR, record VARCHAR) ### Question: On what date was the record 21-25? ### Answer: SELECT date FROM table_name_79 WHERE record = "21-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_13 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) ### Question: Tell me the outgoing manager for 22 november date of vacancy ### Answer: SELECT outgoing_manager FROM table_name_13 WHERE date_of_vacancy = "22 november"
Below is an context that describes a sql 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 (score VARCHAR, points VARCHAR, game VARCHAR) ### Question: Which Score has Points of 36, and a Game of 30? ### Answer: SELECT score FROM table_name_6 WHERE points = 36 AND game = 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_68 (attendance INTEGER, opponent VARCHAR, score VARCHAR) ### Question: What is the average attendance when Brewers are the opponent with a score of 6–3? ### Answer: SELECT AVG(attendance) FROM table_name_68 WHERE opponent = "brewers" AND score = "6–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_10 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: What is the original title of the film for which Dersu Uzala was nominated? ### Answer: SELECT original_title FROM table_name_10 WHERE film_title_used_in_nomination = "dersu uzala"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11963536_11 (high_assists VARCHAR, date VARCHAR) ### Question: What was the high assist total on May 11? ### Answer: SELECT high_assists FROM table_11963536_11 WHERE date = "May 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_18 (weeks VARCHAR, date VARCHAR) ### Question: On December 12, 2001, how many weeks had the single been in its position? ### Answer: SELECT weeks FROM table_name_18 WHERE date = "december 12, 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_51 (württemberg VARCHAR, baden VARCHAR, year VARCHAR) ### Question: What's the Württemberg for Karlsruher FV happening after 1931? ### Answer: SELECT württemberg FROM table_name_51 WHERE baden = "karlsruher fv" AND year > 1931
Below is an context that describes a sql 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 (total INTEGER, finish VARCHAR, country VARCHAR) ### Question: What is the average of Fiji with t10 Finish? ### Answer: SELECT AVG(total) FROM table_name_96 WHERE finish = "t10" AND country = "fiji"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23963781_1 (nationality VARCHAR, athletica_career VARCHAR, minutes VARCHAR, position VARCHAR) ### Question: What is the nationality associated with 0 minutes, position of MF, and an Athletica career of 2009? ### Answer: SELECT nationality FROM table_23963781_1 WHERE minutes = 0 AND position = "MF" AND athletica_career = "2009"
Below is an context that describes a sql 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 (proto_malayo_polynesian VARCHAR, proto_oceanic VARCHAR) ### Question: What is the Proto-Malayo-Polynesian word for the Proto-Oceanic word of *saqit, *turi? ### Answer: SELECT proto_malayo_polynesian FROM table_name_71 WHERE proto_oceanic = "*saqit, *turi"
Below is an context that describes a sql 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 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) ### Question: What title was used in the nomination of Una Giornata Particolare? ### Answer: SELECT film_title_used_in_nomination FROM table_name_20 WHERE original_title = "una giornata particolare"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (as_of_september_1 VARCHAR, _2012 VARCHAR, vs_all VARCHAR) ### Question: What occurrs as of September 1, 2012 when the value for vs. all is 65.47%? ### Answer: SELECT as_of_september_1, _2012 FROM table_name_61 WHERE vs_all = "65.47%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_2 (party VARCHAR, result VARCHAR, district VARCHAR) ### Question: Which party was re-elected in south carolina 5 district? ### Answer: SELECT party FROM table_name_2 WHERE result = "re-elected" AND district = "south carolina 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_24852622_1 (circuit VARCHAR, round VARCHAR) ### Question: What was the circuit in round 2? ### Answer: SELECT circuit FROM table_24852622_1 WHERE round = "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_12919003_3 (writer VARCHAR, episode VARCHAR) ### Question: What's the writer of Episode 1? ### Answer: SELECT writer FROM table_12919003_3 WHERE episode = "episode 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_16 (date VARCHAR, score VARCHAR) ### Question: What was the date with a resulted score of 130-100? ### Answer: SELECT date FROM table_name_16 WHERE score = "130-100"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15420044_1 (team VARCHAR, against VARCHAR) ### Question: Which teams had 10 goals scored against them ### Answer: SELECT team FROM table_15420044_1 WHERE against = 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_10842344_1 (no_in_season INTEGER, us_viewers__millions_ VARCHAR) ### Question: What's the latest episode in a season where the U.S. viewers totaled 14.37 million? ### Answer: SELECT MAX(no_in_season) FROM table_10842344_1 WHERE us_viewers__millions_ = "14.37"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20967430_4 (directed_by VARCHAR, original_air_date VARCHAR) ### Question: Who directed the episode that originally aired on March 18, 1988? ### Answer: SELECT directed_by FROM table_20967430_4 WHERE original_air_date = "March 18, 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_94 (Id VARCHAR) ### Question: Name the 2012 for when 2010 is q3 ### Answer: SELECT 2012 FROM table_name_94 WHERE 2010 = "q3"
Below is an context that describes a sql 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 (label VARCHAR, format VARCHAR, region VARCHAR) ### Question: What label is in CD format in Australia? ### Answer: SELECT label FROM table_name_14 WHERE format = "cd" AND region = "australia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (geo_id VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR, township VARCHAR) ### Question: What is the number of GEO IDs for areas in Riggin township with water area over 0.587 sq mi and ANSI codes over 1759257? ### Answer: SELECT COUNT(geo_id) FROM table_name_28 WHERE water__sqmi_ > 0.587 AND township = "riggin" AND ansi_code > 1759257
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2013618_1 (english_name VARCHAR, traditional VARCHAR) ### Question: Name the english name for 福鼎市 ### Answer: SELECT english_name FROM table_2013618_1 WHERE traditional = "福鼎市"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1304443_2 (county VARCHAR, bush_percentage VARCHAR) ### Question: What's the name of the county where 48.3% voted for Bush? ### Answer: SELECT county FROM table_1304443_2 WHERE bush_percentage = "48.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_30 (music VARCHAR, couple VARCHAR) ### Question: What music did Mario & Karina perform? ### Answer: SELECT music FROM table_name_30 WHERE couple = "mario & karina"
Below is an context that describes a sql 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 (house_1950 VARCHAR, general_1950 VARCHAR) ### Question: What shows for House 1950 when the General 1950 is general 1986? ### Answer: SELECT house_1950 FROM table_name_19 WHERE general_1950 = "general 1986"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (episodes INTEGER, romaji_title VARCHAR) ### Question: How many Episodes have a Romaji Title of slow dance? ### Answer: SELECT SUM(episodes) FROM table_name_29 WHERE romaji_title = "slow dance"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28243691_2 (team_nickname VARCHAR, enrollment VARCHAR) ### Question: What's the nickname of the team with enrollment of 40747? ### Answer: SELECT team_nickname FROM table_28243691_2 WHERE enrollment = 40747
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14496232_2 (womens_doubles VARCHAR, tour VARCHAR) ### Question: Name the womens doubles when tour is malaysia super series ### Answer: SELECT womens_doubles FROM table_14496232_2 WHERE tour = "Malaysia Super Series"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (writer_s_ VARCHAR, recipient VARCHAR) ### Question: Who is the writer for Red Rose Chain LTD? ### Answer: SELECT writer_s_ FROM table_name_4 WHERE recipient = "red rose chain ltd"
Below is an context that describes a sql 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 (surface VARCHAR, partner VARCHAR) ### Question: What was the Surface during the match with Partner Debbie Graham? ### Answer: SELECT surface FROM table_name_26 WHERE partner = "debbie graham"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26996293_7 (position VARCHAR, pick__number VARCHAR) ### Question: What position was pick # 54? ### Answer: SELECT position FROM table_26996293_7 WHERE pick__number = 54
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (lomavren VARCHAR, hindi VARCHAR) ### Question: What is the Lomavren associated with a Hindi of sāt? ### Answer: SELECT lomavren FROM table_name_68 WHERE hindi = "sāt"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE song (f_id VARCHAR, formats VARCHAR, resolution INTEGER); CREATE TABLE files (f_id VARCHAR, formats VARCHAR, resolution INTEGER) ### Question: Find the id of songs that are available in mp4 format and have resolution lower than 1000. ### Answer: SELECT f_id FROM files WHERE formats = "mp4" INTERSECT SELECT f_id FROM song WHERE resolution < 1000
Below is an context that describes a sql 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 (tournament VARCHAR, score VARCHAR) ### Question: Which tournament has a Score of 6-4, 6-4? ### Answer: SELECT tournament FROM table_name_30 WHERE score = "6-4, 6-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_15 (league_cup_apps VARCHAR, league_goals INTEGER) ### Question: What's the total number of league cup apps when the league goals were less than 0? ### Answer: SELECT COUNT(league_cup_apps) FROM table_name_15 WHERE league_goals < 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_8 (data_limit__gb VARCHAR, company VARCHAR) ### Question: What is the data limit for vodafone? ### Answer: SELECT data_limit__gb FROM table_name_8 WHERE company = "vodafone"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR, score VARCHAR) ### Question: Can you tell me the Player that has the Place of t5, and the Score of 73-72-71-75=291? ### Answer: SELECT player FROM table_name_33 WHERE place = "t5" AND score = 73 - 72 - 71 - 75 = 291
Below is an context that describes a sql 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 (goals INTEGER, matches VARCHAR, name VARCHAR) ### Question: What are the lowest goal that have goals/matches greater than 0.43 with joachim streich as the name and matches greater than 378? ### Answer: SELECT MIN(goals) FROM table_name_37 WHERE goals / matches > 0.43 AND name = "joachim streich" AND matches > 378
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12146637_1 (episode_title VARCHAR, us_viewers__millions_ VARCHAR) ### Question: What is the title of the episode that was watched by 8.92 million viewers? ### Answer: SELECT episode_title FROM table_12146637_1 WHERE us_viewers__millions_ = "8.92"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (laps INTEGER, team VARCHAR, year VARCHAR) ### Question: Name the most laps for corvette racing in 2004 ### Answer: SELECT MAX(laps) FROM table_name_11 WHERE team = "corvette racing" 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_12 (high_points VARCHAR, high_rebounds VARCHAR) ### Question: What is High Points, when High Rebounds is "Ron Artest (9)"? ### Answer: SELECT high_points FROM table_name_12 WHERE high_rebounds = "ron artest (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_24837750_1 (date_in_service VARCHAR, installed_capacity__mw_ VARCHAR) ### Question: When did this wind farm started service with a capacity of 135 MW? ### Answer: SELECT date_in_service FROM table_24837750_1 WHERE installed_capacity__mw_ = "135"
Below is an context that describes a sql 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, player VARCHAR) ### Question: What is Score, when Player is "Bill Rogers"? ### Answer: SELECT score FROM table_name_80 WHERE player = "bill rogers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11545282_6 (years_for_jazz VARCHAR, player VARCHAR) ### Question: During which years did Jim Farmer play for Jazz? ### Answer: SELECT years_for_jazz FROM table_11545282_6 WHERE player = "Jim Farmer"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27274566_2 (date VARCHAR, season VARCHAR, away_team VARCHAR) ### Question: What is the date in the 2007-08 season where the away team was the kaizer chiefs? ### Answer: SELECT date FROM table_27274566_2 WHERE season = "2007-08" AND away_team = "Kaizer Chiefs"
Below is an context that describes a sql 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 (squad_no INTEGER, goals INTEGER) ### Question: What was the lowest squad with 0 goals? ### Answer: SELECT MIN(squad_no) FROM table_name_81 WHERE goals < 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_14 (result VARCHAR, date VARCHAR, opponent VARCHAR) ### Question: What was the result for the opponent being gerardi rinaldi in 2009? ### Answer: SELECT result FROM table_name_14 WHERE date = 2009 AND opponent = "gerardi rinaldi"
Below is an context that describes a sql 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 (loss VARCHAR, record VARCHAR) ### Question: with a record of 68-80 what was the loss? ### Answer: SELECT loss FROM table_name_67 WHERE record = "68-80"
Below is an context that describes a sql 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 (established VARCHAR, sport VARCHAR, venue VARCHAR) ### Question: What is the total number of Established for soccer plated in kuntz stadium? ### Answer: SELECT COUNT(established) FROM table_name_65 WHERE sport = "soccer" AND venue = "kuntz 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_44 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR) ### Question: Which Bronze is the highest one that has a Rank larger than 1, and a Nation of dominican republic, and a Total larger than 4? ### Answer: SELECT MAX(bronze) FROM table_name_44 WHERE rank > 1 AND nation = "dominican republic" 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_24489942_10 (points VARCHAR, name VARCHAR) ### Question: Name the points for thomas morgenstern ### Answer: SELECT points FROM table_24489942_10 WHERE name = "Thomas Morgenstern"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341690_13 (first_elected VARCHAR, incumbent VARCHAR) ### Question: what year was the first elected incumbant Sidney R. Yates? ### Answer: SELECT first_elected FROM table_1341690_13 WHERE incumbent = "Sidney R. Yates"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What shows for 2002 when the 1991 is w? ### Answer: SELECT 2002 FROM table_name_46 WHERE 1991 = "w"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1637041_2 (avg_start VARCHAR, winnings VARCHAR) ### Question: What are the average start(s) when he had $1,663,868? ### Answer: SELECT avg_start FROM table_1637041_2 WHERE winnings = "$1,663,868"
Below is an context that describes a sql 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 (date VARCHAR, location_attendance VARCHAR) ### Question: What is Date, when Location Attendance is "TD Banknorth Garden 18,624"? ### Answer: SELECT date FROM table_name_29 WHERE location_attendance = "td banknorth garden 18,624"
Below is an context that describes a sql 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 (current_branch_opened VARCHAR, branch VARCHAR) ### Question: What is Current Branch Opened, when Branch is Midland Library? ### Answer: SELECT current_branch_opened FROM table_name_22 WHERE branch = "midland library"
Below is an context that describes a sql 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 (year INTEGER, points VARCHAR, engine VARCHAR) ### Question: What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine? ### Answer: SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-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_94 (class VARCHAR, identifier VARCHAR) ### Question: What's the class when the identifier is cbf-fm-14? ### Answer: SELECT class FROM table_name_94 WHERE identifier = "cbf-fm-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_12226390_6 (title VARCHAR, production_code VARCHAR) ### Question: What's the title of the episode with a production code 136? ### Answer: SELECT title FROM table_12226390_6 WHERE production_code = 136
Below is an context that describes a sql 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 (cfl_team VARCHAR, pick__number VARCHAR, college VARCHAR) ### Question: What is CFL Team, when Pick # is greater than 34, and when College is Boise State? ### Answer: SELECT cfl_team FROM table_name_86 WHERE pick__number > 34 AND college = "boise 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_name_58 (crowd INTEGER, home_team VARCHAR) ### Question: How many people were in the crowd when the Home Team was Hawthorn? ### Answer: SELECT SUM(crowd) FROM table_name_58 WHERE home_team = "hawthorn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE parties (payment_method_code VARCHAR) ### Question: How many distinct payment methods are used by parties? ### Answer: SELECT COUNT(DISTINCT payment_method_code) FROM parties
Below is an context that describes a sql 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 (date VARCHAR, loss VARCHAR) ### Question: What was the date of the Mariners game that had a loss of Segui (0-5)? ### Answer: SELECT date FROM table_name_77 WHERE loss = "segui (0-5)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR, venue VARCHAR, winning_team VARCHAR) ### Question: on June 14, what was the winning score by the Devil rays in pro player stadium? ### Answer: SELECT score FROM table_name_30 WHERE venue = "pro player stadium" AND winning_team = "devil rays" AND date = "june 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_23 (date VARCHAR, competition VARCHAR) ### Question: Name the date for 2004 afc asian cup qualifier ### Answer: SELECT date FROM table_name_23 WHERE competition = "2004 afc asian cup qualifier"
Below is an context that describes a sql 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 (name VARCHAR, date VARCHAR, sunk_by VARCHAR) ### Question: What is the name of the ship sunk by U-305 on 17 March 1943? ### Answer: SELECT name FROM table_name_84 WHERE date = "17 march 1943" AND sunk_by = "u-305"
Below is an context that describes a sql 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 (player VARCHAR, date VARCHAR) ### Question: Which Player has a Date of 13 july 2007? ### Answer: SELECT player FROM table_name_41 WHERE date = "13 july 2007"