select * from tabela where relacionamentos like '%.10641.%' and data like '%/1857' and (tipo=11 or tipo=1) order by data asc 6377-01/01/1857 25480-01/01/1857 19628-01/01/1857 23730-01/01/1857 24623-01/01/1857 5999-07/01/1857 25246-07/02/1857 13447-05/03/1857 6328-07/04/1857 9341-15/04/1857 6748-01/05/1857 6571-07/10/1857 9307-25/10/1857 9343-20/11/1857 5946-25/12/1857 BANO:516377612548061196286123730612462351599961252466113447516328519341516748516571519307519343515946