Q&A for those using, extending or developing Emacs
select TOP 10 Users.Id as User_ID, count(Posts.Id) as Most_Posts_Last_5Y --count(Comments.Id) as Most_Comments_Last_5Y from Users join Posts on Users.Id = Posts.OwnerUserId --join Comments -- on Users.Id = Comments.UserId --where Posts.CreationDate > 2017-01-24 00:00:00.000 +0000 --and CreationDate > 2017-01-24 00:00:00.000 +0000 group by Users.Id