mssql随机选择记录 SELECT top 10 * FROM table ORDER BY NEWID() mysql的随机选择记录 select * from table order by rand() limit 10