select * from tabela where relacionamentos like '%.10951.%' and data like '%/1645' and (tipo=11 or tipo=1) order by data asc 21651-01/01/1645 19921-03/07/1645 11568-06/08/1645 11661-15/08/1645 11680-17/08/1645 BANO:61216516119921611156861116616111680