select * from (select * from REPLYMESSAGELOG order by REPLY_DATE desc) where rownum=1 转载于:https://www.cnblogs.com/liuxiansheng/p/4221200.html