so I am trying to do a migration from sql to db2. I am trying to write a table script in DB2 and some of the attributes(Columns) initially in SQL server was of type list (array) or like multiple values. Now, I need to write an equivalency of something like that in DB2. How do i do this ?
For example : A table showing students records has a field: ID, name, subjects So instances would be something like: 1. (1, Sarah, [math, CS, physics]) 2. (2, Max, [chem, bio, psych])
I know I could create a new table for subject and link since RDBMS, but is there anything type array or list or something I can do ?