You are on page 1of 7

DBMS

LAB TASK 4
NAME: MUHAMMAD SAJID
STD ID: 10298
CLASS ID: 107085
INSTRUCTOR: MISS NAZYA ABRAR
1. Create table Department which consist of columns (Department_ID(PK),Department_name) in which

department_ID has primary key and create table name Employees which consist of

(EmployeeID(PK),Employee_Name,DepartmentID(FK)) where Department_ID in employee table use as a

Foreign Key and EmployeeID in employee use as Primary key and Identity

2. Insert at least 5 departments record in the Department table and 20


records in employee table
Q#3

You might also like