select * from (select * from <table> order by <key> desc) where rownum=1;
select * from (select * from <table> order by <key>) where rownum=1;
Oracle 查询出来的数据取第一条
原文:http://www.cnblogs.com/FindRui/p/4126346.html