select * from tabela where relacionamentos like '%.1122.%' and data like '%/1769' and (tipo=11 or tipo=1) order by data asc 21588-01/01/1769 25490-10/03/1769 31300-29/03/1769 8290-15/04/1769 23423-15/04/1769 23416-16/04/1769 18840-27/06/1769 6731-01/07/1769 32973-01/07/1769 22712-19/07/1769 22249-05/08/1769 8282-09/08/1769 22258-16/08/1769 23414-16/08/1769 8280-19/08/1769 23553-26/08/1769 23555-18/09/1769 22251-06/11/1769 22250-03/12/1769 23977-13/12/1769 BANO:6121588612549061313005182906123423612341661188405167316132973612271261222495182826122258612341451828061235536123555612225161222506123977