Count number of entries from a specific user

Re: Count number of entries from a specific user

by Ambrish Tiwari -
Number of replies: 0

Hi Rory

You should be able to do a Aggregate query to obtain this.  If you want to get the number of votes a specific user has given:
 
select count(ParentId)
from Vote
where CreatedById = 'xxxxxxx'
     Parent.Type = 'yyyyyyyy'


where 'xxxxxx' is the user's id..