为了一些抽奖等目的,有时候需要随机的从一些符合的条件的数据中获取几条做为中奖的记录。 这儿列出了一些常见数据库中用来获取随机记录数据的方法。
http://www.carlj.ca/2007/12/16/selecting-random-records-with-sql/
Popularity: 4% [?]
Comments are closed.