0% found this document useful (0 votes)
27 views25 pages

Dbms Notes

These notes contains data models, 3 schema Architecture and relational algebraic expression

Uploaded by

Mehak Thakur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views25 pages

Dbms Notes

These notes contains data models, 3 schema Architecture and relational algebraic expression

Uploaded by

Mehak Thakur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

atolous managmunt agtim (Hodop )

(a data) -’ bistulutid
Data ’ DBMS >RDEMS
Ongomatir) (ri ycind
anagmun)
bota mininy
(Potoun)
ML ’ spatial bB
-’ Multmedia dl
DL
RDBMS ’ Cellection o ntu- uotd tos

High | komcptual modl.


lb ER, EER)
Smplemenation model | kogicat ortsl
tRelational moclel)
(manag inyo data sehna)

backup )
3- bchema Anehitit ( ANSI/si/ 9pakc)
Ertunal 1 3

3npemntation
modl
Concupt Concptual sehema
Cenceptual
madel
enteunal
Sntnal schea

SDLC

Buly witng entitius which.


mtitis hich Cas

lusns cenitaints
uign EREER uing Caudinality?
Unplmntation Rulational modl
(Talee leheme)
uting
Maintenane
in
t-R modl
whuih hat
Heal keuld oyet
hanactoitiu
alumn
leak
Rlationskp Povtiat
sdent iygi
Ruationahp
At (RS)
ng

Atilut

Mltialueod

Compoit
(DO8)
eno enam
(Motile ng))
EMP

(adduy
(Stata Ydut)(lam|PFlat
a
epndohy

PK| Eno. ) dnam)


depndnt
fatial

(ulatonty
natanc
attulut 9 then it ç a Compln

taudtinality MN

Qam

dipaniment

tudnt M
tned oco
dnd pauticinalon ú mot giiumunt
pueiptlan
ha
dpend1 or tu

Pautiepatn
Tetal
alco

fatial Total
Pautial
Comet u
can lu
ut sngl y
fuufo y
A
Puionany
many a. anganud into depantment
mame and mmle
tach

depastmnt as miqu
o staut date whn that
Rep tackr
th ue &eRup
ranog dupt
dyaitrent
ontiuo amol
which has wnig Jtouu cach mp's mam
location DOB An
mo., addues duparti
aligedem nal eie,cle
contiallt
bt neces
whick tuack
ee Hhat ue wat to
ea
dypendan

Imeyol
dypendantl full
hu nam1
Fúut.
Alationshy to he
hast (dname
name

ddue
Mo

(e

mpleyee Dunautmnt

<managu
stautdat (lontasi
lationship
M

Rulaty

ulatiny (Nok Pram

Dipnolant

boB) ulatia data


Patias
[ueguany Uhat enabls
DB MS Collection
t Cueati munlàn
Chanactuitiu
Metadata
matuu

Data dupndena
Aataction i- Pegnam -dota ndpmd
4) ogum -qualon
neperdenee
3 Luvd aluluaction
Pysical lud
Legicat utnl leel.

Phyiallenet alitiatio

data u Jtanud in menoY


teceus metho d ie Agtial o Maudom
& ple auganiuaton metlodi
asd
hashay
-Loneatual lul mplisetation Nodil
lagiadCemguiu th infoemation that iu actually
Alend in databa in tem 4 talilu .

aluo
entilus
Alanu latershy aineng hu dala

Butunal ww
hughut altaction
cctual
wemealhy
th
th dlata nd
uith etatalse
Lntsact 9
Alonag
cheng
sehma
at T
t
that Achumoa
dbrns dlofalau
upoy
thu chang hutpbuta inepenoenel
Bata
e
the wheniwqid
toen ndplnolene
in Cat and
altuadion
to i oata wou data
oy maunchw
althation Pato
datalbass aceys
wol CLI
uth
tLentan
he atlilutu Logical
leck touta G8) Phycal
dataCetome
th orn <mplementation
dutaila
Phiscal Lud
lazia kunl olata ndpenl
data nds
imolependue
Eutunal lud)
Loical bato Budgudaa

toned latalase

lud aata Sndpendnee


aliiy
withoutty th hyical
hctuaton to tu
aehema
coneplual
Ahema done tos aptinizatan

without
al to tu
medtt tu Lagica sehma

ayylcation ulnalsehma
(oLTe)
1 allowr
Onlin tiamsactenas heoimg
sami dut
dati at sam tiny
SPECE
Koo
EMPOVE
ES
KooM
child
jaychol atty's
AGE
Cphon)
eseiatio N StAT)
ARPLAANE
namnt
utiutm ament
flight
N
hat.waiteati
Leg-netanee
land can
nelarcan
N Aispat
bpast ER
Aytim )kuwatom Auntin diagram
(
lepuavtatienat
plemntatlen
toell
iycal
MedtConcptual lnel
medl Data
(no

Bank Datalase

(addie) Cdi) nat

teNk
EER
has
bank

bamk N

Boonehe
Pelie balaner
Rank
SsN
Phone EER
Cus TOMER
A cecut

Nome Adui

Jet.
EER
FER Child

angant
Lastmam
(diqus buthdat
Na(3tna)
Addess
Student

aty
(mayedipl
(muno-dupt)
fioneme
Clas
(nam dlert
code no
deguct)
Studt wajein "DE PARTMENT
phen
add

Caunu
(Cnan) (Cno.

Sno

EER EER

kas
Cuast
Aeee
6 PG;
EER liagnam
1S- A Relatienahie

TLt
faculty Teashiy. (Facutty

Omheeitame
Genealisaton
Puecucat aymis lLun-daginud
Atailut dyind)
Pudicat dyiad Pautial
all th
(Penuinyps lases
budaali attilub/
Coucitienal attiiiat
ig budicat
atiluti
FACULTY

Attiluti dync
Total

(Atuilut dfnd mumluy


thiu wwe
duta th
TA meml
the
sut lou

lonathaints in EER

Qiyountness - Constaint Total


Completnus - Constuaint fautial

ne
lutorg to multipl súb clan
and make fennalualim
H| w ( Racd all ER QUes agam
aud spucaliation tR diaguam
amel ) Talls)
Autist

Heif
LOAN
boB bid
(Cout) Cat) Nawe

(ltatu Pumant Atiat


lclltio
(atbo Bod Attyp
(yp)
(Datetun
Sculptu Jstatu

(matul

oletin
Name

Aut Clyet
N
TResLal
date
Bti

(Naw exiitie
Bntunal PHD
dati dat

( tiuuk

|Qwnes Kewn, whicle


Stuuetiunal conatnat

Min /an) Stuucte


Cenatiaint
(yN)
(o,) auimad t)pt

dupnt manage
(,) wskow
dpendant

rto

M'N

H-W

) EER (Aut oet)


2) Emp databau (Mim | Man)
3) Modue 1
Na!)(ye) (Nhme
Cnddat)

Cxlinal
Ccntact
otlitien
(cllentien
N
\al ecteon, Date)
)
tAnt
(Cest)
wleetur (pech)
0thv

Painting. beulptun
Statue

matluia)(Style)
(atoit)l (wnght

eubt Total fautsyatsn in futiat


Mham
Nave
tes

Mag

(o) toauton
(,N)
Deutet
3
(3,M)
Drpendat fuejcet

DEPEN0FNT
Moule
Rlatienal modl

RM
hila tien Zaulu
Atututu columu

deniain
data type
Conatuaind (chuck)
G
lonutiaint not mule
LoYsbant Pk
PK niqu
Khuntial constiaint - Pk
Cancidat kuy ( alti
- but
can hae euplcat
Suut
talle
Px| PK in pauunt
kuy conaiaint Check Kamge Liluen
Smanti

pan no fonne
PK menmal SK candidut but

Znam Panmo.

Canlaak by Lalled Canddt ky


Hw

Anonali
1) naut
Ksjoential nteguty Conabainl
Lnily nkguity Contraint
Consteaint

2) belti
3)
poali nam

BANK
(i,)
(1,
(o,N)
(Balan Acount
(addnet
bolane

Cam
(o,M) (O,M)
uettme Cetoet
Pany
t- Talede maing

N
(w EMP Dept

Schema

dupt dptno. dlname

dname

weuki on
Lno. molrno ?

Ruls
Faum a tale
lu a PK
Auy attuilui
2) WWeat - fam a talule to
PK
Pn ’ fautiat ky t PK 4borg tai
asoatd
uhuh t

3) |:) - Total faváepation


both jaitut
4) to Nsiole

5) M:N - Taule nd add desensple


