Introduction to dbms
Introduction to dbms
DBMS
FOREIGN KEY
◦A Foreign key is used to represent the relationship between two
tables.
◦A non-key attribute whose values are derived from the primary
key of some other table is known as Foreign key in current table.
REFERENTIAL INTEGRITY
• A Referential Integrity is a system of rules that database
management uses to ensure that relationships between
records in related tables are valid, and that users don’t
accidently delete or change related data.