Q&A for professional and enthusiast programmers
SELECT p.Id AS [Post Link] FROM Posts AS p LEFT JOIN Posts AS q ON p.ParentId = q.Id LEFT JOIN Posts AS pq ON q.ParentId = pq.Id WHERE (p.Body LIKE '%'##URL:string##'%')