UPDATE event_layout_config a
INNER JOIN (
SELECT
field_name,
classify,
property,
field_struct
FROM
event_layout_config
WHERE
iam_organization_id = 1
AND page_name = 2
AND project_id = 5
AND category_code = 'INCIDENT'
) c ON a.field_name = c.field_name
SET a.classify = c.classify,
a.property = c.property,
a.field_struct = c.field_struct
where a.iam_organization_id=0 and page_name=2