On avg how often are answers I give, accepted
Q&A for professional and enthusiast programmers
-- What is my accepted answer percentage rate -- On avg how often are answers I give, accepted DECLARE @UserId int = ##UserId##; with x AS ( SELECT DATEFROMPARTS(YEAR(CreationDate), MONTH(CreationDate), 1) mm FROM Posts a WHERE a.OwnerUserId = @UserId AND a.PostTypeId = 2 ) select mm, count(*) from x group by mm order by 1 desc