select * from tabela where relacionamentos like '%.3111.%' and data like '%/1610' and (tipo=11 or tipo=1) order by data asc 23297-01/01/1610 22314-01/01/1610 23535-01/01/1610 25614-01/01/1610 20093-01/01/1610 23984-08/01/1610 25615-06/02/1610 20698-08/03/1610 24074-22/03/1610 27400-20/04/1610 24116-01/07/1610 27676-10/11/1610 19998-26/12/1610 BANO:6123297612231461235356125614612009361239846125615612069861240746127400612411661276766119998