How well do you fare when compared to TeX-SE rising star Herbert.
Q&A for those using, extending or developing Emacs
-- Herbert Voß Comparison (TeX-SE)
-- How well do you fare when compared to TeX-SE rising star Herbert.
declare @UserId int = ##UserId##;
with fights as (
select myAnswer.ParentId as Question,
myAnswer.Score as MyScore,
herbertsAnswer.Score as HerbertsScore
from Posts as myAnswer
inner join Posts as herbertsAnswer
on herbertsAnswer.OwnerUserId = 2478 and myAnswer.ParentId = herbertsAnswer.ParentId
where myAnswer.ownerUserId = @UserId and myAnswer.postTypeId = 2
when myScore > HerbertsScore then 'You win'
when myScore < HerbertsScore then 'Herbert wins'
end as 'Winner',
Question as [Post Link],
myScore as 'My score',
HerbertsScore as "Herbert's score"