Q&A for administrators, end users, developers and designers for Craft CMS
select 'https://judaism.stackexchnage.com/q/' + str(p.id) from Posts p left join Comments c on c.PostId = p.id where (c.UserId = 9682 and p.OwnerUserId = 1713) or (c.UserId = 1713 and p.OwnerUserId = 9682);