You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran the following query and got the error ORA-00937: not a single-group group function in mybatis, but not in toad. I don't know how it works or why I get this error only in mybatis.
SELECT CASE WHEN GROUPING(D(#{parameter}, E, F)) + GROUPING(B) = 2 THEN 'TOTAL' ELSE THEN NAME, ...
FROM CDB
WHERE ...
GROUP BY D(#{parameter}, E, F), B, ...
※ ... means many columns.
When I run it, the query line count seems to be between 100 and 200 lines, and I was wondering if this could be caused by a long query.