https://leetcode.com/discuss/study-guide/3823497/dbms-cheatsheet-for-interviews-30-questions

Database Management System is an organized collection of interrelated data that helps in accessing data quickly, along with efficient insertion, and deletion of data into the DBMS. DBMS organizes data in the form of tables, schemas, records, etc.

DBMS over File System

The file system has numerous issues, which were resolved with the help of DBMS, the issues with the file system are:

ER-Model

ER Diagram: An ER diagram is a model of a logical view of the database which is represented using the following components:

Some Important Terms

Cardinality of DBMS: Cardinality of relation expresses the maximum number of possible relationship occurrences for an entity participating in a relationship. Let’s suppose a binary relationship R between two entity sets A and B.  The relationship must have one of the following mapping cardinalities: