This document provides an introduction to database management systems (DBMS) and structured query language (SQL). It defines key DBMS concepts like data models, database architecture, and SQL data types. The main data models covered are relational, network, and hierarchical. It describes the components of entity relationship (ER) diagrams like entities, attributes, and relationships. It also gives examples of SQL data types and discusses how data types are specified when creating database tables in SQL.
This document provides an introduction to database management systems (DBMS) and structured query language (SQL). It defines key DBMS concepts like data models, database architecture, and SQL data types. The main data models covered are relational, network, and hierarchical. It describes the components of entity relationship (ER) diagrams like entities, attributes, and relationships. It also gives examples of SQL data types and discusses how data types are specified when creating database tables in SQL.
This document discusses the process of database design, including conceptual modeling using entity-relationship (ER) diagrams. It begins by outlining the initial requirements gathering and conceptual modeling phases. Next, it describes logical and physical design, which involve mapping the conceptual model to relational schemas and deciding on physical storage structures. The bulk of the document then focuses on concepts in ER modeling, including entities, attributes, relationships, relationship types, weak entities, and how to represent these graphically in an ER diagram. It provides examples to illustrate key ER modeling concepts and design issues.
This document discusses the process of database design, including conceptual modeling using entity-relationship (ER) diagrams. It begins by outlining the initial requirements gathering and conceptual modeling phases. Next, it describes logical and physical design, which involve mapping the conceptual model to relational schemas and deciding on physical storage structures. The bulk of the document then focuses on concepts in ER modeling, including entities, attributes, relationships, relationship types, weak entities, and how to represent these graphically in an ER diagram. It provides examples to illustrate key ER modeling concepts and design issues.
This document contains information about a Relational Database Management Systems course prepared by D.GAYA, an Assistant Professor. It includes an introduction to database systems, definitions of key terms like data, information, databases, and database management systems. It describes characteristics of DBMS like data being stored in tables, reduced data redundancy, supporting multiple users, and providing security. It also discusses database structures like tables, records, fields, relationships, entities, attributes, and different types of relationships.
This document contains information about a Relational Database Management Systems course prepared by D.GAYA, an Assistant Professor. It includes an introduction to database systems, definitions of key terms like data, information, databases, and database management systems. It describes characteristics of DBMS like data being stored in tables, reduced data redundancy, supporting multiple users, and providing security. It also discusses database structures like tables, records, fields, relationships, entities, attributes, and different types of relationships.
This document contains information about a Relational Database Management Systems course prepared by D.GAYA, an Assistant Professor. It includes an introduction to database systems, definitions of key terms like data, information, databases, and database management systems. It describes characteristics of DBMS like data being stored in tables, reduced data redundancy, supporting multiple users, and providing security. It also discusses database structures like tables, records, fields, relationships, entities, attributes, and different types of relationships.
This document contains information about a Relational Database Management Systems course prepared by D.GAYA, an Assistant Professor. It includes an introduction to database systems, definitions of key terms like data, information, databases, and database management systems. It describes characteristics of DBMS like data being stored in tables, reduced data redundancy, supporting multiple users, and providing security. It also discusses database structures like tables, records, fields, relationships, entities, attributes, and different types of relationships.
The importance of data models, Basic building blocks, Business rules, The evolution of data models, Degrees of data abstraction
Database design and Introduction to UML
The importance of data models, Basic building blocks, Business rules, The evolution of data models, Degrees of data abstraction
Database design and Introduction to UML
The document discusses modeling data objects in an entity relationship diagram. It covers key concepts like entities, attributes, relationships, and keys. It provides examples of how to represent different types of relationships between entities like one-to-one, one-to-many, and many-to-many. The document also discusses modeling weak entities, documenting the ER diagram, normalizing the data to avoid anomalies, and determining the scope of the database and application system.
The document discusses modeling data objects in an entity relationship diagram. It covers key concepts like entities, attributes, relationships, and keys. It provides examples of how to represent different types of relationships between entities like one-to-one, one-to-many, and many-to-many. The document also discusses modeling weak entities, documenting the ER diagram, normalizing the data to avoid anomalies, and determining the scope of the database and application system.
This document provides an overview of key concepts in database management systems including:
- The main components of a DBMS including the query processor, storage manager, and disk storage.
- The three schema architecture separating the conceptual, internal, and external schemas.
- Database languages like DDL, DML, DCL, and TCL and their purposes.
- Entity-relationship modeling including entities, attributes, relationships, and extensions.
- Different types of database users such as administrators, designers, programmers, and end users.
This document provides an overview of key concepts in database management systems including:
- The main components of a DBMS including the query processor, storage manager, and disk storage.
- The three schema architecture separating the conceptual, internal, and external schemas.
- Database languages like DDL, DML, DCL, and TCL and their purposes.
- Entity-relationship modeling including entities, attributes, relationships, and extensions.
- Different types of database users such as administrators, designers, programmers, and end users.
This document provides an overview of key concepts in database management systems including:
- The main components of a DBMS including the query processor, storage manager, and disk storage.
- The three schema architecture separating the conceptual, internal, and external schemas.
- Database languages like DDL, DML, DCL, and TCL and their purposes.
- Entity-relationship modeling including entities, attributes, relationships, and extensions.
- Different types of database users such as administrators, designers, programmers, and end users.
This document provides an overview of key concepts in database management systems including:
- The main components of a DBMS including the query processor, storage manager, and disk storage.
- The three schema architecture separating the conceptual, internal, and external schemas.
- Database languages like DDL, DML, DCL, and TCL and their purposes.
- Entity-relationship modeling including entities, attributes, relationships, and extensions.
- Different types of database users such as administrators, designers, programmers, and end users.
The document discusses several data models including flat file, hierarchical, network, relational, object-relational, and object-based models. It provides details on the flat file model, describing it as a single two-dimensional array containing data elements in columns and related elements in rows. The object-relational model combines relational and object-oriented features, allowing integration of databases with object-oriented data types and methods. The document also discusses the entity-relationship model, which is an object-based logical model that uses entities, attributes, and relationships to flexibly structure data and specify constraints.
The document discusses several data models including flat file, hierarchical, network, relational, object-relational, and object-based models. It provides details on the flat file model, describing it as a single two-dimensional array containing data elements in columns and related elements in rows. The object-relational model combines relational and object-oriented features, allowing integration of complex data types. The object-based model uses entities, attributes, and relationships, with the entity-relationship model being a commonly used object-based logical model.
The document discusses several data models including flat file, hierarchical, network, relational, object-relational, and object-based models. It provides details on the flat file model, describing it as a single two-dimensional array containing data elements in columns and related elements in rows. The object-relational model combines relational and object-oriented features, allowing integration of databases with object-oriented data types and methods. The document also discusses the entity-relationship model, which is an object-based logical model that uses entities, attributes, and relationships to flexibly structure data and specify constraints.
The document discusses several data models including flat file, hierarchical, network, relational, object-relational, and object-based models. It provides details on the flat file model, describing it as a single two-dimensional array containing data elements in columns and related elements in rows. The object-relational model combines relational and object-oriented features, allowing integration of complex data types. The object-based model uses entities, attributes, and relationships, with the entity-relationship model being a commonly used object-based logical model.
This document provides an overview of different data models including the hierarchical model, network model, relational model, entity-relationship model, object-oriented model, object-relational model, and semi-structured model. It describes the key concepts and components of each model such as entities, attributes, relationships, as well as their advantages and disadvantages. The document is part of a lecture note on database management systems.
This document provides an overview of different data models including the hierarchical model, network model, relational model, entity-relationship model, object-oriented model, object-relational model, and semi-structured model. It describes the key concepts and components of each model such as entities, attributes, relationships, as well as their advantages and disadvantages. The document is part of a lecture note on database management systems.
The ever evoilving world of science /7th class science curiosity /samyans aca...Sandeep Swamy
The Ever-Evolving World of
Science
Welcome to Grade 7 Science4not just a textbook with facts, but an invitation to
question, experiment, and explore the beautiful world we live in. From tiny cells
inside a leaf to the movement of celestial bodies, from household materials to
underground water flows, this journey will challenge your thinking and expand
your knowledge.
Notice something special about this book? The page numbers follow the playful
flight of a butterfly and a soaring paper plane! Just as these objects take flight,
learning soars when curiosity leads the way. Simple observations, like paper
planes, have inspired scientific explorations throughout history.
This document contains information about a Relational Database Management Systems course prepared by D.GAYA, an Assistant Professor. It includes an introduction to database systems, definitions of key terms like data, information, databases, and database management systems. It describes characteristics of DBMS like data being stored in tables, reduced data redundancy, supporting multiple users, and providing security. It also discusses database structures like tables, records, fields, relationships, entities, attributes, and different types of relationships.
This document contains information about a Relational Database Management Systems course prepared by D.GAYA, an Assistant Professor. It includes an introduction to database systems, definitions of key terms like data, information, databases, and database management systems. It describes characteristics of DBMS like data being stored in tables, reduced data redundancy, supporting multiple users, and providing security. It also discusses database structures like tables, records, fields, relationships, entities, attributes, and different types of relationships.
This document contains information about a Relational Database Management Systems course prepared by D.GAYA, an Assistant Professor. It includes an introduction to database systems, definitions of key terms like data, information, databases, and database management systems. It describes characteristics of DBMS like data being stored in tables, reduced data redundancy, supporting multiple users, and providing security. It also discusses database structures like tables, records, fields, relationships, entities, attributes, and different types of relationships.
This document contains information about a Relational Database Management Systems course prepared by D.GAYA, an Assistant Professor. It includes an introduction to database systems, definitions of key terms like data, information, databases, and database management systems. It describes characteristics of DBMS like data being stored in tables, reduced data redundancy, supporting multiple users, and providing security. It also discusses database structures like tables, records, fields, relationships, entities, attributes, and different types of relationships.
The importance of data models, Basic building blocks, Business rules, The evolution of data models, Degrees of data abstraction
Database design and Introduction to UML
The importance of data models, Basic building blocks, Business rules, The evolution of data models, Degrees of data abstraction
Database design and Introduction to UML
The document discusses modeling data objects in an entity relationship diagram. It covers key concepts like entities, attributes, relationships, and keys. It provides examples of how to represent different types of relationships between entities like one-to-one, one-to-many, and many-to-many. The document also discusses modeling weak entities, documenting the ER diagram, normalizing the data to avoid anomalies, and determining the scope of the database and application system.
The document discusses modeling data objects in an entity relationship diagram. It covers key concepts like entities, attributes, relationships, and keys. It provides examples of how to represent different types of relationships between entities like one-to-one, one-to-many, and many-to-many. The document also discusses modeling weak entities, documenting the ER diagram, normalizing the data to avoid anomalies, and determining the scope of the database and application system.
This document provides an overview of key concepts in database management systems including:
- The main components of a DBMS including the query processor, storage manager, and disk storage.
- The three schema architecture separating the conceptual, internal, and external schemas.
- Database languages like DDL, DML, DCL, and TCL and their purposes.
- Entity-relationship modeling including entities, attributes, relationships, and extensions.
- Different types of database users such as administrators, designers, programmers, and end users.
This document provides an overview of key concepts in database management systems including:
- The main components of a DBMS including the query processor, storage manager, and disk storage.
- The three schema architecture separating the conceptual, internal, and external schemas.
- Database languages like DDL, DML, DCL, and TCL and their purposes.
- Entity-relationship modeling including entities, attributes, relationships, and extensions.
- Different types of database users such as administrators, designers, programmers, and end users.
This document provides an overview of key concepts in database management systems including:
- The main components of a DBMS including the query processor, storage manager, and disk storage.
- The three schema architecture separating the conceptual, internal, and external schemas.
- Database languages like DDL, DML, DCL, and TCL and their purposes.
- Entity-relationship modeling including entities, attributes, relationships, and extensions.
- Different types of database users such as administrators, designers, programmers, and end users.
This document provides an overview of key concepts in database management systems including:
- The main components of a DBMS including the query processor, storage manager, and disk storage.
- The three schema architecture separating the conceptual, internal, and external schemas.
- Database languages like DDL, DML, DCL, and TCL and their purposes.
- Entity-relationship modeling including entities, attributes, relationships, and extensions.
- Different types of database users such as administrators, designers, programmers, and end users.
The document discusses several data models including flat file, hierarchical, network, relational, object-relational, and object-based models. It provides details on the flat file model, describing it as a single two-dimensional array containing data elements in columns and related elements in rows. The object-relational model combines relational and object-oriented features, allowing integration of databases with object-oriented data types and methods. The document also discusses the entity-relationship model, which is an object-based logical model that uses entities, attributes, and relationships to flexibly structure data and specify constraints.
The document discusses several data models including flat file, hierarchical, network, relational, object-relational, and object-based models. It provides details on the flat file model, describing it as a single two-dimensional array containing data elements in columns and related elements in rows. The object-relational model combines relational and object-oriented features, allowing integration of complex data types. The object-based model uses entities, attributes, and relationships, with the entity-relationship model being a commonly used object-based logical model.
The document discusses several data models including flat file, hierarchical, network, relational, object-relational, and object-based models. It provides details on the flat file model, describing it as a single two-dimensional array containing data elements in columns and related elements in rows. The object-relational model combines relational and object-oriented features, allowing integration of databases with object-oriented data types and methods. The document also discusses the entity-relationship model, which is an object-based logical model that uses entities, attributes, and relationships to flexibly structure data and specify constraints.
The document discusses several data models including flat file, hierarchical, network, relational, object-relational, and object-based models. It provides details on the flat file model, describing it as a single two-dimensional array containing data elements in columns and related elements in rows. The object-relational model combines relational and object-oriented features, allowing integration of complex data types. The object-based model uses entities, attributes, and relationships, with the entity-relationship model being a commonly used object-based logical model.
This document provides an overview of different data models including the hierarchical model, network model, relational model, entity-relationship model, object-oriented model, object-relational model, and semi-structured model. It describes the key concepts and components of each model such as entities, attributes, relationships, as well as their advantages and disadvantages. The document is part of a lecture note on database management systems.
This document provides an overview of different data models including the hierarchical model, network model, relational model, entity-relationship model, object-oriented model, object-relational model, and semi-structured model. It describes the key concepts and components of each model such as entities, attributes, relationships, as well as their advantages and disadvantages. The document is part of a lecture note on database management systems.
The ever evoilving world of science /7th class science curiosity /samyans aca...Sandeep Swamy
The Ever-Evolving World of
Science
Welcome to Grade 7 Science4not just a textbook with facts, but an invitation to
question, experiment, and explore the beautiful world we live in. From tiny cells
inside a leaf to the movement of celestial bodies, from household materials to
underground water flows, this journey will challenge your thinking and expand
your knowledge.
Notice something special about this book? The page numbers follow the playful
flight of a butterfly and a soaring paper plane! Just as these objects take flight,
learning soars when curiosity leads the way. Simple observations, like paper
planes, have inspired scientific explorations throughout history.
The *nervous system of insects* is a complex network of nerve cells (neurons) and supporting cells that process and transmit information. Here's an overview:
Structure
1. *Brain*: The insect brain is a complex structure that processes sensory information, controls behavior, and integrates information.
2. *Ventral nerve cord*: A chain of ganglia (nerve clusters) that runs along the insect's body, controlling movement and sensory processing.
3. *Peripheral nervous system*: Nerves that connect the central nervous system to sensory organs and muscles.
Functions
1. *Sensory processing*: Insects can detect and respond to various stimuli, such as light, sound, touch, taste, and smell.
2. *Motor control*: The nervous system controls movement, including walking, flying, and feeding.
3. *Behavioral responThe *nervous system of insects* is a complex network of nerve cells (neurons) and supporting cells that process and transmit information. Here's an overview:
Structure
1. *Brain*: The insect brain is a complex structure that processes sensory information, controls behavior, and integrates information.
2. *Ventral nerve cord*: A chain of ganglia (nerve clusters) that runs along the insect's body, controlling movement and sensory processing.
3. *Peripheral nervous system*: Nerves that connect the central nervous system to sensory organs and muscles.
Functions
1. *Sensory processing*: Insects can detect and respond to various stimuli, such as light, sound, touch, taste, and smell.
2. *Motor control*: The nervous system controls movement, including walking, flying, and feeding.
3. *Behavioral responses*: Insects can exhibit complex behaviors, such as mating, foraging, and social interactions.
Characteristics
1. *Decentralized*: Insect nervous systems have some autonomy in different body parts.
2. *Specialized*: Different parts of the nervous system are specialized for specific functions.
3. *Efficient*: Insect nervous systems are highly efficient, allowing for rapid processing and response to stimuli.
The insect nervous system is a remarkable example of evolutionary adaptation, enabling insects to thrive in diverse environments.
The insect nervous system is a remarkable example of evolutionary adaptation, enabling insects to thrive
A measles outbreak originating in West Texas has been linked to confirmed cases in New Mexico, with additional cases reported in Oklahoma and Kansas. The current case count is 817 from Texas, New Mexico, Oklahoma, and Kansas. 97 individuals have required hospitalization, and 3 deaths, 2 children in Texas and one adult in New Mexico. These fatalities mark the first measles-related deaths in the United States since 2015 and the first pediatric measles death since 2003.
The YSPH Virtual Medical Operations Center Briefs (VMOC) were created as a service-learning project by faculty and graduate students at the Yale School of Public Health in response to the 2010 Haiti Earthquake. Each year, the VMOC Briefs are produced by students enrolled in Environmental Health Science Course 581 - Public Health Emergencies: Disaster Planning and Response. These briefs compile diverse information sources – including status reports, maps, news articles, and web content– into a single, easily digestible document that can be widely shared and used interactively. Key features of this report include:
- Comprehensive Overview: Provides situation updates, maps, relevant news, and web resources.
- Accessibility: Designed for easy reading, wide distribution, and interactive use.
- Collaboration: The “unlocked" format enables other responders to share, copy, and adapt seamlessly. The students learn by doing, quickly discovering how and where to find critical information and presenting it in an easily understood manner.
CURRENT CASE COUNT: 817 (As of 05/3/2025)
• Texas: 688 (+20)(62% of these cases are in Gaines County).
• New Mexico: 67 (+1 )(92.4% of the cases are from Eddy County)
• Oklahoma: 16 (+1)
• Kansas: 46 (32% of the cases are from Gray County)
HOSPITALIZATIONS: 97 (+2)
• Texas: 89 (+2) - This is 13.02% of all TX cases.
• New Mexico: 7 - This is 10.6% of all NM cases.
• Kansas: 1 - This is 2.7% of all KS cases.
DEATHS: 3
• Texas: 2 – This is 0.31% of all cases
• New Mexico: 1 – This is 1.54% of all cases
US NATIONAL CASE COUNT: 967 (Confirmed and suspected):
INTERNATIONAL SPREAD (As of 4/2/2025)
• Mexico – 865 (+58)
‒Chihuahua, Mexico: 844 (+58) cases, 3 hospitalizations, 1 fatality
• Canada: 1531 (+270) (This reflects Ontario's Outbreak, which began 11/24)
‒Ontario, Canada – 1243 (+223) cases, 84 hospitalizations.
• Europe: 6,814
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingCeline George
The Accounting module in Odoo 17 is a complete tool designed to manage all financial aspects of a business. Odoo offers a comprehensive set of tools for generating financial and tax reports, which are crucial for managing a company's finances and ensuring compliance with tax regulations.
How to manage Multiple Warehouses for multiple floors in odoo point of saleCeline George
The need for multiple warehouses and effective inventory management is crucial for companies aiming to optimize their operations, enhance customer satisfaction, and maintain a competitive edge.
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...larencebapu132
This is short and accurate description of World war-1 (1914-18)
It can give you the perfect factual conceptual clarity on the great war
Regards Simanchala Sarab
Student of BABed(ITEP, Secondary stage)in History at Guru Nanak Dev University Amritsar Punjab 🙏🙏
Exploring Substances:
Acidic, Basic, and
Neutral
Welcome to the fascinating world of acids and bases! Join siblings Ashwin and
Keerthi as they explore the colorful world of substances at their school's
National Science Day fair. Their adventure begins with a mysterious white paper
that reveals hidden messages when sprayed with a special liquid.
In this presentation, we'll discover how different substances can be classified as
acidic, basic, or neutral. We'll explore natural indicators like litmus, red rose
extract, and turmeric that help us identify these substances through color
changes. We'll also learn about neutralization reactions and their applications in
our daily lives.
by sandeep swamy
How to Set warnings for invoicing specific customers in odooCeline George
Odoo 16 offers a powerful platform for managing sales documents and invoicing efficiently. One of its standout features is the ability to set warnings and block messages for specific customers during the invoicing process.
Multi-currency in odoo accounting and Update exchange rates automatically in ...Celine George
Most business transactions use the currencies of several countries for financial operations. For global transactions, multi-currency management is essential for enabling international trade.
As of Mid to April Ending, I am building a new Reiki-Yoga Series. No worries, they are free workshops. So far, I have 3 presentations so its a gradual process. If interested visit: https://www.slideshare.net/YogaPrincess
https://ldmchapels.weebly.com
Blessings and Happy Spring. We are hitting Mid Season.
2. 2
LEARNING COMPETENCY
Document the program scope and limits according to project
standards [TLE_ICTCP9-12PLIIa-j-2]
Learning Objectives:
What am I learning?
List the components of an Entity Relationship Diagram (ERD) that are
essential for defining the scope and limits of a database project.
Why am I learning it?
Break down a database design project into its core entities and
relationships to determine the scope and identify any potential limits or
constraints.
3. 3
LEARNING COMPETENCY
Document the program scope and limits according to project
standards [TLE_ICTCP9-12PLIIa-j-2]
Learning Objectives:
How will I know when I have learned it?
• Develop a detailed Entity Relationship Diagram (ERD) and
accompanying documentation that clearly defines the program scope
and limits according to project standards.
5. An Entity Relationship Diagram is a diagram that
represents relationships among entities in a
database. It is commonly known as an ER Diagram.
An ER Diagram in DBMS plays a crucial role in
designing the database. Today’s business world
previews all the requirements demanded by the
users in the form of an ER Diagram. Later, it's
forwarded to the database administrators to design
the database.
WHAT IS ERD?
6. WHAT IS ERD?
An Entity Relationship Diagram (ER Diagram)
pictorially explains the relationship between entities
to be stored in a database. Fundamentally, the ER
Diagram is a structural design of the database.
It acts as a framework created with specialized
symbols for the purpose of defining the relationship
between the database entities. ER diagram is created
based on three principal components: entities,
attributes, and relationships.
8. The following diagram showcases two entities -
Student and Course, and their relationship. The
relationship described between student and course
is many-to-many, as a course can be opted by
several students, and a student can opt for more
than one course. Student entity possesses attributes
- Stu_Id, Stu_Name & Stu_Age. The course entity has
attributes such as Cou_ID & Cou_Name.
9. WHAT IS ER Model?
An Entity-Relationship Model represents
the structure of the database with the help
of a diagram. ER Modelling is a systematic
process to design a database as it would
require you to analyze all data
requirements before implementing your
database.
10. HISTORY OF ER Model?
Peter Chen proposed ER Diagrams in
1971 to create a uniform convention that
can be used as a conceptual modeling
tool. Many models were presented and
discussed, but none were suitable. The
data structure diagrams offered by
Charles Bachman also inspired his model.
11. Why Use ER Diagrams in
DBMS?
• ER Diagram helps you conceptualize the
database and lets you know which fields
need to be embedded for a particular
entity.
• ER Diagram gives a better
understanding of the information to be
stored in a database
12. Why Use ER Diagrams in
DBMS?
• It reduces complexity and allows
database designers to build databases
quickly.
• It helps to describe elements using
Entity-Relationship models.
• It allows users to get a preview of the
logical structure of the database.
13. Symbols Used in ER
Diagrams
• Rectangles: This Entity Relationship
Diagram symbol represents entity types
• Ellipses: This symbol represents
attributes
• Diamonds: This symbol represents
relationship types
14. Symbols Used in ER
Diagrams
• Lines: It links attributes to entity types
and entity types with other relationship
types
• Primary key: Here, it underlines the
attributes
• Double Ellipses: Represents multi-valued
attributes
16. Entities
-Weak Entity
Attributes
-Key Attribute
-Composite Attribute
-Multivalued Attribute
-Derived Attribute
Relationships
-One-to-One Relationships
-One-to-Many Relationships
-Many-to-One Relationships
-Many-to-Many Relationships
Components of ER Diagram
an ER Diagram based on three basic concepts:
17. 1. Entities
An entity can be either a living
or non-living component.
It showcases an entity as a
rectangle in an ER diagram.
19. WEAK Entity
An entity that makes reliance over
another entity is called a weak entity
You showcase the weak entity as a
double rectangle in ER Diagram.
20. WEAK ENTITY
In the example below, school is a strong entity because it has a
primary key attribute - school number. Unlike school, the
classroom is a weak entity because it does not have any primary
key and the room number here acts only as a discriminator.
30. multivalued attribute
For example, a customer entity allows only one
telephone number for each customer. If a
customer has more than one phone number and
wants all of them in the database, then the
customer entity cannot handle them.
31. derived attribute
An attribute that can be derived from
other attributes of the entity is known
as a derived attribute. those that may
be computed from other attributes,
such as totals
32. derived attribute
In the ER diagram, the dashed oval
represents the derived attribute. For
example, if we have an attribute for birth
date then age is derivable.
33. 3. Relationship
The diamond shape showcases a
relationship in the ER diagram.
It depicts the relationship between
two entities.
34. Relationship
In the example below, both the student and the
course are entities, and study is the relationship
between them.
35. One-to-One Relationship
When a single element of an entity
is associated with a single element
of another entity, it is called a one-
to-one relationship.
37. One-to-many Relationship
When a single element of an
entity is associated with more
than one element of another
entity, it is called a one-to-many
relationship
39. many-to-one Relationship
When more than one element of
an entity is related to a single
element of another entity, then it
is called a many-to-one
relationship.
43. How to Draw an ER Diagram?
Below are some important points to draw ER diagram:
• First, identify all the Entities. Embed all the entities
in a rectangle and label them properly.
• Identify relationships between entities and connect
them using a diamond in the middle, illustrating the
relationship. Do not connect relationships with each
other.
44. How to Draw an ER Diagram?
Below are some important points to draw ER diagram:
• Connect attributes for entities and label them
properly.
• Eradicate any redundant entities or relationships.
• Make sure your ER Diagram supports all the data
provided to design the database.
• Effectively use colors to highlight key areas in your
diagrams.
45. Conclusion
ER Diagram in DBMS is widely used
to describe the conceptual design of
databases. It helps both users and
database developers to preview the
structure of the database before
implementing the database.
47. Database Design in DBMS
Database Design can be defined as a set of
procedures or collection of tasks involving
various steps taken to implement a database.
However, depending on specific requirements
above criteria might change. But these are
the most common things that ensure a good
database design.
48. Following are some critical points to keep in
mind to achieve a good database design:
1.Data consistency and integrity must be
maintained.
2. Low Redundancy
3. Faster searching through indices
4. Security measures should be taken by enforcing
various integrity constraints.
5. Data should be stored in fragmented bits of
information in the most atomic format possible.
49. Steps that a Database Designer can take to
Ensure Good Database Design
Step 1: Determine the goal of your database, and
ensure clear communication with the stakeholders
(if any). Understanding the purpose of a database
will help in thinking of various use cases & where
the problem may arise & how we can prevent it.
Step 2: List down all the entities that will be present
in the database & what relationships exist among
them.
50. Steps that a Database Designer can take to
Ensure Good Database Design
Step 3: Organize the information into different
tables such that no or very little redundancy is
there.
Step 4: Ensure uniqueness in every table. The
uniqueness of records present in any relation is a
very crucial part of database design that helps us
avoid redundancy. Identify the key attributes to
uniquely identify every row from columns…
51. Steps that a Database Designer can take to
Ensure Good Database Design
You can use various key constraints to ensure the
uniqueness of your table, also keep in mind the uniquely
identifying records must consume as little space as
possible & shall not contain any NULL values.
Step 5: After all the tables are structured, and information
is organized apply Normalization Forms to identify
anomalies that may arise & redundancy that can cause
inconsistency in the database.
52. Primary Terminologies Used in Database
Design
Following are the terminologies that a person
should be familiar with before designing a database:
•Redundancy: refers to the duplicity of the
data. There can be specific use cases when we
need or don’t need redundancy in our
Database. For ex: If we have a banking system
application then we may need to strictly prevent
redundancy in our Database.
53. Primary Terminologies Used in Database
Design
Following are the terminologies that a person
should be familiar with before designing a
database:
•Schema: is a logical container that
defines the structure & manages the
organization of the data stored in it. It
consists of rows and columns having
data types for each column.
54. Primary Terminologies Used in Database
Design
Following are the terminologies that a person
should be familiar with before designing a database:
•Records/Tuples: is the same thing,
basically its where our data is stored
inside a table
•Indexing: is a data structure
technique to promote efficient retrieval
55. Primary Terminologies Used in Database
Design
Following are the terminologies that a person
should be familiar with before designing a database:
•Data Integrity & Consistency:
Data integrity refers to the quality of
the information stored in our database
and consistency refers to the
correctness of the data stored.
56. Primary Terminologies Used in Database
Design
Following are the terminologies that a person
should be familiar with before designing a database:
•Data Models: provide us with visual
modeling techniques to visualize the
data & the relationship that exists
among those data. Ex: model, Network
Model, Object Oriented Model,
57. Primary Terminologies Used in Database
Design
Following are the terminologies that a person
should be familiar with before designing a database:
•Functional Dependency: is a relationship
between two attributes of the table that
represents that the value of one attribute
can be determined by another. Ex: {A ->
B}, A & B are two attributes and attribute A
can uniquely determine the value of B.
58. Primary Terminologies Used in Database
Design
Following are the terminologies that a person should
be familiar with before designing a database:
•Transaction: is a single logical unit of
work. It signifies that some changes are
made in the database.
59. Primary Terminologies Used in Database
Design
Following are the terminologies that a person
should be familiar with before designing a database:
•Schedule: defines the sequence of
transactions in which they’re executed
by one or multiple users.
60. Primary Terminologies Used in Database
Design
Following are the terminologies that a person
should be familiar with before designing a database:
•Concurrency: refers to allowing
multiple transactions to operate
simultaneously without interfering with
one another.
61. DATABASE DESIGN LIFE
CLYCLE
1. Requirement Analysis
It’s very crucial to understand the requirements of our application so
that you can think in productive terms. And imply appropriate
integrity constraints to maintain the data integrity & consistency.
62. DATABASE DESIGN LIFE
CLYCLE
2. Logical & Physical Design
This is the actual design phase that involves various
steps that are to be taken while designing a
database. This phase is further divided into two
stages:
• Logical Data Model Design: This phase consists
of coming up with a high-level design of our
database based on initially gathered requirements
63. DATABASE DESIGN LIFE
CLYCLE
A high-level overview on paper is made of the
database without considering the physical level
design, this phase proceeds by identifying the kind of
data to be stored and what relationship will exist
among those data.
Entity, Key attributes identification & what constraints
are to be implemented is the core functionality of this
phase. It involves techniques such as Data Modeling
to visualize data, normalization to prevent
66. DATABASE DESIGN LIFE
CLYCLE
3. Data Insertion and testing for various integrity
constraints
Finally, after implementing the physical design of the
database, we’re ready to input the data & test our
integrity. This phase involves testing our database for
its integrity to see if something got left out or, if
anything new to add & then integrating it with the
desired application.
67. DATABASE DESIGN LIFE
CLYCLE
Physical Design of Data Model: This phase
involves the implementation of the logical
design made in the previous stage. All the
relationships among data and integrity
constraints are implemented to maintain
consistency & generate the actual
database.
68. DATABASE DESIGN LIFE
CLYCLE
Logical Data Model Design
The logical data model design defines the
structure of data and what relationship
exists among those data. The following are
the major components of the logical
design:
69. DATABASE DESIGN LIFE
CLYCLE
1. Data Models: Data modeling is a visual modeling technique used to
get a high-level overview of our database. Data models help us
understand the needs and requirements of our database by defining the
design of our database through diagrammatic representation. Ex:
model, Network model, Relational Model, object-oriented data model.
70. DATABASE DESIGN LIFE
CLYCLE
2. Entities are objects in the real world, which can have certain
properties & these properties are referred to as attributes of that
particular entity. There are 2 types of entities: Strong and weak
entity, weak entity do not have a key attribute to identify them,
their existence solely depends on one 1-specific strong entity &
also have full participation in a relationship whereas strong entity
does have a key attribute to uniquely identify them.
Weak entity example: Loan -> Loan will be given to a customer
(which is optional) & the load will be identified by the customer_id
to whom the lone is granted.
71. DATABASE DESIGN LIFE
CLYCLE
3. Relationships: How data is logically related to each
other defines the relationship of that data with other
entities. In simple words, the association of one
entity with another is defined here.
A relationship can be further categorized into –
unary, binary, and ternary relationships.
•Unary: In this, the associating entity & the associated entity both
are the same. Ex: Employee Manages themselves, and students
are also given the post of monitor hence here the student
themselves is a monitor.
72. DATABASE DESIGN LIFE
CLYCLE
•Binary: This is a very common relationship that you
will come across while designing a database.
Ex: Student is enrolled in courses, Employee is
managed by different managers, One student can
be taught by many professors.
•Ternary: In this, we have 3 entities involved in a
single relationship. Ex: an employee works on a
project for a client. Note that, here we have 3
entities: Employee, Project & Client.
73. DATABASE DESIGN LIFE
CLYCLE
4. Attributes: Attributes are nothing but properties of a specific entity
that define its behavior. For example, an employee can have unique_id,
name, age, date of birth (DOB), salary, department, Manager, project id,
etc.
5. Normalization: After all the entities are put in place and the
relationship among data is defined, we need to look for loopholes or
possible ambiguities that may arise.
Data Normalization is a basic procedure defined for databases to
eliminate such anomalies & prevent redundancy.
74. 74
WRITTEN TASK 3
DATABASE ANALYSIS
Direction: Make a database design based on the
case studies we discussed in the previous lesson.
Break down the essential details into their core
entities and relationships.
75. 75
WRITTEN TASK 3
1. School Management System
2. Online Retail Store
3. Hospital Management System
4. Library Management System
5. Employee Management System
76. RUBRICS
CRITERIA DESCRIPTION SCORE
Identification of Tables,
Fields & Relationships
Accurately identifies all necessary
tables, fields and Relationship with
strong justification for each.
10
Clarity and Organization The analysis is exceptionally clear,
well-organized, and easy to follow 10
Justification and Analysis Provides thorough and insightful
justification for all identified
components, showing a deep
understanding of database design
principles.
10
TOTAL 30
77. 77
PERFORMANCE CHECK 3
ENTITY RELATIONSHIP DIAGRAM
ANALYSIS
Direction: Develop a detailed Entity Relationship
Diagram (ERD) based on the case studies we
discussed in the previous lesson. Define the
necessary details according to project standards.
78. 78
1. School Management System
2. Online Retail Store
3. Hospital Management System
4. Library Management System
5. Employee Management System
79. RUBRICS
CRITERIA DESCRIPTION SCORE
Identification of Tables,
Fields & Relationships
Accurately identifies all necessary
tables, fields and Relationship with
strong justification for each.
10
Clarity and Organization The analysis is exceptionally clear,
well-organized, and easy to follow 10
Justification and Analysis Provides thorough and insightful
justification for all identified
components, showing a deep
understanding of entity relationship
diagram design principles.
10
TOTAL 30