select * from tabela where relacionamentos like '%.10643.%' and data like '%/1668' and (tipo=11 or tipo=1) order by data asc 27038-01/01/1668 26016-01/01/1668 5908-01/01/1668 30551-01/01/1668 1393-12/02/1668 20236-24/06/1668 BANO:6127038612601651590861305515113936120236