         //          row.scopes["author"] // [id:12, name:"Herman Melville"]
         //          let author: Author = row["author"]
         //      }
-        let rangeAdapter = RangeRowAdapter(startIndex ..< (startIndex + selectionWidth))
+        let rangeAdapter = RangeRowAdapter(startIndex ..< (startIndex + sourceSelectionWidth))
         let adapter = rangeAdapter.addingScopes(scopes)
         
         return (adapter: adapter, endIndex: endIndex)

                condition: child.condition,
                relation: SQLQualifiedRelation(child.relation))
        }
        ownSelection = relation.selection.map { $0.qualifiedSelectable(with: alias) }
        filtersPromise = relation.filtersPromise.map { [alias] in $0.map { $0.qualifiedExpression(with: alias) } }
        ownOrdering = relation.ordering.qualified(with: alias)
    }
    
    /// See SQLQueryGenerator.rowAdapter(_:)

        }
        
        // (Root relation || empty selection) && no included relation => no need for any adapter
        if (startIndex == 0 || sourceSelectionWidth == 0) && scopes.isEmpty {
            return nil
        }
        
