select * from tabela where relacionamentos like '%.1552.%' and data like '%/1870' and (tipo=11 or tipo=1) order by data asc 10367-21/03/1870 10548-08/04/1870 10627-16/04/1870 10729-29/04/1870 10761-02/05/1870 15871-06/05/1870 5093-20/06/1870 7641-20/06/1870 BANO:611036761105486110627611072961107616115871515093517641