Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Functional dependency, trivial dependency?

Também chamado de: functional dependency · trivial dependency

Definition 30.1 University Computer Science — Year 2 · Capítulo 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.
Ler no capítulo →