Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
主键和外键可用来描述不同表中信息之间的关系。主键唯一地标识表中每一行,外键则定义不同表中各行之间的关系。
通过主键和外键,您可以使用关系数据库高效地保存信息,最大程度地降低冗余度。
主键外键