Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

SQL> SQL> SQL> SQL> SQL> SQL>

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;

You might also like