Encyclopedia of Database Systems

2018 Edition
| Editors: Ling Liu, M. Tamer Özsu


  • Cristina SirangeloEmail author
Reference work entry
DOI: https://doi.org/10.1007/978-1-4614-8265-9_1260


The join is a binary operator of the relational algebra that combines tuples of different relations based on a relationship between values of their attributes. The primitive version of the join operator is called natural join. Given two relation instances R1, over set of attributes U1, and R2 over set of attributes U2, the natural join R1R2 returns a new relation, over set of attributes U1U2, consisting of tuples {t |t(U1) ∈ R1 and t(U2) ∈ R2}. Here t(U) denotes the restriction of the tuple t to attributes in the set U.

A derivable version of the join operator is obtained by composing the natural join with the selection operator σ: the theta join R1θR2 is defined as σθ (R1R2), where θ is an arbitrary condition allowed in a generalized selection over set of attributes U1U2. In the case that θ is a conjunction of equality atoms of the form A = B, where A is an attribute in U1 and B an attribute in U2, the theta join is called equijoin.

Another derivable join...

This is a preview of subscription content, log in to check access.

Copyright information

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

Authors and Affiliations

  1. 1.IRIFParis Diderot UniversityParisFrance

Section editors and affiliations

  • Leonid Libkin
    • 1
  1. 1.School of InformaticsUniversity of EdinburghEdinburghUK