In this post, you’ll learn about the error message -111 a column function does not include a column name in the IBM DB2 database , the reason why it occurs along with the solution to fix it
IBM DB2 Error Message
-111 a column function does not include a column name
Reason for the Error
The specification of a column function (AVG, MAX, MIN, or SUM) was invalid because such functions must include a column name in the operand.
Solution
A column name must be specified as an operand to the function.