摘要: 1、使用 随机数 当作主键ID的结果进行查询出现 没有 或者 多个 结果的情况 # 通过rand函数随机取一行数据select * from name_first where id = (floor(rand() * (select count(*) from name_first)) + 1);# 阅读全文
posted @ 2024-12-13 15:33 萧一下 阅读(22) 评论(0) 推荐(0)