SELECT PoleUser,PoleDate,COUNT(*) AS CntCount FROM MyTablica WHERE DATEPART(yy,PoleDate)=2011 AND DATEPART(m,PoleDate)=12 GROUP BY PoleUser,PoleDate