Question: 2) Add two new columns to this DEPT table (Manager_ID and City Columns) a) Column Names Manager_ID City Key Type UNIQUE KEY Data Type NUMBER

2) Add two new columns to this DEPT table (Manager_ID and City Columns)

a)

Column Names

Manager_ID

City

Key Type

UNIQUE KEY

Data Type

NUMBER

VARCHAR2

Lenght

5

30

Hints: Use ALTER TABLE ADD column command

ALTER TABLE XXXXX ADD Manager_ID

ALTER TABLE XXXXX ADD City

Then also run another ALTER TABLE command to add constraint for Unique Key on City column.

ALTER TABLE XXXXX ADD CONSTRAINT

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!