×
>
<

DBMS

DBMS RDBMS | CrackEase

RDBMS

What is RDBMS?

RDBMS — Relational Database Management System — is software (a collection of programs) that manages relational databases. It provides services for data definition, storage, update, transaction processing, backup/recovery and administration.

Common examples of RDBMS systems:

  • MySQL
  • PostgreSQL
  • Oracle
  • Microsoft SQL Server
  • IBM Db2

The relational model was introduced by E. F. Codd and is based on tables (relations) to represent data.

Table

Database table illustration
Relational table example

Data in an RDBMS is stored in tables (relations). A table has:

  • A header row containing attribute (column) names
  • Subsequent rows containing data records (tuples)

Record or Row

Record (row) illustration
Table row representing a record

A record (also called a row or tuple) holds all the column values for one entity instance. Example: a student's row containing roll number, name, age, GPA, year.

Column or Attribute

Column (attribute) illustration
Table column showing attribute

A column (attribute) contains values of a particular property for all rows in a table (stored vertically). Example: the name column contains the names of all students.

Field

Field illustration
Field example in table

Field usually refers to a single cell value in a table (intersection of a row and a column). Collectively, fields (columns) define the schema or structure of the table (e.g., Roll_No, Name, Age, GPA, Year).

SQL Constraints

SQL constraints illustration
SQL constraints overview

Constraints are checks enforced by the DBMS to ensure data integrity and validity. If a constraint is violated, the DBMS rejects the operation.

Common SQL constraints:

  • DEFAULT — supplies a default value when none is provided
  • NOT NULL — disallows NULL values
  • UNIQUE — enforces uniqueness across rows
  • CHECK — enforces a boolean condition on column values
  • PRIMARY KEY — uniquely identifies each row
  • FOREIGN KEY — enforces referential integrity between tables
  • DOMAIN constraints — restrict allowed values (type/range)
Footer Content | CrackEase