Q&A for information security professionals
DECLARE @asker int = ##asker## DECLARE @answerer int = ##answerer## select a.Id [Post Link] from Posts q join Posts a on q.Id = a.ParentId where a.PostTypeId = 2 and a.OwnerUserId = @answerer --and q.OwnerUserId = @asker