在mysql 中用limit 比如要查询user表中的前10条数据用 select * from user limit 10 还可以分页查询 比sqlserver 方便多拉。分页用 select * from user limit 10,2 //10代表 显示前10条,2表示 显示第2也的数据