用SQL语句来实现随机选定不同记录
摘要:
把不同数据库实现的语句粘在这里,以供参考. Select a random row with MySQL: SELECT column FROM table ORDER BY RAND() LIMIT 1SELECT column FROM table ORDER BY RANDOM() LIMIT 1Select a random row with PostgreSQL: SELECT colu... 阅读全文
posted @ 2009-04-13 15:27 山河星月 阅读(299) 评论(0) 推荐(0) 编辑