mysql中使用rand函数得到随机整数

得到1至50的mysql随机整数
FLOOR(1 + (RAND() * 50));

posted on 2011-03-29 16:30  zqonline  阅读(31425)  评论(1编辑  收藏  举报

导航