select * from tabela where relacionamentos like '%.10641.%' and data like '%/1663' and (tipo=11 or tipo=1) order by data asc 27139-01/01/1663 6455-01/01/1663 26865-01/01/1663 26166-15/03/1663 1380-29/03/1663 25345-16/09/1663 BANO:6127139516455612686561261665113806125345