摘要: SELECT * FROM tablename ORDER BY RAND() LIMIT 1 SELECT * FROM table_name AS r1 JOIN (SELECT ROUND(RAND() * (SELECT MAX(id) FROM table_name)) AS id) AS 阅读全文
posted @ 2014-03-15 18:25 忘忧般若汤 阅读(165) 评论(0) 推荐(0) 编辑