public IHavingOrOrderBy GroupBy(params string[] columns)
{
if (columns == null)
{
throw new ArgumentNullException("columns");
}
this.InnerSql.Append(" GROUP BY ");
for (int i = 0; i < columns.Length; i++)
{
if (i > 0)
{
this.InnerSql.Append(',');
}
this.InnerSql.Append(this.SqlCharacters.EscapeSql(columns[i]));
}
return this;
}