Oracle Message PLS-00602 - CUBE and ROLLUP may appear only in a GROUP BY clause

ERRORCUBE and ROLLUP may appear only in a GROUP BY clause
CAUSEUser attempted to use the keywords CUBE or ROLLUP outside a GROUP BY clause
ACTIONAvoid using the keywords CUBE and ROLLUP outside the GROUP BY clause