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_88 (back VARCHAR, supplier VARCHAR, year VARCHAR) ### Question: Which Back has a Supplier of Kooga and a Year of 2006-2008? ### Answer: SELECT back FROM table_name_88 WHERE supplier = "kooga" AND year = "2006-2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (network VARCHAR, d_erp VARCHAR, callsign VARCHAR) ### Question: What's the network that has a callsign of XHTM and a D ERP of •? ### Answer: SELECT network FROM table_name_1 WHERE d_erp = "•" AND callsign = "xhtm"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, conference VARCHAR) ### Question: How many locations are listed for the Big 12 Conference? ### Answer: SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE conference = "Big 12 conference"
Below is an context that describes a sql 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 (method VARCHAR, opponent VARCHAR) ### Question: What ws the method of resolution for the fight against joe kielur? ### Answer: SELECT method FROM table_name_35 WHERE opponent = "joe kielur"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24330803_1 (poles INTEGER, season VARCHAR) ### Question: How many pole positions were there for the 2011 season? ### Answer: SELECT MAX(poles) FROM table_24330803_1 WHERE season = 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_19 (school_club_team VARCHAR, player VARCHAR) ### Question: What college team did Derek Fisher play for? ### Answer: SELECT school_club_team FROM table_name_19 WHERE player = "derek fisher"
Below is an context that describes a sql 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 (attendance VARCHAR, opponent VARCHAR) ### Question: How many people attended the game against the pittsburgh steelers? ### Answer: SELECT attendance FROM table_name_21 WHERE opponent = "pittsburgh steelers"
Below is an context that describes a sql 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 (television_service VARCHAR, content VARCHAR) ### Question: Which Television service has a Content of general television? ### Answer: SELECT television_service FROM table_name_49 WHERE content = "general television"
Below is an context that describes a sql 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 (pop__2010_ INTEGER, land___sqmi__ VARCHAR, geo_id VARCHAR) ### Question: What is the average population of the township having land of 35.666sqmi and GEO ID over 3807364500? ### Answer: SELECT AVG(pop__2010_) FROM table_name_36 WHERE land___sqmi__ = 35.666 AND geo_id > 3807364500
Below is an context that describes a sql 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 (constructor VARCHAR, time_retired VARCHAR, driver VARCHAR) ### Question: What is the construction of Olivier Panis' car that retired due to a collision? ### Answer: SELECT constructor FROM table_name_23 WHERE time_retired = "collision" AND driver = "olivier panis"
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR, result VARCHAR) ### Question: Who was the opponent before week 3 and a result of w 28-6? ### Answer: SELECT opponent FROM table_name_57 WHERE week < 3 AND result = "w 28-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_2 (country VARCHAR, place VARCHAR, player VARCHAR) ### Question: What country has t6 as the place, with seve ballesteros as the player? ### Answer: SELECT country FROM table_name_2 WHERE place = "t6" AND player = "seve ballesteros"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23286112_8 (team VARCHAR, date VARCHAR) ### Question: Name the team for january 4 ### Answer: SELECT team FROM table_23286112_8 WHERE date = "January 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_57 (spectators VARCHAR, date VARCHAR) ### Question: Name the spectators for 11 november 2011 ### Answer: SELECT spectators FROM table_name_57 WHERE date = "11 november 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_58 (nationality VARCHAR, time VARCHAR) ### Question: What Nationality has a Time of 9:01.70? ### Answer: SELECT nationality FROM table_name_58 WHERE time = "9:01.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_88 (opponent_in_final VARCHAR, date VARCHAR) ### Question: Who is the opponent in the final of the tournament on May 22, 2006? ### Answer: SELECT opponent_in_final FROM table_name_88 WHERE date = "may 22, 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_61 (record VARCHAR, opponent VARCHAR) ### Question: What record has @ detroit as the opponent? ### Answer: SELECT record FROM table_name_61 WHERE opponent = "@ detroit"
Below is an context that describes a sql 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 (to_par VARCHAR, country VARCHAR, score VARCHAR) ### Question: What is the to par for the player from the United States with a 72-67-80-71=290 score? ### Answer: SELECT to_par FROM table_name_14 WHERE country = "united states" AND score = 72 - 67 - 80 - 71 = 290
Below is an context that describes a sql 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 (works_number VARCHAR, type VARCHAR, builder VARCHAR) ### Question: Builder H. K. Porter, inc who had a type of 0-4-4 Forney locomotive, has what works number? ### Answer: SELECT works_number FROM table_name_88 WHERE type = "0-4-4 forney locomotive" AND builder = "h. k. porter, inc"
Below is an context that describes a sql 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 (nationality___opponent VARCHAR, date VARCHAR) ### Question: Name Nationality / Opponent on 10 january 1998? ### Answer: SELECT nationality___opponent FROM table_name_25 WHERE date = "10 january 1998"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (home VARCHAR, date VARCHAR) ### Question: What's the stadium on November 8? ### Answer: SELECT home FROM table_name_26 WHERE date = "november 8"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (solo VARCHAR, total_tackles VARCHAR) ### Question: what is solo when total tackles is 6? ### Answer: SELECT solo FROM table_name_82 WHERE total_tackles = "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_17 (home_team VARCHAR, away_team VARCHAR) ### Question: What is the name of the home team that played against Collingwood? ### Answer: SELECT home_team FROM table_name_17 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_24919137_2 (broadcaster VARCHAR, opposition VARCHAR) ### Question: Which network broadcast the game when the Western Bulldogs played melbourne? ### Answer: SELECT broadcaster FROM table_24919137_2 WHERE opposition = "Melbourne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (high_points VARCHAR, high_rebounds VARCHAR) ### Question: What is High Points, when High Rebounds is "Dwight Howard (16)"? ### Answer: SELECT high_points FROM table_name_8 WHERE high_rebounds = "dwight howard (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_26903214_1 (prize_money VARCHAR, rider VARCHAR) ### Question: How much did Nina Carberry win? ### Answer: SELECT prize_money FROM table_26903214_1 WHERE rider = "Nina Carberry"
Below is an context that describes a sql 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 (place VARCHAR, country VARCHAR, player VARCHAR) ### Question: In what place was Tiger Woods of the United States? ### Answer: SELECT place FROM table_name_68 WHERE country = "united states" AND player = "tiger woods"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (cuts_made INTEGER, tournament VARCHAR, top_5 VARCHAR) ### Question: What is the lowest Cuts made that has a Tournament of PGA Championship, and has a Top-5 that is smaller than 2? ### Answer: SELECT MIN(cuts_made) FROM table_name_50 WHERE tournament = "pga championship" AND top_5 < 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 order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR) ### Question: Find the names of customers who have bought by at least three distinct products. ### Answer: SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id JOIN order_items AS T3 ON T2.order_id = T3.order_id GROUP BY T1.customer_id HAVING COUNT(DISTINCT T3.product_id) >= 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_47 (home_team VARCHAR, away_team VARCHAR) ### Question: What home team played against Fleetwood Town? ### Answer: SELECT home_team FROM table_name_47 WHERE away_team = "fleetwood town"
Below is an context that describes a sql 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 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) ### Question: What Reserved for (SC / ST /None) with a Name of goverdhan? ### Answer: SELECT reserved_for___sc___st__none_ FROM table_name_31 WHERE name = "goverdhan"
Below is an context that describes a sql 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, score VARCHAR) ### Question: On what date was the game that had a score of 7–0? ### Answer: SELECT date FROM table_name_91 WHERE score = "7–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_48 (revised VARCHAR, mccune_reischauer VARCHAR) ### Question: Tell me the revised of mccune reischauer of yŏn (s) ryŏn (n) ### Answer: SELECT revised FROM table_name_48 WHERE mccune_reischauer = "yŏn (s) ryŏn (n)"
Below is an context that describes a sql 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 (source VARCHAR, country VARCHAR, transfer_fee VARCHAR) ### Question: What was the source of an ENG transfer that paid a £1.5m transfer fee? ### Answer: SELECT source FROM table_name_88 WHERE country = "eng" AND transfer_fee = "£1.5m"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (result VARCHAR, award VARCHAR, film VARCHAR) ### Question: What was the result associated with the cinemaa awards, and gabbar singh film? ### Answer: SELECT result FROM table_name_93 WHERE award = "cinemaa awards" AND film = "gabbar singh"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2293402_2 (left VARCHAR, nickname VARCHAR) ### Question: Name the number of left for cardinals ### Answer: SELECT COUNT(left) FROM table_2293402_2 WHERE nickname = "Cardinals"
Below is an context that describes a sql 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, round INTEGER) ### Question: Which player was selected in rounds under 3? ### Answer: SELECT player FROM table_name_33 WHERE round < 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_89 (writer VARCHAR, producer VARCHAR, director VARCHAR) ### Question: Who was the writer that the director was Alice Troughton and the producer was Phil Collinson? ### Answer: SELECT writer FROM table_name_89 WHERE producer = "phil collinson" AND director = "alice troughton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25016555_5 (minutes INTEGER, player VARCHAR) ### Question: When sandy brondello is the player what is the lowest amount of minutes? ### Answer: SELECT MIN(minutes) FROM table_25016555_5 WHERE player = "Sandy Brondello"
Below is an context that describes a sql 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 (state_champions INTEGER, co_champions VARCHAR, mrc_championships VARCHAR, records VARCHAR) ### Question: What is the sum of state champions with more tan 9 MRC Championships, more than 4 co-champions, and a record of 192-189-3? ### Answer: SELECT SUM(state_champions) FROM table_name_72 WHERE mrc_championships > 9 AND records = "192-189-3" AND co_champions > 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_46 (venue VARCHAR, date VARCHAR) ### Question: Which Venue has a Date of 21 june 2000? ### Answer: SELECT venue FROM table_name_46 WHERE date = "21 june 2000"
Below is an context that describes a sql 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 (tournament VARCHAR) ### Question: In which tournament did Pauline Parmentier finish LQ in 2007? ### Answer: SELECT tournament FROM table_name_34 WHERE 2007 = "lq"
Below is an context that describes a sql 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 (democratic VARCHAR, incumbent VARCHAR) ### Question: Who was the Democratic when then Incumbent was Christopher Shays? ### Answer: SELECT democratic FROM table_name_40 WHERE incumbent = "christopher shays"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: Which 2006 has a 2007 of A? ### Answer: SELECT 2006 FROM table_name_98 WHERE 2007 = "a"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (rider VARCHAR, speed VARCHAR) ### Question: Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph? ### Answer: SELECT rider FROM table_name_78 WHERE speed = "86.15mph"
Below is an context that describes a sql 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 (crowd VARCHAR, venue VARCHAR) ### Question: What is the total number of the crowd at Glenferrie Oval? ### Answer: SELECT COUNT(crowd) FROM table_name_28 WHERE venue = "glenferrie oval"
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR, location VARCHAR) ### Question: What was the date of the tournament in Scotland with a score of 270 (–18)? ### Answer: SELECT date FROM table_name_71 WHERE score = "270 (–18)" AND location = "scotland"
Below is an context that describes a sql 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 (name VARCHAR, status VARCHAR, moving_to VARCHAR) ### Question: What is the name listed for the country that has a status of loaned and a moving to listed as leyton orient? ### Answer: SELECT name FROM table_name_57 WHERE status = "loaned" AND moving_to = "leyton orient"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18594107_1 (points INTEGER, team VARCHAR) ### Question: What is the least number of poins for San Lorenzo? ### Answer: SELECT MIN(points) FROM table_18594107_1 WHERE team = "San Lorenzo"
Below is an context that describes a sql 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 (tournament VARCHAR) ### Question: What is 2007, when Tournament is "Madrid"? ### Answer: SELECT 2007 FROM table_name_27 WHERE tournament = "madrid"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27091128_2 (replaced_by VARCHAR, team VARCHAR) ### Question: Who replaced the previous manager of Altay? ### Answer: SELECT replaced_by FROM table_27091128_2 WHERE team = "Altay"
Below is an context that describes a 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_2 (population__2002_ VARCHAR, population__2011_ VARCHAR) ### Question: What is the number of 2002 populations having a 2011 population of exactly 5399? ### Answer: SELECT COUNT(population__2002_) FROM table_2562572_2 WHERE population__2011_ = 5399
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20871703_1 (player_name VARCHAR, college VARCHAR) ### Question: Who is the player for south carolina college? ### Answer: SELECT player_name FROM table_20871703_1 WHERE college = "South Carolina"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (winning_driver VARCHAR, round VARCHAR) ### Question: Name the winning driver for round 7 ### Answer: SELECT winning_driver FROM table_name_24 WHERE round = 7
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (match_report VARCHAR, date VARCHAR) ### Question: What is the match report of the match on 20 August? ### Answer: SELECT match_report FROM table_name_12 WHERE date = "20 august"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28677723_14 (trine_dehli_cleve INTEGER, style VARCHAR) ### Question: Name the trine dehli cleve for english waltz ### Answer: SELECT MIN(trine_dehli_cleve) FROM table_28677723_14 WHERE style = "English Waltz"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10953197_4 (no_in_season VARCHAR, production_code VARCHAR) ### Question: What's the number of the episode with production code 2395118? ### Answer: SELECT no_in_season FROM table_10953197_4 WHERE production_code = "2395118"
Below is an context that describes a sql 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 (competition VARCHAR, time VARCHAR) ### Question: What competition is at 23:00 cet? ### Answer: SELECT competition FROM table_name_91 WHERE time = "23:00 cet"
Below is an context that describes a sql 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 VARCHAR, points VARCHAR, chassis VARCHAR) ### Question: Which year had 0 points and an AGS JH23B chassis? ### Answer: SELECT year FROM table_name_81 WHERE points = 0 AND chassis = "ags jh23b"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE participants (participant_type_code VARCHAR) ### Question: What is the most common participant type? ### Answer: SELECT participant_type_code FROM participants GROUP BY participant_type_code ORDER BY COUNT(*) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (total_goals VARCHAR, league_cup_goals INTEGER) ### Question: How many Total Goals values have 0 League Cup Goals? ### Answer: SELECT COUNT(total_goals) FROM table_name_27 WHERE league_cup_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_1342331_5 (district VARCHAR, incumbent VARCHAR) ### Question: what's the district with incumbent being william j. driver ### Answer: SELECT district FROM table_1342331_5 WHERE incumbent = "William J. Driver"
Below is an context that describes a sql 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 (rank VARCHAR, county VARCHAR, mine VARCHAR) ### Question: What rank is the Silver Bell mine of Pima county? ### Answer: SELECT rank FROM table_name_56 WHERE county = "pima" AND mine = "silver bell"
Below is an context that describes a sql 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 (co_drivers VARCHAR, laps VARCHAR, pos VARCHAR) ### Question: Who were the co-drivers with more than 377 laps in 1st position? ### Answer: SELECT co_drivers FROM table_name_62 WHERE laps > 377 AND pos = "1st"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12303563_2 (runners_up VARCHAR, nation VARCHAR) ### Question: what's the runners-up with nation being malaysia ### Answer: SELECT runners_up FROM table_12303563_2 WHERE nation = "Malaysia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_97 (lane INTEGER, time VARCHAR) ### Question: In what lane did the swimmer get a time of 1:59.42? ### Answer: SELECT SUM(lane) FROM table_name_97 WHERE time = "1:59.42"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18303274_1 (fastest_lap VARCHAR, grand_prix VARCHAR) ### Question: Who had the fastest lap in the Dutch TT Grand Prix? ### Answer: SELECT fastest_lap FROM table_18303274_1 WHERE grand_prix = "Dutch TT"
Below is an context that describes a sql 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 (division VARCHAR, coach VARCHAR) ### Question: In which division were the IceGators when coached by Todd Gordon? ### Answer: SELECT division FROM table_name_24 WHERE coach = "todd gordon"
Below is an context that describes a sql 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, position VARCHAR, name VARCHAR) ### Question: In what year of school is the forward Iman McFarland? ### Answer: SELECT year FROM table_name_90 WHERE position = "forward" AND name = "iman mcfarland"
Below is an context that describes a sql 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 (opposition VARCHAR, stadium VARCHAR, attendance VARCHAR) ### Question: Who's the opposition at westpac stadium when the attendance is 31,853? ### Answer: SELECT opposition FROM table_name_56 WHERE stadium = "westpac stadium" AND attendance = "31,853"
Below is an context that describes a sql 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 (tournament VARCHAR, winning_score VARCHAR) ### Question: Which tournament had a winning score of −5 (69-69-73=211)? ### Answer: SELECT tournament FROM table_name_37 WHERE winning_score = −5(69 - 69 - 73 = 211)
Below is an context that describes a sql 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 (games INTEGER, team VARCHAR, rebounds VARCHAR) ### Question: How many games did team iurbentia bilbao have with rebounds higher than 212? ### Answer: SELECT SUM(games) FROM table_name_27 WHERE team = "iurbentia bilbao" AND rebounds > 212
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30121096_1 (townland VARCHAR, civil_parish VARCHAR, area__acres__ VARCHAR) ### Question: How many townlands are there for caheragh and is larger than 270 acres? ### Answer: SELECT COUNT(townland) FROM table_30121096_1 WHERE civil_parish = "Caheragh" AND area__acres__ = 270
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28178756_1 (date VARCHAR, driver VARCHAR) ### Question: On what day did tommy ellis drive? ### Answer: SELECT date FROM table_28178756_1 WHERE driver = "Tommy Ellis"
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR) ### Question: WHAT SCORE HAD A RECORD OF 1-1? ### Answer: SELECT score FROM table_name_42 WHERE record = "1-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_8 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) ### Question: What shows for bronze when silver is 1, rank is smaller than 4, and gold is larger than 1? ### Answer: SELECT SUM(bronze) FROM table_name_8 WHERE silver = 1 AND rank < 4 AND gold > 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_71 (poll VARCHAR, april_14 VARCHAR) ### Question: What Poll was on April 14 of 13? ### Answer: SELECT poll FROM table_name_71 WHERE april_14 = "13"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29219286_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) ### Question: How many people wrote episode 9 in the season that was directed by Ernest Dickerson? ### Answer: SELECT COUNT(written_by) FROM table_29219286_1 WHERE directed_by = "Ernest Dickerson" AND no_in_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_25642873_2 (extra_points VARCHAR, player VARCHAR) ### Question: How many extra points catagories are there for the na player? ### Answer: SELECT COUNT(extra_points) FROM table_25642873_2 WHERE player = "na"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR) ### Question: What is the Away team when the home team was wycombe wanderers? ### Answer: SELECT away_team FROM table_name_9 WHERE home_team = "wycombe wanderers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22597626_2 (surface VARCHAR, opponents_in_the_final VARCHAR) ### Question: What is the surface made of if the opponent in the final is Hewitt McMillan? ### Answer: SELECT surface FROM table_22597626_2 WHERE opponents_in_the_final = "Hewitt McMillan"
Below is an context that describes a sql 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 (circuit VARCHAR, championship VARCHAR) ### Question: The 2001 NASCAR Winston Cup Series championship has what has a circuit? ### Answer: SELECT circuit FROM table_name_16 WHERE championship = "2001 nascar winston cup 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_10236830_4 (actors_name VARCHAR, nomination VARCHAR, country VARCHAR) ### Question: Which actor from Serbia was nominated for best actor in a supporting role? ### Answer: SELECT actors_name FROM table_10236830_4 WHERE nomination = "Best Actor in a Supporting Role" AND country = "Serbia"
Below is an context that describes a 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 (hanja VARCHAR, province VARCHAR) ### Question: What is the hanja for the province of "sangju"? ### Answer: SELECT hanja FROM table_160510_1 WHERE province = "Sangju"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (number INTEGER, name VARCHAR, weight VARCHAR) ### Question: Name of byron geis, and a Weight smaller than 195 involves what average number? ### Answer: SELECT AVG(number) FROM table_name_63 WHERE name = "byron geis" AND weight < 195
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_47 (substrate VARCHAR, omim VARCHAR) ### Question: Which substrate has an OMIM of 176000? ### Answer: SELECT substrate FROM table_name_47 WHERE omim = 176000
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_225102_4 (reason_for_change VARCHAR, district VARCHAR) ### Question: Name the reason for change pennsylvania 13th ### Answer: SELECT reason_for_change FROM table_225102_4 WHERE district = "Pennsylvania 13th"
Below is an context that describes a sql 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 (attendance INTEGER, opponent VARCHAR) ### Question: How much Attendance has an Opponent of oxford united? ### Answer: SELECT SUM(attendance) FROM table_name_58 WHERE opponent = "oxford united"
Below is an context that describes a sql 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 (erp_w VARCHAR, call_sign VARCHAR) ### Question: What is the ERP W with a call sign at w261cq? ### Answer: SELECT erp_w FROM table_name_19 WHERE call_sign = "w261cq"
Below is an context that describes a sql 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 (imperfect_stem VARCHAR, meaning VARCHAR) ### Question: What is the imperfect stem of the word that means 'take away, remove'? ### Answer: SELECT imperfect_stem FROM table_name_74 WHERE meaning = "'take away, remove'"
Below is an context that describes a sql 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 (date VARCHAR, opponent VARCHAR) ### Question: Opponent of denver broncos happened on what date? ### Answer: SELECT date FROM table_name_88 WHERE opponent = "denver broncos"
Below is an context that describes a sql 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, to_par VARCHAR, country VARCHAR) ### Question: What is the score of the player with a To Par of +1 from Spain? ### Answer: SELECT score FROM table_name_54 WHERE to_par = "+1" AND country = "spain"
Below is an context that describes a sql 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 (date VARCHAR, loss VARCHAR) ### Question: Name the date for Loss of schilling (5–2) ### Answer: SELECT date FROM table_name_31 WHERE loss = "schilling (5–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 list (classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) ### Question: How many students does LORIA ONDERSMA teaches? ### Answer: SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "LORIA" AND T2.lastname = "ONDERSMA"
Below is an context that describes a sql 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 (track VARCHAR, distance VARCHAR, race VARCHAR) ### Question: What is the race with the track distance of 6 furlongs and spectacular bid stakes? ### Answer: SELECT track FROM table_name_29 WHERE distance = "6 furlongs" AND race = "spectacular bid 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_1226250_1 (partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR) ### Question: How long does thromboplastin last when prothrombin is unaffected? ### Answer: SELECT partial_thromboplastin_time FROM table_1226250_1 WHERE bleeding_time = "Unaffected" AND prothrombin_time = "Unaffected"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2221374_3 (original_air_date VARCHAR, directed_by VARCHAR, production_code VARCHAR) ### Question: What date was the episode originally aired that was directed by James Widdoes and the production code is 320? ### Answer: SELECT original_air_date FROM table_2221374_3 WHERE directed_by = "James Widdoes" AND production_code = 320
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE buildings (name VARCHAR, id VARCHAR); CREATE TABLE Office_locations (building_id VARCHAR, company_id VARCHAR); CREATE TABLE Companies (name VARCHAR, id VARCHAR) ### Question: List the name of a building along with the name of a company whose office is in the building. ### Answer: SELECT T3.name, T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_69 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) ### Question: What is the average grid number for cars that retired due to engine failure before 18 laps? ### Answer: SELECT AVG(grid) FROM table_name_69 WHERE time_retired = "engine" AND laps < 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_63 (comp VARCHAR, games INTEGER) ### Question: What is the comp for games less than 2? ### Answer: SELECT comp FROM table_name_63 WHERE games < 2