Professional Documents
Culture Documents
Lab 0
Lab 0
sys as sys dba/oracle alter user scott identified by tiger account unlock; grant dba to scott; commit; create user student identified by student; grant create view, create session, connect, resource, create table to student; commit; grant select on emp to student; commit; grant select on dept to student; commit; grant select on bonus to student; commit; grant select on salgrade to student; commit; create table emp as select * from scott.emp; create table dept as select * from scott.dept;
SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL>
SQL> SQL>
create table bonus as select * from scott.bonus; create table salgrade as select * from scott.salgrade;