CREATE TABLE "out" (
  "nat" text,
  "name" text,
  "moving_to" text,
  "type" text,
  "transfer_window" text,
  "transfer_fee" text
);

Question: What type is shown with a moving to of valenciennes?
SQL: SELECT "type" FROM "out" WHERE "moving_to"='valenciennes';

Question: What is the transfer window with n/a as the Transfer fee, free agent for the Moving to, and Joe Sagar as the name?
SQL: SELECT "transfer_window" FROM "out" WHERE "transfer_fee"='n/a' AND "moving_to"='free agent' AND "name"='joe sagar';

Question: What is the name of the person with a type of end of contract, nat of sco, and the Moving to is cardiff city?
SQL: SELECT "name" FROM "out" WHERE "type"='end of contract' AND "nat"='sco' AND "moving_to"='cardiff city';

Question: What Transfer window that has a Transfer fee of free, with a Moving to of derby county?
SQL: SELECT "transfer_window" FROM "out" WHERE "transfer_fee"='free' AND "moving_to"='derby county';