SELECT TOP 10 p.id FROM posts p INNER JOIN comments c on ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Moderators

Q&A for community managers, administrators, and moderators

SELECT TOP 10 p.id 
FROM posts p
INNER JOIN comments c
on p.id = c.postid
and p.PostTypeID = 2

Enter Parameters

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