Please Log in to join the conversation.
Please Log in to join the conversation.
UPDATE `#__myothertable`
SET `vip_222` = (SELECT `cb_vip`
FROM `#__comprofiler`
WHERE `#__comprofiler`.`user_id` = `#__myothertable`.`222_id` AND `#__comprofiler`.`cb_vip` = 1);
UPDATE `#__myothertable`
SET `vip_222` = 0
WHERE `vip_222` != '1';
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.