Function:
.terry.func:{
tab:([]`a`b`c;b:1 2 3;c:`MSFT`GLE`APPLE);
list:((`a,'1);(`b,'2));
.terry.func2:{[t;x;y]select from t where a = x,b = y} [tab;;] each list;
:.terry.func2
}
The list I will actually extract from another table and will concatenate by ,'
However, I am not sure how to make this function work
This may be what you are after: