select * from tabela where relacionamentos like '%.10648.%' and data like '%/1837' and (tipo=11 or tipo=1) order by data asc 19067-01/01/1837 7274-15/03/1837 22669-11/04/1837 10882-16/05/1837 11870-06/09/1837 11991-18/09/1837 11992-18/09/1837 12005-19/09/1837 BANO:6119067517274612266961108826111870611199161119926112005