Is it possible that if we have multiple clauses in order by
, they are in conflict with each other? For example:
select candidato.nome
from candidato, perfil_oferta, prova_de_afericao
where candidato.bi = prova_de_afericao.cod_prova and
prova_de_afericao.nr_identificacao = perfil_oferta.nr_identificacao and
prova_de_afericao.classificacao >
(select avg(prova_de_afericao.classificacao) from prova_de_afericao)
order by
perfil_oferta.nr_identificacao DESC,
prova_de_afericao.cod_prova DESC,
candidato.nome ASC;
The result can not be simultaneously sorted according to the 3 clauses, so my question is whether there is any priority attached to the clauses, or how they are organized if it is not possible to arrange an order that satisfies the 3 clauses.