select * from tabela where relacionamentos like '%.10648.%' and data like '%/1893' and (tipo=11 or tipo=1) order by data asc 18816-26/01/1893 10279-14/03/1893 14154-22/04/1893 5683-04/08/1893 23122-01/09/1893 9602-01/12/1893 BANO:6118816611027961141545156836123122519602