View
-A virtual table (usually join >2 tables) that derived from base
table.
-is not located any storage space.
-
EG
CREATE VIEW emp_view AS
SELECT empno, ename, sal, loc
FROM emp e, dept d
WHERE e.deptno = d.deptno AND d.deptno = 10;
SELECT ename
FROM emp_view
WHERE empno = 9876;
Finally
SELECT ename
FROM emp, dept
WHERE emp.deptno = dept.deptno AND
dept.deptno = 10 AND
emp.empno = 9876;