Open In App

Minimum Relations Satisfying First Normal Form (1NF)

A relation that does not contain any composite or multivalued attribute, then the relation is in its First Normal Form. Relations that contain a single-valued attribute comes under First Normal Form. In this article, we will be going to discuss the minimum relations satisfying the First Normal Form. Before proceeding to First Normal Form, let’s discuss how to design a database.

How to Design a Database?

Designing ER Diagrams is easier than finding minimum relations that satisfy the First Normal Form. We establish certain simple rules which are formed after a deep analysis of each case and hence, could be used directly by understanding the logic behind them.



Now, you would definitely have a question in your mind, how do we form such rules? This is very easy and logical. Let’s understand the logic behind it for one case and you can similarly establish the results for other cases too. We have been given a scenario of a 1:N relationship with two entities E1(ABC) and E2(DEF), where A and D are primary keys, respectively. E1 has partial participation while E2 has total participation in the relationship R. Based on the above scenario, we create certain tuples in E1:

A

B

C

a1

b1

c1

a2

b2

c2

a3

b3

c3

Similarly, create certain tuples for E2:



D

E

F

d1

e1

f1

d2

e2

f2

d3

e3

f3

Now, create a relationship R satisfying the above conditions, i.e. E1 is partial participation and E2 is total participation, and E1 to E2 is a 1:N relationship.

A

D

a1

d1

a1

d2

a2

d3

Ways of Merging Two Entities into a Single Table

A

B

C

D

E

F

a1

b1

c1

d1

e1

f1

a1

b1

c1

d2

e2

f2

a2

b2

c2

d3

e3

f3

a3

b3

c3

NULL

NULL

NULL

A

B

C

D

a1

b1

c1

d1

a1

b1

c1

d2

a2

b2

c2

d3

a3

b3

c3

NULL

D

E

F

A

d1

e1

f1

a1

d2

e2

f2

a1

d3

e3

f3

a2

On the same grounds, could you think why we allow merging the two entities as well as relationships into 1 table when it is a 1:1 relationship? Simply, we would not have a composite primary key there, so we will definitely have a primary key with no NULL values present in it. Stress some more, why do we allow merging the entities and relationship with both sides’ total participation? The reason is even if we have a composite primary key for such a merged table, we are sure that it will never have any NULL values for the primary key.

Note – You can follow the same procedure as stated above to establish all the results.

Frequently Asked Questions

1. What relations are in 1NF?

Answer:

 If all the values stored in the database are single and atomic, then those relations are in 1NF.

2. What is the minimum normal form?

Answer:

 1NF is the minimal normal form in Database.

3. What are the three rules of 1NF?

Answer:

The three rules of 1NF are mentioned below.

  1. There should be a unique column in the database.
  2. Separate tables must be created for each set of related data.
  3. Each table have have a unique column.

Article Tags :