SlideShare a Scribd company logo
Unit -2
DATABASE DESIGN (ENTITY (OBJECT), ENTITY SET, ENTITY TYPE -
PART 3
9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 1
Database Design (Attributes)
Attributes
Each entity is described by a set of attributes
(e.g., Employee = (Name, Address, Birthdate (Age), Salary).
Each attribute has a name, and is associated with an entity and a
domain of legal values. However, the information about attribute
domain is not presented on the Entity Relationship Diagram.
In the entity relationship diagram, shown in Figure, each attribute is
represented by an oval with a name inside.
9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 2
Database Design (Attributes)
9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 3
Employee
Name Salary Birthdate Address
Database Design (Attributes)
Types of Attributes
There are a few types of attributes you need to be familiar with.
Some of these are to be left as is, but some need to be adjusted to
facilitate representation in the relational model. This first section will
discuss the types of attributes.
◦ Simple Attributes
◦ Composite Attributes
◦ Multivalued Attributes
◦ Derived Attributes
9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 4
Database Design
(Attributes)
Simple attributes
Simple attributes are
those drawn from the
atomic value domains;
they are also called
single-valued attributes.
In the COMPANY
database, an example of
this would be:
Name = {Ram} ;
Salary = {4141}
9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 5
Employee
Name Salary Birthdate Address
Simple Attributes
Database Design
(Attributes)
Composite attributes
are those that consist
of a hierarchy of
attributes. Using our
database example,
and shown in Figure
Address may consist
of Number, Lane and
Area. So this would be
written as →
Address = {A - 11 +
‘Lane 3’ + ‘Shatabdi
Puram, Gwalior’}
9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 6
Employee
Name Address Birthdate Salary
Number Lane Area
Composite Attributes
Database Design
(Attributes)
Multivalued attributes
Multivalued attributes
are attributes that have
a set of values for each
entity. An example of a
multivalued attribute
from the COMPANY
database, as seen in
Figure, are the degrees
of an employee: BSc,
MIT, PhD.
9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 7
Employee
Degree
Name Address Birthdate
Salary
Database Design
(Attributes)
Derived attributes
Derived attributes are
attributes that contain
values calculated from
other attributes. An
example of this can be
seen in Figure. Age can
be derived from the
attribute Birthdate. In
this situation, Birthdate is
called a stored attribute,
which is physically saved
to the database.
9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 8
Employee
Name
Address Birthdate Salary
Age
References
1. https://resources.saylor.org/wwwresources/archived/site/wp-
content/uploads/2014/12/CS403-1.10-Database-Design-2nd-Edition-CCBY.pdf
2. Database System Concepts 6th edition by korth and Sudarshan
9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 9
Ad

More Related Content

Similar to Database design (entity attribute and its types) unit 2 part 4 (18)

Preparing for BIT – IT2301 Database Management Systems 2001d
Preparing for BIT – IT2301 Database Management Systems 2001dPreparing for BIT – IT2301 Database Management Systems 2001d
Preparing for BIT – IT2301 Database Management Systems 2001d
Gihan Wikramanayake
 
Data Modeling Using the EntityRelationship (ER) Model
Data Modeling Using the EntityRelationship (ER) ModelData Modeling Using the EntityRelationship (ER) Model
Data Modeling Using the EntityRelationship (ER) Model
sontumax
 
ikd312-03-design
ikd312-03-designikd312-03-design
ikd312-03-design
Anung Ariwibowo
 
Sql Server 2000
Sql Server 2000Sql Server 2000
Sql Server 2000
Om Vikram Thapa
 
Chapter03 database system in computer.ppt
Chapter03 database system in computer.pptChapter03 database system in computer.ppt
Chapter03 database system in computer.ppt
ubaidullah75790
 
Chapter03 (2).ppt
Chapter03 (2).pptChapter03 (2).ppt
Chapter03 (2).ppt
abhilashbachu5
 
Written by Dr. Preiser 1 CIS 3100 MS Access Assignment .docx
Written by Dr. Preiser 1 CIS 3100 MS Access Assignment  .docxWritten by Dr. Preiser 1 CIS 3100 MS Access Assignment  .docx
Written by Dr. Preiser 1 CIS 3100 MS Access Assignment .docx
troutmanboris
 
Description of data
Description of dataDescription of data
Description of data
Johnna Mae Yodico
 
Chapter03
Chapter03Chapter03
Chapter03
Reham Maher El-Safarini
 
ch03-Data Modeling Using the Entity-Relationship (ER) Model.ppt
ch03-Data Modeling Using the Entity-Relationship (ER) Model.pptch03-Data Modeling Using the Entity-Relationship (ER) Model.ppt
ch03-Data Modeling Using the Entity-Relationship (ER) Model.ppt
kizza6
 
Chapter03.pdf
Chapter03.pdfChapter03.pdf
Chapter03.pdf
HughMungus22
 
Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013
Prosanta Ghosh
 
SAP E Recruitment - ERec600_SystemArchitecture.pdf
SAP E Recruitment - ERec600_SystemArchitecture.pdfSAP E Recruitment - ERec600_SystemArchitecture.pdf
SAP E Recruitment - ERec600_SystemArchitecture.pdf
SureshKumar820241
 
E r model
E r modelE r model
E r model
santoshsaini22
 
"Comprehensive Guide to Effective Database Design Principles
"Comprehensive Guide to Effective Database Design Principles"Comprehensive Guide to Effective Database Design Principles
"Comprehensive Guide to Effective Database Design Principles
EliasZerabruk
 
May Woo Bi Portfolio
May Woo Bi PortfolioMay Woo Bi Portfolio
May Woo Bi Portfolio
maywoo
 
Conceptual Data Modelling Using ER-models
Conceptual Data Modelling Using ER-modelsConceptual Data Modelling Using ER-models
Conceptual Data Modelling Using ER-models
Shailaja Jayaprakash
 
ch03-Data Modeling Using the Entity-Relationship (ER) Model.pdf
ch03-Data Modeling Using the Entity-Relationship (ER) Model.pdfch03-Data Modeling Using the Entity-Relationship (ER) Model.pdf
ch03-Data Modeling Using the Entity-Relationship (ER) Model.pdf
RounakSaha34
 
Preparing for BIT – IT2301 Database Management Systems 2001d
Preparing for BIT – IT2301 Database Management Systems 2001dPreparing for BIT – IT2301 Database Management Systems 2001d
Preparing for BIT – IT2301 Database Management Systems 2001d
Gihan Wikramanayake
 
Data Modeling Using the EntityRelationship (ER) Model
Data Modeling Using the EntityRelationship (ER) ModelData Modeling Using the EntityRelationship (ER) Model
Data Modeling Using the EntityRelationship (ER) Model
sontumax
 
Chapter03 database system in computer.ppt
Chapter03 database system in computer.pptChapter03 database system in computer.ppt
Chapter03 database system in computer.ppt
ubaidullah75790
 
Written by Dr. Preiser 1 CIS 3100 MS Access Assignment .docx
Written by Dr. Preiser 1 CIS 3100 MS Access Assignment  .docxWritten by Dr. Preiser 1 CIS 3100 MS Access Assignment  .docx
Written by Dr. Preiser 1 CIS 3100 MS Access Assignment .docx
troutmanboris
 
ch03-Data Modeling Using the Entity-Relationship (ER) Model.ppt
ch03-Data Modeling Using the Entity-Relationship (ER) Model.pptch03-Data Modeling Using the Entity-Relationship (ER) Model.ppt
ch03-Data Modeling Using the Entity-Relationship (ER) Model.ppt
kizza6
 
Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013
Prosanta Ghosh
 
SAP E Recruitment - ERec600_SystemArchitecture.pdf
SAP E Recruitment - ERec600_SystemArchitecture.pdfSAP E Recruitment - ERec600_SystemArchitecture.pdf
SAP E Recruitment - ERec600_SystemArchitecture.pdf
SureshKumar820241
 
"Comprehensive Guide to Effective Database Design Principles
"Comprehensive Guide to Effective Database Design Principles"Comprehensive Guide to Effective Database Design Principles
"Comprehensive Guide to Effective Database Design Principles
EliasZerabruk
 
May Woo Bi Portfolio
May Woo Bi PortfolioMay Woo Bi Portfolio
May Woo Bi Portfolio
maywoo
 
Conceptual Data Modelling Using ER-models
Conceptual Data Modelling Using ER-modelsConceptual Data Modelling Using ER-models
Conceptual Data Modelling Using ER-models
Shailaja Jayaprakash
 
ch03-Data Modeling Using the Entity-Relationship (ER) Model.pdf
ch03-Data Modeling Using the Entity-Relationship (ER) Model.pdfch03-Data Modeling Using the Entity-Relationship (ER) Model.pdf
ch03-Data Modeling Using the Entity-Relationship (ER) Model.pdf
RounakSaha34
 

More from Ram Paliwal (20)

Mis classification By Ram K Paliwal
Mis classification By Ram K PaliwalMis classification By Ram K Paliwal
Mis classification By Ram K Paliwal
Ram Paliwal
 
Management inofrmation system basics by ram k paliwal
Management inofrmation system basics by ram k paliwalManagement inofrmation system basics by ram k paliwal
Management inofrmation system basics by ram k paliwal
Ram Paliwal
 
Database design (entity, entity set and entity type) unit 2 part 3
Database design (entity, entity set and entity type)  unit 2 part 3Database design (entity, entity set and entity type)  unit 2 part 3
Database design (entity, entity set and entity type) unit 2 part 3
Ram Paliwal
 
Database design (conceptual, logical and physical design) unit 2 part 2
Database design (conceptual, logical and physical design)  unit 2 part 2Database design (conceptual, logical and physical design)  unit 2 part 2
Database design (conceptual, logical and physical design) unit 2 part 2
Ram Paliwal
 
Database development life cycle unit 2 part 1
Database development life cycle  unit 2 part 1Database development life cycle  unit 2 part 1
Database development life cycle unit 2 part 1
Ram Paliwal
 
Memory hierarchy unit 2 by ram k paliwal
Memory hierarchy  unit 2 by ram k paliwalMemory hierarchy  unit 2 by ram k paliwal
Memory hierarchy unit 2 by ram k paliwal
Ram Paliwal
 
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwal
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwalCpu register, instruction exucution and interrupts unit 1 by ram k paliwal
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwal
Ram Paliwal
 
System component and system calls unit 1 by ram k paliwal
System component and system calls unit 1 by ram k paliwalSystem component and system calls unit 1 by ram k paliwal
System component and system calls unit 1 by ram k paliwal
Ram Paliwal
 
Sdlc spiral model in software engineering basics by ram k paliwal
Sdlc spiral model in software engineering basics by ram k paliwalSdlc spiral model in software engineering basics by ram k paliwal
Sdlc spiral model in software engineering basics by ram k paliwal
Ram Paliwal
 
Types of operating system unit 1 by Ram K Paliwal
Types of operating system  unit 1 by Ram K PaliwalTypes of operating system  unit 1 by Ram K Paliwal
Types of operating system unit 1 by Ram K Paliwal
Ram Paliwal
 
Software project planning in software engineering by ram k paliwal unit 2
Software project planning in software engineering by ram k paliwal unit 2Software project planning in software engineering by ram k paliwal unit 2
Software project planning in software engineering by ram k paliwal unit 2
Ram Paliwal
 
Software reuirement elicitation in software engineering basics by ram k paliwal
Software reuirement elicitation in software engineering basics by ram k paliwalSoftware reuirement elicitation in software engineering basics by ram k paliwal
Software reuirement elicitation in software engineering basics by ram k paliwal
Ram Paliwal
 
Srs (software requirement specification) in software engineering basics by ra...
Srs (software requirement specification) in software engineering basics by ra...Srs (software requirement specification) in software engineering basics by ra...
Srs (software requirement specification) in software engineering basics by ra...
Ram Paliwal
 
Sdlc process models in software engineering basics by ram k paliwal
Sdlc process models in software engineering basics by ram k paliwalSdlc process models in software engineering basics by ram k paliwal
Sdlc process models in software engineering basics by ram k paliwal
Ram Paliwal
 
Database models unit 1 part 2
Database models unit 1  part 2Database models unit 1  part 2
Database models unit 1 part 2
Ram Paliwal
 
Database overview unit 4 part 1
Database overview unit 4  part 1Database overview unit 4  part 1
Database overview unit 4 part 1
Ram Paliwal
 
Database development life cycle unit 2 part 1
Database development life cycle  unit 2 part 1Database development life cycle  unit 2 part 1
Database development life cycle unit 2 part 1
Ram Paliwal
 
Operating system basics function of os unit 1 by ram k paliwal part 1
Operating system basics function of os unit 1 by ram k paliwal part 1Operating system basics function of os unit 1 by ram k paliwal part 1
Operating system basics function of os unit 1 by ram k paliwal part 1
Ram Paliwal
 
Software process in software engineering basics by ram k paliwal part 2
Software process in software engineering basics by ram k paliwal part 2Software process in software engineering basics by ram k paliwal part 2
Software process in software engineering basics by ram k paliwal part 2
Ram Paliwal
 
Software and software engineering basics by ram k paliwal
Software and software engineering basics by ram k paliwalSoftware and software engineering basics by ram k paliwal
Software and software engineering basics by ram k paliwal
Ram Paliwal
 
Mis classification By Ram K Paliwal
Mis classification By Ram K PaliwalMis classification By Ram K Paliwal
Mis classification By Ram K Paliwal
Ram Paliwal
 
Management inofrmation system basics by ram k paliwal
Management inofrmation system basics by ram k paliwalManagement inofrmation system basics by ram k paliwal
Management inofrmation system basics by ram k paliwal
Ram Paliwal
 
Database design (entity, entity set and entity type) unit 2 part 3
Database design (entity, entity set and entity type)  unit 2 part 3Database design (entity, entity set and entity type)  unit 2 part 3
Database design (entity, entity set and entity type) unit 2 part 3
Ram Paliwal
 
Database design (conceptual, logical and physical design) unit 2 part 2
Database design (conceptual, logical and physical design)  unit 2 part 2Database design (conceptual, logical and physical design)  unit 2 part 2
Database design (conceptual, logical and physical design) unit 2 part 2
Ram Paliwal
 
Database development life cycle unit 2 part 1
Database development life cycle  unit 2 part 1Database development life cycle  unit 2 part 1
Database development life cycle unit 2 part 1
Ram Paliwal
 
Memory hierarchy unit 2 by ram k paliwal
Memory hierarchy  unit 2 by ram k paliwalMemory hierarchy  unit 2 by ram k paliwal
Memory hierarchy unit 2 by ram k paliwal
Ram Paliwal
 
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwal
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwalCpu register, instruction exucution and interrupts unit 1 by ram k paliwal
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwal
Ram Paliwal
 
System component and system calls unit 1 by ram k paliwal
System component and system calls unit 1 by ram k paliwalSystem component and system calls unit 1 by ram k paliwal
System component and system calls unit 1 by ram k paliwal
Ram Paliwal
 
Sdlc spiral model in software engineering basics by ram k paliwal
Sdlc spiral model in software engineering basics by ram k paliwalSdlc spiral model in software engineering basics by ram k paliwal
Sdlc spiral model in software engineering basics by ram k paliwal
Ram Paliwal
 
Types of operating system unit 1 by Ram K Paliwal
Types of operating system  unit 1 by Ram K PaliwalTypes of operating system  unit 1 by Ram K Paliwal
Types of operating system unit 1 by Ram K Paliwal
Ram Paliwal
 
Software project planning in software engineering by ram k paliwal unit 2
Software project planning in software engineering by ram k paliwal unit 2Software project planning in software engineering by ram k paliwal unit 2
Software project planning in software engineering by ram k paliwal unit 2
Ram Paliwal
 
Software reuirement elicitation in software engineering basics by ram k paliwal
Software reuirement elicitation in software engineering basics by ram k paliwalSoftware reuirement elicitation in software engineering basics by ram k paliwal
Software reuirement elicitation in software engineering basics by ram k paliwal
Ram Paliwal
 
Srs (software requirement specification) in software engineering basics by ra...
Srs (software requirement specification) in software engineering basics by ra...Srs (software requirement specification) in software engineering basics by ra...
Srs (software requirement specification) in software engineering basics by ra...
Ram Paliwal
 
Sdlc process models in software engineering basics by ram k paliwal
Sdlc process models in software engineering basics by ram k paliwalSdlc process models in software engineering basics by ram k paliwal
Sdlc process models in software engineering basics by ram k paliwal
Ram Paliwal
 
Database models unit 1 part 2
Database models unit 1  part 2Database models unit 1  part 2
Database models unit 1 part 2
Ram Paliwal
 
Database overview unit 4 part 1
Database overview unit 4  part 1Database overview unit 4  part 1
Database overview unit 4 part 1
Ram Paliwal
 
Database development life cycle unit 2 part 1
Database development life cycle  unit 2 part 1Database development life cycle  unit 2 part 1
Database development life cycle unit 2 part 1
Ram Paliwal
 
Operating system basics function of os unit 1 by ram k paliwal part 1
Operating system basics function of os unit 1 by ram k paliwal part 1Operating system basics function of os unit 1 by ram k paliwal part 1
Operating system basics function of os unit 1 by ram k paliwal part 1
Ram Paliwal
 
Software process in software engineering basics by ram k paliwal part 2
Software process in software engineering basics by ram k paliwal part 2Software process in software engineering basics by ram k paliwal part 2
Software process in software engineering basics by ram k paliwal part 2
Ram Paliwal
 
Software and software engineering basics by ram k paliwal
Software and software engineering basics by ram k paliwalSoftware and software engineering basics by ram k paliwal
Software and software engineering basics by ram k paliwal
Ram Paliwal
 
Ad

Recently uploaded (20)

Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
New Microsoft PowerPoint Presentation.pdf
New Microsoft PowerPoint Presentation.pdfNew Microsoft PowerPoint Presentation.pdf
New Microsoft PowerPoint Presentation.pdf
mohamedezzat18803
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Journal of Soft Computing in Civil Engineering
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
Degree_of_Automation.pdf for Instrumentation and industrial specialist
Degree_of_Automation.pdf for  Instrumentation  and industrial specialistDegree_of_Automation.pdf for  Instrumentation  and industrial specialist
Degree_of_Automation.pdf for Instrumentation and industrial specialist
shreyabhosale19
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
lecture5.pptxJHKGJFHDGTFGYIUOIUIPIOIPUOHIYGUYFGIH
lecture5.pptxJHKGJFHDGTFGYIUOIUIPIOIPUOHIYGUYFGIHlecture5.pptxJHKGJFHDGTFGYIUOIUIPIOIPUOHIYGUYFGIH
lecture5.pptxJHKGJFHDGTFGYIUOIUIPIOIPUOHIYGUYFGIH
Abodahab
 
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Journal of Soft Computing in Civil Engineering
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
New Microsoft PowerPoint Presentation.pdf
New Microsoft PowerPoint Presentation.pdfNew Microsoft PowerPoint Presentation.pdf
New Microsoft PowerPoint Presentation.pdf
mohamedezzat18803
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
Degree_of_Automation.pdf for Instrumentation and industrial specialist
Degree_of_Automation.pdf for  Instrumentation  and industrial specialistDegree_of_Automation.pdf for  Instrumentation  and industrial specialist
Degree_of_Automation.pdf for Instrumentation and industrial specialist
shreyabhosale19
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
lecture5.pptxJHKGJFHDGTFGYIUOIUIPIOIPUOHIYGUYFGIH
lecture5.pptxJHKGJFHDGTFGYIUOIUIPIOIPUOHIYGUYFGIHlecture5.pptxJHKGJFHDGTFGYIUOIUIPIOIPUOHIYGUYFGIH
lecture5.pptxJHKGJFHDGTFGYIUOIUIPIOIPUOHIYGUYFGIH
Abodahab
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Ad

Database design (entity attribute and its types) unit 2 part 4

  • 1. Unit -2 DATABASE DESIGN (ENTITY (OBJECT), ENTITY SET, ENTITY TYPE - PART 3 9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 1
  • 2. Database Design (Attributes) Attributes Each entity is described by a set of attributes (e.g., Employee = (Name, Address, Birthdate (Age), Salary). Each attribute has a name, and is associated with an entity and a domain of legal values. However, the information about attribute domain is not presented on the Entity Relationship Diagram. In the entity relationship diagram, shown in Figure, each attribute is represented by an oval with a name inside. 9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 2
  • 3. Database Design (Attributes) 9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 3 Employee Name Salary Birthdate Address
  • 4. Database Design (Attributes) Types of Attributes There are a few types of attributes you need to be familiar with. Some of these are to be left as is, but some need to be adjusted to facilitate representation in the relational model. This first section will discuss the types of attributes. ◦ Simple Attributes ◦ Composite Attributes ◦ Multivalued Attributes ◦ Derived Attributes 9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 4
  • 5. Database Design (Attributes) Simple attributes Simple attributes are those drawn from the atomic value domains; they are also called single-valued attributes. In the COMPANY database, an example of this would be: Name = {Ram} ; Salary = {4141} 9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 5 Employee Name Salary Birthdate Address Simple Attributes
  • 6. Database Design (Attributes) Composite attributes are those that consist of a hierarchy of attributes. Using our database example, and shown in Figure Address may consist of Number, Lane and Area. So this would be written as → Address = {A - 11 + ‘Lane 3’ + ‘Shatabdi Puram, Gwalior’} 9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 6 Employee Name Address Birthdate Salary Number Lane Area Composite Attributes
  • 7. Database Design (Attributes) Multivalued attributes Multivalued attributes are attributes that have a set of values for each entity. An example of a multivalued attribute from the COMPANY database, as seen in Figure, are the degrees of an employee: BSc, MIT, PhD. 9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 7 Employee Degree Name Address Birthdate Salary
  • 8. Database Design (Attributes) Derived attributes Derived attributes are attributes that contain values calculated from other attributes. An example of this can be seen in Figure. Age can be derived from the attribute Birthdate. In this situation, Birthdate is called a stored attribute, which is physically saved to the database. 9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 8 Employee Name Address Birthdate Salary Age
  • 9. References 1. https://resources.saylor.org/wwwresources/archived/site/wp- content/uploads/2014/12/CS403-1.10-Database-Design-2nd-Edition-CCBY.pdf 2. Database System Concepts 6th edition by korth and Sudarshan 9/4/2019 DATABASE DESIGN (ENTITY - ATTRIBUTES AND ITS TYPES) -UNIT 2 PART 4- BY RAM K PALIWAL 9