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_11340432_1 (willow_canyon VARCHAR, shadow_ridge VARCHAR) ### Question: What is the willow canyon of Stallion? ### Answer: SELECT willow_canyon FROM table_11340432_1 WHERE shadow_ridge = "Stallion"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341897_6 (first_elected VARCHAR, district VARCHAR) ### Question: When was Dale Alford first elected in the Arkansas 5 district? ### Answer: SELECT first_elected FROM table_1341897_6 WHERE district = "Arkansas 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_12175755_1 (theme VARCHAR, episode VARCHAR) ### Question: What is the theme for the episode selection process? ### Answer: SELECT theme FROM table_12175755_1 WHERE episode = "Selection Process"
Below is an context that describes a sql 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 (matches INTEGER, high_score VARCHAR, innings VARCHAR) ### Question: What is the match total for a score over 299 and under 412 innings? ### Answer: SELECT SUM(matches) FROM table_name_26 WHERE high_score = "299" AND innings < 412
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, circuit VARCHAR) ### Question: Who had the fastest lap for the circuit magione? ### Answer: SELECT fastest_lap FROM table_26920192_5 WHERE circuit = "Magione"
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR) ### Question: What day did St Kilda play as the away team? ### Answer: SELECT date FROM table_name_53 WHERE away_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_1 (division VARCHAR) ### Question: What is the 2010 figure for the district of Columbia where the 2004 figure is more than 12.3? ### Answer: SELECT SUM(2010) FROM table_name_1 WHERE division = "district of columbia" AND 2004 > 12.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 country (Name VARCHAR, Continent VARCHAR, LifeExpectancy VARCHAR) ### Question: What is the name of country that has the shortest life expectancy in Asia? ### Answer: SELECT Name FROM country WHERE Continent = "Asia" ORDER BY LifeExpectancy LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (second_member VARCHAR, year VARCHAR, first_member VARCHAR) ### Question: Who is the second member more recently than 1790 when John Williams is the first member? ### Answer: SELECT second_member FROM table_name_10 WHERE year > 1790 AND first_member = "john williams"
Below is an context that describes a sql 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 (record VARCHAR, home VARCHAR, date VARCHAR) ### Question: which Record has a Home of ottawa senators on Date of december 21? ### Answer: SELECT record FROM table_name_82 WHERE home = "ottawa senators" AND date = "december 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_79 (win_percentage INTEGER, points VARCHAR, record__w_l_t___otl_ VARCHAR) ### Question: Which Win percentage has Points smaller than 472, and a Record (W–L–T/OTL) of 140–220–40? ### Answer: SELECT AVG(win_percentage) FROM table_name_79 WHERE points < 472 AND record__w_l_t___otl_ = "140–220–40"
Below is an context that describes a sql 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 (crowd INTEGER, venue VARCHAR) ### Question: What is the smallest crowd at princes park? ### Answer: SELECT MIN(crowd) FROM table_name_57 WHERE venue = "princes park"
Below is an context that describes a sql 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 (total INTEGER, rank VARCHAR, bronze VARCHAR, years VARCHAR, silver VARCHAR) ### Question: What is the total in 2000–2012, with more than 2 silver, 0 Bronze, and a Rank smaller than 70? ### Answer: SELECT SUM(total) FROM table_name_71 WHERE years = "2000–2012" AND silver > 2 AND bronze = 0 AND rank < 70
Below is an context that describes a sql 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 (round INTEGER, event VARCHAR) ### Question: What is the round for the ufc on fox: velasquez vs. dos santos event? ### Answer: SELECT AVG(round) FROM table_name_8 WHERE event = "ufc on fox: velasquez vs. dos santos"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11970261_2 (interview VARCHAR, swimsuit VARCHAR) ### Question: what's the interview with swimsuit being 9.140 ### Answer: SELECT interview FROM table_11970261_2 WHERE swimsuit = "9.140"
Below is an context that describes a sql 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 (studio VARCHAR, title VARCHAR) ### Question: WHAT IS THE STUDIO WITH THE TITLE MASK? ### Answer: SELECT studio FROM table_name_41 WHERE title = "mask"
Below is an context that describes a sql 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 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR) ### Question: What is the highest number of doctorates the college of informatics and systems, which has 0 specialists and less than 2 master's degrees, have? ### Answer: SELECT MAX(doctorate) FROM table_name_10 WHERE specialist = 0 AND college = "informatics and systems" AND masters < 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_69 (week_1 VARCHAR, week_3 VARCHAR) ### Question: When Alinna D Penta was the cyber girl in week 3, who was the cyber girl in week 1? ### Answer: SELECT week_1 FROM table_name_69 WHERE week_3 = "alinna d penta"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24011830_2 (world_record VARCHAR) ### Question: Name the 26 august 2005 asian record ### Answer: SELECT 26 AS _august_2005 FROM table_24011830_2 WHERE world_record = "Asian record"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (bronze VARCHAR, total VARCHAR, silver VARCHAR) ### Question: What is the number of Bronze medals of the Nation with 64 total and silver greater than 16? ### Answer: SELECT COUNT(bronze) FROM table_name_88 WHERE total = 64 AND silver > 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_22297140_3 (team VARCHAR, outgoing_manager VARCHAR) ### Question: Which team had an outgoing manager of Behtash Fariba? ### Answer: SELECT team FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24172078_2 (segment_1 VARCHAR, episode__number VARCHAR) ### Question: Name the segment 1 for episode # 2/225 ### Answer: SELECT segment_1 FROM table_24172078_2 WHERE episode__number = "2/225"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29127804_3 (date VARCHAR, opponent_in_the_final VARCHAR) ### Question: in how many dates the opponen in the final was rushmi chakravarthi ### Answer: SELECT COUNT(date) FROM table_29127804_3 WHERE opponent_in_the_final = "Rushmi Chakravarthi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12962773_13 (current_club VARCHAR, no VARCHAR) ### Question: Name the current club for number 6 ### Answer: SELECT current_club FROM table_12962773_13 WHERE no = 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_54 (rider VARCHAR, round_1_points VARCHAR) ### Question: Tell me the rider with 18.185 points round 1 ### Answer: SELECT rider FROM table_name_54 WHERE round_1_points = "18.185"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_160510_1 (modern_equivalent VARCHAR, province VARCHAR) ### Question: What are the modern equivalents for the province of "hanju"? ### Answer: SELECT modern_equivalent FROM table_160510_1 WHERE province = "Hanju"
Below is an context that describes a sql 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 (loss VARCHAR, record VARCHAR) ### Question: What was the loss of the game with a record of 77-65? ### Answer: SELECT loss FROM table_name_96 WHERE record = "77-65"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18332845_2 (calling_at VARCHAR, arrival VARCHAR) ### Question: What was the calling for the 18.42 arrival time? ### Answer: SELECT calling_at FROM table_18332845_2 WHERE arrival = "18.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 instructor (name VARCHAR, salary VARCHAR) ### Question: Who is the instructor with the highest salary? ### Answer: SELECT name FROM instructor ORDER BY salary DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (tag_team VARCHAR, eliminated VARCHAR) ### Question: Name Tag Team with a Eliminated of 5? ### Answer: SELECT tag_team FROM table_name_42 WHERE eliminated = "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_2 (proto_germanic_origin VARCHAR, sound__phoneme_ VARCHAR) ### Question: What is the Proto-Germanic origin of the phoneme /[[|j]]/? ### Answer: SELECT proto_germanic_origin FROM table_name_2 WHERE sound__phoneme_ = "/[[|j]]/"
Below is an context that describes a sql 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 (tournament VARCHAR) ### Question: What is the Tournament when the 2013 is 2r, and a 2006 is 1r? ### Answer: SELECT tournament FROM table_name_26 WHERE 2013 = "2r" AND 2006 = "1r"
Below is an context that describes a sql 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 (others_number VARCHAR, county VARCHAR, bush_number VARCHAR) ### Question: What is the total number of the value Others#, when the county is Langlade, and when the value Bush# is greater than 6,235? ### Answer: SELECT COUNT(others_number) FROM table_name_94 WHERE county = "langlade" AND bush_number > 6 OFFSET 235
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (away_team VARCHAR, venue VARCHAR) ### Question: What was the away team that played at Princes Park? ### Answer: SELECT away_team FROM table_name_17 WHERE venue = "princes park"
Below is an context that describes a sql 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 (pl_gp INTEGER, pick__number VARCHAR, reg_gp VARCHAR) ### Question: What is the total number of Pl GP when the pick number is 199 and the Reg GP is bigger than 0? ### Answer: SELECT SUM(pl_gp) FROM table_name_90 WHERE pick__number = 199 AND reg_gp > 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_26967904_2 (p_max___bar__ INTEGER, f_bolt___kgf__ VARCHAR) ### Question: What is the p max ( bar ) for the 6876 f bolt ( kgf )? ### Answer: SELECT MIN(p_max___bar__) FROM table_26967904_2 WHERE f_bolt___kgf__ = 6876
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1620397_2 (author VARCHAR, series_sorted VARCHAR) ### Question: Name the author for 6y/ae ### Answer: SELECT author FROM table_1620397_2 WHERE series_sorted = "6Y/AE"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2538117_12 (letters VARCHAR, founding_date VARCHAR) ### Question: How many letters were given to the organization with a founding date of 1997-12-12? ### Answer: SELECT COUNT(letters) FROM table_2538117_12 WHERE founding_date = "1997-12-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_68 (lfn_support VARCHAR, name VARCHAR) ### Question: What is the LFN support on Windows NT 3.1? ### Answer: SELECT lfn_support FROM table_name_68 WHERE name = "windows nt 3.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_14460085_3 (team VARCHAR) ### Question: How many points in 87/88 for racing de córdoba? ### Answer: SELECT 1987 AS _88 FROM table_14460085_3 WHERE team = "Racing de Córdoba"
Below is an context that describes a sql 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 (result VARCHAR, city VARCHAR) ### Question: What was the result of the game in halifax? ### Answer: SELECT result FROM table_name_34 WHERE city = "halifax"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Student (Age VARCHAR, Fname VARCHAR, Lname VARCHAR) ### Question: What is the age of student Linda Smith? ### Answer: SELECT Age FROM Student WHERE Fname = "Linda" AND Lname = "Smith"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341663_44 (result VARCHAR, incumbent VARCHAR) ### Question: Name the result when the incumbent was george h. mahon ### Answer: SELECT result FROM table_1341663_44 WHERE incumbent = "George H. Mahon"
Below is an context that describes a sql 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 (gold INTEGER, bronze VARCHAR, total VARCHAR) ### Question: What is the sum of gold values that have bronze values over 0 and totals under 2? ### Answer: SELECT SUM(gold) FROM table_name_34 WHERE bronze > 0 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 table_name_53 (years_as_tallest VARCHAR, floors VARCHAR) ### Question: What were the years the building with 44 floors was tallest? ### Answer: SELECT years_as_tallest FROM table_name_53 WHERE floors = "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_18027411_1 (team___competition VARCHAR) ### Question: how many times did estudiantes de la plata participate in 2008 suruga bank championship ### Answer: SELECT COUNT(2008 AS _suruga_bank_championship) FROM table_18027411_1 WHERE team___competition = "Estudiantes de La Plata"
Below is an context that describes a sql 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 (award VARCHAR, result VARCHAR, nomination VARCHAR) ### Question: Which award was won when the nomination was Senses Around? ### Answer: SELECT award FROM table_name_77 WHERE result = "won" AND nomination = "senses around"
Below is an context that describes a sql 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 (draw INTEGER, points VARCHAR, lost VARCHAR) ### Question: What is the total for the draw with 0 points, and less than 14 lost? ### Answer: SELECT SUM(draw) FROM table_name_15 WHERE points = 0 AND lost < 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_95 (date VARCHAR, result VARCHAR) ### Question: What is the Date when the match Resulted in a draw? ### Answer: SELECT date FROM table_name_95 WHERE result = "draw"
Below is an context that describes a sql 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 (total INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR) ### Question: What is the average total of Gay Brewer from the United States with a to par of 9? ### Answer: SELECT AVG(total) FROM table_name_49 WHERE country = "united states" AND to_par = 9 AND player = "gay brewer"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (crowd INTEGER, away_team VARCHAR) ### Question: Can you tell me the lowest Crowd that has the Away team of melbourne tigers? ### Answer: SELECT MIN(crowd) FROM table_name_24 WHERE away_team = "melbourne tigers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24639086_3 (viewers__in_millions_ VARCHAR, series__number VARCHAR) ### Question: What is the amount of viewers if the series number is 14? ### Answer: SELECT viewers__in_millions_ FROM table_24639086_3 WHERE series__number = 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_69 (date VARCHAR, home_team VARCHAR) ### Question: What date has wrexham as the home team? ### Answer: SELECT date FROM table_name_69 WHERE home_team = "wrexham"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (notes VARCHAR, app_l_c_e_ VARCHAR) ### Question: What is Notes, when App(L/C/E) is 13 (7/2/4)? ### Answer: SELECT notes FROM table_name_89 WHERE app_l_c_e_ = "13 (7/2/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_62 (pick__number INTEGER, position VARCHAR, cfl_team VARCHAR) ### Question: What is the lowest Pick #, when Position is REC, and when CFL Team is Hamilton Tiger-Cats? ### Answer: SELECT MIN(pick__number) FROM table_name_62 WHERE position = "rec" AND cfl_team = "hamilton tiger-cats"
Below is an context that describes a sql 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 (location VARCHAR, time VARCHAR) ### Question: Where was the match held that lasted 3:24? ### Answer: SELECT location FROM table_name_90 WHERE time = "3:24"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22485543_1 (play_by_play VARCHAR, network VARCHAR, ice_level_reporters VARCHAR) ### Question: Who is the play-by-play when nbc is the network and darren pang is the ice level reporters? ### Answer: SELECT play_by_play FROM table_22485543_1 WHERE network = "NBC" AND ice_level_reporters = "Darren Pang"
Below is an context that describes a sql 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 (gameplan VARCHAR, actor_in_original_production VARCHAR) ### Question: Who is the GamePlan when Jacqueline King is the actor in the original production? ### Answer: SELECT gameplan FROM table_name_71 WHERE actor_in_original_production = "jacqueline king"
Below is an context that describes a sql 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 (location VARCHAR, event VARCHAR, time VARCHAR) ### Question: Where was Extreme Challenge 63 with a time of 2:00 held? ### Answer: SELECT location FROM table_name_16 WHERE event = "extreme challenge 63" AND time = "2:00"
Below is an context that describes a sql 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 (place VARCHAR, score VARCHAR, country VARCHAR) ### Question: What is the Place when the score is less than 71, and Country is zimbabwe? ### Answer: SELECT place FROM table_name_86 WHERE score < 71 AND country = "zimbabwe"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (assists INTEGER, games_played INTEGER) ### Question: What is the lowest amount of assists for more than 5 games? ### Answer: SELECT MIN(assists) FROM table_name_24 WHERE games_played > 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_57 (result VARCHAR, nominee_s_ VARCHAR) ### Question: What is the result when the nominee(s) of janine sherman? ### Answer: SELECT result FROM table_name_57 WHERE nominee_s_ = "janine sherman"
Below is an context that describes a sql 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 (pts_ VARCHAR, b_ VARCHAR, reb_ VARCHAR, no_ VARCHAR, a_ VARCHAR) ### Question: What is the points that is more than 636 and has a value of 50? ### Answer: SELECT pts_[b_] FROM table_name_82 WHERE reb_[b_] > 636 AND no_[a_] = "50"
Below is an context that describes a sql 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 (team__number2 VARCHAR) ### Question: what's the first leg with gran canaria as team #2? ### Answer: SELECT 1 AS st_leg FROM table_name_56 WHERE team__number2 = "gran canaria"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE tryout (decision VARCHAR) ### Question: How many students got accepted after the tryout? ### Answer: SELECT COUNT(*) FROM tryout WHERE decision = 'yes'
Below is an context that describes a sql 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 (competition_description VARCHAR, apparatus VARCHAR) ### Question: Which competition description's apparatus was ribbon? ### Answer: SELECT competition_description FROM table_name_46 WHERE apparatus = "ribbon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE campuses (id VARCHAR, campus VARCHAR); CREATE TABLE faculty (campus VARCHAR, year VARCHAR) ### Question: What is the number of faculty lines in campus "Long Beach State University" in 2002? ### Answer: SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2002 AND T2.campus = "Long Beach State University"
Below is an context that describes a sql 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 (score VARCHAR, venue VARCHAR) ### Question: What was the score of the game where the venue was cairns convention centre? ### Answer: SELECT score FROM table_name_54 WHERE venue = "cairns convention centre"
Below is an context that describes a sql 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 (tournament VARCHAR, date VARCHAR) ### Question: What was the tournament that was on july 6, 1987? ### Answer: SELECT tournament FROM table_name_55 WHERE date = "july 6, 1987"
Below is an context that describes a sql 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 (russian VARCHAR, us_customary VARCHAR) ### Question: What is the Russian word for wine glass that contains 4.16 fl. oz.? ### Answer: SELECT russian FROM table_name_14 WHERE us_customary = "4.16 fl. oz."
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25668203_2 (fastest_lap VARCHAR, rnd VARCHAR) ### Question: How many races went for 10 rounds? ### Answer: SELECT COUNT(fastest_lap) FROM table_25668203_2 WHERE rnd = "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_80 (school_club_team VARCHAR, player VARCHAR) ### Question: What is Stephen Thompson's School/Club Team? ### Answer: SELECT school_club_team FROM table_name_80 WHERE player = "stephen thompson"
Below is an context that describes a sql 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 (third VARCHAR, venue VARCHAR, round VARCHAR) ### Question: Who was third during round 6 in Rybinsk? ### Answer: SELECT third FROM table_name_73 WHERE venue = "rybinsk" AND round = "6"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_34 (series VARCHAR, team_name VARCHAR) ### Question: Which Series has a Team Name of sunred engineering? ### Answer: SELECT series FROM table_name_34 WHERE team_name = "sunred engineering"
Below is an context that describes a sql 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 (time_retired VARCHAR, driver VARCHAR) ### Question: What was John Watson's time/retired? ### Answer: SELECT time_retired FROM table_name_46 WHERE driver = "john watson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1213511_7 (nhl_team VARCHAR, college_junior_club_team VARCHAR) ### Question: Which nhl team has a college/junior/club team named university of notre dame (ncaa) ### Answer: SELECT nhl_team FROM table_1213511_7 WHERE college_junior_club_team = "University of Notre Dame (NCAA)"
Below is an context that describes a sql 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 (venue VARCHAR, year VARCHAR, notes VARCHAR) ### Question: Which venue had a note of 3:34.88 after 2003? ### Answer: SELECT venue FROM table_name_32 WHERE year > 2003 AND notes = "3:34.88"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1889233_2 (parliament VARCHAR, name VARCHAR) ### Question: what parliament's name is lina loh woon lee? ### Answer: SELECT parliament FROM table_1889233_2 WHERE name = "Lina Loh Woon Lee"
Below is an context that describes a 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_4 (no_in_season INTEGER, written_by VARCHAR) ### Question: What episode was written by Bobby Bell and Bill Lee? ### Answer: SELECT MAX(no_in_season) FROM table_12226390_4 WHERE written_by = "Bobby Bell and Bill Lee"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15872814_4 (game INTEGER, date VARCHAR) ### Question: Name the most game for december 22 ### Answer: SELECT MAX(game) FROM table_15872814_4 WHERE date = "December 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_26 (away_team VARCHAR) ### Question: What is the Away Team Score of the Collingwood Home Team? ### Answer: SELECT away_team AS score FROM table_name_26 WHERE away_team = "collingwood"
Below is an context that describes a sql 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 (polling_firm VARCHAR, t_papadopoulos VARCHAR) ### Question: Which polling firm put T. Papadopoulos at 31%? ### Answer: SELECT polling_firm FROM table_name_91 WHERE t_papadopoulos = "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_67 (ratio INTEGER, name VARCHAR) ### Question: Which Ratio has a Name of ansi e? ### Answer: SELECT MIN(ratio) FROM table_name_67 WHERE name = "ansi e"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12828723_3 (lost VARCHAR, try_bonus VARCHAR, points_for VARCHAR) ### Question: what's the loss with try bonus being 5 and points for being 390 ### Answer: SELECT lost FROM table_12828723_3 WHERE try_bonus = "5" AND points_for = "390"
Below is an context that describes a sql 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 (lane INTEGER, notes VARCHAR, time___sec__ VARCHAR) ### Question: What is the lane for notes Q, SB and time less than 11.22? ### Answer: SELECT SUM(lane) FROM table_name_31 WHERE notes = "q, sb" AND time___sec__ < 11.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_43 (place VARCHAR, player VARCHAR) ### Question: Where did Celestino Tugot place? ### Answer: SELECT place FROM table_name_43 WHERE player = "celestino tugot"
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR) ### Question: What is the result for the game on May 27, 2006? ### Answer: SELECT result FROM table_name_19 WHERE date = "may 27, 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_56 (tournament VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, date VARCHAR) ### Question: Which Tournament has a Surface of carpet, and a Date smaller than 1995, and an Opponent in the final of ken flach robert seguso? ### Answer: SELECT tournament FROM table_name_56 WHERE surface = "carpet" AND date < 1995 AND opponent_in_the_final = "ken flach robert seguso"
Below is an context that describes a sql 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 (deloria_ VARCHAR, _boas VARCHAR, university_of_minnesota VARCHAR) ### Question: University of Minnesota of ṭ had what Deloria & Boas? ### Answer: SELECT deloria_ & _boas FROM table_name_66 WHERE university_of_minnesota = "ṭ"
Below is an context that describes a sql 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 (year INTEGER, top_goalscorer VARCHAR, goals VARCHAR) ### Question: Name the least year for goalscore of ortiz and goals more than 25 ### Answer: SELECT MIN(year) FROM table_name_81 WHERE top_goalscorer = "ortiz" AND goals > 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_2560677_1 (writer VARCHAR, episode__number VARCHAR) ### Question: How many writers where there for episode # 06? ### Answer: SELECT COUNT(writer) FROM table_2560677_1 WHERE episode__number = "06"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (Id VARCHAR) ### Question: What is 2005, when 1998 is "F", and when 2002 is "2R"? ### Answer: SELECT 2005 FROM table_name_89 WHERE 1998 = "f" AND 2002 = "2r"
Below is an context that describes a sql 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 (surface VARCHAR, opponents VARCHAR) ### Question: What is the surface of the match when the opponent was iryna bremond valeria savinykh? ### Answer: SELECT surface FROM table_name_44 WHERE opponents = "iryna bremond valeria savinykh"
Below is an context that describes a sql 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 (height__cm_ VARCHAR, jersey__number VARCHAR, name VARCHAR) ### Question: How many different Heights (cm) did Mark Fusco have, when his Jersey # was less than 16? ### Answer: SELECT COUNT(height__cm_) FROM table_name_19 WHERE jersey__number < 16 AND name = "mark fusco"
Below is an context that describes a sql 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 (song VARCHAR, place VARCHAR, draw VARCHAR) ### Question: What song is later than place 2 and has a draw number of 1? ### Answer: SELECT song FROM table_name_77 WHERE place > 2 AND draw = 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_66 (date VARCHAR, catalog VARCHAR) ### Question: Name the date with catalog of alca-9198 ### Answer: SELECT date FROM table_name_66 WHERE catalog = "alca-9198"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (games INTEGER, number VARCHAR) ### Question: Which Games↑ is the lowest one that has a Number of 98? ### Answer: SELECT MIN(games) AS ↑ FROM table_name_88 WHERE number = 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_30 (rank VARCHAR, film VARCHAR) ### Question: What is the rank of the film, Amelia and Michael? ### Answer: SELECT rank FROM table_name_30 WHERE film = "amelia and michael"
Below is an context that describes a sql 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 (outcome VARCHAR, date VARCHAR) ### Question: What was the outcome on May 25, 2009? ### Answer: SELECT outcome FROM table_name_55 WHERE date = "may 25, 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_1769428_2 (car__number VARCHAR, winning_driver VARCHAR) ### Question: How many car numbers were listed for Rusty Wallace? ### Answer: SELECT COUNT(car__number) FROM table_1769428_2 WHERE winning_driver = "Rusty Wallace"