以下plsql语句如何改为取最新一条数据

2024-12-04 21:50:11
推荐回答(1个)
回答(1):

select mc
from (select t1.key, t1.mc, t1.shijian
from table1 t1
order by t1.shijian desc
)
where rownum = 1