Professional Documents
Culture Documents
Joins 1
Joins 1
--(from TBL_EMP,TBL_DEPT,TBL_JOB):
SELECT ENAME,SAL FROM TBL_EMP,TBL_DEPT,TBL_JOB
WHERE TBL_EMP.DEPTNO = TBL_DEPT.DEPTNO
-- join of TBL_EMP and TBL_DEPT
AND TBL_EMP.JOBID = TBL_JOB.JOBID
-- join of TBL_EMP and TBL_JOB
AND DESIGNATION = 'CLERK'
AND DNAME = 'RESEARCH';