select * from tabela where relacionamentos like '%.1122.%' and data like '%/1773' and (tipo=11 or tipo=1) order by data asc 21560-01/01/1773 22267-12/01/1773 8285-14/03/1773 22241-14/03/1773 8325-16/04/1773 22269-11/12/1773 25578-16/12/1773 22259-27/12/1773 BANO:612156061222675182856122241518325612226961255786122259