2008年10月9日
摘要: select top 1 * from table order by newid() top后面的数字就是你要随即搜索出来几条数据,这个方法只适用sql server SELECT top 4 * FROM 表 ORDER BY Rnd(id) 这句适用于ACCESS的 select * from table_name order by rand() [limit num]; mysql的随机查询语句。 阅读全文
posted @ 2008-10-09 11:05 Jack Niu 阅读(504) 评论(0) 推荐(0) 编辑

Affiliate Marketing and Web Technology