sql随机抽取数据的方法

select top 5 * from tablename order by newid()此类情况在随机收取文章或试题的时候回经常用到

posted @ 2015-12-02 11:05  黄德根  阅读(2507)  评论(0)    收藏  举报