-------查询符合条件的前5条记录---------------------------select top 5 * from 表名 where 条件表达式order by 列名
select * from(select rownum rw,com1,com2 from table1) where rw<=5