What date does visitor team Toronto score less than 49 points and has record of 18-17-7?
CREATE TABLE "january" (
  "game_num" real,
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text,
  "points" real
);
SELECT "date" FROM "january" WHERE "visitor"='toronto' AND "points"<49 AND "record"='18-17-7';