fromSubquery

fun fromSubquery(subquery: String, alias: String? = null): SelectQuery

Sets the FROM clause to a subquery, parenthesised and optionally aliased.