大炮模型制作:如何同时更新多个表的字段 for mysql
来源:百度文库 编辑:神马品牌网 时间:2024/05/13 09:11:26
update table1 t1,table2 t2 set t1.a=1,t2.b=2 where t1.id=1 and t2.id=1
神马品牌网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:神马品牌网 时间:2024/05/13 09:11:26
update table1 t1,table2 t2 set t1.a=1,t2.b=2 where t1.id=1 and t2.id=1