MySQL筑表相关 Home » IDC云服务 » MySQL筑表相关 MySQL建表相关 建立外键语句: create table amr ( id int primary key, name varchar(10) not null, role int, foreign key (role) references roles(id) );