9. Queries – q-sql - Q for Mortals (kx.com) "Unlike in SQL, columns in
the Select phrase do not actually exist until the final result table is
returned. Thus a computed column cannot be used in other column
expressions." You'll need two different sel...
Might be best to deal with this in pieces q)(2;3)2 3q)(2;enlist 3)2,3
Here, the enlist is to prevent 2 and 3 concatenating into a simple list
of longs. The difference in the final output is an extra level of
enlisting: q)value each{x+y+z}[1;;],'enlis...