Create a read-only view with the specifications listed in the following:
Note: Since this view joins two tables, it is a read-only view.
EXEC SQL
CREATE VIEW PROJV1
(PROJNO, PROJNAME, PROJDEP, RESPEMP,
FIRSTNME, MIDINIT, LASTNAME)
AS SELECT ALL
PROJNO, PROJNAME, DEPTNO, EMPNO,
FIRSTNME, MIDINIT, LASTNAME
FROM PROJTBL, NAMETBL
WHERE RESPEMP = EMPNO
END-EXEC
|
Copyright © 2014 CA.
All rights reserved.
|
|