Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Selection, projection, renaming?

Também chamado de: selection (relational algebra) · projection (relational algebra) · renaming (relational algebra)

Definition 29.7 University Computer Science — Year 1 · Capítulo 29 — The Relational Model, Relational Algebra and SQL

For a relation rr over attributes UU: the selection σc(r)\sigma_c(r) is the set of tuples of rr that satisfy the condition cc; the projection πX(r)\pi_X(r), for X⊆UX \subseteq U, is the set of the restrictions t[X]t[X] of the tuples of rr to XX; the renaming ρB←A(r)\rho_{B \leftarrow A}(r) is rr with the attribute AA called BB.

Ler no capítulo →