I have two sets A and B, set B depends on set A;
set A;
set B{A};
In my database I have two tables - A_Table with primary key a_id and table B_Table with composite key b_id and a_id (foreign key). I tried to read data from B_Table table to set B using this script:
table B_Table IN "ODBC" (ConnectionStr) "B_Table":
[b ~ b_id, a ~ a_id], B[a] ~ b;
But this script doesn't work. It writes
syntax error
context: [b ~ b_id, a ~ a_id], >>> B[ <<< a] ~ b;
How can I read data from a table that has 2 key to a one-dimentional set?