Beruflich Dokumente
Kultur Dokumente
attempting the paper for the course Database Management System, I will not be involved in
Final Term Examination Fall 2020. I take full responsibility of my conduct and if I found
the right to reject my paper and take any disciplinary action against me.
Student Signature
Final Exam / Fall 2020 (Paper Duration 24 hours)
(Online Short Questions Based Paper)
To be filled by Student
(PRACTICAL EXAMINATION)
Answer:
NORMALIZE 2nd NORMAL FORM :
Q No. 2: Create two tables and name them “Employ”(ID, Name, DeptName) and
Answer:
/* TABLE EMPLOYEE*/
/*Table Department*/
/*INNER JOIN*/
Select Employ ,ID,Department .Dept-id ,Department.dept-name
from Employ inner join Department
ON Employ .ID =Department.Dept-id;
/*Left join*/
Select Employ ,ID,Department,Dept-id,Department. DeptName,Department.Name
From Employ left join Department
ON Employ.id=Department.Dept-id;
/*RIGHT JOIN*/
Select Employ. ID, Department. Dept Id, Department. DeptName
From Employ Right join Department
ON Employ . ID = Department. Dept Id;