Issue: Cannot mix/match GROUP BY fields and functions or have multiple functions
This query should be syntactically valid
SELECT UserId, COUNT(Id) loginCount, CALENDAR_MONTH(LoginTime) month
FROM LoginHistory
WHERE NetworkId != null
GROUP BY UserId, CALENDAR_MONTH(LoginTime)
LIMIT 100
Description
Issue: Cannot mix/match GROUP BY fields and functions or have multiple functions
This query should be syntactically valid