SQL怎么随机提取出一条信息 mysql 获取随机记录 使用mysql rand()函数 $sql = "select * from table order by rand() limit 12"; 前望