JPA Method
in javax.persistence.criteria.Subquery

Subquery<T> select(
  Expression<T> expression
)


Specify the item that is to be returned as the subquery result. Replaces the previously specified selection, if any.
Parameters:
expression - expression specifying the item that is to be returned as the subquery result
Return:
the modified subquery
Since:
JPA 2.0