select * from tabela where relacionamentos like '%.10643.%' and data like '%/1821' and (tipo=11 or tipo=1) order by data asc 8191-01/01/1821 5114-01/01/1821 25086-01/01/1821 7356-12/03/1821 33092-01/04/1821 10913-20/05/1821 8217-27/07/1821 6842-01/08/1821 7923-20/09/1821 BANO:518191515114612508651735661330926110913518217516842517923