結果 : how to use max function in join sql