是否可以更新primary key
具有多个表映射?如何更新主表中的id?
CREATE TABLE Master (id INT, name VARCHAR(20),address VARCHAR(20),Primary key(id));
CREATE TABLE Slave_1 (id INT,s1_id INT,area VARCHAR(20),project VARCHAR(20),primary key(s1_id),Foreign Key (id) references Master(id));
CREATE TABLE Slave_2 (id INT,s2_id INT,area VARCHAR(20),project VARCHAR(20),primary key(s2_id),Foreign Key (id) references Master(id));