需要根据enterprise表中的unit_name字段更新max_amount字段,max_amount与unit_name可以在temp表中获取到
enterprise表中unit_name对应temp表中name
max_amount对应temp表中value
UPDATE enterprise
SET MAX_AMOUNT = (
SELECT
temp.VALUE
FROM
temp
WHERE
enterprise.UNIT_NAME = temp.`NAME`
)
需要根据enterprise表中的unit_name字段更新max_amount字段,max_amount与unit_name可以在temp表中获取到
enterprise表中unit_name对应temp表中name
max_amount对应temp表中value
UPDATE enterprise
SET MAX_AMOUNT = (
SELECT
temp.VALUE
FROM
temp
WHERE
enterprise.UNIT_NAME = temp.`NAME`
)
上一篇:上传视频加进度条分块
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M