Skip to main content

Projection

  • Reference work entry
  • First Online:
  • 14 Accesses

Synonyms

Projection (Relational Algebra)

Definition

Given a relation instance R over set of attributes U, and given a subset X of U, the projection of R on X – denoted by πX(R) – is defined as a relation over set of attributes X whose tuples are the restriction of tuples of R to attributes X. That is, t ∈ πX(R) if and only if t = t′(X) for some tuple t′ of R (here t′(X) denotes the restriction of t′ to attributes X).

Key Points

The projection is one of the basic operators of the relational algebra. It operates by “restricting” the input relation to some of its columns.

The arity of the output relation is bounded by the arity of the input relation. Moreover the number of tuples in πX(R) is bounded by the number of tuples in R. In particular, the size of πX(R) can be strictly smaller than the size of R since different tuples of R may have the same values on attributes X.

As an example, consider a relation Goods over attributes (code, price, quantity), containing tuples {(001, 5.00, 10),...

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   4,499.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD   6,499.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Cristina Sirangelo .

Editor information

Editors and Affiliations

Section Editor information

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Science+Business Media, LLC, part of Springer Nature

About this entry

Check for updates. Verify currency and authenticity via CrossMark

Cite this entry

Sirangelo, C. (2018). Projection. In: Liu, L., Özsu, M.T. (eds) Encyclopedia of Database Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-8265-9_1258

Download citation

Publish with us

Policies and ethics