結果 : select max value with condition sql