Added support for sub-queries in column clauses.