select * from tabela where relacionamentos like '%.10641.%' and data like '%/1594' and (tipo=11 or tipo=1) order by data asc 21444-01/01/1594 27605-01/01/1594 8718-01/01/1594 27012-01/01/1594 23667-31/01/1594 25842-06/02/1594 25373-13/02/1594 27406-12/03/1594 20355-04/06/1594 21095-10/06/1594 21106-14/06/1594 21105-30/06/1594 28020-08/09/1594 BANO:612144461276055187186127012612366761258426125373612740661203556121095612110661211056128020