並前往https://communities.sas.com/t5/SAS-Programming/PROC-SQL-with-HAVING-MAX-not-returning-newest-record/td-p/492973