Oracle 查询 排序后,取第一条

select * from (select * from 表名称 where 查询条件  order by  排序字段  asc) where rownum=1

猜你喜欢

转载自huangqiqing123.iteye.com/blog/2253779