select * from tabela where relacionamentos like '%.1744.%' and data like '%/1839' and (tipo=11 or tipo=1) order by data asc 10630-17/04/1839 11363-14/07/1839 11372-15/07/1839 11434-22/07/1839 11773-24/08/1839 12283-20/10/1839 12318-25/10/1839 12401-03/11/1839 12796-14/12/1839 BANO:611063061113636111372611143461117736112283611231861124016112796