Q&A for people looking to bypass life's everyday problems with simple tricks
DECLARE @UserId int = ##UserId## -- Enter Query Title -- Enter Query Description --select * from VoteTypes; --select * from PostTypes; select top 200 round(cast(Reputation as float)/DATEDIFF(dd,CreationDate,LastAccessDate),1), Users.* from Users where DATEDIFF(dd,CreationDate,LastAccessDate) > 30 and Id = @UserId order by 1 desc;