CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winner" text,
  "finalist" text,
  "semifinalists" text
);

Question: Who was the winner of the Miami tournament where Elena Dementieva was a finalist?
SQL: SELECT "winner" FROM "singles" WHERE "finalist"='elena dementieva' AND "tournament"='miami';

Question: Who was the finalist of the hard surface tournament in Miami?
SQL: SELECT "finalist" FROM "singles" WHERE "surface"='hard' AND "tournament"='miami';

Question: Who were the semifinalists in the Rome tournament?
SQL: SELECT "semifinalists" FROM "singles" WHERE "tournament"='rome';