question: Who was the winner of the Miami tournament where Elena Dementieva was a finalist?
answer: SELECT winner FROM table_name_25 WHERE finalist = "elena dementieva" AND tournament = "miami"
context: CREATE TABLE table_name_25 (winner VARCHAR, finalist VARCHAR, tournament VARCHAR)