For example, the following nested SQL query cannot be unnested:

SELECT AVG(salary)

FROM

( SELECT DISTINCT department, salary

FROM emp

)

More Franck Dernoncourt's questions See All
Similar questions and discussions