public ITableInfo VisitSubStatementTableInfo (ResolvedSubStatementTableInfo tableInfo)
{
ArgumentUtility.CheckNotNull ("tableInfo", tableInfo);
_commandBuilder.Append ("(");
_stage.GenerateTextForSqlStatement (_commandBuilder, tableInfo.SqlStatement);
_commandBuilder.Append (")");
_commandBuilder.Append (" AS ");
_commandBuilder.AppendIdentifier (tableInfo.TableAlias);
return tableInfo;
}