CREATE TABLE "pre_season_friendlies" (
  "date" text,
  "opponent" text,
  "score" text,
  "attendance" real,
  "report" text
);

Question: What date was the game against inverurie loco works when more than 342 attend?
SQL: SELECT "date" FROM "pre_season_friendlies" WHERE "attendance">342 AND "opponent"='inverurie loco works';