Find0resource relatedSQL Query.