select P_ID from DE_Payment B whereP_Time=(select max(A.P_Time) from DE_Payment Awhere A.PA_ID=B.PA_ID)