select * from tabela where relacionamentos like '%.1747.%' and data like '%/1565' and (tipo=11 or tipo=1) order by data asc 26665-01/01/1565 9908-22/01/1565 10061-28/02/1565 8850-01/03/1565 10106-13/03/1565 11013-01/06/1565 21725-09/07/1565 20989-20/09/1565 12216-15/10/1565 BANO:6126665519908611006151885061101066111013612172561209896112216