MYSQL:外键删除后,查询表发现外键依旧存在的原因及相关解决办法

1、创建表test create table test( id int(5) not null primary key, wid int(5) not null); 查看表结构 2、创建student表 create table student( id int(5) not null primary key); 查看表结构   3、修改表结构来创建外键(test表的wid列对应student表的i
相关文章
相关标签/搜索