Dbms Notes
Dbms Notes
DBMS The software that is used to create, update and retrieve data is
known as database management system (DBMS). It facilitates
planning and maintenance of the database for the user. Some of the
common examples of DBMS are MS Access, Open Office or LibreOffice
Base, Oracle, Ingress, MySQL.
A foreign key is a key used to link two tables together. This is sometimes
also called as a referencing key. A Foreign Key is a column whose values
are derived from the Primary Key of another table.
Alternate Key: An alternate key is any candidate key that is not chosen as the primary key.
These keys are also capable of uniquely identifying records in the table but are used as
secondary options for the primary key
Composite Primary Key: A composite primary key is a primary key made up of two or more
columns in a table, collectively unique, that together can uniquely identify each record. It is
used when a single column is not sufficient to ensure uniqueness across records.
Candidate Key: A candidate key is a column or a set of columns in a table that can uniquely
identify each record in that table. Each table can have multiple candidate keys, but only one
can be selected as the primary key. Candidate keys must have unique values and cannot
contain null values.
The advantages of a Database Management System (DBMS) include: