Dbms Unit 1 ..
Dbms Unit 1 ..
tf\~ITlt
Easy Engineering Classes - Free YouTube Lectures
For Engineering Students of GGSIPU, UPTU and Other Universities, Colleges of India
* Attributes:
~
/
PERSO
•:• Terminologies
11l'SO.ll ,lciC'lllY. Of g
.....
~ Terminologies
a particular entity.
multivalued attributes of a
1 1:J,
person.
+
.....
~ Terminologies
* Null Values:
STUDENT_ID NAME AGE PHONE-NO
2 JEREMY 22 NULL
..
not applicable or unknown .
3 JOSHUA NULL 2525468912
•:• Terminologies
* Entity Type: STUDENT
HARRY
have the same attributes.
JEREMY
* Entity Set:
time.
..
Collection of entities of a particular entity type at a point in
' ' I, ' ') '. ' l i' l ~ j • ' ; ' l ·, . I I' ( •
•:• Terminologies
* Ke Attribute:
STUDENT
STUDENT _ID NAME
• That attribute that is
PRIYANKA
PRIYANKA
entity uniquely.
participate in a relationship.
1. Unary relationship:
► Exists when there is an association
entities.
3. Ternary relationship:
► Exists when there is an
nesoacademy.org entities.
Relationships
Relationship Constraints:
1. Cardinality Ratio
► Maximum number of relationship instances that an
EMPLOYEE DEPARTMENT
► Possible cardinality
nesoacademy. org
..
N:1, M:N. STUDENT SUBJECT
-+
•:• Relationships
* Relationship Constraints:
2. Participation Constraints
► Specifies whether existence of an entity depends on its
pa rtici potion.
Ill'\(), 1(
ER Diagram for COMPANY Database
.
nesoacade
I
• 1
_ Double - lde ko~y 1u;1. -
► 1 • Dfa.Moltld _ __ Ro La.h~f◄ __
•- . - Tyfe - ~
•~ - ~--Do_ulJe
~ _ 1 Ellipe.s
Share
UN IV
N fT
GM
~t ~ 1SA8~_,.o..J.. ~"' 10
""f- R~kVL
- '
12~ 1
LJ PlE ~ 5P4 3 Dc~PAK aA ft 3 f'nO..LC c.o m 2.0
Gl-~ 1- RA .. VL 1.SAB~41l Cc "°' 1o
'f ME. \<Ne~ PR1 9 l(~~IL '1~(~5~ Cc~ 10
· \;E. Nuu..._. l'\6.4 G ~~ -So..L~ 6<2 ~ o j J · ec ~. 30
Fc-RE.\6'~ ~E~:- J.rTu THAT p. [)tf~N,
Aml.\\,\Jlt \..l\>\1t11 Ts A~R'~J DEP-Ib t)E p-NAtr\t
KEy "TN Ot~~ Reum~ . io P.tf
• Use -r:,o EsTI\BUSH REU\TloMQt,, Tw 2
1.o ft1l~
ORMoR~r~ . 30 "'LN&Jt?)R
• ~ -\( . CAN ~~\If ~·
NOLL OR. D~PUCA~ Vt:1wf.
R~ l\tioJ W . .
~
UNIV
N el
(flf4t
~G.l'D -ro NW'1'. E..mcu.c. DEP-tD
-
,5 ',n£SH a.b@. 3mcu r,Com io
t
12~ 1
PlE lN DeePRK 2..0
5P4 3 ~ ~ ~ A'°-1.( W"l