1.随机生成0~N之间的数值 ROUND(RAND()*N,0) 2.随机生成Min~Max之间的数值 ROUND(RAND()*(Max-Min),0)+Min 3.随机生成大写字母 CHAR(ROUND(RAND() * 25 + 65,0)) 4.随机生成小写字母 CHAR(ROUND(RAND() * 25 + 97,0)) 5.随机生成特殊字符 CHAR(ROUND(RAND() * 13 + 33,0)) 6.随机生成数字字符 CHAR(ROUND(RAND() * 9 + 48,0…