asdrtu 发表于 2018-10-7 13:46:12

mysql外键的设置

  drop table if exists test1;
  create table test1
  (id int unsigned not null,
  info varchar(20),
  foreign key(id) references zy(id) on update cascade on delete cascade);

页: [1]
查看完整版本: mysql外键的设置