北京台李晶年龄:如何同时更新多个表的字段 for mysql
来源:百度文库 编辑:中科新闻网 时间:2024/05/15 08:45:29
update table1 t1,table2 t2 set t1.a=1,t2.b=2 where t1.id=1 and t2.id=1
中科新闻网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:中科新闻网 时间:2024/05/15 08:45:29
update table1 t1,table2 t2 set t1.a=1,t2.b=2 where t1.id=1 and t2.id=1