Q&A for administrators and users of the CiviCRM Constituent Relationship Management software
select Top 100 q.Id AS [Post Link] from ( (select Posts.* from (Posts join PostTypes on Posts.PostTypeId = PostTypes.Id) where PostTypes.Name = 'Question') as q join (select Posts.* from (Posts join PostTypes on Posts.PostTypeId = PostTypes.Id) where PostTypes.Name = 'Answer') as a on q.Id = a.ParentId) where q.OwnerUserId = a.OwnerUserId;