开发者

Is it possible to break a Composite key?

开发者 https://www.devze.com 2022-12-23 21:46 出处:网络
Is it possible to break the composite key 开发者_JAVA百科of a table and use one of them as a primary key for other table? If yes, then please tell me how can I do it?Generally you use a composite key

Is it possible to break the composite key 开发者_JAVA百科of a table and use one of them as a primary key for other table? If yes, then please tell me how can I do it?


Generally you use a composite key when none of the columns alone contains unique values. Since a primary key must be unique, you probably can't use just one of the columns.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号