You cannot join two cursors, no.
You could, of course, combine the two basic queries, i.e.
SELECT c1.id, c2.name FROM (SELECT * FROM emp WHERE ename = 'KING') c1, (SELECT * FROM dept WHERE dname = 'ACCOUNTING') c2 WHERE c1.DeptID = c2.DeptID
In Oracle, since readers do not block authors (and vice versa), it is very rare to use temporary tables. Usually you simply query the base tables using views, depending on how you provide the appropriate levels of abstraction.
source share