select * from tabela where relacionamentos like '%.10951.%' and data like '%/1938' and (tipo=11 or tipo=1) order by data asc 24774-01/01/1938 28656-01/01/1938 17371-01/01/1938 9014-02/01/1938 15908-01/03/1938 24525-29/03/1938 18570-22/04/1938 BANO:612477461286566117371519014611590861245256118570