This query
SELECT Reason, COUNT(Id)
FROM Case
WHERE RecordType.DeveloperName = 'Problem' AND AccountId = 'xxxx'
AND GROUP BY Reason
is giving me
Unknown parsing error:
But when I run the same query without the RecordType.DeveloperName = 'Problem'
it works, whats the issue?
SELECT Reason, COUNT(Id)
FROM Case
WHERE AccountId = 'xxxx' AND GROUP BY Reason
Thank you
AND
beforeGROUP BY
, that should not work either.