mysql: select * from tablename order by rand() limit 10
sqlserver: select top 10 * from tablename order by NEWID()

更多文章请关注《万象专栏》