Reason:
A column can only be referenced in the HAVING clause if it is also in the GROUP BY clause, or if it is an argument of a column function.
The SQLSTATE that equates to this SQL return code is 42803.
Action:
Either remove the column reference, add it to the GROUP BY clause, or make it an argument of a column function.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|