answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT in_state_area FROM table_name_30 WHERE outlet = "colorado river" AND _percentage_in_state = "a038 84.8%"
With an outlet of Colorado River and a % instate of a038 84.8% what is in-state area?
CREATE TABLE table_name_30 (in_state_area VARCHAR, outlet VARCHAR, _percentage_in_state VARCHAR)
SELECT house_1950 FROM table_name_17 WHERE 1950 < 1980 AND governors_1950 = "governors 1970"
What shows for House 1950 with a 1950 less than 1980, and Governors 1950 of governors 1970?
CREATE TABLE table_name_17 (house_1950 VARCHAR, governors_1950 VARCHAR)
SELECT COUNT(spanish) FROM table_26614365_5 WHERE portuguese = "Bem-vindo"
How many Spanish word is there for the Portuguese bem-vindo?
CREATE TABLE table_26614365_5 (spanish VARCHAR, portuguese VARCHAR)
SELECT source FROM table_name_86 WHERE rank = 78
Can you tell me the Source that has the Rank of 78?
CREATE TABLE table_name_86 (source VARCHAR, rank VARCHAR)
SELECT date FROM table_name_62 WHERE record = "3-14-6"
When was the record 3-14-6?
CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)
SELECT MAX(rd__number) FROM table_name_20 WHERE pl_gp > 0 AND reg_gp < 62
What is the largest Rd# for a PI GP greater than 0 and a Reg GP less than 62?
CREATE TABLE table_name_20 (rd__number INTEGER, pl_gp VARCHAR, reg_gp VARCHAR)
SELECT entrant FROM table_name_25 WHERE points = "42 (45)" AND chassis = "brabham bt20"
who is the entrant when the points is 42 (45) and the chassis is brabham bt20?
CREATE TABLE table_name_25 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT name FROM table_1198175_1 WHERE born = "December 30, 1957 Detroit, MI"
What is the name when born is december 30, 1957 detroit, mi?
CREATE TABLE table_1198175_1 (name VARCHAR, born VARCHAR)
SELECT date FROM table_name_15 WHERE year > 1992 AND location = "murcia" AND score = "0-3"
What day did the team play in murcia with a score of 0-3 after 1992?
CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR, year VARCHAR, location VARCHAR)
SELECT bleeding_time FROM table_name_83 WHERE platelet_count = "unaffected" AND condition = "factor xii deficiency"
Name the bleeding time with platelet count of unaffected and condition of factor xii deficiency
CREATE TABLE table_name_83 (bleeding_time VARCHAR, platelet_count VARCHAR, condition VARCHAR)
SELECT MAX(heat) FROM table_name_2 WHERE nationality = "spain" AND lane < 7
What is the highest heat of the athlete from spain with a lane less than 7?
CREATE TABLE table_name_2 (heat INTEGER, nationality VARCHAR, lane VARCHAR)
SELECT engine FROM table_name_59 WHERE entrant = "larrousse f1"
Name the engine with entrant of larrousse f1
CREATE TABLE table_name_59 (engine VARCHAR, entrant VARCHAR)
SELECT original_air_date FROM table_23242958_1 WHERE written_by = "David Zuckerman"
What is the original air date of the episode written by David Zuckerman?
CREATE TABLE table_23242958_1 (original_air_date VARCHAR, written_by VARCHAR)
SELECT date FROM table_name_62 WHERE runner_s__up = "patty sheehan"
On what Date was Patty Sheehan Runner(s)-up?
CREATE TABLE table_name_62 (date VARCHAR, runner_s__up VARCHAR)
SELECT MAX(episodes) FROM table_22837363_1 WHERE viewers__in_millions_ = "5.74"
What was the highest amount of episodes for the season with 5.74 million viewers?
CREATE TABLE table_22837363_1 (episodes INTEGER, viewers__in_millions_ VARCHAR)
SELECT couple FROM table_28946565_2 WHERE week_2 = 23
Which couple had a week 2 score of exactly 23?
CREATE TABLE table_28946565_2 (couple VARCHAR, week_2 VARCHAR)
SELECT points_against___tests__ FROM table_name_16 WHERE year_s_ = 2001 AND games_won___tests__ = "5 (3)"
What are the points against for 2001, and games won of 5 (3)?
CREATE TABLE table_name_16 (points_against___tests__ VARCHAR, year_s_ VARCHAR, games_won___tests__ VARCHAR)
SELECT T1.name, T1.long, AVG(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.start_station_id GROUP BY T2.start_station_id
For each station, return its longitude and the average duration of trips that started from the station.
CREATE TABLE station (name VARCHAR, long VARCHAR, id VARCHAR); CREATE TABLE trip (duration INTEGER, start_station_id VARCHAR)
SELECT comp FROM table_name_84 WHERE date = "2004-10-17"
Which Comp is on 2004-10-17?
CREATE TABLE table_name_84 (comp VARCHAR, date VARCHAR)
SELECT MIN(floors) FROM table_name_39 WHERE name = "900 north michigan" AND year < 1989
Name of 900 north michigan, and a Year smaller than 1989 involves what lowest floors?
CREATE TABLE table_name_39 (floors INTEGER, name VARCHAR, year VARCHAR)
SELECT result FROM table_22032599_1 WHERE film_title_used_in_nomination = "Gypsy"
What was the result for Gypsy?
CREATE TABLE table_22032599_1 (result VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT to_par FROM table_name_57 WHERE place = "t5" AND score = 70 - 68 = 138
What is To par, when Place is "T5", and when Score is "70-68=138"?
CREATE TABLE table_name_57 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT finish FROM table_name_63 WHERE country = "south africa"
What is the finish of South Africa?
CREATE TABLE table_name_63 (finish VARCHAR, country VARCHAR)
SELECT format FROM table_name_72 WHERE date = "august 29, 1998"
Which format is released on August 29, 1998?
CREATE TABLE table_name_72 (format VARCHAR, date VARCHAR)
SELECT T2.Lname FROM DEPARTMENT AS T1 JOIN FACULTY AS T2 ON T1.DNO = T3.DNO JOIN MEMBER_OF AS T3 ON T2.FacID = T3.FacID WHERE T1.DName = "Computer Science"
Find the last names of faculties who are members of computer science department.
CREATE TABLE DEPARTMENT (DNO VARCHAR, DName VARCHAR); CREATE TABLE MEMBER_OF (DNO VARCHAR, FacID VARCHAR); CREATE TABLE FACULTY (Lname VARCHAR, FacID VARCHAR)
SELECT television_service FROM table_name_46 WHERE language = "italian"
Which television service has italian for its language?
CREATE TABLE table_name_46 (television_service VARCHAR, language VARCHAR)
SELECT COUNT(*) FROM CONTINENTS
How many continents are there?
CREATE TABLE CONTINENTS (Id VARCHAR)
SELECT ihsaa_class FROM table_name_64 WHERE school = "international"
What is the ISHAA class for the International School?
CREATE TABLE table_name_64 (ihsaa_class VARCHAR, school VARCHAR)
SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating = 10
Find the names of goods that receive a rating of 10.
CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating VARCHAR)
SELECT name FROM table_name_54 WHERE town_city = "anchorage" AND type = "multiple"
What is the Name of the Multiple Type museum in Anchorage?
CREATE TABLE table_name_54 (name VARCHAR, town_city VARCHAR, type VARCHAR)
SELECT AVG(finish) FROM table_name_39 WHERE team = "buck baker" AND start < 13
What is the average Finish, when Team is "Buck Baker", and when Start is less than 13?
CREATE TABLE table_name_39 (finish INTEGER, team VARCHAR, start VARCHAR)
SELECT COUNT(byes) FROM table_name_1 WHERE draws = 1 AND against = 1374
What is the total number of byes that has 1 draw and an against of 1374?
CREATE TABLE table_name_1 (byes VARCHAR, draws VARCHAR, against VARCHAR)
SELECT catalogue FROM table_name_28 WHERE track < 13 AND release_date = "10/31/72"
Name the catalogue that has tracks less than 13 and the release date of 10/31/72
CREATE TABLE table_name_28 (catalogue VARCHAR, track VARCHAR, release_date VARCHAR)
SELECT points_against FROM table_12792876_4 WHERE points = "51"
Name the points against for 51 points
CREATE TABLE table_12792876_4 (points_against VARCHAR, points VARCHAR)
SELECT Name FROM pilot ORDER BY Name
List all pilot names in ascending alphabetical order.
CREATE TABLE pilot (Name VARCHAR)
SELECT MIN(attendance) FROM table_name_36 WHERE loss = "obermueller (1-2)"
What would be the lowest Attendance that also showed a loss of Obermueller (1-2)?
CREATE TABLE table_name_36 (attendance INTEGER, loss VARCHAR)
SELECT type FROM table_name_54 WHERE title = "ruler"
What type of state did the ruler have a title?
CREATE TABLE table_name_54 (type VARCHAR, title VARCHAR)
SELECT MAX(position) FROM table_name_78 WHERE points < 21 AND played > 14
What is the greatest position when the points are less than 21, and the played greater than 14?
CREATE TABLE table_name_78 (position INTEGER, points VARCHAR, played VARCHAR)
SELECT season_7 FROM table_name_98 WHERE season_6 = "jim treliving"
Which Season 7 has a Season 6 of jim treliving?
CREATE TABLE table_name_98 (season_7 VARCHAR, season_6 VARCHAR)
SELECT player FROM table_26996293_3 WHERE position = "OG"
What player drafted was an OG?
CREATE TABLE table_26996293_3 (player VARCHAR, position VARCHAR)
SELECT place FROM table_name_66 WHERE player = "dave douglas"
What Dave Douglas' Place?
CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR)
SELECT building FROM Faculty WHERE rank = "Professor" GROUP BY building HAVING COUNT(*) >= 10
Show all the buildings that have at least 10 professors.
CREATE TABLE Faculty (building VARCHAR, rank VARCHAR)
SELECT MIN(attendance) FROM table_name_4 WHERE h___a = "h" AND opponents = "nottingham forest"
What is the smallest Attendance with H / A of h, and Opponents of nottingham forest?
CREATE TABLE table_name_4 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR)
SELECT MAX(density) FROM table_2847477_2 WHERE area = 1512
What is the density of the place with an area of 1512?
CREATE TABLE table_2847477_2 (density INTEGER, area VARCHAR)
SELECT MIN(played) FROM table_name_58 WHERE drawn < 12 AND against = 41 AND points < 69
What is the lowest number of played games of the team with less than 12 drawns, 41 against, and less than 69 points?
CREATE TABLE table_name_58 (played INTEGER, points VARCHAR, drawn VARCHAR, against VARCHAR)
SELECT song_choice FROM table_15778392_1 WHERE week__number = "Top 10"
WHAT WAS HER SONG CHOICE WHEN THE WEEK WAS TOP 10?
CREATE TABLE table_15778392_1 (song_choice VARCHAR, week__number VARCHAR)
SELECT Double AS non_suited_match FROM table_name_74 WHERE suited_match = "13:1"
With a Suited Match of 13:1, what is the Double Non-Suited Match?
CREATE TABLE table_name_74 (Double VARCHAR, suited_match VARCHAR)
SELECT population_in_1000__1931_ FROM table_name_62 WHERE car_plates__since_1937_ = "35-39"
tell me the population in 1000(1931) that has car plates since 1937 of 35-39.
CREATE TABLE table_name_62 (population_in_1000__1931_ VARCHAR, car_plates__since_1937_ VARCHAR)
SELECT buechel_ & _manhart_spelling__pronunciation_ FROM table_name_27 WHERE deloria_ & _boas = "ų" AND dakota_mission = "un"
Deloria & Boas of ų, and a Dakota Mission of un had what Buechel & Manhart spelling (pronunciation)?
CREATE TABLE table_name_27 (buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR)
SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID WHERE T2.Name = "The Phantom of the Opera"
Show names of actors that have appeared in musical with name "The Phantom of the Opera".
CREATE TABLE actor (Name VARCHAR, Musical_ID VARCHAR); CREATE TABLE musical (Musical_ID VARCHAR, Name VARCHAR)
SELECT COUNT(total) FROM table_name_5 WHERE silver = "1" AND bronze = "7"
What is the total number of Total, when Silver is 1, and when Bronze is 7?
CREATE TABLE table_name_5 (total VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT theatre, _studio, _or_network FROM table_name_78 WHERE date = "1941" AND title = "one night in lisbon"
Who created One Night in Lisbon in 1941?
CREATE TABLE table_name_78 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, date VARCHAR, title VARCHAR)
SELECT round FROM table_name_21 WHERE record = "15-5"
What round did the fight last when Mikhail Ilyukhin's record was 15-5?
CREATE TABLE table_name_21 (round VARCHAR, record VARCHAR)
SELECT results FROM table_name_32 WHERE category = "best new actor in lead role(female)"
Which Results have a Category of the best new actor in lead role(female)?
CREATE TABLE table_name_32 (results VARCHAR, category VARCHAR)
SELECT date_s__of_return FROM table_name_67 WHERE original_channel = "bbc one" AND programme = "going for gold"
When did Going for Gold return in BBC One?
CREATE TABLE table_name_67 (date_s__of_return VARCHAR, original_channel VARCHAR, programme VARCHAR)
SELECT COUNT(wins) FROM table_name_70 WHERE losses = 6 AND draws > 0
What is the total number of Wins, when Losses is "6", and when Draws is greater than "0"?
CREATE TABLE table_name_70 (wins VARCHAR, losses VARCHAR, draws VARCHAR)
SELECT nhl_team FROM table_2679061_2 WHERE college_junior_club_team = "Toronto Marlboros (OHL)" AND position = "Centre"
What is the nhl team when the college, junior, club team is toronto marlboros (ohl) and the position is centre?
CREATE TABLE table_2679061_2 (nhl_team VARCHAR, college_junior_club_team VARCHAR, position VARCHAR)
SELECT date FROM table_name_17 WHERE away_team = "arsenal"
When was Arsenal was the away team?
CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR)
SELECT 3 AS rd_place FROM table_name_36 WHERE runner_up = "runner-up"
What shows for 3rd place when Runner-up shows as runner-up?
CREATE TABLE table_name_36 (runner_up VARCHAR)
SELECT MAX(lead_pitch_mm) FROM table_name_1 WHERE part_number = "tsop40" AND body_length_mm > 18.4
Which Lead Pitch/mm has a Part Number of tsop40, and a Body Length/mm larger than 18.4?
CREATE TABLE table_name_1 (lead_pitch_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR)
SELECT fleet_size FROM table_name_27 WHERE easa__eu_ = "no"
What is the Fleet Size when the EASA (EU) is no?
CREATE TABLE table_name_27 (fleet_size VARCHAR, easa__eu_ VARCHAR)
SELECT runner_up FROM table_29446183_2 WHERE fourth_place = "Sagawa Express"
Who was the runner up the season that Sagawa Express came in fourth?
CREATE TABLE table_29446183_2 (runner_up VARCHAR, fourth_place VARCHAR)
SELECT 2003 FROM table_name_86 WHERE 2006 = "wta premier mandatory tournaments"
What was the value in 2003 when 2006 was WTA Premier Mandatory Tournaments?
CREATE TABLE table_name_86 (Id VARCHAR)
SELECT year FROM table_name_84 WHERE play_by_play = "don earle"
What year was the play-by-play for Don Earle?
CREATE TABLE table_name_84 (year VARCHAR, play_by_play VARCHAR)
SELECT COUNT(order_year) FROM table_10007452_3 WHERE fleet_series__quantity_ = "468-473 (6)"
how many times is the fleet series (quantity) is 468-473 (6)?
CREATE TABLE table_10007452_3 (order_year VARCHAR, fleet_series__quantity_ VARCHAR)
SELECT attendance FROM table_name_37 WHERE venue = "lakeside park"
What was the attendance number for the venue of Lakeside Park?
CREATE TABLE table_name_37 (attendance VARCHAR, venue VARCHAR)
SELECT COUNT(attendance) FROM table_name_75 WHERE date = "april 12"
How many people attended on April 12?
CREATE TABLE table_name_75 (attendance VARCHAR, date VARCHAR)
SELECT best FROM table_name_4 WHERE team = "conquest racing" AND qual_1 = "1:34.748"
Who from Conquest Racing had the best time of 1:34.748 in Qual 1?
CREATE TABLE table_name_4 (best VARCHAR, team VARCHAR, qual_1 VARCHAR)
SELECT 187 AS kg FROM table_name_79 WHERE snatch = "clean & jerk"
Who has 187kg and a Snatch of Clean & Jerk?
CREATE TABLE table_name_79 (snatch VARCHAR)
SELECT date FROM table_name_99 WHERE result = "8–2" AND score = "6–2"
What is the Date with a Result of 8–2, and a Score with 6–2?
CREATE TABLE table_name_99 (date VARCHAR, result VARCHAR, score VARCHAR)
SELECT AVG(rank) FROM table_name_26 WHERE total > 73 AND gold > 44 AND bronze > 76
What was the average rank for team with more than 44 gold, more and 76 bronze and a higher total than 73?
CREATE TABLE table_name_26 (rank INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
SELECT party AS a FROM table_22753439_1 WHERE winner = "P. Chidambaram"
What is every party with a winner of P. Chidambaram?
CREATE TABLE table_22753439_1 (party VARCHAR, winner VARCHAR)
SELECT fencing_victories__pts_ FROM table_name_61 WHERE shooting_score__pts_ = "187 (1180)" AND total < 5640
Which Fencing Victories (pts) has a Shooting Score (pts) of 187 (1180) and a Total smaller than 5640? Question 1
CREATE TABLE table_name_61 (fencing_victories__pts_ VARCHAR, shooting_score__pts_ VARCHAR, total VARCHAR)
SELECT MAX(elevation__m_) FROM table_2731431_1 WHERE no = 39
What is the elevation for number 39?
CREATE TABLE table_2731431_1 (elevation__m_ INTEGER, no VARCHAR)
SELECT genre FROM table_name_50 WHERE origin_of_programming = "india" AND network = "star plus"
What genre is Star Plus from India?
CREATE TABLE table_name_50 (genre VARCHAR, origin_of_programming VARCHAR, network VARCHAR)
SELECT T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id WHERE T3.number_deaths >= 10
What are the region names affected by the storm with a number of deaths of least 10?
CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE storm (storm_id VARCHAR, number_deaths VARCHAR)
SELECT AVG(attendance) FROM table_name_6 WHERE date = "april 28"
On April 28, what was the average number of people attending?
CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR)
SELECT creator FROM table_name_33 WHERE latest_stable_release = "unknown" AND name = "myeclipse"
Which Creator has the Latest stable release of unknown, and a Name of myeclipse?
CREATE TABLE table_name_33 (creator VARCHAR, latest_stable_release VARCHAR, name VARCHAR)
SELECT MIN(octal) FROM table_name_82 WHERE hexadecimal = 30 AND glyph < 0
What is the lowest octal with a 30 hexadecimal and less than 0 glyphs?
CREATE TABLE table_name_82 (octal INTEGER, hexadecimal VARCHAR, glyph VARCHAR)
SELECT MIN(drawn) FROM table_name_52 WHERE played > 19 AND position < 2
What is the lowest drawn that has a played greater than 19, with a position less than 2?
CREATE TABLE table_name_52 (drawn INTEGER, played VARCHAR, position VARCHAR)
SELECT written_by FROM table_2409041_2 WHERE production_code = 446004
When 446004 is the production code who are the writers?
CREATE TABLE table_2409041_2 (written_by VARCHAR, production_code VARCHAR)
SELECT predecessor FROM table_name_54 WHERE district < 11 AND congress = "68th" AND date = "may 1, 1923"
What predecessor has a district less than 11, 68th as the Congress, and may 1, 1923 as the date?
CREATE TABLE table_name_54 (predecessor VARCHAR, date VARCHAR, district VARCHAR, congress VARCHAR)
SELECT position FROM table_name_66 WHERE pick = 174
Which Position has a Pick of 174?
CREATE TABLE table_name_66 (position VARCHAR, pick VARCHAR)
SELECT rider FROM table_name_23 WHERE grid < 16 AND manufacturer = "aprilia" AND time = "+28.288"
What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia, and when Time is +28.288?
CREATE TABLE table_name_23 (rider VARCHAR, time VARCHAR, grid VARCHAR, manufacturer VARCHAR)
SELECT record FROM table_23281862_9 WHERE high_assists = "Aaron Brooks (6)"
What is the record where aaron brooks (6) is high assists?
CREATE TABLE table_23281862_9 (record VARCHAR, high_assists VARCHAR)
SELECT tv_time FROM table_name_76 WHERE week = 12
What was the tv time for the game on week 12?
CREATE TABLE table_name_76 (tv_time VARCHAR, week VARCHAR)
SELECT Country, COUNT(*) FROM member GROUP BY Country
Show the different countries and the number of members from each.
CREATE TABLE member (Country VARCHAR)
SELECT AVG(draws) FROM table_name_63 WHERE wins < 9 AND club = "warrnambool"
Club warrnambool has less than 9 wins and what average of draws?
CREATE TABLE table_name_63 (draws INTEGER, wins VARCHAR, club VARCHAR)
SELECT supercopa_1994 FROM table_name_10 WHERE team = "estudiantes"
Which Supercopa 1994 has a Team of estudiantes?
CREATE TABLE table_name_10 (supercopa_1994 VARCHAR, team VARCHAR)
SELECT 2006 FROM table_27146868_1 WHERE 1997 = "6.8"
What is 2006 when 1997 is 6.8?
CREATE TABLE table_27146868_1 (Id VARCHAR)
SELECT drying_shrinkage___percentage_ FROM table_24969173_1 WHERE dry_density__kg_m3_ = 800
If the dry density is 800, what is the drying shrinkage %?
CREATE TABLE table_24969173_1 (drying_shrinkage___percentage_ VARCHAR, dry_density__kg_m3_ VARCHAR)
SELECT COUNT(game) FROM table_23308178_5 WHERE opponent = "Florida Panthers" AND location = "Verizon Center"
How many different games against Florida Panthers were played in Verizon Center?
CREATE TABLE table_23308178_5 (game VARCHAR, opponent VARCHAR, location VARCHAR)
SELECT COUNT(date_location) FROM table_28211674_3 WHERE mixed_veteran = "Eddie Smith"
When and where did Eddie Smith win the mixed veteran?
CREATE TABLE table_28211674_3 (date_location VARCHAR, mixed_veteran VARCHAR)
SELECT 2011 FROM table_name_4 WHERE 2008 = "2r"
How many sets were played in the 2011 tournament, in which 2R were played in 2008?
CREATE TABLE table_name_4 (Id VARCHAR)
SELECT year FROM table_name_19 WHERE class = "250"
Which year has a railway class of 250?
CREATE TABLE table_name_19 (year VARCHAR, class VARCHAR)
SELECT date FROM table_name_89 WHERE visitor = "toronto"
What is the date of the game with toronto as the visitor?
CREATE TABLE table_name_89 (date VARCHAR, visitor VARCHAR)
SELECT COUNT(total) FROM table_name_73 WHERE rank > 17 AND gold > 0
What's the total number that had a rank larger than 17 and a gold greater than 0?
CREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, gold VARCHAR)
SELECT total FROM table_name_21 WHERE set_2 = "20–25"
What is the total when the score for set 2 is 20–25?
CREATE TABLE table_name_21 (total VARCHAR, set_2 VARCHAR)
SELECT termination_of_mission FROM table_name_34 WHERE presentation_of_credentials = "august 29, 1859"
What's the Termination of Mission listed that has a Presentation of Credentials for August 29, 1859?
CREATE TABLE table_name_34 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR)
SELECT AVG(draws) FROM table_name_11 WHERE club = "mortlake" AND wins < 0
What is the average number of draws for Mortlake club when they have less than 0 wins?
CREATE TABLE table_name_11 (draws INTEGER, club VARCHAR, wins VARCHAR)