Oracle Error Message
QSM-02143: SUM(expr) without COUNT(expr)
Reason for the Error
SUM(expr) occurs in the select list without a corresponding COUNT(expr).
Solution
Add COUNT(expr) to the select list.
QSM-02143: SUM(expr) without COUNT(expr)
SUM(expr) occurs in the select list without a corresponding COUNT(expr).
Add COUNT(expr) to the select list.