I want to store an array in a record.
Table1:
ID, Name, Friends (friends should be an array) 1, Bill, 2&3 2, Charles, 1&3 3, Clare, 1
I want to
You might want a comma-separated value, but it's not recommended. Why not use another table for showing relationships?
Table2 ---------------------- PARENT_ID | FRIEND_ID ---------------------- 1 | 2 1 | 3 2 | 1 2 | 3 ----------------------