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_29026564_9 (result VARCHAR, score VARCHAR) ### Question: How many different results were there for the scores 6–7 (2–7) , 6–2, 7–6 (7–3)? ### Answer: SELECT COUNT(result) FROM table_29026564_9 WHERE score = "6–7 (2–7) , 6–2, 7–6 (7–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 AIRLINES (Abbreviation VARCHAR, Airline VARCHAR) ### Question: What is the abbreviation of Airline "JetBlue Airways"? ### Answer: SELECT Abbreviation FROM AIRLINES WHERE Airline = "JetBlue Airways"
Below is an context that describes a sql 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 (elimination VARCHAR, wrestler VARCHAR) ### Question: What is the Elimination move listed against Regal? ### Answer: SELECT elimination AS Move FROM table_name_28 WHERE wrestler = "regal"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2402864_1 (open_cup VARCHAR, year VARCHAR) ### Question: What was the Open Cup results for the year 2003? ### Answer: SELECT open_cup FROM table_2402864_1 WHERE year = 2003
Below is an context that describes a sql 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 (new_entries_this_round VARCHAR, phase VARCHAR, winners_from_previous_round VARCHAR) ### Question: How many new entries are there for a second phase that has 4 winners from previous rounds? ### Answer: SELECT new_entries_this_round FROM table_name_71 WHERE phase = "second phase" AND winners_from_previous_round = "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_70 (decile INTEGER, name VARCHAR) ### Question: What is the smallest decile with a Name of st mary's catholic school? ### Answer: SELECT MIN(decile) FROM table_name_70 WHERE name = "st mary's catholic 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_name_82 (tns_sofres_5_26_09 VARCHAR, ipsos_5_25_09 VARCHAR) ### Question: Which TNS-Sofres 5/26/09 has an Ipsos 5/25/09 of 1%? ### Answer: SELECT tns_sofres_5_26_09 FROM table_name_82 WHERE ipsos_5_25_09 = "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 (base_pairs INTEGER, genes VARCHAR) ### Question: What is the average number of base pairs with 784 genes? ### Answer: SELECT AVG(base_pairs) FROM table_name_53 WHERE genes = 784
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23495048_2 (age VARCHAR, represent VARCHAR) ### Question: How many contestants where from mitteldeutschland? ### Answer: SELECT COUNT(age) FROM table_23495048_2 WHERE represent = "Mitteldeutschland"
Below is an context that describes a sql 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 (champion VARCHAR, year VARCHAR) ### Question: What is the Champion with a Year that is 2008? ### Answer: SELECT champion FROM table_name_65 WHERE year = 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 exhibition_record (date VARCHAR, attendance VARCHAR, exhibition_id VARCHAR); CREATE TABLE exhibition (theme VARCHAR, exhibition_id VARCHAR, year VARCHAR) ### Question: What is the theme, date, and attendance for the exhibition in year 2004? ### Answer: SELECT T2.theme, T1.date, T1.attendance FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T2.year = 2004
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_74 (draft INTEGER, player VARCHAR) ### Question: What is the lowest Draft, when Player is "Dave Christian Category:Articles with hCards"? ### Answer: SELECT MIN(draft) FROM table_name_74 WHERE player = "dave christian category:articles with hcards"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21486890_1 (innings VARCHAR, runs_scored VARCHAR) ### Question: Name the innings for 5088 runs scored ### Answer: SELECT COUNT(innings) FROM table_21486890_1 WHERE runs_scored = 5088
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Person (name VARCHAR, age INTEGER); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR) ### Question: Find the name of the person who has friends with age above 40 and under age 30? ### Answer: SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age > 40) INTERSECT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age < 30)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_221375_1 (parishes VARCHAR, province_of_1936 VARCHAR) ### Question: Name the parishes for beira baixa province ### Answer: SELECT COUNT(parishes) FROM table_221375_1 WHERE province_of_1936 = "Beira Baixa Province"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29127804_3 (surface VARCHAR, location VARCHAR) ### Question: what is the material of the surface in noida , uttar pradesh, india ### Answer: SELECT surface FROM table_29127804_3 WHERE location = "Noida , Uttar Pradesh, India"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_83 (opponent VARCHAR, result VARCHAR) ### Question: What opponent has l 27-7 as the result? ### Answer: SELECT opponent FROM table_name_83 WHERE result = "l 27-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 country (GNP INTEGER, population INTEGER, GovernmentForm VARCHAR) ### Question: What is the average GNP and total population in all nations whose government is US territory? ### Answer: SELECT AVG(GNP), SUM(population) FROM country WHERE GovernmentForm = "US Territory"
Below is an context that describes a sql 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 (opp_team VARCHAR, score VARCHAR) ### Question: Who was the opposing team in the game with a score of 21-17? ### Answer: SELECT opp_team FROM table_name_49 WHERE score = "21-17"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22834834_3 (surface VARCHAR, score_in_the_final VARCHAR) ### Question: Which surfaces have the final score of 6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)? ### Answer: SELECT surface FROM table_22834834_3 WHERE score_in_the_final = "6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–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_2 (total INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR) ### Question: What is the average total medals of the soviet union, which has more than 2 bronze and more than 0 silver medals? ### Answer: SELECT AVG(total) FROM table_name_2 WHERE bronze > 2 AND silver > 0 AND nation = "soviet union"
Below is an context that describes a sql 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 (tennessee VARCHAR, georgia VARCHAR) ### Question: What is the Tennessee that Georgia of kevin butler is in? ### Answer: SELECT tennessee FROM table_name_27 WHERE georgia = "kevin butler"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Shop_ID VARCHAR) ### Question: Show names of shops that have more than one kind of device in stock. ### Answer: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID HAVING COUNT(*) > 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_1137707_2 (location VARCHAR, fastest_lap VARCHAR) ### Question: What is the location of thierry boutsen? ### Answer: SELECT location FROM table_1137707_2 WHERE fastest_lap = "Thierry Boutsen"
Below is an context that describes a sql 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 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR) ### Question: Which Number of electorates (2009) has 188 Constituents? ### Answer: SELECT number_of_electorates__2009_ FROM table_name_93 WHERE constituency_number = "188"
Below is an context that describes a sql 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 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) ### Question: What is the lowest laps that has a manufacturer of yamaha, and a time/retired of +1:08.312, and a grid less than 20? ### Answer: SELECT MIN(laps) FROM table_name_4 WHERE manufacturer = "yamaha" AND time_retired = "+1:08.312" AND grid < 20
Below is an context that describes a sql 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 (no_units INTEGER, name VARCHAR, no_blocks VARCHAR) ### Question: What is the average No Units, when the Name is Fung Shing Court, and when the No Blocks is fewer than 3? ### Answer: SELECT AVG(no_units) FROM table_name_99 WHERE name = "fung shing court" AND no_blocks < 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_3 (martin_mcguinness VARCHAR, seán_gallagher VARCHAR) ### Question: What is the Martin mcGuinness with a Sean Gallagher that is 29.6%? ### Answer: SELECT martin_mcguinness FROM table_name_3 WHERE seán_gallagher = "29.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_76 (wins INTEGER, byes INTEGER) ### Question: What is the highest number of wins when there are more than 2 byes? ### Answer: SELECT MAX(wins) FROM table_name_76 WHERE byes > 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_1 (temperature_rating VARCHAR, temperature_classification VARCHAR) ### Question: What is the temperature rating of the intermediate temperature classification? ### Answer: SELECT temperature_rating FROM table_name_1 WHERE temperature_classification = "intermediate"
Below is an context that describes a sql 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 (sergey_filimonov___kaz__ VARCHAR) ### Question: What shows for Sergey Filimonov (KAZ) when the Snatch shows snatch? ### Answer: SELECT sergey_filimonov___kaz__ FROM table_name_69 WHERE "snatch" = "snatch"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (date VARCHAR, winning_driver VARCHAR) ### Question: When was pedro rodríguez the winning driver? ### Answer: SELECT date FROM table_name_77 WHERE winning_driver = "pedro rodríguez"
Below is an context that describes a sql 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 (cpu_speed VARCHAR, type VARCHAR) ### Question: What is the CPU speed(s) of the New Plus type hardware? ### Answer: SELECT cpu_speed FROM table_name_74 WHERE type = "new plus"
Below is an context that describes a sql 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 (fate VARCHAR, nationality VARCHAR) ### Question: What was Yugoslavia's fate? ### Answer: SELECT fate FROM table_name_56 WHERE nationality = "yugoslavia"
Below is an context that describes a 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_18 (district VARCHAR, incumbent VARCHAR) ### Question: What district has Riley Joseph Wilson as the incumbent? ### Answer: SELECT district FROM table_1342331_18 WHERE incumbent = "Riley Joseph Wilson"
Below is an context that describes a sql 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 (location VARCHAR, result VARCHAR) ### Question: What was the location of the match that had a result of 3-3? ### Answer: SELECT location FROM table_name_13 WHERE result = "3-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_68 (pick__number VARCHAR, player VARCHAR) ### Question: what is the pick # for william loftus? ### Answer: SELECT pick__number FROM table_name_68 WHERE player = "william loftus"
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR) ### Question: What is the to par of player bobby nichols? ### Answer: SELECT to_par FROM table_name_94 WHERE player = "bobby nichols"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28019988_5 (series__number INTEGER) ### Question: What is the highest numbered episode in the series? ### Answer: SELECT MAX(series__number) FROM table_28019988_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_70 (year INTEGER, movie VARCHAR, awards VARCHAR) ### Question: In what year was the movie 8 women up for a César Award? ### Answer: SELECT MIN(year) FROM table_name_70 WHERE movie = "8 women" AND awards = "césar award"
Below is an context that describes a sql 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 (joined INTEGER, nickname VARCHAR, enrollment VARCHAR) ### Question: Which Joined has a Nickname of knights, and an Enrollment larger than 2,960? ### Answer: SELECT SUM(joined) FROM table_name_61 WHERE nickname = "knights" AND enrollment > 2 OFFSET 960
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27708484_3 (elevation VARCHAR, city VARCHAR) ### Question: what is the elevation for port elizabeth? ### Answer: SELECT elevation FROM table_27708484_3 WHERE city = "Port Elizabeth"
Below is an context that describes a sql 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 (mean_free_path VARCHAR, vacuum_range VARCHAR) ### Question: What is Mean Free Path, when Vacuum Range is "medium vacuum"? ### Answer: SELECT mean_free_path FROM table_name_28 WHERE vacuum_range = "medium vacuum"
Below is an context that describes a sql 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 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR) ### Question: Which Alliance Constituency has Seamus Close, position 2 and an election smaller than 1997? ### Answer: SELECT constituency FROM table_name_41 WHERE party = "alliance" AND election < 1997 AND position = 2 AND candidate = "seamus close"
Below is an context that describes a sql 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 (country VARCHAR, year VARCHAR) ### Question: What country had a winner in 1907? ### Answer: SELECT country FROM table_name_55 WHERE year = 1907
Below is an context that describes a sql 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 (date VARCHAR, circuit VARCHAR) ### Question: Name the date for pescara ### Answer: SELECT date FROM table_name_76 WHERE circuit = "pescara"
Below is an context that describes a sql 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 (rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) ### Question: What is Rank, when Silver is less than 6, when Bronze is greater than 4, and when Total is 10? ### Answer: SELECT rank FROM table_name_29 WHERE silver < 6 AND bronze > 4 AND total = 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_33 (away_team VARCHAR, home_team VARCHAR) ### Question: What away team played when the home team was south melbourne? ### Answer: SELECT away_team FROM table_name_33 WHERE home_team = "south 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_2554479_2 (tests_won_by_australia VARCHAR, series VARCHAR) ### Question: Name the total number of tests won by australia for series 10 ### Answer: SELECT COUNT(tests_won_by_australia) FROM table_2554479_2 WHERE series = 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_25 (res VARCHAR, record VARCHAR, time VARCHAR, method VARCHAR) ### Question: Which res has a Time of 5:00, and a Method of decision (unanimous), and a Record of 1–0? ### Answer: SELECT res FROM table_name_25 WHERE time = "5:00" AND method = "decision (unanimous)" AND record = "1–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_85 (state___territory VARCHAR, building VARCHAR) ### Question: What state/territory has lovett tower as the building? ### Answer: SELECT state___territory FROM table_name_85 WHERE building = "lovett tower"
Below is an context that describes a sql 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 (length VARCHAR, stage VARCHAR) ### Question: Which length has a Stage of 9? ### Answer: SELECT length FROM table_name_37 WHERE stage = "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_59 (event VARCHAR, date VARCHAR) ### Question: What event is on 18 December 2009? ### Answer: SELECT event FROM table_name_59 WHERE date = "18 december 2009"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (tournament VARCHAR, winning_score VARCHAR) ### Question: What Tournament has a Winning score of −16 (66-64-67=197)? ### Answer: SELECT tournament FROM table_name_89 WHERE winning_score = −16(66 - 64 - 67 = 197)
Below is an context that describes a sql 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 (over_total_tax_revenue__in__percentage_ VARCHAR, stamp_duty_reserve_tax VARCHAR, year VARCHAR) ### Question: What is the Total Tax Revenue that has an n.a. Stamp Duty Reserve Tax in the years 1995-96? ### Answer: SELECT over_total_tax_revenue__in__percentage_ FROM table_name_75 WHERE stamp_duty_reserve_tax = "n.a." AND year = "1995-96"
Below is an context that describes a sql 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 (assist_pass VARCHAR, location VARCHAR) ### Question: What's Albufeira's assist/pass? ### Answer: SELECT assist_pass FROM table_name_22 WHERE location = "albufeira"
Below is an context that describes a sql 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 (date VARCHAR, site VARCHAR) ### Question: What is the Date if the Site is Shriver Field? ### Answer: SELECT date FROM table_name_34 WHERE site = "shriver field"
Below is an context that describes a sql 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 (poles VARCHAR, season VARCHAR) ### Question: What are the Poles for Season 2006 ### Answer: SELECT poles FROM table_name_91 WHERE season = 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_98 (live___studio VARCHAR, year INTEGER) ### Question: Is it live or studio before 1983? ### Answer: SELECT live___studio FROM table_name_98 WHERE year < 1983
Below is an context that describes a sql 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 (opponent VARCHAR, record VARCHAR) ### Question: Who was the opponent the Buffalo Bills played when their record was 4-4? ### Answer: SELECT opponent FROM table_name_34 WHERE record = "4-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 broadcast (program_id VARCHAR, Time_of_day VARCHAR); CREATE TABLE program (name VARCHAR, program_id VARCHAR); CREATE TABLE program (name VARCHAR) ### Question: Find the names of programs that are never broadcasted in the morning. ### Answer: SELECT name FROM program EXCEPT SELECT t1.name FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id WHERE t2.Time_of_day = "Morning"
Below is an context that describes a sql 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 (since INTEGER, transfer_fee VARCHAR, ends VARCHAR) ### Question: What is the lowest year in since that had a transfer fee of € 14m and ended after 2011? ### Answer: SELECT MIN(since) FROM table_name_76 WHERE transfer_fee = "€ 14m" AND ends > 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_72 (to_par VARCHAR, total VARCHAR, player VARCHAR, country VARCHAR, year_won VARCHAR) ### Question: What is the to par for Paul Azinger from the United States after 1986 for a total bigger than 145? ### Answer: SELECT COUNT(to_par) FROM table_name_72 WHERE country = "united states" AND year_won > 1986 AND player = "paul azinger" AND total > 145
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24912693_4 (steals INTEGER, player VARCHAR) ### Question: What is Tiffani Johnson's maximum steals? ### Answer: SELECT MAX(steals) FROM table_24912693_4 WHERE player = "Tiffani Johnson"
Below is an context that describes a sql 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 (loss VARCHAR, date VARCHAR) ### Question: Who recorded the loss on august 7? ### Answer: SELECT loss FROM table_name_98 WHERE date = "august 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_15 (against INTEGER, byes INTEGER) ### Question: How many Against has Byes smaller than 2? ### Answer: SELECT AVG(against) FROM table_name_15 WHERE byes < 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_78 (results¹ VARCHAR, opponent VARCHAR) ### Question: what are the results of the opponent of spain? ### Answer: SELECT results¹ FROM table_name_78 WHERE opponent = "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 Flight (origin VARCHAR, destination VARCHAR, price INTEGER) ### Question: Show origin and destination for flights with price higher than 300. ### Answer: SELECT origin, destination FROM Flight WHERE price > 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_8 (founded INTEGER, affiliation VARCHAR) ### Question: What is the lowest number of students at the community college? ### Answer: SELECT MIN(founded) FROM table_name_8 WHERE affiliation = "community 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_1 (leading_man VARCHAR, year VARCHAR, director VARCHAR) ### Question: What leading man earlier than 1932 was directed by archie mayo? ### Answer: SELECT leading_man FROM table_name_1 WHERE year < 1932 AND director = "archie mayo"
Below is an context that describes a sql 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 (Leading VARCHAR, score VARCHAR) ### Question: Leading scorer during the game of 68-79? ### Answer: SELECT Leading AS scorer FROM table_name_45 WHERE score = "68-79"
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: What is the home team score when the away team was fitzroy? ### Answer: SELECT home_team AS score FROM table_name_93 WHERE away_team = "fitzroy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Video_games (gtype VARCHAR) ### Question: How many video game types exist? ### Answer: SELECT COUNT(DISTINCT gtype) FROM Video_games
Below is an context that describes a sql 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 (livery VARCHAR, number VARCHAR) ### Question: What is the Livery when the Number is 31468? ### Answer: SELECT livery FROM table_name_57 WHERE number = 31468
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23248940_10 (high_rebounds VARCHAR, record VARCHAR) ### Question: How many people had high rebounds during the game with a record of 34-32? ### Answer: SELECT COUNT(high_rebounds) FROM table_23248940_10 WHERE record = "34-32"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (date VARCHAR, region VARCHAR, format VARCHAR) ### Question: When did the United Kingdom format a stereo LP? ### Answer: SELECT date FROM table_name_29 WHERE region = "united kingdom" AND format = "stereo lp"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17157367_1 (max_fs VARCHAR) ### Question: what is the max fs where the status is status and the method is method? ### Answer: SELECT max_fs FROM table_17157367_1 WHERE "status" = "status" AND "method" = "method"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (date VARCHAR, record VARCHAR) ### Question: On what date was the record 21-26? ### Answer: SELECT date FROM table_name_79 WHERE record = "21-26"
Below is an context that describes a sql 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 (year INTEGER, chassis VARCHAR) ### Question: What year was a Rial Arc2 chassis used? ### Answer: SELECT SUM(year) FROM table_name_55 WHERE chassis = "rial arc2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1373768_1 (trim VARCHAR, engine VARCHAR) ### Question: what's the trim with engine being 3.5l lz4 v6 ### Answer: SELECT trim FROM table_1373768_1 WHERE engine = "3.5L LZ4 V6"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27893892_2 (game_site VARCHAR, date VARCHAR) ### Question: what is the location for saturday, april 21 ### Answer: SELECT game_site FROM table_27893892_2 WHERE date = "Saturday, April 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_24565004_20 (goals¹ VARCHAR, name VARCHAR) ### Question: Name the goals for daniel sanchez ### Answer: SELECT goals¹ FROM table_24565004_20 WHERE name = "Daniel Sanchez"
Below is an context that describes a sql 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 (date VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR) ### Question: What date has a margin of victory of 1 stroke over Greg Kraft? ### Answer: SELECT date FROM table_name_21 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "greg kraft"
Below is an context that describes a sql 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 (score VARCHAR, game VARCHAR) ### Question: What is the score for game 5? ### Answer: SELECT score FROM table_name_82 WHERE game = 5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_57 (driver_s_ VARCHAR, owner_s_ VARCHAR) ### Question: Who is the Driver on Bob Keselowski's team? ### Answer: SELECT driver_s_ FROM table_name_57 WHERE owner_s_ = "bob keselowski"
Below is an context that describes a sql 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 (race VARCHAR, date VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) ### Question: Who was the race winner with a pole position james hunt, and a Fastest Lap of james hunt, and a Date of 15 august? ### Answer: SELECT race AS Winner FROM table_name_58 WHERE pole_position = "james hunt" AND fastest_lap = "james hunt" AND date = "15 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_name_21 (gold VARCHAR, place VARCHAR) ### Question: Who won gold when the world championships were held in Phoenix? ### Answer: SELECT gold FROM table_name_21 WHERE place = "phoenix"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17482534_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR) ### Question: How many viewers did the episode written by Warren Lieberstein & Halsted Sullivan have? ### Answer: SELECT us_viewers__millions_ FROM table_17482534_1 WHERE written_by = "Warren Lieberstein & Halsted Sullivan"
Below is an context that describes a sql 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 (lok_sabha VARCHAR, party_affiliation VARCHAR, duration VARCHAR) ### Question: What is the Lok Sabha for Dravida Munnetra Kazhagam, in 1999-04? ### Answer: SELECT lok_sabha FROM table_name_13 WHERE party_affiliation = "dravida munnetra kazhagam" AND duration = "1999-04"
Below is an context that describes a sql 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 (record VARCHAR, score VARCHAR) ### Question: Which Record has a Score of w 107–102 (ot)? ### Answer: SELECT record FROM table_name_3 WHERE score = "w 107–102 (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_90 (gzip VARCHAR, lha_lzh VARCHAR, stuffit VARCHAR, bzip2 VARCHAR) ### Question: What is the gzip value associated with a stuffit of no, bzip2 of no, and LHA.LZH of no? ### Answer: SELECT gzip FROM table_name_90 WHERE stuffit = "no" AND bzip2 = "no" AND lha_lzh = "no"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (station VARCHAR, owned_since VARCHAR, channel___tv___rf__ VARCHAR) ### Question: What station was owned since 2011, and a channel (tv/rf) of 27? ### Answer: SELECT station FROM table_name_73 WHERE owned_since = 2011 AND channel___tv___rf__ = "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_86 (score VARCHAR, visitor VARCHAR) ### Question: What was the score when Minnesota visited? ### Answer: SELECT score FROM table_name_86 WHERE visitor = "minnesota"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15700367_6 (overs_bowled VARCHAR, name VARCHAR) ### Question: How many overs bowled for muttiah muralitharan? ### Answer: SELECT COUNT(overs_bowled) FROM table_15700367_6 WHERE name = "Muttiah Muralitharan"
Below is an context that describes a sql 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 (player VARCHAR, year_s__won VARCHAR) ### Question: What player won 1985? ### Answer: SELECT player FROM table_name_65 WHERE year_s__won = "1985"
Below is an context that describes a sql 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 (blackpool INTEGER, draw VARCHAR, preston_north_end VARCHAR, competition VARCHAR) ### Question: Which Blackpool has a Preston North End smaller than 46, and a Competition of other, and a Draw larger than 1? ### Answer: SELECT SUM(blackpool) FROM table_name_94 WHERE preston_north_end < 46 AND competition = "other" AND draw > 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (position VARCHAR, pick VARCHAR) ### Question: What position has 217 as the pick? ### Answer: SELECT position FROM table_name_93 WHERE pick = 217
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15056103_1 (playoffs VARCHAR, regular_season VARCHAR) ### Question: What was the playoff result when they finished 5th, north in the regular sesason? ### Answer: SELECT playoffs FROM table_15056103_1 WHERE regular_season = "5th, North"
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR, to_par VARCHAR, score VARCHAR, country VARCHAR) ### Question: When Bunky Henry of the United States scored higher than 67 and his To par was e, what was his place? ### Answer: SELECT place FROM table_name_18 WHERE score > 67 AND country = "united states" AND to_par = "e" AND player = "bunky henry"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17432028_1 (date VARCHAR, score VARCHAR) ### Question: Name the date for score of 95-101 ### Answer: SELECT date FROM table_17432028_1 WHERE score = "95-101"