mysql--返回一个数字n,使得 a<=n<=b

SELECT FLOOR(a + RAND() * (b - a + 1));