About us
Services
Products
Work
Contact
Feedback
In Focus
Flash XML slideshow
Database training
1.2.12. Referential integrity
Given two relations R
1
and R
2
R
1
contains a foreign key (FK) that references
A primary key (PK) in R
2
R
1
referencing relation, R
2
referenced relation
Shared domains: dom(FK) = dom(PK)
Foreign exists: t
1
in r(R
1
), t
2
in r(R
2
)
t
1
[FK] = t
2
[PK] || NULL
‹ 1.2.11. Constraints
up
1.3. Joins ›
s5 slideshow