Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (中文) » SQL Anywhere 12 - 简介 » 数据管理技术 » 关系数据库概念

 

表之间的关系

主键和外键可用来描述不同表中信息之间的关系。主键唯一地标识表中每一行,外键则定义不同表中各行之间的关系。

通过主键和外键,您可以使用关系数据库高效地保存信息,最大程度地降低冗余度。


主键
外键