Skip to content
Advertisement

How to use case statement and min() with group by?

The following query when I that execute

It seems error

ORA-00934: group function is not allowed here

I guess , there is error min() in group by.

How can I solve this problem?

Advertisement

Answer

You have to use analytical MIN() function like the below without group by

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