select * from tabela where relacionamentos like '%.10641.%' and data like '%/1831' and (tipo=11 or tipo=1) order by data asc 23595-01/01/1831 17828-01/01/1831 17821-01/01/1831 10463-01/01/1831 17822-01/01/1831 17833-01/01/1831 24851-01/01/1831 9375-01/01/1831 17585-03/04/1831 6565-07/04/1831 9576-15/12/1831 BANO:61235956117828611782161104636117822611783361248515193756117585516565519576