问题描述
- 急求error1064真的是急求啊啊啊啊啊啊啊啊
-
create table teacher(
num int unsigned primary auto_increment,
t_no varchar(20) not null,
t_name varchar(20) not null,
t_age tinyInt unsigned not null,
t_sex char not null,
t_email varchar(20) not null,
t_mobile varchar(11) not null,
t_workname varchar(50) not null,
work varchar(100) not null,
tdept_belong int not null,
constraint foreign key(tdept_belong)references dept(num)
);
解决方案
是这个么http://www.cnblogs.com/shaocm/archive/2012/05/22/2513625.html,请参考
时间: 2024-11-29 15:09:58