Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Observe the structureas of a given EMPLOYEE table as below and suggest if this table can be

further Normalized

EMPNO,ENAME,SAL,DEPTNO,DNAME,LOC

Explain what normal form this table is and how you can make this into next normal form

ANS) this in the 1 normal form BECAUSE WE CAN FETCH DATA BY USING THE DEPTNO AND EMP NO AS
PRIMARY KEY WHICH COMBINELY CALLED COMPOSITE KEY

EMPNO EMPName SAL DEPTNO DNAME LOC

In- order to convert to the second NORMAL FORM it should satisfy the two things

1) It should be in 1 normal form


2) It does not have the partial dependency
3) OCCURS WHEN THERE IS A COMPOSITE KEY

EMPLOYEE-ID AS PRIMARY KEY WITH ONE-SEPARATE TABLE

AND DEPTNO AS PRIMARY KEY WITH ONE SEPARATE TABLE

empno empname sal

DEPTnO DEPTNAME LOC

Observe the structureas of a given STUDENT table as below and suggest if this table can be
further Normalized

ROLLNO, NAME,AGE,EXAM, MARKS, GRADE

Explain what normal form this table is and how you can make this into next normal form

ROLLNO NAME AGE EXAM MARKS GRADE

IT ACCEPTS THE PARTIAL DEPENDENCY SO IT VIOLATES 2ND NORMAL FORM

SO 1ST NORMAL FORM IT ACCEPTS IN ORDER TO ACCEPT SECOND NORMAL FORM WE NEEED TO BREAK THE
PARTIAL DEPENDENCY SO

ROLL NO NAME AGE

EXAM MARKS GRADE


Observe the structure of a given EMPLOYEE table and suggest what kind of problem this table
has and how to solve the problem

EMPNO,PROJECT_NO,NO_OF_DAYS,CUSTOMERNAME

In the above table EMPNO AND PROJECT_NO both are together a composite primary key

ANS) YES EMPNO AND PROJECT_NO BOTH WILL FORM THE COMPOSITE KEY AND IT IS ONE OF THE
CONDITION OF THE 2 NORMAL FORM

You might also like