发布时间:2014-11-06 15:21:33
(key是索引,constraint是约束,foreign key是外键,references是应用什么表的主键)create table tb_user_role(id_user int(10) not null,key id_user(id_user),constraint id_user foreign key (id_user) references user_table (id))engine=Innodb default charset=utf8;......【阅读全文】