answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT catalog FROM table_name_9 WHERE date = "march 13, 2002"
What is the Catalog with a Date that is march 13, 2002?
CREATE TABLE table_name_9 (catalog VARCHAR, date VARCHAR)
SELECT runner_s__up FROM table_name_1 WHERE margin = "1 stroke"
Who was the runner-up when the margin was 1 stroke?
CREATE TABLE table_name_1 (runner_s__up VARCHAR, margin VARCHAR)
SELECT division FROM table_name_24 WHERE coach = "todd gordon"
In which division were the IceGators when coached by Todd Gordon?
CREATE TABLE table_name_24 (division VARCHAR, coach VARCHAR)
SELECT COUNT(date) FROM table_name_67 WHERE partner = "carl-uwe steeb"
What is the total number of Date, when Partner is "Carl-Uwe Steeb"?
CREATE TABLE table_name_67 (date VARCHAR, partner VARCHAR)
SELECT bullet_weight FROM table_16010376_1 WHERE source = "Remington"
What is the weight of the bullet used in a Remington?
CREATE TABLE table_16010376_1 (bullet_weight VARCHAR, source VARCHAR)
SELECT MIN(year) FROM table_22597626_17 WHERE opponents_in_the_final = "Bahrami Leconte" AND score_in_the_final = "7–6 2 , 6–1"
What was the year date when one of the opponents in the final was bahrami leconte and score in the final is 7–6 2 , 6–1?
CREATE TABLE table_22597626_17 (year INTEGER, opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
SELECT name FROM web_client_accelerator WHERE name LIKE "%Opera%"
Which accelerator name contains substring "Opera"?
CREATE TABLE web_client_accelerator (name VARCHAR)
SELECT COUNT(entered) FROM table_29692554_2 WHERE time = "21:09"
How many entries are shown for entered at 21:09?
CREATE TABLE table_29692554_2 (entered VARCHAR, time VARCHAR)
SELECT SUM(pick) FROM table_name_70 WHERE position = "defensive end" AND round = 8
What pick was used to select a Defensive End in round 8?
CREATE TABLE table_name_70 (pick INTEGER, position VARCHAR, round VARCHAR)
SELECT 2008 FROM table_name_77 WHERE tournament = "year"
What is the value in 2008 when the value for Tournament is year?
CREATE TABLE table_name_77 (tournament VARCHAR)
SELECT bandwidth FROM table_17304621_14 WHERE downstream = "20 Mbit/s" AND price_tl = "69 TL"
What is the bandwidth for downstream of 20 mbit/s for 69 tl?
CREATE TABLE table_17304621_14 (bandwidth VARCHAR, downstream VARCHAR, price_tl VARCHAR)
SELECT location_attendance FROM table_18813011_6 WHERE date = "July 11"
What was the place and how many people attended the game on July 11?
CREATE TABLE table_18813011_6 (location_attendance VARCHAR, date VARCHAR)
SELECT MIN(react) FROM table_name_94 WHERE name = "bryan clay"
What was Bryan Clay's react time?
CREATE TABLE table_name_94 (react INTEGER, name VARCHAR)
SELECT MAX(tot_enlisted) FROM table_23508196_2 WHERE total_usaaf = 2329534
How many Tot enlisted were there on the day when the number of total USAAF was 2329534?
CREATE TABLE table_23508196_2 (tot_enlisted INTEGER, total_usaaf VARCHAR)
SELECT COUNT(to_par) FROM table_name_93 WHERE country = "united states" AND score = 72 - 71 - 73 - 73 = 289
how many times is the country united states and the score 72-71-73-73=289?
CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT COUNT(rank) FROM table_name_4 WHERE notes = "r" AND country = "brazil"
What's Brazil's rank when it has notes of R?
CREATE TABLE table_name_4 (rank VARCHAR, notes VARCHAR, country VARCHAR)
SELECT location FROM table_26351260_1 WHERE team_nickname = "Bulldogs"
How many school teams are nicknamed "Bulldogs".
CREATE TABLE table_26351260_1 (location VARCHAR, team_nickname VARCHAR)
SELECT COUNT(series) FROM table_17621978_11 WHERE date = "April 26"
Name the total number of series for april 26
CREATE TABLE table_17621978_11 (series VARCHAR, date VARCHAR)
SELECT MIN(no_in_season) FROM table_2226817_6 WHERE no_in_series = 84
What's the season number of the episode with series number 84?
CREATE TABLE table_2226817_6 (no_in_season INTEGER, no_in_series VARCHAR)
SELECT result FROM table_1342256_38 WHERE district = "Pennsylvania 13"
What was the result in Pennsylvania 13?
CREATE TABLE table_1342256_38 (result VARCHAR, district VARCHAR)
SELECT MIN(total) FROM table_name_24 WHERE bronze < 2 AND rank > 2 AND silver < 1
Name the least total when bronze is less than 2 and rank is more than 2 with silver less than 1
CREATE TABLE table_name_24 (total INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR)
SELECT AVG(year) FROM table_name_49 WHERE chassis = "cooper t60"
What is the average Year with Chassis equalling cooper t60?
CREATE TABLE table_name_49 (year INTEGER, chassis VARCHAR)
SELECT award FROM table_name_69 WHERE category = "best direction of a musical"
Which award has the category of the best direction of a musical?
CREATE TABLE table_name_69 (award VARCHAR, category VARCHAR)
SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.name = "Boeing 737-800"
Show names for all employees who have certificate of Boeing 737-800.
CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR)
SELECT SUM(earnings_per_share__p_) FROM table_name_89 WHERE year_ended = "2008" AND revenue__£million_ < 4 OFFSET 177
When revenue is smaller than 4,177 million in year 2008, what is the sum of earnings per share?
CREATE TABLE table_name_89 (earnings_per_share__p_ INTEGER, year_ended VARCHAR, revenue__£million_ VARCHAR)
SELECT location FROM table_name_86 WHERE size = "245 acres"
What location was the campus that has a size of 245 acres?
CREATE TABLE table_name_86 (location VARCHAR, size VARCHAR)
SELECT COUNT(height) FROM table_name_21 WHERE spike < 352 AND block > 300 AND name = "pablo meana"
What is the total number of Height(s), when Spike is less than 352, when Block is greater than 300, and when Name is Pablo Meana?
CREATE TABLE table_name_21 (height VARCHAR, name VARCHAR, spike VARCHAR, block VARCHAR)
SELECT rated_power FROM table_name_52 WHERE finish_construction = "may 10, 1978"
What is the rated power for the reactor that ended construction on May 10, 1978?
CREATE TABLE table_name_52 (rated_power VARCHAR, finish_construction VARCHAR)
SELECT date FROM table_name_97 WHERE runner_s__up = "yani tseng"
What is the date that has yani tseng as the runner (s)-up?
CREATE TABLE table_name_97 (date VARCHAR, runner_s__up VARCHAR)
SELECT nickname FROM table_name_98 WHERE location = "fairfax, va"
What is the nickname of the school located in Fairfax, VA?
CREATE TABLE table_name_98 (nickname VARCHAR, location VARCHAR)
SELECT institution FROM table_name_99 WHERE total < 13 AND government = 1 AND aided = 0
Which Institution has a Total smaller than 13, a Government amount of 1, and an Aided amount of 0?
CREATE TABLE table_name_99 (institution VARCHAR, aided VARCHAR, total VARCHAR, government VARCHAR)
SELECT away_team AS score FROM table_name_18 WHERE away_team = "geelong"
What is the score of the Geelong away team?
CREATE TABLE table_name_18 (away_team VARCHAR)
SELECT COUNT(week) FROM table_name_87 WHERE attendance = 54 OFFSET 187
How many weeks has 54,187 as the attendance?
CREATE TABLE table_name_87 (week VARCHAR, attendance VARCHAR)
SELECT record FROM table_11964154_11 WHERE high_rebounds = "Nick Collison (11)"
What was the record when the high rebounds was from Nick Collison (11)?
CREATE TABLE table_11964154_11 (record VARCHAR, high_rebounds VARCHAR)
SELECT COUNT(pick__number) FROM table_name_37 WHERE college = "west virginia" AND overall < 203
What is the Pick # of the player with an Overall less than 203 from West Virginia?
CREATE TABLE table_name_37 (pick__number VARCHAR, college VARCHAR, overall VARCHAR)
SELECT date FROM table_name_91 WHERE visitor = "san jose"
When did San Jose visit the St. Louis?
CREATE TABLE table_name_91 (date VARCHAR, visitor VARCHAR)
SELECT first_season FROM table_1560673_1 WHERE club = "Syrianska FC"
What was the first season for Syrianska FC
CREATE TABLE table_1560673_1 (first_season VARCHAR, club VARCHAR)
SELECT SUM(year) FROM table_name_4 WHERE rank < 19
What is the sum of Year, when Rank is less than 19?
CREATE TABLE table_name_4 (year INTEGER, rank INTEGER)
SELECT area__km²_ FROM table_255602_1 WHERE population__2010_ = 38062
What is the area where population in 2010 is 38062?
CREATE TABLE table_255602_1 (area__km²_ VARCHAR, population__2010_ VARCHAR)
SELECT tournament FROM table_name_9 WHERE opponent_in_final = "mansour bahrami eric winogradsky"
In which Tournament was Mansour Bahrami Eric Winogradsky
CREATE TABLE table_name_9 (tournament VARCHAR, opponent_in_final VARCHAR)
SELECT title FROM table_25277262_2 WHERE no_in_season = 11
What is the name of the episode # 11 in the season?
CREATE TABLE table_25277262_2 (title VARCHAR, no_in_season VARCHAR)
SELECT MIN(episode) FROM table_15187735_20 WHERE segment_d = "Custom Motorcycle Tanks"
Which episode has segment D on custom motorcycle tanks?
CREATE TABLE table_15187735_20 (episode INTEGER, segment_d VARCHAR)
SELECT COUNT(attendance) FROM table_23718905_6 WHERE stadium = "Sun Devil stadium"
How many different items appear in he attendance column at Sun Devil Stadium?
CREATE TABLE table_23718905_6 (attendance VARCHAR, stadium VARCHAR)
SELECT odds FROM table_name_87 WHERE trainer = "barclay tagg"
What are the Odds for Trainer Barclay Tagg?
CREATE TABLE table_name_87 (odds VARCHAR, trainer VARCHAR)
SELECT AVG(blank_ends) FROM table_name_80 WHERE shot__percentage < 78 AND ends_won > 43
Name the average Blank Ends which has a Shot % smaller than 78, and a Ends Won larger than 43?
CREATE TABLE table_name_80 (blank_ends INTEGER, shot__percentage VARCHAR, ends_won VARCHAR)
SELECT MAX(week) FROM table_14958620_1 WHERE attendance = 74303
On which week was the attendance 74303?
CREATE TABLE table_14958620_1 (week INTEGER, attendance VARCHAR)
SELECT engine_family FROM table_26352332_4 WHERE displacement_s_ = "10.5L"
Where the displacement(s) is 10.5L is, what is the engine family?
CREATE TABLE table_26352332_4 (engine_family VARCHAR, displacement_s_ VARCHAR)
SELECT director FROM table_name_41 WHERE country = "italy"
Which director is from Italy?
CREATE TABLE table_name_41 (director VARCHAR, country VARCHAR)
SELECT runner_up_skip FROM table_name_51 WHERE event = "mac ice classic"
Who was the runner-up during the Mac Ice Classic?
CREATE TABLE table_name_51 (runner_up_skip VARCHAR, event VARCHAR)
SELECT team FROM table_27734577_7 WHERE location_attendance = "Philips Arena 12,140"
What is every team with location attendance of Philips Arena 12,140?
CREATE TABLE table_27734577_7 (team VARCHAR, location_attendance VARCHAR)
SELECT second_member FROM table_name_54 WHERE second_party = "whig" AND election = "1834"
Who is the second member that is a second party Whig in the 1834 election?
CREATE TABLE table_name_54 (second_member VARCHAR, second_party VARCHAR, election VARCHAR)
SELECT name FROM table_name_12 WHERE area = "hillcrest"
What is the name of the school in Hillcrest?
CREATE TABLE table_name_12 (name VARCHAR, area VARCHAR)
SELECT result FROM table_name_38 WHERE attendance = "80,886"
What was the result of the game that was attended by 80,886 people?
CREATE TABLE table_name_38 (result VARCHAR, attendance VARCHAR)
SELECT r1b1c__r_v88_ FROM table_21481509_4 WHERE total_percentage = "4.5%"
What percentage is listed in column r1b1c (r-v88) for the 4.5% total percentage?
CREATE TABLE table_21481509_4 (r1b1c__r_v88_ VARCHAR, total_percentage VARCHAR)
SELECT license FROM table_name_23 WHERE release_date = "2009-08"
Which licence has a release date of 2009-08?
CREATE TABLE table_name_23 (license VARCHAR, release_date VARCHAR)
SELECT MAX(laps) FROM table_name_60 WHERE grid > 8 AND rider = "anthony west"
Which Laps have a Grid larger than 8, and a Rider of anthony west?
CREATE TABLE table_name_60 (laps INTEGER, grid VARCHAR, rider VARCHAR)
SELECT fastest_lap FROM table_name_36 WHERE pole_position = "phil hill" AND winning_driver = "wolfgang von trips"
What was the fastest lap in a race where Phil Hill had the Pole position and was won by Wolfgang von Trips?
CREATE TABLE table_name_36 (fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
SELECT SUM(points) FROM table_name_73 WHERE average < 1 AND played > 38 AND team = "gimnasia de la plata"
How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata?
CREATE TABLE table_name_73 (points INTEGER, team VARCHAR, average VARCHAR, played VARCHAR)
SELECT Name FROM technician ORDER BY Age
List the names of technicians in ascending order of age.
CREATE TABLE technician (Name VARCHAR, Age VARCHAR)
SELECT position FROM table_name_51 WHERE pick > 2 AND overall > 28 AND college = "nebraska"
what is the position when the pick is more than 2, the overall is more than 28 and the college is nebraska?
CREATE TABLE table_name_51 (position VARCHAR, college VARCHAR, pick VARCHAR, overall VARCHAR)
SELECT record FROM table_name_74 WHERE visitor = "detroit red wings" AND date = "january 31"
What is the Record of the game on January 31 with Visitors Detroit Red Wings?
CREATE TABLE table_name_74 (record VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT MAX(episode__number) FROM table_19517621_4 WHERE title = "Jerusalem"
What is the latest episode number with the title of Jerusalem?
CREATE TABLE table_19517621_4 (episode__number INTEGER, title VARCHAR)
SELECT fleet_series FROM table_name_96 WHERE quantity = 5
Name the fleet series with a quantity of 5
CREATE TABLE table_name_96 (fleet_series VARCHAR, quantity VARCHAR)
SELECT MIN(silver) FROM table_name_23 WHERE bronze = 1 AND total < 3
What is the lowest Silver, when Bronze is 1, and when Total is less than 3?
CREATE TABLE table_name_23 (silver INTEGER, bronze VARCHAR, total VARCHAR)
SELECT winning_score FROM table_name_39 WHERE date = "apr 29, 2001"
What was Rosie's winning score on Apr 29, 2001?
CREATE TABLE table_name_39 (winning_score VARCHAR, date VARCHAR)
SELECT school_club_team_country FROM table_11734041_2 WHERE no_s_ = "10" AND position = "Forward"
What school did the forward whose number is 10 belong to?
CREATE TABLE table_11734041_2 (school_club_team_country VARCHAR, no_s_ VARCHAR, position VARCHAR)
SELECT date FROM table_name_27 WHERE winning_driver = "antonio ascari"
What date was the winning driver Antonio Ascari?
CREATE TABLE table_name_27 (date VARCHAR, winning_driver VARCHAR)
SELECT tour_apps FROM table_name_57 WHERE career_caps = 15
What is the tour Apps when the career caps show 15?
CREATE TABLE table_name_57 (tour_apps VARCHAR, career_caps VARCHAR)
SELECT rank FROM table_name_21 WHERE winning_party_2003 = "labour" AND swing_to_gain > 2.13 AND result = "lab hold" AND constituency = "linlithgow"
Which rank had the Labour party winning in 2003, a swing to gain that was larger than 2.13, a lab hold as a result, and which took place in the Linlithgow constituency?
CREATE TABLE table_name_21 (rank VARCHAR, constituency VARCHAR, result VARCHAR, winning_party_2003 VARCHAR, swing_to_gain VARCHAR)
SELECT catalog FROM table_name_44 WHERE date = "24 march 2006"
Which catalog has a date of 24 march 2006?
CREATE TABLE table_name_44 (catalog VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_15 WHERE record = "3-0-2"
Who was the visitor that led to a 3-0-2 record?
CREATE TABLE table_name_15 (visitor VARCHAR, record VARCHAR)
SELECT date FROM table_name_62 WHERE time = "11:00" AND set_3 = "25–18"
Which Date has a Time of 11:00, and a Set 3 of 25–18?
CREATE TABLE table_name_62 (date VARCHAR, time VARCHAR, set_3 VARCHAR)
SELECT main_use FROM table_name_54 WHERE name = "emley moor tower (mk.3)"
What is the Main use of emley moor tower (mk.3)?
CREATE TABLE table_name_54 (main_use VARCHAR, name VARCHAR)
SELECT position FROM table_2508633_9 WHERE college = "Langston"
What position was the draft pick that came from Langston?
CREATE TABLE table_2508633_9 (position VARCHAR, college VARCHAR)
SELECT location FROM table_name_74 WHERE owgr_points > 6 AND winner = "ryu hyun-woo"
What is the location of the tournament with more than 6 OWGR points and Ryu Hyun-Woo as the winner?
CREATE TABLE table_name_74 (location VARCHAR, owgr_points VARCHAR, winner VARCHAR)
SELECT COUNT(rank) FROM table_name_51 WHERE years = "1996–2007" AND goals > 108
What is the total number of Rank for 1996–2007, when there are more than 108 goals?
CREATE TABLE table_name_51 (rank VARCHAR, years VARCHAR, goals VARCHAR)
SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id WHERE t1.product_name = "sesame"
How many characteristics does the product named "sesame" have?
CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR)
SELECT elector FROM table_name_4 WHERE place_of_birth = "bavaria"
What Elector has the Place of Birth listed as Bavaria?
CREATE TABLE table_name_4 (elector VARCHAR, place_of_birth VARCHAR)
SELECT pole_position FROM table_name_43 WHERE fastest_lap = "graham hill" AND winning_driver = "graham hill" AND date = "30 may"
Tell me the pole position for graham hill the fastest lap and winning driver of him on 30 may
CREATE TABLE table_name_43 (pole_position VARCHAR, date VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT competition FROM table_name_79 WHERE final_score = "6:5"
what is the competition that had a final score of 6:5?
CREATE TABLE table_name_79 (competition VARCHAR, final_score VARCHAR)
SELECT COUNT(not_out) FROM table_20367820_16 WHERE average = "56.38"
How many no outs for an average of 56.38?
CREATE TABLE table_20367820_16 (not_out VARCHAR, average VARCHAR)
SELECT score FROM table_name_27 WHERE location_attendance = "us airways center 18,422" AND game < 22
What is Score, when Location Attendance is "US Airways Center 18,422", and when Game is less than 22?
CREATE TABLE table_name_27 (score VARCHAR, location_attendance VARCHAR, game VARCHAR)
SELECT MIN(pick__number) FROM table_name_16 WHERE position = "cornerback" AND round < 1
What Cornerback has the lowest Pick # and Round of less than 1?
CREATE TABLE table_name_16 (pick__number INTEGER, position VARCHAR, round VARCHAR)
SELECT COUNT(*) FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t3.city = "Lake Geovannyton"
How many customers are living in city "Lake Geovannyton"?
CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE addresses (address_id VARCHAR, city VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR)
SELECT votes FROM table_name_51 WHERE notes = "lost to incumbent vic gilliam"
How many votes were cast when the notes reported lost to incumbent vic gilliam?
CREATE TABLE table_name_51 (votes VARCHAR, notes VARCHAR)
SELECT budget_type_code FROM Documents_with_expenses GROUP BY budget_type_code ORDER BY COUNT(*) DESC LIMIT 1
What is the budget type code with most number of documents.
CREATE TABLE Documents_with_expenses (budget_type_code VARCHAR)
SELECT SUM(rank) FROM table_name_88 WHERE athlete = "hauffe, seifert, kaeufer, adamski"
what is the rank for athlete hauffe, seifert, kaeufer, adamski?
CREATE TABLE table_name_88 (rank INTEGER, athlete VARCHAR)
SELECT qual FROM table_name_64 WHERE finish = "16" AND year = "1968"
What qual had a finish of 16 in 1968?
CREATE TABLE table_name_64 (qual VARCHAR, finish VARCHAR, year VARCHAR)
SELECT product_category_description FROM ref_product_categories WHERE product_category_code = "Spices"
Find the product category description of the product category with code "Spices".
CREATE TABLE ref_product_categories (product_category_description VARCHAR, product_category_code VARCHAR)
SELECT local_authority FROM table_name_46 WHERE zone_2007 = "outside zones" AND zone_2008 = "outside zones" AND zone_2010 = "outside zones" AND station = "waltham cross"
Which Local authority has a Zone 2007 of outside zones, and a Zone 2008 of outside zones, and a Zone 2010 of outside zones, and a Station of waltham cross?
CREATE TABLE table_name_46 (local_authority VARCHAR, station VARCHAR, zone_2010 VARCHAR, zone_2007 VARCHAR, zone_2008 VARCHAR)
SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_60_74 = "10,46%"
What is every value for % 20-39 if % 60-74 is 10,46%?
CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_60_74 VARCHAR)
SELECT sport FROM table_name_11 WHERE league = "continental basketball league" AND venue = "avalon middle school"
Which Sport has a League of continental basketball league, and a Venue of avalon middle school?
CREATE TABLE table_name_11 (sport VARCHAR, league VARCHAR, venue VARCHAR)
SELECT college FROM table_name_30 WHERE position = "nose tackle"
Which college has a nose tackle position?
CREATE TABLE table_name_30 (college VARCHAR, position VARCHAR)
SELECT avg_finish FROM table_2387790_2 WHERE position = "3rd"
What was the average finish the year Bodine finished 3rd?
CREATE TABLE table_2387790_2 (avg_finish VARCHAR, position VARCHAR)
SELECT address FROM employees WHERE first_name = "Nancy" AND last_name = "Edwards"
What is the address of employee Nancy Edwards?
CREATE TABLE employees (address VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT alpha_2_code FROM table_222771_1 WHERE alpha_3_code = "TCA"
What is the Alpha 2 code for the area also known as TCA?
CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR)
SELECT intellitrace FROM table_name_10 WHERE extensions = "no" AND windows_phone_development = "no"
Which Intelli Trace has a No Extension and Windows Phone development of no?
CREATE TABLE table_name_10 (intellitrace VARCHAR, extensions VARCHAR, windows_phone_development VARCHAR)
SELECT MIN(first_elected) FROM table_1805191_39 WHERE incumbent = "Tim Holden"
What year was Tim Holden first elected?
CREATE TABLE table_1805191_39 (first_elected INTEGER, incumbent VARCHAR)
SELECT home_team FROM table_name_38 WHERE result = "86-87 (2-4)"
Result of 86-87 (2-4) involves what home team?
CREATE TABLE table_name_38 (home_team VARCHAR, result VARCHAR)
SELECT COUNT(gt_20_winning_team) FROM table_27561503_2 WHERE sports_20_winning_team = "#16 Trans Ocean Motors" AND circuit = "Castle Rock"
Name the gt 2.0 winning team for sports 2.0 winning team for #16 trans ocean motors for castle rock
CREATE TABLE table_27561503_2 (gt_20_winning_team VARCHAR, sports_20_winning_team VARCHAR, circuit VARCHAR)