select * from tabela where relacionamentos like '%.10648.%' and data like '%/1844' and (tipo=11 or tipo=1) order by data asc 7615-01/01/1844 10031-02/02/1844 6099-14/03/1844 10778-04/05/1844 15754-05/05/1844 19202-18/08/1844 12618-01/12/1844 BANO:51761561100315160996110778611575461192026112618