欢迎投稿

今日深度:

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

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


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

select * from (select * from <table> order by <key>) where rownum=1;

select * from (select * from <table> order by <key> desc) where rownum=1;

www.htsjk.Com true http://www.htsjk.com/oracle/24080.html NewsArticle Oracle 查询出来的数据取第一条,oracle第一条 Oracle 查询出来的数据取第一条 select * from (select * from table order by key) where rownum=1;select * from (select * from table order by key desc) where rownum=1;...
评论暂时关闭