select * from tabela where relacionamentos like '%.2176.%' and data like '%/1982' and (tipo=11 or tipo=1) order by data asc 29356-01/01/1982 6881-01/01/1982 6888-01/01/1982 29829-01/01/1982 6880-01/01/1982 18372-06/03/1982 BANO:612935651688151688861298295168806118372