question
stringlengths
17
201
answer
stringlengths
21
400
context
stringlengths
32
286
What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?
SELECT l2_cache FROM table_name_10 WHERE idle_power = "100mw" AND model_number = "nano u3400"
CREATE TABLE table_name_10 (l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR)
Name the most number in season for production code 3abc12
SELECT MAX(no_in_season) FROM table_23289934_1 WHERE production_code = "3ABC12"
CREATE TABLE table_23289934_1 (no_in_season INTEGER, production_code VARCHAR)
Which Date has a Venue of bucharest?
SELECT date FROM table_name_3 WHERE venue = "bucharest"
CREATE TABLE table_name_3 (date VARCHAR, venue VARCHAR)
Who had the statistic of most assists?
SELECT name FROM table_name_93 WHERE statistic = "most assists"
CREATE TABLE table_name_93 (name VARCHAR, statistic VARCHAR)
What is the result for the game before week 7 against BYE?
SELECT result FROM table_name_95 WHERE week < 7 AND opponent = "bye"
CREATE TABLE table_name_95 (result VARCHAR, week VARCHAR, opponent VARCHAR)
Who was in Human Resources & Operations when David Hornsby was in Academic & University Affairs?
SELECT human_resources_ & _operations FROM table_name_56 WHERE academic_ & _university_affairs = "david hornsby"
CREATE TABLE table_name_56 (human_resources_ VARCHAR, _operations VARCHAR, academic_ VARCHAR, _university_affairs VARCHAR)
Which Week has a TV Time of cbs 1:00pm, and an Attendance of 72,714?
SELECT week FROM table_name_44 WHERE tv_time = "cbs 1:00pm" AND attendance = "72,714"
CREATE TABLE table_name_44 (week VARCHAR, tv_time VARCHAR, attendance VARCHAR)
Show names of technicians and series of machines they are assigned to repair.
SELECT T3.Name, T2.Machine_series FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID
CREATE TABLE machine (Machine_series VARCHAR, machine_id VARCHAR); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)
What is the 1991 when 1990 is ATP Masters Series?
SELECT 1991 FROM table_name_53 WHERE 1990 = "atp masters series"
CREATE TABLE table_name_53 (Id VARCHAR)
Which opponent has a Record of 54-38?
SELECT opponent FROM table_name_73 WHERE record = "54-38"
CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR)
Where was the game on May 15 and how many were in attendance?
SELECT location_attendance FROM table_11963601_11 WHERE date = "May 15"
CREATE TABLE table_11963601_11 (location_attendance VARCHAR, date VARCHAR)
During which years was Marcus Banks in Toronto?
SELECT years_in_toronto FROM table_10015132_2 WHERE player = "Marcus Banks"
CREATE TABLE table_10015132_2 (years_in_toronto VARCHAR, player VARCHAR)
Retrieve the open and close dates of all the policies associated with the customer whose name contains "Diana"
SELECT t2.date_opened, t2.date_closed FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name LIKE "%Diana%"
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customers_policies (date_opened VARCHAR, date_closed VARCHAR, customer_id VARCHAR)
What was the NCAA Tournament record after the June 26 game?
SELECT ncaat_record FROM table_28001186_8 WHERE date = "June 26"
CREATE TABLE table_28001186_8 (ncaat_record VARCHAR, date VARCHAR)
Find the name and rank points of the winner who won the most times.
SELECT winner_name, winner_rank_points FROM matches GROUP BY winner_name ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE matches (winner_name VARCHAR, winner_rank_points VARCHAR)
What is Location, when Class / Type is "Sloop"?
SELECT location FROM table_name_33 WHERE class___type = "sloop"
CREATE TABLE table_name_33 (location VARCHAR, class___type VARCHAR)
What is the unformatted capacity per side if the size is 8in?
SELECT unformatted_capacity_per_side FROM table_name_42 WHERE size = "8in"
CREATE TABLE table_name_42 (unformatted_capacity_per_side VARCHAR, size VARCHAR)
Which Manufacturer has a Quantity of 1, and has the LMMR name Great Mountain?
SELECT manufacturer FROM table_name_85 WHERE quantity = 1 AND lmmr_name = "great mountain"
CREATE TABLE table_name_85 (manufacturer VARCHAR, quantity VARCHAR, lmmr_name VARCHAR)
What is the time/retired of Driver Masten Gregory Carroll Shelby when the constructor was Maserati, the Grid was larger than 10 and there were more than 2 laps?
SELECT time_retired FROM table_name_30 WHERE grid > 10 AND laps > 2 AND constructor = "maserati" AND driver = "masten gregory carroll shelby"
CREATE TABLE table_name_30 (time_retired VARCHAR, driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)
What is the Strain name of Species Thiomicrospira crunogena?
SELECT strain FROM table_name_24 WHERE species = "thiomicrospira crunogena"
CREATE TABLE table_name_24 (strain VARCHAR, species VARCHAR)
What is every party A with a constituency of Tiruchendur?
SELECT party AS a FROM table_22753439_1 WHERE constituency = "Tiruchendur"
CREATE TABLE table_22753439_1 (party VARCHAR, constituency VARCHAR)
What is the largest silver value associated with 0 golds?
SELECT MAX(silver) FROM table_name_42 WHERE gold < 0
CREATE TABLE table_name_42 (silver INTEGER, gold INTEGER)
Who was the scorer when the opponent was aberdeen?
SELECT scorers FROM table_name_63 WHERE opponent = "aberdeen"
CREATE TABLE table_name_63 (scorers VARCHAR, opponent VARCHAR)
how many hometowns for faisal aden?
SELECT COUNT(hometown) FROM table_29598261_1 WHERE name = "Faisal Aden"
CREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR)
I want the driver that has Laps of 10
SELECT driver FROM table_name_59 WHERE laps = 10
CREATE TABLE table_name_59 (driver VARCHAR, laps VARCHAR)
What series was directed by Frank Tashlin and has the production number, 8053?
SELECT series FROM table_name_28 WHERE director = "frank tashlin" AND production_num = "8053"
CREATE TABLE table_name_28 (series VARCHAR, director VARCHAR, production_num VARCHAR)
What is the Margin in 1953 when Patty Berg was Runner(s)-up?
SELECT margin FROM table_name_29 WHERE runner_s__up = "patty berg" AND year = 1953
CREATE TABLE table_name_29 (margin VARCHAR, runner_s__up VARCHAR, year VARCHAR)
Which 2000 Tournament has a 2002 of not tier i, and a 2006 of 2r?
SELECT 2000 FROM table_name_57 WHERE 2002 = "not tier i" AND 2006 = "2r"
CREATE TABLE table_name_57 (Id VARCHAR)
How many U.S. viewers (million) are there for the episode whose Production code is 3T7051?
SELECT us_viewers__million_ FROM table_13183076_3 WHERE production_code = "3T7051"
CREATE TABLE table_13183076_3 (us_viewers__million_ VARCHAR, production_code VARCHAR)
What is the regulated retail price for the tariff code ff0 prs?
SELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = "ff0 PRS"
CREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR)
What is the average car number of all the drivers with 109 points?
SELECT AVG(car__number) FROM table_name_12 WHERE points = "109"
CREATE TABLE table_name_12 (car__number INTEGER, points VARCHAR)
Who were they playing when Bird (1-4) had a loss?
SELECT opponent FROM table_name_42 WHERE loss = "bird (1-4)"
CREATE TABLE table_name_42 (opponent VARCHAR, loss VARCHAR)
What was the score of the game for April 16?
SELECT loss FROM table_name_62 WHERE date = "april 16"
CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR)
What was the round number for March 22?
SELECT round FROM table_name_92 WHERE date = "march 22"
CREATE TABLE table_name_92 (round VARCHAR, date VARCHAR)
Which team does David O'leary manage?
SELECT team FROM table_name_28 WHERE manager = "david o'leary"
CREATE TABLE table_name_28 (team VARCHAR, manager VARCHAR)
What championship had a margin of playoff 2?
SELECT championship FROM table_13026799_1 WHERE margin = "Playoff 2"
CREATE TABLE table_13026799_1 (championship VARCHAR, margin VARCHAR)
Show different teams in eliminations and the number of eliminations from each team.
SELECT Team, COUNT(*) FROM elimination GROUP BY Team
CREATE TABLE elimination (Team VARCHAR)
Name the sum of gross tonnage for wood on date more tahn 1846 for comissioned and ship of esk
SELECT SUM(gross_tonnage) FROM table_name_75 WHERE material = "wood" AND date_commissioned > 1846 AND ship = "esk"
CREATE TABLE table_name_75 (gross_tonnage INTEGER, ship VARCHAR, material VARCHAR, date_commissioned VARCHAR)
Name the number of party with the incubent james william trimble
SELECT COUNT(party) FROM table_1341930_5 WHERE incumbent = "James William Trimble"
CREATE TABLE table_1341930_5 (party VARCHAR, incumbent VARCHAR)
What was the original air date of the episode that had 4.08 million U.S. viewers?
SELECT original_air_date FROM table_21304155_1 WHERE us_viewers__millions_ = "4.08"
CREATE TABLE table_21304155_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
What is the Championship Game that has 4 Bids and a .600 Win %?
SELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = ".600"
CREATE TABLE table_name_40 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR)
When did acharya shree koshalendraprasadji maharaj become acharya?
SELECT became_acharya_on FROM table_name_12 WHERE name_of_acharya = "acharya shree koshalendraprasadji maharaj"
CREATE TABLE table_name_12 (became_acharya_on VARCHAR, name_of_acharya VARCHAR)
Which top ten, having less than 12 cuts less than 2 top five, and events smaller than 14, is the highest?
SELECT MAX(top_10) FROM table_name_92 WHERE cuts_made < 12 AND top_5 < 2 AND events < 14
CREATE TABLE table_name_92 (top_10 INTEGER, events VARCHAR, cuts_made VARCHAR, top_5 VARCHAR)
What is the largest number of assists for the second rank when there were less than 2 games?
SELECT MAX(assists) FROM table_name_71 WHERE rank = 2 AND games < 2
CREATE TABLE table_name_71 (assists INTEGER, rank VARCHAR, games VARCHAR)
What is the highest number of amendments cosponsored associated with 53 amendments originally cosponsored and over 54 bills sponsored?
SELECT MAX(all_amendments_cosponsored) FROM table_name_25 WHERE amendments_originally_cosponsored = 53 AND all_bills_sponsored > 54
CREATE TABLE table_name_25 (all_amendments_cosponsored INTEGER, amendments_originally_cosponsored VARCHAR, all_bills_sponsored VARCHAR)
Tell me the lowest pick number for columbus crew
SELECT MIN(pick__number) FROM table_name_15 WHERE mls_team = "columbus crew"
CREATE TABLE table_name_15 (pick__number INTEGER, mls_team VARCHAR)
Which Score has an Opponent of melanie south?
SELECT score FROM table_name_58 WHERE opponent = "melanie south"
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)
Which opponents conference has the result L, 62-10?
SELECT opponents_conference FROM table_26240481_1 WHERE result = "L, 62-10"
CREATE TABLE table_26240481_1 (opponents_conference VARCHAR, result VARCHAR)
What away game had a time of 10:00?
SELECT away FROM table_name_98 WHERE time = "10:00"
CREATE TABLE table_name_98 (away VARCHAR, time VARCHAR)
What is the sequencer when ion torrent pgm is 200-400 bp?
SELECT sequencer FROM table_127511_1 WHERE ion_torrent_pgm = "200-400 bp"
CREATE TABLE table_127511_1 (sequencer VARCHAR, ion_torrent_pgm VARCHAR)
When was the date of death for the person married to Charles II?
SELECT death FROM table_name_86 WHERE spouse = "charles ii"
CREATE TABLE table_name_86 (death VARCHAR, spouse VARCHAR)
What is the score when there was a Loss of birkbeck (0–3)?
SELECT score FROM table_name_70 WHERE loss = "birkbeck (0–3)"
CREATE TABLE table_name_70 (score VARCHAR, loss VARCHAR)
Which Population density (per km²) has a Change (%) larger than 4.9, and a Land area (km²) smaller than 15.59, and a Population (2011) larger than 790?
SELECT MAX(population_density__per_km²_) FROM table_name_90 WHERE change___percentage_ > 4.9 AND land_area__km²_ < 15.59 AND population__2011_ > 790
CREATE TABLE table_name_90 (population_density__per_km²_ INTEGER, population__2011_ VARCHAR, change___percentage_ VARCHAR, land_area__km²_ VARCHAR)
What is the translation of chetvert?
SELECT translation FROM table_name_81 WHERE unit = "chetvert"
CREATE TABLE table_name_81 (translation VARCHAR, unit VARCHAR)
How many titles had an average rating of 8.9%?
SELECT COUNT(romaji_title) FROM table_18539834_2 WHERE average_ratings = "8.9%"
CREATE TABLE table_18539834_2 (romaji_title VARCHAR, average_ratings VARCHAR)
What was the school/club team whose season was in 2012 and were acquired via trade?
SELECT school_club_team FROM table_15463188_17 WHERE season = "2012" AND acquisition_via = "Trade"
CREATE TABLE table_15463188_17 (school_club_team VARCHAR, season VARCHAR, acquisition_via VARCHAR)
what is the least number of goals for when the goals against is 70 and the ties less than 0?
SELECT MIN(goals_for) FROM table_name_32 WHERE goals_against = 70 AND ties < 0
CREATE TABLE table_name_32 (goals_for INTEGER, goals_against VARCHAR, ties VARCHAR)
Where did the game on March 11 take place and how many people attended?
SELECT location_attendance FROM table_name_68 WHERE date = "march 11"
CREATE TABLE table_name_68 (location_attendance VARCHAR, date VARCHAR)
Which party's candidate is Grech Louis Grech?
SELECT party FROM table_name_36 WHERE candidate = "grech louis grech"
CREATE TABLE table_name_36 (party VARCHAR, candidate VARCHAR)
How many Heats have a Name of miguel molina?
SELECT COUNT(heat) FROM table_name_39 WHERE name = "miguel molina"
CREATE TABLE table_name_39 (heat VARCHAR, name VARCHAR)
How many numbers have Charles Salmon as the producer and January 27, 2007 was the television premiere?
SELECT MIN(_number) FROM table_19982699_1 WHERE producer = "Charles Salmon" AND television_premiere = "January 27, 2007"
CREATE TABLE table_19982699_1 (_number INTEGER, producer VARCHAR, television_premiere VARCHAR)
What is the position for the university of north carolina carolina dynamo affiliation
SELECT position FROM table_29626583_1 WHERE affiliation = "University of North Carolina Carolina Dynamo"
CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR)
What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners?
SELECT score FROM table_name_77 WHERE runner_up = "utc" AND winners = "saint-gaudens bears"
CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR)
What is Location, when Circuit is August 16?
SELECT location FROM table_name_1 WHERE circuit = "august 16"
CREATE TABLE table_name_1 (location VARCHAR, circuit VARCHAR)
What is the score for the game in which Manchester United was the home team?
SELECT score FROM table_name_85 WHERE home_team = "manchester united"
CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR)
What is the average number of Tries for Nathan McAvoy?
SELECT AVG(tries) FROM table_name_60 WHERE player = "nathan mcavoy"
CREATE TABLE table_name_60 (tries INTEGER, player VARCHAR)
Which Series has an Actor of tom ward?
SELECT series FROM table_name_92 WHERE actor = "tom ward"
CREATE TABLE table_name_92 (series VARCHAR, actor VARCHAR)
Which venue has 2:04.22 notes?
SELECT venue FROM table_name_19 WHERE notes = "2:04.22"
CREATE TABLE table_name_19 (venue VARCHAR, notes VARCHAR)
Who was the home team at Gold Coast Convention Centre?
SELECT home_team FROM table_name_8 WHERE venue = "gold coast convention centre"
CREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR)
what is the number of teams where conmebol 1996 did not qualify?
SELECT COUNT(team) FROM table_14310205_1 WHERE conmebol_1996 = "did not qualify"
CREATE TABLE table_14310205_1 (team VARCHAR, conmebol_1996 VARCHAR)
What is listed for the Elevator that has the Elector of Gerardo?
SELECT elevator FROM table_name_10 WHERE elector = "gerardo"
CREATE TABLE table_name_10 (elevator VARCHAR, elector VARCHAR)
What number value has the Other transliteration of muoy roy?
SELECT value FROM table_name_90 WHERE other = "muoy roy"
CREATE TABLE table_name_90 (value VARCHAR, other VARCHAR)
what total was the lowest and had a to par of e?
SELECT MIN(total) FROM table_name_45 WHERE to_par = "e"
CREATE TABLE table_name_45 (total INTEGER, to_par VARCHAR)
Which nationality is the player from the Philadelphia Flyers?
SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers"
CREATE TABLE table_1473672_3 (nationality VARCHAR, nhl_team VARCHAR)
Who is the driver for the Forsythe Racing team that has the best time of 1:00.099?
SELECT name FROM table_name_42 WHERE team = "forsythe racing" AND best = "1:00.099"
CREATE TABLE table_name_42 (name VARCHAR, team VARCHAR, best VARCHAR)
Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv?
SELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = "480i" AND psip_short_name = "jtv"
CREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR)
What is the number of Matches for Vits Rimkus with a Rank of less than 3?
SELECT AVG(matches) FROM table_name_2 WHERE name = "vits rimkus" AND rank < 3
CREATE TABLE table_name_2 (matches INTEGER, name VARCHAR, rank VARCHAR)
What was the attendance when South Melbourne played as the home team?
SELECT MIN(crowd) FROM table_name_21 WHERE home_team = "south melbourne"
CREATE TABLE table_name_21 (crowd INTEGER, home_team VARCHAR)
What Version has a Remixed by Perky Park with a Length of 6:38?
SELECT version FROM table_name_29 WHERE remixed_by = "perky park" AND length = "6:38"
CREATE TABLE table_name_29 (version VARCHAR, remixed_by VARCHAR, length VARCHAR)
Who was the runner-up on Jul 14, 1968?
SELECT runner_s__up FROM table_name_64 WHERE date = "jul 14, 1968"
CREATE TABLE table_name_64 (runner_s__up VARCHAR, date VARCHAR)
What is the venue when melbourne is the away team?
SELECT venue FROM table_name_25 WHERE away_team = "melbourne"
CREATE TABLE table_name_25 (venue VARCHAR, away_team VARCHAR)
What are the numbers for the order number 713096-713119?
SELECT numbers FROM table_2351952_1 WHERE order_number = "713096-713119"
CREATE TABLE table_2351952_1 (numbers VARCHAR, order_number VARCHAR)
What city is Jaffna Airport in?
SELECT city FROM table_name_25 WHERE airport = "jaffna airport"
CREATE TABLE table_name_25 (city VARCHAR, airport VARCHAR)
Who is the home team who plays at Glenferrie Oval?
SELECT home_team FROM table_name_95 WHERE venue = "glenferrie oval"
CREATE TABLE table_name_95 (home_team VARCHAR, venue VARCHAR)
Who has 5/1 odds?
SELECT jockey FROM table_name_55 WHERE odds = "5/1"
CREATE TABLE table_name_55 (jockey VARCHAR, odds VARCHAR)
How many tries against got the club with 62 tries for?
SELECT tries_against FROM table_13564702_4 WHERE tries_for = "62"
CREATE TABLE table_13564702_4 (tries_against VARCHAR, tries_for VARCHAR)
Name the team of vitali yeremeyev
SELECT nhl_team FROM table_name_97 WHERE player = "vitali yeremeyev"
CREATE TABLE table_name_97 (nhl_team VARCHAR, player VARCHAR)
What was the date of the game that was played against Laura Golarsa?
SELECT date FROM table_name_85 WHERE partnering = "laura golarsa"
CREATE TABLE table_name_85 (date VARCHAR, partnering VARCHAR)
Find the name and city of the airport which is the source for the most number of flight routes.
SELECT T1.name, T1.city, T2.src_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_apid GROUP BY T2.src_apid ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE airports (name VARCHAR, city VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR)
Which Season has a Level of tier 2 and a Position of 1st?
SELECT COUNT(season) FROM table_name_82 WHERE level = "tier 2" AND position = "1st"
CREATE TABLE table_name_82 (season VARCHAR, level VARCHAR, position VARCHAR)
What decision had a Record of 3–5–0?
SELECT decision FROM table_name_17 WHERE record = "3–5–0"
CREATE TABLE table_name_17 (decision VARCHAR, record VARCHAR)
What is the title of the episode with production code 102?
SELECT title FROM table_27547668_2 WHERE prod_code = 102
CREATE TABLE table_27547668_2 (title VARCHAR, prod_code VARCHAR)
What's the Year average that's got Trim of LS/LT and Power of HP (KW)?
SELECT AVG(year) FROM table_name_51 WHERE trim = "ls/lt" AND power = "hp (kw)"
CREATE TABLE table_name_51 (year INTEGER, trim VARCHAR, power VARCHAR)
When the Flap is less than 15 and the podium is larger than 11, what is the pole?
SELECT pole FROM table_name_95 WHERE flap < 15 AND podium > 11
CREATE TABLE table_name_95 (pole VARCHAR, flap VARCHAR, podium VARCHAR)
What is the 4.45 for Yelena Isinbayeva?
SELECT 445 FROM table_name_5 WHERE name = "yelena isinbayeva"
CREATE TABLE table_name_5 (name VARCHAR)
When was Hon Les Johnson in office?
SELECT term_in_office FROM table_name_74 WHERE member = "hon les johnson"
CREATE TABLE table_name_74 (term_in_office VARCHAR, member VARCHAR)
Name the Social Sec Leeds has Fixtures Sec of n/a, and a General Sec of n/a, and the Season of 2005–2006?
SELECT social_sec_leeds FROM table_name_23 WHERE fixtures_sec = "n/a" AND general_sec = "n/a" AND season = "2005–2006"
CREATE TABLE table_name_23 (social_sec_leeds VARCHAR, season VARCHAR, fixtures_sec VARCHAR, general_sec VARCHAR)
show the train name and station name for each train.
SELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)
Name the swuinsuit for oregon
SELECT swimsuit FROM table_17516967_1 WHERE state = "Oregon"
CREATE TABLE table_17516967_1 (swimsuit VARCHAR, state VARCHAR)
What's the total number of league cup apps when the league goals were less than 0?
SELECT COUNT(league_cup_apps) FROM table_name_15 WHERE league_goals < 0
CREATE TABLE table_name_15 (league_cup_apps VARCHAR, league_goals INTEGER)