mysql生成随机字符串

select upper(substring(MD5(RAND()),1,20))
原文地址:https://www.cnblogs.com/limonyun/p/15463502.html