Oracle取查询结果数据的第一条记录SQL
Oracle取查询结果数据的第一条记录SQL:
select * from (select * from <table> order by <key>) where rownum=1; select * from (select * from <table> order by <key> desc) where rownum=1;
posted on 2016-09-03 16:33 xusweeter 阅读(39187) 评论(1) 编辑 收藏 举报