摘要: There are lots of ways to select a random record or row from database table.Here are some example SQL statements that don't requireadditional application logic,but each database server requires different SQL syntax.Select a random row with MySQL:SELECT column FROM tableORDER BY RAND()LIMIT 1Sele 阅读全文
posted @ 2012-04-25 21:32 左手边的爱 阅读(882) 评论(0) 推荐(0) 编辑