修改mysql数据库的某一字段为随机值

随机值1,10000

update  goods set num = floor(1 + rand()*10000);

猜你喜欢

转载自blog.csdn.net/cmj8043719242/article/details/118545447
今日推荐