sql随机获取5条记录

select top 5 * from table order by newid()

posted on 2014-06-23 15:13  不小心而已  阅读(369)  评论(0编辑  收藏  举报