Hi All,
I have a query as
SELECT * FROM emp
WHERE sal >= (SELECT MAX(sal) FROM emp WHERE deptno = :p_dept);
/
Standard oracle scott or HR schema emp table can be used for my example. I would like to know which is good way to avoid using same table twice in my example.
Thanks.