select * from tabela where relacionamentos like '%.1122.%' and data like '%/1771' and (tipo=11 or tipo=1) order by data asc 8272-03/01/1771 22255-26/01/1771 1757-01/02/1771 22264-21/02/1771 22256-21/02/1771 22268-07/05/1771 25618-14/07/1771 8284-29/09/1771 8289-09/12/1771 BANO:51827261222555117576122264612225661222686125618518284518289