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
Get step-by-step solutions from verified subject matter experts
