Oracle 查询出来的数据取第一条

xiaoxiao2021-02-28  72

select * from (select * from <table> order by <key>) where rownum=1; select * from (select * from <table> order by <key> desc) where rownum=1;
转载请注明原文地址: https://www.6miu.com/read-35290.html

最新回复(0)