我有多个更新查询。我想在一个声明中这样做。该查询是有没有办法将两个更新查询合并成一个?
update user set name = 'Something' where id = '1';
update user set name = 'Newthing' where id = '2';
我想是这样
update user set name = 'Something' where id = '1' && update user set name = 'Newthing' where id = '2';
感谢,它的工作原理如下:D –