Q&A for science fiction and fantasy enthusiasts
select p.OwnerUserId, p.Id, p.ViewCount, RANK() OVER (partition by p.OwnerUserId order by p.Id) as rank from Posts p where p.PostTypeId = 1 and p.OwnerUserId is not null