Q&A for professional and enthusiast programmers
-- Now let's personalize things. This query finds questions asked by a given -- user, looks at the answers on those questions, and reports the user who -- answered. SELECT p.Title, p.Id, au.DisplayName FROM Posts p JOIN Posts a ON p.Id = a.ParentId JOIN Users au ON a.OwnerUserId = au.Id WHERE p.PostTypeId = 1 AND p.OwnerUserId = ##UserId## ORDER BY au.Id DESC