首页  编辑  

选择随机一行数据的方法

Tags: /MySQL/   Date Created:

SELECT *, RAND() "xrand" FROM devices A ORDER BY xrand LIMIT 1