select * from tabela where relacionamentos like '%.10641.%' and data like '%/1768' and (tipo=11 or tipo=1) order by data asc 23978-01/01/1768 30001-01/01/1768 27798-01/01/1768 27707-01/01/1768 24977-01/01/1768 1744-01/01/1768 23581-02/01/1768 24446-03/01/1768 21540-14/02/1768 24133-03/03/1768 1745-16/03/1768 23426-18/04/1768 27806-19/07/1768 8286-25/07/1768 8291-18/08/1768 23409-01/11/1768 BANO:612397861300016127798612770761249775117446123581612444661215406124133511745612342661278065182865182916123409