测试表:t_user表
批量更新
UPDATE
t_user
SET
create_time = NOW(),
NAME = (
CASE
WHEN user_id = 10
THEN 'xiaoming'
WHEN user_id = 11
<
测试表:t_user表
批量更新
UPDATE
t_user
SET
create_time = NOW(),
NAME = (
CASE
WHEN user_id = 10
THEN 'xiaoming'
WHEN user_id = 11
<