Dump my answers to questions

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select
    q.Id, q.CreationDate, q.Title, q.Body, a.Id, a.CreationDate, a.Body
from
    Posts q
  inner join
    Posts a
  on q.Id = a.ParentId and a.postTypeId = 2 and q.postTypeId = 1
where
  a.OwnerUserId = ##UserId##
order by a.Id desc

Enter Parameters

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