human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Result, Race, Distance, Weight, Winner or 2nd, Pos'n
###Question: What was the distance when the weight was 6.11?
gpt
SELECT Distance FROM table WHERE Weight = 6.11