请认真和我谈恋爱:如何同时更新多个表的字段 for mysql
来源:百度文库 编辑:查人人中国名人网 时间:2024/05/15 11:43:59
update table1 t1,table2 t2 set t1.a=1,t2.b=2 where t1.id=1 and t2.id=1
查人人中国名人网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:查人人中国名人网 时间:2024/05/15 11:43:59
update table1 t1,table2 t2 set t1.a=1,t2.b=2 where t1.id=1 and t2.id=1