sql两张表左连接关联更新其中某个字段的条件
UPDATE table1 LEFT JOIN table2 ON table1.id = table2.id SET table1.field = 'new_value' WHERE table2.field = 'condition';
原文地址: https://www.cveoy.top/t/topic/dqkt 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
UPDATE table1 LEFT JOIN table2 ON table1.id = table2.id SET table1.field = 'new_value' WHERE table2.field = 'condition';
原文地址: https://www.cveoy.top/t/topic/dqkt 著作权归作者所有。请勿转载和采集!