This document discusses entity relationship (ER) modeling. It defines key concepts in ER modeling including entities, attributes, relationships, and ER diagram notations. Entities can be people, places, objects or concepts and are grouped into entity types. Attributes provide information about entities. Relationships define how entities are connected. Common relationship types are one-to-one, one-to-many, many-to-one, and many-to-many. ER diagrams use notations like boxes, lines, and crow's foot symbols to visually depict entities, attributes, and relationships in a database design. The document also covers entity classification, primary keys, foreign keys, and potential problems in ER modeling.
This presentation introduces database design using the entity-relationship model. It defines key concepts of the ER model including entities, attributes, relationships and cardinalities. It provides an example ER diagram and discusses extended features such as generalization, specialization and aggregation. The presentation was delivered to a professor by six students as part of their database management systems course.
Entity Relationship Diagram – ER Diagram in DBMS.pptxsukrithlal008
An Entity-Relationship (ER) diagram is a design or blueprint of a database that describes the structure of a database using a diagram. The main components of an ER diagram are entities, attributes, and relationships. An ER diagram shows the relationships among entity sets where an entity set is a group of similar entities that can have attributes. The diagram represents the complete logical structure of a database.
ER diagrams are used to visually represent the logical structure of databases and the relationships between entities stored in a database. The key components of an ER diagram include entities represented by rectangles, attributes represented by ovals, and relationships represented by diamonds. ER diagrams help identify the entities, attributes, relationships, and cardinalities that should exist in a database design. Creating an ER diagram is an important first step before implementing a relational database.
The document discusses the Entity Relationship (ER) model and ER diagrams. The ER model is a conceptual data modeling technique that is used to produce a database design. It displays entities, attributes, and relationships between entities. ER diagrams help visualize these components and the logical structure of databases. Some key benefits of ER diagrams include defining database terms, providing a preview of how tables connect, and allowing communication of the database structure. Common components of ER diagrams are entities, attributes, and relationships.
The document discusses database design and normalization. It covers key concepts in database design including the entity-relationship model, normalization forms, functional dependencies, and multi-valued dependencies. The goal of normalization is to organize data to reduce redundancy and dependency issues by decomposing tables to satisfy certain normal forms up to fifth normal form. Normalization involves identifying functional dependencies between attributes and ensuring tables comply with rules for each normal form.
An entity-relationship diagram (ERD) is a data modeling technique used to graphically represent the relationships between entities in a database. The key components of an ERD include entities, attributes, and relationships. Entities represent real-world objects, attributes describe entities, and relationships define interactions between entities. To create an ERD, the first steps are identifying entities, determining relationships between entities, analyzing relationship cardinality, and drawing the diagram. The ERD can then be converted to a relational database by creating tables for each entity and relationship with columns for each attribute.
This document provides an overview of entity relationship (ER) diagrams and their components. It describes ER diagrams as a way to represent the logical structure of a database using entities, attributes, and relationships. It then gives examples of different types of entities, attributes, and relationships that can be depicted in an ER diagram including weak entities, single-valued and multi-valued attributes, and one-to-one, one-to-many, many-to-one, and many-to-many relationships. Specific ER diagrams are presented for a student management system and hospital management system to further illustrate these concepts.
This document discusses entity-relationship (ER) modeling and ER diagrams. It defines key concepts such as entities, attributes, relationships, and cardinalities. It explains how ER diagrams visually represent these concepts using symbols like rectangles, diamonds, and lines. The document also covers ER diagram notation for different types of attributes, keys, roles, and relationship cardinalities. The goal of ER modeling and diagrams is to conceptualize a database without technical details.
The document provides an overview of conceptual database design using entity-relationship (ER) modeling. It defines key concepts in ER diagrams like entities, attributes, relationships and their cardinalities. It explains how to model different relationship types like one-to-one, one-to-many and many-to-many. It also covers advanced topics such as weak entities, generalization, specialization and aggregation. The overall purpose is to illustrate how ER diagrams can be used to design databases by visually representing the entities, attributes, and relationships in a domain.
Entity Relationship modeling is used to define relationships between entities in a database. It involves creating Entity Relationship Diagrams which use entities, attributes, and relationships to represent how data is connected. The ER diagram defines the entities, their attributes, and the relationships between entities. This modeling helps with database design and implementation by illustrating how data is structured and related.
This presentation provides a comprehensive overview of data models and their role in structuring and organizing data in database systems. It explores various data models, including hierarchical, network, and relational, with a focus on the relational model's principles and components. The session highlights the process of relational database design, covering key concepts such as normalization, functional dependencies, and schema design. Practical examples illustrate how these techniques ensure data consistency, reduce redundancy, and enhance query efficiency, making them integral to modern database systems.
The document provides an overview of entity-relationship (ER) modeling and diagramming. It discusses key concepts like entities, attributes, relationships, cardinalities, keys, and weak entities. It also covers ER diagram components and symbols, including rectangles for entities, diamonds for relationships, and lines connecting them. The document aims to illustrate how ER diagrams define relationships between entities and help incorporate those relationships into the database design process.
The document discusses the relational data model and ER model for conceptual database design. It covers key concepts such as entities, attributes, relationships, constraints, and ER diagrams. The relational data model uses tables made up of rows and columns to store data, with each table representing an entity. Relationships between entities can be one-to-one, one-to-many, many-to-one, or many-to-many. The ER model is used to design the conceptual schema and represent entities, attributes, and relationships visually using diagrams. The conceptual schema is later transformed into a logical schema for a specific database implementation.
The document discusses the Entity-Relationship (ER) model, which is a high-level data model used to define data elements and relationships for a specified system. The ER model develops a conceptual design for the database and provides a simple view of data. Key components of the ER model include entities, attributes, relationships, cardinality, and notations used in ER diagrams. Advantages of the ER model are that it is conceptually simple, provides better visual representation, acts as an effective communication tool, and can be easily converted to other data models like the relational model.
The document discusses concepts related to conceptual database design and the entity-relationship (ER) model. It defines key concepts such as entities, attributes, entity types, entity sets, relationship sets, and ER diagram notations. It provides examples of strong and weak entities. It also explains different types of relationships, cardinality ratios, and participation constraints that can exist between entity sets in an ER diagram.
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...Mustafa Kamel Mohammadi
In this chapter you will learn
Relational data model concepts
What is entity?
What is attribute and it’s types
What is relationship?
What is an Entity-Relationship data model?
Relational data model constraints
Characteristics of relation
Smart Mobile App Pitch Deck丨AI Travel App Presentation Templateyojeari421237
🚀 Smart Mobile App Pitch Deck – "Trip-A" | AI Travel App Presentation Template
This professional, visually engaging pitch deck is designed specifically for developers, startups, and tech students looking to present a smart travel mobile app concept with impact.
Whether you're building an AI-powered travel planner or showcasing a class project, Trip-A gives you the edge to impress investors, professors, or clients. Every slide is cleanly structured, fully editable, and tailored to highlight key aspects of a mobile travel app powered by artificial intelligence and real-time data.
💼 What’s Inside:
- Cover slide with sleek app UI preview
- AI/ML module implementation breakdown
- Key travel market trends analysis
- Competitor comparison slide
- Evaluation challenges & solutions
- Real-time data training model (AI/ML)
- “Live Demo” call-to-action slide
🎨 Why You'll Love It:
- Professional, modern layout with mobile app mockups
- Ideal for pitches, hackathons, university presentations, or MVP launches
- Easily customizable in PowerPoint or Google Slides
- High-resolution visuals and smooth gradients
📦 Format:
- PPTX / Google Slides compatible
- 16:9 widescreen
- Fully editable text, charts, and visuals
Ad
More Related Content
Similar to E - R Models.pptx SQL and plsql database (20)
The document discusses database design and normalization. It covers key concepts in database design including the entity-relationship model, normalization forms, functional dependencies, and multi-valued dependencies. The goal of normalization is to organize data to reduce redundancy and dependency issues by decomposing tables to satisfy certain normal forms up to fifth normal form. Normalization involves identifying functional dependencies between attributes and ensuring tables comply with rules for each normal form.
An entity-relationship diagram (ERD) is a data modeling technique used to graphically represent the relationships between entities in a database. The key components of an ERD include entities, attributes, and relationships. Entities represent real-world objects, attributes describe entities, and relationships define interactions between entities. To create an ERD, the first steps are identifying entities, determining relationships between entities, analyzing relationship cardinality, and drawing the diagram. The ERD can then be converted to a relational database by creating tables for each entity and relationship with columns for each attribute.
This document provides an overview of entity relationship (ER) diagrams and their components. It describes ER diagrams as a way to represent the logical structure of a database using entities, attributes, and relationships. It then gives examples of different types of entities, attributes, and relationships that can be depicted in an ER diagram including weak entities, single-valued and multi-valued attributes, and one-to-one, one-to-many, many-to-one, and many-to-many relationships. Specific ER diagrams are presented for a student management system and hospital management system to further illustrate these concepts.
This document discusses entity-relationship (ER) modeling and ER diagrams. It defines key concepts such as entities, attributes, relationships, and cardinalities. It explains how ER diagrams visually represent these concepts using symbols like rectangles, diamonds, and lines. The document also covers ER diagram notation for different types of attributes, keys, roles, and relationship cardinalities. The goal of ER modeling and diagrams is to conceptualize a database without technical details.
The document provides an overview of conceptual database design using entity-relationship (ER) modeling. It defines key concepts in ER diagrams like entities, attributes, relationships and their cardinalities. It explains how to model different relationship types like one-to-one, one-to-many and many-to-many. It also covers advanced topics such as weak entities, generalization, specialization and aggregation. The overall purpose is to illustrate how ER diagrams can be used to design databases by visually representing the entities, attributes, and relationships in a domain.
Entity Relationship modeling is used to define relationships between entities in a database. It involves creating Entity Relationship Diagrams which use entities, attributes, and relationships to represent how data is connected. The ER diagram defines the entities, their attributes, and the relationships between entities. This modeling helps with database design and implementation by illustrating how data is structured and related.
This presentation provides a comprehensive overview of data models and their role in structuring and organizing data in database systems. It explores various data models, including hierarchical, network, and relational, with a focus on the relational model's principles and components. The session highlights the process of relational database design, covering key concepts such as normalization, functional dependencies, and schema design. Practical examples illustrate how these techniques ensure data consistency, reduce redundancy, and enhance query efficiency, making them integral to modern database systems.
The document provides an overview of entity-relationship (ER) modeling and diagramming. It discusses key concepts like entities, attributes, relationships, cardinalities, keys, and weak entities. It also covers ER diagram components and symbols, including rectangles for entities, diamonds for relationships, and lines connecting them. The document aims to illustrate how ER diagrams define relationships between entities and help incorporate those relationships into the database design process.
The document discusses the relational data model and ER model for conceptual database design. It covers key concepts such as entities, attributes, relationships, constraints, and ER diagrams. The relational data model uses tables made up of rows and columns to store data, with each table representing an entity. Relationships between entities can be one-to-one, one-to-many, many-to-one, or many-to-many. The ER model is used to design the conceptual schema and represent entities, attributes, and relationships visually using diagrams. The conceptual schema is later transformed into a logical schema for a specific database implementation.
The document discusses the Entity-Relationship (ER) model, which is a high-level data model used to define data elements and relationships for a specified system. The ER model develops a conceptual design for the database and provides a simple view of data. Key components of the ER model include entities, attributes, relationships, cardinality, and notations used in ER diagrams. Advantages of the ER model are that it is conceptually simple, provides better visual representation, acts as an effective communication tool, and can be easily converted to other data models like the relational model.
The document discusses concepts related to conceptual database design and the entity-relationship (ER) model. It defines key concepts such as entities, attributes, entity types, entity sets, relationship sets, and ER diagram notations. It provides examples of strong and weak entities. It also explains different types of relationships, cardinality ratios, and participation constraints that can exist between entity sets in an ER diagram.
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...Mustafa Kamel Mohammadi
In this chapter you will learn
Relational data model concepts
What is entity?
What is attribute and it’s types
What is relationship?
What is an Entity-Relationship data model?
Relational data model constraints
Characteristics of relation
Smart Mobile App Pitch Deck丨AI Travel App Presentation Templateyojeari421237
🚀 Smart Mobile App Pitch Deck – "Trip-A" | AI Travel App Presentation Template
This professional, visually engaging pitch deck is designed specifically for developers, startups, and tech students looking to present a smart travel mobile app concept with impact.
Whether you're building an AI-powered travel planner or showcasing a class project, Trip-A gives you the edge to impress investors, professors, or clients. Every slide is cleanly structured, fully editable, and tailored to highlight key aspects of a mobile travel app powered by artificial intelligence and real-time data.
💼 What’s Inside:
- Cover slide with sleek app UI preview
- AI/ML module implementation breakdown
- Key travel market trends analysis
- Competitor comparison slide
- Evaluation challenges & solutions
- Real-time data training model (AI/ML)
- “Live Demo” call-to-action slide
🎨 Why You'll Love It:
- Professional, modern layout with mobile app mockups
- Ideal for pitches, hackathons, university presentations, or MVP launches
- Easily customizable in PowerPoint or Google Slides
- High-resolution visuals and smooth gradients
📦 Format:
- PPTX / Google Slides compatible
- 16:9 widescreen
- Fully editable text, charts, and visuals
Understanding the Tor Network and Exploring the Deep Webnabilajabin35
While the Tor network, Dark Web, and Deep Web can seem mysterious and daunting, they are simply parts of the internet that prioritize privacy and anonymity. Using tools like Ahmia and onionland search, users can explore these hidden spaces responsibly and securely. It’s essential to understand the technology behind these networks, as well as the risks involved, to navigate them safely. Visit https://torgol.com/
Virtualization Trends Streamlining Operations in Telecom with David Bernard ...David Bernard Ezell
The telecommunications industry is undergoing a significant transformation driven by virtualization technologies. Virtualization, which involves the abstraction of hardware resources and the creation of virtual instances of software-based functions, is revolutionizing the way telecom operators design, deploy, and manage their networks. In this blog, we delve into the latest virtualization trends that are reshaping operations in the telecom sector, driving efficiency, agility, and innovation.
What's going on with IPv6? presented by Geoff HustonAPNIC
APNIC Chief Scientist, Geoff Huston, presented on the global deployment of IPv6 at the 6th ICANN APAC-TWNIC Engagement Forum and 43rd TWNIC OPM held in Taipei from 22 to 24 April 2025.
Best web hosting Vancouver 2025 for you businesssteve198109
Vancouver in 2025 is more than scenic views, yoga studios, and oat milk lattes—it’s a thriving hub for eco-conscious entrepreneurs looking to make a real difference. If you’ve ever dreamed of launching a purpose-driven business, now is the time. Whether it’s urban mushroom farming, upcycled furniture sales, or vegan skincare sold online, your green idea deserves a strong digital foundation.
The 2025 Canadian eCommerce landscape is being shaped by trends like sustainability, local innovation, and consumer trust. To stay ahead, eco-startups need reliable hosting that aligns with their values. That’s where 4GoodHosting.com comes in—one of the top-rated Vancouver web hosting providers of 2025. Offering secure, sustainable, and Canadian-based hosting solutions, they help green entrepreneurs build their brand with confidence and conscience.
As eCommerce in Canada embraces localism and environmental responsibility, choosing a hosting provider that shares your vision is essential. 4GoodHosting goes beyond just hosting websites—they champion Canadian businesses, sustainable practices, and meaningful growth.
So go ahead—start that eco-friendly venture. With Vancouver web hosting from 4GoodHosting, your green business and your values are in perfect sync.
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025APNIC
Joyce Chen, Senior Advisor, Strategic Engagement at APNIC, presented on 'APNIC Policy Development Process' at the Local APIGA Taiwan 2025 event held in Taipei from 19 to 20 April 2025.
Reliable Vancouver Web Hosting with Local Servers & 24/7 Supportsteve198109
Looking for powerful and affordable web hosting in Vancouver? 4GoodHosting offers premium Canadian web hosting solutions designed specifically for individuals, startups, and businesses across British Columbia. With local data centers in Vancouver and Toronto, we ensure blazing-fast website speeds, superior uptime, and enhanced data privacy—all critical for your business success in today’s competitive digital landscape.
Our Vancouver web hosting plans are packed with value—starting as low as $2.95/month—and include secure cPanel management, free domain transfer, one-click WordPress installs, and robust email support with anti-spam protection. Whether you're hosting a personal blog, business website, or eCommerce store, our scalable cloud hosting packages are built to grow with you.
Enjoy enterprise-grade features like daily backups, DDoS protection, free SSL certificates, and unlimited bandwidth on select plans. Plus, our expert Canadian support team is available 24/7 to help you every step of the way.
At 4GoodHosting, we understand the needs of local Vancouver businesses. That’s why we focus on speed, security, and service—all hosted on Canadian soil. Start your online journey today with a reliable hosting partner trusted by thousands across Canada.
How to Switch Hosting Providers in Vancouver Without Any Downtimesteve198109
Switching web hosting providers can feel like a daunting task—especially if you're running a business, wellness brand, blog, or eCommerce store in Vancouver that depends on 24/7 uptime. This comprehensive guide walks you through every essential step to migrate your website to a new hosting provider without experiencing any downtime or disruption. Whether you're switching due to slow load times, poor customer service, rising renewal costs, or a desire for better security and scalability, this post ensures you do it right the first time.
From choosing the right local hosting service in Vancouver—such as 4GoodHosting—to backing up your files, testing your new environment, and monitoring DNS changes, every phase is explained with practical tips and tools. You'll also discover why Vancouver-based servers improve your SEO, boost page speed, and offer regionally aligned customer support. Perfect for green startups, wellness entrepreneurs, and growing online stores, this guide helps ensure a smooth transition with no interruptions, lost data, or negative customer experiences.
If you're ready to make the switch and want to protect your brand reputation, maximize website performance, and maintain business continuity, this guide is your roadmap. Let 4GoodHosting help you get started with secure, local, and scalable hosting solutions in Canada.
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHostingsteve198109
Vancouver in 2025 is more than scenic views, yoga studios, and oat milk lattes—it’s a thriving hub for eco-conscious entrepreneurs looking to make a real difference. If you’ve ever dreamed of launching a purpose-driven business, now is the time. Whether it’s urban mushroom farming, upcycled furniture sales, or vegan skincare sold online, your green idea deserves a strong digital foundation.
The 2025 Canadian eCommerce landscape is being shaped by trends like sustainability, local innovation, and consumer trust. To stay ahead, eco-startups need reliable hosting that aligns with their values. That’s where 4GoodHosting.com comes in—one of the top-rated Vancouver web hosting providers of 2025. Offering secure, sustainable, and Canadian-based hosting solutions, they help green entrepreneurs build their brand with confidence and conscience.
As eCommerce in Canada embraces localism and environmental responsibility, choosing a hosting provider that shares your vision is essential. 4GoodHosting goes beyond just hosting websites—they champion Canadian businesses, sustainable practices, and meaningful growth.
So go ahead—start that eco-friendly venture. With Vancouver web hosting from 4GoodHosting, your green business and your values are in perfect sync.
(Hosting PHising Sites) for Cryptography and network securityaluacharya169
Ad
E - R Models.pptx SQL and plsql database
1. Unit-3
Entity Relationship Model
Basic buildings of ER-model
• The entity relationship model (ER) model has become widely accepted standard for data modelling.
Peter Chen firstintroduced the ER model in 1976;
• it was graphical representation of entities and their relationships in a database structure.
• ER models are normally represented in an Entity relationship Diagram (ERD), which uses
graphical representations to model database
Basic Building blocks:
The basic building blocks of all data model are
• Entities
• Attributes
• Relationships
2. Entity
An entity is anything (a person, a place, a thing, or an event) about which data are to be
collected and stored.
Someexamples of each of these types of entities are
Person: employee, student, patient
Place: store, warehouse, state
Concept: account, course
Entities can be categorized into three types:
• Strong Entity
• Weak Entity
• Associative Entity
3. Attribute
An attribute is a characteristic or property of an entity.
For example: A customer entity would described by attributes such as customer last name, customer
first name, customer phone, customer address.
Attributes can be categorized into six types
• Simple attribute
• Key Attribute
• Composite Attribute
• Derived Attribute
• Single value Attribute
• Multi value attribute
4. Relationships
A relationship describes an association among entities.
For example, a relationship between customers and agents may be described as “An agent can
serve many customers, and each customer may be served by one agent”.
Data models use three types of relationships:
• one-to-one
• one-to-many
• many-to-many
Degree Of Relationship:
The relationships can be categorized based on the number of entities that are participating in the
relation is called “Degree of Relation”. They are
1. Unary relationship
2. Binary Relationship
3. Ternary Relationship
8. Classification of Entityset
Entity sets can be categorized into three types:
1. Strong Entity Set
2. Weak Entity Set
3. Associative Entity Set
1. Strong entity:
It is an entity that has its own
existence and is independent. The entity
relationship diagram represents a strong
entity type with the help of a single
rectangle.
9. 2. Weak Entities
A weak entity is one that meets two conditions:
1. The entity is existence–dependent; that is, it cannot exist without the entity with which it
has a relationship.
2. The entity has a primary key that is partially or totally derived from the parent entity in the
relationship.
10. 3. Associative (Composite) Entity
The associative entity is used to implement M:M relationship between two or more entities. This
associative entity (also known as composite or bridge entity) is composed of the primary keys of each
of the entities to be connected. A composite entity in the Chen model is represented by a diamond
shape with in a rectangle. In Crow’s Foot model composite entity is identified by the solid
relationship line between the parent and child entities, there by indicating the presence of a strong
relationship.
11. Types of attributes
An attribute is a characteristic or property of an entity. For example, a customer entity would
described by attributes such as customer last name, customer first name, customer phone,
customer address.
Attributes can be categorized into five types
1. Simple attribute
2. Key Attribute
3. Composite Attribute
4. Derived Attribute
5. Single Value Attribute
6. Multi value attribute
1. Simple Attribute:
A simple attribute is an attribute that cannot be
subdivided. For example, age, sex, and marital
status would be classified as simple attributes.
12. 2. Key Attribute:
An attribute that uniquely identifies a particular entity. The name of a key attribute is
underscored
3. Composite Attribute:
A composite attribute, is an attribute that can be further subdivided to Field additional
attributes. For example, the attribute ADDRESS can be subdivided into street, city, state, and
zip code.
13. 4. Single–Valued Attributes:
A single–valued attribute is an attribute that can have only a single value. For example, a student
can have only oneRoll Number, and a student is in only one class.
5. Multi value attributes:
Multi value attributes are attributes that can have many values. For instance, a student may have
several mail-ids. Similarly, a student may have several phone numbers Ex: Land line, cell number
etc ..
14. 6. Derived Attribute:
An attribute whose value is calculated (derived) from other attributes. The derived attribute may
or may not be physically stored in the database. In the Chen notation, this attribute is represented
by dashed oval.
15. Degree of Relationships:
A relationship degree indicates the number of entities or participants associated with a
relationship.
There are three types of Relationships
• Unary Relationships
• Binary Relationships
• Ternary Relationships
Unary Relationships
A unary relationship exists when one entity is associated in a relationship.
16. Binary Relationships
A binary relationship exists when two entities are associated in relationship.
Ternary Relationship:
A ternary relationship implies an association among three different entities.
17. Types of Relationships
A relationship describes an association among entities.
One-to-one: Each store be managed by single employee, and each employee manages a single
store. Therefore, the relationship “EMPLOYEE manages STORE” is labeled as one-to-one (1:1).
One-to-many: A painter paints many different paintings, but each of them is painted by only one
painter.Thus, the painter (the “one”) is related to the paintings (the “many”). Therefore, database
designer label the relationship “PAINTER paints PAINTINGS” as one-to-many (1:M) relationship
Many-to-many: An employee may learn many job skills, and each job skill may be learned by many
employees. Database designer label the relationship “EMPLOYEE learns SKILL” as many-to-many
(M:N) relationship. (Note: Draw the above Diagram for each type of relation)
18. Generalization:
• Generalization is like a bottom-up approach in which two or
more entities of lower level combine to form a higher level
entity if they have some attributes in common.
• In generalization, an entity of a higher level can also combine
with the entities of the lower level to form a further higher
level entity.
• Generalization is more like subclass and super class system,
but the only difference is the approach. Generalization uses
the bottom-up approach.
• In generalization, entities are combined to form a more
generalized entity, i.e., subclasses are combined to make a
superclass.
For example, Faculty and Student entities can be generalized
and create a higher level entity Person.
19. Specialization:
• Specialization is a top-down approach, and it is opposite to
Generalization.
• In specialization, one higher level entity can be broken down
into two lower level entities.
• Specialization is used to identify the subset of an entity set that
shares some distinguishing characteristics. Normally,
superclass is defined first, the subclass and its related attributes
are defined next, and relationship set are then added.
• For example: In an Employee management system,
EMPLOYEE entity can be specialized as TESTER or
DEVELOPER based on what role they play in the company.
20. Aggregation:
• In aggregation, the relation between two entities is treated as a
single entity. In aggregation, relationship with its corresponding
entities is aggregated into a higher level entity.
• Relationship sets work and uses could be combined into a single
set.
• Transforming an E-R diagram with aggregation into tabular
form is easy. We create a table for each entity and relationship
set as before. The table for relationship set uses contains a
column for each attribute in the primary key of machinery and
work.
For example: Center entity offers the Course entity act as a
single entity in the relationship which is in a relationship with
another entity visitor. In the real world, if a visitor visits a
coaching center then he will never enquiry about the Course
only or just about the Center instead he will ask the enquiry
about both.
21. Composition
• Composition is a form of aggregation that represents an association between entities, where there is a
strong ownership between the ‘whole’ and the ‘part’.
• For example, a tree and a branch have a composition relationship. A branch is ‘part’ of a ‘whole’ tree - we
cannot cut the branch and add it to another tree.
22. CODD’S RELATIONAL DATABASE RULES
In 1985, Dr. E.F. Codd published a list of 12 rules to define a relational database system. Dr.Codd’s list, shown inbelow table,
serves as a frame of reference for what a truly relational database should be.
Rule Rule Name Description
1Information
All information in a relational database must be logically represented as column
values in rows within tables.
2Guaranteed Access
Every value in a table is guaranteed to be accessible through a combination of table
name, primary key value, and column name.
3Systematic Treatment of Nulls Nulls must be represented and treated in systematic way, independent of data type.
4
Dynamic On-Line Catalog Based
on the Relational Model
The metadata must be stored and managed as ordinary data, that is, in tables within
the database. Such data must be available to authorized users using the standard
database
5Comprehensive Data Sublanguage
The relational database may support many languages. However, it must support one
well defined, declarative language with support for data definition, view definition,
data manipulation, integrity constraints, authorization.
23. 6View Updating
Any view that is theoretically updatable must be updatable through the
system.
7
High-Level Insert, Update and
Delete The database must support set-level inserts, updates, and deletes
8Physical Data Independence
Application programs and ad hoc facilities are logically unaffected when
physical access methods or storage structures are changed.
9Logical Data Independence
Application programs and ad hoc facilities are logically unaffected when
changes are made to the table structure that preserves the original table
values.
10Integrity Independence
All relational integrity constraints must be definable in the relational
language and stored in the system catalog, not at the application level
11Distribution Independence
The end users and application programs are unaware and unaffected by the
data location (distributed vs. local)
12Nonsubversion
If the system supports low-level access to the data, there must not be a
way to bypass the integrity rules of the
Rule Zero
All preceding rules are based on the notation that in order for a database to
be considered relational, it must use its Relational facilities exclusively to
manage the database.
24. Advantages and Disadvantages of E-R Data Model
Advantages of an E-R Model:
• Straightforward relation representation: Having designed an E-R diagram for a database
application, the relational representation of the database model becomes relatively straightforward.
• Easy conversion for E-R to other data model: Conversion from E-R diagram to a network or
hierarchical data model can· easily be accomplished.
• Graphical representation for better understanding: An E-R model gives graphical and
diagrammatical representation of various entities, its attributes and relationships between entities.
This is turn helps in the clear understanding of the data structure and in minimizing redundancy
and other problems.
Disadvantages of E-R Data Model
• No industry standard for notation: There is no industry standard notation for developing an E-
R diagram.
• Popular for high-level design: The E-R data model is especially popular for high level.
25. Relational Data Model
Relational database model is a type of database that stores information in the form of logically related two-
dimensional tables.
• The term relational stems from the fact that each table in the database contains information related to a
single subject and only that subject.
• For example, a data set containing all the real estate transactions in a town can be grouped by the year the
transaction occurred; or it can be grouped by the sale price of the transaction; or it can be grouped by the
buyer‘s last name; and so on. Such a grouping uses the relational model (a technical term for this schema).
Hence such a database is called a "relational database.“
Relational model stores data in the form of tables. This concept purposed by Dr. E.F. Codd, a researcher of IBM in
the year 1960s. The relational model consists of three major components:
1. The set of relations and set of domains that defines the way data can be represented (data structure).
2. Integrity rules that define the procedure to protect the data (data integrity).
3. The operations that can be performed on data (data manipulation).
A rational model database is defined as a database that allows you to group its data items into one or more
independent tables that can be related to one another by using fields common to each related table.
26. Characteristics of Relational Database
Relational database systems have the following characteristics:
• A table is a two-dimensional structure composed of rows and columns.
• Each table row (tuple) represents a single entity occurrence within the entity set.
• Each table column represents attribute, and each column has a distinct name.
• Each row/column intersection represents a single data value.
• All values in a column must conform to the same data format.
• Each column has a specific range of values known as the attribute domain.
• The whole data is conceptually represented as an orderly arrangement of data into rows and
columns,called a relation or table.
• All values are scalar. That is, at any given row/column position in the relation there is one and only one
value.
• All operations are performed on an entire relation and result is an entire relation, a concept known as
closure.
• The order of columns and rows is immaterial to the DBMS.
27. Relational Integrity
Relational integrity constraint is used to ensure accuracy and consistency of data in a relational database.
• Information Integrity is the trustworthiness and dependability of information. More specifically, it is the
accuracy, consistency and reliability of the information content, processes and systems. Information
integrity is also a prerequisite, because you need it for many other management decisions. If certain
information cannot be trust and has a low level of integrity than a business has a low chance of success.
You need information integrity to have a successful business.
• Integrity constraints are sets of rules that can help maintain the quality of information that is put up.
Integrity constraints are mostly used when trying to promote accuracy and consistency of data that is
found in a relational database. This is very important to companies because information can be considered
as an asset to certain organizations and it must be protected. Therefore, relational Integrity constraints are
rules which all instances of the relational Database must satisfy in order to correctly model the real world.
• A relational database schema (i.e. Database definition) consists of
– relation schemas (table definitions)
– integrity constraints
• Any operation that would violate a declared constraint will be disallowed.
The relationship between Integrity and Database design is very important, as many real-world constraints are
imposed by a combination of
– good design of relations (such as via ER modeling), plus
– maintenance of key (uniqueness) constraints