Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
关系表可以有与另一个表相关的约束吗?如果是,请同时提供一个例子
是的,想想外键约束。外键约束与另一个表相关。例如,考虑下表
这里要注意,Address 表中的 State_cd 与另一个表(State)相关。
希望这很清楚