SyntaxFix
Write A Post
Hire A Developer
Questions
I have used this approach and it has worked for me.
SELECT COUNT(DISTINCT DocumentID || DocumentSessionId) FROM DocumentOutputItems
For my case, it provides correct result.