Question: LAB# 5 Activities 1 - Create Employees table with the following columns: Eno, EName , EBirthday, EAge, EEmail, EBranch, EDepartment ENo is a primary key
LAB# Activities
Create Employees table with the following columns:
Eno, EName EBirthday, EAge, EEmail, EBranch, EDepartment
ENo is a primary key
EAge is not null and has to be less than or equal to
EEmail should be a unique value
Create Department table with the following columns:
Dno, DName, Dlocation
Dno is a primary key
Drop EBranch column from Employees table
Add a new column called DManager to Department table
Add not null constraint to DManager column
Add a new constraint as a foreign key on EDepartment column from
Employees table and link it to DepartmentDno Add ON DELETE SET NULL
Drop the unique constraint from EEmail column in Employees table
Change a constraint name to a new name
Change EBirthday column name from Employees to EBD
Change Employees table name to EMP
Insert the following values into Department table:
tableDnoDName,Dlocation,DManagerHRSA
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
