select * from tabela where relacionamentos like '%.10641.%' and data like '%/1823' and (tipo=11 or tipo=1) order by data asc 9298-01/01/1823 17834-01/01/1823 6267-01/01/1823 29825-01/01/1823 6290-30/01/1823 10765-03/05/1823 26325-28/05/1823 6594-01/06/1823 17817-29/06/1823 24252-30/06/1823 20376-19/07/1823 1917-20/07/1823 17650-23/07/1823 6336-01/10/1823 9297-01/10/1823 19696-12/10/1823 5098-13/11/1823 BANO:519298611783451626761298255162906110765612632551659461178176124252612037651191761176505163365192976119696515098