select top 50000 p.Id, p.score, (count(*)-1) from Po...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

-- Enter Query Title
-- Enter Query Description



select top 50000
 p.Id,
 p.score, 
 (count(*)-1)
  

from Posts p join Comments c on p.Id = c.PostId
group by p.Id, p.Score

Enter Parameters

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