I\'m trying to configure a subquery in the select clause to achieve an SQL equivalent like this:
SELECT t0.field1 AS a1, t0.field2 AS a2,