select * from tabela where relacionamentos like '%.10643.%' and data like '%/1630' and (tipo=11 or tipo=1) order by data asc 24867-01/01/1630 20558-01/01/1630 1140-01/01/1630 5899-01/01/1630 5658-01/01/1630 21357-01/01/1630 30906-25/01/1630 23628-06/04/1630 27555-17/06/1630 20297-22/06/1630 20296-30/07/1630 5758-30/12/1630 BANO:61248676120558511140515899515658612135761309066123628612755561202976120296515758