Professional Documents
Culture Documents
DBMS Unit 1 Part 5 PDF
DBMS Unit 1 Part 5 PDF
oahnono
a conreetig Lines aeihA entll
Rilati ensAip et
ut / ladion Ships Beme y km
km o
n
as latiorship Set
s2
a
o Rlaionruip S t
nY n - aAA
fuoo elb wes
Kmaaiiud
to
n-an lhin n emti Lis e Pndii
a lalbnehip
parient|
Muicine
Dectes ui'bes7
fauticlpatior Conk aint
h
Shdnt Cnrally HCouse
ueek StrOne
h e entty su3 uahich olo nat Aae zdjttentt
a l i butas to faum a Ruiminy dy auu
cs uak catity Beb.
(RmO
olat
Loa
a
PRYmávt, 7 Ptmnt
Heys in DBMS
a set
atlibuts efe attiibute ushich 4elps
peo iltntiy a suow
Ckpe) in a.ulain ( jable).
ind te uilalion b l
keo lakls
Iyks a ky
Sufpes Puimany
amel oluti dlternatu
Fouuin Compoundl
adrs ogatu
lomposib
Supe ky a gucup 4 Singlt
kahlu.
wwhie lolentifis
ious n a
baue
Tolentyffeation
net nuedrd
f o fe unuyu
EmpName
Emp SSN Emp Num
Cupuhuyt
ky
Canaliclale ku u a Aup ky uiih not
kufpeald atluikutu."
Jhi Ruui maiy ky hould bo slistid fra h
cOnolate kiys.
4 Callol as minima! &iup K
Jable musl hau alleast a ingti canolicdat
ky hau
4 hable Ca mullyRle candidale feyp b t
Cnly a Lingle RLuinH kiy.
9Sudtent ?S nm, Rol no, Baneh, Prem, , Add,
wmtguehe.
Caeh epred in a kable.
CWmiquely udenti*
h
Puimaay kuyp con't ke a duplicak mianirg
valu c a n t apbeas moAL mam once in à able
nal haue mo0%e han One Reuinai y .
Aboue e Ruim Ry
ke nuull
ulmy e l i t cannel
vauL n a puimaiy ku
colmCan niueA be
to
u p up olatid any fouuign key suefeit
mocliel
halpuimury f
uy table
apll Ca hau
uim wwt but Cnly Onmuliplu
mullipl chas
Can
cheicw
be set
Lhe Duimeky Kuy Hhe
uys whi
az
puimog hug a cA
ch ane
a e not
am altunat te
stiol Rollaof. neme
Primary LremeEmail
l 4h ree
wwi qulyca
But most ulenti fy LLLD
ucorok
rol in a dable.
appropuiat
an aiesnate kus.
d St.io a
kuy. So, otuus
So, ouAs
Featuru
utomali eally gntsaleet y the dysii
9t holds anonymaus intiyen
he valu 7 ca neue maot eol ky he seL O
afpicatio
4 conlains wniqu yalu 10k al surwids
/ he leble
called fatuss ky as it i aclelual
ease
juut fo
COnttins no
Polentfation e/ unigue valus anel
tele vant fat het usfel fo Ha kahlu.
Scheat 3
Reg- No Name
euuntuye egNo Name Peteto
90 CSIo Reken 78
202 Cascl 82 CSlo 2 K R 2 t
203 Chik 80 CSlO3 Pranav 92
Ro4 4
Kelyp Csloy Rishika So
*****
Me
Uam
PesnLtape
20 2 Carl 82
o 3 CAs
o Kon 74
CS o Riohan 78
Cs lo
s lo3
wkky
Cs lo4
Prunav
Po
koulgn keu
eumauy key
£R diagams
o yebles
ebly
Kecdueto
ltts/pu.t
sit h r nly Simple
strorg Entiy
Rule ol: Fo
Melati enal model
vable in
Reguie only One te attukutes
able uile
t u butu he
attiku
entiy & ehLe uil! be
Jh e he
enti'ly t (Rolng
Shualint|
Schima : Shuolerrt (Rollne, Nme,Sex)
tt aktaskis
Entiny s t wih tonpoR'
Ru C2 Fos streng cnpoile
conuwuior, Smpble
attibute e kae
whil and n0t h
Qe vekn ihto aeccomin
ettai buut
compotu atlnibute itseY
(Enam - r r
r e e
C
uln
conain all Arpl atli hut
lablt, uill
Me puiruy key
all mustivntu
tha lable ui twnlair ha 1hy
auibulu
lna
Ciy )
Roll no., Chudh
Rolln MobiUMo)
tnio a Table.
Reladionthip
Rult o Juantlat/g au abse In a
Erpuay
pantma
Salet
apt. 1 d i n u )
dbenaldars In iEmpno,
Ships uth Canali'raliy
Rule o5 Fo Blnasy Relaiion
Ratles
Casu2 Raro aa tp mn
ai,a2
R Ca,bi)
B CbI ba)
A la,a2
BRCa,bl, ba
Case 03 a
A R (a4 2 , b 1 )
A
B (bI, b2 )
Cosey
(a1,à b i)
AR
gh
ath
B Cbi, b2)
OR ACa1,aa)
BR CaA, bi, b2 )
Kelau r ghif2 uin boh tauirolily
ule &: F Binay lonsbupit
ouutiipation
Cnstrant anul
Al, a)
A R B1
BR Ca,b, , b2
atas poicipation
Cox, of 20 ea. nous
COnstrauint,
NOT NULL
bota 2ictu.
Total Pavaiipatio from
Case o2
ARBCa,a2, bj,ba)
uith ak ntis
uelationthip
Rule07: For biany in o e c a t i o n
appeaes
leak eutily set alwys
utith hotal peutiiiph
lationáhëp
whta
olendiy
COnkauut
a)
(be
A Ca,a
BR Cay, b,,ba )