SELECT TOP 100 Q.Id AS [Post Link], A.Id AS [Post Link] F...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

-- Enter Query Title
-- Enter Query Description
SELECT TOP 100
    Q.Id AS [Post Link],
    A.Id AS [Post Link]
FROM Posts Q, Posts A
WHERE Q.PostTypeId = 1
AND   A.PostTypeId = 2
AND   A.ParentId = Q.Id

Enter Parameters

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