SubquerySelectBuilder CreateSubqueryBuilder(ISelectBuilder subquerySelectBuilder) { return(new SubquerySelectBuilder(new SubquerySource(subquerySelectBuilder.GenerateSelectWithoutDefaultOrderBy(), tableAliasGenerator.GenerateTableAlias()))); }