That's the general idea. Did you try it?
If your attribute is really called Group (bad idea!) then you need to enclose it in double-quotes as it is a DQL keyword.
Below is the query which I'm trying to get the result list from dmi_queue_item but I'm getting syntax error:
select message,count(*) from dmi_queue_item where date_sent >= DATE('06/01/2021') and date_sent <= DATE('06/14/2021') and item_type !='spm_transmittal' group by message order by count(*) desc ;
Try order by 2 desc
Can you be a bit more precise? What results do you get and what is not correct?
Please see the below image file, my expected result list is to get the top 10 highest count first
But on the execution of the mentioned above query, I'm not able to get the ordered list
This might be a bug. I suggest you open a ticket with OpenText support. You also may want to trace the SQL generated by this DQL (e.g. thought Documentum Administrator DQL Editor or sqltrace flag).
And by the way, I just tried something similar and it's working fine for me (using a_content_type and dm_document). I tried it on Documentum Server 16.4.