SuperPosters

0

Please login or register to vote for this query.

(click on this box to dismiss)

Music Fans Meta

Q&A about the site for music historians, critics, and fans

declare @PostStats table (userId int, posts int)

insert @PostStats
select OwnerUserId, count(*) 
from Posts 
group by OwnerUserId


select count(*),'lt50' as posterType from Posts where OwnerUserId in 
(select userId from @PostStats where posts < 50)
union
select count(*),'gt49' as posterType from Posts where OwnerUserId in 
(select userId from @PostStats where posts >49)

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results