human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Year, Start, Qual, Rank, Finish, Laps
###Question: What is the highest number of laps that also has a finish total of 8?
gpt
SELECT MAX Laps FROM table WHERE Finish = 8