select * from tabela where relacionamentos like '%.10648.%' and data like '%/1880' and (tipo=11 or tipo=1) order by data asc 10395-23/03/1880 10452-28/03/1880 18166-07/05/1880 10918-20/05/1880 18554-09/06/1880 7651-01/07/1880 7654-01/11/1880 14322-03/11/1880 BANO:611039561104526118166611091861185545176515176546114322