执行SQL语句: update table_C, table_A set table_C.colC = table_A.colA where table_A.anotherId= table_C.anotherId 实现: 更新table_C中的字段col_C中的数据,数据来自table_A中的字段col_A,通过非主键一一映射。 即更新表中字段的数据,数据来自另一张表中的字段。 报错: Error Code: 2013. Lost connection to MySQL server during query 600 sec 运行环境: MySql Workbench 6.1 Window…
2014-12-13 11:33 · mysql · MySQL