select * from tabela where relacionamentos like '%.1466.%' and data like '%/1940' and (tipo=11 or tipo=1) order by data asc 16833-29/03/1940 13247-01/05/1940 13249-05/06/1940 18602-11/06/1940 18092-12/08/1940 26762-01/11/1940 13252-07/12/1940 BANO:6116833611324761132496118602611809261267626113252