select * from tabela where relacionamentos like '%.10951.%' and data like '%/1879' and (tipo=11 or tipo=1) order by data asc 21435-01/01/1879 23170-01/01/1879 10549-08/04/1879 10974-27/05/1879 10973-27/05/1879 11009-31/05/1879 11101-12/06/1879 20198-26/07/1879 23174-12/08/1879 11659-14/08/1879 12438-06/11/1879 BANO:61214356123170611054961109746110973611100961111016120198612317461116596112438