Skip to main content

SelectQuery.SelectColumn(Table, String, AggregationType, String) Method

Selects a specified column from a required data table by specifying an aggregate function and column alias.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v23.1.dll

NuGet Package: DevExpress.DataAccess


public Column SelectColumn(
    Table table,
    string columnName,
    AggregationType aggregate,
    string alias


Name Type Description
table Table

A Table to which the obtained column belongs.

columnName String

A String value, specifying the column name.

aggregate AggregationType

An AggregationType enumeration value.

alias String

A String value, specifying the column alias.


Type Description

A Column object.

See Also