MySql数据库中为已创建的表加外键

alter table bas_wine_norm
add
constraint
fk_basWineNorm_wineid
foreign key(wine_id)
references bas_wine_info(wine_id)

猜你喜欢

转载自illy.iteye.com/blog/1564534