superkey 是可数名词,复数形式为 superkeys。常见句型包括:X is a superkey of relation R(X 是关系 R 的超键);X is not a superkey because ...(X 不是超键,因为……);find all superkeys of R(找出 R 的所有超键)。它常与介词 of 连用,后接关系名或表名。易错点有三:其一,superkey 与 candidate key 不可互换,前者不要求极小性,后者要求极小性;其二,超键可以是单个属性,也可以是属性组合,因此谓语动词单复数需与主语一致,如 A and B form a superkey 而非 forms;其三,在形式化定义中,超键通常记作 K,需与函数依赖 X → Y 的记号区分。写作时应避免把 superkey 误用作动词,该词只有名词用法。
In the relation Student, the set {student_id, name} is a superkey because student_id alone already uniquely identifies each tuple.在关系 Student 中,集合 {student_id, name} 是一个超键,因为仅 student_id 就已能唯一标识每个元组。
Every candidate key is a superkey, but not every superkey is a candidate key.每个候选键都是超键,但并非每个超键都是候选键。
The instructor asked us to list all superkeys of the given relation and then identify the candidate keys.教师要求我们列出给定关系的所有超键,然后找出候选键。
A superkey may contain redundant attributes, which is why database designers prefer candidate keys for primary key selection.超键可能包含冗余属性,因此数据库设计者更倾向于从候选键中选择主键。
If no proper subset of a superkey can uniquely identify tuples, that superkey is minimal and thus a candidate key.如果一个超键的任何真子集都不能唯一标识元组,则该超键是极小的,因而是一个候选键。
The formal definition of a superkey relies on the notion of functional dependency.超键的形式化定义依赖于函数依赖的概念。