select * from tabela where relacionamentos like '%.10648.%' and data like '%/1892' and (tipo=11 or tipo=1) order by data asc 17904-01/01/1892 9734-12/01/1892 7807-01/04/1892 14037-03/07/1892 21742-30/08/1892 14039-08/10/1892 BANO:6117904519734517807611403761217426114039