edited by
777 views
3 votes
3 votes

Consider the following ER diagram:

How many number of relations are required for the above ER diagram?

  1. 2
  2. 3
  3. 5
  4. 1

Solution:

My doubt is:

Since $E_2$ isn’t involved in total participation with $E_1$ so on merging we might get 2NF violation.

Eg:

Let $E_1$ be:

<p1,q1>

<p2,q1>

<p3,q2>

$p \rightarrow q$

Let $E_2$ be:

<r1,s1>

<r2,s2>

<r3,s2>

<r4,s3>

$r \rightarrow s$

And p1 maps to r1, p2 maps to r2 and p3 maps to r3.

Merging with $E_2$ will give:

<r1,s1,p1,q1>

<r2,s2,p2,q1>

<r3,s2,p3,q2>

<r4,s3,NULL,NULL>

$pr \rightarrow sq$

$r \rightarrow s$

$p \rightarrow q$

2-NF violation.

So by default which case is to be considered when normalization form is not mentioned?? 1-NF?

edited by

Please log in or register to answer this question.

Related questions

4 votes
4 votes
0 answers
1
vk_9_1_9 asked Jan 26, 2019
895 views
Find minimum number of tables needed?Answer : (3)Can anyone please explain the answer and how to approach such complex er diagrams?
1 votes
1 votes
0 answers
2
Shivam Kasat asked Jan 13, 2019
630 views
NO. OF RELATIONS REQURIED FOR THIS ER-DIAGRAM:I am getting answer 1,Reference :https://gateoverflow.in/201404/er-diagram read out @raviyogi comment
1 votes
1 votes
1 answer
3
Gurdeep Saini asked Jan 1, 2019
606 views
Consider the ER model minimum no of RDBMS table _____________ ?
1 votes
1 votes
4 answers
4