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_44 (tally VARCHAR, opposition VARCHAR, county VARCHAR, total VARCHAR) ### Question: What is the tally in Kilkenny county with 10 as the total and opposition of Waterford? ### Answer: SELECT tally FROM table_name_44 WHERE county = "kilkenny" AND total = 10 AND opposition = "waterford"
Below is an context that describes a sql 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 (winning_team VARCHAR, round VARCHAR) ### Question: Who was the winning team for round 3? ### Answer: SELECT winning_team FROM table_name_1 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_27 (name VARCHAR, decile VARCHAR, roll VARCHAR) ### Question: Which school has a decile of 8 and a roll of 705? ### Answer: SELECT name FROM table_name_27 WHERE decile = 8 AND roll = 705
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE match_season (College VARCHAR) ### Question: Show the name of colleges that have at least two players in descending alphabetical order. ### Answer: SELECT College FROM match_season GROUP BY College HAVING COUNT(*) >= 2 ORDER BY College DESC
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_6 (player VARCHAR, round VARCHAR, nationality VARCHAR) ### Question: What player has a round larger than 1 in Austria? ### Answer: SELECT player FROM table_name_6 WHERE round > 1 AND nationality = "austria"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR) ### Question: Find the name of customers who have loans of both Mortgages and Auto. ### Answer: SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE loan_type = 'Mortgages' INTERSECT SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE loan_type = 'Auto'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28498999_3 (to_par VARCHAR, after VARCHAR) ### Question: What is the to par when the after is 33? ### Answer: SELECT to_par FROM table_28498999_3 WHERE after = 33
Below is an context that describes a sql 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 (council_area VARCHAR, urban_sub_area VARCHAR) ### Question: What is the council area for the Larkhall urban sub-area? ### Answer: SELECT council_area FROM table_name_51 WHERE urban_sub_area = "larkhall"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15190346_2 (stadium VARCHAR, attendance VARCHAR) ### Question: What is the stadium where the attendance was 75,406? ### Answer: SELECT stadium FROM table_15190346_2 WHERE attendance = "75,406"
Below is an context that describes a sql 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 (first_edition VARCHAR, isbn VARCHAR) ### Question: Which first edition has an ISBN of 978-0785166252? ### Answer: SELECT first_edition FROM table_name_50 WHERE isbn = "978-0785166252"
Below is an context that describes a sql 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 (points VARCHAR, entrant VARCHAR, chassis VARCHAR) ### Question: How many points did the ATS Wheels entrant with an ATS D2 chassis have? ### Answer: SELECT points FROM table_name_14 WHERE entrant = "ats wheels" AND chassis = "ats d2"
Below is an context that describes a sql 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 (standard VARCHAR, pollutant VARCHAR, averaging_time VARCHAR) ### Question: what is the standard when the pollutant is o 3 and averaging time is 8-hour? ### Answer: SELECT standard FROM table_name_79 WHERE pollutant = "o 3" AND averaging_time = "8-hour"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_228973_5 (no_in_series INTEGER, original_air_date VARCHAR) ### Question: What episode number in the series originally aired on April 27, 1999? ### Answer: SELECT MAX(no_in_series) FROM table_228973_5 WHERE original_air_date = "April 27, 1999"
Below is an context that describes a sql 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 (density__people_km_2__ VARCHAR, area__km_2__ VARCHAR, population__2012_ VARCHAR) ### Question: What is the density of an area that is 1.38km and has a population more than 12924? ### Answer: SELECT COUNT(density__people_km_2__) FROM table_name_95 WHERE area__km_2__ > 1.38 AND population__2012_ > 12924
Below is an context that describes a sql 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 (round INTEGER, school_club_team VARCHAR) ### Question: In what round was a player from Michigan selected? ### Answer: SELECT MAX(round) FROM table_name_54 WHERE school_club_team = "michigan"
Below is an context that describes a sql 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 (game INTEGER, result VARCHAR) ### Question: what is the game when the result is new zealand by 4 wickets? ### Answer: SELECT MAX(game) FROM table_name_25 WHERE result = "new zealand by 4 wickets"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (operating_system_version VARCHAR, storage___flash__ VARCHAR) ### Question: Which operating system has a storage (flash) of 128MB? ### Answer: SELECT operating_system_version FROM table_name_18 WHERE storage___flash__ = "128mb"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28802165_1 (s_acre VARCHAR, townland VARCHAR) ### Question: How many acres is the townland of Maddenstown Middle? ### Answer: SELECT s_acre FROM table_28802165_1 WHERE townland = "Maddenstown Middle"
Below is an context that describes a sql 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 (round VARCHAR, position VARCHAR) ### Question: What is the total round of the tight end position player? ### Answer: SELECT COUNT(round) FROM table_name_66 WHERE position = "tight end"
Below is an context that describes a sql 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 (quantity_made VARCHAR, class VARCHAR) ### Question: How many CLASS P14 trains were made? ### Answer: SELECT quantity_made FROM table_name_2 WHERE class = "p14"
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR) ### Question: When the Away team is melbourne, what's the lowest Crowd attended? ### Answer: SELECT MIN(crowd) FROM table_name_42 WHERE away_team = "melbourne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_85 (district VARCHAR, name VARCHAR) ### Question: What district is the parish Milburn in? ### Answer: SELECT district FROM table_name_85 WHERE name = "milburn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22514845_5 (reporters VARCHAR, race_caller VARCHAR, s_analyst VARCHAR) ### Question: Name the reporters for dave johnson for eddie arcaro and howard cosell ### Answer: SELECT reporters FROM table_22514845_5 WHERE race_caller = "Dave Johnson" AND s_analyst = "Eddie Arcaro and Howard Cosell"
Below is an context that describes a sql 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 (leading_scorer VARCHAR, visitor VARCHAR) ### Question: Who was the leading scorer against the visiting team Bulls? ### Answer: SELECT leading_scorer FROM table_name_96 WHERE visitor = "bulls"
Below is an context that describes a sql 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 (result VARCHAR, record VARCHAR, game VARCHAR, streak VARCHAR) ### Question: Which Result has a Game smaller than 37, and a Streak of lost 1, and a Record of 4-9? ### Answer: SELECT result FROM table_name_40 WHERE game < 37 AND streak = "lost 1" AND record = "4-9"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (position VARCHAR, round VARCHAR, pick VARCHAR) ### Question: What position after round 8 has a pick less than 270? ### Answer: SELECT position FROM table_name_67 WHERE round > 8 AND pick < 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_24193494_3 (division VARCHAR, powertrain__engine_transmission_ VARCHAR) ### Question: Name the division for detroit diesel series 50egr allison wb-400r ### Answer: SELECT division FROM table_24193494_3 WHERE powertrain__engine_transmission_ = "Detroit Diesel Series 50EGR Allison WB-400R"
Below is an context that describes a sql 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 (best_blocker VARCHAR, league_champion VARCHAR, cantsleep_award VARCHAR) ### Question: Who was the best blocker for the year that has a League Champion of queens of pain, and a C.A.N.T.S.L.E.E.P. Award of chassis crass (brooklyn)? ### Answer: SELECT best_blocker FROM table_name_94 WHERE league_champion = "queens of pain" AND cantsleep_award = "chassis crass (brooklyn)"
Below is an context that describes a sql 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 (home VARCHAR, club VARCHAR) ### Question: What is the home record for the Auxerre club? ### Answer: SELECT home FROM table_name_34 WHERE club = "auxerre"
Below is an context that describes a sql 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 (rank INTEGER, name VARCHAR) ### Question: What is the lowest rank of Citigroup? ### Answer: SELECT MIN(rank) FROM table_name_67 WHERE name = "citigroup"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13505192_3 (production_code INTEGER, season_number VARCHAR) ### Question: What is the production code for season episode 8? ### Answer: SELECT MIN(production_code) FROM table_13505192_3 WHERE season_number = 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_17 (silver VARCHAR, location VARCHAR) ### Question: What Silver has the Location of Guangzhou? ### Answer: SELECT silver FROM table_name_17 WHERE location = "guangzhou"
Below is an context that describes a 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_2 (points_for VARCHAR, club VARCHAR) ### Question: How many points for did Munster have? ### Answer: SELECT points_for FROM table_27293285_2 WHERE club = "Munster"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11256021_1 (founder VARCHAR, date VARCHAR) ### Question: who is the founder where date is c. 1900 ### Answer: SELECT founder FROM table_11256021_1 WHERE date = "c. 1900"
Below is an context that describes a sql 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 (points VARCHAR, lost VARCHAR) ### Question: Name the points with lost of 19 ### Answer: SELECT points FROM table_name_96 WHERE lost = "19"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27700375_11 (high_rebounds VARCHAR, location_attendance VARCHAR) ### Question: Name the high rebounds for wells fargo center 16,695 ### Answer: SELECT high_rebounds FROM table_27700375_11 WHERE location_attendance = "Wells Fargo Center 16,695"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (home_team VARCHAR, tie_no VARCHAR) ### Question: What home team has 27 as the tie no.? ### Answer: SELECT home_team FROM table_name_64 WHERE tie_no = "27"
Below is an context that describes a sql 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 (losses INTEGER, wins VARCHAR, ties VARCHAR) ### Question: what is the average losses when the wins is 9 and ties more than 0? ### Answer: SELECT AVG(losses) FROM table_name_10 WHERE wins = 9 AND ties > 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_38 (position VARCHAR, player VARCHAR, goals VARCHAR, tries VARCHAR) ### Question: With 0 Goals and less than 1 Tries, what is Matt James position? ### Answer: SELECT position FROM table_name_38 WHERE goals = "0" AND tries < 1 AND player = "matt james"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: what is 1955 when 1961 is n/a? ### Answer: SELECT 1955 FROM table_name_78 WHERE 1961 = "n/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 Faculty (rank VARCHAR) ### Question: For each faculty rank, show the number of faculty members who have it. ### Answer: SELECT rank, COUNT(*) FROM Faculty GROUP BY rank
Below is an context that describes a sql 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 (result VARCHAR, attendance INTEGER) ### Question: What is the result of the game with an attendance greater than 67,702? ### Answer: SELECT result FROM table_name_71 WHERE attendance > 67 OFFSET 702
Below is an context that describes a sql 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 (games VARCHAR, drawn VARCHAR, lost VARCHAR) ### Question: Which Games have a Drawn smaller than 1, and a Lost smaller than 1? ### Answer: SELECT games FROM table_name_91 WHERE drawn < 1 AND lost < 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_53 (year INTEGER, title VARCHAR) ### Question: What is the sum of Year, when Title is "Mnet Director's Cut"? ### Answer: SELECT SUM(year) FROM table_name_53 WHERE title = "mnet director's cut"
Below is an context that describes a sql 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 (chassis VARCHAR, entrant VARCHAR, year VARCHAR) ### Question: Which Chassis has an Entrant of cooper car company, and a Year of 1963? ### Answer: SELECT chassis FROM table_name_26 WHERE entrant = "cooper car company" AND year = 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_16575609_4 (pick__number INTEGER, cfl_team VARCHAR) ### Question: Name the most pick number for cfl team being edmonton eskimos ### Answer: SELECT MAX(pick__number) FROM table_16575609_4 WHERE cfl_team = "Edmonton Eskimos"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19412902_2 (pos INTEGER) ### Question: What is the lowest position? ### Answer: SELECT MAX(pos) FROM table_19412902_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_21 (to_par VARCHAR, score VARCHAR) ### Question: What was the to par of the player of who scored 70-70=140? ### Answer: SELECT to_par FROM table_name_21 WHERE score = 70 - 70 = 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_53 (rank INTEGER, nation VARCHAR, silver VARCHAR) ### Question: Which Rank has a Nation of south korea, and a Silver larger than 0? ### Answer: SELECT SUM(rank) FROM table_name_53 WHERE nation = "south korea" AND silver > 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_89 (pilot VARCHAR, record_description VARCHAR, date VARCHAR) ### Question: Record description of maximum load to m (ft), and a Date of 23 september 1961 is what pilot? ### Answer: SELECT pilot FROM table_name_89 WHERE record_description = "maximum load to m (ft)" AND date = "23 september 1961"
Below is an context that describes a sql 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 (college_junior_club_team VARCHAR, player VARCHAR) ### Question: Tell me the college for jason holland ### Answer: SELECT college_junior_club_team FROM table_name_2 WHERE player = "jason holland"
Below is an context that describes a sql 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 (silver INTEGER, rank VARCHAR, total VARCHAR) ### Question: What is the total number of silver medals for countries of rank 14, with less than 1 total medals? ### Answer: SELECT SUM(silver) FROM table_name_66 WHERE rank = "14" AND total < 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_26669939_1 (year INTEGER) ### Question: What was the most recent year? ### Answer: SELECT MAX(year) FROM table_26669939_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_24538587_11 (socket VARCHAR, brand_name__list_ VARCHAR) ### Question: What is the sockets associated with a brand name of Core i3-3xx0m? ### Answer: SELECT socket FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-3xx0M"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27862483_3 (_number VARCHAR, date VARCHAR) ### Question: How many different numbers are there for the game played on April 23? ### Answer: SELECT COUNT(_number) FROM table_27862483_3 WHERE date = "April 23"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (episode VARCHAR, budget VARCHAR) ### Question: Which episode of Top Gear had a budget of £7,000? ### Answer: SELECT episode FROM table_name_35 WHERE budget = "£7,000"
Below is an context that describes a sql 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 (team VARCHAR, location_attendance VARCHAR, score VARCHAR) ### Question: Which team was the opponent that had a location of Madison Square Garden with a score of 87-83? ### Answer: SELECT team FROM table_name_10 WHERE location_attendance = "madison square garden" AND score = "87-83"
Below is an context that describes a sql 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 (almalı__qax_ VARCHAR, süskən VARCHAR) ### Question: What is the Almali village with the Süskən village zərnə? ### Answer: SELECT almalı__qax_ FROM table_name_77 WHERE süskən = "zərnə"
Below is an context that describes a sql 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 (trainer VARCHAR, time VARCHAR) ### Question: Who trained the horse with time of 1:09.40? ### Answer: SELECT trainer FROM table_name_24 WHERE time = "1:09.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_64 (location VARCHAR, result VARCHAR) ### Question: Where was the game which ended in a 4-1 w? ### Answer: SELECT location FROM table_name_64 WHERE result = "4-1 w"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (matches INTEGER, player VARCHAR, total VARCHAR) ### Question: With a Total of less than 29, what is Ian Ryan's most Matches? ### Answer: SELECT MAX(matches) FROM table_name_31 WHERE player = "ian ryan" AND total < 29
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_97 (country VARCHAR, network VARCHAR) ### Question: Which Country has a Network of channel 1? ### Answer: SELECT country FROM table_name_97 WHERE network = "channel 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_33 (pos VARCHAR, player VARCHAR) ### Question: What is Pos., when Player is "Nigel De Jong"? ### Answer: SELECT pos FROM table_name_33 WHERE player = "nigel de jong"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10960039_1 (pick__number INTEGER, college VARCHAR) ### Question: What is McMaster College's pick number? ### Answer: SELECT MIN(pick__number) FROM table_10960039_1 WHERE college = "McMaster"
Below is an context that describes a sql 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 (gold VARCHAR, nation VARCHAR) ### Question: Tell me the gold for netherlands ### Answer: SELECT gold FROM table_name_20 WHERE nation = "netherlands"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20592988_1 (condition VARCHAR, platelet_count VARCHAR, prothrombin_time VARCHAR) ### Question: In what conditions are both the platelet count and prothrombin time unaffected? ### Answer: SELECT condition FROM table_20592988_1 WHERE platelet_count = "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_142950_1 (established INTEGER, location VARCHAR) ### Question: What is the year leicester was established? ### Answer: SELECT MAX(established) FROM table_142950_1 WHERE location = "Leicester"
Below is an context that describes a sql 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 (result VARCHAR, venue VARCHAR, date VARCHAR) ### Question: What is the result of the game played in Russia on May 9, 2012? ### Answer: SELECT result FROM table_name_1 WHERE venue = "russia" AND date = "may 9, 2012"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (byes VARCHAR, wins VARCHAR, losses VARCHAR) ### Question: Can you tell me the total number of Byes that has the Wins of 14, and the Losses larger than 2? ### Answer: SELECT COUNT(byes) FROM table_name_80 WHERE wins = 14 AND losses > 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_41 (first_title VARCHAR, wins VARCHAR, country VARCHAR) ### Question: Which First title has Wins smaller than 8 and in Canada? ### Answer: SELECT COUNT(first_title) FROM table_name_41 WHERE wins < 8 AND country = "canada"
Below is an context that describes a sql 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 (class__old__to_1868 VARCHAR, quantity INTEGER) ### Question: Can you tell me the Class (old) to 1868 that has the Quantity larger than 8? ### Answer: SELECT class__old__to_1868 FROM table_name_47 WHERE quantity > 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_6 (round INTEGER, name VARCHAR) ### Question: What is the highest round number for donnie caraway? ### Answer: SELECT MAX(round) FROM table_name_6 WHERE name = "donnie caraway"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE cinema (Id VARCHAR) ### Question: How many cinema do we have? ### Answer: SELECT COUNT(*) FROM cinema
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_5 (foundation VARCHAR, name_in_english VARCHAR) ### Question: What is the foundation for the institution whose name in English is tanjung puteri technical secondary school? ### Answer: SELECT foundation FROM table_name_5 WHERE name_in_english = "tanjung puteri technical secondary school"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11447995_2 (liscumb VARCHAR, gauthier VARCHAR) ### Question: What is the Liscumb when Gauthier is 34? ### Answer: SELECT liscumb FROM table_11447995_2 WHERE gauthier = "34"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28884858_2 (team VARCHAR, capacity_percentage VARCHAR) ### Question: What team had a capacity of 102.3%? ### Answer: SELECT team FROM table_28884858_2 WHERE capacity_percentage = "102.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_21 (location VARCHAR, year VARCHAR, international_captain VARCHAR) ### Question: what is the location when the year is less than 1998 and the international captain is david graham? ### Answer: SELECT location FROM table_name_21 WHERE year < 1998 AND international_captain = "david graham"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (time VARCHAR, name VARCHAR) ### Question: What is Park Tae-Hwan's final time? ### Answer: SELECT time FROM table_name_3 WHERE name = "park tae-hwan"
Below is an context that describes a sql 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 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) ### Question: What Tournament had a Victory of 1 Stroke with a Winning score of –16 (67-66-70-69=272)? ### Answer: SELECT tournament FROM table_name_71 WHERE margin_of_victory = "1 stroke" AND winning_score = –16(67 - 66 - 70 - 69 = 272)
Below is an context that describes a sql 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 (distance VARCHAR, type VARCHAR) ### Question: What is the distance for the team time trial? ### Answer: SELECT distance FROM table_name_26 WHERE type = "team time trial"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2522473_1 (home_city VARCHAR, home_ground VARCHAR) ### Question: What Home city has the home ground Klepp stadion? ### Answer: SELECT home_city FROM table_2522473_1 WHERE home_ground = "Klepp Stadion"
Below is an context that describes a sql 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 (fatalities VARCHAR, time VARCHAR) ### Question: What number of Fatalties is associated with the Time of 12:38:46? ### Answer: SELECT fatalities FROM table_name_78 WHERE time = "12:38:46"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12094300_1 (swimsuit VARCHAR, average VARCHAR) ### Question: What is the score for swimsuit when the average is 8.791? ### Answer: SELECT swimsuit FROM table_12094300_1 WHERE average = "8.791"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_65 (played VARCHAR, lost VARCHAR) ### Question: Name the played with lost of 5 ### Answer: SELECT played FROM table_name_65 WHERE lost = "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_12113888_1 (number VARCHAR, rebuilt VARCHAR) ### Question: How many times was the rebuilt data cannot handle non-empty timestamp argument! 1934? ### Answer: SELECT COUNT(number) FROM table_12113888_1 WHERE rebuilt = "Cannot handle non-empty timestamp argument! 1934"
Below is an context that describes a sql 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 (silver VARCHAR, nation VARCHAR) ### Question: How many silver medals does China have? ### Answer: SELECT COUNT(silver) FROM table_name_93 WHERE nation = "china"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR) ### Question: What is the location attendance of the game on February 25? ### Answer: SELECT location_attendance FROM table_name_52 WHERE date = "february 25"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_99 (points INTEGER, february VARCHAR, game VARCHAR, score VARCHAR) ### Question: Which Points have a Game smaller than 60, and a Score of 2–0, and a February larger than 1? ### Answer: SELECT AVG(points) FROM table_name_99 WHERE game < 60 AND score = "2–0" AND february > 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_37 (week VARCHAR, attendance VARCHAR) ### Question: Which week's game had an attendance of 90,138? ### Answer: SELECT week FROM table_name_37 WHERE attendance = "90,138"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22824324_2 (three_pointers INTEGER, player VARCHAR) ### Question: What is the lowest number of three pointers in games that kendall gill played? ### Answer: SELECT MIN(three_pointers) FROM table_22824324_2 WHERE player = "Kendall Gill"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25519358_1 (horizontal_0_a VARCHAR, name VARCHAR) ### Question: Name the horizontal 0 for 通 tong ### Answer: SELECT horizontal_0_a FROM table_25519358_1 WHERE name = "通 TONG"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: Can you tell me the 2009 that has the 2011 of A? ### Answer: SELECT 2009 FROM table_name_50 WHERE 2011 = "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_56 (position VARCHAR, lost VARCHAR, points VARCHAR, drawn VARCHAR) ### Question: What is the total number of positions for teams with more than 5 points, 3 draws, and under 2 losses? ### Answer: SELECT COUNT(position) FROM table_name_56 WHERE points > 5 AND drawn = 3 AND lost < 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_99 (place INTEGER, goals_scored VARCHAR, draw VARCHAR) ### Question: What is the highest place that has a draw entry smaller than 6 and goal score of 28? ### Answer: SELECT MAX(place) FROM table_name_99 WHERE goals_scored = 28 AND draw < 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_44 (d_43 VARCHAR, d_41 VARCHAR) ### Question: What is the D43 associated with a D41 of r 21? ### Answer: SELECT d_43 FROM table_name_44 WHERE d_41 = "r 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_99 (votes__gib_ INTEGER, _percentage__gib_ VARCHAR, seats VARCHAR) ### Question: What is the sum of votes of the party with a % of 0.53 and more than 0 seats? ### Answer: SELECT SUM(votes__gib_) FROM table_name_99 WHERE _percentage__gib_ = 0.53 AND seats > 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_49 (conv VARCHAR, pens VARCHAR, player VARCHAR) ### Question: How many conversions did Severo Koroduadua Waqanibau have when he has 0 pens? ### Answer: SELECT conv FROM table_name_49 WHERE pens = "0" AND player = "severo koroduadua waqanibau"
Below is an context that describes a sql 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 (bronze VARCHAR, silver INTEGER) ### Question: What is the total of bronze that has more silvers than 2? ### Answer: SELECT COUNT(bronze) FROM table_name_15 WHERE silver > 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27914076_1 (callsign VARCHAR, coverage VARCHAR) ### Question: Name the callsign for davao mindanao region ### Answer: SELECT callsign FROM table_27914076_1 WHERE coverage = "Davao Mindanao Region"
Below is an context that describes a sql 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 (points INTEGER, year INTEGER) ### Question: Name the sum of points for 1984 ### Answer: SELECT SUM(points) FROM table_name_95 WHERE year < 1984