You are on page 1of 25

DBMS

MODULE 3
Relational Model and Relational
Algebra

Written & Compiled by,


Prof.Priyanka Bhilare
\ •

R ba'ri<il ·AlJ e.l.'25\·CJ~A), I


1 1
r, ,,

, I '. , .
.
I -- I

. 'j / r 1' I
• I
I I
I

. ' '
_, ( / . ,.
, I }

, r

, J J
-

111.e. ffU_~ o-fl/2$1i,w""1 -{fut We. Cllr> fe;Ju~~~ i

LUI, _~~~~ I ~~bAA ~M :- . . . .,


1

u~, ,Ofe.MtD':' ~-,cl>J crpVV\+e.·oY) G~ trul ) _" "


i) s,2.kct' (er) sb01f.l. , . , ··-
2) P~~i
:Cre) pi .. ,
3) (.f.)-'2.ho · I

·"" '..,, ..
·>./ / ~2. - J-. ' l

0 ge.!id·
1.~ ' J
,.,,i-.J-..,

ofv,,qtniL :- -- -. .-. " •. , . .


, - <.J I~ •~ • J

" .,~ ele.,c+ .,~ t.u;e.ci/ -to s dt..cf Sy bs.e.t ;tl- -l:4r iLe
6t '1VU._-~~
. .
t;~ ·-~ +
. ..,., ' /
'SQ fu,
. .fi~
µ,- S<2_/ t_c:t. ·C9-\'lcl:i ~\1- ..T+
,S o1~n~ki
'

1.j·, ~·~ ~~&.Je_ --5~k ·1et-tVL ('._;;.)


.J ,

LtJ ~{\)~ \'\,\ \.\rf)

~t, '/2,utt>..'2..t ~"){.

2:, \) Tdtt \(_t.'


4o (vlM.~H ~t)l.

roe..rt ~u-"'
' , •~.:10 "Gi )1. :- ' J '
-
t '
' 8/, Re:n~me.: -eifU>Jiht :- (r) , _. . _ ®
!he n.£- YLAme. or~iuL /iQ.t4,~.,rLl q Y)

d
/ • • _

. e.%Lt t1 11,Q_ uitii l,t l,( n


1

o. 'Y\.e_ l,() \'Y) e. • _


q'-. CB) - JU~ t_j,\I\ 6 c_WA~ {,~ i 't 'V\.f!YY)l, to
-r A .
l
f2L.~l).D~ A-
' .

:~ () (_e, m ) - e., mf 12.,Q., Tu,\A 0L m e.ol --1:b


--o= J e.m f lPj u. f . e-m pl9j u_ . . .

b> .
A (1ie \P _q !-
. . ,
~.4'4:_ \NHYJ e ~)
(e,) _ "T+
-t-- .
M\'UYJ?-0.. bo-ti-J
\ w ..
. }2_L l..,l.O \I.\ a ()_ J.. q 1 V'-L
/ . - - · · = · · · ~-b-ru t4tr-t ·tt- ! N:R.:~ tis, ll\ · ·
.I ' ' '

~c;;~~;q¼~~~~J~-)_Ge,2~~*~~~ ~-
.cl>
® 1Y1u\s.Loo
~-~Y'M-/v-.ti.lML
0
Ce.mp) ' '
fW,tM._:- . .
.' _q ,H~'1c't..&
-Br)~ ,~-~

(vU~ qHh-il~-h.
s
~~~'3'
' bi vj_s (pyj Ofe,~1;1)1)__ ·A-':- & · (Qo b-e 4fph':eJ-j f
Qt1J OY}d 1+ · .
.1)AHhtb~ Q-- e, jJ. PYDfW-- &4bs.J:- (;} qt-,t-ll.ti\(Q 4--A-
.2.J----rk ru.k-t..oit\ 1u.t4 h.,Y).e.J . 1, c.1 i v 1.siiiYJ or (/!JI-hi 'L. vli 11 v.t.a-v:e- .
J-
q tt-hi b 11J> CA IJ q~h.i b'1-fu 4 fl AJI :qtf-1µ b4 (+ B) .
2,) -nu, d
Tu>vl /2.eJtJ, it.t;ul , ol i is Ion of e!ui fr>t ID// I ·
lu.. b-V2. n fu S<.. -/;ta f Lu ~m /l.QJJITuiv\ A v-'.l h le h a. . .

