select * from tabela where relacionamentos like '%.10641.%' and data like '%/1565' and (tipo=11 or tipo=1) order by data asc 19993-01/01/1565 26665-01/01/1565 8244-01/01/1565 20500-01/01/1565 21978-06/01/1565 23990-07/10/1565 24806-14/11/1565 BANO:611999361266655182446120500612197861239906124806