select * from tabela where relacionamentos like '%.47.%' and data like '%/1648' and (tipo=11 or tipo=1) order by data asc 22920-01/01/1648 1287-09/03/1648 19917-09/05/1648 10846-12/05/1648 11345-12/07/1648 11663-15/08/1648 11681-17/08/1648 11735-21/08/1648 BANO:6122920511287611991761108466111345611166361116816111735