Yeah that's interesting. And since "a", the select phrase, can take a
parse tree, you could translate the functional simple exec q)?[tab;til
10;(last;`c2)] 19 to the functional exec q)exec last c2 from tab 19
q)parse "exec last c2 from tab" ? `tab ()...
It's not entirely clear what you are trying to achieve when you only
supply two broken queries. Adding where to your query was a suggestion
based on the return type being a list of booleans. Using where with your
query returns the indexes of tab wher...
Would just like to add https://code.kx.com/q/basics/funsql/#simple-exec
Judging by the number of args in OP's functional query, a simple exec
takes table name, list of indexes and parse tree.