Q&A for professionals and students of engineering
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;