DBMS last minute revision notes
DBMS last minute revision notes
organizig
NE) N
witheut R
ovgani'ses dota in filus Ry
Rataionshtps.
formas of f
it is Ruy
Du to aft.
not eas to shne daty Rdundany lViNuiw
nade dubicate datq
a N E u i i n a t e povtial dapeudeucies
ktad to clata GNDEUimate Tronsitive depenclsneis
efficinty 9tore &vetieve thedata.
Hant non- trivial fendiona!
du peucleucies
mli- vae upmeuues
Cuiminate
Ciminate Join De penng
N
Tradeqity refers to
arcur aty Consiste nyin datakbay
of data Stoved
Three- ier Arehite chre
Stvuctuk o ha databay,
L is a Seftware Avchitectue hatern he
&manays appiaion
Maale loyer precesusYlA aowribs Aetble Strucoe for the
logc & busness whole daBa ba
Aþ caion
Srvovs.
aerlSehe sr Seheug
Web servers,
Represens hoo data dis viewnl
dolbox ter þeduct into G
Data Tier [Dalabase] End uss
Eatenal
AB6tom layer manages di Sfof ata Caterna!
Schma Schema
FsQL databas. av Shmud
Ovder his hy
H Peduet dtails )
in dalabane Conuptual Schema
Compo nens Tntern schemg
Hua’ Trkeroct with
the ytem
the daabse
HDem monags
the data
HDatob ase) Stores
Dak Trdspoudanp
in the data ba
wihout
Data Models make chans
Strutuve of he appieaton.
he
IH Repreents Afedig
daabase. Logical dala Iusepdlue
Tuo Ty bes ot Data - Model opevatiomg he modfi cation ot the lopal
rad
Schema oihout offectng he <ft þre
upante-i e t alows
Sthedue uhe in
phy sical Stovaye
clis k without
Duvability vae
LR model's Concehh
Use to
veþeentaHen
ER mocel is a visualvelaions ps omo Generalzahon
decigm & dssevibt
entHtis
a dotabase
Gindl Gonmon AHibute Armer?
Jo form a genevauied ontity
generaiaion ot
eehli' as a
[entstes]-> keprecenhs an
PRecdange an Atribute
Represenk
Oval [Atvibute ikpAaregation
[Retaiansip] Represant an lelaties
Diamond
(onwehivity1Traiate
reshihip ww |Boers
nHhe s
Toe e e entihie
hLines combid to form
Consthains
napping must be
Stisfitd
of a dsfat
L Rule s that emptoges ove p t
Ettedtd ER mod
Dovig Eah stu dut
Cau Pmol in
vedu u
Couses but sach
mulhe
mutipu Studenk.
1 Can held
Databythe kind of
Táenhty deine (
I , Vavchur)
Uwt
lorg
Domain Censtrain
SQL Oators & Heir
L(valu’ stored in Cetumn)
0 sQL Avihmetic eperators (+,- ,k,l, 4-)
baed on
dateye)
volue s
ampound eprnatrs (t>,-*j*, , )
sL 0R, NOT)
|QL lgical opaler s (AND,
Select * FRom fmployeg AND
Sala ry scoDo
rtai Tabls
Orydes
Departet = MR;
sale ctiem, Unio, Jon Tndxes
Tacvex opesaie Ta btas , viewç & otadabn
Stores he data
Tube Caleulus Ta ble -’ That
Takes vepxecnhiy
Gmathimata AbþoaA view ’ Rows d atomns/virkud
perferrnane
os
formular Tmpvove uury
perced Tndene
Qurts gvegato Anetions
ove
mahematical
Shuded
Delete
JO IN Dspartnts DN empleyees. Prics poytial
Depavtatt. DefothtD
Departues TD =
Jcleg1
Cursor! t is a point usd
to fetch Rous o03
resuLt set
fram a
d a
A preudure is namd sQL block
4 SQL blcck that Autonaticauy Studit T)
to evenk. Shhdt
exe cutkS in respone 11
00I
Funcional Debendenies
Cuyush
he relaionships
deseyibes
Rilaonal
in a
Two atti butes 3N (sA Nermal Rovm)
dalobase. Denoted os t mt- be n LNE d also
wih
altributes Traitive
1Qmove
4 n a Ta ble
CouTse ID} Sudet Nam Pinbecle
’ Name it Ai hya
it Studact I delernn their Iloc|
neHdwer
noo9
Rohan
Ran
shudtuen
Nermalioion
the clata & Sudnt
Pinodu
o f a daabase
Momba
atribuks I000
the Pune
oul Adiya tI00|
Haidwar
10o9
Naial
uNP/BCNP (Boy ce -ond Nord ev) mv) [muL- volued deendetiec
muhvele
Clension ot eatationshi
Runticnal blw
dependereies)
Rohan
Po Ronul dte nink Gnoher
0 Fo4 Preet
fOL
Tronsacon
Syslem
But ot hat Crecution
Pegvams) Contels
Tansochien
Ta a datahav
FO3 Rohsn Fo3
Pol Ranu Fol
fo4
foL
Prect Banking nonsferring
Systen
Tncdvion deperdeu es (Tnvolves 2opeahens
Hiel le of te datbo
Tvansaeton ai loves
Racover from
Atnbe of a
Tnveve s Mehanas Restre he
databa
we D1 ad lock
By bor hg one or
RCA)= 20D0 mere ansachon
A A - 1D0o
wA) (1oeo)
R(B) 30DD
GDusabiy Chang be
td yo
optn
GBocew of magd
Tntowisted