Instruct: Which Total has a Bronze larger than 12, and a Silver larger than 772, and a Country of thailand?
Output: SELECT SUM Total FROM table WHERE Bronze > 12 AND Silver > 772 AND Country = thailand