查询表中前10行数
select gys_id, gys_name, rownum
from (select gys_id, gys_name from aaa order by line_number)
where rownum <= 10
运行结果: