sql查询前100条数据

Posted on 2022-11-10 15:33  橙子j  阅读(3578)  评论(0编辑  收藏  举报

mysql 

select * from table limit 0,100;

 

oracle

select * from table where rownum<=100;

 

sqlsever

select top 100 * from table;