[sql] Is it possible to get multiple values from a subquery?