CREATE TABLE "doubles_37_31_6" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);

Question: How many opponents have wimbledon (2) as the championship?
SQL: SELECT COUNT("opponents") FROM "doubles_37_31_6" WHERE "championship"='Wimbledon (2)';

Question: What is the surface when the us open is the championship in the year 1979?
SQL: SELECT "surface" FROM "doubles_37_31_6" WHERE "championship"='US Open' AND "year"=1979;