CREATE TABLE "schedule" (
  "venue" text,
  "home" text,
  "guest" text,
  "score" text,
  "attendance" real
);

Question: Who was the home team when FK kom were the guests?
SQL: SELECT "home" FROM "schedule" WHERE "guest"='fk kom';

Question: What venue was the match against the guest team, FK ibar, played at?
SQL: SELECT "venue" FROM "schedule" WHERE "guest"='fk ibar';