select * from tabela where relacionamentos like '%.10641.%' and data like '%/1668' and (tipo=11 or tipo=1) order by data asc 27038-01/01/1668 26016-01/01/1668 21429-01/01/1668 26709-01/01/1668 25803-08/01/1668 22118-30/01/1668 27554-11/06/1668 26141-01/07/1668 26224-23/08/1668 24670-15/11/1668 BANO:6127038612601661214296126709612580361221186127554612614161262246124670