2011-04-29 14:28:42 0 评论 MySQL Boy.Lee

从数据表中获得一条随机数据

{Code}

select * from img_lib where id >(select floor(max(id)*rand()) from img_lib) limit 0, 1