aggregate functions are not allowed in JOIN conditions
[Description]
aggregate functions are not allowed in JOIN conditions.
[System Processing]
Processing will be aborted.
[Action]
To investigate the cause of the occurrence from the message, and remove cause.