select * from tabela where relacionamentos like '%.2427.%' and data like '%/1677' and (tipo=11 or tipo=1) order by data asc 22395-01/01/1677 23168-03/05/1677 20940-28/10/1677 24207-30/10/1677 23167-29/11/1677 30693-30/11/1677 20112-04/12/1677 25205-07/12/1677 24208-19/12/1677 BANO:612239561231686120940612420761231676130693612011261252056124208