Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Name the most gold when bronze is more than 0 and rank is more than 5 with total more than 2

### Inputs:
table_name: table, columns: ['Rank', 'Gold', 'Silver', 'Bronze', 'Total']

### Response:
SELECT MAX Gold FROM table WHERE Bronze > 0 AND Rank > 5 AND Total > 2