Select
  Relation.Name,
  Relation.Id,
  Relation.AccountId,
  Relation.OriginalName
From
  Relation
Where
  Relation.Name Like '%XXX%'
Order By
  Relation.Name
