CREATE TABLE "men_s_doubles" (
  "location" text,
  "year" real,
  "champion" text,
  "runner_up" text,
  "score" text
);

Question: What is the Champion at Sopot prior to 2006 with a Score of 6–4, 6–7(7), 6–3?
SQL: SELECT "champion" FROM "men_s_doubles" WHERE "location"='sopot' AND "year"<2006 AND "score"='6–4, 6–7(7), 6–3';

Question: In what Year was the match at Sopot with a Score of 2–6, 6–2, 6–3?
SQL: SELECT COUNT("year") FROM "men_s_doubles" WHERE "location"='sopot' AND "score"='2–6, 6–2, 6–3';