select * from tabela where relacionamentos like '%.2979.%' and data like '%/1603' and (tipo=11 or tipo=1) order by data asc 20687-01/01/1603 20618-15/09/1603 856-28/09/1603 20682-22/11/1603 857-14/12/1603 28310-15/12/1603 BANO:61206876120618418566120682418576128310