select * from tabela where relacionamentos like '%.1174.%' and data like '%/1822' and (tipo=11 or tipo=1) order by data asc 5219-13/05/1822 5455-06/06/1822 6380-17/06/1822 5220-02/08/1822 11709-20/08/1822 8929-09/09/1822 8930-13/09/1822 8931-14/09/1822 5197-07/10/1822 8932-21/10/1822 8933-25/10/1822 8935-30/10/1822 8934-30/10/1822 BANO:5152195154555163805152206111709518929518930518931515197518932518933518935518934