Q&A for users and developers of hardware and software for Raspberry Pi
-- UserId: User ID DECLARE @UserId int = ##UserId:int##; SELECT answers.Id as [Post Link] FROM Posts as answers INNER JOIN Posts as questions ON answers.ParentId = questions.Id WHERE answers.OwnerUserId = @UserId AND questions.ClosedDate IS NOT NULL ORDER BY answers.CreationDate DESC