Skip to content
Advertisement

How to solve this error – ORA-22818: subquery expressions not allowed?

But it shows an error:

subquery expressions not allowed here

Do you know how to solve the error?

Advertisement

Answer

LEFT JOIN a derived table (aka inline view) that returns each department’s min and max salary:

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement