select * from tabela where relacionamentos like '%.10641.%' and data like '%/1760' and (tipo=11 or tipo=1) order by data asc 1714-01/01/1760 21553-01/01/1760 24271-01/01/1760 1717-29/01/1760 21542-15/04/1760 27706-09/05/1760 BANO:5117146121553612427151171761215426127706