Sql Server:select top n * from 表名 order by newid()
Access:select top n * from 表名 order by rnd(id) //其中id为表的自动递增字段
Mysql:select * from 表名 order By rand() limit n
Access:select top n * from 表名 order by rnd(id) //其中id为表的自动递增字段
Mysql:select * from 表名 order By rand() limit n