Q&A for those using, extending or developing Emacs
---To change the site you can use the site switcher below "Run Query" button. ---To exclude users having 1 reptation add "y" (without quotes) as an exclude perameter. DECLARE @excludes varchar(1) = '##exclude?n##' SELECT SUM(Reputation) as totalRep FROM Users WHERE (( @excludes = 'y' AND Reputation > 1 ) OR ( 1=1 ) )