CREATE TABLE "2009" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);

Question: What is the score with third place of stefan edberg?
SQL: SELECT "score" FROM "2009" WHERE "third_place"='stefan edberg';

Question: Name the runner-up for algarve tournament
SQL: SELECT "runner_up" FROM "2009" WHERE "tournament"='algarve';

Question: I want to know the tournament that has a third place of magnus gustafsson
SQL: SELECT "tournament" FROM "2009" WHERE "third_place"='magnus gustafsson';

Question: Who was the winner when the third place was fernando meligeni?
SQL: SELECT "winner" FROM "2009" WHERE "third_place"='fernando meligeni';

Question: Name the tournament for patrick rafter winning
SQL: SELECT "tournament" FROM "2009" WHERE "winner"='patrick rafter';