human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rank, Heat, Cyclist, Nation, Result
###Question: What is the lowest rank that spain got?
gpt
SELECT MIN Rank FROM table WHERE Nation = spain