select * from tabela where relacionamentos like '%.10641.%' and data like '%/1682' and (tipo=11 or tipo=1) order by data asc 28233-01/01/1682 27562-01/01/1682 28232-01/01/1682 22883-05/02/1682 26521-12/03/1682 23563-16/03/1682 20913-18/03/1682 21025-02/05/1682 10785-05/05/1682 23564-12/06/1682 20912-20/06/1682 20771-28/08/1682 23565-10/12/1682 BANO:6128233612756261282326122883612652161235636120913612102561107856123564612091261207716123565