human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Year, Date, Driver, Team, Manufacturer, Laps, Miles (km), Race Time, Average Speed (mph), Report
###Question: How many miles were driven in the race where the winner finished in 2:47:11?
gpt
SELECT Miles (km) FROM table WHERE Race Time = 2:47:11