100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

ER Diagram and Normal Forms - Concepts and Examples

Rating
-
Sold
-
Pages
3
Uploaded on
26-04-2025
Written in
2022/2023

This document provides clear explanations of Generalization, Specialization, Aggregation, and many-to-many relationships in databases. It also includes ER diagram examples and normalization solutions with examples. Ideal for exam preparation and assignments.

Show more Read less
Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
April 26, 2025
Number of pages
3
Written in
2022/2023
Type
Class notes
Professor(s)
Sania
Contains
All classes

Subjects

Content preview

ER Diagram and Normal Forms


1. Answer the questions:
a) What is Generalization, Specialization and Aggregation?
Generalization:
It’s a bottom-to-top approach, where all the different attributes will get connected to the
particular entity. The entity that is created will contain the common features. Entities are
combined to form a more generalized entity, in other words, sub-classes are combined to form
a super-class.
Specialization:
Specialization is the opposite of Generalization. It’s a top-to-bottom approach where higher
entities can be broken down into two lower entities. Here the superclass is typically defined
first followed by the subclass and finally the relationship set.
Aggregation:
The term "aggregation" refers to the relationship between a whole entity and its constituents.
We can express relationships among relationships by using aggregation. The specific entities are
combined because they do not make sense on their own. To establish a single entity,
aggregation creates a relationship that combines these entities.
b) What is the many-to-many relationship? Give example.
When more than one record in one table is associated with more than one record in another
table, this is known as a many-to-many relationship. It is a kind of cardinality that describes the
relationship between two entities. Usually, the many-to-many relationship reflects the actual
relationship between the objects the two tables represent.
Example:
A typical example of a many-to-many relationship is a database used by universities in
registering for classes. Imagine two tables containing “Student table- which has a record for
each student” and “Classes- which has a record of each class”. In real life, A student can
register for many classes, and a class can include many students.
2. A physician office wants to send reminders (using emails) to their patients. To do this they
would like to use a database to keep track of which reminders are sent to which patients. A
reminder has a reminder ID (RID), a subject (Subject), and a body (Body). A patient is
identified by email address (Email) and patients’ data includes name and address. When a
reminder is sent, the date (SendDate) is recorded.
R110,77
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
shivanireddy

Get to know the seller

Seller avatar
shivanireddy George Mason University
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
8 months
Number of followers
0
Documents
6
Last sold
7 months ago

0,0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions