Q&A for amateur radio enthusiasts
DECLARE @UserId int = ##UserId## SELECT COUNT(*) as number FROM Posts WHERE OwnerUserId = @UserId GROUP BY DATEPART(hour, CreationDate)