in Databases
354 views
0 votes
0 votes

in Databases
354 views

6 Comments

made easy gave the solution as 5 tables are needed.

They merged E1 table along with R1 and made it a single table. But since it is 1:M relationship with partial participation on both sides, so minimum two tables are required.

Where am i going wrong?Pls help!
0
0
@Shaik can u pls check this question?
0
0
isn't that is self recursive entity ?
0
0
yes..
0
0

then we can represent with 1 table it self,

E(A,B,C,A) ---> A is a foreign key, ==> E is both parent table and child table.

But there is some restriction " First insert the row which have a NULL in the Foreign Key ", then you can easily insert the remaining rows

0
0

ya..got my mistake..thanks :)

0
0

Please log in or register to answer this question.