drop table adg_qa1 purge; drop table adg_qa_dual purge; create table adg_qa1(a number not null, b number

not null, primary key(a)); insert into adg_qa1 values (1,1); create table adg_qa_dual(a number not null, primary key(a)); insert into adg_qa_dual values (1); alter table adg_qa_dual read only; create or replace view adg_qa_vw as select a.* from adg_qa1 a, adg_qa_dual; create or replace public synonym adg_qa for adg_qa_vw; select * from adg_qa; select * from adg_qa for update;