I have multiple like operator on different columns as below:
SELECT d.ID ,d.DealerCode,d.AffiliationCode,d.LegalName,d.ShipperCode,d.PrimaryUserId,d.PrimaryContactId,
FROM Dealer AS d
LEFT JOIN Country c on c.Id=d.CountryId
LEFT JOIN [User] u on u.Id=d.PrimaryUserId
LEFT JOIN RegistrationSource rs on rs.Id=d.RegistrationSourceId
WHERE d.TenantId='4c0a42de-6ce5-4faa-8b5d-da4d7c3294b4' AND
(
u.UserName LIKE '%AQ%'
OR d.DealerCode LIKE '%AQ%'
OR d.LegalName LIKE '%AQ%'
OR d.ShipperCode LIKE '%AQ%'
)
ORDER BY d.DealerCode ASC
Is it possible to find that row set first(on top) which have exact match value with any one of these column value