Error:
ORA – 00934:
Group function is not allowed here
The above query causes error:
Query result:
ORA – 00934: GROUP FUNCTION IS NOT ALLOWED HERE
00964, 00000
– “group function is not allowed here”
Solution:
v Instead of where clause, we should use HAVING CLAUSE For filtering.
v Because SQL does not allowed to use Aggregate function in where clause.
The Query is,
No comments:
Post a Comment