select * from tabela where relacionamentos like '%.2333.%' and data like '%/2018' and (tipo=11 or tipo=1) order by data asc 27128-01/01/2018 24715-01/01/2018 27029-01/01/2018 24621-08/01/2018 24832-02/05/2018 3626-12/07/2018 24641-17/07/2018 24728-02/08/2018 27845-16/08/2018 24377-14/09/2018 BANO:612712861247156127029612462161248325136266124641612472861278456124377