select * from tabela where relacionamentos like '%.10641.%' and data like '%/1769' and (tipo=11 or tipo=1) order by data asc 28014-01/01/1769 25663-01/01/1769 21588-01/01/1769 14245-31/01/1769 25490-10/03/1769 8290-15/04/1769 23423-15/04/1769 25496-15/04/1769 23416-16/04/1769 25497-11/05/1769 18840-27/06/1769 6731-01/07/1769 32973-01/07/1769 22249-05/08/1769 8282-09/08/1769 22258-16/08/1769 23414-16/08/1769 23418-17/08/1769 8280-19/08/1769 23553-26/08/1769 23555-18/09/1769 6293-20/09/1769 22251-06/11/1769 22250-03/12/1769 23977-13/12/1769 BANO:61280146125663612158861142456125490518290612342361254966123416612549761188405167316132973612224951828261222586123414612341851828061235536123555516293612225161222506123977