human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Player, Country, Year(s) won, Total, To par
###Question: What is the lowest To par of gary player, with more than 145 total?
gpt
SELECT MIN To par FROM table WHERE Player = gary player AND Total > 145