lJt 5.1; 0 ci 4~d ' vJ1'.tb Bl_t le... .


empLP-t r '-l ct-\-\J{ w\.l_ - f1ui-ct. L l . ~ "'--L

I' s ~,~t /

lcf
I :r.~n.s
2...
2
·4-
.- J

~OJ,i~
ti ;.
;:.,
i:f~V\.A
\, (
, -
. 1sh,1tt I

4-- ~,sJ1 \'2.1:a p/19 t- -t:t lit_.


\.LC
I
. .

e.x-<y ii 6~
- <I

. · • r, _ .
-
l. q_rf d
iol I Ll~lb\1
.. _ ·
. • f t!U' l-.
u}..
M_, .e..,YY)f fYDcl'-tct-
.

i) 71u-. 0 pe11>t-b:ti VI µ. 194 ·<U! \ t tti..i'b ,r~ i n fY'1 .cJv_ cf:- fa a..

frror~'.SY b.1.1" Q <!.Hn.i/,4&.s i() f!..rf)r


2.) _~1,114 ' ~ \o l)__e_.g '1 IH~ m ta~ ""l fl ve_, .
· qtJ;-/2}byTu ·. !~/?&A' p~&ebwi.YW-~ -[pmi~~e/».Q~j-=::
[ e-rr,ptol.l
1

. ~r'.(J. ~-,Lj- 9 ~hl 12.f ~ •Yl c( iJ ~ -\IL9 ·


ft ~J'. •O ~·1 ~"trot
:~r
cr'f\ l>_{ uJ · emf LDl ·r2- \,,,o a_ s~ t t«rt;:ct '--01 th q I L ~. 0 r

-ku-p (L;Cl e._. s Q , 724--d ti~ mhtuil/\ -ul If e..,


~mu,l
2

-As ku ----..,--t--,, _
1)13M.S
f\d~Vl ' ~C) pM 0~
Kn~ t>BIY},.e
K_ G \ c,~
--r~~ ~tlfJr)'

TIUl&~ ---+--01 L
l\.
I I

·'> un

1·'~
,..) ,
;_ ,
' , , • I

71J t. LI n (6 n [-}- --tw o ,1?.LliiTu~ , iYJ c:./ 4. Je...s. 11 -in e..


r
-b-lf~ 'tvul.t- -t:!.i-1:i?Vl. in 'A' ;L '1.n'_8' 01. ,·,.., 61::ith 'A'' .cp--1 o(_
'g '. 1)yf Ii ~t_ 0 ,f 4fV'?. "~l 1m1n,~ ~ . ) : _ ,.

q> b o-1:h 'A' q n J '13 mu...i.f 1-,ui ve... l\ me. M • t+- u,l'lrntJS.
&> D t>m tt i [t- &.. ch q /;-/:,u t~ti ~()_,C9l4tY.P1 O-i.~VL t.s
Y)
,.t1u_ tG\n,e.. in both ~A' qnol (2/- . /• . 1

'SJ nviy<_·-· )C C..l4mn~m tC~) (A) . CJ TL C9L•«l'Jli')ytgme.Cs) (e)

-) CvtA m .e.. n '-' m


)
VL (R.) LJ TCv.ui m e..,. n '1 rn bQ. ( s)
, , , . .
• f )

~)'Y)(_
" "' m be..L
A . 2_
\
B
c... 2
F +5
E
, I

3t:
:::::---
R us
A
B 2-
c_ 0
F- . 4-
G 5 -
c.. 2-
D 3
4-
71-Je, iri"~SQ.c.U.On (-1. 'R' Qn J. 's' lU..i.ttt:oYJ ,
ct.
-thAt i ncl4ol u. qi l &.. -/;t.tf lu -tt-ut Q ~ lo bb¼ R · s .

.SJ niAn :: ."JC·i.


. . 'J
,~mrJ. me. u.q'O (') 'Jc c.,fAmnndme. Cs) ( s)
' . J J
4
' • 1 ' • J ' , • .,,' J '

KYLJ101e./n~ mbe.~ (R) -0 }('A.qrf)e,/n4mb~~) . .


~ -. • I ~r

,
I

~me, 'f\l\m6~, J' - I, •

'

A i
I I

. '

jf_ :- . . ' .
7CM roe./Yl 4 rn b~ LR) - R ~mt. , 'Y\ °' m bLJL (§,)

You might also like