POSTGRES update select
作者:互联网
UPDATE gp_subscription
SET resource_catalog_code_key = c.code_key,
resource_catalog_name = c.NAME,
resource_name = c.resource_name,
catalog_format_type = c.catalog_format_type
FROM
gp_resource_catalog c
WHERE
gp_subscription.resource_catalog_id = c.ID
update dlv_cloud_host
set cpu_core_number = c.num_cpu
from prc_pri_vm c
where dlv_cloud_host.vm_id = c.id
标签:code,resource,POSTGRES,gp,update,catalog,id,select,name 来源: https://www.cnblogs.com/sunnycc/p/15754385.html