docs: private void resolveColumnReferences() {
  
          if (isDistinctSelect || isGrouped) {
              acceptsSequences = false;
          }
  
          for (int i = 0; i < rangeVariables.length; i++) {
              Expression e = rangeVariables[i].nonIndexJoinCondition;
  
              if (e == null) {
                  continue;
              }
  
              resolveColumnReferencesAndAllocate(e, i + 1, false);
          }
  
          resolveColumnReferencesAndAllocate(queryCondition,
                                             rangeVariables.length, false);
  
          for (int i = 0; i < indexLimitVisible; i++) {
              resolveColumnReferencesAndAllocate(exprColumns[i],
                                                 rangeVariables.length,
                                                 acceptsSequences);
          }
  
          for (int i = indexLimitVisible; i < indexStartOrderBy; i++) {
              resolveColumnReferencesAndAllocate(exprColumns[i],
                                                 rangeVariables.length, false);
          }
  
      /************************* Volt DB Extensions *************************/
          resolveColumnReferencesInGroupBy();
      /**********************************************************************/
  
          resolveColumnReferencesInOrderBy(sortAndSlice);
      }