修改
1.语法
修改单表记录
UPDATE TABLE SET 列名1=value1,列名2=value2 WHERE 条件
修改多表记录
update 表1 AS 别名 inner join 表2 AS 别名 on 连接条件 set where
Last updated
Was this helpful?
修改单表记录
UPDATE TABLE SET 列名1=value1,列名2=value2 WHERE 条件
修改多表记录
update 表1 AS 别名
inner join 表2 AS 别名
on 连接条件
set
where
Last updated
Was this helpful?