模板
select * from (select A from TABLE order by TIME desc) where rownum = 1
Oracle 根据时间 查询最新一条记录
原文:https://www.cnblogs.com/hooong/p/15131511.html