select * from tabela where relacionamentos like '%.10643.%' and data like '%/1966' and (tipo=11 or tipo=1) order by data asc 2776-01/01/1966 7887-01/01/1966 6462-01/01/1966 15661-05/06/1966 16918-06/06/1966 16919-29/07/1966 5011-17/08/1966 BANO:512776517887516462611566161169186116919515011