Python--day42--MySQL外键定义及创建

什么是外键?

外键的创建:constraint 外键名 foregin key ("表1值1",“

表1值2”) references 表2的名字(“值1”)

原文地址:https://www.cnblogs.com/xudj/p/10370149.html