chapter13 - SQL> SQL> Oracle SQL chapter 13 SQL> BMIS441\/MBUS699 Business Database Systems SQL> Jason Chen SQL> Row 0 SQL> students are required to work
SQL> SQL> -- Oracle SQL, chapter 13SQL> -- BMIS441/MBUS699 Business Database SystemsSQL> -- Jason ChenSQL> -- Row: 0SQL> -- students are required to work from #1 to #5 and #9, #10SQL> SQL> DROP VIEW contact;View dropped.SQL> DROP VIEW homework13;View dropped.SQL> DROP VIEW reorderinfo; View dropped.SQL> SQL> SQL> --1.SQL> CREATE VIEW contact2 AS SELECT contact, phone3 FROM publisher;View created.SQL> SQL> -- 2.SQL> CREATE OR REPLACE VIEW contact2 AS SELECT contact, phone3 FROM publisher4 WITH READ ONLY;View created.SQL> SQL> --3.SQL> CREATE FORCE VIEW homework132 AS SELECT col1, col2 FROM firstattempt;Warning: View created with compilation errors.SQL> SQL> --4.SQL> DESC homework13;ERROR:ORA-24372: invalid object for describe SQL> SQL> SQL> --5.SQL> SQL> CREATE VIEW reorderinfo2 AS SELECT isbn, title, contact, phone3 FROM books JOIN publisher USING(pubid);View created.SQL> SQL> --6. (see p.419 for Key-PRESERVED TABLE)SQL> --Note: will not execute since the primary key for PUBLISHER table is not