List of Tags

0

Please login or register to vote for this query.

(click on this box to dismiss)

Lifehacks

Q&A for people looking to bypass life's everyday problems with simple tricks

select a.Id, count(b.Id) from Posts a, Posts b 
where a.PostTypeId = 1
and b.PostTypeId = 2
and b.ParentId = a.Id
group by a.Id

Enter Parameters

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