DBMS unit 3
DBMS unit 3
2°, ° 5 Q
; “ge M spina ote pulsator oF F.
Gi) mohak one the Candidate HIETT ES ABD SE ABS BOF, 029, OT, OSH?
© fa aspee , fis {AB Gr, B>F, 039, COI, Ors HY
faerie 19,8} |
> 1A,B,0,0,F$ + Asser # Bo Jy py |
ARDC Cant Pnferred from Ff *
Ofer + Or Aax% bys
way" hogy
~~ f= inate ARO, BOF, C3, C137, bIHE |
check IF extraneory aHri but On LHS of feb >e exe |
fepse | feese | feroe] fe ABre | feerre/ fe aroe
fais $45 | sete BAF byte go} |4aat> fag owt
B. Git be Cnt be cavtbe | @pt be
infrared inferred infer | prperceds
“fie fappe, ABO, BOF,
'
i
|
cl
C33, G32) Wd
= frend; 22F, 634, I97, GoH3
Bh} f= Retr,
= ih
MoS tas
Ap 201 Cont Be Inferred from Be
fo ACY f= Boy
tats tay | gayteens th
Ao) tant be Bocant BG
Infrsoed pang © In fessed from Fa
= {AB StH, ABD nop est, won Hs
Sra ics ye i Saji !
ald oe
‘Saw sal TSer ple [AB2t, PAD2E
8 AEG OS eas aa .
et pt CISL, GresHe
By = 1 FT
185
goorcant be jnfevsed from =
pet BF, HBOOr ABODE, CET, C197: OS HE
peed giz {Aanve, MB, BOF, COT, oroH3
: ae 163
c-59 Cavit be inferred from F’
‘eget, 248
ote fpgrre, ere BOF CI,
Uy fe ciel, ph faapaé, AR20n BDA CPF ous
toss 1a .
CIE cot bE infeored from fF’.
/ fe gmt
+
A cored gaay |e ities
Reet be) =z cont be mferred
z ton be ‘inpsred fiw
ngdse, ABot, BOF, CI,
COE
a for, aw
oJ, oa}
pe fagnce, ABS CH BOF,
w) feGraH
Reptexire fue
{at's fos By
|
Ffnag roma caver of F i,
>
fo [apne net got, OF aerT
Uy Candid ase key
d
Ref, B,C), 6, FO, 42 T$
ERG, 2 9
{Kelf= {AB,C, D.S, Fay HDF
As
{AB COEF GHD, 35
afte nang £
$74
= {H,8,c aa
= 14,860, €1F, 8) Hy
k= {A,B 0b Ee efptap Het
= {6,8,6,D,E 6 ot iT?
kyr ik H7 = 4A, B,c,0, & £0}
{A,B 2, EFF
> JAB, 6, Ff?
2 1h8,¢,0,E, fr &)H, 2,5F
edly Phe fmy8,c,n€F
Kei = Ja,8, (2,627
PAB CDSE.C)H,7,94{A,B 6,0}
> 4 A,B,C >, 8,01, F, 3,0, H3
Ketkp-ph = 40,8, CF
ki {9,8,.0,O,F, 32,4
DEK,
kezt keh fn 8D3
ea TAs.ne, uF hI
cd tts
as (KeB}= 1A,63
2 F.C D aRh
bd
(x <> on Suton aay bol have do Check betertus tl
Ry Aosseters Decomposi¥on :
a ade |
bi WitteQue: gheeo That ho follon ng ceromporition of
Seo orl One histo, © 2 y OF Schema a
nye fowseless Secompestiton whee orxfairar retass ve
F pe WABCO, €) q ea
R= (A, Re)
Rn chr ©
and FDS Que Catto As Se B=
Ye ) SBC, CDSE, BSP, E34
Sole? By masnds meted So
C
fir A-pBe
Sire, AAS of 4s E> Contarn Same value hg aimg Of
du Jwo HOco fhirefine bY Peplacny
4 R ic ees
ing, Unt of dre pow tomtaln ait Os Hare fore
relies 0 dowels decompos!te™
Dur. Some Que R= (A, 8,0, DE)
R= CARO
R= (A, B,D)
‘gy: fis > ABC, CDE, BoD, 6e4foi :~A>8e
Sine, 243 Contaln same Values Yn to rus! te
Ta naam
A ates
Ri a, 4 83 Yy be
& fa A, % Oy by
foor- CDE
Ne veptacenun!-
\o
A.
Es) & Ja,
| : exeplocrenr | 4) a,
Foy) EDA Neo rPLotemumntr \
ee Chee
Rime RO) 83 Fe Obs
REG we Ope Fe b, ¢
Bing, no Rew Conran aU values ofa. mci a —
ae BecOmp tsidion..
Bee Ree
R= (ABC) PosS ABC, CD56, BSD, E>A
R= le,d,e)
SO for: AORL
No sep lacomout -po: cp
=) No xp la cemyrt
foe: BoD
= _ANo xe plate prt
fey Eh
—~ “ho “placumind-
Fog, Ne Hee COMAINAMAS «. This tea kasty oleComiposttbn ,
qr. Relation R=}SEN, Gnome ,Pro., Prams, LOC, phere
ee
APR 20}
Re {Prawns , poe 5
> issn), Pre. Pheurs: Poawy, proc}
, Ssh 3 Enawe
A :
Pos OM Pro > prame , loc pects
i S5N, pmo ——> Phouwrs
chee He given daternposttion
prome ploc phous
po Cosel me not?
Ssh rome pine
No replace
fo replace
| fer pos 5 ~ Seni; Pra— Prous
po rtplacemimt ‘n: ee pro Prose lec puis -—
a, Ee Phoe Pheu
ae ae a Ae, hie ou
a} a Bing, aaa ou
ae _ ————
Sine, Ne S000 Con,
Qin Alt values of at thesfore, This Je
f a bsesy decompcsiton,
R,=lesm, Enarael
> J Pro, Prome, Ploct
& { Ss, Pro, Phourts §
SON Exc . Hei... Pine, phiiy
a sk ster fies ip
tes Fhave fore LONG,
ag Pre 3s Some in RR sony, ee a
: ns Herter By yep laceinivatpor Ae
Sinq, “He volun of A 19 R,4f, 1S Soume Hurt fore by
kepla cumin
BE! BSE (ao vepta cement)
fP3: >> Copp replacers’)
Fry: DESC (po veplocemut)
| fRSr ce-SAL (Ho vepdaarnent)
Sire, Ne yOu Coven LL aloe Of A -
ay Secomposition .
Lew eAE Reet Retayion R & kevdlingschewnaa a
R=} Branch Name, Rronch oy , Us be Onthomuy,
4 G a ‘Kany
Lean.no, arOund
I Rose4 Re anchSchenmoa Fy
i Relanm R, fs Baonth. Schevm4 a
| Re | Bvarch_name, Branch. city, Wasets % ee
he
, ne
Retotion Rk, }¢ £0am.schemma a
&» } leanne, Brorch_-name, Ombunt $
Fe fs Bosnfeuer-tchemma
fo= | Custorner_name, Loan_no §
FOS Qh 2——
Branch-narre —> Bronhcfty Jarote
40an_no —> amMeunt | Rearch name
| SEE Madsircis given hy
Bremme eruiy
Bestiomal—— a, ses Custnome Leanne _ank
hens ; ha oe by be Ue
‘a by cs by» bay Os %
Seats 3 bs. 33 Qy eeRr nave
¥ dome Voters of of
ase ets Cushnane Aton no
ree Rovere COnFCHP-ANENALUEL OTA tds Psa Pa
dreornposi707
agpufing Ft Agabn
:
a, Qo 8
4) a 3
J
hig
és ya amt
3 Bi Scenes
big re %
eae as Xe
eee
woe OpPUH Wf fo): Baename >Becthhy |asse?
| Rulercting chemwva)
Brenan — Brcliy asters — Cuuthnane foo ne Bak
Bes a, ay as by vis bre
fey 8 RBP bg bay OS
fron] %} A, Ag ay Oa Ge
G
Sirq Py Conrad all o's
hs Is * feselus olecam positon.
sl apieBE KLAHON R
iM Dp —
PDs,
ow
j=?
GH
Ping ae vi mad COs of £
SE Ft papae ABO BOF, C23, CJT, Gis
th fe passe fie | ARDOr, B2F, C35,cF 27,01 OH 3
4a8,Dy = 4 A,8,8, 64, 5
€ Cant be tnfersed from ¢’
check for extranedus abtribeure om LHS. Ww
seve F= {ABD 3€, ABH, Bok, 3), Jom, 12H
Boe |pse | Arse jaose ee
TA | fof jars| Sortayy HAeyE {Aa jc| 18> 18,568 ADT YD
c ape Etoitbe | Bort he HES) Etarit oe Inferred ECant be
Mhored t ingessed | inferred | Eton he from F inferred
fron pf) tame linfessed fone
UD fr abso, Fedaapse Bo¢,c4, G39, cH)
frei = {9 8,0, H/F 5 Ou
or Cone inferred from F! ag
a
*. Fe {ARD3€, PB 301, BSF) C3, CH, O15H5 ,
i QUBp Fed ARDAC, AR, 0-95 e454, Gr OHS ea
sorte feat |
F Ont be Inferred from F’
+ fe {PBDSE, AB, BOF, (>), ef 7, Gros
(Mea4 y fiz [ABD PE, AB str, BF, cya, ond
ite ach
F cont beinforred fron —t>Tpbrond
>F, COS SHS
2. Bes AM bu on LHS
ABDC, BOF CST G3T, HOH
£2
f $45
Tovt be fc rsed
from F
» fe {pape AB->eyB>F, C25, EFT, HHT
Pedpppoe, ABM, RF CF ues S
faye {at :
1 cana be in fersed fro F
rut
OG APR oly
br R= (9,8,¢,,€)
svar
papi FefAok parc, donc, DES
S=} AB, D> AGS
2.
for toni of F 4s,
pest
je, Flea covenof Ss $ & Fy abso a Gver of F
Fsacove 0
= {hop Ac, DOA, PE}
fe jrreyeee wet
TAS = 14,8,c5 eA
ADB ton he Inferred from f
5: Ap >
{aye A,B, ct
fa~9C can be tnfesred from s
1 bone
{ot = {n,n}
S-> A tan be In ferred frow 5
S-S¢ Com Le thferred fren 9
ia tie fos!) 9,5,6 6,83
PE fon be inferred from S .
fox Ftobe a Cover of 5
S-{A2B,P2C, DOA, Dae}
Fe 4b>B8, ABC, D3, DOC, D2E3
f:A>8
qAafrqA.Bie§
AB Cay be Mnfrrrtd Frans
Senet
jaste {n,ac8
A> Con be Infrrmed from $
Fi bOR ee hb Ace}
DoA tay be Infe ned frome
fe DOE Jp} = 1D,B,c,¢ 8
d7€ Com bet infrsred from s_
Syl Peo
“a fEs cue Ct veh ses ,
Fe hsxond y be disyetvt
EN Omd z= R~Cxvy)
PAR) Sotisfier x S3yY Mmuurved ta
0
for O14 two tuple tat to= troathen
4.4 ty Shoutd alo evict fy Hy on Fosleus ny
propel ek
Uy ts te ty oe tOd= $0)
(ih 4, 28 BT SS Ty)
wD we zi is #4 le] =, Ca}
N
fox a we Vole of Xe, x, Hhww rs
Foy rose Vals of 4 f 2
N|
4 oe thee fere,
Bi a % isrmutivalued depenclint oy Y FZ
ty a xy
se
# Tyiviol MYD t- los ape ay
A rmulvalied Ci aace nosy in RIS colled a
| tyiviod he ey sa ou ofxhe, YEX
A mupthos ee eae chy nox Gi fs (aed a
Nen-tui viol MVS
(Pie + (aurey setostord
* 8 ath
y N
A Relation scherama RIS)
w ron-triaviod MVD X-?Y, * fs a SupoUrg
4
or oft ton Say had trou neue met see be
6 wrt F aNON FUVIAQL MUHvaliod chependemey =
&e- emp Leyee
Sou berets. | Arma |
J Snat | x | Hit |
tee ts ate
ee |
Emprore —s5.
Pee_Neuye
Conp. Naim —9$ yep nians
®n Nor Tat =
. Ag
Enpdep
|Sxpnarn: | dep nome]
as Smith | Sen
Sth a
Smwth | Anna
a 3
> Jen Sependiuncy =
A fein Atpendemcy da nored by ID (REI... Po)
SpeUHed On Actational Schemma R Shedfies a
Constraint 8 the States JLrol R The Conshscont |
sfads thos a Stoke RoR Sheuld have 3
Q nen- additive Jem Coraposifon Frito Rf
fe.) fox wey Ouch 1 Use have
‘
Rone
aif
ae n q
2°
& (TaLO , Tie, 0 ~ --- Ta, L WYER PaStepp
| |
| Kura { sole Pray X 4 |
Rumor | Nut | prey y
| Prakash Bott 1h iy
fegmpesh | NUE Paejz |
fpraxash | Nail | PAE] x
Ptah | | eB ss] A
vuror | Got | owy |
Re
pee ee
Nan | Preps are |
Oat
Melt | pasyx |
[Ramee | nel Ukunax | Pray ped | Prof y
|Prakash Bolt prakach prep Y Bolt | Pred y
Romesh | Nur Ramesh | peor Nub | PAel Z
Nast | Pha x
ee | Nail
aes el
L
| # RelasTenat schema fo fy s*UF ow pAoject Sein we
ith Sespect to a Set F (fimeHonol, Multivalued, 419
\ if for a non -triviol JD (&,R,-—->&)
tm pew Rr fo q Superkey of R,
that * aN
ash t— (project fei M)S.name | prayenic
out] prone |
Kumar | PkOj x Rost
Kua, PAO» way
Kumar PLO} Y Ae
Kuno peel y pols
Prakash peory fu
Prac! pps y Boyt
Praicash | prof x BOLE |
Prokosy proj
Roms pho 2
Noe
Nut(MBRuroent-oo} [Pe/sor s cursor] @ »%
Airy + * 5
~*~ Use of Cursors 1m PL/SOL
Guxsor: The ovack engine Wset a cork anea for Hs fotanal
Precescing in order to execute a COL Starement, This Work
QHEQ fo Sivasi +0 S01 operations Gnd Fs calted ag Cur@r.
The data -thak ts steved in Hu Cursor ts Calted }he achive
Clos cet. conceptuatty Hy six of tu Cursor ty munory IS
Aha ste suspined to hold the no: OF rows fr active clarte se
Types of Cuvsons »
Cwuors ane clarified dpencing onthe cycumerancer Unier
Lohich they are opemed. Df the ovacle engine openect &
Cuwucr fer Hs internal Proceccing SEs Known at
TMpttert CURSOR, A tutor Gn also be Opened for proc ssing
a ho List Block on clemand. Cueh a ter clefined
Cursor I's abled EXpLICET CURSOR | j
General cwsoy avibuake ¢—
tohen the oracle engine cheater con fmplicit 0% expUelt Cursor,
Cy9u0% Contral vaouothts OU Que Cheaded to Control the
eect on of the Cuytor. ‘They ase m Sey of four Syste Viena,
-oshiich Keep Frqck of the Curent Ghodtd_o au xsor Thee
tusuoy VOU AbLes Con be ACceMm d Uwed ina PL/sar
i bute:— 6
[ DY, Notfound Returns tue! ¥ecord ocr not Fete ed
Surcemefutlyy Fels, Ofnexwiee.
: Reka vo. of records process ed from the
} Cursor
E \
| Crovop te of tmptfctt Curso ;
Selete frome killer where 1d=tor;
Vf seen foundtnen
DBMS_ouspus Put Line (‘Row Deleted”);
End if.
as
hegin
sa branch = # branch cohere employee nes 4
ee age pre transferred %
val
Wee incist at
rns. = espa Pate!
end it 5
rf Ser Not oud shen
nt extse');z=. J:[MierH LEVER EXTENSION LoMTH TRIGwERS | & a
Alco : & y
AS? Te Study Hu Concepts aya frm plernent the Progeams Us ins
ee i
; deleoc
Tsdqqes:- A dedalnse tiguurc fe a ctored pysor block
Weocaved WOH4h He Uo. Untikethe Clover procedures,
Goleh hart+to be Cxplioetyy Invoked, Hese -4gqers impiciely
Ge fined, Coherevertreteuate Ts ated by Ciny opercctien
Orace qusorncuically fires, ox exeaita, Ol driggea (hen
i eae ing Stoderment To Tecuted
t 1 existing trigger, must be in One OF Hu following Sate
Thea higge aotad OvacLe PB 4 « tahenaey
a tilggening Grasement ts Fesuect andre Condiron of
He trigen hestaicten fe met.
* GPa inggu is disabled Orcele AGes Not Five Hut Agger
tohen a trig ging SraHtmevet Vs Festtedl andre
Condition of Hue 289 ger yesticton fe met-
% 14> cane Ov Vephau Trigger