1.更新数据
MySQL-UPDATE语法: UPDATE [LOW_PRIORITY] [IGNORE] table_name SET column_name1 = expr1, column_name2 = expr2, ... WHERE condition;
更新某个字段中的值
UPDATE table1 SET live_video = value1 WHERE id = 2671
更新字段中的部分值(替换)
UPDATE table1 SET 字段名称 = REPLACE(字段名称, '老的值', '新的值') WHERE id = 2671
更新某个时间段中的数据
update table1 set 字段=replace(字段,'老的值','新的值') where colum between '2018-07-01 00:00:00' and '2019-02-02 00:00:00'