question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who was the association that Daniel Mananta belonged to after 2011?
CREATE TABLE table_name_54 (association VARCHAR, nominee VARCHAR, year VARCHAR)
SELECT association FROM table_name_54 WHERE nominee = "daniel mananta" AND year > 2011
When bat out of hell is the album what is the lowest number?
CREATE TABLE table_18442691_2 (no INTEGER, album VARCHAR)
SELECT MIN(no) FROM table_18442691_2 WHERE album = "Bat Out of Hell"
Show the description for role name "Proof Reader".
CREATE TABLE ROLES (role_description VARCHAR, role_name VARCHAR)
SELECT role_description FROM ROLES WHERE role_name = "Proof Reader"
What week did the member who's original tribe was shark and who was sent to the third island on week 14 arrive on the main island?
CREATE TABLE table_11764007_2 (week_arrived_on_main_island VARCHAR, original_tribe VARCHAR, week_sent_to_third_island VARCHAR)
SELECT week_arrived_on_main_island FROM table_11764007_2 WHERE original_tribe = "Shark" AND week_sent_to_third_island = "14"
Who were the opponents on grass when playing with Mark Woodforde, and the outcome of winner, and a year greater than 1996?
CREATE TABLE table_name_61 (opponents VARCHAR, year VARCHAR, outcome VARCHAR, surface VARCHAR, partner VARCHAR)
SELECT opponents FROM table_name_61 WHERE surface = "grass" AND partner = "mark woodforde" AND outcome = "winner" AND year > 1996
What date had a record of 15-14-4?
CREATE TABLE table_name_79 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_79 WHERE record = "15-14-4"
What was the time of the game on April 5?
CREATE TABLE table_name_87 (time VARCHAR, date VARCHAR)
SELECT time FROM table_name_87 WHERE date = "april 5"
What is the winning % for the 2010 QF?
CREATE TABLE table_name_3 (win__percentage VARCHAR)
SELECT win__percentage FROM table_name_3 WHERE 2010 = "qf"
What was the score on April 18?
CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_49 WHERE date = "april 18"
What was the date of the game that had a loss of Willis (0–1)?
CREATE TABLE table_name_32 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_32 WHERE loss = "willis (0–1)"
Where the built as is DLG-23, what is the class?
CREATE TABLE table_name_98 (class VARCHAR, built_as VARCHAR)
SELECT class FROM table_name_98 WHERE built_as = "dlg-23"
Which Casualties have a hostile Nature of incident and Circumstances of mortar attack?
CREATE TABLE table_name_67 (casualties VARCHAR, nature_of_incident VARCHAR, circumstances VARCHAR)
SELECT casualties FROM table_name_67 WHERE nature_of_incident = "hostile" AND circumstances = "mortar attack"
How much time, in minutes, did Chanel Chisholm play?
CREATE TABLE table_22993636_5 (minutes VARCHAR, player VARCHAR)
SELECT COUNT(minutes) FROM table_22993636_5 WHERE player = "Chanel Chisholm"
What was the score of the January 8 game?
CREATE TABLE table_27712702_9 (score VARCHAR, date VARCHAR)
SELECT score FROM table_27712702_9 WHERE date = "January 8"
I want the driver for ferrari who made Laps less than 26 and grids more than 9
CREATE TABLE table_name_69 (driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_69 WHERE grid > 9 AND laps < 26 AND constructor = "ferrari"
what is the average rank when the lane is more than 4 and the name is dominik meichtry?
CREATE TABLE table_name_97 (rank INTEGER, lane VARCHAR, name VARCHAR)
SELECT AVG(rank) FROM table_name_97 WHERE lane > 4 AND name = "dominik meichtry"
What human gene has a yeast ortholog of RAD26?
CREATE TABLE table_name_41 (human_gene__protein_ VARCHAR, yeast_ortholog VARCHAR)
SELECT human_gene__protein_ FROM table_name_41 WHERE yeast_ortholog = "rad26"
Which team had a position of linebacker with a pick smaller of 288?
CREATE TABLE table_name_44 (school_club_team VARCHAR, position VARCHAR, pick VARCHAR)
SELECT school_club_team FROM table_name_44 WHERE position = "linebacker" AND pick < 288
What is Date, when Outcome is "Winner", and when Opponents is "Paul Haarhuis Sandon Stolle"?
CREATE TABLE table_name_48 (date VARCHAR, outcome VARCHAR, opponents VARCHAR)
SELECT date FROM table_name_48 WHERE outcome = "winner" AND opponents = "paul haarhuis sandon stolle"
What is the Format when Alfa records is the label, and there is a Catalog of alca-9016?
CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_3 WHERE label = "alfa records" AND catalog = "alca-9016"
Which course had a jockey of Royston FFrench?
CREATE TABLE table_name_22 (course VARCHAR, jockey VARCHAR)
SELECT course FROM table_name_22 WHERE jockey = "royston ffrench"
Name the old bulgarian names for yanuari
CREATE TABLE table_15275060_1 (old_bulgarian_names VARCHAR, Yanuari VARCHAR, Transliteration VARCHAR)
SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yanuari
Name the sum of total for gold less than 1 and bronze of 3
CREATE TABLE table_name_56 (total INTEGER, gold VARCHAR, bronze VARCHAR)
SELECT SUM(total) FROM table_name_56 WHERE gold < 1 AND bronze = 3
Which Death date has a Rank smaller than 49, and an Age (as of 1 February 2014) of 112 years, 172 days?
CREATE TABLE table_name_65 (death_date VARCHAR, rank VARCHAR, age__as_of_1_february_2014_ VARCHAR)
SELECT death_date FROM table_name_65 WHERE rank < 49 AND age__as_of_1_february_2014_ = "112 years, 172 days"
How many movies were made before 2000?
CREATE TABLE Movie (YEAR INTEGER)
SELECT COUNT(*) FROM Movie WHERE YEAR < 2000
Name the number of district for tom marino
CREATE TABLE table_25030512_41 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_25030512_41 WHERE incumbent = "Tom Marino"
What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga?
CREATE TABLE table_name_45 (branding VARCHAR, frequency VARCHAR, coverage VARCHAR)
SELECT branding FROM table_name_45 WHERE frequency = "93.1mhz" AND coverage = "zamboanga"
How many byes when there are 11 wins and fewer than 5 losses?
CREATE TABLE table_name_63 (byes INTEGER, wins VARCHAR, losses VARCHAR)
SELECT SUM(byes) FROM table_name_63 WHERE wins = 11 AND losses < 5
What's the gold medal count ranked 2 with a total of more than 21?
CREATE TABLE table_name_42 (gold VARCHAR, rank VARCHAR, total VARCHAR)
SELECT COUNT(gold) FROM table_name_42 WHERE rank = 2 AND total > 21
What country has the Sky Calcio 2 tv service?
CREATE TABLE table_15887683_4 (country VARCHAR, television_service VARCHAR)
SELECT country FROM table_15887683_4 WHERE television_service = "Sky Calcio 2"
Name the viewers for 2.1 rating
CREATE TABLE table_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR)
SELECT viewers__millions_ FROM table_22822468_2 WHERE rating = "2.1"
What is the Tennessee with a Kentucky of Larry Seiple
CREATE TABLE table_name_11 (tennessee VARCHAR, kentucky VARCHAR)
SELECT tennessee FROM table_name_11 WHERE kentucky = "larry seiple"
How many games were played by the team with 2 draws, less than 16 points and a position higher than 5?
CREATE TABLE table_name_74 (played VARCHAR, position VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT COUNT(played) FROM table_name_74 WHERE drawn = 2 AND points < 16 AND position > 5
What number is Andrea Bargnani?
CREATE TABLE table_12962773_15 (no INTEGER, player VARCHAR)
SELECT MAX(no) FROM table_12962773_15 WHERE player = "Andrea Bargnani"
What is the FCC info for the call sign with a frequency MHz of 101.3, a ERP W over 10, and a Facility ID smaller than 87027?
CREATE TABLE table_name_52 (fcc_info VARCHAR, facility_id VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT fcc_info FROM table_name_52 WHERE frequency_mhz = 101.3 AND erp_w > 10 AND facility_id < 87027
Who's the player for the New York Rangers?
CREATE TABLE table_1213511_2 (player VARCHAR, nhl_team VARCHAR)
SELECT player FROM table_1213511_2 WHERE nhl_team = "New York Rangers"
When a lane of 4 has a QUART greater than 44.62, what is the lowest HEAT?
CREATE TABLE table_name_44 (heat INTEGER, lane VARCHAR, quart VARCHAR)
SELECT MIN(heat) FROM table_name_44 WHERE lane = 4 AND quart > 44.62
How many DVDs where were in the complete collection series 1-8 with extras?
CREATE TABLE table_25721_4 (_number_of_discs VARCHAR, release VARCHAR)
SELECT _number_of_discs FROM table_25721_4 WHERE release = "The Complete Collection Series 1-8 with extras"
Name the total number of tie number for team 2 osijek
CREATE TABLE table_20819379_2 (tie_no VARCHAR, team_2 VARCHAR)
SELECT COUNT(tie_no) FROM table_20819379_2 WHERE team_2 = "Osijek"
Which competition led to a total weight of 428kg?
CREATE TABLE table_name_77 (competition VARCHAR, total VARCHAR)
SELECT competition FROM table_name_77 WHERE total = "428kg"
What is the lowest first half when the score is larger than 621 and the rank 35?
CREATE TABLE table_name_21 (score VARCHAR, rank VARCHAR)
SELECT MIN(1 AS st_half) FROM table_name_21 WHERE score > 621 AND rank = 35
What Name has a Winning constructor of bugatti, and a Winning driver of louis chiron?
CREATE TABLE table_name_78 (name VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)
SELECT name FROM table_name_78 WHERE winning_constructor = "bugatti" AND winning_driver = "louis chiron"
Tell me the country for julian schnabel
CREATE TABLE table_name_38 (country VARCHAR, director VARCHAR)
SELECT country FROM table_name_38 WHERE director = "julian schnabel"
What date did the episode with code 110 originally air?
CREATE TABLE table_24425976_2 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_24425976_2 WHERE production_code = "110"
What is the record when the visiting team was the Quebec Nordiques on April 22?
CREATE TABLE table_name_26 (record VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT record FROM table_name_26 WHERE visitor = "quebec nordiques" AND date = "april 22"
What was the title for Sky One in 2005?
CREATE TABLE table_name_27 (title VARCHAR, broadcaster VARCHAR, year VARCHAR)
SELECT title FROM table_name_27 WHERE broadcaster = "sky one" AND year = "2005"
What is the 2012 value with a 1r in 2011 in the Australian Open?
CREATE TABLE table_name_6 (tournament VARCHAR)
SELECT 2012 FROM table_name_6 WHERE 2011 = "1r" AND tournament = "australian open"
What is the name of the Artist for the Spoofed Title of the moron downer jr. show?
CREATE TABLE table_name_13 (artist VARCHAR, spoofed_title VARCHAR)
SELECT artist FROM table_name_13 WHERE spoofed_title = "the moron downer jr. show"
Who were the candidates in district Wisconsin 1?
CREATE TABLE table_1341472_51 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1341472_51 WHERE district = "Wisconsin 1"
WHAT WAS THE WINNING SCORE IN YEAR 1922?
CREATE TABLE table_1507806_1 (winning_score VARCHAR, year VARCHAR)
SELECT winning_score FROM table_1507806_1 WHERE year = 1922
Which Points have a Record of 12–2–4–1, and a November larger than 22?
CREATE TABLE table_name_40 (points INTEGER, record VARCHAR, november VARCHAR)
SELECT AVG(points) FROM table_name_40 WHERE record = "12–2–4–1" AND november > 22
How many orders does Lucas Mancini has?
CREATE TABLE invoices (customer_id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT COUNT(*) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = "Lucas" AND T1.last_name = "Mancini"
What's the against when there were more than 2 losses, more than 3 wins, and draws more than 0?
CREATE TABLE table_name_86 (against INTEGER, draws VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT AVG(against) FROM table_name_86 WHERE losses > 2 AND wins > 3 AND draws > 0
Who was the opponent with a score of 109–108?
CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_7 WHERE score = "109–108"
Which Date has a Venue of bucharest?
CREATE TABLE table_name_3 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_3 WHERE venue = "bucharest"
What year was the Grand Prix Passing Shot Bordeaux that had Runners-up of Diego Nargiso?
CREATE TABLE table_name_96 (year VARCHAR, tournament_name VARCHAR, runners_up VARCHAR)
SELECT year FROM table_name_96 WHERE tournament_name = "grand prix passing shot bordeaux" AND runners_up = "diego nargiso"
What episode number in the series originally aired on April 27, 1999?
CREATE TABLE table_228973_5 (no_in_series INTEGER, original_air_date VARCHAR)
SELECT MAX(no_in_series) FROM table_228973_5 WHERE original_air_date = "April 27, 1999"
What is the largest crowd at princes park?
CREATE TABLE table_name_88 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_88 WHERE venue = "princes park"
What status has France as the opposing teams?
CREATE TABLE table_name_71 (status VARCHAR, opposing_teams VARCHAR)
SELECT status FROM table_name_71 WHERE opposing_teams = "france"
Which venue had an opponent of Sunderland and a result of a 1-1 draw?
CREATE TABLE table_name_40 (venue VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT venue FROM table_name_40 WHERE opponent = "sunderland" AND result = "1-1"
What percentage of The Bronx voters occured when Manhattan had 29.9% of voters?
CREATE TABLE table_1108394_34 (the_bronx VARCHAR, manhattan VARCHAR)
SELECT the_bronx FROM table_1108394_34 WHERE manhattan = "29.9_percentage"
What is the scale of sv_health with a word number smaller than 4?
CREATE TABLE table_name_8 (scale VARCHAR, word__number VARCHAR, name VARCHAR)
SELECT scale FROM table_name_8 WHERE word__number < 4 AND name = "sv_health"
What is Arkansas State's total pick number with an overal lower than 242?
CREATE TABLE table_name_96 (pick__number VARCHAR, college VARCHAR, overall VARCHAR)
SELECT COUNT(pick__number) FROM table_name_96 WHERE college = "arkansas state" AND overall < 242
How many data was given the total electricity in GW-h if % renewable is 92.3%?
CREATE TABLE table_25244412_2 (total_electricity__gw VARCHAR, _percentage_renewable VARCHAR)
SELECT COUNT(total_electricity__gw) AS ·h_ FROM table_25244412_2 WHERE _percentage_renewable = "92.3%"
What is the name of the company that constructed the vehicle for Timo Glock?
CREATE TABLE table_name_15 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_15 WHERE driver = "timo glock"
What was the ceased operation with a launch date of August 8, 1968?
CREATE TABLE table_name_86 (ceased_operation VARCHAR, launched VARCHAR)
SELECT ceased_operation FROM table_name_86 WHERE launched = "august 8, 1968"
Name the total number for 3 public
CREATE TABLE table_26375386_22 (total VARCHAR, public VARCHAR)
SELECT COUNT(total) FROM table_26375386_22 WHERE public = 3
How many League Cup Goals have Total Apps of 36, and Total Goals smaller than 1?
CREATE TABLE table_name_76 (league_cup_goals VARCHAR, total_apps VARCHAR, total_goals VARCHAR)
SELECT COUNT(league_cup_goals) FROM table_name_76 WHERE total_apps = "36" AND total_goals < 1
What league has a value of 0 29 (152) for Europe?
CREATE TABLE table_name_43 (league VARCHAR, europe VARCHAR)
SELECT league FROM table_name_43 WHERE europe = "0 29 (152)"
How many are in the Green Party with a Fine Gael of less than 4 and a Fianna Fail of less than 2 in Athy?
CREATE TABLE table_name_41 (green_party INTEGER, town VARCHAR, fine_gael VARCHAR, fianna_fáil VARCHAR)
SELECT SUM(green_party) FROM table_name_41 WHERE fine_gael < 4 AND fianna_fáil < 2 AND town = "athy"
What is the lowest wk 3 value with an n/r in wk 14, a wk 2 value of 7, and a wk 11 value greater than 18?
CREATE TABLE table_name_11 (wk_3 INTEGER, wk_11 VARCHAR, wk_14 VARCHAR, wk_2 VARCHAR)
SELECT MIN(wk_3) FROM table_name_11 WHERE wk_14 = "n/r" AND wk_2 = 7 AND wk_11 > 18
what is the lowest number of blocks
CREATE TABLE table_19722233_5 (blocks INTEGER)
SELECT MIN(blocks) FROM table_19722233_5
For the tournament played on a hard surface and ending with a score of Walkover, who was the Finals opponent?
CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)
SELECT opponent_in_the_final FROM table_name_69 WHERE surface = "hard" AND score = "walkover"
How many F.L. are listed for Formula Three Euroseries?
CREATE TABLE table_25548630_1 (fl VARCHAR, series VARCHAR)
SELECT COUNT(fl) FROM table_25548630_1 WHERE series = "Formula Three Euroseries"
Name the points classification of stage 16
CREATE TABLE table_name_31 (points_classification VARCHAR, stage VARCHAR)
SELECT points_classification FROM table_name_31 WHERE stage = "16"
What is the date of the game held at Lahore?
CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_87 WHERE venue = "lahore"
Who was the opponent on May 20?
CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_16 WHERE date = "may 20"
What is Competition, when Score is "2-1", and when Date is "October 22, 2008"?
CREATE TABLE table_name_84 (competition VARCHAR, score VARCHAR, date VARCHAR)
SELECT competition FROM table_name_84 WHERE score = "2-1" AND date = "october 22, 2008"
What was the air date of part 2 of the episode whose part 1 was aired on January 31, 2008?
CREATE TABLE table_13241993_3 (part_2 VARCHAR, part_1 VARCHAR)
SELECT part_2 FROM table_13241993_3 WHERE part_1 = "January 31, 2008"
When bmw activee is the vehicle type what is the u.s national average electric mix?
CREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, vehicle VARCHAR)
SELECT us_national_average_electric_mix FROM table_24620684_2 WHERE vehicle = "BMW ActiveE"
Who directed the episode seen by 3.93 million people in the US?
CREATE TABLE table_18268826_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT directed_by FROM table_18268826_1 WHERE us_viewers__million_ = "3.93"
What was the average number of members Nominated by the Taoiseach, when the Agricultural Panel had less than 1 member, and when the Administrative Panel had fewer than 0 members?
CREATE TABLE table_name_10 (nominated_by_the_taoiseach INTEGER, agricultural_panel VARCHAR, administrative_panel VARCHAR)
SELECT AVG(nominated_by_the_taoiseach) FROM table_name_10 WHERE agricultural_panel < 1 AND administrative_panel < 0
What is the total number of appearances in the premier league when there were 10 appearances at UEFA and less than 4 at league cup?
CREATE TABLE table_name_53 (premier_league VARCHAR, UEfa_cup VARCHAR, league_cup VARCHAR)
SELECT COUNT(premier_league) FROM table_name_53 WHERE UEfa_cup = 10 AND league_cup < 4
What is the smallest cultural and educational panel with a nominated by the Taoiseach less than 5 and the total greater than 19?
CREATE TABLE table_name_74 (cultural_and_educational_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)
SELECT MIN(cultural_and_educational_panel) FROM table_name_74 WHERE nominated_by_the_taoiseach < 5 AND total > 19
What is the Time of the match with a Record of 3-3?
CREATE TABLE table_name_30 (time VARCHAR, record VARCHAR)
SELECT time FROM table_name_30 WHERE record = "3-3"
Who directed the film that received an award of £6,245?
CREATE TABLE table_name_10 (director_s_ VARCHAR, award VARCHAR)
SELECT director_s_ FROM table_name_10 WHERE award = "£6,245"
On what date was the attendance at Continental Airlines Arena 13,755?
CREATE TABLE table_15869204_4 (date VARCHAR, location_attendance VARCHAR)
SELECT date FROM table_15869204_4 WHERE location_attendance = "Continental Airlines Arena 13,755"
What school took 4th place in 2001?
CREATE TABLE table_11577996_1 (year VARCHAR)
SELECT 4 AS th_place FROM table_11577996_1 WHERE year = 2001
What tournament has petra mandula patricia wartusch as the opponent in the final?
CREATE TABLE table_name_40 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_40 WHERE opponent_in_the_final = "petra mandula patricia wartusch"
What nation has more than 0 silver medals and is ranked 1?
CREATE TABLE table_name_27 (nation VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT nation FROM table_name_27 WHERE silver > 0 AND rank = "1"
Who was the winner when the total attendance was 16597?
CREATE TABLE table_1672976_5 (winner VARCHAR, attendance VARCHAR)
SELECT winner FROM table_1672976_5 WHERE attendance = 16597
What is the Power (kW) for the station located in Cebu?
CREATE TABLE table_name_83 (power__kw_ VARCHAR, location VARCHAR)
SELECT power__kw_ FROM table_name_83 WHERE location = "cebu"
How many draws were there in played games?
CREATE TABLE table_17941032_2 (drawn VARCHAR)
SELECT drawn FROM table_17941032_2 WHERE "played" = "played"
What was the surface of the score of 7–5, 3–6, 7–6?
CREATE TABLE table_name_58 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_58 WHERE score = "7–5, 3–6, 7–6"
List all number of yards with an AST of 8.
CREATE TABLE table_13237088_28 (no_yds VARCHAR, ast VARCHAR)
SELECT no_yds FROM table_13237088_28 WHERE ast = 8
what is the number of people where the pieces is 3015
CREATE TABLE table_28498999_6 (player VARCHAR, points VARCHAR)
SELECT COUNT(player) FROM table_28498999_6 WHERE points = 3015
What is the highest round where a back named Ed Cody can be found?
CREATE TABLE table_name_53 (round INTEGER, position VARCHAR, player VARCHAR)
SELECT MAX(round) FROM table_name_53 WHERE position = "back" AND player = "ed cody"
Name the date for s. valentino alla muta , italia
CREATE TABLE table_30073089_2 (date VARCHAR, location VARCHAR)
SELECT date FROM table_30073089_2 WHERE location = "S. Valentino Alla Muta , Italia"
What was the average attendance when the record was 17-18?
CREATE TABLE table_name_45 (attendance INTEGER, record VARCHAR)
SELECT AVG(attendance) FROM table_name_45 WHERE record = "17-18"
Which nation had a battlecruiser with an estimate of 513?
CREATE TABLE table_name_39 (nat VARCHAR, ship_type VARCHAR, estimate VARCHAR)
SELECT nat FROM table_name_39 WHERE ship_type = "battlecruiser" AND estimate = "513"