Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • Aptitude
  • Engineering Mathematics
  • Discrete Mathematics
  • Operating System
  • DBMS
  • Computer Networks
  • Digital Logic and Design
  • C Programming
  • Data Structures
  • Algorithms
  • Theory of Computation
  • Compiler Design
  • Computer Org and Architecture
Open In App
Next Article:
Difference between Selection and Projection in DBMS
Next article icon

Difference between E-R Model and Relational Model in DBMS

Last Updated : 25 Sep, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

In database management systems (DBMS), two key methods are the Relational model and the Entity-Relationship (E-R) model. Each has a specific function in the development and operation of databases. While the Relational model provides the practical structure for organizing and managing data in relational databases, the E-R model concentrates on offering a conceptual framework for comprehending the relationships between entities.

The E-R model and the Relational model are two types of data models present in DBMS. Let’s have a brief look at them: 

What is the E-R Model?

The E-R model stands for the Entity-Relationship model. ER Model is used to model the logical view of the system from a data perspective which consists of these components: Entity, Entity Type, Entity Set. An Entity may be an object with a physical existence – a particular person, car, house, or employee – or it may be an object with a conceptual existence – a company, a job, or a university course. An Entity is an object of Entity Type and a set of all entities is called an entity set. e.g.; E1 is an entity having Entity Type Student and a set of all students is called Entity Set. An Entity Type defines a collection of similar entities and a set of all entities is called an entity set. 

What is the Relational Model?

The Relational Model was proposed by E.F. Codd to model data in the form of relations or tables. After designing the conceptual model of the Database using an ER diagram, we need to convert the conceptual model into a relational model that can be implemented using any RDBMS language like Oracle SQL, MySQL, etc. Consider a relation STUDENT with attributes ROLL_NO, NAME, ADDRESS, PHONE, and AGE shown in Table 1.

STUDENT

ROLL_NO NAME ADDRESS PHONE AGE
1 RAM DELHI 9455123451 18
2 RAMESH GURGAON 9652431543 18
3 SUJIT ROHTAK 9156253131 20
4 SURESH DELHI   18

Differences Between ER Model and Relational Model

Let’s see the difference between ER model and relational model:

ER model Relational model
Developed by Peter Chen in 1976. Developed by E.F. Codd in 1970.
ER model is the high level or conceptual model. It is the representational or implementation model.
It is used by people who don’t know how database is implemented. It is used by programmers.
It represents collection of entities and describes relationship between them. It represent data in the form of tables and describes relationship between them.
It consists of components like Entity, Entity Type, Entity Set. It consists of components like domain, attributes, tuples.
It is easy to understand the relationship between entities. It is less easy to derive the relationship between different tables.
It describes cardinality. It does not describe cardinality.
E-R model does not define data dependencies. Relational model defines dependencies in tables.
E-R model represents relationships as associations. Relational model represents relationships as join tables.
E-R model is more granular in terms of data representation. Relational model is less granular.
E-R model is more flexible than the relational model. Relational model is less flexible than E-R model.
E-R model does not involve normalization. Relational model involves normalization.
E-R model use case is useful for initial planning and design. Relational model use case  is useful for implementation and maintenance

Some of the popular Language and Notations used-

  • Chen
  • UML
  • Crow’s foot
  • Bachman and others.

Some of the popular Language and Notations used-

  • SQL
  • MySQL

Conclusion

The Relational model is a practical implementation that uses tables for data storage, whereas the E-R model is a high-level conceptual tool for visualizing entities and relationships. Relational offers the framework for database systems, combining conceptual clarity with effective implementation, whereas E-R helps with design.



Next Article
Difference between Selection and Projection in DBMS

M

mv15
Improve
Article Tags :
  • DBMS
  • Difference Between
  • GATE CS

Similar Reads

  • Difference between Relational model and Document Model
    The relational model organizes data into tables with rows and columns, ideal for structured data. On the other hand, the document model stores data in hierarchical documents, which offers more flexibility for managing unstructured or semi-structured data. Both models serve different purposes in data
    3 min read
  • Difference between Network and Relational data model
    Data models specify the organization, archiving, and manipulation of data in database management systems (DBMSs). The Network Data Model and the Relational Data Model are two popular forms of data models. Each of these models has distinct characteristics, benefits, and uses for organizing and managi
    5 min read
  • Difference between Relational database and NoSQL
    1. Relational Database : RDBMS stands for Relational Database Management Systems. It is most popular database. In it, data is store in the form of row that is in the form of tuple. It contain numbers of table and data can be easily accessed because data is store in the table. This Model was proposed
    2 min read
  • Difference Between Hierarchical, Network and Relational Data Model
    In order to define the connections, organization, and structure of data in a database management system (DBMS), data models are essential. The effectiveness of a database's ability to store, retrieve, and alter data is greatly influenced by the choice of data model. The Hierarchical, Network, and Re
    6 min read
  • Difference between Selection and Projection in DBMS
    Selection and projection are two major basic model operations that are used when processing queries in DBMS. Although both are associated with the operation of a database, it is used in different capacities. Selection operates by fishing out rows containing values that meet certain criteria while pr
    4 min read
  • Difference between Prototype Model and RAD Model
    1. Prototype Model : The prototype model is a software development life cycle model which is used when the customer is not known completely about how the end product should be and its requirements. So in this model, a prototype of the end product is first developed by the developers and then tested
    2 min read
  • Difference between Generalization and Specialization in DBMS
    Generalization and Specialization are two essential ideas used to describe the hierarchical connections between things in a database in the context of Enhanced Entity-Relationship (EER) diagrams. The aforementioned principles facilitate the organization and structuring of data by building connection
    5 min read
  • Difference Between DDL and DML in DBMS
    DDL is a Data Definition Language that is used to define data structures. For example: creating a table, and altering a table are instructions in SQL. DML is a Data Manipulation Language that is used to manipulate data itself. For example: insert, update, and delete are instructions in SQL. Data Def
    3 min read
  • Difference Between ER Modeling and Dimensional Modeling
    A logical view of data is provided by the high-level conceptual data model known as the Entity-Relationship (ER) model, which represents entities, characteristics, and relationships. It is necessary to create databases that are well-structured. Ralph Kimball invented dimensional modeling, which comb
    5 min read
  • Difference Between OLAP and OLTP in Databases
    OLAP (Online Analytical Processing) and OLTP (Online Transaction Processing) are both integral parts of data management, but they have different functionalities. OLTP focuses on handling large numbers of transactional operations in real time, ensuring data consistency and reliability for daily busin
    6 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences