-
Why Q SQL doesn’t work with "in"?
I have codes as below. Why the last line would fail? How to make it work?
Thanks!
t:([] c1:`a`b`a`c`b`c; c2:1 1 1 2 2 2; c3:10 20 30 40 50 60);
select from t where c1 in enlist `a; // works
select from t where c1 in `a`b; // works
?[t;enlist (in;`c1;enlist `a);0b;()]; // works
?[t;enlist (in;`c1;`a`b);0b;()]; // failed
Log in to reply.