UPDATE `ohrm_custom_field_screen` SET  `deleted`= 1 WHERE `menu_id` IN (
SELECT `id`  FROM `ohrm_menu_item` WHERE
`menu_category` ='pim_left_menu'
AND `status` = 0
AND `url_extras` IS NOT NULL
);