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