human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Tournament, Surface, Week, Winner, Finalist, Semifinalists
###Question: Who was the finalist of the hard surface tournament in Miami?
gpt
SELECT Finalist FROM table WHERE Surface = hard AND Tournament = miami