Exercise ( Data Control Language 1)
- Create a user named JOHN.
- Create a Role named DEPT_MANAGERS
- Grant Select, Update permissions on Employee table to
DEPT_MANGAGERS role.
- Create a Role named CHIEF_MANAGERS.
- Grant Select, Update, Delete, Insert permissions on
Employee to CHIEF_MANAGERS.
- Grant DEPT_MANAGERS role to SCOTT.
- Grant CHIEF_MANAGERS role to JHON.
- Revoke update on permission on Salary column of Employee
table from DEPT_MANAGERS.
- Revoke update on employee from DEPT_MANAGERS
- Assign DEPT_MANAGERS role to everyone in the database.