oracle sql 查询前十条数据

-- oracle sql 查询前十条数据
select * from b2c_code where rownum <= '10';
-- sql server 查询前十条数据
select top 10 * from b2c_code;

 

posted @ 2015-07-20 15:57  蒲木杉  阅读(25323)  评论(0编辑  收藏  举报