select * from tabela where relacionamentos like '%.10641.%' and data like '%/1781' and (tipo=11 or tipo=1) order by data asc 29504-01/01/1781 1790-01/02/1781 1791-22/02/1781 24501-09/04/1781 1792-20/06/1781 1793-02/07/1781 30424-17/08/1781 30195-05/10/1781 5664-24/12/1781 BANO:6129504511790511791612450151179251179361304246130195515664