select top 10 owneruserid, count(*) as post_comm_count fr...

0

Please login or register to vote for this query.

(click on this box to dismiss)

GenAI Meta

Q&A for GenAI enthusiasts and practitioners and those interested in learning more about using GenAI tools

select top 10 owneruserid, count(*) as post_comm_count 
from posts
join comments on owneruserid = userid
where posts.creationdate between '2019-1-1' and getdate()
and comments.creationdate between '2019-1-1' and getdate()
group by owneruserid order by post_comm_count desc;

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results