nofunnystuff
Programmer
The problem seems to be simple.
I have one table with a column as Array-typ where IDs of another table are stored in.
Now I want to use the array to select the elements of the second table.
I thought of a statement like
SELECT * FROM secondtable where id in (SELECT arrayCol FROM firsttable where id = 1 LIMIT 1)
but this does not work...
The goal is to do it compleatly in SQL no matter how.
Thanks for advice
I have one table with a column as Array-typ where IDs of another table are stored in.
Now I want to use the array to select the elements of the second table.
I thought of a statement like
SELECT * FROM secondtable where id in (SELECT arrayCol FROM firsttable where id = 1 LIMIT 1)
but this does not work...
The goal is to do it compleatly in SQL no matter how.
Thanks for advice