select

fun select(column: Expression<*>, vararg columns: Expression<*>): Query

Creates a SELECT Query by selecting either a single column, or a subset of columns, from this ColumnSet.

The column set selected from may be either a Table or a Join. Arguments provided to column and columns may be table object columns or function expressions.

Samples

org.jetbrains.exposed.sql.tests.shared.AliasesTests.testJoinSubQuery01
fun select(columns: List<Expression<*>>): Query

Creates a SELECT Query using a list of columns or expressions from this ColumnSet.

The column set selected from may be either a Table or a Join.