create or replace view my_view as select ename,job,sal,comm from emp;
create or replace view my_view as select ename,job,sal,comm from emp with read only;
create or replace view my_view as select emp.ename,dept.deptno,dept.dname from emp,dept where emp.deptno=dept.deptno with read only;

drop view my_view;

 posted on 2012-08-16 16:26  Chenyong Liu  阅读(181)  评论(0)    收藏  举报