MySQL 随机查取表中1条数据
SELECT * FROM `basic_base_info`
WHERE id >= (SELECT floor(RAND() * (SELECT MAX(id) FROM `basic_base_info`)))
ORDER BY id LIMIT 3;
MySQL 随机查取表中1条数据
SELECT * FROM `basic_base_info`
WHERE id >= (SELECT floor(RAND() * (SELECT MAX(id) FROM `basic_base_info`)))
ORDER BY id LIMIT 3;