select * from tabela where relacionamentos like '%.10651.%' and data like '%/1533' and (tipo=11 or tipo=1) order by data asc 22649-01/01/1533 20181-03/01/1533 10144-04/03/1533 29333-01/05/1533 350-16/08/1533 6794-01/10/1533 BANO:612264961201816110144612933341350516794