You are on page 1of 7

Lec-8-X-TrasfomatmfmERM.IE del .

]
loan → Loan - numb amount

weak Entity payment


_

/ /
payment
-
date
payment
-
amount

¥
attribute
*
Comport attribute → sep . for each component .

Customers le

| / statehood / /
customer - name address at - add -
-

pincode add streetno


-

/
add streetname
-

* Multi value
- attribute

F-t-E-m.nu relative .


]
emp-idfdname-fenp-id.ae
name


Rk . .

Generated -

method I
=

*
Aggregation
= -
-
-
-
-
-
-
-
-
-

,
,

I '

iemf-AE-lbm.TT
"

i
' - -
-

Entity
- -


- - - - - -

work
-

- on .

/managef
(
Table
m-gr-id-P-id-b-E-ig.pk
'

manages
,
Unary
.RU#vship:rE..T--:.
*

we will add another attribute in


Employee table .

Urich will be F. K .

Emp
201
-
id
( name

- -
-

/ joining
-
-
date
-

/ Snp
205
_

mgr _
id

\
- - 205
202
- -
-

205
- - - 1 -
-
- , Null .

mi• 1Peno
* I :| →

Person / )
id
- ,
Name
, sponged
SFK}
*
M →
com
④ Come ( id > Title ic◦mf-
M\prere
"

prerealid-E-idt-p.gg

4¥11 ↓
LED
?⃝
* FB Relational Model

(1) User _
profile ( username ,
name -

first ,
name - last,
password ,
DOB )
(2) her -

profile -
email ( username SEK ] ,
email )

(3) user -

profile -
contact ( m#kÉÉr)
(4) friendship ( profile -
,
_
req # k3 profile accept# k3)
_
→ compound key

(5) post -
like t.p-st.li#id timestamp , ,
post id # k }
-

,
username { f. k3)

(6) user -

post / Post_id_ ,
created -

timestamp ,
modified timestamp
-

,
tent content
-

,
username
)
{ f. K ]
(7) user -

post image (
-

po_tidÉnage± )
(8) her -

post -
video ( _
po-t-idt.ES/video--ur )
(9) post - comment ( po_st--id, text content
-

, timestamp , post id -
username )
,

{ 8.1<3 [Jk)

You might also like