logo

Codeordie

Hello Learners

Wellcome to Every Developers to the creator world | make content | make new world

New products | new features | new learning | easy

Bibhabendu

20 Top Question on DBMS

13 February 2023

Bibhabendu

Bibhabendu

"Digital India is not just a mission, it's a movement that empowers every citizen with the power of technology and brings us closer to a truly connected and inclusive society."

DBMS

Top 20 question in DBMS

Write a short notes on Integrity constraints

Integrity constraints in DBMS are used to ensure the correctness and consistency of data stored in a database. There are several types of integrity constraints that can be applied to a database, including:

Explain Armstrong's axioms.

Armstrong's axioms, also known as Armstrong's rules, are a set of inference rules used in relational database theory to test the semantic integrity of functional dependencies in a relation. These rules are named after William W. Armstrong, who first introduced them in 1974.

The three basic rules of Armstrong's axioms are as follows:

  1. Reflexivity: If A is a set of attributes and B is a subset of A, then A → B (i.e., A functionally determines B) is true.
  2. Augmentation: If A → B is true and C is a set of attributes, then AC → BC is also true.
  3. Transitivity: If A → B and B → C are both true, then A → C is also true.

These three rules can be used to derive additional rules, such as decomposition, union, and pseudotransitivity. By using these axioms, we can identify the functional dependencies that hold within a relation, which can be used to ensure data integrity and optimize database design.


Small step to appriciate