select * from tabela where relacionamentos like '%.10648.%' and data like '%/1874' and (tipo=11 or tipo=1) order by data asc 7847-01/01/1874 7614-01/01/1874 7557-28/04/1874 23384-15/06/1874 19039-28/07/1874 8463-13/12/1874 BANO:51784751761451755761233846119039518463