Lossless-Join

No loss of information in comparison to the original schema before decomposition

Example

Pasted image 20231213115033.png Pasted image 20231213115036.png

-- Natural Join
select distinct Student, Assignment, Group, x.Mark as Mark
from SGM x, AM y
where x.Mark = y.Mark

Pasted image 20231213115348.png

Spurious Tuples: Computes extra tuples

Decomposition {R1,R2} of R is a lossless-join if for any instance of R the natural join of
R1 and R2 has no spurious tuples

Theorem: Decomposition {R1,R2} of R is a lossless-join decomposition if and only if the common Attributes of R1 and R2 form a superkey for either schema

Logical Consequence of the integrity constraints