CREATE TABLE "season_records" (
  "season" real,
  "division" text,
  "wins" real,
  "losses" real,
  "ties" real,
  "final_position" text,
  "notes" text
);

Question: What's the average amount of ties had when a team wins 6 and it's past the 2004 season?
SQL: SELECT AVG("ties") FROM "season_records" WHERE "wins"=6 AND "season">2004;