Pular para o conteúdo

Fóruns SQL e PL/SQL ORDER BY ORDER BY

#101359
leandrolbs
Participante

    decode neles.


    ORDER BY decode(TO_CHAR(e.datcad,'DAY'), 'SEGUNDA-FEIRA', 'a', 'TERÇA-FEIRA', 'b', 'QUARTA-FEIRA', 'c','z')