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_92 (weight VARCHAR, shape VARCHAR, size VARCHAR) ### Question: What is the weight with the shape of scalloped, and that is a size of 20mm (across scallops)? ### Answer: SELECT weight FROM table_name_92 WHERE shape = "scalloped" AND size = "20mm (across scallops)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Sportsinfo (StuID VARCHAR, onscholarship VARCHAR) ### Question: List ids for all student who are on scholarship. ### Answer: SELECT StuID FROM Sportsinfo WHERE onscholarship = 'Y'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, score VARCHAR) ### Question: Who had a to par of e and scored 71-69=140? ### Answer: SELECT player FROM table_name_32 WHERE to_par = "e" AND score = 71 - 69 = 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_27755603_2 (high_rebounds VARCHAR, high_points VARCHAR) ### Question: Who did the high rebounds in the game in which Rodney Stuckey (16) did the high points? ### Answer: SELECT high_rebounds FROM table_27755603_2 WHERE high_points = "Rodney Stuckey (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_name_30 (season VARCHAR, premier VARCHAR, score VARCHAR) ### Question: How many seasons feature essendon, and a Score of 15.12 (102) – 9.14 (68)? ### Answer: SELECT COUNT(season) FROM table_name_30 WHERE premier = "essendon" AND score = "15.12 (102) – 9.14 (68)"
Below is an context that describes a sql 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 (score VARCHAR, competition VARCHAR, location VARCHAR, year VARCHAR, result VARCHAR) ### Question: What is the score of a year less than 2008 with loss as the result, in Antalya and a Competition of europe/africa zone, group i, round robin? ### Answer: SELECT score FROM table_name_49 WHERE year < 2008 AND result = "loss" AND location = "antalya" AND competition = "europe/africa zone, group i, round robin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_finish VARCHAR) ### Question: What's the total power of the unit whose construction finished on 14.06.1963? ### Answer: SELECT total_power FROM table_12983929_1 WHERE construction_finish = "14.06.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_name_74 (round VARCHAR, overall INTEGER) ### Question: When the Overall is under 102, what's the round played? ### Answer: SELECT round FROM table_name_74 WHERE overall < 102
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341598_39 (district VARCHAR, incumbent VARCHAR) ### Question: In which district is Robert W. Edgar the incumbent? ### Answer: SELECT district FROM table_1341598_39 WHERE incumbent = "Robert W. Edgar"
Below is an context that describes a sql 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 (attendance VARCHAR, visitor VARCHAR, home VARCHAR) ### Question: How many people were at Washington's home game against Miami? ### Answer: SELECT COUNT(attendance) FROM table_name_31 WHERE visitor = "miami" AND home = "washington"
Below is an context that describes a sql 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 (airing_date VARCHAR, genre VARCHAR, number_of_episodes VARCHAR) ### Question: What is the airing date for a modern drama with more than 21 episodes? ### Answer: SELECT airing_date FROM table_name_21 WHERE genre = "modern drama" AND number_of_episodes > 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_2 (guest_host VARCHAR, air_date VARCHAR) ### Question: What is the Guest Host for the episode on 8 june 2008? ### Answer: SELECT guest_host FROM table_name_2 WHERE air_date = "8 june 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_82 (attendance__away_ INTEGER, result VARCHAR, date VARCHAR) ### Question: Name the average attendance with result of won 2-0 on 2 november 2007 ### Answer: SELECT AVG(attendance__away_) FROM table_name_82 WHERE result = "won 2-0" AND date = "2 november 2007"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (first_contact_with_hitler VARCHAR, age_at_death VARCHAR) ### Question: When did the woman who died at 31 first contact Hitlers? ### Answer: SELECT first_contact_with_hitler FROM table_name_60 WHERE age_at_death = "31"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17798093_20 (ending VARCHAR, examples VARCHAR) ### Question: what are the endings of examples achilles, appendices, fæces ### Answer: SELECT ending FROM table_17798093_20 WHERE examples = "Achilles, appendices, fæces"
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR) ### Question: Which country scored 70-68-71-71=280? ### Answer: SELECT country FROM table_name_29 WHERE score = 70 - 68 - 71 - 71 = 280
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (to_par VARCHAR, money___£__ VARCHAR, country VARCHAR) ### Question: Name the to par with money of 200,000 for australia ### Answer: SELECT to_par FROM table_name_30 WHERE money___£__ = "200,000" AND country = "australia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26375386_16 (rank VARCHAR, vote_percentage VARCHAR) ### Question: How many couples had a vote percentage of 9.5%? ### Answer: SELECT COUNT(rank) FROM table_26375386_16 WHERE vote_percentage = "9.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_37 (ground VARCHAR, figures VARCHAR) ### Question: At which ground did Dirk Nannes have a figure of 4/23? ### Answer: SELECT ground FROM table_name_37 WHERE figures = "4/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_16 (Id VARCHAR) ### Question: How much is the highest number in 2006 with fewer than 0 in 2002? ### Answer: SELECT MAX(2006) FROM table_name_16 WHERE 2002 < 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_99 (attendance INTEGER, venue VARCHAR, scorers VARCHAR) ### Question: What is the number of people in attendance when venue shows A, and Di Matteo, M. Hughes were the scorers? ### Answer: SELECT SUM(attendance) FROM table_name_99 WHERE venue = "a" AND scorers = "di matteo, m. hughes"
Below is an context that describes a sql 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 (total INTEGER, year_s__won VARCHAR) ### Question: What total average has 1988 has the year (s) won? ### Answer: SELECT AVG(total) FROM table_name_34 WHERE year_s__won = "1988"
Below is an context that describes a sql 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 (total INTEGER, nation VARCHAR, silver VARCHAR) ### Question: Which Total has a Nation of japan (jpn), and a Silver smaller than 1? ### Answer: SELECT AVG(total) FROM table_name_85 WHERE nation = "japan (jpn)" AND silver < 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_40 (Id VARCHAR) ### Question: What is 2011, when 2008 is "2R"? ### Answer: SELECT 2011 FROM table_name_40 WHERE 2008 = "2r"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (rank INTEGER, population VARCHAR) ### Question: What rank has a population of 4839400? ### Answer: SELECT MIN(rank) FROM table_name_87 WHERE population = "4839400"
Below is an context that describes a sql 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 (term_end VARCHAR, governments VARCHAR, minister VARCHAR) ### Question: When did the term end for the term that had government 27 and Minister Tzachi Hanegbi? ### Answer: SELECT term_end FROM table_name_72 WHERE governments = "27" AND minister = "tzachi hanegbi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (rank INTEGER, athlete VARCHAR) ### Question: what is the rank for athlete hauffe, seifert, kaeufer, adamski? ### Answer: SELECT SUM(rank) FROM table_name_88 WHERE athlete = "hauffe, seifert, kaeufer, adamski"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_9 (college VARCHAR, pick VARCHAR, overall VARCHAR) ### Question: What college has a pick greater than 4 and an overall of 21? ### Answer: SELECT college FROM table_name_9 WHERE pick > 4 AND overall = 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_94 (week INTEGER, record VARCHAR) ### Question: What week that shows a game record of 0–1? ### Answer: SELECT AVG(week) FROM table_name_94 WHERE record = "0–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_6 (goals_for VARCHAR, games VARCHAR, pct__percentage VARCHAR, points VARCHAR) ### Question: How many Goals have a Pct % larger than 0.557, a points value smaller than 90, and a games value larger than 68? ### Answer: SELECT COUNT(goals_for) FROM table_name_6 WHERE pct__percentage > 0.557 AND points < 90 AND games > 68
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12261926_2 (intergiro_classification VARCHAR, stage VARCHAR) ### Question: What is the intergiro classification of stage 21? ### Answer: SELECT intergiro_classification FROM table_12261926_2 WHERE stage = 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_29547777_1 (original_performer VARCHAR, episode VARCHAR) ### Question: Who is the original performer when the episode is casting? ### Answer: SELECT original_performer FROM table_29547777_1 WHERE episode = "Casting"
Below is an context that describes a 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 (college VARCHAR, cfl_team VARCHAR) ### Question: Name the college for calgary stampeders ### Answer: SELECT college FROM table_16575609_4 WHERE cfl_team = "Calgary Stampeders"
Below is an context that describes a 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_2 (score_in_the_final VARCHAR, year VARCHAR) ### Question: What is the score in the final in the year 1994? ### Answer: SELECT score_in_the_final FROM table_22834834_2 WHERE year = 1994
Below is an context that describes a sql 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 (bronze INTEGER, rank VARCHAR, total VARCHAR) ### Question: what is bronze when the rank is 3 and the total is more than 2? ### Answer: SELECT SUM(bronze) FROM table_name_24 WHERE rank = "3" AND total > 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19765685_2 (country VARCHAR, also_currently_known_as VARCHAR) ### Question: How many tournaments are also currently known as the hp open? ### Answer: SELECT COUNT(country) FROM table_19765685_2 WHERE also_currently_known_as = "HP Open"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21001903_2 (tour VARCHAR, mixed_doubles VARCHAR, womens_singles VARCHAR) ### Question: when mixed doubles is zheng bo ma jin and womens singles is wang yihan, what was the tour? ### Answer: SELECT tour FROM table_21001903_2 WHERE mixed_doubles = "Zheng Bo Ma Jin" AND womens_singles = "Wang Yihan"
Below is an context that describes a sql 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 (semimajor_axis___au__ VARCHAR, mass VARCHAR) ### Question: What Semimajor axis (AU) has a Mass of ≥ 3.5 ± 1.4 m⊕? ### Answer: SELECT semimajor_axis___au__ FROM table_name_73 WHERE mass = "≥ 3.5 ± 1.4 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_34 (season INTEGER, driver VARCHAR) ### Question: What is the earliest season with driver Farad Bathena? ### Answer: SELECT MIN(season) FROM table_name_34 WHERE driver = "farad bathena"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Documents_with_expenses (document_id VARCHAR, Budget_Type_code VARCHAR); CREATE TABLE Ref_Budget_Codes (Budget_Type_code VARCHAR, budget_type_Description VARCHAR) ### Question: Show ids for all documents with budget types described as 'Government'. ### Answer: SELECT T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_code = T2.Budget_Type_code WHERE T2.budget_type_Description = "Government"
Below is an context that describes a sql 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 (signed VARCHAR, school VARCHAR) ### Question: Was the University of Michigan Signed? ### Answer: SELECT signed FROM table_name_13 WHERE school = "university of 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_35 (tonnage INTEGER, ship_type VARCHAR, disposition_of_ship VARCHAR) ### Question: What is the highest tonnage of the Brig Ship Type and the disposition of Ship of Prize? ### Answer: SELECT MAX(tonnage) FROM table_name_35 WHERE ship_type = "brig" AND disposition_of_ship = "prize"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2114308_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) ### Question: Name the broadcast date of 6.9 million viewers ### Answer: SELECT broadcast_date FROM table_2114308_1 WHERE viewers__in_millions_ = "6.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_29 (location VARCHAR, length___m__ VARCHAR) ### Question: Where is the longest arch with a length in meters of 64.2? ### Answer: SELECT location FROM table_name_29 WHERE length___m__ = "64.2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (score VARCHAR, to_par VARCHAR) ### Question: What was the score for the To par of +1? ### Answer: SELECT score FROM table_name_53 WHERE to_par = "+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_169693_1 (age_40_49 INTEGER) ### Question: Name the least age 40-49 ### Answer: SELECT MIN(age_40_49) FROM table_169693_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_55 (assembled VARCHAR, summoned VARCHAR) ### Question: What is Assembled, when Summoned is "6 October 1297"? ### Answer: SELECT assembled FROM table_name_55 WHERE summoned = "6 october 1297"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15592941_1 (position VARCHAR, college VARCHAR) ### Question: What position(s) do players from florida state play? ### Answer: SELECT position FROM table_15592941_1 WHERE college = "Florida State"
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR) ### Question: Who is the player for Zimbabwe? ### Answer: SELECT player FROM table_name_45 WHERE country = "zimbabwe"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_71 (region VARCHAR, catalog VARCHAR) ### Question: What is the Region of the 1766390 Catalog? ### Answer: SELECT region FROM table_name_71 WHERE catalog = "1766390"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What is the sum of 1872(s), when 1866 is greater than 856, when 1861 is greater than 1906, and when 1876 is greater than 1990? ### Answer: SELECT SUM(1872) FROM table_name_29 WHERE 1866 > 856 AND 1861 > 1906 AND 1876 > 1990
Below is an context that describes a sql 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 (season_in_tamil VARCHAR, season_in_english VARCHAR) ### Question: What is the english word Monsoon in Tamil? ### Answer: SELECT season_in_tamil FROM table_name_23 WHERE season_in_english = "monsoon"
Below is an context that describes a sql 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 (total_tenure_rank VARCHAR, uninterrupted_time VARCHAR) ### Question: What is the total tenure rank of the person with an uninterrupted time of 49 years, 349 days? ### Answer: SELECT total_tenure_rank FROM table_name_6 WHERE uninterrupted_time = "49 years, 349 days"
Below is an context that describes a sql 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 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR, surface VARCHAR, outcome VARCHAR, date VARCHAR) ### Question: Which Opponent in the final has an Outcome of winner, and a Date larger than 1992, and a Surface of clay, and a Score in the final of 3–6, 6–2, 6–1? ### Answer: SELECT opponent_in_the_final FROM table_name_65 WHERE outcome = "winner" AND date > 1992 AND surface = "clay" AND score_in_the_final = "3–6, 6–2, 6–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_76 (country_region VARCHAR, languages VARCHAR) ### Question: What country speaks Vietnamese? ### Answer: SELECT country_region FROM table_name_76 WHERE languages = "vietnamese"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR) ### Question: What is the position for the university of north carolina carolina dynamo affiliation ### Answer: SELECT position FROM table_29626583_1 WHERE affiliation = "University of North Carolina Carolina Dynamo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (transcription VARCHAR, english_name VARCHAR) ### Question: What is the transcription for the English word March? ### Answer: SELECT transcription FROM table_name_11 WHERE english_name = "march"
Below is an context that describes a sql 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 (attendance INTEGER, venue VARCHAR, date VARCHAR) ### Question: What is the average Attendance, when Venue is "Candlestick Park", and when Date is "November 25"? ### Answer: SELECT AVG(attendance) FROM table_name_54 WHERE venue = "candlestick park" AND date = "november 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_4 (home_team VARCHAR, venue VARCHAR) ### Question: When lake oval is the venue, what's the score of the home team? ### Answer: SELECT home_team AS score FROM table_name_4 WHERE venue = "lake oval"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (tankers INTEGER, pumpers INTEGER) ### Question: what is the highest tankers when pumpers is more than 2? ### Answer: SELECT MAX(tankers) FROM table_name_84 WHERE pumpers > 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_27 (score VARCHAR, tie_no VARCHAR) ### Question: What was the score of having a tie of 1? ### Answer: SELECT score FROM table_name_27 WHERE tie_no = "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 (played VARCHAR, points_against VARCHAR) ### Question: What is listed for Played that has Points against of 263? ### Answer: SELECT played FROM table_name_33 WHERE points_against = "263"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19304764_2 (degree_diploma VARCHAR, discipline VARCHAR) ### Question: Name the degree for otorhinolaryngology ### Answer: SELECT degree_diploma FROM table_19304764_2 WHERE discipline = "Otorhinolaryngology"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1014206_2 (_number VARCHAR, commissioned VARCHAR) ### Question: List the # for ships commissioned on december 18, 1965. ### Answer: SELECT _number FROM table_1014206_2 WHERE commissioned = "December 18, 1965"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2308381_1 (year VARCHAR, avg_start VARCHAR) ### Question: Name the year for avg start being 22.4 ### Answer: SELECT year FROM table_2308381_1 WHERE avg_start = "22.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_54 (award VARCHAR, category VARCHAR) ### Question: Which award show nominated The Suite Life on Deck for the Teen Pick Show: Comedy category? ### Answer: SELECT award FROM table_name_54 WHERE category = "teen pick show: comedy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1157867_2 (date_built VARCHAR, wheel_arrangement VARCHAR, builder VARCHAR) ### Question: On what date did Hudswell Clarke build the locomotive with 0-6-0 ST wheel arrangements? ### Answer: SELECT date_built FROM table_1157867_2 WHERE wheel_arrangement = "0-6-0 ST" AND builder = "Hudswell Clarke"
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR) ### Question: Where has a Player of tom watson? ### Answer: SELECT place FROM table_name_22 WHERE player = "tom watson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (common_english VARCHAR, italian VARCHAR) ### Question: What is the common English for the Italian word san gallo? ### Answer: SELECT common_english FROM table_name_50 WHERE italian = "san gallo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28668784_1 (stadium VARCHAR, home_team VARCHAR) ### Question: What stadium does FK Jedinstvo play in? ### Answer: SELECT stadium FROM table_28668784_1 WHERE home_team = "FK Jedinstvo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12266757_1 (womens_doubles VARCHAR, season VARCHAR) ### Question: Where were the Womens Doubles in the 1951/1952 season and who won? ### Answer: SELECT womens_doubles FROM table_12266757_1 WHERE season = "1951/1952"
Below is an context that describes a sql 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 (player VARCHAR, round VARCHAR, position VARCHAR) ### Question: Who is the player from round 13 that plays center? ### Answer: SELECT player FROM table_name_47 WHERE round = 13 AND position = "center"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16654785_2 (average_climb___percentage_ VARCHAR, length__m_ VARCHAR) ### Question: How many have a length of 375? ### Answer: SELECT COUNT(average_climb___percentage_) FROM table_16654785_2 WHERE length__m_ = 375
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: What was the team's record on August 4? ### Answer: SELECT record FROM table_name_8 WHERE date = "august 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 ARTIST (Name VARCHAR) ### Question: Find the names of all artists that have "a" in their names. ### Answer: SELECT Name FROM ARTIST WHERE Name LIKE "%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_76 (name VARCHAR, pick__number VARCHAR, round VARCHAR) ### Question: Which player was picked in round 15 with a pick smaller than 13? ### Answer: SELECT name FROM table_name_76 WHERE pick__number < 13 AND round = 15
Below is an context that describes a sql 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 (lead VARCHAR, institute VARCHAR, social_democratic VARCHAR) ### Question: Name the lead for institute of election results and social democratic of 31.7% 8 seats ### Answer: SELECT lead FROM table_name_95 WHERE institute = "election results" AND social_democratic = "31.7% 8 seats"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13564637_3 (club VARCHAR, drawn VARCHAR, lost VARCHAR) ### Question: what is the name of the club where drawn is 1 and lost is 10? ### Answer: SELECT club FROM table_13564637_3 WHERE drawn = "1" AND lost = "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_13 (position VARCHAR, club_team VARCHAR, name VARCHAR) ### Question: What is the Postion, when the Club/Team is Warroad Lakers, and when the Name is Roger Christian? ### Answer: SELECT position FROM table_name_13 WHERE club_team = "warroad lakers" AND name = "roger christian"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23248967_10 (score VARCHAR, date VARCHAR) ### Question: What is the final score of the game on April 9? ### Answer: SELECT score FROM table_23248967_10 WHERE date = "April 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_79 (winning_constructor VARCHAR, winning_driver VARCHAR) ### Question: Who is the winner constructor with driver riccardo patrese? ### Answer: SELECT winning_constructor FROM table_name_79 WHERE winning_driver = "riccardo patrese"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR) ### Question: What is the largest number of households with median family income of $52,106 with less than 21,403 in population? ### Answer: SELECT MAX(number_of_households) FROM table_name_88 WHERE median_family_income = "$52,106" AND population < 21 OFFSET 403
Below is an context that describes a sql 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 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, rank VARCHAR) ### Question: What is the total number of gold medals for the skater with less than 3 bronze medals, more than 0 silver medals and a rank smaller than 11? ### Answer: SELECT COUNT(gold) FROM table_name_17 WHERE bronze < 3 AND rank < 11 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_66 (played INTEGER, against VARCHAR, lost VARCHAR, difference VARCHAR) ### Question: Which Played is the highest one that has a Lost smaller than 1, and a Difference of 6, and an Against larger than 2? ### Answer: SELECT MAX(played) FROM table_name_66 WHERE lost < 1 AND difference = "6" AND against > 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_50 (year INTEGER, play VARCHAR, recipient VARCHAR) ### Question: Name the average year for much ado about nothing and recipient of ray virta ### Answer: SELECT AVG(year) FROM table_name_50 WHERE play = "much ado about nothing" AND recipient = "ray virta"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22347090_6 (production_code VARCHAR, us_viewers__million_ VARCHAR) ### Question: What is the production code for the episode that had 1.32 million U.S. viewers? ### Answer: SELECT production_code FROM table_22347090_6 WHERE us_viewers__million_ = "1.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_12321870_32 (goals VARCHAR, matches VARCHAR) ### Question: How many goals were scored by the player who played 17 matches? ### Answer: SELECT goals FROM table_12321870_32 WHERE matches = "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_name_83 (hometown VARCHAR, school VARCHAR) ### Question: When the School is Bishop Luers High School, what is the Hometown? ### Answer: SELECT hometown FROM table_name_83 WHERE school = "bishop luers high 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_43 (venue VARCHAR, score VARCHAR) ### Question: What was the venue when the score was 24–28? ### Answer: SELECT venue FROM table_name_43 WHERE score = "24–28"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (team VARCHAR, race_title VARCHAR) ### Question: Name the team for launceston ### Answer: SELECT team FROM table_name_60 WHERE race_title = "launceston"
Below is an context that describes a sql 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 (position INTEGER, country VARCHAR, pilot VARCHAR) ### Question: What is the lowest position of pilot mario kiessling from Germany? ### Answer: SELECT MIN(position) FROM table_name_23 WHERE country = "germany" AND pilot = "mario kiessling"
Below is an context that describes a sql 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 (total INTEGER, year_s__won VARCHAR, country VARCHAR, to_par VARCHAR) ### Question: What is the average Total for the United States with a To par more than 6 and 1996 was won? ### Answer: SELECT AVG(total) FROM table_name_96 WHERE country = "united states" AND to_par > 6 AND year_s__won = "1996"
Below is an context that describes a sql 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 (numbers VARCHAR, completed INTEGER) ### Question: What are the numbers for the item completed earlier than 1904? ### Answer: SELECT numbers FROM table_name_13 WHERE completed < 1904
Below is an context that describes a sql 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 (byes INTEGER, benalla_dfl VARCHAR, wins VARCHAR) ### Question: What are the average byes of Bonnie Doon having more than 16 wins? ### Answer: SELECT AVG(byes) FROM table_name_54 WHERE benalla_dfl = "bonnie doon" AND wins > 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_18461635_1 (location VARCHAR, county VARCHAR) ### Question: Where is the team in Sussex county located? ### Answer: SELECT location FROM table_18461635_1 WHERE county = "Sussex"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR) ### Question: Average frequency with ERP W of 62? ### Answer: SELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = "62"
Below is an context that describes a sql 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 (calendar VARCHAR, user_selectable_themes VARCHAR) ### Question: Which Calendar has a User-selectable themes of user-selectable themes? ### Answer: SELECT calendar FROM table_name_95 WHERE user_selectable_themes = "user-selectable themes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE authors (fname VARCHAR, lname VARCHAR) ### Question: What is the first name of the author with last name "Ueno"? ### Answer: SELECT fname FROM authors WHERE lname = "Ueno"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Restaurant_Type (ResTypeName VARCHAR) ### Question: List all restaurant types. ### Answer: SELECT ResTypeName FROM Restaurant_Type
Below is an context that describes a sql 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 (player VARCHAR, place VARCHAR, country VARCHAR) ### Question: Name the Player who has a Place of t7 in Country of united states? ### Answer: SELECT player FROM table_name_45 WHERE place = "t7" AND country = "united states"