x--->ya 是微不足道的函数依赖吗?

发布于 2024-09-27 00:07:31 字数 176 浏览 0 评论 0原文

如果 y 是 x 的子集,则 x→y 是微不足道的函数依赖(众所周知)。但我有疑问: y 不是 x 和 x U y = R 的子集,那么我可以说 x-->y 是一个微不足道的函数依赖。(我在一些文章中读过它)

添加到上面的问题:为什么 XUY = R 在多值依赖的情况下成立(微不足道)?有人可以举个例子以便我理解吗?

If y is a subset of x then x-->y is trivial functional dependency (it is well known). But I have doubt: y is not subset of x and x U y = R, then can I say x-->y is a trivial functional dependency.( I read it in some article)

Adding to above question: Why X U Y = R holds in case of multivalued dependencies(trivial)? Can somebody give an example so that I can understand?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一指流沙 2024-10-04 00:07:31

不,你不能。假设R是{a1,a2} x是a1并且y是a2。 x U y = R 成立,但 x-->y 不一定成立。

No, you can't. Suppose R is {a1, a2} x is a1 and y is a2. x U y = R holds, but x-->y is not necessarily true.

裂开嘴轻声笑有多痛 2024-10-04 00:07:31

平凡的函数依赖

不,这不是一个平凡的函数。当属性的子集依赖于完整的集合时,这只是一个微不足道的函数依赖。

平凡函数依赖的定义:

平凡函数依赖

例如:(a,b) 依赖于 (a,b,c)属性。

在您的情况下,它不是子集,因此它不是一个微不足道的函数依赖项。

你所描述的是一个关键候选人。 (X 依赖于自身(微不足道),并且它还决定了所有其他部分,因此整个关系就是这样)

多值依赖

多值依赖可能会受到威胁,就像它是某些函数依赖关系的更通用版本。
一些帮助:

维基百科上的多值依赖关系

你甚至可以找到一些那里的例子以及正式的定义。

Trivial functional dependency

No it is not a trivial functional. It is only a trivial functional dependency when a subset of attributes depends from the full set.

Definition of trivial functional dependency:

Trivial functional dependency

Eg.: (a,b) depends from (a,b,c) attributes.

In you case it is not a subset, so it is not a trivial functional dependency.

What you described is a key candidate. (X depends from itself (trivial), and it also determines all the other part, so this way the whole relation)

Multivalued dependencies

Multivalues dependencies can be threathed like it was some more general version of functional dependencies.
Some help:

Multivalued dependencies on Wikipedia

You can even find some examples there and also the formal definition.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文