表中一个字段加一个50以内的随机数

update t_order_detail set sales= sales+FLOOR(RAND()*50) where id= '599';

原文地址:https://www.cnblogs.com/flywang/p/5985770.html