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_23 (record VARCHAR, date VARCHAR, event VARCHAR) ### Question: What is the record for the 400 m event on 4 september 2009? ### Answer: SELECT record FROM table_name_23 WHERE date = "4 september 2009" AND event = "400 m"
Below is an context that describes a sql 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 (method VARCHAR, event VARCHAR) ### Question: The UFC 44 event has what method? ### Answer: SELECT method FROM table_name_98 WHERE event = "ufc 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_17355743_1 (directed_by VARCHAR, written_by VARCHAR) ### Question: Name who directed the episode by joe sachs and david zabel ### Answer: SELECT directed_by FROM table_17355743_1 WHERE written_by = "Joe Sachs and David Zabel"
Below is an context that describes a sql 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 (october VARCHAR, july VARCHAR) ### Question: Name the october for july of kimberley stanfield ### Answer: SELECT october FROM table_name_71 WHERE july = "kimberley stanfield"
Below is an context that describes a sql 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 (bronze INTEGER, nation VARCHAR, silver VARCHAR, total VARCHAR) ### Question: What is the lowest number of bronze medals with less than 2 silver medals and more than 1 medal in total for Uzbekistan? ### Answer: SELECT MIN(bronze) FROM table_name_95 WHERE silver < 2 AND total > 1 AND nation = "uzbekistan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1427998_1 (regular_season VARCHAR, playoffs VARCHAR) ### Question: Where did the team finish in the season when the playoff result was divisional finals. ### Answer: SELECT regular_season FROM table_1427998_1 WHERE playoffs = "divisional Finals"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29418619_1 (hometown VARCHAR, name VARCHAR) ### Question: What is the hometown of Jarrid Famous? ### Answer: SELECT hometown FROM table_29418619_1 WHERE name = "Jarrid Famous"
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR) ### Question: What is Dave Rummells's to par? ### Answer: SELECT to_par FROM table_name_22 WHERE player = "dave rummells"
Below is an context that describes a sql 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 (round VARCHAR, college VARCHAR) ### Question: In how many rounds of the draft was there a college from Georgia involved? ### Answer: SELECT COUNT(round) FROM table_name_94 WHERE college = "georgia"
Below is an context that describes a sql 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 (week INTEGER, opponent VARCHAR, attendance VARCHAR) ### Question: What was the average week for the gaime against the philadelphia eagles with less than 31,066 in attendance? ### Answer: SELECT AVG(week) FROM table_name_14 WHERE opponent = "philadelphia eagles" AND attendance < 31 OFFSET 066
Below is an context that describes a sql 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 (ihsaa_class VARCHAR, mascot VARCHAR) ### Question: Which IHSAA Class has a Mascot of bulldogs? ### Answer: SELECT ihsaa_class FROM table_name_10 WHERE mascot = "bulldogs"
Below is an context that describes a sql 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 (fictional_narrator VARCHAR, published_as_serial VARCHAR) ### Question: Which Fictional narrator has a Published as serial of february–july 1912, all-story? ### Answer: SELECT fictional_narrator FROM table_name_63 WHERE published_as_serial = "february–july 1912, all-story"
Below is an context that describes a sql 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 (attendance INTEGER, result VARCHAR, week VARCHAR) ### Question: Which Attendance has a Result of w 24-14, and a Week smaller than 7? ### Answer: SELECT SUM(attendance) FROM table_name_2 WHERE result = "w 24-14" AND week < 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_55 (theme VARCHAR, design VARCHAR) ### Question: What is the Theme with a Design with sputnik design partners? ### Answer: SELECT theme FROM table_name_55 WHERE design = "sputnik design partners"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14310205_1 (team VARCHAR, conmebol_1996 VARCHAR) ### Question: what is the number of teams where conmebol 1996 did not qualify? ### Answer: SELECT COUNT(team) FROM table_14310205_1 WHERE conmebol_1996 = "did not qualify"
Below is an context that describes a sql 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 (denomination VARCHAR, year VARCHAR) ### Question: What denomination was produced in 2006? ### Answer: SELECT denomination FROM table_name_80 WHERE year = 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_1 (score VARCHAR, date VARCHAR) ### Question: What is the score on 5 October 2004? ### Answer: SELECT score FROM table_name_1 WHERE date = "5 october 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_7 (round VARCHAR, edition VARCHAR, opponent_team VARCHAR, outcome VARCHAR) ### Question: What is Round, when Opponent Team is Slovakia, when Outcome is Loser, and when Edition is greater than 2010? ### Answer: SELECT round FROM table_name_7 WHERE opponent_team = "slovakia" AND outcome = "loser" AND edition > 2010
Below is an context that describes a sql 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 (year INTEGER, result VARCHAR) ### Question: Tell me the sum of year for 5th result ### Answer: SELECT SUM(year) FROM table_name_12 WHERE result = "5th"
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR) ### Question: Who scored 67-73-70=210? ### Answer: SELECT player FROM table_name_93 WHERE score = 67 - 73 - 70 = 210
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23575917_2 (davids_team VARCHAR, first_broadcast VARCHAR) ### Question: Name the davids team for 8 august 2008 ### Answer: SELECT davids_team FROM table_23575917_2 WHERE first_broadcast = "8 August 2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26824484_1 (original_air_date VARCHAR, production_code VARCHAR) ### Question: What date did the episode with production code 3aky05 air? ### Answer: SELECT original_air_date FROM table_26824484_1 WHERE production_code = "3AKY05"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR) ### Question: How much money did reestore request ? ### Answer: SELECT money_requested__£_ FROM table_name_59 WHERE company_or_product_name = "reestore"
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR, game_site VARCHAR) ### Question: Name the result for week less than 7 and game sites of los angeles memorial coliseum ### Answer: SELECT result FROM table_name_25 WHERE week < 7 AND game_site = "los angeles memorial coliseum"
Below is an context that describes a sql 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 (director_s_ VARCHAR, date VARCHAR) ### Question: What directors won an award on 14/6/6? ### Answer: SELECT director_s_ FROM table_name_98 WHERE date = "14/6/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_16278602_1 (_2008_ VARCHAR, population__january_1 INTEGER, largest_city VARCHAR) ### Question: What is the minimum population of the region in which Roskilde is the largest city? ### Answer: SELECT MIN(population__january_1), _2008_ FROM table_16278602_1 WHERE largest_city = "Roskilde"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668352_11 (incumbent VARCHAR, district VARCHAR) ### Question: Name the incumbent for new york 10 ### Answer: SELECT incumbent FROM table_2668352_11 WHERE district = "New York 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_53 (ranking INTEGER, nationality VARCHAR, years VARCHAR) ### Question: What was the average ranking of Saudi Arabia in the years of 2000–? ### Answer: SELECT AVG(ranking) FROM table_name_53 WHERE nationality = "saudi arabia" AND years = "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_12454156_1 (prize_money VARCHAR, runner_up VARCHAR) ### Question: What was the total prize money where John Tabatabai was the runner-up? ### Answer: SELECT prize_money FROM table_12454156_1 WHERE runner_up = "John Tabatabai"
Below is an context that describes a sql 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 (bus_width__bits_ INTEGER, designation VARCHAR) ### Question: Designation of pc800 has which highest Bus width (bits)? ### Answer: SELECT MAX(bus_width__bits_) FROM table_name_51 WHERE designation = "pc800"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_75 (away_team VARCHAR, home_team VARCHAR) ### Question: What was the score for the away team when the home team was richmond? ### Answer: SELECT away_team AS score FROM table_name_75 WHERE home_team = "richmond"
Below is an context that describes a sql 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 (nationality VARCHAR, pick__number VARCHAR) ### Question: What nationality is the #63 pick? ### Answer: SELECT nationality FROM table_name_72 WHERE pick__number = "63"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE medication (name VARCHAR) ### Question: List the names of all distinct medications, ordered in an alphabetical order. ### Answer: SELECT DISTINCT name FROM medication ORDER BY name
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_99 (date VARCHAR, game_site VARCHAR, week VARCHAR) ### Question: Name the date for week more than 1 and game site of bye ### Answer: SELECT date FROM table_name_99 WHERE game_site = "bye" AND week > 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_13 (icao VARCHAR, city VARCHAR) ### Question: What is the ICAO of Douala city? ### Answer: SELECT icao FROM table_name_13 WHERE city = "douala"
Below is an context that describes a sql 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 (engine VARCHAR, driver VARCHAR, entrant VARCHAR) ### Question: what was the engine when ken downing drove an entrant from connaught engineering? ### Answer: SELECT engine FROM table_name_37 WHERE driver = "ken downing" AND entrant = "connaught 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_40 (record VARCHAR, home VARCHAR) ### Question: what game was in chicago ### Answer: SELECT record FROM table_name_40 WHERE home = "chicago"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Ref_Shipping_Agents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR) ### Question: List document id of documents status is done and document type is Paper and the document is shipped by shipping agent named USPS. ### Answer: SELECT document_id FROM Documents WHERE document_status_code = "done" AND document_type_code = "Paper" INTERSECT SELECT document_id FROM Documents JOIN Ref_Shipping_Agents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Ref_Shipping_Agents.shipping_agent_name = "USPS"
Below is an context that describes a sql 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 (iata VARCHAR, airport VARCHAR) ### Question: What is the IATA for the chennai international airport? ### Answer: SELECT iata FROM table_name_96 WHERE airport = "chennai international airport"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19897294_11 (no_in_season VARCHAR, no_in_series VARCHAR) ### Question: What episode in the season was episode us17 in the series? ### Answer: SELECT COUNT(no_in_season) FROM table_19897294_11 WHERE no_in_series = "US17"
Below is an context that describes a sql 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 (country VARCHAR, season VARCHAR, team VARCHAR) ### Question: Which country does FC Atyrau represent after the 2006 season? ### Answer: SELECT country FROM table_name_67 WHERE season > 2006 AND team = "fc atyrau"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, no_in_series VARCHAR) ### Question: How many million U.S. viewers watched episode number 6 in the series? ### Answer: SELECT us_viewers__million_ FROM table_25668962_1 WHERE no_in_series = 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 student_course_attendance (student_id VARCHAR, course_id VARCHAR, date_of_attendance VARCHAR) ### Question: What is the id of the student who most recently registered course 301? ### Answer: SELECT student_id FROM student_course_attendance WHERE course_id = 301 ORDER BY date_of_attendance 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 Rating (mID VARCHAR, stars VARCHAR); CREATE TABLE Movie (title VARCHAR, year VARCHAR, mID VARCHAR) ### Question: What are the names and years of the movies that has the top 3 highest rating star? ### Answer: SELECT T2.title, T2.year FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID ORDER BY T1.stars DESC LIMIT 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_28540539_2 (release VARCHAR) ### Question: What's the release date in the 1.1.10 release? ### Answer: SELECT release AS date FROM table_28540539_2 WHERE release = "1.1.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_51 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR) ### Question: How many tickets were sold / available for the venue that had a gross revenue of $333,100 in 2011? ### Answer: SELECT tickets_sold___available FROM table_name_51 WHERE gross_revenue__2011_ = "$333,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_name_87 (segment_a VARCHAR, episode VARCHAR) ### Question: What's the segment A in episode 42? ### Answer: SELECT segment_a FROM table_name_87 WHERE episode = 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_100518_1 (direction VARCHAR, weapon VARCHAR) ### Question: What are the directions for the guardian whose weapon is khaḍga (sword)? ### Answer: SELECT direction FROM table_100518_1 WHERE weapon = "Khaḍga (sword)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28723146_2 (total INTEGER) ### Question: What is the least total? ### Answer: SELECT MIN(total) FROM table_28723146_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_19 (d_49_√ VARCHAR, d_41_√ VARCHAR) ### Question: What is the D 49 √ number when the D 41 √ is d 61 √? ### Answer: SELECT d_49_√ FROM table_name_19 WHERE d_41_√ = "d 61 √"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_39 (area__km²_ INTEGER, pop VARCHAR) ### Question: Which Area (km²) is the lowest one that has a Population of 17,089? ### Answer: SELECT MIN(area__km²_) FROM table_name_39 WHERE pop = 17 OFFSET 089
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2603017_2 (b___bishop VARCHAR, ab___angry_boar VARCHAR) ### Question: what is b - bishop where ab - angry boar is vw - vertical wolf? ### Answer: SELECT b___bishop FROM table_2603017_2 WHERE ab___angry_boar = "VW - Vertical Wolf"
Below is an context that describes a sql 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 (total INTEGER, rank VARCHAR, tally VARCHAR) ### Question: What is the sum of totals for ranks under 3 with tallies of 2-5? ### Answer: SELECT SUM(total) FROM table_name_94 WHERE rank < 3 AND tally = "2-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_90 (club_province VARCHAR, caps VARCHAR) ### Question: Which club has 1 cap? ### Answer: SELECT club_province FROM table_name_90 WHERE caps = 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_78 (commissioned VARCHAR, ship_name VARCHAR) ### Question: When was the ship BRP Miguel Malvar commissioned? ### Answer: SELECT commissioned FROM table_name_78 WHERE ship_name = "brp miguel malvar"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (score VARCHAR, home_team VARCHAR) ### Question: What was the score when the home team was goole town? ### Answer: SELECT score FROM table_name_84 WHERE home_team = "goole 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 (tournament VARCHAR, extra VARCHAR) ### Question: In what tournament was there an extra of 400 m hurdles? ### Answer: SELECT tournament FROM table_name_31 WHERE extra = "400 m hurdles"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19215259_1 (location VARCHAR, frequency VARCHAR) ### Question: Where is the frequency 92.3mhz? ### Answer: SELECT location FROM table_19215259_1 WHERE frequency = "92.3MHz"
Below is an context that describes a sql 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 (result VARCHAR, bowl_game VARCHAR) ### Question: What result has 1947 sun bowl as the bowl game? ### Answer: SELECT result FROM table_name_81 WHERE bowl_game = "1947 sun bowl"
Below is an context that describes a sql 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 (launched VARCHAR, laid_down VARCHAR) ### Question: What is Launched, when Laid Down is "31 October 1981"? ### Answer: SELECT launched FROM table_name_63 WHERE laid_down = "31 october 1981"
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: What was the record on 6 April 2008? ### Answer: SELECT record FROM table_name_20 WHERE date = "6 april 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_20 (wheelbase VARCHAR, body_styles VARCHAR) ### Question: What wheelbase has sport coupe (4p.) as the body style? ### Answer: SELECT wheelbase FROM table_name_20 WHERE body_styles = "sport coupe (4p.)"
Below is an context that describes a sql 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 (grid INTEGER, manufacturer VARCHAR, laps VARCHAR) ### Question: What is the average grid for vehicles manufactured by Aprilia and having run more than 16 laps? ### Answer: SELECT AVG(grid) FROM table_name_2 WHERE manufacturer = "aprilia" AND laps > 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_27293285_6 (club VARCHAR, lost VARCHAR) ### Question: Which club lost exactly 7 matches? ### Answer: SELECT club FROM table_27293285_6 WHERE lost = "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 college (Leader_Name VARCHAR, College_Location VARCHAR) ### Question: Show the leader names and locations of colleges. ### Answer: SELECT Leader_Name, College_Location FROM college
Below is an context that describes a sql 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 (year VARCHAR, competition VARCHAR) ### Question: In which year did he compete in the Universiade? ### Answer: SELECT year FROM table_name_21 WHERE competition = "universiade"
Below is an context that describes a 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_3 (goals INTEGER) ### Question: What is the most amount of goals any of the players had? ### Answer: SELECT MAX(goals) FROM table_23963781_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_26702078_1 (production_code VARCHAR, no_in_series VARCHAR) ### Question: Name the production code for 60 number in series ### Answer: SELECT production_code FROM table_26702078_1 WHERE no_in_series = 60
Below is an context that describes a sql 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 (championship INTEGER, league_cup INTEGER) ### Question: Which Championship has a League Cup smaller than 0? ### Answer: SELECT AVG(championship) FROM table_name_14 WHERE league_cup < 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_16799784_7 (latitude VARCHAR, longitude VARCHAR) ### Question: what is the latitude of the feature of longitude 80.0e ### Answer: SELECT latitude FROM table_16799784_7 WHERE longitude = "80.0E"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11727969_1 (peru_vs_world__percent_ INTEGER, species_in_the_world VARCHAR) ### Question: what's the maximum peru vs. world (percent) with 9672 species in the world  ### Answer: SELECT MAX(peru_vs_world__percent_) FROM table_11727969_1 WHERE species_in_the_world = 9672
Below is an context that describes a sql 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 (class_a VARCHAR, school_year VARCHAR) ### Question: For what Class A is the school year 1987-88? ### Answer: SELECT class_a FROM table_name_24 WHERE school_year = "1987-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_name_76 (laid_down VARCHAR, name VARCHAR) ### Question: What is the date the Fubuki ship laid down? ### Answer: SELECT laid_down FROM table_name_76 WHERE name = "fubuki"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11622562_1 (winner VARCHAR, tournament VARCHAR) ### Question: What's the winner of the Painewebber Invitational tournament? ### Answer: SELECT winner FROM table_11622562_1 WHERE tournament = "PaineWebber Invitational"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13741576_6 (club VARCHAR, points_for VARCHAR) ### Question: What club has 536 points for? ### Answer: SELECT club FROM table_13741576_6 WHERE points_for = "536"
Below is an context that describes a sql 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 (category_1 INTEGER, category_3 VARCHAR) ### Question: What's the sum of all values in category 1 when category 3 is equal to 300? ### Answer: SELECT SUM(category_1) FROM table_name_89 WHERE category_3 = "300"
Below is an context that describes a sql 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 (round INTEGER, time VARCHAR, opponent VARCHAR) ### Question: What was the round that Sergio Vinagre had a time of 5:00? ### Answer: SELECT MAX(round) FROM table_name_36 WHERE time = "5:00" AND opponent = "sergio vinagre"
Below is an context that describes 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 (Advisor VARCHAR) ### Question: Report all advisors that advise more than 2 students. ### Answer: SELECT Advisor FROM STUDENT GROUP BY Advisor HAVING COUNT(*) > 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 Faculty (rank VARCHAR, sex VARCHAR) ### Question: Show all the ranks and the number of male and female faculty for each rank. ### Answer: SELECT rank, sex, COUNT(*) FROM Faculty GROUP BY rank, sex
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (males VARCHAR, language VARCHAR) ### Question: How many males speak Russian? ### Answer: SELECT males FROM table_name_3 WHERE language = "russian"
Below is an context that describes a sql 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 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR) ### Question: Who were the Opponents in the final in the match with a Score in the final of 1–6, 6–3, 2–6? ### Answer: SELECT opponents_in_the_final FROM table_name_22 WHERE score_in_the_final = "1–6, 6–3, 2–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_86 (manufacturer_serial_numbers VARCHAR, year_s__withdrawn VARCHAR) ### Question: What is the manufacturer serial number of the 1963 withdrawn year? ### Answer: SELECT manufacturer_serial_numbers FROM table_name_86 WHERE year_s__withdrawn = "1963"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28891101_3 (census_2006_population VARCHAR, area__km_2__ VARCHAR) ### Question: What is the 2006 census population when the area is 159? ### Answer: SELECT COUNT(census_2006_population) FROM table_28891101_3 WHERE area__km_2__ = 159
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR) ### Question: What is Score, when Date is January 12? ### Answer: SELECT score FROM table_name_37 WHERE date = "january 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_15780718_6 (high_rebounds VARCHAR, score VARCHAR) ### Question: Name for the high rebounds when score is w 105–91 (ot) ### Answer: SELECT high_rebounds FROM table_15780718_6 WHERE score = "W 105–91 (OT)"
Below is an context that describes a sql 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 (purse___us_ INTEGER, country VARCHAR) ### Question: What was sweden's purse in USD? ### Answer: SELECT SUM(purse___us_) AS $__ FROM table_name_58 WHERE country = "sweden"
Below is an context that describes a sql 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 (goals INTEGER, leeds_career VARCHAR, appearances VARCHAR) ### Question: What is the average number of goals for a player who had a Leeds career from 1960–1964 and made fewer than 120 appearances? ### Answer: SELECT AVG(goals) FROM table_name_68 WHERE leeds_career = "1960–1964" AND appearances < 120
Below is an context that describes a sql 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 (score VARCHAR, home VARCHAR) ### Question: What was the score of the game with the Broadview Hawks as the home team? ### Answer: SELECT score FROM table_name_97 WHERE home = "broadview hawks"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) ### Question: How many silver medals did spain have when they had more than 0 bronze medals and less than 54 total medals? ### Answer: SELECT silver FROM table_name_7 WHERE bronze > 0 AND total < 54 AND nation = "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_41 (data VARCHAR, percent_gain VARCHAR) ### Question: Name the data with a percent gain of 28.4% ### Answer: SELECT data FROM table_name_41 WHERE percent_gain = "28.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_4 (overall INTEGER, position VARCHAR, round VARCHAR) ### Question: What was the overall pick for the player who was a guard and had a round less than 9? ### Answer: SELECT AVG(overall) FROM table_name_4 WHERE position = "guard" AND round < 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 farm (Cows INTEGER) ### Question: What are the maximum and minimum number of cows across all farms. ### Answer: SELECT MAX(Cows), MIN(Cows) FROM farm
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341640_43 (result VARCHAR, first_elected VARCHAR) ### Question: Election results of 1976 ### Answer: SELECT result FROM table_1341640_43 WHERE first_elected = 1976
Below is an context that describes a sql 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 (silver INTEGER, total VARCHAR, gold VARCHAR) ### Question: What is the least amount of silvers for a team with less than 4 golds and less than 5 total medals? ### Answer: SELECT MIN(silver) FROM table_name_17 WHERE total < 5 AND gold < 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_2076463_2 (location_s_ VARCHAR, control VARCHAR, founded VARCHAR) ### Question: where would you find a public university which was founded in 1915? ### Answer: SELECT location_s_ FROM table_2076463_2 WHERE control = "Public university" AND founded = 1915
Below is an context that describes a sql 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 (version VARCHAR, remixed_by VARCHAR, length VARCHAR) ### Question: What Version has a Remixed by Perky Park with a Length of 6:38? ### Answer: SELECT version FROM table_name_29 WHERE remixed_by = "perky park" AND length = "6: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_58 (Id VARCHAR) ### Question: What 2009 has lq as the 2011? ### Answer: SELECT 2009 FROM table_name_58 WHERE 2011 = "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_45 (venue VARCHAR, home_team VARCHAR) ### Question: Which Venue has a Home team of geelong? ### Answer: SELECT venue FROM table_name_45 WHERE home_team = "geelong"
Below is an context that describes a sql 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 (laps VARCHAR, driver VARCHAR, grid VARCHAR, points VARCHAR) ### Question: How many laps are associated with a grid greater than 8, under 11 points, and will power? ### Answer: SELECT COUNT(laps) FROM table_name_29 WHERE grid > 8 AND points < 11 AND driver = "will power"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30018460_1 (manhunt_international VARCHAR, country_territory VARCHAR) ### Question: How many manhunt beauty contets have been held in france? ### Answer: SELECT manhunt_international FROM table_30018460_1 WHERE country_territory = "France"