全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Functional dependency, trivial dependency?

又称: functional dependency · trivial dependency

Definition 30.1 University Computer Science — Year 2 · 第 30 章 — Database Design: Dependencies, Normal Forms and Transactions

Let RR be a set of attributes and X,Y⊆RX, Y \subseteq R. A table over RR satisfies the functional dependency X→YX \to Y if any two rows that agree on every attribute of XX also agree on every attribute of YY. The dependency is trivial if Y⊆XY \subseteq X; it is then satisfied by every table.

The library’s rules over the wide table’s fourteen attributes. Blue: a loan determines its dates, its book and its member. Red: a book determines its title, author, genre and pages. Orange: a member determines the name and the street. Green: a street determines its postcode. Only the blue arrows start from a key.
The library’s rules over the wide table’s fourteen attributes. Blue: a loan determines its dates, its book and its member. Red: a book determines its title, author, genre and pages. Orange: a member determines the name and the street. Green: a street determines its postcode. Only the blue arrows start from a key.
在原文中阅读 →