new users


Please login or register to vote for this query.

(click on this box to dismiss)

Software Engineering

Q&A for professionals, academics, and students working within the systems development life cycle

select count(*) as [TotalUsers] 
, sum(case when firstPostId > 0 then 1 else 0 end) as [UsersThatPosted] 
, sum(case when PostCount > 1 then 1 else 0 end) as [UsersThatPostedMoreThanOnce] 
select id as UserId, 
(select top 1 id from posts where owneruserId = users.Id order by creationdate) as [FirstPostId], 
(select count(*) from posts where owneruserId = users.Id) as [PostCount] 
from users 
where users.creationDate between '1/1/2015' and '1/1/2016'
) as userstats

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results