Where did the player with a transfer type, a summer transfer window, and ended before 2013 move from?
CREATE TABLE "in" (
  "nat" text,
  "name" text,
  "moving_from" text,
  "type" text,
  "transfer_window" text,
  "ends" real,
  "transfer_fee" text,
  "source" text
);
SELECT "moving_from" FROM "in" WHERE "type"='transfer' AND "transfer_window"='summer' AND "ends"<2013;