quebra cabeça

    Column 'ordem' in order clause is ambiguous