結果 : sql join max value from another table