CREATE TABLE "outgoing_transfers" (
  "rank" real,
  "year" real,
  "name" text,
  "moving_from" text,
  "moving_to" text
);

Question: What rank is the transfer for the milan move in 2000?
SQL: SELECT AVG("rank") FROM "outgoing_transfers" WHERE "moving_to"='milan' AND "year"=2000;

Question: When was the earliest year that kakha kaladze moved to milan with a rank above 9?
SQL: SELECT MIN("year") FROM "outgoing_transfers" WHERE "moving_to"='milan' AND "name"='kakha kaladze' AND "rank"<9;

Question: Where did the player move from that went to stuttgart?
SQL: SELECT "moving_from" FROM "outgoing_transfers" WHERE "moving_to"='stuttgart';

Question: Who was moved to barcelona?
SQL: SELECT "name" FROM "outgoing_transfers" WHERE "moving_to"='barcelona';