select * from tabela where relacionamentos like '%.2698.%' and data like '%/2017' and (tipo=11 or tipo=1) order by data asc 31797-01/01/2017 24622-01/01/2017 25749-01/01/2017 3550-01/01/2017 3555-01/01/2017 3566-25/02/2017 27733-19/04/2017 28657-04/11/2017 25184-09/11/2017 31800-01/12/2017 28506-29/12/2017 BANO:61317976124622612574951355051355551356661277336128657612518461318006128506