skip to main content
Supported SQL statements and extensions : Select : Select clause : From clause : Subquery in a From clause
  

Try DataDirect Drivers Now
Subquery in a From clause
Subqueries can be used in the From clause in place of table references (table_name).

Example

SELECT * FROM (SELECT * FROM emp WHERE sal > 10000) new_emp, dept WHERE new_emp.deptno = dept.deptno