Is there any way to simplify this expression?
UPDATE `app01`.`ost_user` SET `org_id` = '2' WHERE `ost_user`.`id` = 6;
UPDATE `app01`.`ost_user` SET `org_id` = '2' WHERE `ost_user`.`id` = 7;
UPDATE `app01`.`ost_user` SET `org_id` = '2' WHERE `ost_user`.`id` = 8;
I was thinking in something like:
UPDATE `app01`.`ost_user` SET `org_id` = '2' WHERE `ost_user`.`id` = [6, 7, 8];
Is there any way?
I've already tried to find an answer to this question, but I dont even know which terms should I search...