由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - 请问大侠: superkey
相关主题
谁知道下面这段是什么意思(ABOUT CONSTRAINTS)怎样roll up 指定的attribute?
多对多relation?请问怎么用sql实现hash
help!请教2个sql query 问题
哪位大虾精通FILEMAKER?如何定义多个ATTRIBUTES为PRIMARY KEY?一个求和的有日期限制的sql query 问题.
How to Rename Attribute in Oracle8i?sql query question
How to insert CURRENT TIMESTAMP into sqlparameterized queries with no inputs
What is a relational table?请问xml文件读入mysql,怎么最方便?
mysql maximum columns <=1000?xpath 里面如何找 attribute 最大值呢?
相关话题的讨论汇总
话题: superkey话题: ad话题: attributes话题: relation话题: why
进入Database版参与讨论
1 (共1页)
w******g
发帖数: 61
1
suppose that R is given with attributes ( A,B,C,D,E,F) and
the FDs ( A-->BC, B-->E, CD-->EF)
i would like to know, for the superkey at here. why not can
just AD be the superkey. as i found the superkey's
defination : K is a superkey of a relation R iff K+ consists
of all attributes of R, i think ( A, D)+ = ( A,B,C,D, E ,F).
thus why not only the AD can be the superkey and has to plus
B and C.
thank you very much for your help. good day
m******n
发帖数: 194
2
AD is the key for the relation. Key is the minimum set of attributes
that FD determines the relation, while superkey is not the minimum set.
so ADC, ADB, ADE, are all superkeys.

【在 w******g 的大作中提到】
: suppose that R is given with attributes ( A,B,C,D,E,F) and
: the FDs ( A-->BC, B-->E, CD-->EF)
: i would like to know, for the superkey at here. why not can
: just AD be the superkey. as i found the superkey's
: defination : K is a superkey of a relation R iff K+ consists
: of all attributes of R, i think ( A, D)+ = ( A,B,C,D, E ,F).
: thus why not only the AD can be the superkey and has to plus
: B and C.
: thank you very much for your help. good day

1 (共1页)
进入Database版参与讨论
相关主题
xpath 里面如何找 attribute 最大值呢?How to Rename Attribute in Oracle8i?
BI 是不是DBA的工作阿How to insert CURRENT TIMESTAMP into sql
salesforce用的什么数据库产品呀?What is a relational table?
问一个SQL LOADER BLOB的问题mysql maximum columns <=1000?
谁知道下面这段是什么意思(ABOUT CONSTRAINTS)怎样roll up 指定的attribute?
多对多relation?请问怎么用sql实现hash
help!请教2个sql query 问题
哪位大虾精通FILEMAKER?如何定义多个ATTRIBUTES为PRIMARY KEY?一个求和的有日期限制的sql query 问题.
相关话题的讨论汇总
话题: superkey话题: ad话题: attributes话题: relation话题: why