select * from tabela where relacionamentos like '%.10643.%' and data like '%/1648' and (tipo=11 or tipo=1) order by data asc 1282-01/01/1648 1286-26/01/1648 5582-02/02/1648 23207-18/04/1648 25934-05/06/1648 11663-15/08/1648 1292-01/10/1648 25670-22/10/1648 6130-01/11/1648 BANO:5112825112865155826123207612593461116635112926125670516130