select * from tabela where relacionamentos like '%.2042.%' and data like '%/2005' and (tipo=11 or tipo=1) order by data asc 13973-14/05/2005 13974-07/06/2005 14016-07/07/2005 14589-20/07/2005 14596-22/07/2005 14701-02/08/2005 14705-04/08/2005 14707-05/08/2005 14708-08/08/2005 15183-13/09/2005 15185-14/09/2005 15189-15/09/2005 14498-14/12/2005 BANO:6113973611397461140166114589611459661147016114705611470761147086115183611518561151896114498