Q&A about the site for people studying math at any level and professionals in related fields
--select Reputation,LastAccessDate from dbo.users --reputation; select SUM(Reputation) As TotalReputation From dbo.users u where u.LastAccessDate > CAST(DATEADD(m,DATEDIFF(m,0,getdate()),0) as DATE);