sql语句获取前几条记录

来源:互联网 发布:linux忘记普通用户密码 编辑:程序博客网 时间:2024/05/16 10:05

 SQLSERVER数据库:select top N * from table

ORACLE数据库:select * from table where rownum <= N

SQLITE数据库:select  * from table limit  N