oracle中只取根據排序查詢出來第一條數據,

//只取查詢出來結果集中的第一條數據
select *from (select * from 表明 order by id desc ) where rownum=1   

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章