question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Show the locations that have more than one railways.
CREATE TABLE railway (LOCATION VARCHAR)
SELECT LOCATION FROM railway GROUP BY LOCATION HAVING COUNT(*) > 1
What Years Member has a School of cairo high school?
CREATE TABLE table_name_47 (years_member VARCHAR, school VARCHAR)
SELECT years_member FROM table_name_47 WHERE school = "cairo high school"
Where did v kent play?
CREATE TABLE table_name_4 (venue VARCHAR, opponents VARCHAR)
SELECT venue FROM table_name_4 WHERE opponents = "v kent"
Name the total number of value for revenue more than 193 and rank less than 12 for manchester united
CREATE TABLE table_name_21 (value__ VARCHAR, team VARCHAR, revenue__$m_ VARCHAR, rank VARCHAR)
SELECT COUNT(value__) AS $m_ FROM table_name_21 WHERE revenue__$m_ > 193 AND rank < 12 AND team = "manchester united"
What was the lowest number of pieces for a board released in 1984?
CREATE TABLE table_name_15 (pieces INTEGER, release VARCHAR)
SELECT MIN(pieces) FROM table_name_15 WHERE release = 1984
What was the total number of matches that had an outcome of Winner, a partner of John Lloyd, and a clay surface?
CREATE TABLE table_2151643_3 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR, partner VARCHAR)
SELECT COUNT(opponents) FROM table_2151643_3 WHERE outcome = "Winner" AND partner = "John Lloyd" AND surface = "Clay"
How many different Leagues had average attendance of 3589?
CREATE TABLE table_2380212_1 (league VARCHAR, avg_attendance VARCHAR)
SELECT COUNT(league) FROM table_2380212_1 WHERE avg_attendance = 3589
What is the largest events number for more than 2 wins and less than $446,893 in earnings?
CREATE TABLE table_name_65 (events INTEGER, wins VARCHAR, earnings___$__ VARCHAR)
SELECT MAX(events) FROM table_name_65 WHERE wins > 2 AND earnings___$__ < 446 OFFSET 893
what is the total number of kickoff [a ] where week is week
CREATE TABLE table_11406866_2 (a_ VARCHAR, kickoff_ VARCHAR)
SELECT COUNT(kickoff_)[a_] FROM table_11406866_2 WHERE "week" = "week"
Show all product names and the number of customers having an order on each product.
CREATE TABLE Order_items (product_id VARCHAR, order_id VARCHAR); CREATE TABLE Orders (order_id VARCHAR); CREATE TABLE Products (product_name VARCHAR, product_id VARCHAR)
SELECT T2.product_name, COUNT(*) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id = T2.product_id JOIN Orders AS T3 ON T3.order_id = T1.order_id GROUP BY T2.product_name
Which highest pick number had Akeem Dent as a name and where the overall was less than 91?
CREATE TABLE table_name_24 (pick__number INTEGER, name VARCHAR, overall VARCHAR)
SELECT MAX(pick__number) FROM table_name_24 WHERE name = "akeem dent" AND overall < 91
What champions have 1 (2009) as the semi-finalists?
CREATE TABLE table_name_26 (champions VARCHAR, semi_finalists VARCHAR)
SELECT champions FROM table_name_26 WHERE semi_finalists = "1 (2009)"
Which venue had a match played on August 16, 2006?
CREATE TABLE table_name_90 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_90 WHERE date = "august 16, 2006"
How many average total matches have league cup as the competition, with a draw greater than 0?
CREATE TABLE table_name_34 (total_matches INTEGER, competition VARCHAR, draw VARCHAR)
SELECT AVG(total_matches) FROM table_name_34 WHERE competition = "league cup" AND draw > 0
What is the party affiliation for Senator David Goodman?
CREATE TABLE table_26129220_2 (party VARCHAR, senator VARCHAR)
SELECT party FROM table_26129220_2 WHERE senator = "David Goodman"
What is the Hanzi of Phoenix Television Chinese that launched in 1996?
CREATE TABLE table_name_69 (hanzi VARCHAR, launch VARCHAR, name VARCHAR)
SELECT hanzi FROM table_name_69 WHERE launch = "1996" AND name = "phoenix television chinese"
Find the employee id for all employees who earn more than the average salary.
CREATE TABLE employees (employee_id VARCHAR, salary INTEGER)
SELECT employee_id FROM employees WHERE salary > (SELECT AVG(salary) FROM employees)
Who was the successor in New York 11th district?
CREATE TABLE table_2159537_3 (successor VARCHAR, district VARCHAR)
SELECT successor FROM table_2159537_3 WHERE district = "New York 11th"
What is the low no result with more than 5 loss and a win ration lesser than 58.06?
CREATE TABLE table_name_80 (no_result INTEGER, lost VARCHAR, _percentage_win_ VARCHAR, a_ VARCHAR)
SELECT MIN(no_result) FROM table_name_80 WHERE lost > 5 AND _percentage_win_[a_] < 58.06
What is the constructor of the race with Juan Manuel Fangio as the fastest lap and Giuseppe Farina as the winning driver?
CREATE TABLE table_name_26 (constructor VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT constructor FROM table_name_26 WHERE fastest_lap = "juan manuel fangio" AND winning_driver = "giuseppe farina"
Name the Programming which has an Aspect of 4:3, and a PSIP Short Name of ibc-tv?
CREATE TABLE table_name_18 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR)
SELECT programming FROM table_name_18 WHERE aspect = "4:3" AND psip_short_name = "ibc-tv"
Which report is where rd. is 9?
CREATE TABLE table_19850806_3 (report VARCHAR, rd VARCHAR)
SELECT report FROM table_19850806_3 WHERE rd = "9"
Name the sign of zodiac for chithirai
CREATE TABLE table_169955_1 (sign_of_zodiac VARCHAR, tamil_calendar VARCHAR)
SELECT sign_of_zodiac FROM table_169955_1 WHERE tamil_calendar = "Chithirai"
Which Player has a Transfer fee of £750,000 [x]?
CREATE TABLE table_name_34 (player VARCHAR, transfer_fee VARCHAR)
SELECT player FROM table_name_34 WHERE transfer_fee = "£750,000 [x]"
Show the name for regions and the number of storms for each region.
CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR)
SELECT T1.region_name, COUNT(*) FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id
Who was the successor when the vacator was chester e. holifield (d)?
CREATE TABLE table_1134091_4 (successor VARCHAR, vacator VARCHAR)
SELECT successor FROM table_1134091_4 WHERE vacator = "Chester E. Holifield (D)"
When 2006 is the year played and winter park is the fcsl team who is the player?
CREATE TABLE table_18373863_2 (player VARCHAR, fcsl_team VARCHAR, years_played VARCHAR)
SELECT player FROM table_18373863_2 WHERE fcsl_team = "Winter Park" AND years_played = "2006"
What was the original air date of the episode that was directed by Jessica Landaw?
CREATE TABLE table_26824484_1 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT original_air_date FROM table_26824484_1 WHERE directed_by = "Jessica Landaw"
What is the earliest year a Chairman who took office after 2011 is up for reelection?
CREATE TABLE table_name_80 (up_for_reelection INTEGER, took_office VARCHAR, position VARCHAR)
SELECT MIN(up_for_reelection) FROM table_name_80 WHERE took_office > 2011 AND position = "chairman"
What is the sum of the difference for 9 draws and over 18 played?
CREATE TABLE table_name_48 (diff INTEGER, drawn VARCHAR, played VARCHAR)
SELECT SUM(diff) FROM table_name_48 WHERE drawn = 9 AND played > 18
Which Manufacturer has a Time/Retired of accident?
CREATE TABLE table_name_73 (manufacturer VARCHAR, time_retired VARCHAR)
SELECT manufacturer FROM table_name_73 WHERE time_retired = "accident"
What is the total number of birth/2012 for January–December 2012 in Kurgan Oblast?
CREATE TABLE table_25703_2 (birth_2012 VARCHAR, january_december_2012 VARCHAR)
SELECT COUNT(birth_2012) FROM table_25703_2 WHERE january_december_2012 = "Kurgan Oblast"
What's the total starts with more points than 1 and the driver is Nasser Al-Attiyah?
CREATE TABLE table_name_47 (starts VARCHAR, driver VARCHAR, points VARCHAR)
SELECT COUNT(starts) FROM table_name_47 WHERE driver = "nasser al-attiyah" AND points > 1
Which Col (m) has an Elevation (m) smaller than 1,624?
CREATE TABLE table_name_88 (col__m_ INTEGER, elevation__m_ INTEGER)
SELECT MIN(col__m_) FROM table_name_88 WHERE elevation__m_ < 1 OFFSET 624
What is the total position with a drawn of 0 and greater than 22 points and a greater than 14 played?
CREATE TABLE table_name_17 (position VARCHAR, played VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT COUNT(position) FROM table_name_17 WHERE drawn = 0 AND points > 22 AND played > 14
Name the manner of departure for elvio selighini
CREATE TABLE table_17275810_7 (manner_of_departure VARCHAR, replaced_by VARCHAR)
SELECT manner_of_departure FROM table_17275810_7 WHERE replaced_by = "Elvio Selighini"
In Round 13, what was the Pick # of the Guard Position with an Overall greater than 23?
CREATE TABLE table_name_53 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR)
SELECT pick__number FROM table_name_53 WHERE overall > 23 AND position = "guard" AND round = 13
How many kills did basobas, florentino have?
CREATE TABLE table_name_34 (killed INTEGER, perpetrator VARCHAR)
SELECT MAX(killed) FROM table_name_34 WHERE perpetrator = "basobas, florentino"
What is the number of completions and attempts taken in 2009?
CREATE TABLE table_name_83 (comp_att VARCHAR, season VARCHAR)
SELECT comp_att FROM table_name_83 WHERE season = "2009"
What is the record for the NY Rangers?
CREATE TABLE table_name_92 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_92 WHERE home = "ny rangers"
What is the programming for mrt sobraniski kanal?
CREATE TABLE table_name_71 (programming VARCHAR, name VARCHAR)
SELECT programming FROM table_name_71 WHERE name = "mrt sobraniski kanal"
What's the 1981 census of Livorno?
CREATE TABLE table_10138926_1 (city VARCHAR)
SELECT 1981 AS _census FROM table_10138926_1 WHERE city = "Livorno"
What was the election date for Arthur Hodges?
CREATE TABLE table_1329532_2 (date_of_election VARCHAR, elected_successor VARCHAR)
SELECT date_of_election FROM table_1329532_2 WHERE elected_successor = "Arthur Hodges"
What was the Rampage's status in the Open Cup in the year that they made it to the 2nd round of the playoffs?
CREATE TABLE table_name_98 (open_cup VARCHAR, playoffs VARCHAR)
SELECT open_cup FROM table_name_98 WHERE playoffs = "2nd round"
How many number of series have the production code of 1.11?
CREATE TABLE table_2226817_2 (no_in_series INTEGER, production_code VARCHAR)
SELECT MAX(no_in_series) FROM table_2226817_2 WHERE production_code = "1.11"
Who sunk the ship with the flag of Norway?
CREATE TABLE table_name_67 (sunk_by VARCHAR, flag VARCHAR)
SELECT sunk_by FROM table_name_67 WHERE flag = "norway"
On what date is there a match lower than 14 with a ground of H and the opponent Aston Villa under 18s?
CREATE TABLE table_name_11 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR)
SELECT date FROM table_name_11 WHERE match < 14 AND ground = "h" AND opponent = "aston villa under 18s"
Tell me the venue for extra of short race and year less than 1999
CREATE TABLE table_name_90 (venue VARCHAR, extra VARCHAR, year VARCHAR)
SELECT venue FROM table_name_90 WHERE extra = "short race" AND year < 1999
howe many positions did wallace, mike mike wallace play for
CREATE TABLE table_20898602_1 (position VARCHAR, player VARCHAR)
SELECT COUNT(position) FROM table_20898602_1 WHERE player = "Wallace, Mike Mike Wallace"
How many passengers (in millions) flew through along the route that is 1075km long in 2012?
CREATE TABLE table_16066063_1 (distance VARCHAR)
SELECT 2012 AS _passengers__in_millions_ FROM table_16066063_1 WHERE distance = "1075km"
How many attended the game on april 14?
CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 14"
What is the tournament on February 17, 2002?
CREATE TABLE table_name_21 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_21 WHERE date = "february 17, 2002"
What is the role of the employee named Koby?
CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR); CREATE TABLE Employees (role_code VARCHAR, employee_name VARCHAR)
SELECT T1.role_description FROM ROLES AS T1 JOIN Employees AS T2 ON T1.role_code = T2.role_code WHERE T2.employee_name = "Koby"
What station is affiliated with kmgh-tv?
CREATE TABLE table_1847523_2 (affiliation VARCHAR, station VARCHAR)
SELECT affiliation FROM table_1847523_2 WHERE station = "KMGH-TV"
Who's the Republican ticket with a Democratic ticket of flora d. johnson?
CREATE TABLE table_name_62 (republican_ticket VARCHAR, democratic_ticket VARCHAR)
SELECT republican_ticket FROM table_name_62 WHERE democratic_ticket = "flora d. johnson"
What is the sum of gold with a rank that is 3 and a silver larger than 7?
CREATE TABLE table_name_98 (gold INTEGER, rank VARCHAR, silver VARCHAR)
SELECT SUM(gold) FROM table_name_98 WHERE rank = "3" AND silver > 7
Which date has a week larger than 14?
CREATE TABLE table_name_42 (date VARCHAR, week INTEGER)
SELECT date FROM table_name_42 WHERE week > 14
Roslinda Samsu has what nationality?
CREATE TABLE table_name_87 (nationality VARCHAR, name VARCHAR)
SELECT nationality FROM table_name_87 WHERE name = "roslinda samsu"
What is the chinese name of the province whose capital is hangzhou?
CREATE TABLE table_254234_1 (chinese_name VARCHAR, capital VARCHAR)
SELECT chinese_name FROM table_254234_1 WHERE capital = "Hangzhou"
What was the Attendance in Week 2?
CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_25 WHERE week = 2
What is the average grid number for paul cruickshank racing with less than 27 laps?
CREATE TABLE table_name_40 (grid INTEGER, team VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_40 WHERE team = "paul cruickshank racing" AND laps < 27
What are the results for years after 2007?
CREATE TABLE table_name_17 (result VARCHAR, year INTEGER)
SELECT result FROM table_name_17 WHERE year > 2007
Name the score when the home is ny islanders and the visitor is montreal
CREATE TABLE table_name_86 (score VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_86 WHERE home = "ny islanders" AND visitor = "montreal"
what is the date when the away team is melbourne?
CREATE TABLE table_name_48 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_48 WHERE away_team = "melbourne"
What medal was won in the men's 5000 m event?
CREATE TABLE table_name_53 (medal VARCHAR, event VARCHAR)
SELECT medal FROM table_name_53 WHERE event = "men's 5000 m"
What was the regular season standings for the year when the playoffs reached the conference semifinals and the team did not qualify for the US Open Cup?
CREATE TABLE table_14225409_1 (reg_season VARCHAR, playoffs VARCHAR, us_open_cup VARCHAR)
SELECT reg_season FROM table_14225409_1 WHERE playoffs = "Conference Semifinals" AND us_open_cup = "Did not qualify"
which Label is in 15 december 1992?
CREATE TABLE table_name_45 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_45 WHERE date = "15 december 1992"
What was the destination of the season won by Anwar Syed?
CREATE TABLE table_20026849_1 (destination VARCHAR, winner VARCHAR)
SELECT destination FROM table_20026849_1 WHERE winner = "Anwar Syed"
What Grid had 14 laps completed?
CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR)
SELECT AVG(grid) FROM table_name_64 WHERE laps = 14
Which player had a score of 71-73-68-75=287?
CREATE TABLE table_name_53 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_53 WHERE score = 71 - 73 - 68 - 75 = 287
What is the Grid for Rider Ruben Xaus?
CREATE TABLE table_name_22 (grid INTEGER, rider VARCHAR)
SELECT MIN(grid) FROM table_name_22 WHERE rider = "ruben xaus"
Name the new entries this round for third round
CREATE TABLE table_19089486_1 (new_entries_this_round VARCHAR, round VARCHAR)
SELECT new_entries_this_round FROM table_19089486_1 WHERE round = "Third round"
Tell me the listed when cerclis id is msd004006995
CREATE TABLE table_name_17 (listed VARCHAR, cerclis_id VARCHAR)
SELECT listed FROM table_name_17 WHERE cerclis_id = "msd004006995"
What is the game 2 sum attendance of the team with a total attendance of 759,997?
CREATE TABLE table_name_67 (game_2 INTEGER, total VARCHAR)
SELECT SUM(game_2) FROM table_name_67 WHERE total = 759 OFFSET 997
What are the chip model and screen mode of the phone with hardware model name "LG-P760"?
CREATE TABLE phone (chip_model VARCHAR, screen_mode VARCHAR, Hardware_Model_name VARCHAR)
SELECT chip_model, screen_mode FROM phone WHERE Hardware_Model_name = "LG-P760"
With a Rank of 19, and a Start of 14, what was the finish?
CREATE TABLE table_name_41 (finish VARCHAR, rank VARCHAR, start VARCHAR)
SELECT finish FROM table_name_41 WHERE rank = "19" AND start = "14"
Who was runner-up in the 2006 Pacific Life Open?
CREATE TABLE table_name_62 (runner_up VARCHAR, name VARCHAR, year VARCHAR)
SELECT runner_up FROM table_name_62 WHERE name = "pacific life open" AND year = "2006"
On what date was the score 2–4?
CREATE TABLE table_name_89 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_89 WHERE score = "2–4"
What is the date of appointment when the outgoing manager was mustafa denizli?
CREATE TABLE table_26998135_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_26998135_2 WHERE outgoing_manager = "Mustafa Denizli"
What is the highest average number in attendance when the most in attendance is 5,078?
CREATE TABLE table_name_87 (average INTEGER, highest VARCHAR)
SELECT MAX(average) FROM table_name_87 WHERE highest = 5 OFFSET 078
When the VFL played Junction Oval what was the home team score?
CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_45 WHERE venue = "junction oval"
What's the score in 1990?
CREATE TABLE table_name_29 (score VARCHAR, year VARCHAR)
SELECT score FROM table_name_29 WHERE year = "1990"
What are the booking start and end dates of the apartments with more than 2 bedrooms?
CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR, bedroom_count INTEGER)
SELECT T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 2
Who scored the most point on December 13?
CREATE TABLE table_name_28 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_28 WHERE date = "december 13"
Which team played on April 9?
CREATE TABLE table_27744976_11 (team VARCHAR, date VARCHAR)
SELECT team FROM table_27744976_11 WHERE date = "April 9"
In what City/State did the ATCC Round 4 series take place?
CREATE TABLE table_name_62 (city___state VARCHAR, series VARCHAR)
SELECT city___state FROM table_name_62 WHERE series = "atcc round 4"
Who won the Best Female Artist where Best R&B Contributor won the Best Male Lyricist?
CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_male_lyricist VARCHAR)
SELECT best_female_artist FROM table_22546460_4 WHERE best_male_lyricist = "Best R&B Contributor"
How many total viewers have April 21, 2010 as the original airing on channel 4?
CREATE TABLE table_22170495_6 (total_viewers VARCHAR, original_airing_on_channel_4 VARCHAR)
SELECT COUNT(total_viewers) FROM table_22170495_6 WHERE original_airing_on_channel_4 = "April 21, 2010"
Find the number of employees hired in each shop; show the shop name as well.
CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (shop_id VARCHAR)
SELECT COUNT(*), t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name
Which co-stars did Kalyanji-anandji direct in 1963?
CREATE TABLE table_2528382_2 (co_stars VARCHAR, music_director VARCHAR, year VARCHAR)
SELECT co_stars FROM table_2528382_2 WHERE music_director = "Kalyanji-Anandji" AND year = "1963"
What is Tie no, when Home Team is "Hull City"?
CREATE TABLE table_name_69 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_69 WHERE home_team = "hull city"
What is the date for the flag of Norway?
CREATE TABLE table_name_73 (date VARCHAR, flag VARCHAR)
SELECT date FROM table_name_73 WHERE flag = "norway"
What year is dayton in class AAAA?
CREATE TABLE table_15315103_1 (school_year VARCHAR, class_aAAA VARCHAR, Dayton VARCHAR)
SELECT school_year FROM table_15315103_1 WHERE class_aAAA = Dayton
What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991?
CREATE TABLE table_name_22 (percent_of_slovenes_1951 VARCHAR, percent_of_slovenes_1991 VARCHAR)
SELECT percent_of_slovenes_1951 FROM table_name_22 WHERE percent_of_slovenes_1991 = "10.1%"
What is the D 42 when the D 50 is d 31?
CREATE TABLE table_name_17 (d_42 VARCHAR, d_50 VARCHAR)
SELECT d_42 FROM table_name_17 WHERE d_50 = "d 31"
When Julian Illingworth was the under-19, who was the under-15?
CREATE TABLE table_26368963_1 (under_15 VARCHAR, under_19 VARCHAR)
SELECT under_15 FROM table_26368963_1 WHERE under_19 = "Julian Illingworth"
Who wrote the episode that had 12.15 million viewers?
CREATE TABLE table_24961421_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT written_by FROM table_24961421_1 WHERE us_viewers__millions_ = "12.15"
What was the date of the game when the record was 66-38?
CREATE TABLE table_name_54 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_54 WHERE record = "66-38"
What is the sum of UCI points for Kim Kirchen?
CREATE TABLE table_name_42 (uci_points INTEGER, cyclist VARCHAR)
SELECT SUM(uci_points) FROM table_name_42 WHERE cyclist = "kim kirchen"
Who is the opponent for Andrew Symonds in the 2004 season?
CREATE TABLE table_name_75 (opponent VARCHAR, player VARCHAR, season VARCHAR)
SELECT opponent FROM table_name_75 WHERE player = "andrew symonds" AND season = "2004"