Assignent
Assignent
Step1.1
Step1.2
Make
view payment
MOVIE Customer payment
update book
ADMIN BOOKING
Know we are going to check whether there is fun trap and chasm trap
a. Fun trap
M1 C1 B1
,
M2 C2 B2
M3 C3 B3
Here there is a problem at a c2 view two movies ,and also booking for two different tickets
so we have to restract the ER-diagram
M1 c1 M1
c2 M2
M3 c3 M3
b. Chasm trap
Admin update movie view customer
A1 M1 C1
A2 M3 C2
A3 M3 C3
M4 C4
THE CHANGED TABLE IS
Step 3
Customer table
Movie table
Payment table
Step 5
By generalization
NAME
ADRESS PERSON
ID
IS
A
ADMIN