select * from tabela where relacionamentos like '%.10641.%' and data like '%/1821' and (tipo=11 or tipo=1) order by data asc 6230-01/01/1821 17375-01/01/1821 25086-01/01/1821 24457-01/01/1821 33057-01/01/1821 22846-20/02/1821 26256-05/03/1821 6094-27/04/1821 10913-20/05/1821 6842-01/08/1821 1907-20/08/1821 30198-03/09/1821 27800-11/11/1821 17915-22/12/1821 BANO:5162306117375612508661244576133057612284661262565160946110913516842511907613019861278006117915