human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Tie no, Home team, Score, Away team, Date
###Question: What was the highest Tie no when the home team was the Bolton Wanderers, and the date was Middlesbrough?
gpt
SELECT MAX Tie no FROM table WHERE Home team = bolton wanderers AND Date = middlesbrough