select * from tabela where relacionamentos like '%.10648.%' and data like '%/1808' and (tipo=11 or tipo=1) order by data asc 9688-24/01/1808 15122-06/03/1808 10739-01/05/1808 10857-13/05/1808 18628-13/06/1808 7110-12/10/1808 BANO:5196886115122611073961108576118628517110