attilut alio aleng PK
attiuub

a talle ’ Pk
PK ef SE +
Nltevalud attbuth - fosn
6) Muttivoluud 'attilb
PK SE + MY
PK ’

EER
Ámp
Toltye
ehola

FacultyStatt (ouseee

attiuutu o4 Aul-class
-ltthon tuo
than
attuutut
attiluti
dulelass

lo l faculty 1
lo2
lo3 Sehote (PHO Seiny

Cas hhn atuiutu subclaees


than tne

foum tale feu aupuclais


Lact Auleclas

Pk duyuuelas as Ek
Pk lonpot kuy

emo.,

ER ieol to bclema

Bank Lode m
mame aoldues

Bankbuanh lode y, buanclno. leanno,ih


S
Accent Acctno , balame , typu ý
ualemes hoe, Ssn, Nam , 4dda

Acclne , [sn

&ank
hame aololuees
Accaunt

Aectne &alnet
Loan
|Lanno. womt
Custome
Name

6ankBnaneh
)
&canchne. Acetmo oavn. Add

e) Cuutemeac

Acctne
touloam
d)
Loanne
klational Algelna
kulational spnatioru 2) Algelvau sut
Pugt Lnion palioy
L dtfouna
caituian
kinam
L Liatie
hame S No name
R No 30

30
Yo

k[A,A., A,. .. An)


Union tompatible.
(no. of attulutu)
(K) N

dlom (At) = dom (8i) t i

RVS

RUs =SUR
30

40
() Jntction Common

30
diyguene
R-s)
(R-s) ,( s-R) S-R
R-S s-R
(iv) Cadeian
R(A, A,, A, A)
Cals M co in .S
attu n P= M+N

name name
3o

30
20

30 30
30
30

Jein 2 Rulaion (R&S)


Common atuiutu ammeg
Rxs value in thu
bulect tu dame
3
S (lommenaliy ondiion)
Naumal goin

30 30 N
2

You might also like