CREATE TABLE "by_season" (
  "season" real,
  "driver" text,
  "team" text,
  "engine" text,
  "poles" real,
  "wins" real,
  "podiums" real,
  "points" text,
  "margin_of_defeat" text
);

Question: Which podiums did the Williams team have with a margin of defeat of 2?
SQL: SELECT "podiums" FROM "by_season" WHERE "team"='Williams' AND "margin_of_defeat"='2';

Question: How many drivers on the williams team had a margin of defeat of 2?
SQL: SELECT COUNT("driver") FROM "by_season" WHERE "team"='Williams' AND "margin_of_defeat"='2';

Question: How many seasons was clay regazzoni the driver?
SQL: SELECT COUNT("season") FROM "by_season" WHERE "driver"='Clay Regazzoni';

Question: Which margin of defeats had points of 30?
SQL: SELECT "margin_of_defeat" FROM "by_season" WHERE "points"='30';

Question: Which podiums did the alfa romeo team have?
SQL: SELECT "podiums" FROM "by_season" WHERE "team"='Alfa Romeo';