1.Explain entity integrity, referential integrity, foreign key with example ?
Answers
Answer:
Referential integrity is the state in which all values of all foreign keys are valid. Referential integrity is based on entity integrity . ... For example, referential integrity ensures that every foreign key value in the DEPT column of the EMP table matches a primary key value in the DEPTNO column of the DEPT table.
Answer:
Referential integrity is the state in which all values of all foreign keys are valid. Referential integrity is based on entity integrity . ... For example, referential integrity ensures that every foreign key value in the DEPT column of the EMP table matches a primary key value in the DEPTNO column of the DEPT table.
Explanation:
I hope my answer is helpful,have a nice day and take care of yourself,if you like❤ my answer please follow