Q&A for users of Linux, FreeBSD and other Un*x-like operating systems
select UserId ,count(Id) count from Comments group by UserId