select floor(rand()*10) + 5 as rd
rand() 产生0~1之间的小数
0.0658651757311392
0.727451091436525
0.458829025671124
0.330964173829292
0.264734226044088
select floor(rand()*10) + 5 as rd
rand() 产生0~1之间的小数
0.0658651757311392
0.727451091436525
0.458829025671124
0.330964173829292
0.264734226044088