CREATE TABLE "teams" (
  "team" text,
  "city" text,
  "state_province" text,
  "league" text,
  "est" text
);

Question: Which mlb team is located in maryland?
SQL: SELECT "team" FROM "teams" WHERE "state_province"='maryland' AND "league"='mlb';

Question: What team is located in brooklyn?
SQL: SELECT "team" FROM "teams" WHERE "city"='brooklyn';

Question: In what year was the cfl team in edmonton, alberta established?
SQL: SELECT "est" FROM "teams" WHERE "state_province"='alberta' AND "league"='cfl' AND "city"='edmonton';

Question: In what year was the NFL team in chicago illinois established?
SQL: SELECT "est" FROM "teams" WHERE "state_province"='illinois' AND "city"='chicago' AND "league"='nfl';

Question: Which team is located in missouri and was established in 1963?
SQL: SELECT "team" FROM "teams" WHERE "state_province"='missouri' AND "est"='1963';