×

Relational DBMS Concepts

What is RDBMS?

RDBMS stands for Relational Database Management System.
The relational database management system is a type of DBMS that stores information in the form of related tables and uses a relational model defined by the EF Codd.
Relational DBMS is a system that manages the relational databases. The database is called ‘relational’ because the values in each table are related to each other. A Relational database is a collection of an organized set of tables (rows and columns) from which data can be accessed easily.
Popular examples of RDBMS include Microsoft Access, SQL Server, Oracle database, MySQL and IBM DB2.

Features of RDBMS

  • It provides data to be stored in the tables in the form of rows and columns.
  • It provides the facility of primary key to uniquely identify each row in a relation.
  • It creates indexes for fast data access.
  • It provides the primary and foreign key to share a common column in more than one table.

Table

In RDBMS, a table is a collection of data elements represented in a structured format in terms of rows and columns. In a database, each table has a specific name. It is the simplest form for storing the data in the relational database management system.
Databases contain multiple tables, where each table is designed for a specific purpose.
For example, a college database may contain separate tables for students, course, and Teachers. Each table in a database may include its own set of attributes or fields, based on what type of data, the table needs to store. In tables, each field or attribute is considered as a column, while each record is considered as a row. Specific value can be retrieved from the database table by requesting data from an individual column and row.

Database: College

Table: Student

Roll no. Name City Age
101 Akhil Meerut 20
102 Chetan Delhi 22
103 Anubhav Ghaziabad 21
104 Rishabh Shivam 20

Table: Course

Course_id Course_name
C1 MCA
C2 M. tech
C3 MBA

Table: Teacher

Teacher_id Name City
201 Ankit Delhi
202 Manoj Delhi
203 Tarun Ghaziabad
204 Yash Delhi

Record

Each row in the database table is known as a record. It is also known as a tuple. A record or tuple is composed of attributes and contains the data about one particular person or an item in a database. Highlighted row for the roll no 102 in the below table Student is an example of a record.

Table: Student

Rollno Name City Age
101 Akhil Meerut 20
102 Chetan Delhi 22
103 Anubhav Ghaziabad 21
104 Rishabh Shivam 20

Field

A database table consists of several rows. Each row can be broken down into several smaller entities known as fields. It is also known as an attribute.
A field or an attribute is a column in the database table which is designed to maintain particular information about each row in the table. The above student table consists of four attributes Rollno, Name, City and Age.

Table: Student

Rollno Name City Age

Degree

The number of fields or attributes in a relation or table is known as a Degree. The above table Student has degree 4.

Cardinality

The number of tuples or records in a relation is known as its Cardinality. The above table Student has cardinality= 4.

Domain

A domain is a collection of possible values for an attribute in the database table. For example, a domain of month in a year can accept January, February, March…December as values, a domain of dates can accept all possible valid dates etc. We specify the domain of attribute while creating a table.
A field or an attribute cannot accept those values that are outside of its domains.

In the below table Student, the rollno attribute has an integer domain. Therefore, attribute, or column name or a field can accept only integer values, i.e., roll no cannot has values like10.11, ‘first’, etc.

Table: Student

Rollno Name City Age
101 Akhil Meerut 20
10.11 Chetan Delhi 22
first Anubhav Ghaziabad 21
104 Rishabh Shivam 20

What is a NULL value?

The value is unknown, or the value is not applicable for an attribute. It is represented by a blank space. It is different from the value filled with zero or a field that contains space.

Roll no. Name City Age
101 Akhil   20
102 Chetan Delhi 22
103 Anubhav   21
104 Rishabh Shivam 20

Related Topics

DBMS Examples

Introduction to DBMS A database management system (DBMS) is a software application that is designed to manage and organize data stored in a database. It is responsible for storing, retrieving, and...

4 minutes read.

DBMS Schedule

A schedule is a process of combining the multiple transactions into one and executing the operations of these transactions in a predefined order. A schedule can have multiple transactions in it, each transaction...

2 minutes read.

Constraints in Database Management System

In a database management system, certain constraints are applied while performing any operation on the database to ensure that the integrity and quality of the data are maintained throughout the...

4 minutes read.

DBMS Data Independence: Logical and Physical

Data Independence in DBMS: Data independence is a concept of DBMS which alters the schema of the database at one level of the database system without altering the schema definition...

2 minutes read.

Red-Black Tree Visualization in DBMS

Introduction to Red Black Tree A red-black tree is a self-balanced binary search tree with an extra bit per node, usually read as a color (red or black). The tree is...

4 minutes read.

Query processing in DBMS

Operations on DBMSs are made much simpler, more organized, and methodical with SQL. These are not only simpler for people to comprehend, but after gaining a basic comprehension of them, they...

4 minutes read.

Defference between Database and Data Warehouse

Database A database is a collection of related information is called a database. It has some elements that can be mapped to real-world objects. It is designed in such a manner...

4 minutes read.

View Serializability in DBMS

View Serializability It is a type of serializability that can be used to check whether the given schedule is view serializable or not. A schedule called as a view serializable if it is view...

4 minutes read.

What is a Cloud Database

Cloud computing is the process of commoditizing data storage and processing time using standardized technologies. Cloud databases are databases that are hosted on cloud computing platforms such as Salesforce, GoGrid,...

4 minutes read.

Secondary Key in DBMS

What are Keys? Keys in DBMS are the attributes or set of attributes that uniquely identify a row in a set of relations. A table (relation) can have a column or...

3 minutes read.

Data Abstraction in DBMS

Introduction Data abstraction is a fundamental concept in database management systems (DBMS). It refers to the process of hiding the details of how data is stored and retrieved from the user,...

3 minutes read.

Types of Data Abstraction in DBMS

What Is Data Abstraction? To ship an email, you want to know the address. But to send the email, you don't need to see where the email is physically stored. You...

6 minutes read.

Components of DBMS

The database management system (DBMS) represents an essential tool for processing data within effectively structured structures. The database management system consists of important components that work together to maintain the...

6 minutes read.

Structure of DBMS

DBMS means Database Management System, which is a tool or software used to create the database or delete, or manipulate the database. Query Processor, Storage Manager, and Disk Storage are the...

3 minutes read.

DBMS Generalization, Specialization, and Aggregation

DBMS Generalization Generalization is a bottom-up approach in which the common attributes of two or more lower-level entities combines to form a new higher-level entity. In generalization, the generalized entity of higher level can also...

3 minutes read.

DBMS Languages

User can access, update, delete, and store data or information in the database using database languages. The following are the databases languages in the database management system: Data Definition Language Data Manipulation...

3 minutes read.

ER Diagram for Banking System in DBMS

Entity Relationship Diagram Entity Relationship Diagrams, or ER Diagrams for short, are diagrams that show the relationships among entity sets that are stored in databases. Alternatively said, ER diagrams assist in...

3 minutes read.

Entity and Entity set in DBMS

What is DBMS? A database management system (DBMS) is a software application that interacts with end-users, other applications, and the database itself to capture and analyze the data. A DBMS allows...

3 minutes read.

Advantages of RDBMS

The relational database management system collects related data stored in tabular format. The data is stored in rows and columns, where rows usually represent the individual entity of the collected...

6 minutes read.

Difference between Dropbox and Amazon Drive

What is Dropbox? It is a file organising company that is owned by the American Company Dropbox Inc. Itsheadquarters is situated in San Francisco, California, U.S. Dropbox offers personal cloud, client...

3 minutes read.