Newer Users with More Reputation Than Me

21

Please login or register to vote for this query.

(click on this box to dismiss)

Find useres that have been members for a shorter time than me but have more reputation points.

Health Meta

Q&A about the site for professionals in medical and allied health fields, students of those professions, related academics, and others with a sound understanding of medicine and healthcare-related sciences

-- Newer Users with More Reputation Than Me
-- Find useres that have been members for a shorter time than me
-- but have more reputation points.


declare @UserId int = ##UserId##

select u.id as [User Link], u.Reputation, u.Reputation - me.Reputation as Difference
from users u cross join users me
where me.id = @UserId
and u.CreationDate > me.CreationDate
and u.Reputation > me.Reputation

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results