select a.* from table a
inner join
(select accountid, max(recordDate) as latestdate from table
group by accountid) b on a.accountid = b.accountid and
a.recorddate = b.latestdate
select a.* from table a
inner join
(select accountid, max(recordDate) as latestdate from table
group by accountid) b on a.accountid = b.accountid and
a.recorddate = b.latestdate
WENXUECITY.COM does not represent or guarantee the truthfulness, accuracy, or reliability of any of communications posted by other users.
Copyright ©1998-2025 wenxuecity.com All rights reserved. Privacy Statement & Terms of Use & User Privacy Protection Policy