Q&A for active researchers, academics and students of physics
-- How Unsung am I?
-- Zero and non-zero accepted count. Self-accepted answers do not count.
count(a.Id) as [Accepted Answers],
sum(case when a.Score = 0 then 0 else 1 end) as [Scored Answers],
sum(case when a.Score = 0 then 1 else 0 end) as [Unscored Answers],
sum(CASE WHEN a.Score = 0 then 1 else 0 end)*1000 / count(a.Id) / 10.0 as [Percentage Unscored]
on a.Id = q.AcceptedAnswerId
a.CommunityOwnedDate is null
and a.OwnerUserId = 2528658
and q.OwnerUserId != 2528658
and a.postTypeId = 2
and a.CreationDate <= DATEADD(day, -10, GETDATE())