Professional Documents
Culture Documents
DBMS - Unit 4 PDF
DBMS - Unit 4 PDF
Yelakoa dalabaeconPtang
DATE
-HOLPaneni
YRotalPonat Mode Conapls
KeladPonal madd epregenls The database a a
Colectfon ol relarons (e )tabe o vawe
ven0c0 fo fhe table eprelenis a Cole chon e
roiatod dada values The tdbe name CO lUMN_ Dame
Dre helpfol fleopret the meann el vwes
eaCh rotw The dala zre represented a a sel of re/2hons
Characterishcs O Yelahong
ach Yelabon n 3 dadabase Must
drstirtt O Unig ve nauMOChich Must have have aa
ro ha othin Yelaho ns fn cw0u rd 8ep arede
the
Aelaton mut not have hwo datable
ame name alh
aftybore
tPbutee w
Duplicale tupa9 mu ns be o have 2 dihntt nam
Eoch tuPle mukt have preenPnrelzhn
One data
vw
TUDLO9 a YQlaha) do not
gfanricant 0To a haue to ouo w) a
Smiamy he at+bute ThorUahonfsnot
Of a rel ordar-sena
Order-s ens
have to susu o do nd
S ncant ordon
clASSMAtee
DATE
2er aFonal Node woahon
ANe to)9u
wPM Ose
Oseol tOtw ng nota ion n oor
pregenlats
re lalPon schema Re degree n Ps denofed by
P(AJ A2, ----, An)
09 he UPpecage l ters ,Rs denote reiahn
The dwer Caye Lotters q. S don namG
The 0feeahon sBala
Hers tON donoHes tUplep
Tbe name a Yelaton Schema Such 2S S70 DENT ndicae
tprent 9e topl Tha relaton whereag STU DENT
Iuame, Poll,-) reers ony d relzon
schema
) A o aaibute H Can be q uaied wth tre rel zhon
nane P to whfch belongs by US¥ng The dot
notahn R.A 7 For e1ample. 3TUDEUT. Name, STUDENTAg
PAGE
esSMAte
DATE IL N
Oatfonal
fon a Modol onstrafints anol0) ahona
alabale SChem29
eluhonal
elional Nodol Confdaints are relerred
ondons (hrch must be present or a Vid
retaho H Conraint on Tha relahondhtp datcbae
databae
manag emnt SySlem fs mosty dided en to the
main Calegom
O omafn Co n&fraints
omafo con&d rantS Can be denad 2he dohn thn
a vaud set 8 vave or
type e dom 2iD inwd9 attoribute,ne data
an
mo dte, UTYen
ing Charator, Dtee,
ee The vawe 6f tne
mo&t be awaflaba m ho atribuk
CoTre8 Pondg domaih.
e we pen daia tpe Cheek bere ch?ch
meang9 hon we alI Fgn2a dala tpeto a
Cotemo, we Pmi dhe Vawes P Can Contain.
we a28ana dalape of ztoibole ae
ae as
COe Cap'tge Naue t h e han P aPot Pnt
Potdatatpl
to-fo w-ame
Jo Aoxi
Age
20
Arav
9
2 A -NGt UBIE
elASSMAte
PAGE
DATE
0 ContraTn+s
clASSMALe
PAGE
DATE IO
otahonal DaBabaye &Chemag
molalPona databas e schema helps
and Undeastand h e
yoo to
Omani
2e elrochwre of dasakap
paticulas/y Osef wben desan Png a new
lalabae modPyngan ezfeting clalabasë to Suppod
more twpctionau or bu ldring fnBeg raion be
databases (Trelons fo how daa s Or anized
PAGE
elAsSMAte
DATE L
rsok 2
Eobhy integty
ho entii inteprny tate that
S no
Uawe an be ULL. ThYs Ps Primay kuy
Koy vawe 18 ured7o becaue ThaThe poMay
denhy
fn the aboD
Hawing UtL VOwegindiuidual eypaetp
By Ympite ha we om
Cannot Prima
denhfy Sme fuPC
fupls hao OLL
Primamy Vys hen we or thef
may no be
@b to
YEineufsh them we my to
than e Jahne referen ce hthom
elAsSMAte
PAGE
DATE I
Dokeyaoh a l n t e g r y
ConS r an
ore fgnkey
Pn the able Thaf fe primary key
T s the rerd
mayzceep
Oan0therr able. A egkay
2n0f automa
MulbplO NULl U a w .A fone key
O non-ctoStere
non-cieSfew
COsteres
aninde,
+rcauuy
C ay Cae ae
ere ate 2 n irder
on
PAGE
DATE UN
Ontopt o fnsert, dereBe and upd'ade operaf
LDeaino wh Constrafnt vorahorla)
There are three basfc cpeations ha can
he Stve erations the daabase, Tnser
Cha
detoteOr opodale lmody) sert,
COhen ever theg e
Operratons 3reappired The nteqrT Constans
Speced on the relatonat
dalabase Schemha
8houd not be Ufol aled.T thPe
dscas he types sechon, we
O
be Insert_ope at fon
n s ert operahon Ps
More ne Foples inbsed to Tnsert one or
relaf a
povd es a ISt Of
new tupie t thal s toattrrbo
be
te vaw
Foa
vel ahon insemBed Fnto
Doman Constrafnis can be
atribule valve Te aven vibIated P an
that does nO appe
he Ca Tregpond fna
soma Om not
ppmp riate data type he
Ke Cons-trants Can be vio
laBd 7 3
the nea upie E koy vawe t
aIready etfsts T
the Yelafon R a0other tupte n
Leterenha foteqT?hy Can be vfoiated
2ny toreian koy elers Ho atupiethe
tha4
VZlr e2
e Depardmen t
8310Sta
Dep. td Dep.name Dep bio Ckuno
Commputer Joe
Staf-rdsBaflnae
JL Hohan
tepir
2 Nah 900
30 o
92 prahroa 2
3 Co nomiO 33 Modan
4 neAccount Yo0 h ysn kanala 3
S APhysig S0o s ud Sandhya
66 Umerh
3
pamesb
he delele opevatfon.
h e update Operation
The vawee a
to Change
Opdale 0peratPon is Uged
e4 9omne
8some
Some almPbute8 Po exfet tupl
felabon R. On th
Condihon
necess to specy a
amy The tu preo be
atribut@ of the reanan to serect
modPped.
Change t h e elend
S In above e e Cannpt
S9,"Compote') beae
d"Compufer" 1oot t
his reer ene 9avedto h e Chid a b l e elay.
cu 15 PAGE
elAsSMAte
DATE
Secui-h
elassMAte PAGE